Ubuntu Server Kernel 3.18 on Radxa Rock Pro

If you own a Radxa Rock Pro you have surely had enough trouble with the antiquated 3.0.36 kernel and the many hacked drivers to get it working somehow. Thanks to the work of Heiko Stübner and other kernel developers finally current kernels can be used on this great ARM development board. Keep in mind that video and audio drivers are not mainlined yet. Here is a howto:

Now determine the disk number of your microsd card, unmount the disk and flash the image with dd. Here are the instructions from an OS X perspective:

Make sure you use /dev/rdiskX as raw access is up to 20x faster. After unmounting, you can safely remove the microsd card and put it in your Radxa Rock Pro. You can login with rock/rock:

Next, expand the filesystem with this shell script or manually:


When the system is back up again, the filesystem has to be resized to the new partition sizes:

For me that didn’t work out because there were permission issues:

resize2fs 1.42.9 (4-Feb-2014)
Filesystem at /dev/mmcblk0p1 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 2
resize2fs: Permission denied to resize filesystem

To fix this on OS X install e2fsprogs to get resize2fs:

to avoid replacing some OS X provided files they are not linked into /usr/local.

Unmount the disk:

Check the partition for errors and resize:

For more details on the process see this guide:

First update your locales unless you want lots of locale warnings:

remove apache2 and mysql if you don’t need them:

then upgrade your system and install some frequently used tools:

Now Add a new user:

Log on as the new user an delete the old one:

To easily access all your computers you may want to authenticate yourself with certificates.

On a Mac, first install the missing ssh-copy-id:

Then you can copy your public key to the ssh hosts you frequently need by:

Now configure you ethernet in a way that your MAC won’t change with every restart:

The content should look like:

auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
hwaddress ether 01:02:03:04:05:06

Make sure the hwadress is valid and unique.

To get wlan running:

and add:

ssid="your ssid name"
psk="your wireless password"

If you have several Radxa Rocks, you may want to change their hostnames:

Set up the correct time zone and get a ntp update:

this is important because otherwise the SSL certificates won’t work.

To set up git:

and copy the contents into the ssh keys section of the github preferences.

To configure zsh:

To get AFP filesharing:

Additional folders can be shared by editing AppleVolumes.default:

and adding a line like

/media/microsd/media “Media”

and restarting the netatalk service with:

Schreibe einen Kommentar