[gelöst] kernel image ... too big

kunert0345

Neuer User
Mitglied seit
6 Mai 2008
Beiträge
22
Punkte für Reaktionen
0
Punkte
0
Code:
ERROR: kernel image is 226560 bytes too big
make: *** [firmware-nocompile] Error 1

nach dieser fehlermeldung hab ich erst einmahl im forum ge sucht und fast immer his es in der "make menuconfig" mehr pakete abzu wählen.
das hab ich auch getahen und frage mich jetzt wo die gansen bytes herkommen.

hat jemand eine idee?

P.S.: ich will aber auf jeden fall "USB-root" installieren

.config
Code:
#
# Automatically generated make config: don't edit
#
FREETZ_HAVE_DOT_CONFIG=y

#
# General --------------------------------
#
FREETZ_AVM_VERSION_04_57=y
# FREETZ_TYPE_300IP_AS_FON is not set
# FREETZ_TYPE_2170 is not set
# FREETZ_TYPE_FON is not set
# FREETZ_TYPE_FON_5010 is not set
# FREETZ_TYPE_FON_5050 is not set
# FREETZ_TYPE_FON_5140 is not set
# FREETZ_TYPE_FON_WLAN is not set
# FREETZ_TYPE_FON_WLAN_7050 is not set
# FREETZ_TYPE_FON_WLAN_7113 is not set
# FREETZ_TYPE_FON_WLAN_7140 is not set
# FREETZ_TYPE_FON_WLAN_7141 is not set
# FREETZ_TYPE_FON_7150 is not set
# FREETZ_TYPE_FON_WLAN_7170 is not set
# FREETZ_TYPE_FON_WLAN_7240 is not set
# FREETZ_TYPE_FON_WLAN_7270 is not set
# FREETZ_TYPE_WLAN_3020 is not set
# FREETZ_TYPE_WLAN_3030 is not set
# FREETZ_TYPE_WLAN_3130 is not set
# FREETZ_TYPE_WLAN_3131 is not set
FREETZ_TYPE_WLAN_3170=y
# FREETZ_TYPE_WLAN_3270 is not set
# FREETZ_TYPE_SPEEDPORT_W501V is not set
# FREETZ_TYPE_SPEEDPORT_W701V is not set
# FREETZ_TYPE_CUSTOM is not set
FREETZ_AVM_VERSION_STRING="04.57"
FREETZ_TYPE_LANG_DE=y
# FREETZ_TYPE_LANG_A_CH is not set
# FREETZ_TYPE_LANG_EN is not set
FREETZ_TYPE_LANG_STRING="de"
FREETZ_TYPE_STRING="3170"
FREETZ_INSTALL_BASE=y
FREETZ_REPLACE_BUSYBOX=y
FREETZ_REPLACE_KERNEL_AVAILABLE=y
# FREETZ_SHOW_ADVANCED is not set
FREETZ_TARGET_REF="4mb_26"
FREETZ_KERNEL_REF="4mb_26"
FREETZ_KERNEL_LAYOUT="ohio"
FREETZ_KERNEL_MTD_SIZE=59
# FREETZ_HAS_PHONE is not set
FREETZ_HAS_WLAN=y
FREETZ_HAS_USB_CLIENT=y
FREETZ_HAS_USB_HOST=y
# FREETZ_HAS_AVM_INETD is not set

#
# Mod ------------------------------------
#
FREETZ_LANG_DE=y
# FREETZ_LANG_EN is not set
FREETZ_LANG_STRING="de"

#
# Patches
#

#
# Remove Brandings
#
# FREETZ_REMOVE_BRANDING_avm is not set
FREETZ_REMOVE_HELP=y
FREETZ_REMOVE_ASSISTANT=y
# FREETZ_PATCH_SIGNED is not set
FREETZ_PATCH_USBSTORAGE=y
FREETZ_USBSTORAGE_AUTOMOUNT=y
# FREETZ_AUTOMOUNT_EXT2 is not set
# FREETZ_AUTOMOUNT_EXT3 is not set
# FREETZ_AUTOMOUNT_NTFS is not set
# FREETZ_AUTOMOUNT_REISER_FS is not set
# FREETZ_AUTORUN_AUTOEND is not set
# FREETZ_PATCH_MAXDEVCOUNT is not set
# FREETZ_PATCH_GETCONS is not set
# FREETZ_REMOVE_UPNP is not set
FREETZ_REMOVE_USERMAN=y
FREETZ_REMOVE_CAPIOVERTCP=y

#
# Package selection
#

#
# Standard packages
#
# FREETZ_PACKAGE_BFTPD is not set
# FREETZ_PACKAGE_BIRD is not set
# FREETZ_PACKAGE_BRIDGE_UTILS is not set
# FREETZ_PACKAGE_CALLMONITOR is not set
# FREETZ_PACKAGE_CHECKMAILD is not set
# FREETZ_PACKAGE_CIFSMOUNT is not set
# FREETZ_PACKAGE_CPMACCFG is not set
# FREETZ_PACKAGE_CURL is not set
# FREETZ_PACKAGE_DECO is not set
# FREETZ_PACKAGE_DNSMASQ is not set
FREETZ_PACKAGE_DROPBEAR=y
# FREETZ_PACKAGE_DROPBEAR_SERVER_ONLY is not set
# FREETZ_PACKAGE_DROPBEAR_WITH_ZLIB is not set
# FREETZ_PACKAGE_DROPBEAR_SFTP_SERVER is not set
# FREETZ_PACKAGE_DTMFBOX is not set
# FREETZ_PACKAGE_ESPEAK is not set
# FREETZ_PACKAGE_FUSE is not set
# FREETZ_PACKAGE_INETD is not set
# FREETZ_PACKAGE_KNOCK is not set
# FREETZ_PACKAGE_MC is not set
# FREETZ_PACKAGE_MINI_FO is not set
# FREETZ_PACKAGE_MTR is not set
# FREETZ_PACKAGE_NANO is not set
# FREETZ_PACKAGE_NETCAT is not set
# FREETZ_PACKAGE_NETSNMP is not set
# FREETZ_PACKAGE_NTFS is not set
# FREETZ_PACKAGE_OPENNTPD is not set
# FREETZ_PACKAGE_OPENVPN is not set
# FREETZ_PACKAGE_PINGTUNNEL is not set
# FREETZ_PACKAGE_PRIVOXY is not set
# FREETZ_PACKAGE_RCAPID is not set
# FREETZ_PACKAGE_SAMBA is not set
# FREETZ_PACKAGE_SCREEN is not set
# FREETZ_PACKAGE_STUNNEL is not set
# FREETZ_PACKAGE_TCPDUMP is not set
# FREETZ_PACKAGE_TOR is not set
# FREETZ_PACKAGE_VPNC is not set
# FREETZ_PACKAGE_VSFTPD is not set

