[syslinux] Version 5.01 not passing kernel command line args to memtest86+as it can understand

H. Peter Anvin
Mon, 04 Feb 2013 19:13:53 -0000

On 02/04/2013 02:44 AM, Leandro Becker wrote:
> Hello,
>
> I'm trying to pass the serial port options to memtest86+ using
> Syslinux 5.01 but is not working. Debugging the memtest86+,
> the check at main.cpp function static void parse_command_line(void)
>
> if (*OLD_CL_MAGIC_ADDR != OLD_CL_MAGIC)
>          return;
>
> Is being evaluated to true. What should I do? There is a way to
> instruct memtest to use the "old way" to pass parameters to
memtest or
> shoud I try to patch memtest?
>
> This is my menu label:
>
> label Memtest
> linux /boot/memtest.bin console=ttyS1,115200
>

I see the problem.  Will push a patch shortly.

	-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.