From 07a7a769592c6e42f3de1acfa09256a0559ada9d Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Thu, 14 Nov 2019 17:47:56 -0500 Subject: [PATCH] Adds notes --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 9cd717a..7a09bda 100644 --- a/README.md +++ b/README.md @@ -1 +1,17 @@ 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.