Re: Setting up a Build System for ARMEL packages
- To: Jeff Hoogland <JeffHoogland@linux.com>
- Cc: firstname.lastname@example.org
- Subject: Re: Setting up a Build System for ARMEL packages
- From: Rudy Godoy Guillén <email@example.com>
- Date: Tue, 14 Jun 2011 16:23:08 +0000
- Message-id: <BANLkTi=fgp71BMimWb4Cvfp0NitwyQcdsw@mail.gmail.com>
- In-reply-to: <BANLkTi=LHi6S46FktHvsDZfsDdyHoyxxQg@mail.gmail.com>
- References: <BANLkTi=LHi6S46FktHvsDZfsDdyHoyxxQg@mail.gmail.com>
On Mon, Jun 13, 2011 at 10:30 PM, Jeff Hoogland <JeffHoogland@linux.com>
I was wondering what is the best way to set up for building ARMEL packages? I've got an N900 and I've got an Android tablet in the mail - it is simplest to just build on those systems themselves or will it be better in the long run to get some sort of build system going on my plain old laptop?
I've spent the last couple days trying to get a QEMU working but kept running into various road blocks. I finally got a chroot ARM environment setup with QEMU, however when I try to run dpkg-depcheck -d I get and strace failure and a QEMU failure message.
Maybe I come late, but as part of my GSoC project I was able to create an updated Debian ARM image that can be run using qemu-system-arm. Not much trouble following Aurel's howto with minor tweaks such you now can use directly kernels from Debian archive.
You might want to use:
qemu-system-arm -M versatilepb -kernel vmlinuz-2.6.32-5-versatile -initrd initrd.gz -hda disk.img -append "root=/dev/ram"
initrd and kernel are Debian installer's from archive.
qemu-system-arm -M versatilepb -kernel vmlinuz-2.6.32-5-versatile -initrd initrd.img-2.6.32-5-versatile -hda disk.img -append "root=/dev/sda1"
disk.img is a clean install and you can use the same kernel used for installing. Initrd should be changed.
Hope this helps.