Page 1 of 1

A1-X1000: Debian64

Posted: Sun Jul 13, 2014 7:06 pm
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. :-)

Re: A1-X1000: Debian64

Posted: Sun Jul 13, 2014 8:26 pm
by tommysammy
Nice is it for Ubuntu possible too?

Re: A1-X1000: Debian64

Posted: Sun Jul 13, 2014 10:37 pm
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

Re: A1-X1000: Debian64

Posted: Sun Jul 13, 2014 11:17 pm
by xeno74
The 64-bit and 32-bit version of Iceweasel side by side:
Debian64_A1-X1000-2.png

Re: A1-X1000: Debian64

Posted: Mon Jul 14, 2014 6:32 am
by trevordick
Cool! :-)

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

Trevor

Re: A1-X1000: Debian64

Posted: Mon Jul 14, 2014 5:53 pm
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.