Eigene OpenWRT Firmware kompilieren

Aus Laub-Home.de Wiki
Zur Navigation springen Zur Suche springen
mkdir -p /srv/kamikaze-trunk/
cd /srv/kamikaze-trunk/
svn checkout svn://svn.openwrt.org/openwrt/trunk/ .
make menuconfig
make V=99 ; echo -e '\a'

Hier liegen dann die firmware files:

ls -l /srv/kamikaze-trunk/bin

-rw-r--r-- 1 root root 3343360 2009-09-18 22:15 code.bin
-rw-r--r-- 1 root root     874 2009-09-21 21:49 md5sums
-rw-r--r-- 1 root root 2714431 2009-09-21 21:49 openwrt-ar71xx-rootfs.tgz
-rw-r--r-- 1 root root 3801088 2009-09-21 21:49 openwrt-ar71xx-root.jffs2-128k
-rw-r--r-- 1 root root 3670016 2009-09-21 21:48 openwrt-ar71xx-root.jffs2-64k
-rw-r--r-- 1 root root 2359296 2009-09-21 21:49 openwrt-ar71xx-root.squashfs
-rw-r--r-- 1 root root 2113540 2009-09-21 21:49 openwrt-ar71xx-root.squashfs-4k
-rw-r--r-- 1 root root 1142030 2009-09-21 21:48 openwrt-ar71xx-uImage-gzip.bin
-rw-r--r-- 1 root root  832756 2009-09-21 21:48 openwrt-ar71xx-uImage-lzma.bin
-rwxr-xr-x 1 root root 2527744 2009-09-21 21:48 openwrt-ar71xx-vmlinux.bin
-rwxr-xr-x 1 root root 2594392 2009-09-21 21:48 openwrt-ar71xx-vmlinux.elf
-rw-r--r-- 1 root root 1179648 2009-09-21 21:48 openwrt-ar71xx-vmlinux.gz
-rw-r--r-- 1 root root  851968 2009-09-21 21:48 openwrt-ar71xx-vmlinux.lzma
-rw-r--r-- 1 root root 4850688 2009-09-21 21:49 openwrt-ar71xx-wrt160nl-jffs2.bin
-rw-r--r-- 1 root root 3474432 2009-09-21 21:49 openwrt-ar71xx-wrt160nl-squashfs.bin
drwxr-xr-x 3 root root    1024 2009-08-29 21:26 packages

von all diesen Dateien kann eins dieser Beiden verwendet werden:

openwrt-ar71xx-wrt160nl-jffs2.bin
openwrt-ar71xx-wrt160nl-squashfs.bin

Ich nutze das squashfs, warum, Keine Ahnung.