update rootfs and configuration.

This commit is contained in:
jbnadal
2017-06-06 17:32:00 +02:00
parent 97003eeba6
commit 51bbe6f0ab
3 changed files with 12 additions and 13 deletions

View File

@@ -17,6 +17,13 @@ echo "BR_PROJECT: " ${BR_PROJECT}
cp -a ${BR_PROJECT}/configs/config.txt ${BR_STAGING}/buildroot/images/
if [ ! -f ${AW_STAGING}/buildroot/images/data.ext2 ];
then
echo "generate data image (10M)."
dd if=/dev/zero of=${BR_STAGING}/buildroot/images/data.ext2 bs=1k count=10000
${BR_STAGING}/cross/usr/sbin/mkfs.ext2 -i 1024 -b 1024 -F ${BR_STAGING}/buildroot/images/data.ext2
fi
cp -a ${BR_STAGING}/buildroot/images/uboot-env.bin ${BR_STAGING}/buildroot/images/uboot.env
make -C ${BR_PROJECT} dtb