#
# Web interface
#
# FREETZ_PACKAGE_AVM_FIREWALL is not set
# FREETZ_PACKAGE_DOWNLOADER is not set
# FREETZ_PACKAGE_NFSD_CGI is not set
# FREETZ_PACKAGE_RRDSTATS is not set
# FREETZ_PACKAGE_SPINDOWN_CGI is not set
# FREETZ_PACKAGE_SYSLOGD_CGI is not set
# FREETZ_PACKAGE_VIRTUALIP_CGI is not set
# FREETZ_PACKAGE_WOL_CGI is not set

#
# Debug helpers
#
# FREETZ_PACKAGE_LDD is not set
# FREETZ_PACKAGE_LSOF is not set
# FREETZ_PACKAGE_LTRACE is not set
# FREETZ_PACKAGE_NANO_SHELL is not set
# FREETZ_PACKAGE_PCIUTILS is not set
# FREETZ_PACKAGE_STRACE is not set
# FREETZ_PACKAGE_USBUTILS is not set

#
# Testing
#
# FREETZ_GROUP_APACHE_PHP is not set
# FREETZ_PACKAGE_BASH is not set
# FREETZ_PACKAGE_BFUSB is not set
# FREETZ_PACKAGE_BIP is not set
# FREETZ_PACKAGE_BLUEZ_UTILS is not set
# FREETZ_PACKAGE_BR2684CTL is not set
# FREETZ_PACKAGE_CTORRENT is not set
# FREETZ_PACKAGE_DAVFS2 is not set
# FREETZ_PACKAGE_DEBOOTSTRAP is not set
# FREETZ_PACKAGE_DNS2TCP is not set
# FREETZ_PACKAGE_DTACH is not set
# FREETZ_PACKAGE_E2FSPROGS is not set
# FREETZ_PACKAGE_EMPTY is not set
FREETZ_PACKAGE_FSTYP=y
# FREETZ_PACKAGE_GNU_MAKE is not set
# FREETZ_PACKAGE_HD_IDLE is not set
# FREETZ_PACKAGE_HTTPTUNNEL is not set
# FREETZ_PACKAGE_INADYN_MT is not set
# FREETZ_PACKAGE_INOTIFY_TOOLS is not set
# FREETZ_PACKAGE_IODINE is not set
# FREETZ_PACKAGE_IRSSI is not set
# FREETZ_PACKAGE_JAMVM is not set
# FREETZ_PACKAGE_LYNX is not set
# FREETZ_PACKAGE_LUA is not set
# FREETZ_PACKAGE_MADPLAY is not set
# FREETZ_PACKAGE_MATRIXTUNNEL is not set
# FREETZ_PACKAGE_MCABBER is not set
# FREETZ_PACKAGE_MICROPERL is not set
# FREETZ_PACKAGE_MODULE_INIT_TOOLS is not set
# FREETZ_PACKAGE_NAGIOS is not set
# FREETZ_PACKAGE_NFS_UTILS is not set
# FREETZ_PACKAGE_OBEXFTP is not set
# FREETZ_PACKAGE_PORTMAP is not set
# FREETZ_PACKAGE_QUAGGA is not set
# FREETZ_PACKAGE_RRDTOOL is not set
# FREETZ_PACKAGE_RUBY is not set
# FREETZ_PACKAGE_SABLEVM_SDK is not set
# FREETZ_PACKAGE_SISPMCTL is not set
# FREETZ_PACKAGE_SOCAT is not set
# FREETZ_PACKAGE_SQUID is not set
# FREETZ_PACKAGE_STREAMRIPPER is not set
# FREETZ_PACKAGE_TCP_WRAPPERS is not set
# FREETZ_PACKAGE_TINYPROXY is not set
# FREETZ_PACKAGE_TRANSMISSION is not set
# FREETZ_PACKAGE_TREE is not set
FREETZ_PACKAGE_USBROOT=y
# FREETZ_PACKAGE_VIM is not set
# FREETZ_PACKAGE_WGET is not set
# FREETZ_PACKAGE_WOL is not set
# FREETZ_PACKAGE_WPUT is not set
# FREETZ_PACKAGE_XPDF is not set
# FREETZ_PACKAGE_XRELAYD is not set
FREETZ_PACKAGE_HASERL=y
FREETZ_PACKAGE_MODCGI=y

#
# Advanced options
#
# FREETZ_DL_OVERRIDE is not set
FREETZ_DL_SITE="ftp://ftp.avm.de/fritz.box/fritzbox.wlan_3170/firmware/deutsch"
FREETZ_DL_SOURCE="fritz.box_wlan_3170.49.04.58.image"

#
# Freetz package download sites
#
FREETZ_MOD_DL_NUM_SITES="5"

