I gave the following set of commands for
Flashing by TFTP on U-Boot (AS PER Users_Guide_IPNC_DM36x)
sudo su
minicom
setenv serverip '192.168.120.173'
setenv ipaddr '192.168.120.168'
setenv ethaddr '00:0C:13:A5:DE:D1'
setenv gatewayip '192.168.120.1'
setenv netmask '255.255.255.0'
setenv dnsip '10.1.11.50'
setenv dnsip2 '10.1.11.57'
setenv bootcmd 'nboot 0x80700000 0 0x200000;bootm 0x80700000'
setenv bootargs 'mem=48M console=ttyS0,115200n8 root=/dev/mtdblock3 rootfstype=squashfs ip=off eth=00:0C:13:A5:DE:D1 lpj=741376 cmemk.phys_start="0x83000000" cmemk.phys_end="0x88000000" cmemk.phys_start_1="0x00001000" cmemk.phys_end_1="0x00008000" cmemk.pools_1="1x28672" cmemk.allowOverlap="1"'
saveenv
tftpboot 0x80700000 uImage_ipnc_dm365_3.0.0
tftpboot 0x82000000 ipnc_dm365_3.0.0.squashfs
nand erase 0x200000 0x400000
nand write 0x80700000 0x200000 0x400000
nand erase 0x600000 0x1000000
nand write 0x82000000 0x600000 0x1000000
Reset
Press Enter and login as root. Kernel prompt will be available.
-------- ---------- --------- -------- ---------- ------------- ------------- -----
With these set of commands I have faced following errors:
saurabh@saurabh-desktop:~$ sudo su
[sudo] password for saurabh:
root@saurabh-desktop:/home/saurabh# minicom
Welcome to minicom 2.4
OPTIONS: I18n
Compiled on Jan 25 2010, 06:49:09.
Port /dev/ttyS0
Press CTRL-A Z for help on special keys
DM36x initialization passed!
TI UBL Base Version: 1.50
Boot Loader BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000008.
Boot Mode Task Completed
IPNC UBL Version: 2.0.0
Platform: DM365
Reset RTC Fail..
Jumping to entry point at 0x81080000
U-Boot 1.3.4 (Feb 28 2012 - 15:01:39) DM365-IPNC-2.0.0
I2C: ready
DRAM: 128 MB
NAND: NAND device: Manufacturer ID: 0xec, Chip ID: 0x75 (Samsung NAND 32MiB 3,)
Bad block table found at page 65504, version 0x00
Bad block table found at page 65472, version 0x00
32 MiB
In: serial
Out: serial
Err: serial
ARM Clock :- 297MHz
DDR Clock :- 270MHz
Ethernet PHY: GENERIC @ 0x01
Hit any key to stop autoboot: 0
Loading from NAND 32MiB 3,3V 8-bit, offset 0x200000
Image Name: Linux-2.6.18_pro500-davinci_IPNC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2658244 Bytes = 2.5 MB
Load Address: 80008000
Entry Point: 80008000
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Linux-2.6.18_pro500-davinci_IPNC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2658244 Bytes = 2.5 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
DM365 IPNC :>
--------------------- ----------------- --------------- ------------------ ------------------- ------------------- ------------------ ------------------ ------------------
KINDLY REPLY ASAP. WHERE TO LOOK FOR ERROR. DO BOOTCMD, BOOTARGS NEED TO BE MODIFIED