Nand image not playing well with new Uboot and Angstrom/Narcissus

75 views
Skip to first unread message

Mark

unread,
Jul 1, 2011, 8:06:32 PM7/1/11
to Beagle Board
Can someone help explain this scenario:

beagleboard revC4

My NAND is flashed with the image that Koen posted in Feb (see the
following link):

http://groups.google.com/group/beagleboard/browse_thread/thread/ce2fb5fe7532c1a3/7ffd264fa5634d07?q#


If an SD card with Uboot(Sept2010) and Ubuntu is in place at boot the
Ubuntu image loads fine.
If the SD card with Uboot(April 2011) and Angstrom/Narcissus is in
place at boot the following happens:

Texas Instruments X-Loader 1.4.4ss (Jan 29 2011 - 10:54:03)
Beagle Rev C4
Reading boot sector
Loading u-boot.bin from mmc


U-Boot 2011.03-rc1-00000-g9a3cc57-dirty (Apr 01 2011 - 17:41:42)

OMAP3530-GP ES3.1, CPU-OPP2, L3-165MHz, Max CPU Clock 720 mHz
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 256 MiB
NAND: 256 MiB
MMC: OMAP SD/MMC: 0
In: serial
Out: serial
Err: serial
Beagle Rev C4
timed out in wait_for_pin: I2C_STAT=0
No EEPROM on expansion board
Die ID #068a000400000000040365fa12016019
Hit any key to stop autoboot: 0
mmc - MMC sub system

Usage:
mmc read <device num> addr blk# cnt
mmc write <device num> addr blk# cnt
mmc rescan <device num>
mmc part <device num> - lists available partition on mmc
mmc list - lists available devices
Booting from nand ...


I have a working boot.scr in place that is being read by the new Uboot
as verified when I flash NAND with just MLO and Uboot(Sept2010). In
this case uEnv.txt is being loaded/read and the SD card with
Uboot(April 2011) and Angstrom/Narcissus boots.

Any thoughts would be appreciated.

--Mark

Mark

unread,
Jul 3, 2011, 7:20:34 PM7/3/11
to Beagle Board
figured it out...

I built uboot from source:
http://gitorious.org/beagleboard-validation/u-boot/trees/xm

and added the patch from this link:
http://lists.denx.de/pipermail/u-boot/2010-June/072198.html


My first partion is FAT32 and has MLO, uboot.bin, and boot.scr

My boot.scr follows and is setup to load uImage from ext3.

if test "${beaglerev}" = "xMA"; then
echo "Kernel is not ready for 1Ghz limiting to 800Mhz"
setenv mpurate 800
fi
setenv dvimode 1280x720MR-16@60
setenv vram 12MB
setenv bootcmd 'mtdparts default; mmc init; ext2load mmc 0:2
0x80200000 /boot/uImage; bootm 0x80200000'
setenv bootargs console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw
rootfstype=ext3 rootwait vram=${vram} omapfb.mode=dvi:${dvimode}
omapdss.def_disp=dvi buddy=none camera=none mpurate=${mpurate}
boot



Reply all
Reply to author
Forward
0 new messages