Inspect or change a rootfs UBI Image file March 13, 2019 08:57PM |
Registered: 7 years ago Posts: 337 |
Re: Inspect or change a rootfs UBI Image file March 13, 2019 09:13PM |
Admin Registered: 14 years ago Posts: 19,293 |
Quote
(attach the device mtd2 to the ubi device)
ubiattach /dev/ubi_ctrl -m 2 -O 2048
UBI device number 0, total 1992 LEBs (252936192 bytes, 241.2 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
(mount the ubi filesystem - if the mountpoint doesn't already exist create it first with mkdir /mnt/ubifs)
mount -t ubifs /dev/ubi0_0 /mnt/ubifs
Re: Inspect or change a rootfs UBI Image file March 13, 2019 09:22PM |
Registered: 7 years ago Posts: 337 |
Quote
(attach the device mtd2 to the ubi device)
> ubiattach /dev/ubi_ctrl -m 2 -O 2048
root@debian:/mnt# ubiattach /dev/ubi_ctrl -m 2 -O 2048 ubiattach: error!: cannot attach mtd2 error 19 (No such device)
Re: Inspect or change a rootfs UBI Image file March 13, 2019 09:48PM |
Admin Registered: 14 years ago Posts: 19,293 |
ubiattach /dev/ubi_ctrl -m 2 -O 2048 ubiattach: error!: cannot attach mtd2 > error 19 (No such device)