#
# Download site #1 - default: http://freetz.3dfxatwork.de
#
FREETZ_MOD_DL_SITE_1="http://freetz.3dfxatwork.de"

#
# Download site #2 - default: http://freetz.wirsind.info
#
FREETZ_MOD_DL_SITE_2="http://freetz.wirsind.info"

#
# Download site #3 - default: http://freetz.magenbrot.net
#
FREETZ_MOD_DL_SITE_3="http://freetz.magenbrot.net"

#
# Download site #4 - default: empty (reserved for later use)
#
FREETZ_MOD_DL_SITE_4=""

#
# Download site #5 - user-defined
#
FREETZ_MOD_DL_SITE_5=""
FREETZ_VERBOSITY_LEVEL=0
FREETZ_FAVICON_NONE=y
# FREETZ_FAVICON_DSL123 is not set
# FREETZ_FAVICON_CUMA is not set
# FREETZ_FAVICON_HANSOLO is not set
FREETZ_FAVICON_STRING="none"
# FREETZ_SUBVERSION_STRING is not set
# FREETZ_STATUS_STYLE is not set

#
# External
#
# EXTERNAL_ENABLED is not set
# FREETZ_SQUASHFS_BLOCKSIZE_ORIG is not set
# FREETZ_SQUASHFS_BLOCKSIZE_16384 is not set
# FREETZ_SQUASHFS_BLOCKSIZE_32768 is not set
FREETZ_SQUASHFS_BLOCKSIZE_65536=y
# FREETZ_SQUASHFS_BLOCKSIZE_131072 is not set

#
# BusyBox options
#
# FREETZ_BUSYBOX_AR is not set
# FREETZ_BUSYBOX_DIFF is not set
FREETZ_BUSYBOX_INETD=y
# FREETZ_BUSYBOX_IP is not set
# FREETZ_BUSYBOX_PATCH is not set
# FREETZ_BUSYBOX_START_STOP_DAEMON is not set
FREETZ_BUSYBOX_WGET=y
# FREETZ_BUSYBOX_LESS is not set
# FREETZ_BUSYBOX_NICE is not set
# FREETZ_BUSYBOX_LS_COLOR is not set
# FREETZ_BUSYBOX_FASTPROC is not set
# FREETZ_BUSYBOX_KEYS is not set
# FREETZ_BUSYBOX_BRCTL is not set
# FREETZ_BUSYBOX_UDHCPD is not set
# FREETZ_BUSYBOX_SEQ is not set
# FREETZ_BUSYBOX_TAC is not set
# FREETZ_BUSYBOX_MDEV_RENAME is not set
# FREETZ_BUSYBOX_MOUNT_HELPERS is not set
# FREETZ_BUSYBOX_MOUNT_LABEL is not set
# FREETZ_BUSYBOX_VOLUMEID is not set

#
# Kernel modules
#

#
# crypto
#
# FREETZ_MODULE_aes is not set
# FREETZ_MODULE_arc4 is not set
# FREETZ_MODULE_sha1 is not set
# FREETZ_MODULE_sha256 is not set

#
# drivers
#
# FREETZ_MODULE_loop is not set
# FREETZ_MODULE_nbd is not set
# FREETZ_MODULE_cdrom is not set
# FREETZ_MODULE_capiconn is not set
# FREETZ_MODULE_nand is not set
# FREETZ_MODULE_ohio_nand is not set
# FREETZ_MODULE_dummy is not set
# FREETZ_MODULE_ppp_async is not set
# FREETZ_MODULE_ppp_deflate is not set
# FREETZ_MODULE_ppp_generic is not set
# FREETZ_MODULE_pppoe is not set
# FREETZ_MODULE_pppox is not set
# FREETZ_MODULE_ppp_mppe_mppc is not set
# FREETZ_MODULE_scsi_mod is not set
# FREETZ_MODULE_sd_mod is not set
# FREETZ_MODULE_sg is not set
# FREETZ_MODULE_sr_mod is not set
# FREETZ_MODULE_slhc is not set
# FREETZ_MODULE_usblp is not set
# FREETZ_MODULE_usb_storage is not set
# FREETZ_MODULE_usbmon is not set
# FREETZ_MODULE_usbcore is not set
# FREETZ_MODULE_usbip is not set
# FREETZ_MODULE_usbip_common_mod is not set
# FREETZ_MODULE_usbserial is not set
# FREETZ_MODULE_pl2303 is not set
# FREETZ_MODULE_ftdi_sio is not set
# FREETZ_MODULE_hci_usb is not set
# FREETZ_MODULE_bfusb is not set
# FREETZ_MODULE_firmware_class is not set
# FREETZ_MODULE_dm_mod is not set
# FREETZ_MODULE_dm_crypt is not set

#
# fs
#
# FREETZ_MODULE_cifs is not set
# FREETZ_MODULE_coda is not set
# FREETZ_MODULE_ext3 is not set
# FREETZ_MODULE_ext2 is not set
# FREETZ_MODULE_fat is not set
# FREETZ_MODULE_fuse is not set
# FREETZ_MODULE_jbd is not set
# FREETZ_MODULE_lockd is not set
# FREETZ_MODULE_mini_fo is not set
# FREETZ_MODULE_minix is not set
# FREETZ_MODULE_nfsd is not set
# FREETZ_MODULE_exportfs is not set
# FREETZ_MODULE_nfs is not set
# FREETZ_MODULE_nls_cp437 is not set
# FREETZ_MODULE_nls_cp852 is not set
# FREETZ_MODULE_nls_iso8859_15 is not set
# FREETZ_MODULE_nls_iso8859_1 is not set
# FREETZ_MODULE_nls_utf8 is not set
# FREETZ_MODULE_ntfs is not set
# FREETZ_MODULE_reiserfs is not set
# FREETZ_MODULE_smbfs is not set
# FREETZ_MODULE_udf is not set
# FREETZ_MODULE_unionfs is not set
# FREETZ_MODULE_vfat is not set
# FREETZ_MODULE_msdods is not set
# FREETZ_MODULE_jffs2 is not set
# FREETZ_MODULE_mbcache is not set

