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

Adds instructions for on-device u-boot updating.

These use the `by-path` device path which AFAIUI will **alway** point to
the proper device.
This commit is contained in:
Samuel Dionne-Riel 2020-01-17 14:14:53 -05:00
parent 0ed68840fc
commit abe4271044

View file

@ -80,6 +80,17 @@ Alternatively, this u-boot can be installed to the eMMC.
Installing to SPI has yet to be investigated. Installing to SPI has yet to be investigated.
### Updating eMMC u-boot from NixOS
**Caution:** this could render your system unbootable. Do this when you are in
a situation where you can debug and fix the system if this happens. With this
said, it should be safe enough.
```
$ nix-build -A pkgs.uBootPinebookPro
$ lsblk /dev/disk/by-path/platform-fe330000.sdhci && sudo dd if=result/idbloader.img of=/dev/disk/by-path/platform-fe330000.sdhci bs=512 seek=64 oflag=direct,sync && sudo dd if=result/u-boot.itb of=/dev/disk/by-path/platform-fe330000.sdhci bs=512 seek=16384 oflag=direct,sync
```
## Keyboard firmware ## Keyboard firmware
As rebooting doesn't work here, poweroff and boot manually. As rebooting doesn't work here, poweroff and boot manually.