Compile U-Boot For Sd Card - SMART Embedded Computing COMX-P2020 BSP User Manual

Hide thumbs Also See for COMX-P2020 BSP:
Table of Contents

Advertisement

./boot_format config_sram.dat ./current/u-boot.bin -spi
/local/tftpboot/COMX- p2020/current/u-boot-spi.bin
Write user code to offset 0x400, len = 0x80000, Total reserved space
= 0x80000
Congratulations! It is done successfully.
make[1]: Leaving directory `/home/percy/p2020/u-boot'
[percy@localhost p2020]$
2. If the build is successful, the U-boot image for SPI Flash: u-boot-spi.bin can be found
at the output directory.
[percy@localhost p2020]$ ls -al /local/tftpboot/COMX-
P2020/current/u-boot-spi.bin
-rw-r--r-- 1 percy percy 525312 Dec 13 11:19 /local/tftpboot/COMX-
P2020/current/u-boot-spi.bin
[percy@localhost p2020]$
4.1.5

Compile U-boot for SD Card

1. Run the command: "make uboot-sd" at the P2020 BSP directory:
[percy@localhost p2020]$ make uboot-sd
make -C u-boot -f Makefile uboot-sd
make[1]: Entering directory `/home/percy/p2020/u-boot'
if [ "SPI" != "SD" ] ; then \
\
make[2]: Entering directory `/home/percy/p2020/
...
powerpc-none-linux-gnuspe-objcopy -O srec u-boot u-boot.srec
powerpc-none-linux-gnuspe-objcopy --gap-fill=0xff -O binary u-boot
u-boot.bin
make[2]: Leaving directory `/home/percy/p2020/u-boot/u-boot-
2009.11'
cp ./current/u-boot.bin /local/tftpboot/COMX-P2020/current/u-
boot-sd.bin
make[1]: Leaving directory `/home/percy/p2020/u-boot'
[percy@localhost p2020]$
COMX-P2020 BSP User Guide (6806800L84C)
make config-clean; \
make -C current -f Makefile blackadder_SDCARD_config;
echo "SD" > uboot.conf ; \
fi
BSP Build Environment
25

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COMX-P2020 BSP and is the answer not in the manual?

Table of Contents