Compiling OpenWRT and Debian first I wanted to compile Debian and run in chroot. It complained about floating point processor. So I wanted to compile OpenWRT with floating point proc included, but could not realize it. Here are steps I did. ============================================= Compile OpenWRT mkdir OpenWrt/ cd OpenWrt/ svn co svn://svn.openwrt.org/openwrt/tags/backfire_10.03 make defconfig make menuconfig make Or another try http://wiki.freifunk.net/OpenWrt_Buildroot apt-get install subversion build-essential binutils flex bison apt-get install autoconf gettext texinfo sharutils subversion apt-get install ncurses-dev zlib1g-dev rsync gawk unzip screen apt-get install mc rsync tcpdump net-tools tftpd wget svn co svn://svn.openwrt.org/openwrt/trunk/ cd trunk or cd backfire make menuconfig V=99 make V=99 cp feeds.conf.default feeds.conf src-svn luci http://svn.luci.subsignal.org/luci/tags/0.8.6/contrib/package src-svn luci http://svn.luci.subsignal.org/luci/trunk/contrib/package src-svn luci http://svn.luci.subsignal.org/luci/tags/0.9.0/contrib/package http://wiki.openwrt.org/doc/howto/buildroot.exigence Advanced configuration options (for developers) --> Target Options --> Use software floating point by default https://forum.openwrt.org/viewtopic.php?pid=114389#p114389 my attempts were not successful. For just a few MB of code, it took hours to download all sources and toolchains. And then compilation run and finally produced something with errors. Waste of time... ============================================================================= Attempt to compile an install Debian. As OpenWRT is somewhat screwed up Linux. For example in OpenWRT webcam resolution given by mjpg-streamer is 640x480, but I have HD webcam Logitech C510. And I know in Debian it works with HD resolution. To move ahead will tell that Debian Did not run, get an error I tried to build Debian on USB stick and then chroot but unsuccessfully MIPSEL compilation said error in code, so it is not mipsel, probably. MIPS compilation said, "FPU emulator disabled, make sure your toolchain was compiled with software floating point support (soft-float)" http://www.hwhack.com/network-devices/booting-debian-on-linksys-wrt54gl-a-complete-howto-t866.html http://wiki.debian.org/DebianWRT http://wpkg.org/Running_Debian_on_ASUS_WL-500G_deluxe tried similar like in fritzbox tune2fs -c0 -i0 /dev/sda2 mount -t proc proc /mnt/2gb/proc/ mount -o bind /dev/ /mnt/2gb/dev mount -t devpts devpts /mnt/2gb/dev/pts chroot /mnt/2gb bash mount -t ext4 /dev/sda1 /mnt/2gb chroot /mnt/2gb/ FPU emulator disabled, make sure your toolchainwas compiled with software floating point support (soft-float) debootstrap --arch mips lenny /mnt/2gb/aaa http://ftp.de.debian.org/debian debootstrap --arch mipsel --foreign etch /space/debian-mipsel http://ftp.fr.debian.org/debian ------------------------------------------------------------- http://www.linutop.com/wiki/index.php/Tutorials/Debootstrap CHROOT=/opt/debootstrap mkdir $CHROOT mount /dev/sda3 $CHROOT apt-get install debootstrap debootstrap hardy $CHROOT debootstrap --arch mips lenny $CHROOT debootstrap --float-soft --arch mips --foreign lenny $CHROOT chroot $CHROOT cat /etc/lsb-release # we are in the new system exit sudo nano $CHROOT/etc/apt/sources.list deb http://archive.ubuntu.com/ubuntu hardy main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse apt-get update apt-get dist-upgrade apt-get install linux-headers-generic linux-restricted-modules-generic linux-restricted-modules-generic apt-get install linux-image-generic apt-get install grub mkdir /boot/grub update-grub nano /boot/grub/menu.lst ................................. works on router opkg install debootsrap Unknown compression type for in .//var/cache/apt/archives/libacl1_2.2.47-2_mips.deb http://forum.qnap.com/viewtopic.php?p=88354 opkg install binutils opkg -force-overwrite install binutils I got stuck and abandoned idea to compile.