User Tools

Site Tools



en:bpi-r64:uboot

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
en:bpi-r64:uboot [2023/06/08 17:06] – external edit 127.0.0.1en:bpi-r64:uboot [2024/02/03 13:05] (current) – [tftp] frank
Line 152: Line 152:
 </code> </code>
  
 +===== eMMC =====
 +
 +from linux flash emmc-image to emmc user partition
 +
 +   gunzip -c /mnt/bpi-r64_emmc.img.gz | dd bs=1M status=progress conv=notrunc,fsync of=/dev/mmcblk0
 +
 +from sdmmc u-boot flash bl2 and set partconf right
 +
 +<code>
 +BPI-R64> mmc partconf 0 1 1 1
 +BPI-R64> fatload usb 0:1 $loadaddr r64/bpi-r64_emmc_bl2.img
 +ERROR: reserving fdt memory region failed (addr=0 size=43000000 flags=4)
 +65597 bytes read in 16 ms (3.9 MiB/s)
 +BPI-R64> printenv loadaddr 
 +loadaddr=0x44000000
 +BPI-R64> mmc write ${loadaddr} 0x0 0x400                   
 +
 +MMC write: dev # 0, block # 0, count 1024 ... 1024 blocks written: OK
 +BPI-R64> mmc partconf 0 1 1 0
 +</code>
 +
 +https://forum.banana-pi.org/t/debian-ubuntu-image-creation/15826/75
 ===== tftp ===== ===== tftp =====
 <code> <code>
en/bpi-r64/uboot.txt · Last modified: 2024/02/03 13:05 by frank