From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-x22a.google.com (mail-oi0-x22a.google.com [IPv6:2607:f8b0:4003:c06::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 3CF203B2E4 for ; Wed, 22 Jun 2016 09:15:10 -0400 (EDT) Received: by mail-oi0-x22a.google.com with SMTP id u201so21171386oie.0 for ; Wed, 22 Jun 2016 06:15:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc; bh=hDLGCDORLC6LIBwkOsnOHdsO7YwKqcEe/vjXFHCSzZI=; b=b6PkZG/GqLyd8cpnGEY7rsqhHJfjmifPrL+PNaKnJJEVrQPtCzFh0oz9vidRYXF4JE 0byUzyQuNsLIc6gGyFVOLbeBNJDDkd1qIRfRm8xZTRIBa9UVlYk++MTP7yOmgU+ZvtMG PqkpNgGnU0gKlxSFEqRR6AVGU05Vbe6xMFfES4TsINM39puCjUqINhTsCNE/mLQ5wNw1 7/fP0gfvE4hoxAHG0J0v7JAew9g5+ibt/w3OXxxqFu0HBxdoRkfLVsibssB94s/GCLxs lr/umSo3sTxZbQY9WtRtT1okCsj1XrwUkBRkUI9LxaaRlS5ZVbN9qNYc7OJ0I5cyY+VV UoFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=hDLGCDORLC6LIBwkOsnOHdsO7YwKqcEe/vjXFHCSzZI=; b=hbkYj3JGhKGSnuThx1tDGbEGoLx85Kd5izRqCJa0XoAYcNmgPHPUK7jIDlYvhnVMIP IPwdsbnuiO0CQrqDXlnuYNOQa6OHKLH0hjWTr4WhbqY3Ti3cfBhQ7jPxnDF5fMXikzk9 dt2dU3oNIf2Dn1LDEzJyjrNBNK9fDkIXusd2juCsedkKRp8kfKZLAEZd2NiAAVkF0Pga tw6o/n2ua1DEo2yMACWFQ6e3LmqY4JHnnR/9yjCBDrOOwwmHjBFVnxFEUzGvblmYtkSZ imYYpbfjyJazJOmWFvuLdCl3NEsetkD74lgV3DSHR9a6RMtF+0SPq5S5HLnLyEDiU+v+ Shlw== X-Gm-Message-State: ALyK8tJckbg7guY/MmNMxeJjWyWJAByIyMAxhLRmOGJSrk70whBa+HQi1lam74bKKOTTlI83w45ozfp5LtzrCA== X-Received: by 10.157.19.77 with SMTP id q13mr1873569otq.146.1466601309395; Wed, 22 Jun 2016 06:15:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.59.197 with HTTP; Wed, 22 Jun 2016 06:15:08 -0700 (PDT) Reply-To: zoobab@gmail.com In-Reply-To: <878txxid3l.wl-jch@pps.univ-paris-diderot.fr> References: <87lh1xihnv.wl-jch@pps.univ-paris-diderot.fr> <878txxid3l.wl-jch@pps.univ-paris-diderot.fr> From: Benjamin Henrion Message-ID: To: Juliusz Chroboczek Cc: Dave Taht , "babel-users@lists.alioth.debian.org" , "cerowrt-devel@lists.bufferbloat.net" Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Mon, 30 Mar 2020 07:21:14 -0400 Subject: Re: [Cerowrt-devel] Cross-compiling to armhf X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Wed, 22 Jun 2016 13:15:10 -0000 X-Original-Date: Wed, 22 Jun 2016 15:15:08 +0200 X-List-Received-Date: Wed, 22 Jun 2016 13:15:10 -0000 On Wed, Jun 22, 2016 at 3:10 PM, Juliusz Chroboczek 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 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."