Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #58868 > unrolled thread

Bug#874536: linux: arm64ilp32 support

Started byWookey <wookey@debian.org>
First post2017-09-07 05:50 +0200
Last post2017-09-07 16:00 +0200
Articles 6 — 4 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#874536: linux: arm64ilp32 support Wookey <wookey@debian.org> - 2017-09-07 05:50 +0200
    Bug#874536: linux: arm64ilp32 support Ben Hutchings <ben@decadent.org.uk> - 2017-09-07 16:00 +0200
      Bug#874536: linux: arm64ilp32 support Wookey <wookey@wookware.org> - 2017-09-07 16:10 +0200
        Bug#874536: linux: arm64ilp32 support Ben Hutchings <ben@decadent.org.uk> - 2017-09-07 17:10 +0200
          Bug#874536: linux: arm64ilp32 support Wookey <wookey@wookware.org> - 2017-09-07 17:40 +0200
    Processed: Re: Bug#874536: linux: arm64ilp32 support owner@bugs.debian.org (Debian Bug Tracking System) - 2017-09-07 16:00 +0200

#58868 — Bug#874536: linux: arm64ilp32 support

FromWookey <wookey@debian.org>
Date2017-09-07 05:50 +0200
SubjectBug#874536: linux: arm64ilp32 support
Message-ID<umVZg-2GT-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Source: linux
Version: 4.9.30-2+deb9u2.1
Severity: wishlist
Tags: patch

Attached are the packaging changes needed to make the kernel build for arm64ilp32.

The arm64ilp32 (aarch64-linux-gnu_ilp32) kernel support is not yet
merged upstream, so I guess you are not going to include this until it
is, but as I've done the work, it's useful to file this patch so you
have the necessary info to hand when the time comes.

I also have a corresponding patch for the kernel support, but it's
large, so I'll just point to it here, for anyone that wants to build this in debian: 
https://anonscm.debian.org/cgit/users/wookey/rebootstrap.git/commit/?h=ilp32-stable&id=01fe063bff353cba63b2048ff803f41314b888a5

Status for the port (in Debian) is tracked here: https://wiki.debian.org/Arm64ilp32Port

[toc] | [next] | [standalone]


#58874

FromBen Hutchings <ben@decadent.org.uk>
Date2017-09-07 16:00 +0200
Message-ID<un5vz-A2-1@gated-at.bofh.it>
In reply to#58868

[Multipart message — attachments visible in raw view] — view raw

Control: tag -1 upstream
Control: tag -1 - patch
Control: notfound -1 4.9.30-2+deb9u2.1
Control: found -1 4.13~rc7-1~exp1

On Thu, 2017-09-07 at 04:43 +0100, Wookey wrote:
> Source: linux
> Version: 4.9.30-2+deb9u2.1
> Severity: wishlist
> Tags: patch
> 
> Attached are the packaging changes needed to make the kernel build for arm64ilp32.
> 
> The arm64ilp32 (aarch64-linux-gnu_ilp32) kernel support is not yet
> merged upstream, so I guess you are not going to include this until it
> is, but as I've done the work, it's useful to file this patch so you
> have the necessary info to hand when the time comes.

Similar to x32, this Debian architecture should *not* have its own
redundant kernel image package.

Ben.

> I also have a corresponding patch for the kernel support, but it's
> large, so I'll just point to it here, for anyone that wants to build this in debian: 
> https://anonscm.debian.org/cgit/users/wookey/rebootstrap.git/commit/?h=ilp32-stable&id=01fe063bff353cba63b2048ff803f41314b888a5
> 
> Status for the port (in Debian) is tracked here: https://wiki.debian.org/Arm64ilp32Port
-- 
Ben Hutchings
Time is nature's way of making sure that everything doesn't happen at
once.

[toc] | [prev] | [next] | [standalone]


#58877

FromWookey <wookey@wookware.org>
Date2017-09-07 16:10 +0200
Message-ID<un5Ff-To-3@gated-at.bofh.it>
In reply to#58874

[Multipart message — attachments visible in raw view] — view raw

On 2017-09-07 14:46 +0100, Ben Hutchings wrote:
> > Attached are the packaging changes needed to make the kernel build for arm64ilp32.
> > 
> > The arm64ilp32 (aarch64-linux-gnu_ilp32) kernel support is not yet
> > merged upstream, so I guess you are not going to include this until it
> > is, but as I've done the work, it's useful to file this patch so you
> > have the necessary info to hand when the time comes.
> 
> Similar to x32, this Debian architecture should *not* have its own
> redundant kernel image package.

