[U-Boot] [PATCH 2/2] ARM: versatile: pass console setting to the kernel

Linus Walleij linus.walleij at linaro.org
Wed Nov 27 13:43:32 CET 2013


On Wed, Nov 27, 2013 at 11:03 AM, Marek Vasut <marex at denx.de> wrote:

> [Me]
>>  #define CONFIG_BOOTDELAY     2
>>  #define CONFIG_BOOTARGS              "root=/dev/nfs mem=128M ip=dhcp "\
>> -                             "netdev=25,0,0xf1010000,0xf1010010,eth0"
>> +                             "netdev=25,0,0xf1010000,0xf1010010,eth0 "\
>> +                             "console=ttyAMA0,38400n1"
>
> We're currently trying to migrate away from having the environment built into
> the bootloader altogether. On the other hand, I understand this is a bona-fide
> fix. I would let this one slide.

I think the only reason why this has not been fixed before is that
people have only tested the Versatile with QEMU, and that "emulation"
will likely (my best guess) just display characters on the virtual
terminal even if the baudrate it completely bananas, so noone really
noticed the situation before.

This has the upside of making the default versatile out-of-the-box U-Boot
work also on real hardware ...

Yours,
Linus Walleij


More information about the U-Boot mailing list