hc
2023-11-22 f743a7adbd6e230d66a6206fa115b59fec2d88eb
mk-rootfs.sh
....@@ -1,6 +1,7 @@
11 #!/bin/bash -e
22 #TARGET_ROOTFS_DIR=/home/data/rootfs/rk356x/ubuntu20-lxde/lxde_ubuntu20_rootfs
3
-TARGET_ROOTFS_DIR=./debian/debian_rootfs
3
+#TARGET_ROOTFS_DIR=/home/data/rootfs/rk356x/debian10/rk3568_likong
4
+TARGET_ROOTFS_DIR=/home/data/rootfs/rk356x/ubuntu18.04/ubuntu18.04_lite_ksl
45 MOUNTPOINT=./temp
56 ROOTFSIMAGE=rootfs.ext4
67 OUT=$PWD/tools/linux/Linux_Pack_Firmware/rockdev/Image/
....@@ -16,7 +17,7 @@
1617
1718 # Create directories
1819 mkdir ${MOUNTPOINT}
19
-dd if=/dev/zero of=${ROOTFSIMAGE} bs=1M count=0 seek=4000
20
+dd if=/dev/zero of=${ROOTFSIMAGE} bs=1M count=0 seek=4300
2021
2122 finish() {
2223 sudo umount ${MOUNTPOINT} || true