Quote:
I'm preparing an article for a Linux magazine in Italy, I'm really interested to test the floating point benckmark with the iMX floating point hardware.
How to do that?
Hello,
I quick guide...
1. Get an SD card, and make a couple partitions.
2. Get one partition with kernel image
3. Get rootfs on the other partition:
3.1. armhf
Code:
$ sudo debootstrap --foreign --arch=armhf unstable test-armhf
http://emdebian.org/ports/grip
$ sudo cp /usr/bin/qemu-arm-static test-armhf/usr/bin/
$ sudo chroot test-armhf/ /debootstrap/debootstrap --second-stage
If debootstrap way fails, you can also try to use multistrap from Debian (I think it is also in Ubuntu)
Code:
$ multistrap -f armhf.conf
$ sudo cp /usr/bin/qemu-arm-static test-armhf/usr/bin/
$ sudo chroot armhf-rootfs/ dpkg --configure -a
where armhf.conf can be:
For emdebian.org + debian-ports.org,
Code:
# Example multistrap configuration file for a sid build chroot
# Need to use cascading to select the toolchain for a cross arch.
[General]
arch=armhf
directory=armhf-emdebian
# same as --tidy-up option if set to true
cleanup=true
# same as --no-auth option if set to true
# keyring packages listed in each debootstrap will
# still be installed.
noauth=true
# extract all downloaded archives (default is true)
unpack=true
# the order of sections is not important.
# the debootstrap option determines which repository
# is used to calculate the list of Priority: required packages.
debootstrap=Emdebian Ports-unreleased Ports-unstable
aptsources=Emdebian
[Emdebian]
packages=apt dpkg-dev
source=
http://emdebian.org/ports/grip
keyring=emdebian-archive-keyring
components=main dev doc java
suite=unstable
omitdebsrc=true
[Ports-unreleased]
packages=
source=
http://ftp.debian-ports.org/debian
keyring=debian-ports-archive-keyring
suite=unreleased
omitdebsrc=true
[Ports-unstable]
packages=
source=
http://ftp.debian-ports.org/debian
keyring=debian-ports-archive-keyring
suite=unstable
omitdebsrc=true
Then you can boot the machine and run any test. I would be very happy to know the results.
More info on emdebian:
http://emdebian.org/ports/
Best Regards