Hi,
I follow the instructions from this link (https://www.ridgerun.com/developer/wiki/index.php/DM365_Leopard_SDK_2011Q2_Getting_Started_Guide). When I type the "make installbootloader" I get the error below.
lchi@ubuntu:~/LeopardBoardDM365sdkEVAL2011Q2$ make installbootloader VERBOSE=1
if [ -f "/home/lchi/LeopardBoardDM365sdkEVAL2011Q2/bsp/mach/ubootinstaller_notsupported" ] ; then\
echo -e "\040" "\nThe installbootloader target is not supported on "Leopard Board DM365"\n";\
exit -1; \
fi
Ridgerun Linux SDK
Board configuration: Leopard Board DM365
Multi-core machine, using 1 out of 2 cores for building
if ! [[ 172.20.45.64 =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]] ; then \
echo -e "\040" "\033[31mERROR:\033[39m The detected IP address (172.20.45.64) for interface "eth0" isn't a valid IP address, please be sure this is the intended interface that is connected to the board...\n" ; \
exit -1 ; \
echo -e "\040" Installation system of uboot images over TFTP for host 172.20.45.64
Installation system of uboot images over TFTP for host 172.20.45.64
echo -e "\040" Please be sure u-boot is running on port "/dev/ttyS0" and none process \(like minicom\) is using it
Please be sure u-boot is running on port /dev/ttyS0 and none process (like minicom) is using it
if [ -n "`lsof -t "/dev/ttyS0"`" ] ; then \
echo -e "\040" "\033[31mError: u-boot "/dev/ttyS0" port in use\033[0m\n"; \
lsof "/dev/ttyS0"; \
else \
echo -e "\040" "u-boot port "/dev/ttyS0"\n"; \
u-boot port /dev/ttyS0
cd /home/lchi/LeopardBoardDM365sdkEVAL2011Q2/installer/u-boot-installer/ ; perl installer bootloader
Performing handshake with u-boot...Sending [ ]
Sending [echo resync]
Uboot prompt: [DM365 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
DM365 LEOPARD # ]nand size after match for old uboot nand info: [NAND 256MiB 3,3V 8-bit, sector size 128 KiB
DM365 LEOPARD # ]no match, trying new output formatnand size after match for new uboot nand info: [128]detected 0x20000
Trying to identify NAND Page size... Sending [nand dump.oob 0200]
Sending [nand dump.oob 0400]
Sending [nand dump.oob 0800]
detected 2048
Sending [icache]
Error: Your uboot doesn't have icache command, refusing to load upgrade bootloader due risk of hanging.
You can update your bootloader by other means like SD card or use FORCEINSTALL=yes
make: *** [installbootloader] Error 255
To flash the LeopardBoard NAND you need an uboot with the icache command (make installbootloader FORCEINSTALL=yes) can be used, but it's not recommended, follow this steps at the getting started guide:
https://www.ridgerun.com/developer/wiki/index.php/RidgeRun_SDK_Technical_FAQ#No_icache_command_at_uboot
Look for "No icache command at uboot"
Regards.
Carlos AgueroEmbedded Software EngineerRidgeRun
Thanks for your help. I will try your solution.
Regards,
Irwin Liew