Hello,

On Mon, Jun 13, 2011 at 10:30 PM, Jeff Hoogland <[email protected]>wrote:

> Howdy All,
>
> 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[1] with minor tweaks such you now can use
directly kernels from Debian archive.

1- http://www.aurel32.net/info/debian_arm_qemu.php

You might want to use:
For installing:
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.

-- 
Rudy Godoy
http://stone-head.org

Reply via email to