#
# lib
#
# FREETZ_MODULE_crc_ccitt is not set

#
# net
#
# FREETZ_MODULE_bluetooth is not set
# FREETZ_MODULE_bnep is not set
# FREETZ_MODULE_l2cap is not set
# FREETZ_MODULE_rfcomm is not set
# FREETZ_MODULE_sunrpc is not set

#
# Shared libraries
#

#
# Libraries -------------------------------
#
# FREETZ_LIB_libatm is not set
# FREETZ_LIB_libbluetooth is not set
# FREETZ_LIB_libopenobex is not set

#
# Crypto & SSL
#

#
# GnuPG ----------------------------------
#
# FREETZ_LIB_libgpg_error is not set
# FREETZ_LIB_libgcrypt is not set

#
# SSL ------------------------------------
#
# FREETZ_LIB_libcyassl is not set
# FREETZ_LIB_libmatrixssl is not set
# FREETZ_LIB_libxyssl is not set
# FREETZ_LIB_libcrypto is not set
# FREETZ_LIB_libssl is not set

#
# Data compression
#
# FREETZ_LIB_liblzo2 is not set
# FREETZ_LIB_libz is not set

#
# Graphics & fonts
#
# FREETZ_LIB_libfreetype is not set
# FREETZ_LIB_libart_lgpl_2 is not set
# FREETZ_LIB_libjpeg is not set
# FREETZ_LIB_libpng12 is not set

#
# uClibc
#
FREETZ_LIB_ld_uClibc=y
FREETZ_LIB_libcrypt=y
FREETZ_LIB_libdl=y
FREETZ_LIB_libm=y
FREETZ_LIB_libnsl=y
FREETZ_LIB_libpthread=y
# FREETZ_LIB_libresolv is not set
FREETZ_LIB_librt=y
# FREETZ_LIB_libthread_db is not set
FREETZ_LIB_libuClibc=y
FREETZ_LIB_libutil=y
# FREETZ_LIB_libuClibc__ is not set
FREETZ_LIB_libgcc_s=y
# FREETZ_LIB_libglib_1 is not set

#
# GLib2
#
# FREETZ_LIB_libglib_2 is not set
# FREETZ_LIB_libgobject_2 is not set
# FREETZ_LIB_libgmodule_2 is not set
# FREETZ_LIB_libgthread_2 is not set

#
# ncurses
#
# FREETZ_LIB_libncurses is not set

#
# terminfo database
#

#
# Select terminfo database entries to install (see help of 'Show all items')
#
# FREETZ_SHARE_terminfo is not set
# FREETZ_LIB_libform is not set
# FREETZ_LIB_libmenu is not set
# FREETZ_LIB_libpanel is not set
# FREETZ_LIB_libcapi20 is not set
# FREETZ_LIB_libcurl is not set
# FREETZ_LIB_libevent is not set
# FREETZ_LIB_libexpat is not set
# FREETZ_LIB_libid3tag is not set
# FREETZ_LIB_libltdl is not set
# FREETZ_LIB_libmad is not set
# FREETZ_LIB_libneon is not set
# FREETZ_LIB_libpcap is not set

#
# Readline
#
# FREETZ_LIB_libreadline is not set
# FREETZ_LIB_libhistory is not set
# FREETZ_LIB_libusb is not set
# FREETZ_LIB_libelf is not set
# FREETZ_LIB_libintl is not set
# FREETZ_LIB_libiconv is not set
# FREETZ_LIB_libftdi is not set
# FREETZ_LIB_libsysfs is not set
# FREETZ_LIB_libpopt is not set
# FREETZ_LIB_libdevmapper is not set

#
# Compiler options
#
FREETZ_DOWNLOAD_TOOLCHAIN=y
# FREETZ_BUILD_TOOLCHAIN is not set
FREETZ_TARGET_CROSS="mipsel-linux-uclibc-"
FREETZ_TARGET_MAKE_PATH="toolchain/target/bin"
FREETZ_TARGET_CFLAGS="-Os -pipe -march=4kc -Wa,--trap"
FREETZ_JLEVEL=2
FREETZ_KERNEL_CROSS="mipsel-unknown-linux-gnu-"
FREETZ_KERNEL_MAKE_PATH="toolchain/kernel/bin"
FREETZ_KERNEL_VERSION_2_6_13_1=y
# FREETZ_KERNEL_VERSION_2_6_19_2 is not set
FREETZ_KERNEL_VERSION="2.6.13.1"
FREETZ_TARGET_UCLIBC_VERSION_0_9_28=y
# FREETZ_TARGET_UCLIBC_VERSION_0_9_29 is not set
FREETZ_TARGET_GCC_VERSION="4.2.1"
FREETZ_TARGET_UCLIBC_VERSION="0.9.28"
FREETZ_TARGET_BINUTILS_VERSION="2.17.50.0.17"
FREETZ_TARGET_UCLIBC_REF="mod"
# FREETZ_STATIC_TOOLCHAIN is not set
FREETZ_TARGET_GXX=y
FREETZ_TARGET_CCACHE=y
# FREETZ_TARGET_NLS is not set
FREETZ_TARGET_LFS=y
FREETZ_KERNEL_GCC_VERSION="3.4.6"
FREETZ_KERNEL_BINUTILS_VERSION="2.17.50.0.17"
# FREETZ_TARGET_TOOLCHAIN is not set

