mirror of
https://github.com/samueldr/wip-pinebook-pro.git
synced 2024-11-27 05:19:44 +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:
parent
0ed68840fc
commit
abe4271044
1 changed files with 11 additions and 0 deletions
11
README.md
11
README.md
|
@ -80,6 +80,17 @@ Alternatively, this u-boot can be installed to the eMMC.
|
|||
|
||||
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
|
||||
|
||||
As rebooting doesn't work here, poweroff and boot manually.
|
||||
|
|
Loading…
Reference in a new issue