Minor formatting

This commit is contained in:
Giulio 2021-03-06 00:41:35 +01:00
parent 867a3b4cc3
commit 41ed23bd2e

View File

@ -28,15 +28,14 @@ git clone https://github.com/ARM-software/arm-trusted-firmware.git atf
git clone https://gitlab.com/pine64-org/u-boot
cd atf
CROSS_COMPILE=aarch64-linux-gnu- make -j12 PLAT=rk3399 CFLAGS='-gdwarf-2'
cd ..
cd u-boot
cd ../u-boot
CROSS_COMPILE=aarch64-linux-gnu- make -j12 BL31=../atf/build/rk3399/release/bl31/bl31.elf
```
Write it on sd
```
dd if=uboot/idbloader.img of=/dev/mmcblk2 seek=64
dd if=uboot/u-boot.itb of=/dev/mmcblk2 seek=16384
dd if=u-boot/idbloader.img of=/dev/mmcblk2 seek=64
dd if=u-boot/u-boot.itb of=/dev/mmcblk2 seek=16384
```
### Bootrom dumping
@ -81,7 +80,7 @@ The bootrom ha a _magic_ ASCII signature at the end `C03361028110001V`.
### Links
https://eno.space/blog/2020/01/pbp-uboot
https://wiki.pine64.org/wiki/RK3399_boot_sequence
http://opensource.rock-chips.com/wiki_Boot_option
https://forum.pine64.org/showthread.php?tid=5026
* https://eno.space/blog/2020/01/pbp-uboot
* https://wiki.pine64.org/wiki/RK3399_boot_sequence
* http://opensource.rock-chips.com/wiki_Boot_option
* https://forum.pine64.org/showthread.php?tid=5026