Rock64: Installing Arch from Debian Jessie

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

Re: Rock64: Installing Arch from Debian Jessie

Postby tarmiste » Mon Dec 04, 2017 11:13 am

I was able to install Arch onto my Rock64 using the iinstructions found in the OP.

Initially it runs using the kernel (4.4ish) and initrd.img from the Debian install, not a kernel from the Arch tarball. None of the Debian kernel modules are present in the Arch rootfs. I haven't noticed any problems (although I haven't run much on it) but missing kernel modules might cause some odd behaviours.

I decided to build/install the kernel and modules from the Debian source (ayufan version). First using the Arch tools, the build failed with numerous compile errors. I switched to building with the Debian tools and there were less build problems but still not error free. I then pulled a copy of the kernel source as it was on 9/14/2017 (which was the date stamp of the most recent Debian release) and was then able to get a completed kernel build using Debian tools.

I repacked the initrd.img with the modules from my build and am running with it and my rebuilt kernel.

I took a shot at building (using Arch tools) a 4.14 kernel for it. the kernel build completed without much problem and the kernel started booting but did not come all the way up to a functional system. So, for now, it looks like I'll have to stick with the the kernel from the Debian install.
tarmiste
 
Posts: 2
Joined: Thu Nov 30, 2017 10:31 pm

Re: Rock64: Installing Arch from Debian Jessie

Postby tarmiste » Thu Dec 07, 2017 4:43 pm

Some good news regarding Arch on the ROCK64... I have found that the recent 4.14 kernel already has some support for the ROCK64 board and that the Arch kernel boots on the ROCK64.

Assuming you've following the instructions in the OP, and are already running Arch on the ROCK64, to start using the Arch kernel:

#Update first (and I usually reboot after a full update...)

pacman -Syu

# Images are loaded from /boot/efi

cd /boot/efi

# Make copies of originals

cp Image origImage
cp dtb origdtb

# Install Arch kernel and dtb

cp /boot/Image Image
cp /boot/dtbs/rockchip/rk3328-rock64.dtb dtb
sync

Then reboot.

Ethernet and serial console works. Bad news is that graphics doesn't seem to work but at least there is enough support in 4.14 for the ROCK64 to boot and have some functionality.
tarmiste
 
Posts: 2
Joined: Thu Nov 30, 2017 10:31 pm

Previous

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 1 guest