A1-X1000: Debian64

AmigaOne X1000 platform specific issues related to Linux only.
Post Reply
User avatar
xeno74
Posts: 9387
Joined: Fri Mar 23, 2012 7:58 am

A1-X1000: Debian64

Post by xeno74 »

If you install Debian on your A1-X1000, then you get a 32-bit userland with a 64-bit kernel. But it is possible to install a 64-bit userland. :-)

Image

Please install the following packages:

1. debootstrap
2. libc6-ppc64
3. libc6-dev-ppc64
4. socat

Setting up a ppc64 chroot on your ppc32 system:

Code: Select all

debootstrap --no-check-gpg --arch=ppc64 --variant=buildd sid /chroots/sid-ppc64 http://ftp.de.debian.org/debian-ports

Code: Select all

chroot /chroots/sid-ppc64

Code: Select all

mount -t proc proc /proc
Install the 'debian-ports-archive-keyring' package:

Code: Select all

apt-get install debian-ports-archive-keyring

Code: Select all

apt-get update

Code: Select all

apt-get install xorg
Close your 64-bit chroot environment:

Code: Select all

exit
If you want to use your X server for the chroot environment, then you have to open a TCP port for the chroot X clients:

Code: Select all

socat -d -d TCP-LISTEN:6000,fork,reuseaddr,range=127.0.0.1/8 UNIX-CONNECT:/tmp/.X11-unix/X0
Start your 64-bit chroot environment with X11 support:

Code: Select all

DISPLAY=127.0.0.1:0.0 chroot /chroots/sid-ppc64
And now you can use 64-bit programs on Debian. :-)
Last edited by xeno74 on Sun Jul 13, 2014 8:25 pm, edited 4 times in total.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
tommysammy
Posts: 946
Joined: Mon Dec 20, 2010 9:03 pm
Location: Isselburg,Germany
Contact:

Re: A1-X1000: Debian64

Post by tommysammy »

Nice is it for Ubuntu possible too?
AmigaOne X1000 Betatester A1-X1090
AmigaOne X1000/4GB Ram/Saphire Radeon 7850 1GB/256GB SSD HD/2GB CF Card/RTL8169Network
User avatar
xeno74
Posts: 9387
Joined: Fri Mar 23, 2012 7:58 am

Re: A1-X1000: Debian64

Post by xeno74 »

tommysammy wrote:Nice is it for Ubuntu possible too?
I'm not sure but I think it could be possible.

Iceweasel 64-bit on the Debian 64-bit chroot environment:

Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9387
Joined: Fri Mar 23, 2012 7:58 am

Re: A1-X1000: Debian64

Post by xeno74 »

The 64-bit and 32-bit version of Iceweasel side by side:
Debian64_A1-X1000-2.png
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
trevordick
A-Eon Technology
A-Eon Technology
Posts: 1385
Joined: Mon Dec 20, 2010 1:28 pm

Re: A1-X1000: Debian64

Post by trevordick »

Cool! :-)

Do you notice any performance difference between the 32-bit and 64-bit versions?

Trevor
I'm just Breezin'
User avatar
xeno74
Posts: 9387
Joined: Fri Mar 23, 2012 7:58 am

Re: A1-X1000: Debian64

Post by xeno74 »

trevordick wrote:Cool! :-)

Do you notice any performance difference between the 32-bit and 64-bit versions?

Trevor
Until not now but I'm going to investigate this.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply