1
0
Fork 0
mirror of https://github.com/samueldr/wip-pinebook-pro.git synced 2024-11-23 11:29:43 +01:00

Adds notes

This commit is contained in:
Samuel Dionne-Riel 2019-11-14 17:47:56 -05:00
parent 1c6ba3b6e6
commit 07a7a76959

View file

@ -1 +1,17 @@
WIP stuff to get started on the pinebook pro. WIP stuff to get started on the pinebook pro.
## `u-boot`
Assuming `/dev/mmcblk0` is an SD card.
```
$ nix-build -A u-boot
$ lsblk /dev/mmcblk0 && sudo dd if=result/idbloader.img of=/dev/mmcblk0 bs=512 seek=64 oflag=direct,sync && sudo dd if=result/u-boot.itb of=/dev/mmcblk0 bs=512 seek=16384 oflag=direct,sync
```
The eMMC has to be zeroed (in the relevant sectors) or else the RK3399 will use
the eMMC as a boot device first.
Alternatively, this u-boot can be installed to the eMMC.
Installing to SPI has yet to be investigated.