OpenWrt Forum Archive

Topic: compile openwrt, how to obtain an .image file

The content of this topic has been archived on 6 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I'm trying to compile the openwrt (8.09) for my fon2202, but I need to obtain a final .image file, since I need to install them by ssh and not by redboot.

If I use the fon firmware I get these files, as indicated here http://trac.fonosfera.org/fon-ng/wiki/build, so I guess it is possible to be done with openwrt.

Anyone knows how? Thxs!

EDIT:

Copy and paste from wiki.fon (http://wiki.fon.com/wiki/Fonera_Development)

svn checkout http://svn.fonosfera.org/fon-ng
cd FON
cd trunk
./install.sh
cd openwrt
make menuconfig
exit
make V=99

The result can be found here : bin/openwrt-fonera.image
and installed with mtd -r write image_name image

So the only different stated to do is to run the ./install.sh script (which I have not look yet), but it's like this is not making any difference, or am I wrong?


EDIT2:

the install.sh

#!/bin/sh
cp openwrt/feeds.conf.default openwrt/feeds.conf
echo "src-link fon ${PWD}/fon" >> openwrt/feeds.conf
rm -rf openwrt/target/linux/fonera2
ln -s ../../../target/fonera2 openwrt/target/linux/
ln -s ../../luci/ fon/luci/
cd openwrt
./scripts/feeds update fon
./scripts/feeds install -a -p fon
cd ..

(Last edited by ggerard on 15 Jun 2009, 14:08)

And as I can see, in /bin directory I find an ELF file
openwrt-atheros-vmlinux.elf

However, I still need a file with the extension .image. Anyone could say something where I could put attention on?

The discussion might have continued from here.