~alpine/devel

2

[alpine-devel] arm aarch64 support

Details
Message ID
<21a5c7d.d4e3.1556db81800.Coremail.vanloswang@126.com>
Sender timestamp
1466424629
DKIM signature
missing
Download raw message
Hello alpine devs,
    I want to build an aarch64 rootfs, and now I have compile apk-tools and abuild on CentOS 7 aarch64 machine. But I finally found out abuild alpine-aport will damage the orginal system. How can I compile or cross compile an aarch64 alpine rootfs?
Timo Teras <timo.teras@iki.fi>
Details
Message ID
<20160620193616.0639848a@vostro>
In-Reply-To
<21a5c7d.d4e3.1556db81800.Coremail.vanloswang@126.com> (view parent)
Sender timestamp
1466440575
DKIM signature
missing
Download raw message
Hi,

On Mon, 20 Jun 2016 20:10:29 +0800 (CST)
王进 <vanloswang@126.com> wrote:

> Hello alpine devs,
>     I want to build an aarch64 rootfs, and now I have compile
> apk-tools and abuild on CentOS 7 aarch64 machine. But I finally found
> out abuild alpine-aport will damage the orginal system. How can I
> compile or cross compile an aarch64 alpine rootfs?

The minimal documentation on cross-compile, and links to the scripts I
used to bootstrap arm from x86_64 are at:
https://wiki.alpinelinux.org/wiki/User:Fabled

However, this is some years ago, and the scripts as such probably do
not work. I was earlier trying to do bootstrap of arm7 (armv7+ w/
thumb2) build, and already fixed few things. However, I have not yet
completed this work, so there's probably little more to fix.

The scripts should give a rough idea on how it's done.
 


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Timo Teras <timo.teras@iki.fi>
Details
Message ID
<20160709114045.40a13ce1@vostro>
In-Reply-To
<21a5c7d.d4e3.1556db81800.Coremail.vanloswang@126.com> (view parent)
Sender timestamp
1468053645
DKIM signature
missing
Download raw message
Hi,

On Mon, 20 Jun 2016 20:10:29 +0800 (CST)
王进 <vanloswang@126.com> wrote:

> Hello alpine devs,
>     I want to build an aarch64 rootfs, and now I have compile
> apk-tools and abuild on CentOS 7 aarch64 machine. But I finally found
> out abuild alpine-aport will damage the orginal system. How can I
> compile or cross compile an aarch64 alpine rootfs?

I was just able to update the cross build scripts. I have now aarch64
userland built for alpine. I still need to look at building kernel, and
bootstrapping the rest of package.

I pushed all changes to the aports already out to alpine edge. You will
also need abuild from git as few cross build fixes were added.

The scripts used are at:
http://dev.alpinelinux.org/~tteras/bootstrap/

And the minimal set of aarch64 packages are at:
http://dev.alpinelinux.org/~tteras/bootstrap/packages/main/aarch64/

That should be enough to start a builder.

Some packages need changes to be able to build for aarch64, but most
will probably work as-is.

Thanks,
Timo


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)