[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: install dpkg into arm board



On Thu, Sep 25, 2008 at 12:46:52AM -0700, augsiva wrote:
>    Is this thread alive , if so can you help in porting debian in IMX31, we
> have a board running linux in it with minimal package , but we need to
> install some debian packages supporting arm platform.So, we planned to port
> debian in it. Can i use the same bootloader for the debian also and can you
> explain in detail about how to develop debootstrap to generate a new
> rootfilesystem with debian in our IMX31 platform. please point me in correct
> direction to proceed.

Use whatever bootloader the system has.  You should be able to use
debootstrap on the system, as long as you can get a few binaries onto
the system that it needs (I think wget and a couple of others are
needed, and probably perl).

One method would be to create the base of the chroot using a debian
system (like your PC) and do:

debootstrap --verbose --arch armel --foreign sid /mnt/targetdrive/newroot http://ftp.us.debian.org/debian

Then boot the system on an arm, and use chroot to finish the setup
chroot /newroot /debootstrap/debootstrap --second-stage

There are lots of ways to use debootstrap, either running it all on the
target, or running part on a different host, and just the second stage
on the target.  It might even be possible to run the second stage in
qemu and have a completely ready rootfs to mount from whatever kernel
you already have for the system.

-- 
Len Sorensen


Reply to: