Rock64: Porting Arch Linux to a new SBC

This is for ARMv8 based devices

Rock64: Porting Arch Linux to a new SBC

Postby tllim » Sat Dec 30, 2017 4:57 am

Thanks to Michiel on his good article on step by step porting mainline Arch Linux on ROCK64. ... TL Lim, PINE64 founder

https://me.m01.eu/blog/2017/12/rock64-arch-linux/
tllim
 
Posts: 3
Joined: Sat Jul 15, 2017 4:12 am

Re: Rock64: Porting Arch Linux to a new SBC

Postby sdrider » Fri Jan 05, 2018 10:06 pm

Dead link. :( Very interested in a Rock64 board as the next step in my search for ever more powerful ARM platform boards for hobby usage. Have loved the odroid-xu4 so far, was thinking Rock64 might be my next jump. But without solid AL ARM support, it's a non-starter for me.

Dead blog links and one guys github repository from six months ago (ayufan) does not a supported platform make.

I know this community volunteers a lot of it's time to support various boards, so I'm certainly not demanding anything. But if there's interest from those who know how, what would it take to get Rock64 on the official support list, with a working image under the archlinuxarm platform home page?

Seems we have the founders attention here, so if it's a matter of a couple of free boards for developers to hack on, I'm sure that could be arranged.
sdrider
 
Posts: 29
Joined: Sat Aug 10, 2013 3:56 am

Re: Rock64: Porting Arch Linux to a new SBC

Postby WarheadsSE » Sun Jan 07, 2018 12:02 am

Link's not dead for me.

Also, I have one. I've just had my hands very full with work, holidays, and conferences :ugeek:
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Rock64: Porting Arch Linux to a new SBC

Postby darthyoh » Fri Feb 09, 2018 1:34 pm

Hi,

Just a noobs question : as I can read in the excellent article and in the https://github.com/m01/rock64-arch-linux-build one of the first thing is to build the u-boot using ayufan's script.

In fact, I recently saw that it's possible to flash the u-boot directly onto the SPI flash memory, following these simple instructions found here : http://wiki.pine64.org/index.php/NOOB#Flashing_u-boot_to_SPI_Flash

If the u-boot is in the SPI flash memory, assuming I prepared a sd Card and partition it as required by the RK3328, format the boot and linux-root partitions, can I boot directly on it like that (after extracting the AArch64 generic Arch Linux image) ?
darthyoh
 
Posts: 1
Joined: Fri Feb 09, 2018 12:52 pm

Re: Rock64: Porting Arch Linux to a new SBC

Postby WarheadsSE » Fri Feb 09, 2018 4:17 pm

I hope to find time to do proper documentation / support in the near future, but I can't provide a deadline at the moment. I've just returned from FOSDEM, so I have a lot to catch up on.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Rock64: Porting Arch Linux to a new SBC

Postby sdrider » Wed Feb 14, 2018 4:32 am

Thanks for the update, WarheadsSE. Link works for me now - weird that it didn't before.

I'm still very interested in a Rock64 board. It seems it's doable today by following in others footsteps, but certainly not as straightforward as other boards on the ALARM home page. I may pick a board in the near future anyway and if I get some time to hack on it, see what I can get going. Worst case I run into a brick wall and shelve it for a bit until it gets official support.
sdrider
 
Posts: 29
Joined: Sat Aug 10, 2013 3:56 am

Re: Rock64: Porting Arch Linux to a new SBC

Postby nsollars » Wed Feb 21, 2018 12:10 pm

If someone wants to look into it there seems to be a couple of issues with the latest packages in arch that causes uboot build to fail with the main one looking to be aarch64 binutils,

aarch64-linux-gnu-ld.bfd: arch/arm/lib/crt0_aarch64_efi.o: relocation R_AARCH64_ABS16 against `EFI_SUBSYSTEM' can not be used when making a shared object
make[3]: *** [scripts/Makefile.lib:382: lib/efi_loader/helloworld.so] Error 1
make[2]: *** [scripts/Makefile.build:425: lib/efi_loader] Error 2
make[1]: *** [Makefile:1278: lib] Error 2
make[1]: Leaving directory '/home/nsollars/build/rock64-arch-linux-build/u-boot'
make: *** [Makefile.uboot.mk:12: out/u-boot/idbloader.img] Error 2

seems only to affect the ayufan u-boot codebase as building a mainline uboot does infact finish without problems.

The other minor issue is with the current dtc package.

more info see discussion,

https://github.com/m01/rock64-arch-linux-build/issues/3

Nige
nsollars
 
Posts: 21
Joined: Mon Sep 04, 2017 6:14 pm

Re: Rock64: Porting Arch Linux to a new SBC

Postby WarheadsSE » Wed Feb 21, 2018 1:07 pm

Please attempt to use our officially provided toolchains, seen at https://archlinuxarm.org/wiki/Distcc_Cross-Compiling

I wasn't aware that upstream was actually shipping `aarch64-linux-gnu-*` packages.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to ARMv8 Devices

Who is online

Users browsing this forum: No registered users and 19 guests