Hi all,
am Nithin. I am using mini2440 w35 board. I had loaded Uboot. Earlier
few problems I faced, as mentioned in
http://www.friendlyarm.net/forum/topic/1171
I followed instructions from
http://bill.station51.net/index.php?post/2010/01/16/U-Boot-on-Mini2440
The instructions which I followed are given in short below.
------->
1. Switch the system to NOR and boot with supervivi.
2. hit v in supervivi
3. i uploaded the u-boot.bin file
4. switch the system to NAND and boot up with u-boot. You'll get some
errors.
5. Run nand scrubs and createbbt
6. switch back to NOR
7. hit v again and upload U-boot since you just erased it.
8. switch back to nand and it should boot up with minimal errors using
u-boot.
9. run the dynpart and dynenv and saveenv as mentioned above.
-------->
I had taken linux 2.6.32.2 kernel, and inserted initramfs which i created
from buildroot 2011 and compiled.
I got vmlinux with size 7.1 MB
I did objcopy and zipped it.
After zipping its size is 5.8 MB
In readelf -h vmlinux. the entry point address was c0008000
I did mkimage by below mentioned options,
../nEW_u-boot/uboot-1.3.2/tools/mkimage -A arm -O linux -T kernel -C gzip
-a 0x32000000 -e 0x32000000 -n "Nithin IN Linux" -d vmlinux.bin.gz
uimage.bin
After setting serveripp and ipaddr in board, I given
setenv bootcmd 'tftp; bootm 0x32000000'
setenv bootfile uimage.bin
and reset the board,
Load address: 0x32000000
Loading: T
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##################
done
Bytes transferred = 5983545 (5b4d39 hex)
## Booting kernel from Legacy Image at 32000000 ...
Image Name: Nithin IN Linux
Created: 2012-01-26 15:06:44 UTC
Image Type: ARM Linux Kernel Image (gzip compressed)
Data Size: 5983481 Bytes = 5.7 MB
Load Address: 32000000
Entry Point: 32000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
ERROR: image overwritten - must RESET the board to recover.
While I given, mkimage with option as below,
../nEW_u-boot/uboot-1.3.2/tools/mkimage -A arm -O linux -T kernel -C gzip
-a 0xc0008000 -e 0xc0008000 -n "Nithin IN Linux" -d vmlinux.bin.gz
uimage.bin
the output was,
Uncompressing Kernel Image ... OK
Starting kernel ...
and then got hanged .
Can anyone please, provide a solution for this. I am hanging on different
types of errors for past few months...
Thanks in advance

