Hello all,
i am trying to build DM355SDK789311 using sudo make installbootloader
VERBOSE=1 but i am getting handshaking error as given below.In minicom
on the board when i am giving the command printenv i am getting the
following output:
DM355 LEOPARD# printenv
bootdelay=3
baudrate=115200
bootfile="uImage"
addip=setenv bootargs ip=dhcp mem=80M console=ttyS0,115200n8 root=/dev/ram0 rw =
bootargs=console=ttyS0,115200n8 root=/dev/ram0 rw initrd=0x82000000,11M mem=60Mn
filesize=2bf60
fileaddr=82000000
ipaddr=10.17.8.131
serverip=10.17.8.125
autostart=no
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 1.2.0 (Mar 9 2009 - 22:21:30)LEOPARD-1.0.0
Environment size: 496/16380 bytes
Please not that in above in bold the ipaddr and server ip both start with 10.
Now when i give the command sudo make installbootloader VERBOSE=1 on DM355SDK789311 i am getting the following output:
- Hide quoted text -
mayank@mayank-laptop:~/DM355SDK789311$ sudo make installbootloader VERBOSE=1
Ridgerun Linux SDK
Board configuration: Leopard Board
echo -e "\040" Installation system of uboot images over TFTP for host 10.17.8.125
Installation system of uboot images over TFTP for host 10.17.8.125
echo -e "\040" Please be sure u-boot is running on port "/dev/ttyUSB0" and none process \(like minicom\) is using it
Please be sure u-boot is running on port /dev/ttyUSB0 and none process (like minicom) is using it
if [ -n "`lsof -t "/dev/ttyUSB0"`" ] ; then \
echo -e "\040" "\033[31mError: u-boot "/dev/ttyUSB0" port in use\033[0m\n"; \
lsof "/dev/ttyUSB0"; \
exit -1; \
else \
echo -e "\040" "u-boot port "/dev/ttyUSB0"\n"; \
fi
u-boot port /dev/ttyUSB0
cd /home/mayank/DM355SDK789311/installer/u-boot-installer/ ; perl installer bootloader
Performing handshake with u-boot...done.
Uboot prompt: [DM355 LEOPARD# ]
Trying to identify NAND block size... Sending [nand info]
nand size before regular expression: [NAND 256MiB 3,3V 8-bit, sector size 128 KiB
DM355 LEOPARD# ]nand size after match for old uboot nand info: [NAND 256MiB 3,3V 8-bit, sector size 128 KiB
DM355 LEOPARD# ]no match, trying new output formatnand size after match for new uboot nand info: [128]detected 0x20000
Loading upgrade bootloader version...
Disabling boot command...
Uboot <= setenv bootcmd
Sending [setenv bootcmd]
Disabling autostart option...
Uboot <= setenv autostart no
Sending [setenv autostart no]
Uboot <= saveenv
Sending [saveenv]
Loading bootloader...
Configuring the network...
Uboot <= setenv ipaddr 192.168.1.50
Sending [setenv ipaddr 192.168.1.50]
Uboot <= setenv serverip 10.17.8.125
Sending [setenv serverip 10.17.8.125]
Uboot <= mw.l 0x82000000 0xff 0x100000
Sending [mw.l 0x82000000 0xff 0x100000]
Uboot <= tftp 0x82000000 upgrade_bootloader.bin.root.leopard
Sending [tftp 0x82000000 upgrade_bootloader.bin.root.leopard]
-------------> Error: didn't match [DM355 LEOPARD# ] Running upgrade bootloader...
Sending [go 0x82000000]
Uboot => go 0x82000000
Performing handshake with u-boot...
ERROR: failed to perform handshake with u-boot.
Be sure u-boot is active on port /dev/ttyUSB0 and you have terminal programs like minicom closed.
Exit: -1
mayank@mayank-laptop:~/DM355SDK789311$
As displayed in bold above the ipaddr is 192.168.1.50 which is different from the ipaddr in DM355SDK783911.Could this be the issue why the handshaking error is coming.
If anyone could help me on this.
Thanking all of you for help.
Thanks and Regards,
Mayank