/
i.MX 8X SPI
i.MX 8X SPI
$ cat /proc/mtd
dev: size erasesize name
mtd0: 00400000 00010000 "boot"
mtd1: 003e0000 00010000 "failsafe"
mtd2: 00020000 00010000 "reserved"
$ flash_eraseall -j /dev/mtd1
...
Erasing 64 Kibyte @ 3d0000 -- 100 % complete
$ mount -t jffs2 /dev/mtdblock1 /mnt
$ cp /bin/busybox /mnt/
$ reboot -f
reboot: Restarting system
$ mount -t jffs2 /dev/mtdblock1 /mnt
$ ls -lt /mnt
-rwxr-xr-x 1 root root 541592 Oct 23 09:14 busybox
$ /mnt/busybox echo "Hello with busybox from SPI Flash"
Hello with busybox from SPI Flash
, multiple selections available,
Related content
i.MX 8M Mini SPI
i.MX 8M Mini SPI
More like this
i.MX 8X GPIOs
i.MX 8X GPIOs
More like this
i.MX 8X SDIO
i.MX 8X SDIO
More like this
i.MX 8X Software Distribution
i.MX 8X Software Distribution
Read with this
i.MX 8X Bootloader
i.MX 8X Bootloader
Read with this
i.MX 8X Can no FD
i.MX 8X Can no FD
Read with this