Re: EmDebian on a Ubiquiti RouterStation Pro

Lisandro Damián Nicanor Pérez Meyer <[email protected]>
Newsgroups gmane.linux.debian.devel.embedded
Message-ID <[email protected]>
Hi David!

On Vie 01 Jul 2011 05:24:46 David Goodenough escribió:
[snip]
> I have not done this with a routerstation pro, but I have used the non-pro
> version.
> 
> What I did was to build a kernel using openwrt (it has all the necessary
> patches to support the hardware) and then built a root file system on a USB
> stick using debootstrap.
> 
> As 2GB USB sticks, or SD cards are quite cheap I have not tried doing this
> with EmDebian, but straight vanilla Debian.
> 
> On the openwrt build I specify the USB stick on the kernel command line.
> 
> You also want to copy the /lib directory from the openwrt build into the
> root file system, and you will probably want swconfig as well for the
> ethernet switch.
> 
> Seems to work, even though the given wisdom is that mixing a kernel from
> one build with a root file system from another is not wise.

I did exactly the same approach, although I am still using the kernel and 
kernel modules' from debwrt.

So far I have been able to create a rootfs with multistrap, and thanks to 
Héctor who presented me qemu-*-static, I have been able to (almost) configure 
the rootfs. I still have some issues wich I'll try to solve today (I think 
they are related to setting up some variables before attempting to run dpkg --
configure -a, I remember I have read a wiki page about that).

The system boots, although I haven been able to properly mount the rootfs 
(without running dpkg --configure -a, it would mount as ro, with the not-so-
well configured rootfs I am getting a fs error).

Let's see what I can achieve today :-)

Kinds regards, Lisandro.

-- 
Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAABCAAGBQJODeGUAAoJEKtkX0BihqfQFBsQAIw0Kys69DbMBONPyNRbcSfb
/YPfq2JDsecZQsyVsqj8AANAysxLzN4TsHKMswn+HFXPncNwHT6Q9mv0vdnOFA9C
tCxDfLcwLjffRgdfmlU6FFmSlTj9KPNtwoUE9hQsSzFT//q5p4q79iYaclk7xquH
BPtOgD25bQHyEKQz1wfoswwZAn1MqpznHvszCq7nQXAUBR2HhVMMqfOaELb46nS3
xInogendjhor3oPABGyYSn9G0iSq+pfLDT7/zGP4J+K39/BcOATz0ag1Sk9d4WlN
vUt5d0WthQZ5bFjpLuqA5gGrJACgUZOHBWuUvKTdy6duHcSQHrmxs7Kv9HJn7i36
UcMEKwJePMPGing47LJZxU+ZH1pc8EY5bWC3DioWhOl90+rezZaKqyP2LTOWCzVx
m+loIG2DIDQVuqc2v1oP4JKm3wdNEx4OHbBUQ3EPIhNuTIxPnPV3DR77y1K431Gr
yk/fEJR31pMRkr0atjseKg4HoAPmnWLB9kHK+YFQYh7rdvgi8nzcb1aSmLnb8Ofv
zJsrk/FIcNXzQDvU4LwVo8ax69CmFwrc3AOrL71G1GxpyuKgxnceYajW2SS4L+Il
QO3v3r0gG4gjHlTKvOg6oyRpbwnnSotiwXzq8u6SDSWt/B7VbTVaB+PDBl+cm4Wd
tDUfG2S6gO1bhS5QE9yD
=2V9N
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.