Hi,
After my previous experience with RockPro64, now I managed to run ArchlinuxARM on RockPi 4 (4G RAM, B model).
What's not working:
- M.2 Slot
Looks like upstream dtb has disabled M.2/PCIE support. Only power supply, no signal nor RockChip PCIE controller initiliazation.
- BT/Wifi of B model
Not a problem to me though, I prefer ethernet anyway.
What's working
- HDMI output with panfrost
So hardware acceleration is working, GNOME tested
- USB3.0/USB2.0 host controller
- Memory initialization
This used to be the main problem for upstream Uboot, however in latest U-boot, v2019.10, it's solved.
So we can use upstream Uboot with idbloader to initialize the LPDDR4 ram, no more SError for memory problems.
What's strange
- Super long boot time
At least 150s. Several long wait in kernel space. But if you're patient enough, it will boot.
How to install:
- Find a way to compile the following uboot-rockpi64 package
I *manually* compiled the package using cross-compile.
Since my PKGBUILD describes all the needed steps:
https://github.com/archlinuxarm/PKGBUIL ... 06ef0b585e
- Follow the .install file to dd needed files to sdcard
- Partion the sdcard
Please note that, we need the extra space to contain the bootloader, trust, idbloader, so the first partition should start at 32M.
- Mkfs and populate the parition
Extract the aarch64 rootfs into that partition.
The latest rootfs can be found here:
http://os.archlinuxarm.org/os/ArchLinux ... est.tar.gz
- Generate uboot boot script
Copy the boot.txt and mkscr from my uboot-rockpi4 package to sdcard/boot.
Then run ./mkscr, it will use the *host* mkimage to generate the uboot script.
- umount the sdcard, plug it into the board, power on
You may need to be patient for 200s, as the kernel will take a long time to boot due to strange selftest.
Also, since latest mesa has also included panfrost for midguard GPUs, one can run GNOME with upstream mesa.
$this->bbcode_second_pass_code('', '# pacman -S mesa xorg-server gnome')
Enjoy the upstream experience of RockPi4.