Compile Device Tree Bolb - SMART Embedded Computing COMX-P2020 BSP User Manual

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

Advertisement

BSP Build Environment
cp -f arch/powerpc/boot/uImage /local/tftpboot/COMX-
P2020/current/uImage
make[2]: Leaving directory `/home/percy/p2020/linux/kernel/linux-
2.6.32'
make[1]: Leaving directory `/home/percy/p2020/linux/kernel'
[percy@localhost p2020]$
2. If the build is successful, the Linux kernel: uImage can be found at the output directory.
[percy@localhost p2020]$ ls -al /local/tftpboot/COMX-
P2020/current/uImage
-rw-rw-r-- 1 percy percy 3416128 Dec 13 11:33 /local/tftpboot/COMX-
P2020/current/uImage
4.2.4

Compile Device Tree Bolb

1. To compile the device tree bolb, run the command: "make dtb" at the P2020 BSP
directory:
[percy@localhost p2020]$ make dtb
make -C linux/kernel -f Makefile dtb
make[1]: Entering directory `/home/percy/p2020/linux/kernel'
make -C current -f blackadder.mk dtb-clean
make[2]: Entering directory `/home/percy/p2020/linux/kernel/linux-
2.6.32'
rm -f /local/tftpboot/COMX-P2020/current/comx.dtb
make[2]: Leaving directory `/home/percy/p2020/linux/kernel/linux-
2.6.32'
make -C current -f blackadder.mk dtb
make[2]: Entering directory `/home/percy/p2020/linux/kernel/linux-
2.6.32'
rm -f /local/tftpboot/COMX-P2020/current/comx.dtb
dtc -f -b 0 -I dts -O dtb -p 1024 -o /local/tftpboot/COMX-
P2020/current/comx.dtb arch/powerpc/boot/dts/blackadder.dts
DTC: dts->dtb
make[2]: Leaving directory `/home/percy/p2020/linux/kernel/linux-
2.6.32'
make[1]: Leaving directory `/home/percy/p2020/linux/kernel'
[percy@localhost p2020]$
30
on file "arch/powerpc/boot/dts/blackadder.dts"
COMX-P2020 BSP User Guide (6806800L84C)
BSP Build Environment

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?

Subscribe to Our Youtube Channel

Table of Contents