Odp: Własna kompilacja openwrt
Ty to wiesz podczas kompilacji przecież.
PS. nie zrzucaj plików na takie serwisy, nie każdemu chce się czekać na to. Masz całą masę innych serwisów od udostępniania treści.
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Oprogramowanie / Software → Własna kompilacja openwrt
Strony Poprzednia 1 2 3 4 5 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
Ty to wiesz podczas kompilacji przecież.
PS. nie zrzucaj plików na takie serwisy, nie każdemu chce się czekać na to. Masz całą masę innych serwisów od udostępniania treści.
To z postu #47 się dowiem? :>
Tak, kernel Ci się nie kompiluje. Co jest jest nieprawdą bo ja kompiluje prawie codziennie trunka dla ar71xx i działa. Więc make dirclean zrób....
Nie nie...
Jak kompilowalem obraz dla znajomego z innymi usawieniami dla tp-link tl-wr1043nd to poszlo, a jak kompiluje dla siebie dla d-linka to stoi. Roznia sie tylko ustawieniami w pliku .config zrobionymi za pomoca make menuconfig. ;/
No widzisz, kompilowałeś idzie. Wiec zaznaczyłeś coś co nie chce się kompilować. Zrób diffa z configów i będziesz wiedział.
Łatwo napisać.
Tam generalnie są kompilowane różne pakiety w tych obrazach... Więc jest sporo, albo i same różnice... To widzę, że chyba tylko na czuja.
Kernel, sekcja netfilter/network.
w pliku .config sa tylko 4 pozycje z netfilter:
# CONFIG_PACKAGE_kmod-ledtrig-netfilter is not set
oraz
# CONFIG_PACKAGE_libnetfilter-conntrack is not set
# CONFIG_PACKAGE_libnetfilter-log is not set
# CONFIG_PACKAGE_libnetfilter-queue is not set
no i zadne nie jest kompilowane...
chyba, ze chodzi o to:
Kernel -> Netfilter
<*> kmod-ipt-filter.................... Modules for packet content inspection
<*> kmod-ipt-iprange........................... Module for matching ip ranges
<*> kmod-ipt-nat-extra..................................... Extra NAT targets
<*> kmod-ipt-nathelper....................... Basic Conntrack and NAT helpers Gdzie moge znaleść gotowy plik .config do wlasnej kompilacji na edimaxa
W konfiguratorze jest tyle opcji ze latwo sie walnac
Jak wybierzesz samodzielnie daną architekturę to zaznacza się minimum wymagane. Skompiluj takie coś i masz podstawę.
Powyłączałem wszystko w Kernel/network i Kernel/netfilter i dalej nie idzie kompilacja. ;/ Co to jeszcze moze byc?
make dirclean?
To samo... Dramat normalnie.
Wcale nie. Trunk normalnie się kompiluje.
moze i kompiluje sie... ale nie w tym przypadku (str. 2). jesli masz ochote to sprawdz u siebie i daj znac. ja juz probowalem chyba na wszystkie sposoby...
W pliku package/kernel/modules/netsupport.mk wywal linię z CONFIG_NET_ACT_CONNMARK i się skompiluje.
no to jakiś dramat jest... zrobilem tak jak mowiles i...
--------------------------------------------------
You will probably need to make your busybox binary
setuid root to ensure all configured applets will
work properly.
--------------------------------------------------
make[4]: Leaving directory `/home/coverek/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/busybox-1.18.4'
touch /home/coverek/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/busybox-1.18.4/.built
mkdir -p /home/coverek/openwrt/trunk/bin/ar71xx/packages /home/coverek/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/busybox-1.18.4/ipkg-ar71xx/busybox/CONTROL
install -d -m0755 /home/coverek/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/busybox-1.18.4/ipkg-ar71xx/busybox/etc/init.d
cp -fpR /home/coverek/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/busybox-1.18.4/ipkg-install/* /home/coverek/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/busybox-1.18.4/ipkg-ar71xx/busybox/
for tmp in cron telnet; do install -m0755 ./files/$tmp /home/coverek/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/busybox-1.18.4/ipkg-ar71xx/busybox/etc/init.d/$tmp; done
rm -rf /home/coverek/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/busybox-1.18.4/ipkg-ar71xx/busybox/lib64
find /home/coverek/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/busybox-1.18.4/ipkg-ar71xx/busybox -name 'CVS' -o -name '.svn' -o -name '.#*' | xargs -r rm -rf
NM="mips-openwrt-linux-uclibc-nm" STRIP="/home/coverek/openwrt/trunk/staging_dir/host/bin/sstrip" STRIP_KMOD="mips-openwrt-linux-uclibc-strip --strip-unneeded -R .comment -R .pdr -R .mdebug.abi32 -R .note.gnu.build-id -R .gnu.attributes -R .reginfo -x" /home/coverek/openwrt/trunk/scripts/rstrip.sh /home/coverek/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/busybox-1.18.4/ipkg-ar71xx/busybox
rstrip.sh: /home/coverek/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/busybox-1.18.4/ipkg-ar71xx/busybox/bin/busybox:executable
( echo "Package: busybox"; echo "Version: 1.18.4-1"; DEPENDS=''; for depend in ; do DEPENDS=${DEPENDS:+$DEPENDS, }${depend##+}; done; echo "Depends: $DEPENDS"; echo "Provides: "; echo "Source: package/busybox"; echo "Section: base"; echo "Status: unknown ok not-installed"; echo "Essential: yes"; echo "Priority: optional"; echo "Maintainer: Nicolas Thill <nico@openwrt.org>"; echo "Architecture: ar71xx"; echo "Installed-Size: 0"; echo -n "Description: "; . /home/coverek/openwrt/trunk/include/shell.sh; getvar V_Package_busybox_description | sed -e 's,^[[:space:]]*, ,g'; ) > /home/coverek/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/busybox-1.18.4/ipkg-ar71xx/busybox/CONTROL/control
chmod 644 /home/coverek/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/busybox-1.18.4/ipkg-ar71xx/busybox/CONTROL/control
. /home/coverek/openwrt/trunk/include/shell.sh; (cd /home/coverek/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/busybox-1.18.4/ipkg-ar71xx/busybox/CONTROL; )
ipkg-build -c -o 0 -g 0 /home/coverek/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/busybox-1.18.4/ipkg-ar71xx/busybox /home/coverek/openwrt/trunk/bin/ar71xx/packages
Packaged contents of /home/coverek/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/busybox-1.18.4/ipkg-ar71xx/busybox into /home/coverek/openwrt/trunk/bin/ar71xx/packages/busybox_1.18.4-1_ar71xx.ipk
rm -rf /home/coverek/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/root-ar71xx/tmp-busybox
mkdir -p /home/coverek/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/root-ar71xx/stamp /home/coverek/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/root-ar71xx/tmp-busybox
install -d -m0755 /home/coverek/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/root-ar71xx/tmp-busybox/etc/init.d
cp -fpR /home/coverek/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/busybox-1.18.4/ipkg-install/* /home/coverek/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/root-ar71xx/tmp-busybox/
for tmp in cron telnet; do install -m0755 ./files/$tmp /home/coverek/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/root-ar71xx/tmp-busybox/etc/init.d/$tmp; done
rm -rf /home/coverek/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/root-ar71xx/tmp-busybox/lib64
SHELL= /home/coverek/openwrt/trunk/staging_dir/host/bin/flock /home/coverek/openwrt/trunk/tmp/.root-copy.flock -c 'cp -fpR /home/coverek/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/root-ar71xx/tmp-busybox/. /home/coverek/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/root-ar71xx/'
rm -rf /home/coverek/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/root-ar71xx/tmp-busybox
touch /home/coverek/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/root-ar71xx/stamp/.busybox_installed
make[3]: Leaving directory `/home/coverek/openwrt/trunk/package/busybox'
make[2]: Leaving directory `/home/coverek/openwrt/trunk'
make[1]: *** [/home/coverek/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/coverek/openwrt/trunk'
make: *** [world] Błąd 2Build z configiem który dałeś, po poprawce w źródłach kompiluje się poprawnie. Wiec ściągnij źródła jeszcze raz i kompiluj od czysta wszystko.
Dalem wsyzstko od nowa + kompilacja na jednym procesorze i poszlo. Tylko dlaczego nie chcialo isc z tym czyms i czy nie bedzie przeszkadzal brak CONFIG_NET_ACT_CONNMARK w obrazie? ![]()
Zmienił florian connmarka i coś chyba nie do końca to zrobić. W każdym razie nie kompiluje się poprawie i zgłoszone są uwagi pod tym względem.
podczas kompilacji powstaje katalog z pakietami, powiedzcie mi jak później z nich skorzystać tj np wrzucić na extroota i można instalować z nich??? gdzie to wyrzucić.
pozdr
Normalnie instalujesz, przez opkg install. W faq to masz, w podwieszonym wątku.
A wrzucasz jak chcesz, przez ftp/scp/sambę.
skompilowałem obraz pod dir-825 i mam takie pliki:
openwrt-ar71xx-generic-nbg460n_550n_550nh-u-boot.bin
openwrt-ar71xx-generic-root.jffs2-64k
openwrt-ar71xx-generic-root.jffs2-128k
openwrt-ar71xx-generic-root.squashfs
openwrt-ar71xx-generic-root.squashfs-4k
openwrt-ar71xx-generic-rootfs.tar.gz
openwrt-ar71xx-generic-uImage-gzip.bin
openwrt-ar71xx-generic-uImage-lzma.bin
openwrt-ar71xx-generic-vmlinux.gz
openwrt-ar71xx-generic-vmlinux.lzma...ktory wykorzystac do sysupgrade?
Żaden! Nie zrobił ci się obraz, pewnie za dużo tam włozyłeś i przekroczyłeś rozmiar flasha, a system odmówił wygenerowania takiego obrazu.
Strony Poprzednia 1 2 3 4 5 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Oprogramowanie / Software → Własna kompilacja openwrt
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc