KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
u-boot-build
★ 16
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
Go-Bat
:
基于go-cqhttp和golang实现,QQ群聊管理,自动同意好友添加,群聊消息防撤回,禁言处理,机器人日志下载
website
:
bgp.cheap
LearnDSA
:
👨💻 LearnDSA is a all in one coding platform that offers a comprehensive DSA syllabus with integrated AI assistance
openj9-openjdk-jdk21
:
No description available.
ChestESP
:
Minecraft mod that highlights nearby chests so you can see them through walls. Based on a Wurst Client feature of the same name.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
u-boot-build
?
Download (.md)
# u-boot-build GitHub Actions workflows to build u-boot for a few Rockchip boards. [](https://github.com/Kwiboo/u-boot-build/actions/workflows/rk3328.yml) [](https://github.com/Kwiboo/u-boot-build/actions/workflows/rk3399.yml) [](https://github.com/Kwiboo/u-boot-build/actions/workflows/rk356x.yml) [](https://github.com/Kwiboo/u-boot-build/actions/workflows/rk3588.yml) ### Source repositories - [Kwiboo/u-boot-rockchip](https://github.com/Kwiboo/u-boot-rockchip) - [rockchip-linux/rkbin](https://github.com/rockchip-linux/rkbin) ### Produced artifacts - `u-boot-rockchip.bin` for use with SD card or eMMC module - `u-boot-rockchip-spi.bin` for use with SPI flash These files contain `idbloader.img` and `u-boot.itb` at their expected offsets. ## Flashing ### SD card or eMMC module Write the `u-boot-rockchip.bin` image to sector 64 of a SD card or eMMC module (assumed to be /dev/mmcblk0): ``` dd if=u-boot-rockchip.bin of=/dev/mmcblk0 bs=32k seek=1 conv=fsync ``` #### eMMC using U-Boot cmdline - Put `u-boot-rockchip.bin` on first partition of a SD card. - Run from U-Boot cmdline: ``` # Read u-boot-rockchip.bin from first partition of a SD card load mmc 1:1 10000000 u-boot-rockchip.bin # Change to eMMC mmc dev 0 # Write 10 MiB (0x5000 blocks) at sector 64 (0x40) mmc write $fileaddr 40 5000 ``` ### SPI flash Write the `u-boot-rockchip-spi.bin` image to begining of SPI flash (assumed to be /dev/mtd0) using `flashcp`: ``` flashcp -v -p u-boot-rockchip-spi.bin /dev/mtd0 ``` Or using U-Boot cmdline: - Put `u-boot-rockchip-spi.bin` on first partition of a SD card. - Run from U-Boot cmdline: ``` # Initialize SPI flash sf probe # Read u-boot-rockchip-spi.bin from first partition of a SD card load mmc 1:1 10000000 u-boot-rockchip-spi.bin # Write to begining of SPI flash sf update $fileaddr 0 $filesize ``` Erase U-Boot from SPI flash (assumed to be /dev/mtd0) using `flash_erase`: ``` flash_erase /dev/mtd0 0 16 ``` Or erase using U-Boot cmdline: ``` # Initialize SPI flash sf probe # Erase first 64 KiB (0x10000 bytes) of SPI flash sf erase 0 +10000 ```