Checked out revision 6241.
7570_04.82freetz-devel-6240.en_20101126-194214.image
STEP 3: PACK
packing var.tar
creating filesystem image
merging kernel image
packing 7570_04.82freetz-devel-6240.en_20101126-194214.image
Image files can be found in the ./images/ subfolder
done.
ermittle die aktuelle TTY
tty is "/dev/pts/0"
Console Ausgaben auf dieses Terminal umgelenkt
# sh -x /var/install
+ kernel_update_start=0
+ kernel_update_len=0
+ name_list=
+ export INSTALL_SUCCESS_NO_REBOOT=0
+ export INSTALL_SUCCESS_REBOOT=1
+ export INSTALL_WRONG_HARDWARE=2
+ export INSTALL_KERNEL_CHECKSUM=3
+ export INSTALL_FILESYSTEM_CHECKSUM=4
+ export INSTALL_URLADER_CHECKSUM=5
+ export INSTALL_OTHER_ERROR=6
+ export INSTALL_FIRMWARE_VERSION=7
+ export INSTALL_DOWNGRADE_NEEDED=8
+ force_update=n
+ uname -r
+ echo install: have Kernel 2.6
install: have Kernel 2.6
+ kversion=26
+ echo install: check and install new firmware ...
install: check and install new firmware ...
+ need_reboot=0
+ korrekt_version=0
+ /bin/update_led_on
/bin/update_led_on: line 2: cannot create /var/led: No such device or address
/bin/update_led_on: line 4: cannot create /var/led: No such device or address
+ [ 26 = 24 ]
+ echo OEM=avme
OEM=avme
+ [ 26 = 24 ]
+ export CONFIG_ENVIRONMENT_PATH=/proc/sys/urlader
+ cat /proc/sys/urlader/annex
+ export ANNEX=B
+ [ -z B ]
+ echo ANNEX=B
ANNEX=B
+ cut -d -f2
/var/install: line 1: cut: not found
+ grep HWRevision
+ echo HWRevision 146
+ hwrev=
+ [ -z ]
+ echo testing acceptance for device Fritz_Box_7570 ...
testing acceptance for device Fritz_Box_7570 ...
+ [ 0 = 1 ]
+ echo HWRevision not supported
HWRevision not supported
+ exit 2
7570_04.82freetz-devel-6240.en_201011[B][COLOR=Red]26-194214[/COLOR][/B].image
BusyBox v1.8.2 (2009-03-27 11:37:25 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.
ermittle die aktuelle TTY
tty is "/dev/pts/0"
Console Ausgaben auf dieses Terminal umgelenkt
# sh -x /var/install
+ kernel_update_start=0
+ kernel_update_len=0
+ name_list=
+ export INSTALL_SUCCESS_NO_REBOOT=0
+ export INSTALL_SUCCESS_REBOOT=1
+ export INSTALL_WRONG_HARDWARE=2
+ export INSTALL_KERNEL_CHECKSUM=3
+ export INSTALL_FILESYSTEM_CHECKSUM=4
+ export INSTALL_URLADER_CHECKSUM=5
+ export INSTALL_OTHER_ERROR=6
+ export INSTALL_FIRMWARE_VERSION=7
+ export INSTALL_DOWNGRADE_NEEDED=8
+ force_update=n
+ uname -r
+ echo install: have Kernel 2.6
install: have Kernel 2.6
+ kversion=26
+ echo install: check and install new firmware ...
install: check and install new firmware ...
+ need_reboot=0
+ korrekt_version=0
+ /bin/update_led_on
/bin/update_led_on: line 2: cannot create /var/led: No such device or address
/bin/update_led_on: line 4: cannot create /var/led: No such device or address
+ [ 26 = 24 ]
+ echo OEM=avme
OEM=avme
+ [ 26 = 24 ]
+ export CONFIG_ENVIRONMENT_PATH=/proc/sys/urlader
+ cat /proc/sys/urlader/annex
+ export ANNEX=B
+ [ -z B ]
+ echo ANNEX=B
ANNEX=B
+ grep HWRevision /proc/sys/urlader/environment
+ set HWRevision 146
+ echo 146
[B][COLOR="Red"]+ hwrev=146[/COLOR][/B]
+ [ -z ]
+ echo testing acceptance for device Fritz_Box_7570 ...
testing acceptance for device Fritz_Box_7570 ...
+ [ 0 = 1 ]
+ echo HWRevision 146 not supported
HWRevision 146 not supported
+ exit 2
set -x
grep HWRevision /proc/sys/urlader/environment
set $(grep HWRevision /proc/sys/urlader/environment)
hwrev="$(set $(grep HWRevision /proc/sys/urlader/environment); echo $2)"
+ grep HWRevision /proc/sys/urlader/environment
+ set HWRevision 146
+ echo 146
+ hwrev=146
grep HWRevision /proc/sys/urlader/environment
BusyBox v1.8.2 (2009-03-27 11:37:25 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.
ermittle die aktuelle TTY
tty is "/dev/pts/0"
Console Ausgaben auf dieses Terminal umgelenkt
# grep HWRevision /proc/sys/urlader/environment
[B][COLOR="Red"]HWRevision 146[/COLOR][/B]
#
hwrev="$(IFS="$IFS."; set $(grep HWRevision /proc/sys/urlader/environment); echo $2.)"
Das wurde mir angezeigt in einem alten FreetzUnd woher hast Du dann die 146.1.0.0 aus [POST=1645967]#27[/POST]?
Ich habe den Patch mal so geändert, daß er auch mit der 146 allein laufen sollte
echo HWRevision 146.1.0.0 > /proc/sys/urlader/environment