Arch Linux ARM on the Rock64 V3
#1
I just picked up a Rock64, and wanted to put Arch Linux ARM on it to reuse setup scripts I wrote for another SBC that was already running it.

The instructions didn't work for me -- u-boot failed, I would assume because of the SD changes in the V3 revision. Research made it sound like mainline u-boot should work, but I didn't have any luck with it. master failed with a hang trying to access the SD card, and earlier revisions failed with a "Card did not respond to voltage select!" error.

Armbian did work, and I figured all I needed was really a working u-boot, so I bashed together the u-boot from Armbian with the root filesystem from Arch Linux ARM, and it booted!

I would still love to figure out what I was doing wrong with my u-boot builds (following the instructions from here: https://forum.pine64.org/showthread.php?tid=8174), but it seems like it's worked out. Assuming things don't burst into flames or anything.

For reference, this was the process that worked for me:

It's mostly the same as the basic install instructions: https://archlinuxarm.org/platforms/armv8...hip/rock64
  • In step 1, instead of zeroing out, I ran `dd if=/path/to/Armbian_bionic.img of=/dev/sdb bs=1M count=32`
  • Steps 2-8 were unchanged
  • Step 9 was skipped
  • Steps 10-12 were unchanged
  • Skipped updating u-boot through Arch
  Reply
#2
Thank you for the heads up!

I also run into the issue, but I think ArchLinuxARM fixed their flashing procedure by providing different files to store in the initial non-partitioned space (now called "rksd_loader.img" and "u-boot.itb", see "https://archlinuxarm.org/platforms/armv8/rockchip/rock64").

I simply stored these files into the SD card as the procedure step (9) says:
dd if=rksd_loader.img of=/dev/mmcblk0 seek=64 conv=notrunc
dd if=u-boot.itb of=/dev/mmcblk0 seek=16384 conv=notrunc

After that the board booted normally and I didn't see any loss of data.
  Reply
#3
(08-17-2020, 11:17 PM)koutheir Wrote: I also run into the issue, but I think ArchLinuxARM fixed their flashing procedure by providing different files to store in the initial non-partitioned space (now called "rksd_loader.img" and "u-boot.itb", see "https://archlinuxarm.org/platforms/armv8/rockchip/rock64").

Nice! That must be brand new, I don't remember seeing it even a few weeks ago.

I'm now running a self-built uboot after running into the Kernel 5.8 issue mentioned on this board, and it seems to work OK. May switch back to this one if it runs into problems.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  RetroPie on Rock64 Luke 38 16,236 Yesterday, 06:42 AM
Last Post: BigSkyEntertainment
  RETRO-GAMING: UPDATED RELEASE OF RECALBOX FOR THE ROCK64 Mrfixit2001 30 12,199 10-20-2020, 04:36 PM
Last Post: lewellyn
  Linux laptop does not detect the board when plugged in via USB soupy 1 236 10-08-2020, 09:07 AM
Last Post: jamie22
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 81 27,640 09-22-2020, 02:54 PM
Last Post: mara
  Lakka (retrogaming) os for rock64 Wizardknight 2 267 09-21-2020, 07:18 PM
Last Post: Wizardknight
  Debian (Vanilla) on Rock64 and eMMC - how ? as365n4 4 496 09-21-2020, 04:33 AM
Last Post: as365n4
Sad Rock64 crash randomly during usb 3 copy with RAID1 drive phalae 24 11,208 09-14-2020, 10:48 AM
Last Post: BrownLuther007
  openwrt for the rock64 wilsonYan 3 717 09-01-2020, 09:07 PM
Last Post: wilsonYan
  Arch Linux Arm --> Kernel 5.8 breaks installation as365n4 12 1,430 08-31-2020, 01:41 AM
Last Post: as365n4
  Arch Linux Arm - external RTC problem max 1 296 08-17-2020, 10:35 AM
Last Post: max

Forum Jump:


Users browsing this thread: 1 Guest(s)