Boot from ram or emmc and install openwrt to nand like daniel suggests here in step5
Hi Frank thanks for the help I managed to fix the issue with the help of @stich86. Thank you so much @stich86 for the help. I really appreciate the time you’ve spent to help me!
Which UART adapter do you use? I had the same problem with the ch340g, replaced it with the pl2303 and everything is fine
Good afternoon. For some reason my EMMC\NAND switch doesn’t work! Loading is always from NAND. In the end I made a mistake and got a brick. I’ve already tried everything possible. Tell me which images to install and with what offset? I would like this firmware https://firmware-selector.openwrt.org/?version=SNAPSHOT&target=mediatek%2Ffilogic&id=bananapi_bpi-r3-mini
BPI-R3M> mtd list
spi-nand: spi_nand spi_nand@0: Winbond SPI NAND was found.
spi-nand: spi_nand spi_nand@0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
Could not find a valid device for nmbm0
List of MTD devices:
* spi-nand0
- device: spi_nand@0
- parent: spi@1100a000
- driver: spi_nand
- path: /spi@1100a000/spi_nand@0
- type: NAND flash
- block size: 0x20000 bytes
- min I/O: 0x800 bytes
- OOB size: 64 bytes
- OOB available: 24 bytes
- 0x000000000000-0x000008000000 : "spi-nand0"
- 0x000000000000-0x000000080000 : "bl2"
- 0x000000100000-0x000000180000 : "orig-env"
- 0x000000080000-0x000000380000 : "factory"
- 0x000000380000-0x000000580000 : "fip"
- 0x000000580000-0x000008000000 : "ubi"
I boot via mtk_uartboot.
Which UART adapter do you use?
I bought the bpi-r3-mini bundle on Amazon, it shipped with this:
It is indeed CH340G (Written on chip)
replaced it with the pl2303 and everything is fine
Thank you for this. Will order one
Sadly, I’m also new to this, so I’m not comfortable commenting on your problem. You can try to contact/message @stich86. He’s been very helpful to me in the past. Also, try to follow the steps found here: [BPI-R3 Mini] Boot from NAND fails - #48 by stich86 first.
I would like this firmware OpenWrt Firmware Selector
Yes, I was able to use this firmware with the help of @stich86
Just a side note:
I always prefer a FT232(RL), but this is I also use it for rockchip devices. The FT232 can be set exactly to 1500000 baud, which you need for rockchip. The PL2303 will choose something near it, but not exactly 1500000. It also works great on the BPI-R3(mini)
Hi,
I have the same problem and i know nothing about that kind of stuff.
I don’t know how to use mtk_uartboot
or TFTP.
Can you please help ?
Here is a step by step guide
And a bit below is a howto install openwrt
you have to run this from (linux) client, not inside uboot…you have uboot running, but without usb support is tricky…afair stock uboot does also not support network…aren’t you able to boot linux from this uboot?
maybe you can list mmc partitions? but if you have an openwrt there you have no boot-partition like on debian to load kernel from in an easy way.
You must not open putty on same com port…it blocks the serial port like minicom in linux…only 1 application can access the serial device. And when the app is running it waits for device to start…then it sends the 2 files and closes…then you can start your putty on same com-port and you should be in uboot with usb support
I have not tried on windows yet.
Yes it waits for the device…now you have to power on the board and should see additional output
the app says the payload is not found…i see you started the application with full path (so not changing the current work dir)…where have you the files? ideally they should be in same dir as the mtk_uartboot binary, then change to this dir and then run with ./mtk_uartboot
Commit in openwrt says emmc first,then nand
Do I have to follow those steps because I have the usb
fonction now ?