Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Benjamin Henrion <zoobab@gmail.com>
To: Juliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
Cc: Dave Taht <dave.taht@gmail.com>,
	 "babel-users@lists.alioth.debian.org"
	<babel-users@lists.alioth.debian.org>,
	 "cerowrt-devel@lists.bufferbloat.net"
	<cerowrt-devel@lists.bufferbloat.net>
Subject: Re: [Cerowrt-devel] Cross-compiling to armhf
Date: Wed, 22 Jun 2016 13:15:10 -0000	[thread overview]
Message-ID: <CANjd3nfGbpPtovZNft0bTNkt-Bjz5rTOQZC59YiZGSxWQjL8Vg@mail.gmail.com> (raw)
In-Reply-To: <878txxid3l.wl-jch@pps.univ-paris-diderot.fr>

On Wed, Jun 22, 2016 at 3:10 PM, Juliusz Chroboczek
<jch@pps.univ-paris-diderot.fr> wrote:
>> you could also run the following qemu+docker trick,
>
> That's like taking a machine gun to a knife fight ;-)
>
> Just set up a chroot (I like deboostrap, but you could simply copy the
> contents of the device's rootfs), and do
>
>   sudo apt-get install qemu-user-static
>   sudo cp /usr/bin/qemu-arm-static ~/chroot/usr/bin/
>   sudo chroot ~/chroot
>
> and everything should work (but check /proc/sys/fs/binfmt_misc/qemu-arm
> first).

Do not forget:

mount --bind /dev ~/chroot/dev
mount --bind /dev/pts ~/chroot/dev/pts
mount --bind /proc ~/chroot/proc
mount --bind /sys ~/chroot/sys

But with the docker machine gun it is there.

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."

  reply	other threads:[~2016-06-22 13:15 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-21 23:54 [Cerowrt-devel] beaglebone green wireless boards now available Dave Taht
2016-06-22 11:31 ` [Cerowrt-devel] Cross-compiling to armhf [was: beaglebone green wireless boards...] Juliusz Chroboczek
2016-06-22 12:08   ` [Cerowrt-devel] [Babel-users] " Benjamin Henrion
2016-06-22 13:10     ` [Cerowrt-devel] Cross-compiling to armhf Juliusz Chroboczek
2016-06-22 13:15       ` Benjamin Henrion [this message]
2016-06-22 20:38         ` Juliusz Chroboczek
2016-06-22 16:38   ` [Cerowrt-devel] Cross-compiling to armhf [was: beaglebone green wireless boards...] Dave Taht
2016-06-23 22:10     ` Juliusz Chroboczek
2016-06-23 22:45       ` Dave Taht
2016-06-23 22:57         ` Juliusz Chroboczek
2016-06-23 23:13           ` Dave Taht
2016-06-24  0:02             ` [Cerowrt-devel] Why we are discussing ARM [was: Cross-compiling to armhf] Juliusz Chroboczek
2016-06-24  2:37               ` Jonathan Morton
2016-06-24 11:04                 ` Juliusz Chroboczek
2016-06-24 16:36                   ` Eric Johansson
2016-06-24 20:27                     ` David Lang
     [not found]               ` <E1bH8oe-0000Wv-EO@stardust.g4.wien.funkfeuer.at>
2016-06-26 17:59                 ` [Cerowrt-devel] [Babel-users] " Juliusz Chroboczek
2016-06-26 19:02                   ` Baptiste Jonglez
2016-06-26 19:58                     ` Jonathan Morton
2016-06-26 20:03                     ` Juliusz Chroboczek
2016-06-23 23:20           ` [Cerowrt-devel] Cross-compiling to armhf [was: beaglebone green wireless boards...] Jonathan Morton
2016-06-23 23:27             ` Dave Taht
2016-06-23 23:42               ` Dave Taht
2016-06-24 16:25                 ` Eric Johansson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANjd3nfGbpPtovZNft0bTNkt-Bjz5rTOQZC59YiZGSxWQjL8Vg@mail.gmail.com \
    --to=zoobab@gmail.com \
    --cc=babel-users@lists.alioth.debian.org \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=dave.taht@gmail.com \
    --cc=jch@pps.univ-paris-diderot.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox