Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions boards/pine64-rock64/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{ pkgs, ...}: {
device = {
manufacturer = "PINE64";
name = "ROCK64";
Expand All @@ -13,7 +13,11 @@

Tow-Boot = {
defconfig = "rock64-rk3328_defconfig";
uBootVersion = "2024.10";
buildUBoot = true;
uBootVersion = "2025.01";
src = (pkgs.fetchurl {
url = "https://ftp.denx.de/pub/u-boot/u-boot-2025.04-rc2.tar.bz2";
sha256 = "e54102f17328397d5d63b00865e9108d5806d18018509fc24ce6e7e3fe6a12f1";
});
};
}
6 changes: 5 additions & 1 deletion modules/hardware/rockchip/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ in
DISPLAY = yes;
VIDEO_ROCKCHIP = yes;
DISPLAY_ROCKCHIP_HDMI = yes;
PHY_ROCKCHIP_INNO_HDMI = yes;
#PHY_ROCKCHIP_INNO_HDMI = yes;
BOOTSTD = lib.mkForce yes;
BOOTSTD_DEFAULTS = lib.mkForce yes;
DISTRO_DEFAULTS = lib.mkForce no;
Expand All @@ -172,6 +172,10 @@ in

(mkIf cfg.rockchip-rk3328.enable {
Tow-Boot.builder.additionalArguments.BL31 = "${pkgs.Tow-Boot.armTrustedFirmwareRK3328}/bl31.elf";
Tow-Boot.builder.postPatch = ''
substituteInPlace arch/arm/dts/rk3328-rock64-u-boot.dtsi \
--replace rk3328-sdram-lpddr3-1600.dtsi rk3328-sdram-lpddr3-666.dtsi
'';
})

(mkIf cfg.rockchip-rk3399.enable {
Expand Down