compiling new kernel for rpi3/aarch64

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

compiling new kernel for rpi3/aarch64

Postby archarmrpi3 » Thu May 11, 2017 12:20 pm

Hi,

I've installed archlinux arm aarch64 to my rpi3 according to the aarch64 section of https://archlinuxarm.org/platforms/armv ... berry-pi-3 and it seems to be working well.

As I want it to have an external IP, I need a firewall. The problem I'm having is that there appear to be modules missing - either that or I need to recompile the kernel. I'm looking for a nice how-to to do that with this platform, but my searches so far have proved fruitless. Can anyone here please share a link or two to help me out? I'm not finding the kernel sources for archlinux arm for this platform.

For example, I installed shorewall and tried to start it, and I get this error:

ERROR: Your kernel/iptables do not include state match support. No version of Shorewall will run on this system /etc/shorewall/shorewall.conf

thanks,
archarmrpi3
 
Posts: 3
Joined: Thu May 11, 2017 11:31 am

Re: compiling new kernel for rpi3/aarch64

Postby WarheadsSE » Thu May 11, 2017 12:49 pm

Clone the PKGBUILDs repository (https://gitlab.com/archlinuxarm/PKGBUILDs)

Copy the directory for linux-aarch64 (cp -r PKGBUILDs/core/linux-aarch64 .)

Use this directory for alterations:
Reads the PKGBUILD, specifically the section on configuration changes. Do no manually edit the kernel config file.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: compiling new kernel for rpi3/aarch64

Postby archarmrpi3 » Thu May 11, 2017 5:13 pm

it seems to want a login :(

[root@rpi3 tmp]# git clone https://gitlab.com/archlinuxarm/PKGBUILDs

Cloning into 'PKGBUILDs'...
fatal: unable to update url base from redirection:
asked for: https://gitlab.com/archlinuxarm/PKGBUIL ... pload-pack
redirect: https://gitlab.com/users/sign_in
archarmrpi3
 
Posts: 3
Joined: Thu May 11, 2017 11:31 am

Re: compiling new kernel for rpi3/aarch64

Postby archarmrpi3 » Thu May 11, 2017 5:32 pm

I created a login and used it in the git clone url but it's still redirecting to the sign-in url. So I went to it in lynx, logged in and it then 404s. Try going to it in firefox, it also 404s.
archarmrpi3
 
Posts: 3
Joined: Thu May 11, 2017 11:31 am

Re: compiling new kernel for rpi3/aarch64

Postby WarheadsSE » Fri May 12, 2017 5:47 pm

Haha... typo. It's on GitHub. https://github.com/archlinuxarm/PKGBUILDs (but you will need to add .git)
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

Who is online

Users browsing this forum: No registered users and 12 guests