Update uboot.md
This commit is contained in:
parent
bc44ff7d71
commit
b9aed2e692
|
|
@ -6,26 +6,9 @@ cd u-boot-v2021.04/
|
|||
make distclean
|
||||
make rpi_4_defconfig
|
||||
make -j X
|
||||
```
|
||||
|
||||
#### vim boot.scr (NOT NEEDED ANYMORE)
|
||||
|
||||
```
|
||||
fdt addr ${fdt_addr} && fdt get value bootargs /chosen bootargs
|
||||
fatload mmc 0:1 ${kernel_addr_r} kernel8.img
|
||||
booti ${kernel_addr_r} - ${fdt_addr}
|
||||
```
|
||||
|
||||
```
|
||||
./tools/mkimage -A arm64 -T script -C none -n "Boot script" -d boot.scr boot.scr.uimg
|
||||
cp u-boot.bin /boot/
|
||||
cp boot.scr.uimg /boot/
|
||||
cd /boot/
|
||||
vim config.txt
|
||||
```
|
||||
|
||||
----
|
||||
|
||||
#### config.txt
|
||||
|
||||
**add:**
|
||||
|
|
|
|||
Loading…
Reference in New Issue