User Tools

Site Tools



en:bpi-r3mini:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
en:bpi-r3mini:start [2024/04/21 17:34] – [network support] franken:bpi-r3mini:start [2024/04/21 19:16] – [network support] frank
Line 147: 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 (untested):+Writing firmware to emmc boot1:
 <code> <code>
 +usb start
 mmc partconf 0 1 2 2 mmc partconf 0 1 2 2
 mmc erase 0x0 0x120 mmc erase 0x0 0x120
Line 157: Line 158:
 mmc partconf 0 1 1 0 mmc partconf 0 1 1 0
 </code> </code>
 +
 +daniel wrote it here: https://forum.banana-pi.org/t/bpi-r3-mini-boot-from-nand-fails/17340/27
  
 Linux way: Linux way:
Line 164: Line 167:
 dd if=/lib/firmware/airoha/EthMD32.DSP.bin bs=16384 seek=1 of=/dev/mmcblk0boot1 dd if=/lib/firmware/airoha/EthMD32.DSP.bin bs=16384 seek=1 of=/dev/mmcblk0boot1
 </code> </code>
 +
 +<hidden>
 +checking content of boot1 is same as concatenated firmware-files:
 +<code>
 +# cat /dev/mmcblk0boot1 > airoha_boot1.bin
 +# cat /mnt/r3mini/EthMD32.dm.bin /mnt/r3mini/EthMD32.DSP.bin > airoha_usb.bin
 +# 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
 +
 +</code>
 +</hidden>
 ==== Fix bricked boot ==== ==== Fix bricked boot ====
  
en/bpi-r3mini/start.txt · Last modified: 2024/04/21 19:19 by frank