|
|
@ -39,7 +39,7 @@ sync
|
|
|
|
mkdir -p ./deploy/input/ || true
|
|
|
|
mkdir -p ./deploy/input/ || true
|
|
|
|
echo "label Linux eMMC" > ./deploy/input/extlinux.conf
|
|
|
|
echo "label Linux eMMC" > ./deploy/input/extlinux.conf
|
|
|
|
echo " kernel /Image" >> ./deploy/input/extlinux.conf
|
|
|
|
echo " kernel /Image" >> ./deploy/input/extlinux.conf
|
|
|
|
echo " append root=/dev/mmcblk1p3 ro rootfstype=ext4 rootwait console=ttyS0,115200 earlycon uio_pdrv_genirq.of_id=generic-uio net.ifnames=0" >> ./deploy/input/extlinux.conf
|
|
|
|
echo " append root=/dev/mmcblk0p3 ro rootfstype=ext4 rootwait console=ttyS0,115200 earlycon uio_pdrv_genirq.of_id=generic-uio net.ifnames=0" >> ./deploy/input/extlinux.conf
|
|
|
|
echo " fdtdir /" >> ./deploy/input/extlinux.conf
|
|
|
|
echo " fdtdir /" >> ./deploy/input/extlinux.conf
|
|
|
|
echo " fdt /mpfs-beaglev-fire.dtb" >> ./deploy/input/extlinux.conf
|
|
|
|
echo " fdt /mpfs-beaglev-fire.dtb" >> ./deploy/input/extlinux.conf
|
|
|
|
echo " #fdtoverlays /overlays/<file>.dtbo" >> ./deploy/input/extlinux.conf
|
|
|
|
echo " #fdtoverlays /overlays/<file>.dtbo" >> ./deploy/input/extlinux.conf
|
|
|
@ -49,8 +49,8 @@ cat ./deploy/input/extlinux.conf
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p ./ignore/.root/boot/firmware/ || true
|
|
|
|
mkdir -p ./ignore/.root/boot/firmware/ || true
|
|
|
|
|
|
|
|
|
|
|
|
echo '/dev/mmcblk1p2 /boot/firmware/ auto defaults 0 2' >> ./ignore/.root/etc/fstab
|
|
|
|
echo '/dev/mmcblk0p2 /boot/firmware/ auto defaults 0 2' >> ./ignore/.root/etc/fstab
|
|
|
|
echo '/dev/mmcblk1p3 / auto errors=remount-ro 0 1' >> ./ignore/.root/etc/fstab
|
|
|
|
echo '/dev/mmcblk0p3 / auto errors=remount-ro 0 1' >> ./ignore/.root/etc/fstab
|
|
|
|
echo 'debugfs /sys/kernel/debug debugfs mode=755,uid=root,gid=gpio,defaults 0 0' >> ./ignore/.root/etc/fstab
|
|
|
|
echo 'debugfs /sys/kernel/debug debugfs mode=755,uid=root,gid=gpio,defaults 0 0' >> ./ignore/.root/etc/fstab
|
|
|
|
|
|
|
|
|
|
|
|
rm -rf ./ignore/.root/usr/lib/systemd/system/bb-usb-gadgets.service || true
|
|
|
|
rm -rf ./ignore/.root/usr/lib/systemd/system/bb-usb-gadgets.service || true
|
|
|
|