rv1126_rv1109: update prebuilt-packages

Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: Ia6def05f205fe3b936aaea89b8b5cd935315d292
This commit is contained in:
Weiwen Chen
2021-10-01 09:28:14 +08:00
parent 0aa5140aa3
commit 7ee3bdee6a
2 changed files with 9 additions and 2 deletions

View File

@ -15,8 +15,10 @@ make busybox_defconfig
# compile, Notice: the cross compile tool is in the prebuilts directory of SDK # compile, Notice: the cross compile tool is in the prebuilts directory of SDK
make ARCH=arm install CROSS_COMPILE=~/RV1109-SDK/prebuilts/gcc/linux-x86/arm/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -j32 make ARCH=arm install CROSS_COMPILE=~/RV1109-SDK/prebuilts/gcc/linux-x86/arm/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -j32
# unpackage base root filesystem which is pre-built bin, e.g. target-emmc-v1.0.0.tar.bz2 cd ..
tar xjf target-emmc-v1.0.0.tar.bz2
# unpackage base root filesystem which is pre-built bin, e.g. target-emmc-v1.1.0.tar.bz2
tar xjf target-emmc-v1.1.0.tar.bz2
# copy busybox target bin and libs to target directory (option) # copy busybox target bin and libs to target directory (option)
cp busybox-1.27.2/_install/* target/ -rfa cp busybox-1.27.2/_install/* target/ -rfa
@ -24,6 +26,11 @@ cp busybox-1.27.2/_install/* target/ -rfa
# package root filesystem with squashfs # package root filesystem with squashfs
mksquashfs target rootfs.squashfs -noappend -comp xz mksquashfs target rootfs.squashfs -noappend -comp xz
# for spi nor
# package root filesystem with squashfs
# --pad : partition size
mkfs.jffs2 -r target -o rootfs.jffs2 --pad=0x400000 -n
# package root filesystem with ext4, e.g. # package root filesystem with ext4, e.g.
tar xjf tools.tar.bz2 tar xjf tools.tar.bz2
./tools/mkfs-ext4/do-mkfs.ext4.sh target rootfs.ext4 64M ./tools/mkfs-ext4/do-mkfs.ext4.sh target rootfs.ext4 64M