Skip to content

0mniteck/U-Boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

U-Boot RockChip rk3399

U-Boot Prebuilt Release v2023.07.02 W/ ATF lts-v2.10.2 & OP-TEE v4.1.0

Prebuilt spi_combined.img & u-boot-rockchip.bin are included together for convenience

RockPro64 SPI U-Boot Assembler

Requirements:

  • Debian based OS already running on an ARM64 CPU

  • Any microSD in the /dev/mmcblk1 slot

Post-Build

Initial-Flash From Bypassed and Erased SPI (Recommended)

or Update-Flash From Existing U-Boot

Erase current SPI, then boot into U-Boot Via SD/eMMC with Combined SD

Stop Autoboot by hitting any key

Insert SD Card

Bypass SPI

reset

Wait untill you see the environment fail to load from SPI

Reconnect SPI

Stop Autoboot by hitting any key

sf probe

sf erase 0x0 0x1000000

reset

Stop Autoboot by hitting any key

ls mmc 1:1 /

load mmc 1:1 $kernel_addr_r spi_combined.img

sf probe

sf write $kernel_addr_r 0 $filesize

reset

Stop Autoboot by hitting any key

saveenv

reset