Hello, an update from within OpenWrt made from SPI-NOR booting impossible. I’ve tried to flash SPI-NOR several times but apparantly I cannot get hold of a good file.
From OpenWRT I saved the mtd[0-4] files, can can boot from SD using an ImmortalWrt image.
I’m looking for the factory SPI-NOR image for BPI-R3 so I can
mtd erase /dev/mtd0 dd if=mtk-bpi-r3-NOR-WAN1-SFP1-20220619-single-image.bin of=/dev/mtdblock0
Can anyone provide me with this file? Building gives an error, looking into that now.
current mtd contents: root@ImmortalWrt:~# cat /proc/mtd dev: size erasesize name
- mtd0: 01400000 00010000 “fit”
- mtd1: 00a80000 00010000 “recovery”
- mtd2: 00080000 00010000 “fip”
- mtd3: 00080000 00010000 “reserved2”
- mtd4: 00040000 00010000 “u-boot-env”
- mtd5: 00040000 00010000 “bl2”
while the backup provided me with:
jstoorvo@HiGole2:~/Downloads/bananapi> cat backup/spi_nor/readme.txt
- 262144 28 OpenWrt.mtd0.bin → BL2
- 65536 28 aug 22:19 OpenWrt.mtd1.bin → u-boot-env
- 720896 28 aug 22:19 OpenWrt.mtd2.bin → Factory
- 524288 28 aug 22:20 OpenWrt.mtd3.bin → FIP
- 14680064 28 aug 22:21 OpenWrt.mtd4.bin → firmware
I’m looking for the file mtk-bpi-r3-NOR-WAN1-SFP1-20220619-single-image.bin as referenced in Getting Started BPI-R3 | BananaPi Docs