Hi ,
We have bypassed the X-loader on the OMAP3 (AM3730 evm) by looking at some blog. It worked fine.
I could load the u-boot onto the flash from SD card.
When i boot without SD card, u-boot comes up from flash successfully,but later on when i try to load the kernel by giving following commands
.I have followed AM37X software developers guide to give these commands. Infact followed the exact steps from the guide.
OMAP3_EVM # setenv bootcmd_original ${bootcmd}
OMAP3_EVM # setenv nand_kernel 'nand read.i ${loadaddr} 280000 300000'
OMAP3_EVM # setenv nand_mmc_boot 'run nand_kernel;setenv bootargs ${mmcargs}; bootm'
OMAP3_EVM # saveenv
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x260000 -- 100% complete.
Writing to Nand... done
OMAP3_EVM # run nand_mmc_boot
The kernel booting is struck at uncompressing kernel..........
Plz see the below log for clear picture
U-Boot 2009.11 (May 06 2010 - 23:47:47)
OMAP34xx/35xx-GP ES2.0, CPU-OPP2 L3-165MHz
OMAP3 EVM board + LPDDR/NAND
I2C: ready
DRAM: 128 MB
NAND: 512 MiB
In: serial
Out: serial
Err: serial
Read back SMSC id 0x92200000
Die ID #435600011ff00000015a5e590f02a028
Net: smc911x-0
Hit any key to stop autoboot: 0
OMAP3_EVM #
OMAP3_EVM #
OMAP3_EVM #
OMAP3_EVM #
OMAP3_EVM # pri
bootcmd=if mmc init; then if run loadbootscript; then run bootscript; else if run loaduimage; then run mmcboot; else run nandboot; fi; fi; else run nandboot; fi
bootdelay=10
baudrate=115200
bootfile=uImage
loadaddr=0x82000000
usbtty=cdc_acm
console=ttyS2,115200n8
mmcargs=setenv bootargs console=${console} root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
nandargs=setenv bootargs console=${console} root=/dev/mtdblock4 rw rootfstype=jffs2
loadbootscript=fatload mmc 0 ${loadaddr} boot.scr
bootscript=echo Running bootscript from mmc ...; source ${loadaddr}
loaduimage=fatload mmc 0 ${loadaddr} uImage
mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${loadaddr}
dieid#=435600011ff00000015a5e590f02a028
ethact=smc911x-0
nfsargs=mem=128M console=ttyUSB0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=192.168.1.99:/home/dataway/pos/filesystem,nolock,rsize=1024,wsize=1
bootargs=${nfsargs}; bootm
ipaddr=192.168.1.11
serverip=192.168.1.99
gatewayip=192.168.1.1
netmask=255.255.255.0
nandboot=echo Booting from nand ...; run nandargs; nand read ${loadaddr} 280000 400000; bootm ${loadaddr}
stdin=serial
stdout=serial
stderr=serial
Environment size: 1136/131068 bytes
OMAP3_EVM # setenv bootcmd_original ${bootcmd}
OMAP3_EVM # setenv nand_kernel 'nand read.i ${loadaddr} 280000 300000'
OMAP3_EVM # setenv nand_mmc_boot 'run nand_kernel;setenv bootargs ${mmcargs}; bootm'
OMAP3_EVM # saveenv
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x260000 -- 100% complete.
Writing to Nand... done
OMAP3_EVM # run nand_mmc_boot
NAND read: device 0 offset 0x280000, size 0x300000
3145728 bytes read: OK
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-2.6.32
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2393496 Bytes = 2.3 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux....................................................................................................................................................
There is response from the board after this.
Iam suspecting some bootargs problem in the U-boot environmental variables. can anybody help on this
thanks.