archlinuxarm on marvellorion@qnap

Ask questions about Arch Linux ARM. Please search before making a new topic.

archlinuxarm on marvellorion@qnap

Postby kefko » Tue Apr 20, 2021 7:50 am

hey archlinuxarm Community,

about me, you find appended to this post.

...concerning an Archlinux installation. searching
for some hints and further ideas:

The archlinux should run on an Qnap TS 109 with Marvell Orion Armv5:

Uboot with 8MB flash for kernel and ramfs

The marvell development kernel, is working - of course. There is
an debian kernel starting in lenny which is working, also...

Archlinux Armv5 package kernel boots with a kernel panic.

Q 1: Is it possible to set up an Archlinux using the original kernel
from qnap?

Q 2: Is there already an working use case with howto somewhere?

THX

"Dear all. My name is kefko (i had
some more alias, but thats my current
one, for computer hacking...) My real name youll find in
the from. The Kefko acrnym is inspired by
Kefka from the Final Fantasy Series...
- sincerely"
kefko
 
Posts: 3
Joined: Tue Apr 20, 2021 7:30 am

Re: archlinuxarm on marvellorion@qnap

Postby robg » Tue Apr 20, 2021 5:27 pm

Hello kefko and welcome to the Arch ARM community,

Note that whatever steps you take, you will likely have to prepare a custom package containing your kernel. To do so, best have a look at the PKGBUILDs of the various kernels in the repo. For the general steps of preparing a custom Arch ARM image, I suggest this guide.
robg
 
Posts: 61
Joined: Tue Jan 05, 2021 8:22 am

Re: archlinuxarm on marvellorion@qnap

Postby kefko » Wed Apr 21, 2021 6:33 am

THX4REPLY!

i thought it will be possible to make something like boot into chroot
as usually in Android, and as i understood it... Using the original
kernel & ramfs from qnap which is already working well. Qnap is
using a u-boot, and then a ram kernel & fs. My opinion was that
i can tell the kernel not to use ramfs, instead going on an hdd
archlinux arm root.. But, right now i am not with that way anymore.

I will try to build an archlinux arm build for my device...

I would be very happy about some more documentation about building
an own archlinux arm package and about cross-building for arm.

sincerely
-kefko
kefko
 
Posts: 3
Joined: Tue Apr 20, 2021 7:30 am

Re: archlinuxarm on marvellorion@qnap

Postby kefko » Wed Apr 21, 2021 1:18 pm

- short questions:

1 - Is QEMU a good choice for use as Crosscompile Virtual Machine?

2 - Do i have to build/create my orion kernel, ramfs and tool(root) system inside
of a chrooted VM, or maybe there is a better solution? Like an arm from
scratch to an arm bootloader or sth. (...)

I have the following building proposal:

distcc & toolchain: Client x86 - Master Qemu ARM

THX4REPLYs!
kefko
 
Posts: 3
Joined: Tue Apr 20, 2021 7:30 am

Re: archlinuxarm on marvellorion@qnap

Postby bietduoc » Sat May 22, 2021 11:25 am

I also have the same problem
bietduoc
 
Posts: 1
Joined: Sat May 22, 2021 11:19 am


Return to User Questions

Who is online

Users browsing this forum: No registered users and 2 guests