OK, but we need the kernel-headers package in order build the
toolchain, so at least that needs to be built (which is in fact all I
have done/tested so far).

I agree that the arm64 kernel will work for both. But will
dependencies work for automatically bringing that in?

Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/

[toc] | [prev] | [next] | [standalone]


#58879

FromBen Hutchings <ben@decadent.org.uk>
Date2017-09-07 17:10 +0200
Message-ID<un6Bj-1LE-1@gated-at.bofh.it>
In reply to#58877

[Multipart message — attachments visible in raw view] — view raw

On Thu, 2017-09-07 at 15:01 +0100, Wookey wrote:
> On 2017-09-07 14:46 +0100, Ben Hutchings wrote:
> > > Attached are the packaging changes needed to make the kernel build for arm64ilp32.
> > > 
> > > The arm64ilp32 (aarch64-linux-gnu_ilp32) kernel support is not yet
> > > merged upstream, so I guess you are not going to include this until it
> > > is, but as I've done the work, it's useful to file this patch so you
> > > have the necessary info to hand when the time comes.
> > 
> > Similar to x32, this Debian architecture should *not* have its own
> > redundant kernel image package.
> 
> OK, but we need the kernel-headers package in order build the
> toolchain, so at least that needs to be built (which is in fact all I
> have done/tested so far).

Yes, and that's trivial to add once dpkg recognises the architecture
(remember that you have to get it added in stable, since dak uses the
stable version to validate the architecture list in an upload).

> I agree that the arm64 kernel will work for both. But will
> dependencies work for automatically bringing that in?

The only dependencies on kernel image packages are (or should be) from
the corresponding metapackages.  Once those are installed, upgrades
should work automatically.  However, d-i and vmdb will need to be
changed to add the foreign architecture and install a foreign kernel
metapackage.

Ben.

-- 
Ben Hutchings
Time is nature's way of making sure that everything doesn't happen at
once.

[toc] | [prev] | [next] | [standalone]


#58880

FromWookey <wookey@wookware.org>
Date2017-09-07 17:40 +0200
Message-ID<un74m-1Wq-23@gated-at.bofh.it>
In reply to#58879

[Multipart message — attachments visible in raw view] — view raw

On 2017-09-07 16:01 +0100, Ben Hutchings wrote:
> On Thu, 2017-09-07 at 15:01 +0100, Wookey wrote:

> > OK, but we need the kernel-headers package in order build the
> > toolchain, so at least that needs to be built (which is in fact all I
> > have done/tested so far).
> 
> Yes, and that's trivial to add once dpkg recognises the architecture
> (remember that you have to get it added in stable, since dak uses the
> stable version to validate the architecture list in an upload).

Fortunately that was done, so stable dpkg recognises arm64ilp32

> The only dependencies on kernel image packages are (or should be) from
> the corresponding metapackages.  Once those are installed, upgrades
> should work automatically.  However, d-i and vmdb will need to be
> changed to add the foreign architecture and install a foreign kernel
> metapackage.

Right. Makes sense. Thanks.

Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/

[toc] | [prev] | [next] | [standalone]


#58875 — Processed: Re: Bug#874536: linux: arm64ilp32 support

Fromowner@bugs.debian.org (Debian Bug Tracking System)
Date2017-09-07 16:00 +0200
SubjectProcessed: Re: Bug#874536: linux: arm64ilp32 support
Message-ID<un5vz-A2-5@gated-at.bofh.it>
In reply to#58868
Processing control commands:

> tag -1 upstream
Bug #874536 [src:linux] linux: arm64ilp32 support
Added tag(s) upstream.
> tag -1 - patch
Bug #874536 [src:linux] linux: arm64ilp32 support
Removed tag(s) patch.
> notfound -1 4.9.30-2+deb9u2.1
Bug #874536 [src:linux] linux: arm64ilp32 support
The source 'linux' and version '4.9.30-2+deb9u2.1' do not appear to match any binary packages
Ignoring request to alter found versions of bug #874536 to the same values previously set
> found -1 4.13~rc7-1~exp1
Bug #874536 [src:linux] linux: arm64ilp32 support
Marked as found in versions linux/4.13~rc7-1~exp1.

-- 
874536: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874536
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web