en:bpi-r3mini:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:bpi-r3mini:start [2024/03/01 19:40] – [network support] frank | en:bpi-r3mini:start [2024/04/21 19:19] (current) – [network support] frank | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== BananaPi R3 ====== | + | ====== BananaPi R3 Mini ====== |
https:// | https:// | ||
Line 39: | Line 39: | ||
dd if=/ | dd if=/ | ||
+ | booted original openwrt from nand.... | ||
+ | < | ||
+ | root@OpenWrt:/ | ||
+ | 631+1 records in | ||
+ | 631+1 records out | ||
+ | root@OpenWrt:/ | ||
+ | dd: error writing '/ | ||
+ | 1+0 records in | ||
+ | 0+0 records out | ||
+ | root@OpenWrt:/ | ||
+ | root@OpenWrt:/ | ||
+ | 392+1 records in | ||
+ | 392+1 records out | ||
+ | root@OpenWrt:/ | ||
+ | </ | ||
Kernel (creates the bpi-r3.itb with conf-emmc-mini bootconfig): | Kernel (creates the bpi-r3.itb with conf-emmc-mini bootconfig): | ||
Line 57: | Line 72: | ||
dumpimage -l / | dumpimage -l / | ||
+ | |||
+ | |||
+ | ==== thermal ==== | ||
+ | |||
+ | root@bpi-r3-mini: | ||
+ | 48408 | ||
+ | |||
+ | manipulating trip points...this lets the fan run at 45°C silently and faster at 55°C (Case for R3mini gets really hot) | ||
+ | |||
+ | root@bpi-r3-mini: | ||
+ | root@bpi-r3-mini: | ||
+ | ==== my kernel ==== | ||
+ | |||
+ | i merged R3Mini support to my 6.6-main | ||
+ | |||
+ | https:// | ||
==== vendor-kernel ==== | ==== vendor-kernel ==== | ||
Line 114: | Line 145: | ||
</ | </ | ||
- | we will wait till phy driver | + | This is fixed in my 2024-04 |
+ | Writing firmware to emmc boot1: | ||
+ | < | ||
+ | usb start | ||
+ | mmc partconf 0 1 2 2 | ||
+ | mmc erase 0x0 0x120 | ||
+ | load usb 0:1 $loadaddr EthMD32.dm.bin | ||
+ | mmc write $loadaddr 0x0 0x20 | ||
+ | load usb 0:1 $loadaddr EthMD32.DSP.bin | ||
+ | mmc write $loadaddr 0x20 0x100 | ||
+ | mmc partconf 0 1 1 0 | ||
+ | </ | ||
+ | |||
+ | daniel wrote it here: https:// | ||
+ | |||
+ | Linux way: | ||
+ | < | ||
+ | echo 0 > / | ||
+ | dd if=/ | ||
+ | dd if=/ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | checking content of boot1 is same as concatenated firmware-files: | ||
+ | < | ||
+ | # cat / | ||
+ | # cat / | ||
+ | # ls -l airoha_usb.bin | ||
+ | -rw-r--r-- 1 root root 147456 Jan 1 00:03 airoha_usb.bin | ||
+ | # ls -l airoha_boot1.bin | ||
+ | -rw-r--r-- 1 root root 4194304 Jan 1 00:00 airoha_boot1.bin | ||
+ | # truncate --size=147456 airoha_boot1.bin | ||
+ | # ls -l airoha_boot1.bin | ||
+ | -rw-r--r-- 1 root root 147456 Jan 1 00:05 airoha_boot1.bin | ||
+ | # diff -u airoha_boot1.bin airoha_usb.bin | ||
+ | # | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ==== nand install ==== | ||
+ | |||
+ | openwrt (file could be transferred also via usb): | ||
+ | https:// | ||
==== Fix bricked boot ==== | ==== Fix bricked boot ==== | ||
Line 122: | Line 195: | ||
https:// | https:// | ||
- | Currently untested by me | + | files here: |
+ | https:// | ||
+ | |||
+ | < | ||
+ | $ ./ | ||
+ | mtk_uartboot - 0.1.1 | ||
+ | Using serial port: / | ||
+ | Handshake... | ||
+ | hw code: 0x7986 | ||
+ | hw sub code: 0x8a00 | ||
+ | hw ver: 0xca01 | ||
+ | sw ver: 0x1 | ||
+ | Baud rate set to 460800 | ||
+ | sending payload to 0x201000... | ||
+ | Checksum: 0x3663 | ||
+ | Setting baudrate back to 115200 | ||
+ | Jumping to 0x201000 in aarch64... | ||
+ | Waiting for BL2. Message below: | ||
+ | ================================== | ||
+ | NOTICE: | ||
+ | NOTICE: | ||
+ | NOTICE: | ||
+ | NOTICE: | ||
+ | NOTICE: | ||
+ | NOTICE: | ||
+ | NOTICE: | ||
+ | NOTICE: | ||
+ | NOTICE: | ||
+ | ================================== | ||
+ | BL2 UART DL version: 0x10 | ||
+ | Baudrate set to: 921600 | ||
+ | FIP sent. | ||
+ | ================================== | ||
+ | NOTICE: | ||
+ | ================================== | ||
+ | </ | ||
+ | now you can use minicom or similar tool to get uboot-console and reflash bl2/fip to nand/emmc |
en/bpi-r3mini/start.1709318405.txt.gz · Last modified: 2024/03/01 19:40 by frank