Skip to content

Commit 6824a83

Browse files
author
Si Dao
committed
Adding some convinience scripts for manipulating eMMC
1 parent 300ff0f commit 6824a83

File tree

3 files changed

+208
-196
lines changed

3 files changed

+208
-196
lines changed

README.md

+24-5
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
## Overview
44

55
Build the installer image which is ready to flash to SDCard to boot.
6-
The final image contains also the `u-boot.itb` and `idbloader.img` flashed.
6+
The final image contains also the `u-boot-rockchip.bin` flashed.
77

8-
To build the image, try `./script/build.sh`
8+
To build the image, try `nix build`, to flash to sdcard, try `nix run . -- /dev/mmcblk1`
99

1010
## Spec
1111

12-
* Kernel 5.10.160 from [Jushua Riek](https://github.com/Joshua-Riek/linux-rockchip)
13-
* Panfork (for mesa 3D) + mali firmware
14-
* All required firmwares (hopefully) - collected from some prebuilt distro (Armbian, Ubuntu Rockchip)
12+
* Kernel 5.10.160 from [Armbian](https://github.com/armbian/linux-rockchip)
13+
* U-boot - mainline 2023-07-02 with patch
14+
* Panfork (for mesa 3D) v20.0.0 + mali firmware
1515

1616
Check `flake.nix` for more detail.
1717

@@ -21,6 +21,25 @@ Check `flake.nix` for more detail.
2121
zstdcat result/sd-image/nixos-sd-image-*.img.zstd | sudo dd of=/dev/mmcblkX bs=4M status=progress
2222
```
2323

24+
## Status
25+
26+
### Working
27+
28+
* Onchip IPs seem to work
29+
* Ethernet
30+
* GPU - on wayland (the `swaywm` included within sdcard image)
31+
* Start `sway` will then load Mali firmware, to check GPU accelleration, run firefox with Wayland enable `MOZ_ENABLE_WAYLAND=1 firefox`
32+
* `about:support` will show the status of GPU supporting
33+
* Perf is quite good - video playback consumed ~30% CPU (1080p youtube video on 4K monitor), ~50% CPU (4K youtube video on 4K monitor) - fullscreen mode
34+
* USB-C OTG-mode
35+
* Other? - not fully check (not that intrrested in :D)
36+
* Audio
37+
38+
### Not working
39+
40+
* Wifi/BT
41+
* Other??
42+
2443
## Ref.
2544

2645
* [Work from Ryan Yin](https://github.com/ryan4yin/nixos-rk3588)

flake.lock

-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)