* [U-Boot] ttyO2 and ttyS2 in console bootcmd.
@ 2011-05-01 23:16 Chris Rodley
2011-05-02 5:15 ` Bedia, Vaibhav
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Chris Rodley @ 2011-05-01 23:16 UTC (permalink / raw)
To: u-boot
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?
Thanks,
CJ
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] ttyO2 and ttyS2 in console bootcmd.
2011-05-01 23:16 [U-Boot] ttyO2 and ttyS2 in console bootcmd Chris Rodley
@ 2011-05-02 5:15 ` Bedia, Vaibhav
2011-05-02 5:17 ` Wolfgang Denk
2011-05-02 13:42 ` Frank Agius
2 siblings, 0 replies; 4+ messages in thread
From: Bedia, Vaibhav @ 2011-05-02 5:15 UTC (permalink / raw)
To: u-boot
On Monday, May 02, 2011 4:46 AM, 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?
> Thanks,
>
> CJ
Are you sure that its ttyS0 and not ttyO2 that fixes the problem?
Latest OMAP kernels use ttyO* instead of ttyS* and the necessary change are already there in U-Boot.
Look at "include/configs/omap3_beagle.h" in the U-Boot sources.
Regards,
Vaibhav
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] ttyO2 and ttyS2 in console bootcmd.
2011-05-01 23:16 [U-Boot] ttyO2 and ttyS2 in console bootcmd Chris Rodley
2011-05-02 5:15 ` Bedia, Vaibhav
@ 2011-05-02 5:17 ` Wolfgang Denk
2011-05-02 13:42 ` Frank Agius
2 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2011-05-02 5:17 UTC (permalink / raw)
To: u-boot
Dear Chris Rodley,
In message <801393.16381.qm@web112016.mail.gq1.yahoo.com> you wrote:
>
> How does uboot specify whether it accepts ttySO or ttyS2 in the console part of the boot cmd.
U-Boot passes Linux kernel boot arguments in the "bootargs"
environment variable. For U-Boot, this is just a variable setting.
U-Boot does not interpret it's content in any way.
> I am trying to boot the 2.6.39 kernel .. my new uboot works with 2.6.32
> using ttyS2.
U-Boot uses fixed configuration settings and has no notion of such
device names.
> 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.
This sentence makes no sense to me.
> 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.
We have no idea what "your custom uboot" might be. [Please note the
correct spelling: U-Boot.]
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If ignorance is bliss, why aren't there more happy people?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] ttyO2 and ttyS2 in console bootcmd.
2011-05-01 23:16 [U-Boot] ttyO2 and ttyS2 in console bootcmd Chris Rodley
2011-05-02 5:15 ` Bedia, Vaibhav
2011-05-02 5:17 ` Wolfgang Denk
@ 2011-05-02 13:42 ` Frank Agius
2 siblings, 0 replies; 4+ messages in thread
From: Frank Agius @ 2011-05-02 13:42 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-05-02 13:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-01 23:16 [U-Boot] ttyO2 and ttyS2 in console bootcmd Chris Rodley
2011-05-02 5:15 ` Bedia, Vaibhav
2011-05-02 5:17 ` Wolfgang Denk
2011-05-02 13:42 ` Frank Agius
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox