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/04/07 19:24] – [thermal] frank | en:bpi-r3mini:start [2024/04/21 19:19] (current) – [network support] frank | ||
---|---|---|---|
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 132: | Line 147: | ||
This is fixed in my 2024-04 uboot by always run autonegotiation code (genphy code seems not working here). | This is fixed in my 2024-04 uboot by always run autonegotiation code (genphy code seems not working here). | ||
+ | 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 ==== | ||
en/bpi-r3mini/start.1712510669.txt.gz · Last modified: 2024/04/07 19:24 by frank