Skip to content

Commit

Permalink
pine64-rockpro64: init
Browse files Browse the repository at this point in the history
  • Loading branch information
tomfitzhenry committed Sep 29, 2023
1 parent adcfd6a commit 711d9f8
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ dell/xps/13-9380 @kalbasit
lenovo/thinkpad/x230 @makefu @yegortimoshenko
lenovo/thinkpad/x250 @Mic92
pcengines/apu @yegortimoshenko
pine64/rockpro64 @tomfitzhenry
pine64/star64 @fgaz
purism/librem/13v3 @yegortimoshenko
system76/darp6 @khumba
Expand Down
14 changes: 14 additions & 0 deletions pine64/rockpro64/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Pine64 RockPro64

## _Tow-Boot_

We highly suggest installing _Tow-Boot_ to the SPI Flash.

- https://github.com/Tow-Boot/Tow-Boot

Having the firmware installed to SPI makes the device act basically like a
normal computer. No need for weird incantations to setup the platform boot
firmware.

Alternatively, starting from the _Tow-Boot_ disk image on eMMC is easier to
deal with and understand than having to deal with _U-Boot_ manually.
14 changes: 14 additions & 0 deletions pine64/rockpro64/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{ pkgs, lib, ... }:
{
boot.kernelParams = [
# Set 115200 baud, per https://tow-boot.org/getting-started.html
"console=ttyS2,115200n8"
];

boot.initrd.kernelModules = [
# PCIe/NVMe
"nvme"
"pcie_rockchip_host"
"phy_rockchip_pcie"
];
}

0 comments on commit 711d9f8

Please sign in to comment.