@@ -8,7 +8,7 @@ They are used in SolidRun quickly build images for development where those image
The sources are pulled from NXP's codeaurora repository and patched after being clone using the patches in the patches/ directory
## Build with Docker
A docker image providing a consistent build environment can be used:
A docker image providing a consistent build environment can be used as below. Since some steps require mounting a loopback device, you need to grant permission for the container to do so when launching:
1. build container image (first time only)
```
...
...
@@ -16,7 +16,7 @@ A docker image providing a consistent build environment can be used:
For SD card bootable images, plug in a micro SD into your machine and run the following, where sdX is the location of the SD card got probed into your machine -
@@ -204,14 +205,14 @@ CC=${CROSS_COMPILE}gcc DESTDIR=./install prefix=/usr make install
echo"Building RCW"
cd$ROOTDIR/build/rcw/lx2160acex7
make clean
make -j32
make -j${PARALLEL}
if["x$BOOT_LOADER"=="xu-boot"];then
echo"Build u-boot"
cd$ROOTDIR/build/u-boot
#make distclean
make lx2160acex7_tfa_defconfig
make -j32
make -j${PARALLEL}
export BL33=$ROOTDIR/build/u-boot/u-boot.bin
fi
...
...
@@ -252,7 +253,7 @@ if [ "x${BOOT}" == "xsd" ]; then
else
ATF_BOOT=flexspi_nor
fi
make -j32PLAT=lx2160acex7 all fip pbl RCW=$ROOTDIR/build/rcw/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_${SPEED}_${SERDES}_${BOOT}.bin TRUSTED_BOARD_BOOT=0 GENERATE_COT=0 BOOT_MODE=${ATF_BOOT}SECURE_BOOT=false
make -j${PARALLEL}PLAT=lx2160acex7 all fip pbl RCW=$ROOTDIR/build/rcw/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_${SPEED}_${SERDES}_${BOOT}.bin TRUSTED_BOARD_BOOT=0 GENERATE_COT=0 BOOT_MODE=${ATF_BOOT}SECURE_BOOT=false