ARM – Radxa Rock2 – Powerful, but Confused..
Recently took delivery of a Radxa Rock2 ARMv7 system, based on the RX3288 Cortex A17 chipset..
The system comes with a version of Android installed on the onboard eMMC, but I managed – after a bit of work – to install Fedora 23 on an SDcard and get it to boot onto that.. At this point, I should mention that the online documentation could best be described as both confusing, and lacking in details..
So far, I have managed to get the pre-installed kernel – an antique patched version of 3.10! – to boot into the Fedora rootfs on the SDcard:
Fedora 23 (Twenty Three) Kernel 3.10.0 on an armv7l (ttyFIQ0) rgrock2 login:
The system still boots from the eMMC, though, and the partitions on this are effectively inaccessible from Linux, as they appear to be (re) created by scripts during the boot process, which seems to be based on something similar to fastboot (but not actually fastboot) plus a heavily cut-down (and apparently uncontrollable) version of an old release of U-Boot.. The layout of the SDcard is odd too, and needs the Linux rootfs partition to start after the first 72MB, otherwise it is not found at boot time..
Gparted: Partition File System Label Size Used Unused unallocated unallocated 72.00MiB --- --- /dev/sdf1 ext4 rock2-root 7.33GiB 4.26GiB 3.07GiB unallocated unallocated 1.00MiB --- ---
I had tried following the (confusing) instructions to build and flash a newer version of U-Boot, and to flash this to actually boot from the SDcard (rather than just to it) but – so far – without success.. At this stage of the game I am reluctant (although tempted…) to just ‘erase’ the eMMC (dd if=/dev/zero.…etc…)
The other frustration is that the ‘inaccessible’ kernel image forces the use of selinux… I had (as usual) set selinux to ‘disabled’ in the config, but this resulted in the boot process hanging consistently.. So, for the time being, I have had to set it to ‘permissive’…
The good news is that this system is fast, compared to the other armv7 and aarch64 systems I have..
That is as far as I have got, but there is (obviously!) much still to do, and I am afraid that much of it will be (un)educated guesswork on my part..
More news, when I have it..
Robert Gadsdon. February 23, 2016.
You can try the mainline u-boot and mainline kernel. There is good support for rock2 square now.
Check how to run u-boot in the internal emmc:
http://git.denx.de/?p=u-boot/u-boot-rockchip.git;a=blob;f=doc/README.rockchip;h=e0572c80b9c7d6e22bfc695d0d73fde74f6789d5;hb=f138713073b5587b195cb73e12394e57c15cbb01
Thanks for the link… I was a bit reluctant to completely erase the eMMC, but I have since had a chance to test the ‘unbricking’ routine – successfully…!
I already have the latest u-boot compiled and ready to install… I am aiming to get kernel with separate device tree booting successfully..
RG.