Booting to 3.2.28 kernel in BeagleBoard xM

118 views
Skip to first unread message

Paulo Sherring

unread,
Oct 22, 2014, 4:23:45 PM10/22/14
to beagl...@googlegroups.com
Hi all! I am trying to use the images found in this link:
http://dominion.thruhere.net/angstrom/nightlies/v2013.12/beagleboard/
which are nightlies builds of Angstrom.
I am trying to use them in a Beagleboard xM rev C.
U-Boot boots just fine, but, when it is supposed to load and boot kernel, it halts. The dump of console follows bellow.
Thanks in advance!


U-Boot 2011.09-01172-gfdbe8b9-dirty (Apr 15 2014 - 20:03:14)

OMAP3630
/3730-GP ES1.2, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
OMAP3
Beagle board + LPDDR/NAND
I2C
:   ready
DRAM
:  512 MiB
WARNING
: Caches not enabled
NAND
:  0 MiB
MMC
:   OMAP SD/MMC: 0
*** Warning - readenv() failed, using default environment

In:    serial
Out:   serial
Err:   serial
Beagle xM Rev C
No EEPROM on expansion board
I2C read
: I/O error
Unrecognized expansion board: 0
Die ID #625a00029ff800000163810c1202401d
Net:   Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot:  0
The user button is currently NOT pressed.
SD
/MMC found on device 0
reading uEnv
.txt

128 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc ...
Loading file "/boot/uImage" from mmc device 0:2 (xxa2)
4335448 bytes read
Booting from mmc ...
## Booting kernel from Legacy Image at 80200000 ...
   
Image Name:   Linux-3.2.28
   
Image Type:   ARM Linux Kernel Image (uncompressed)
   
Data Size:    4335384 Bytes = 4.1 MiB
   
Load Address: 80008000
   
Entry Point:  80008000
   
Verifying Checksum ... OK
   
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.


Robert Nelson

unread,
Oct 22, 2014, 4:25:40 PM10/22/14
to Beagle Board
On Wed, Oct 22, 2014 at 3:23 PM, Paulo Sherring
<pauloas...@gmail.com> wrote:
> Hi all! I am trying to use the images found in this link:
> http://dominion.thruhere.net/angstrom/nightlies/v2013.12/beagleboard/
> which are nightlies builds of Angstrom.
> I am trying to use them in a Beagleboard xM rev C.
> U-Boot boots just fine, but, when it is supposed to load and boot kernel, it
> halts. The dump of console follows bellow.
> Thanks in advance!

blast from the past...

in your uEnv.txt, did you specify ttyS2 or ttyO2 for the serial console?

O as in Omap not 0 as in zero...

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

Paulo Sherring

unread,
Oct 22, 2014, 4:33:45 PM10/22/14
to beagl...@googlegroups.com
That was frighteningly fast! I just copied some random, old uEnv.txt i found here, since i never really got this uEnv.txt or u-boot commands :/
Here is a copy of the uEnv.txt that i am using:

mpurate=1000
dvimode
="hd720 omapfb.vram=0:8M,1:4M,2:4M"
vram
=16M
optargs
="consoleblank=0"
console
="tty0 console=ttyS2,115200n8"

Robert Nelson

unread,
Oct 22, 2014, 4:36:11 PM10/22/14
to Beagle Board
On Wed, Oct 22, 2014 at 3:33 PM, Paulo Sherring
<pauloas...@gmail.com> wrote:
> That was frighteningly fast! I just copied some random, old uEnv.txt i found
> here, since i never really got this uEnv.txt or u-boot commands :/
> Here is a copy of the uEnv.txt that i am using:
>
> mpurate=1000
> dvimode="hd720 omapfb.vram=0:8M,1:4M,2:4M"
> vram=16M
> optargs="consoleblank=0"
> console="tty0 console=ttyS2,115200n8"

replace that ttyS2 with ttyO2 and retry..

I don't remember when we did the ttyS2 -> ttyO2 dance... but it was painful. ;)

Paulo Sherring

unread,
Oct 22, 2014, 4:46:42 PM10/22/14
to beagl...@googlegroups.com
Still no luck. Is there a correlation with /dev content ? I mean, in /dev, there are a few tty*.
As I pointed out, i have absolutely no idea of the meaning of uEnv :(
This last line seems funny. Shouldnt it be something like
console="tty0"
console="ttyS2,115200n8"
In separate lines?

Thanks!!
Paulo Sherring.

Robert Nelson

unread,
Oct 22, 2014, 4:52:51 PM10/22/14
to Beagle Board
On Wed, Oct 22, 2014 at 3:46 PM, Paulo Sherring
<pauloas...@gmail.com> wrote:
> Still no luck. Is there a correlation with /dev content ? I mean, in /dev,
> there are a few tty*.

ttyS2 = /dev/ttyS2
ttyO2 = /dev/ttyO2

> As I pointed out, i have absolutely no idea of the meaning of uEnv :(

> This last line seems funny. Shouldnt it be something like
> console="tty0"
> console="ttyS2,115200n8"

no, it's a variable.. so it would first set
console=tty0

then re-set it as:
console=ttyS2,115200n8

After u-boot loads and processes uEnv.txt, it would passing this to the kernel..

console=tty0 console=ttyS2,115200n8

Paulo Sherring

unread,
Oct 22, 2014, 5:01:42 PM10/22/14
to beagl...@googlegroups.com
I get it, i guess. Is there some kind of default uEnv.txt?
The found a few, but none of them seems "stock" and all claim to be default :P

Thanks!

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/ETjCNqwR9MM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Robert Nelson

unread,
Oct 22, 2014, 5:04:50 PM10/22/14
to Beagle Board
On Wed, Oct 22, 2014 at 4:00 PM, Paulo Sherring
<pauloas...@gmail.com> wrote:
> I get it, i guess. Is there some kind of default uEnv.txt?
> The found a few, but none of them seems "stock" and all claim to be default
> :P

There's really no such thing as "stock"..

uEnv.txt "user environment", it's just easily allow you to update a
few variables. But it's usually tied to both the "u-boot" and
"rootfs/kernel"..

Paulo Sherring

unread,
Oct 22, 2014, 5:10:06 PM10/22/14
to beagl...@googlegroups.com
One more thing: when trying to boot to a 2.6.32 kernel, i get several ".............." after the "Uncompressing Linux" message and before the "done, booting the kernel." I my 3.2 kernel image, it only show me some very fast "..." and that is it.
I wonder if there is something wrong with the kernel I am using.
Reply all
Reply to author
Forward
0 new messages