#
# GNU debugger (gdb)
#
# FREETZ_PACKAGE_GDB is not set
# FREETZ_PACKAGE_GDB_SERVER is not set
# FREETZ_PACKAGE_GDB_HOST is not set
 
Zuletzt bearbeitet:
Die 3170 ist ziemlich klein. Dennoch als Tipp: Die FAQ enthalten einen Beitrag dazu. Lies das.
 
meinst du damit diesen abschitt der faq ?
Code:
    Das Firmware-Image passt nicht in den Flash-Speicher der ausgewählten Box.

    * Bei manchen Boxen kann dies bereits auftreten, wenn überhaupt keine zusätzlichen Pakete ausgewählt sind, da die grundlegende Freetz-Infrastruktur bereits einigen Platz belegt und die AVM-Images schon knapp unter dem Maximalwert liegen. In diesem Fall ist es notwendig, unter 'Patches' einen oder mehrere der Remove-Patches auszuwählen, um nicht benötigte Komponenten der Original-Firmware zu entfernen.

also ich hab einfach mal "usb-root" entfernt und alles was nicht nöteig ist,
und trotzdem funktioniert es nicht :confused:

"Die 3170 ist ziemlich klein"
kann sein.
ich hatte aber damals einmahl ein pseudoimage auf die box gespielt ( http://the-construct.com/ ) die diese programme beinhalteten:

Code:
BusyBox v1.1.2 (2008.05.30-11:45+0000) Built-in shell (ash)

Built-in commands:
-------------------
	. : alias bg break cd chdir continue echo eval exec exit export
	false fg hash help jobs kill let local pwd read readonly return
	set shift times trap true type ulimit umask unalias unset wait
 
Dann solltest du eh zuerst deine debug.cfg leeren, denn sonst stehen sich vielleicht spaeter eh sachen im Weg. Und so lange du da eventuelle Wechselwirkungen nicht sicher bist, lass es lieber, 2gleisig zu fahren.
Ohne deine config genauer zu studieren:
Lösch deine .config, ruf menuconfig erneut auf, und nimm erst einmal kein Paket hinzu, und shcua, ob es passt. Wenn nicht, remove-patch um remove-patch hinzufügen, bis es passt. Und dann eben am besten USB-Root hinzu, und dann dne Anleitungen weiter folgen.
 
hab ich jetzt gemacht hab einmal die konfig ohne einstellungen drüberlaufen lasse. und einmahl hab ich alles removed was geht und immer noch zu groß.
ich vermute langsahm einen "bug".

und wegen der debug.cfg das mach ich wen ich das image compiliert kriege (ich will ja noch meine torrents und downloads über die box laufen lassen)
 
Hallo,

die Frage wird wirklich ziemlich oft gestellt, und es sind immer die gleichen Fehler, die gemacht werden. Hast du z.B. alle als Dependencies reingekommenen Libs deaktiviert?

Deshalb auch die unzähligen Howtos dazu, hier im Forum, im IPPF Wiki und im Freetz Wiki. Hast du eines davon zu Rate gezogen?
 
Vor allem aber: Nachdem das Image imemr noch zu gross war, was hast du anschliessend getan? Welche Patches hast du angewählt, um etwas möglich zu machen?
 
"Hast du z.B. alle als Dependencies reingekommenen Libs deaktiviert?"
was meinst du damit ? und wie macht man das ?

"Hast du eines davon zu Rate gezogen?"
http://wiki.ip-phone-forum.de/software:ds-mod:faq
"/var/flash/ds_mod too big - was nun?" war gans interressant
http://www.freetz.org/wiki/FAQ
und dort hab ijch auch schon nach antworten gestöbert

Nachdem das Image imemr noch zu gross war, was hast du anschliessend getan?
Code:
rm .conf*
und dan nocheinmahl make menuconfig ausgeführt

Welche Patches hast du angewählt, um etwas möglich zu machen ?
Remove help
Remove assistant
Patch USB storage names, ...
Automount filesystems
Remove usermand and ...
Remove CAPIoverTCP ...
 
Du musst Samba entfernen.... (smbd)
und wenn du usermand entfernst, wirst du bald Probleme mit der Box bekommen.
usermand muss drin bleiben, und die Kindersicherung aktiviert bleiben.
 
"und die Kindersicherung aktiviert bleiben." huch wieso das den (oder hälst du mich fürn dofes kind :silly: ?
 
Hmm, vielleicht liest du dazu mal im Wiki nach. Da steht was zu,sagen meine Emails ;)
 
"Du musst Samba entfernen.... (smbd)"
also in der menuconfig ist samba nicht makiert "[ ] Samba ..."
 
eine generelle frage:
hab ich das eigendlich richtig verstanden, in der ".config" datei stecken alle anweisungen welche pakete und patches eingebunden werden.
und wenn man die ".config" neu erstellt und weniger pakete auswählt wird das image auch kleiner.

das hise wenn jemand so net wehre und mir eine ".config" mit den nötigsten paketen und USB-root erstellt würde könnte ich das image erstellen
 
Das kannst du auch selber.... Aber ansonsten hast du Recht. Die .config ist so eine Datei, in der eben genau das drinsteht. Du musst halt testen, bis es passt. Ganz einfach.

Edit: Einmal extra für dich gebaut:
Code:
replacing busybox
  replacing busybox-4mb_26
  installing symlinks
replacing kernel
  replacing kernel-4mb_26-04.57 (iln6)
  installing modules
  generating modules.dep
installing packages
  usbroot-0.2
  fstyp-0.1
  haserl-0.9.25
  modcgi-0.2
invoking custom script
stripping unstripped AVM binaries
  build/modified/filesystem/lib/libacgenusb.so.1.0.0

STEP 3: PACK
  Checking for left over Subversion directories
squashfs blocksize
  root filesystem: 65536
packing var.tar
creating filesystem image
merging kernel image
  kernel image size: 3281152 (max: 3866624, free: 585472)
packing 3170_04.58freetz-devel-3499.de_20090727-123524.image
Image files can be found in the ./images/ subfolder
done.

FINISHED
 
Zuletzt bearbeitet:
OK, also die "make menuconfig" hab ich schon von oben bis unten durch exserziert und schaffe es einfach nicht im limit zu bleiben.

"Edit: Einmal extra für dich gebaut: "
also hast du es geschaft auf deinen pc das image für die 3170 box zu bauen ?
köntest du deine .config posten damit ich, ein bischen abkucken kann (und gegebenenfalls rückschlüsse zihen welche pakete ich zu viel ausgewählt habe) ?

ich verstehe nicht wo die MBs herkommen:
Code:
zef@BOCKWURST:~/avm/freetz/freetz-1.1$ cat .config | grep -v '#'
FREETZ_HAVE_DOT_CONFIG=y

FREETZ_AVM_VERSION_04_57=y
FREETZ_TYPE_WLAN_3170=y
FREETZ_AVM_VERSION_STRING="04.57"
FREETZ_TYPE_LANG_DE=y
FREETZ_TYPE_LANG_STRING="de"
FREETZ_TYPE_STRING="3170"
FREETZ_INSTALL_BASE=y
FREETZ_REPLACE_BUSYBOX=y
FREETZ_REPLACE_KERNEL_AVAILABLE=y
FREETZ_TARGET_REF="4mb_26"
FREETZ_KERNEL_REF="4mb_26"
FREETZ_KERNEL_LAYOUT="ohio"
FREETZ_KERNEL_MTD_SIZE=59
FREETZ_HAS_WLAN=y
FREETZ_HAS_USB_CLIENT=y
FREETZ_HAS_USB_HOST=y

FREETZ_LANG_DE=y
FREETZ_LANG_STRING="de"


FREETZ_REMOVE_HELP=y
FREETZ_REMOVE_ASSISTANT=y
FREETZ_PATCH_USBSTORAGE=y
FREETZ_USBSTORAGE_AUTOMOUNT=y
FREETZ_REMOVE_CAPIOVERTCP=y





FREETZ_PACKAGE_FSTYP=y
FREETZ_PACKAGE_USBROOT=y
FREETZ_PACKAGE_HASERL=y
FREETZ_PACKAGE_MODCGI=y

FREETZ_DL_SITE="ftp://ftp.avm.de/fritz.box/fritzbox.wlan_3170/firmware/deutsch"
FREETZ_DL_SOURCE="fritz.box_wlan_3170.49.04.58.image"

FREETZ_MOD_DL_NUM_SITES="5"

FREETZ_MOD_DL_SITE_1="http://freetz.3dfxatwork.de"

FREETZ_MOD_DL_SITE_2="http://freetz.wirsind.info"

FREETZ_MOD_DL_SITE_3="http://freetz.magenbrot.net"

FREETZ_MOD_DL_SITE_4=""

FREETZ_MOD_DL_SITE_5=""
FREETZ_VERBOSITY_LEVEL=0
FREETZ_FAVICON_NONE=y
FREETZ_FAVICON_STRING="none"

FREETZ_SQUASHFS_BLOCKSIZE_65536=y

FREETZ_BUSYBOX_INETD=y
FREETZ_BUSYBOX_WGET=y














FREETZ_LIB_ld_uClibc=y
FREETZ_LIB_libcrypt=y
FREETZ_LIB_libdl=y
FREETZ_LIB_libm=y
FREETZ_LIB_libnsl=y
FREETZ_LIB_libpthread=y
FREETZ_LIB_librt=y
FREETZ_LIB_libuClibc=y
FREETZ_LIB_libgcc_s=y






FREETZ_DOWNLOAD_TOOLCHAIN=y
FREETZ_TARGET_CROSS="mipsel-linux-uclibc-"
FREETZ_TARGET_MAKE_PATH="toolchain/target/bin"
FREETZ_TARGET_CFLAGS="-Os -pipe -march=4kc -Wa,--trap"
FREETZ_JLEVEL=2
FREETZ_KERNEL_CROSS="mipsel-unknown-linux-gnu-"
FREETZ_KERNEL_MAKE_PATH="toolchain/kernel/bin"
FREETZ_KERNEL_VERSION_2_6_13_1=y
FREETZ_KERNEL_VERSION="2.6.13.1"
FREETZ_TARGET_UCLIBC_VERSION_0_9_28=y
FREETZ_TARGET_GCC_VERSION="4.2.1"
FREETZ_TARGET_UCLIBC_VERSION="0.9.28"
FREETZ_TARGET_BINUTILS_VERSION="2.17.50.0.17"
FREETZ_TARGET_UCLIBC_REF="mod"
FREETZ_TARGET_GXX=y
FREETZ_TARGET_CCACHE=y
FREETZ_TARGET_LFS=y
FREETZ_KERNEL_GCC_VERSION="3.4.6"
FREETZ_KERNEL_BINUTILS_VERSION="2.17.50.0.17"
 
Nein, du kannst nicht verstehen, wo deine MB herkommen, wenn du nciht endlich verstehst, dass deine Box nur 4MB Flash hat, und du Sachen _entfernen_ musst, damit freetz überhaupt draufpasst. Denn die Freetz-Komponenten benötigen - wenn auch nicht viel - Platz auf der Box.

Die angehängte .config erzeugt ein Image, was auf die Box passt. Ich hab alelrdings keine Ahnung, was du selber noch benötigst, bzw. was ich davon entfernt hab, was du brauchst.
 

Anhänge

  • dot.config.txt
    15 KB · Aufrufe: 11
usbroot-config für 3170

meine .config:
Code:
STEP 1: UNPACK
unpacking firmware image
splitting kernel image
unpacking filesystem image
  1218 inodes (1314 blocks) to write
  created 888 files
  created 80 directories
  created 175 symlinks
  created 155 devices
  created 0 fifos
unpacking var.tar
done.

STEP 2: MODIFY
applying patches
  applying patches (3170-de)
    applying patch file ./patches/3170/100-webif.sh
  Applying symlinks, deleting additional webinterfaces
    applying patch file ./patches/100-profile.patch
    patching file etc/profile
    ----------------------------------------------------------------------
    applying patch file ./patches/110-multid-wait.patch
    patching file etc/init.d/rc.net
    Hunk #1 succeeded at 63 (offset -3 lines).
    ----------------------------------------------------------------------
    applying patch file ./patches/110-system_status.patch
    patching file usr/bin/system_status
    ----------------------------------------------------------------------
    applying patch file ./patches/120-inittab_console.patch
    patching file etc/inittab
    ----------------------------------------------------------------------
    applying patch file ./patches/130-fstab.patch
    patching file etc/fstab
    ----------------------------------------------------------------------
    applying patch file ./patches/3170/100-rc.net-dnsmasq.patch
    patching file etc/init.d/rc.net
    ----------------------------------------------------------------------
    applying patch file ./patches/3170/110-rc.S-mknod.patch
    patching file etc/init.d/rc.S
    ----------------------------------------------------------------------
    applying patch file ./patches/3170/120-rc.S-dev.patch
    patching file etc/init.d/rc.S
    ----------------------------------------------------------------------
    applying patch file ./patches/3170/130-rc.S-logging.patch
    patching file etc/init.d/rc.S
    ----------------------------------------------------------------------
    applying patch file ./patches/3170/140-rc.S-no_avm_exit.patch
    patching file etc/init.d/rc.S
    ----------------------------------------------------------------------
    applying patch file ./patches/3170/290-replace_websrv-remove_igdd.patch
    patching file etc/init.d/rc.net
    ----------------------------------------------------------------------
    applying patch file ./patches/3170/de/190-webmenu.patch
    patching file usr/www/all/html/de/menus/menu2_homehome.html
    patching file usr/www/all/html/de/menus/menu2.inc
    patching file usr/www/all/html/de/menus/menu2_konfig.html
    ----------------------------------------------------------------------
  creating symlinks /tmp, /mod and /home
  setting freetz-version 'freetz-devel-3405'
  setting subversion 'freetz-devel-3405'
    applying patch file ./patches/100-3170_7170.sh
    applying patch file ./patches/100-7140_7170.sh
    applying patch file ./patches/100-7141_7170.sh
    applying patch file ./patches/100-getcons.sh
  removing /bin/getcons
    rm build/modified/filesystem/bin/getcons
    applying patch file ./patches/100-profile_term_password.sh
    applying patch file ./patches/100-rename_ctlmgr.sh
    applying patch file ./patches/100-w701v_7170.sh
    applying patch file ./patches/100-w900v_7170.sh
    applying patch file ./patches/101-libfreetz.sh
  patching /etc/init.d/rc.s
    applying patch file ./patches/105-onlinechanged.sh
  Patching /bin/onlinechanged
    applying patch file ./patches/115-7270_16MB.sh
    applying patch file ./patches/170-rename_ar7login.sh
  renaming ar7login to make way for wrapper script
    applying patch file ./patches/180-printk.sh
    applying patch file ./patches/191-webmenu_wol.sh
    applying patch file ./patches/195-webmenu_signed.sh
  applying webmenu signed patch
    applying patch file ./patches/196-usbstorage.sh
  applying USB storage patch
    applying patch file ./patches/cond/usbstorage_3170.patch
    patching file etc/hotplug/run_mount
    ----------------------------------------------------------------------
    applying patch file ./patches/200-vcc.sh
    applying patch file ./patches/210-ata.sh
    applying patch file ./patches/210-enum.sh
    applying patch file ./patches/210-international.sh
    applying patch file ./patches/220-assistant.sh
  removing assistant
    rm build/modified/filesystem/usr/www/all/html/de/konfig
    rm build/modified/filesystem/usr/www/all/html/index_assi.html
    rm build/modified/filesystem/usr/www/all/html/assistent.html
    applying patch file ./patches/cond/de/remove_assistant_wop.patch
    patching file usr/www/all/html/de/home/sitemap.html
    patching file usr/www/all/html/de/menus/menu2_konfig.html
    patching file usr/www/all/html/de/js/basis.js
    ----------------------------------------------------------------------
    applying patch file ./patches/220-cdrom-iso.sh
    applying patch file ./patches/220-help.sh
  removing help
  build/modified/filesystem/usr/www/all/html/de
    rm build/modified/filesystem/usr/www/all/html/de/help
    applying patch file ./patches/230-openssl.sh
    applying patch file ./patches/240-add-dsl-expert-pages.sh
    applying patch file ./patches/250-remove_avm_inetd.sh
    applying patch file ./patches/260-remove_tr069.sh
    applying patch file ./patches/270-remove_usb_module.sh
    applying patch file ./patches/290-replace_websrv-remove_igdd.sh
  removing AVM UPnP daemon (igdd or upnpd)
    rm build/modified/filesystem/sbin/igdd
    rm build/modified/filesystem/etc/default.Fritz_Box_3170/avm/any.xml
    rm build/modified/filesystem/etc/default.Fritz_Box_3170/avm/fboxdesc.xml
    rm build/modified/filesystem/etc/default.Fritz_Box_3170/avm/fboxdesc-template.xml
    rm build/modified/filesystem/etc/default.Fritz_Box_3170/avm/fboxSCPD.xml
    rm build/modified/filesystem/etc/default.Fritz_Box_3170/avm/igddslSCPD.xml
    rm build/modified/filesystem/etc/default.Fritz_Box_3170/avm/ligd.gif
    rm build/modified/filesystem/etc/default.Fritz_Box_3170/avm/igdconnSCPD.xml
    rm build/modified/filesystem/etc/default.Fritz_Box_3170/avm/igddesc-template.xml
    rm build/modified/filesystem/etc/default.Fritz_Box_3170/avm/igddesc.xml
    rm build/modified/filesystem/etc/default.Fritz_Box_3170/avm/igdicfgSCPD.xml
    applying patch file ./patches/300-remove-smbd.sh
  remove samba files
    rm build/modified/filesystem/sbin/smbd
    rm build/modified/filesystem/sbin/smbpasswd
    rm build/modified/filesystem/etc/samba_config.tar
    rm build/modified/filesystem/etc/samba_control
  patching rc.conf
    applying patch file ./patches/310-remove_userman.sh
    applying patch file ./patches/320-remove_capiotcp.sh
  removing capiotcp_server
    rm build/modified/filesystem/usr/bin/capiotcp_server
    applying patch file ./patches/320-remove-dsld.sh
    applying patch file ./patches/330-remove-voip-isdn.sh
    applying patch file ./patches/340-remove_dect_update.sh
    applying patch file ./patches/350-add_remove_annex_file.sh
    applying patch file ./patches/360-remove-wlan.sh
    applying patch file ./patches/370-remove_dtrace.sh
    applying patch file ./patches/401-remove_ftpd.sh
  remove ftp files
    rm build/modified/filesystem/sbin/ftpd
  patching rc.conf
    applying patch file ./patches/440-cutdown_samba_control.sh
    applying patch file ./patches/450-autorun_autoend.sh
  patching run_mount and storage: autorun/autoend
    applying patch file ./patches/cond/450-autorun-run_mount.patch
    patching file etc/hotplug/run_mount
    Hunk #1 succeeded at 122 (offset 4 lines).
    ----------------------------------------------------------------------
    applying patch file ./patches/cond/450-autoend-storage.patch
    patching file etc/hotplug/storage
    Hunk #1 succeeded at 65 with fuzz 2 (offset 2 lines).
    ----------------------------------------------------------------------
    applying patch file ./patches/460-MAXDEVCOUNT.sh
  patching usb.pandu: MAXDEVCOUNT
    applying patch file ./patches/470-volumecounter.sh
    applying patch file ./patches/500-remove-mediasrv.sh
  remove medissrv files
    rm build/modified/filesystem/sbin/mediasrv
    rm build/modified/filesystem/sbin/start_mediasrv
    rm build/modified/filesystem/sbin/stop_mediasrv
  patching rc.conf
    applying patch file ./patches/510-remove_aura_usb.sh
  removing aura-usb files
    rm build/modified/filesystem/bin/aurad
    rm build/modified/filesystem/bin/auracntl
    rm build/modified/filesystem/bin/aurachanged
  patching rc.conf
    applying patch file ./patches/510-remove_avm_vpn.sh
  removing AVM-VPN files
    rm build/modified/filesystem/bin/avmike
    rm build/modified/filesystem/usr/share/ctlmgr/libvpnstat.so
  patching rc.conf
    applying patch file ./patches/510-remove_minid.sh
    applying patch file ./patches/520-remove_dect.sh
    applying patch file ./patches/600-replace_mdev.sh
  removing oem: none
installing mod base
  copying files
  installing libs
    ld_uClibc
    libcrypt
    libdl
    libfreetz
    libgcc_s
    libm
    libnsl
    libpthread
    librt
    libuClibc
  adding favicons (dsl123)
  patching bar-style and cache-usage
    applying patch file ./patches/cond/bar-style_n_cache-usage.patch
    patching file usr/mww/cgi-bin/status.cgi
    patching file usr/lib/cgi-bin/mod/mounted.cgi
    ----------------------------------------------------------------------
  patching security level
replacing busybox
  replacing busybox-4mb_26
  installing symlinks
replacing kernel
  replacing kernel-4mb_26-04.57 (iln6)
  installing modules
    ext2.ko
    fat.ko
    nls_cp437.ko
    nls_iso8859-1.ko
    vfat.ko
    mbcache.ko
  generating modules.dep
installing packages
  usbroot-0.2
  e2fsprogs-1.41.3
  fstyp-0.1
  haserl-0.9.25
  modcgi-0.2
invoking custom script
done.

STEP 3: PACK
  Checking for left over Subversion directories
squashfs blocksize
  root filesystem: 131072
packing var.tar
creating filesystem image
merging kernel image
  kernel image size: 3866624 (max: 3866624, free: 0)
packing 3170_04.58freetz-devel-3405.de_20090727-215821.image
Image files can be found in the ./images/ subfolder
done.

FINISHED
optimal ausgenutzter Platz ;)

EDIT: verwendete trunk-Revision 3405
 

Anhänge

  • .config.txt
    15 KB · Aufrufe: 11
ich bin so ein idiot :blonk: , ich hab mir deine .conf angeschaut und mit meiner verglichen. dan hab ich mich gewundert das bei mir so wenig pakete auf removed standen.
lösung: ich hab "Show advaced options" nicht ausgewählt (und somit hatte ich nicht alle funktionen).

wenn ich jetzt auf das foren gespräch zurück blicke fühl ich mich ein bischen dumm.
aber danke noch einmahl für eure engels gedult.

[gelöst]
 

Zurzeit aktive Besucher

Statistik des Forums

Themen
246,300
Beiträge
2,249,713
Mitglieder
373,904
Neuestes Mitglied
Elemir
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.