[U-Boot] ttyO2 and ttyS2 in console bootcmd.

Frank Agius ftagius at yahoo.com
Mon May 2 15:42:47 CEST 2011


On 5/1/2011 7:16 PM, Chris Rodley wrote:
> Hi,
>
>   How does uboot specify whether it accepts ttySO or ttyS2 in the console part of the boot cmd.
>   I am trying to boot the 2.6.39 kernel .. my new uboot works with 2.6.32
> using ttyS2.
>
>   It does not work with the new 2.6.39, but I can get that to boot by
> compiling uboot for the BeagleBoard and using ttySO.
>   I have spent a lot of time looking at the differences in the code and
> have not been able to work out what it is that needs to be changed on
> my custom uboot to make it work.
>
>
> Any ideas?

 From the u-boot command prompt, first display the env variable console 
with the printenv command.  It is probably currently set to 
ttyS2,115200n8.  Use setenv to change console to ttyO2,115200n8, then 
save it with saveenv.  Here is how it should look:

Overo # printenv console
console=ttyS2,115200n8
Overo # setenv console ttyO2,115200n8
iRobot # saveenv
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x240000 -- 100% complete.
Writing to Nand... done
Overo #


>   Thanks,
>
>   CJ
>
>
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot




More information about the U-Boot mailing list