Displaying 20 results from an estimated 500 matches similar to: "[syslinux:firmware] load_linux: dynamically calculate the cmdline region"
2013 Jul 29
1
[syslinux:firmware] load_linux: dynamically calculate the cmdline region
On 07/29/2013 06:28 AM, Matt Fleming wrote:
> On Fri, 26 Jul, at 09:49:28AM, H. Peter Anvin wrote:
>> Hmm... this might constrain the heap excessively if the SMT_TERMINAL
>> cutoff is at the wrong place (because there will be just enough SMT_FREE
>> to fit.) I'm wondering if we shouldn't use the highest of these two
>> regions.
>
> Could you give an
2013 Dec 04
0
Boot iPXE from syslinux/isolinux
On 12/04/2013 12:38 AM, Christian Hesse wrote:
>
> Sure. Here we go:
>
> boot: debug -e bios_boot_linux calc_cmdline_offset
> boot: ipxe.lkrn
> Loading ipxe.lkrn... ok
> cmdline_offset at 0x9f7e0
> Initial memory map:
> Could not find location for protected-mode code
> Booting kernel failed: Invalid argument
>
OK, that was a useful clue. I think I know what is
2013 Dec 04
2
Boot iPXE from syslinux/isolinux
"H. Peter Anvin" <hpa at zytor.com> on Tue, 2013/12/03 20:26:
> On 10/24/2013 01:09 AM, Christian Hesse wrote:
> >>>
> >>> version 6.02-pre5 works, 6.02-pre6 does not.
> >>
> >> Struggled with git bisect, but finally succeeded:
> >>
> >> 8f470e7bfe75f6401f6c5432988c620b863ad274 is the first bad commit
> >>
2013 Jul 29
0
[syslinux:firmware] load_linux: dynamically calculate the cmdline region
On Fri, 26 Jul, at 09:49:28AM, H. Peter Anvin wrote:
> Hmm... this might constrain the heap excessively if the SMT_TERMINAL
> cutoff is at the wrong place (because there will be just enough SMT_FREE
> to fit.) I'm wondering if we shouldn't use the highest of these two
> regions.
Could you give an example memory map where this would be a problem? I
not sure I understand what
2015 Feb 05
4
[PATCH] load_linux: correct a type
Correct base's type to match its initialization from prot_mode_base and
passage to syslinux_memmap_find(). Tested with extlinux.
Signed-off-by: Scot Doyle <lkml14 at scotdoyle.com>
---
com32/lib/syslinux/load_linux.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/com32/lib/syslinux/load_linux.c b/com32/lib/syslinux/load_linux.c
index 06ae2a9..ac73729 100644
---
2010 May 19
3
[PATCH] com32/lib/syslinux/load_linux.c: cmdline truncated
Hi,
in syslinux-386, I think I've found a problem in
com32/lib/syslinux/load_linux.c
that leads to cmdline being truncated unnecessarily when e.g.
linux.c32 is used.
The patch below fixes the problem for me. But I don't know,
whether the patch is safe in all cases. I tried to reproduce
the logic found in runkernel.inc, but I might have missed
something. So, feel free to tell me
2015 Feb 08
0
[PATCH] load_linux: relocate protected-mode code as intended
If the kernel is relocatable and the protected mode code will not fit
in the initially determined location, that code will be moved to the
next available location. However, beginning with commit 8f470e7b, the
code is moved to the initially determined location instead of the next
available location because prot_mode_base is no longer updated to the
correct location. Since whdr->code32_start is
2017 Mar 05
0
[PATCH] Fix recognition of keeppxe option
On Fri, Jun 10, 2016 at 2:06 AM, Adam Goldman via Syslinux
<syslinux at zytor.com> wrote:
> PXELINUX has stopped recognizing the keeppxe option on the kernel
> command line. Here is a patch 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,
2013 Dec 05
0
[syslinux:firmware] load_linux: Don' t use size heuristic for non-relocatable kernels
"syslinux-bot for H. Peter Anvin" <hpa at zytor.com> on Wed, 2013/12/04 12:39:
> Commit-ID: ef81a3ad54845ffb5ad62714cd62db4740ad5cff
> Gitweb:
> http://www.syslinux.org/commit/ef81a3ad54845ffb5ad62714cd62db4740ad5cff
> Author: H. Peter Anvin <hpa at zytor.com> AuthorDate: Wed, 4 Dec 2013
> 12:35:09 -0800 Committer: H. Peter Anvin <hpa at zytor.com>
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
2009 Mar 12
0
[PATCH 1/1] linux.c32: Fix initrd alignment
Impact: None.
The end of memory needs to be page aligned: if the initrd expands beyond it,
Linux kernels won't be able to access the last few bytes.
Signed-off-by: Pierre-Alexandre Meyer <pierre at mouraf.org>
---
com32/lib/syslinux/load_linux.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/com32/lib/syslinux/load_linux.c b/com32/lib/syslinux/load_linux.c
2013 Mar 27
1
[PATCH] Fix support for Linux kernel images with no protected mode code
Some kernel images use the Linux kernel boot protocol and header
structure, but do not actually have any protected-mode code. For
instance, grub's 1024-byte lnxboot.img consists of 1024 real-mode bytes
and 0 protected-mode bytes; you can concatenate it with a full grub
core.img to produce a self-contained bootable kernel, but you can also
use it standalone as the kernel with the core.img
2015 Feb 10
6
[PATCH 0/6] fix some compiler warnings
These patches fix a few compiler warnings.
Tested on top of commit aee0dc5565711ef5be7c30fb5fc1c5f3f98db09f
Jonathan Boeing (6):
Use z width specifier when printing size_t variable
pxe: fix truncation warning
gpllib: fix sizeof(char *) misuse
hdt: fix sizeof(char *) misuse
hdt: fix sizeof(char *) misuse
hdt: fix sizeof(char *) misuse
com32/gpllib/dmi/dmi.c | 24 +++---
2016 Jun 10
4
[PATCH] Fix recognition of keeppxe option
PXELINUX has stopped recognizing the keeppxe option on the kernel
command line. Here is a patch 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
2015 Aug 09
0
[PATCH] load_linux: correct a type
Hi,
back in February, Scot Doyle proposed two patches:
http://www.syslinux.org/archives/2015-February/023209.html
http://www.syslinux.org/archives/2015-February/023179.html
Since then, the bug fixed by those patches has been identified in
Ubuntu, Debian and Tails:
https://bugs.launchpad.net/ubuntu/+source/syslinux/+bug/1429323
https://bugs.debian.org/780765
2015 Aug 09
1
[PATCH] load_linux: correct a type
On Sun, Aug 9, 2015 at 3:44 AM, intrigeri via Syslinux
<syslinux at zytor.com> wrote:
> Hi,
>
> back in February, Scot Doyle proposed two patches:
>
> http://www.syslinux.org/archives/2015-February/023209.html
0a2dbb339
> http://www.syslinux.org/archives/2015-February/023179.html
83aad4f6
--
-Gene
2015 Nov 27
0
Only 2.5G of RAM available when syslinux64.efi boots 32-bit linux 686-pae
> On Mon, Nov 23, 2015 at 3:06 PM, Ady via Syslinux <syslinux at zytor.com> wrote:
>
> > It saddens (me)
>
> > C'mon; really?
>
> As you asked.
>
> --
> -Gene
I appreciate the replies. Hopefully someone might be able to come up with
some contribution / answer.
The Syslinux code has already received at some point some patches
regarding the EFI
2016 Jun 16
0
[PATCH] Fix recognition of keeppxe option
On Thu, Jun 16, 2016 at 06:20:31PM +0300, Ady via Syslinux wrote:
> the main idea: if the LINUX directive would be capable of using /
> parsing "keeppxe", then it might make sense to have the same capability
> in linux.c32 (in addition to mboot.c32 and chain.c32).
AFAICT, the following modules lead to the syslinux_boot_linux code path:
ldlinux.c32
lua.c32 (for boot_linux and
2014 Mar 19
2
Checking CRC (of bzImage) before loading
On 03/19/2014 01:30 PM, Gene Cumm wrote:
> On Wed, Mar 19, 2014 at 4:16 PM, Mau Z <zmau1962 at gmail.com> wrote:
>> Hi,
>>
>> I am wondering how to implement the following customer's requirement :
>> The system is a stand alone embedded system with no operator (with Linux).
>> There is one SSD for the system's usage (and that is where the system loads
2010 Jul 27
1
Return from syslinux_local_boot(), syslinux_run_command() and syslinux_boot_linux()
gfxboot uses those three calls, but currently doesn't really handle returns from them.
syslinux_boot_linux (lib/syslinux/load_linux.c) can return ("bail" label).
syslinux_local_boot (lib/syslinux/localboot.c) has a comment which says "returns
only on failure". The documentation for "Local boot" in doc/comboot.txt says "Does
not return". Which is correct?