search for: new_linux_kernel

Displaying 20 results from an estimated 22 matches for "new_linux_kernel".

2016 Jun 10
4
[PATCH] Fix recognition of keeppxe option
...ch to make it work again. With COM32, it is no longer possible to use preprocessor directives to determine the SYSLINUX variant. The code inside the #if will never be compiled. So, I changed it to use syslinux_filesystem() to determine the variant. Also, I moved the relevant code from kernel.c:new_linux_kernel() to load_linux.c:bios_boot_linux() because there is no convenient way in new_linux_kernel() to control the boot flags value. In basic testing, keeppxe seems to work with the patch applied. --- syslinux-6.04-pre1.orig/com32/elflink/ldlinux/kernel.c 2016-03-01 21:06:02.000000000 -0800 +++ sysli...
2016 Jun 14
2
[PATCH] Fix recognition of keeppxe option
> > kernel.c:new_linux_kernel() to load_linux.c:bios_boot_linux() because > > there is no convenient way in new_linux_kernel() to control the boot > > flags value. > > This is the part that has me questioning things and trying to recall > if any other KERNEL-like directives ever utilize keeppxe. > @Ge...
2017 Mar 05
0
[PATCH] Fix recognition of keeppxe option
...> > With COM32, it is no longer possible to use preprocessor directives to > determine the SYSLINUX variant. The code inside the #if will never be > compiled. So, I changed it to use syslinux_filesystem() to determine the > variant. Also, I moved the relevant code from > kernel.c:new_linux_kernel() to load_linux.c:bios_boot_linux() because > there is no convenient way in new_linux_kernel() to control the boot > flags value. > > In basic testing, keeppxe seems to work with the patch applied. > > > --- syslinux-6.04-pre1.orig/com32/elflink/ldlinux/kernel.c 2016-03-01...
2016 Jun 15
2
[PATCH] Fix recognition of keeppxe option
> On Tue, Jun 14, 2016 at 12:33 PM, Ady via Syslinux <syslinux at zytor.com> wrote: > > > >> > kernel.c:new_linux_kernel() to load_linux.c:bios_boot_linux() because > >> > there is no convenient way in new_linux_kernel() to control the boot > >> > flags value. > >> > >> This is the part that has me questioning things and trying to recall > >> if any other KERNEL-like...
2012 Jul 01
1
[PATCH] elflink: fix return from execute()
...ype) local_boot(strtoul(kernel, NULL, 0)); } else if (type == KT_PXE || type == KT_BSS || type == KT_BOOT) { chainboot_file(kernel, type); - } else { + } else if (type == KT_KERNEL) { /* Need add one item for kernel load, as we don't use * the assembly runkernel.inc any more */ new_linux_kernel((char *)kernel, (char *)cmdline); -- 1.7.3.4
2016 Jun 14
0
[PATCH] Fix recognition of keeppxe option
...t-specific code to load another file of common code. > determine the SYSLINUX variant. The code inside the #if will never be > compiled. So, I changed it to use syslinux_filesystem() to determine the > variant. Also, I moved the relevant code from Probably the best choice. > kernel.c:new_linux_kernel() to load_linux.c:bios_boot_linux() because > there is no convenient way in new_linux_kernel() to control the boot > flags value. This is the part that has me questioning things and trying to recall if any other KERNEL-like directives ever utilize keeppxe. > In basic testing, keeppxe se...
2016 Jun 15
0
[PATCH] Fix recognition of keeppxe option
On Tue, Jun 14, 2016 at 12:33 PM, Ady via Syslinux <syslinux at zytor.com> wrote: > >> > kernel.c:new_linux_kernel() to load_linux.c:bios_boot_linux() because >> > there is no convenient way in new_linux_kernel() to control the boot >> > flags value. >> >> This is the part that has me questioning things and trying to recall >> if any other KERNEL-like directives ever utilize...
2016 Jun 16
0
[PATCH] Fix recognition of keeppxe option
On Wed, Jun 15, 2016 at 1:02 PM, Ady via Syslinux <syslinux at zytor.com> wrote: > >> On Tue, Jun 14, 2016 at 12:33 PM, Ady via Syslinux <syslinux at zytor.com> wrote: >> > >> >> > kernel.c:new_linux_kernel() to load_linux.c:bios_boot_linux() because >> >> > there is no convenient way in new_linux_kernel() to control the boot >> >> > flags value. >> >> >> >> This is the part that has me questioning things and trying to recall >> >> if a...
2016 Jun 16
2
[PATCH] Fix recognition of keeppxe option
> On Wed, Jun 15, 2016 at 1:02 PM, Ady via Syslinux <syslinux at zytor.com> wrote: > > > >> On Tue, Jun 14, 2016 at 12:33 PM, Ady via Syslinux <syslinux at zytor.com> wrote: > >> > > >> >> > kernel.c:new_linux_kernel() to load_linux.c:bios_boot_linux() because > >> >> > there is no convenient way in new_linux_kernel() to control the boot > >> >> > flags value. > >> >> > >> >> This is the part that has me questioning things and trying to recall &g...
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...s caused by refstrdup() usage core: Add open_config() prototype ldlinux: Use '\0' instead of NULL when dealing with characters ldlinux: Cast some arguments to avoid compiler warnings ldlinux: Fix number of arguments to start_ldlinux() ldlinux: Add prototype for new_linux_kernel() ldlinux: Fix uninitialized variable warning ldlinux: Use signed char consistently core: Move write_serial() prototype to core.h ldlinux: Include write_serial() prototype meminfo: If we allocate with lmalloc() we should free with lfree() localboot: Include heade...
2011 Mar 16
0
[GIT PULL] elflink compiler warning fixes
...lf.h +++ b/core/elflink/core-elf.h @@ -18,9 +18,9 @@ enum kernel_type { KT_CONFIG, /* Configuration file */ }; -extern char *append; +extern const char *append; extern char *ippappend; -extern char *globaldefault; +extern const char *globaldefault; extern short onerrorlen; extern int new_linux_kernel(char *okernel, char *ocmdline); diff --git a/core/elflink/execute.c b/core/elflink/execute.c index 79dbc55..7e70323 100644 --- a/core/elflink/execute.c +++ b/core/elflink/execute.c @@ -16,6 +16,8 @@ #include <dprintf.h> #include <com32.h> +#include <sys/exec.h> +#include &quot...
2012 Mar 23
19
[PATCH 00/19][elflink] Improve compatibility with 4.x
From: Matt Fleming <matt.fleming at intel.com> The following patch series is available at, git://git.zytor.com/users/mfleming/syslinux.git elflink All patches are against the 'elflink' branch. This series fixes a few serious bugs and some behavioural incompatibilities with the 4.x series. Matt Fleming (19): ldlinux: Initialise 'p' before using it. ldlinux: Parse
2013 Jan 04
2
Syslinux 5.00 - Doesn't boot my system / Not passing the kernel options to the kernel?
Hi, I encounter a problem with Syslinux 5.00 I cannot really describe. So I created two small videos: Booting with Syslinux 5.00 (1.3 MB): <https://www.dropbox.com/s/b6g8cdf2t9v48c6/boot-syslinux5-fail.mp4> How I fixed the problem by downgrading to Syslinux 4.06 and how booting should look like (6.5 MB): <https://www.dropbox.com/s/lt7cpgfm0qvqtba/boot-syslinux5-how-i-fixed-it.mp4>
2011 Mar 09
14
[PATCH 00/12] elflink shrinkage
From: Matt Fleming <matt.fleming at linux.intel.com> This is a series of patches that, * shrink the core by moving things into an ldlinux ELF module * begin wiring up some of the C versions of various functions The core now only contains essential code and loads the ldlinux module to do everything else, like providing a command line interface and loading kernels. The config file parsing
2016 Mar 20
0
[PATCH 0/1] EFI image booting capabilities
...o.h> > @@ -7,6 +11,7 @@ > #include <syslinux/loadfile.h> > #include <syslinux/linux.h> > #include <syslinux/pxe.h> > +#include <syslinux/firmware.h> > #include "core.h" > > const char *globaldefault = NULL; > @@ -23,6 +28,9 @@ int new_linux_kernel(char *okernel, char > bool opt_quiet = false; > char *initrd_name, *cmdline; > > + if(firmware && firmware->clear_screen) > + firmware->clear_screen(); > + > dprintf("okernel = %s, ocmdline = %s", okernel, oc...
2015 Feb 20
6
[PATCH 0/1] EFI image booting capabilities
...include <stdlib.h> #include <stdio.h> @@ -7,6 +11,7 @@ #include <syslinux/loadfile.h> #include <syslinux/linux.h> #include <syslinux/pxe.h> +#include <syslinux/firmware.h> #include "core.h" const char *globaldefault = NULL; @@ -23,6 +28,9 @@ int new_linux_kernel(char *okernel, char bool opt_quiet = false; char *initrd_name, *cmdline; + if(firmware && firmware->clear_screen) + firmware->clear_screen(); + dprintf("okernel = %s, ocmdline = %s", okernel, ocmdline); if (okernel) @@ -129,3 +137,70 @@ bail...
2012 Nov 02
10
[PATCH 0/9] elflink fixes
From: Matt Fleming <matt.fleming at intel.com> Here are the patches that I've got queued up based on the very helpful feedback I received from people testing Syslinux 5.00-pre9. Unless anyone has any concerns these will make it into Syslinux 5.00-pre10. Matt Fleming (9): pxe: Don't call open_config() from the pxe core ldlinux: Print a warning if no config file is found
2011 Feb 17
5
[PATCH 0/4] Reduce core size
From: Matt Fleming <matt.fleming at linux.intel.com> These patches are based on the elflink branch. This set of patches is my attempt at moving the command-line interface functionality out of the core and into an ELF module to reduce the size of the core. The most interesting patch is [PATCH 4/4] which moves the cli code out of core/elflink and into com32/elflink/modules. [PATCH 4/4] is
2011 May 25
1
[GIT PULL] elflink ldlinux
...) argv[argc] = NULL; module_load_dependencies(kernel, "modules.dep"); spawn_load(kernel, argc, argv); - } else if (type <= KT_KERNEL) { + } else if (type == KT_KERNEL) { /* Need add one item for kernel load, as we don't use * the assembly runkernel.inc any more */ new_linux_kernel(kernel, cmdline); @@ -148,14 +148,15 @@ void execute(const char *cmdline, enum kernel_type type) if (type == KT_LOCALBOOT) { ireg.eax.w[0] = 0x0014; /* Local boot */ ireg.edx.w[0] = strtoul(kernel, NULL, 0); + } else { + ireg.eax.w[0] = 0x0016; /* Run kernel image */ + ireg.esi.w[0]...
2012 Aug 14
1
[GIT PULL] elflink fixes
...;copy_super(buf)) goto bail; if (sdi->c.filesystem == SYSLINUX_FS_PXELINUX) { diff --git a/com32/elflink/ldlinux/config.h b/com32/elflink/ldlinux/config.h index 4583202..ea4736e 100644 --- a/com32/elflink/ldlinux/config.h +++ b/com32/elflink/ldlinux/config.h @@ -47,4 +47,6 @@ extern int new_linux_kernel(char *okernel, char *ocmdline); extern void pm_load_high(com32sys_t *regs); +extern void ldlinux_enter_command(bool prompt); + #endif /* __CONFIG_H__ */ diff --git a/com32/elflink/ldlinux/execute.c b/com32/elflink/ldlinux/execute.c index 5d128cb..e7969c2 100644 --- a/com32/elflink/ldlinux/exe...