colemickens / h96-max-v58-nixos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

h96-max-v58-nixos

h96-max-v58

This repository is for my own research, development and bringup of the H96 Max V58. Eventual support may be added to nixos-hardware depending on time and interest.

Helpful resources

Thanks

Usage

  1. Get the device into maskrom or loader mode
  2. nix build .#h96-max-v58-image
  3. rkdeveloptool wl 0 ./result/sd-image/*.img

What works?

Working:

  • Ethernet
  • WiFi
  • HDMI
  • GPU
  • RTC
  • USB 3.0
  • USB 2.0

Not working:

  • Bluetooth
  • HDMI Audio
  • LEDs
  • Infrared Receive

Todo

  • Document usage of rkdeveloptool to load SPL via maskrom, provide as flake input, etc.
  • Create expect scripts for initial installation similar to visionfive-nix
  • Document decompiled dts and other processes used to get to this point
  • Make a pure GPT based image instead of using nixpkgs sdImage infrastructure, because rkdeveloptool ppt doesn't like this MBR hybrid stuff
    • Maybe use holey instead?
    • Figure out how to use systemd-repart as in ./repart.nix.unused
      • It seems that systemd-repart doesn't allow you to set the GPT table length, meaning partitions are limited to 2048 for the sector start size. But the rk3588 wants u-boot to be placed at sector 64.

About


Languages

Language:Nix 100.0%