Skip to content

NixVegas/nixpwned

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nixpwned

In a major feat of nominative determinism, we got NixOS to run on the nixplay.

Status: We have Linux 6.12 booting!

  • Serial works!
  • Display kind of works with the old device tree (but graphics are corrupt)
  • Device tree needs forward porting
  • CPU dies if we use more than one core

Hardware

Tested against the Nixplay W10K or Apolosign frames.

Note that the Apolosign has better hardware, including a newer PCB and better flash chip. They're all RK3126C based, though.

Nixplay W10K

Apolosign 10.1 inch ("powered by Nixplay")

Existing software

These run Android 5 (!!!) which is truly ancient.

Development

Run nix develop.

  • Reset into MaskROM mode. On some Nixplay devices this is, bogglingly, holding the externally facing reset button (which isn't a factory reset, it lets you go into MaskROM mode without opening the case) and plugging USB in.
  • Run lsusb and you should see the Rockchip MaskROM device.

Serial

One of these works great for finding the pins (thanks @MatthewCroughan for the suggestion)

Use 3.3v logic levels, here's an adapter

Building

nix build .#nixosConfigurations.nixplay.config.system.build.nixplay.all -L

Many things will be broken. This is released mostly as-is.

Flashing

  • BACK UP YOUR PARAMS AND PARTITIONS FIRST!
  • rkflashtool P < result/params
  • rkflashtool w boot < result/boot.img
  • rkflashtool w userdata < <(zstdcat result/userdata.img.zst)

About

Getting NixOS to run on Nixplay photo frames.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages