BSP Build Environment
2. If the build is successful, the U-boot image for SD Card: u-boot-sd.bin can be found at
the output directory.
[percy@localhost p2020]$ ls -al /local/tftpboot/COMX-
P2020/current/u-boot-sd.bin
-rwxr-xr-x 1 percy percy 524288 Dec 13 11:20 /local/tftpboot/COMX-
P2020/current/u-boot-sd.bin
[percy@localhost p2020]$
4.2
Build Linux Kernel and Device Tree
4.2.1
Configure the Linux kernel with default setting
The COMX-P2020 provides the default configuration file for the linux kernel. To use the
default configuration, run the command: "make config-default" at the P2020 BSP directory:
[percy@localhost p2020]$ make config-default
make -C linux/kernel -f Makefile config-default
make[1]: Entering directory `/home/percy/p2020/linux/kernel'
make -C current -f blackadder.mk config-default
make[2]: Entering directory `/home/percy/p2020/linux/kernel/linux-
2.6.32'
rm -f /local/tftpboot/COMX-P2020/current/uImage
rm -f include/asm
make -f Makefile mrproper
make[3]: Entering directory `/home/percy/p2020/linux/kernel/linux-
2.6.32'
make[3]: Leaving directory `/home/percy/p2020/linux/kernel/linux-
2.6.32'
rm -f /local/tftpboot/COMX-P2020/current/comx.dtb
make -f Makefile 85xx/blackadder_defconfig
make[3]: Entering directory `/home/percy/p2020/linux/kernel/linux-
2.6.32'
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/zconf.tab.c
26
COMX-P2020 BSP User Guide (6806800L84C)
BSP Build Environment
Need help?
Do you have a question about the COMX-P2020 BSP and is the answer not in the manual?