From 4b764c95bc4b90b86cb6300c71ccb83455fbae28 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Tue, 15 Aug 2023 15:24:06 -0500 Subject: [PATCH] rootfs: resize works, need to reboot: /dev/root 15G 1.6G 13G 12% / Signed-off-by: Robert Nelson --- 06_generate_debian_console_root.sh | 10 +++++----- patches/linux/mainline/dts/mpfs-beaglev-fire.dts | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/06_generate_debian_console_root.sh b/06_generate_debian_console_root.sh index cfb08d1..9bcd9dd 100755 --- a/06_generate_debian_console_root.sh +++ b/06_generate_debian_console_root.sh @@ -60,10 +60,10 @@ rm -rf ./ignore/.root/etc/systemd/network/usb1.network || true rm -rf ./ignore/.root/etc/systemd/system/multi-user.target.wants/wpa_supplicant@wlan0.service || true -rm -rf ./ignore/.root/usr/lib/systemd/system/grow_partition.service || true -cd ./ignore/.root/ -ln -L -f -s -v /lib/systemd/system/resize_filesystem.service --target-directory=./etc/systemd/system/multi-user.target.wants/ -cd ../../ +#rm -rf ./ignore/.root/usr/lib/systemd/system/grow_partition.service || true +#cd ./ignore/.root/ +#ln -L -f -s -v /lib/systemd/system/resize_filesystem.service --target-directory=./etc/systemd/system/multi-user.target.wants/ +#cd ../../ cp -v ./ignore/.root/etc/bbb.io/templates/eth0-DHCP.network ./ignore/.root/etc/systemd/network/eth0.network || true @@ -82,7 +82,7 @@ echo 'File Size' du -sh ignore/.root/ || true echo '---------------------' -dd if=/dev/zero of=./deploy/input/root.ext4 bs=1 count=0 seek=4000M +dd if=/dev/zero of=./deploy/input/root.ext4 bs=1 count=0 seek=2048M mkfs.ext4 -F ./deploy/input/root.ext4 -d ./ignore/.root if [ -f ./.06_generate_root.sh ] ; then diff --git a/patches/linux/mainline/dts/mpfs-beaglev-fire.dts b/patches/linux/mainline/dts/mpfs-beaglev-fire.dts index 6763b25..c811d50 100644 --- a/patches/linux/mainline/dts/mpfs-beaglev-fire.dts +++ b/patches/linux/mainline/dts/mpfs-beaglev-fire.dts @@ -317,7 +317,7 @@ }; &usb { - dma-noncoherent; + //dma-noncoherent; status = "okay"; dr_mode = "otg"; };