View Issue Details

IDProjectCategoryView StatusLast Update
0000122Freifunk Franken FirmwareGeneralpublic2019-10-02 12:49
ReporterAdrian Schmutzler Assigned To 
PriorityhighSeveritymajorReproducibilityN/A
Status resolvedResolutionfixed 
Product Versionnext-stable 
Target Versionnext-stable 
Summary0000122: Tiny devices werden nicht mehr gebaut
DescriptionNach dem Update auf OpenWrt 18.06.2 bauen die "echten" tiny Devices nicht mehr:

adsc@buildfff:/data/buildfff$ ls ./build/ar71xx/bin/targets/ar71xx/tiny/
config.seed
openwrt-ar71xx-tiny-archer-c25-v1-squashfs-factory.bin
openwrt-ar71xx-tiny-archer-c25-v1-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-archer-c60-v1-squashfs-factory.bin
openwrt-ar71xx-tiny-archer-c60-v1-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-archer-c7-v2-squashfs-factory.bin
openwrt-ar71xx-tiny-archer-c7-v2-squashfs-factory-eu.bin
openwrt-ar71xx-tiny-archer-c7-v2-squashfs-factory-us.bin
openwrt-ar71xx-tiny-archer-c7-v2-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-cpe210-220-v1-squashfs-factory.bin
openwrt-ar71xx-tiny-cpe210-220-v1-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-cpe210-v2-squashfs-factory.bin
openwrt-ar71xx-tiny-cpe210-v2-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-cpe210-v3-squashfs-factory.bin
openwrt-ar71xx-tiny-cpe210-v3-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-cpe510-520-v1-squashfs-factory.bin
openwrt-ar71xx-tiny-cpe510-520-v1-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-gl-ar150-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny.manifest
openwrt-ar71xx-tiny-root.squashfs
openwrt-ar71xx-tiny-tl-mr3020-v1-squashfs-factory.bin
openwrt-ar71xx-tiny-tl-mr3020-v1-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-tl-wdr3500-v1-squashfs-factory.bin
openwrt-ar71xx-tiny-tl-wdr3500-v1-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-tl-wdr3600-v1-squashfs-factory.bin
openwrt-ar71xx-tiny-tl-wdr3600-v1-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-tl-wdr4300-v1-squashfs-factory.bin
openwrt-ar71xx-tiny-tl-wdr4300-v1-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-tl-wdr4310-v1-squashfs-factory.bin
openwrt-ar71xx-tiny-tl-wdr4310-v1-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-tl-wr1043nd-v1-squashfs-factory.bin
openwrt-ar71xx-tiny-tl-wr1043nd-v1-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-tl-wr1043nd-v2-squashfs-factory.bin
openwrt-ar71xx-tiny-tl-wr1043nd-v2-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-tl-wr1043nd-v3-squashfs-factory.bin
openwrt-ar71xx-tiny-tl-wr1043nd-v3-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-tl-wr1043nd-v4-squashfs-factory.bin
openwrt-ar71xx-tiny-tl-wr1043nd-v4-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-tl-wr1043n-v5-squashfs-factory.bin
openwrt-ar71xx-tiny-tl-wr1043n-v5-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-tl-wr842n-v2-squashfs-factory.bin
openwrt-ar71xx-tiny-tl-wr842n-v2-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-ubnt-bullet-m-squashfs-factory.bin
openwrt-ar71xx-tiny-ubnt-bullet-m-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-ubnt-loco-m-xw-squashfs-factory.bin
openwrt-ar71xx-tiny-ubnt-loco-m-xw-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-ubnt-nano-m-squashfs-factory.bin
openwrt-ar71xx-tiny-ubnt-nano-m-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-ubnt-unifiac-lite-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-ubnt-unifi-squashfs-factory.bin
openwrt-ar71xx-tiny-ubnt-unifi-squashfs-sysupgrade.bin
openwrt-ar71xx-tiny-uImage-lzma.bin
openwrt-ar71xx-tiny-vmlinux.bin
openwrt-ar71xx-tiny-vmlinux.elf
openwrt-ar71xx-tiny-vmlinux.lzma
openwrt-ar71xx-tiny-vmlinux-lzma.elf
packages
sha256sums

Ich habe es jetzt nicht explizit vor dem Patch getestet, aber meine Vermutung geht klar dahin, dass der generic->tiny Hack jetzt anders funktioniert als mit 18.06.1.

TagsNo tags attached.

Activities

fbl

2019-02-07 00:32

administrator   ~0000333

Nope, ich muss dich enttäuschen.
Werden nicht mehr gebaut, weil der Platz alle ist.

Für den "generic nach tiny"-Patch sind eigentlich nur die ehemals-generic Devices kritisch, bei den tiny Geräten lassen wir eigentlich alles so, wie es ist.

Hier der entsprechende OpenWRT Log:
/home/fbl/freifunk/firmware/build/ar71xx/staging_dir/host/bin/mktplinkfw -H 0x08410009 -W 0x1 -F 4Mlzma -N OpenWrt -V r7676-cddd7b4c77 -m 1 -k /home/fbl/freifunk/firmware/build/ar71xx/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/tl-wr841-v9-kernel.bin -r /home/fbl/freifunk/firmware/build/ar71xx/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/tmp/openwrt-ar71xx-tiny-tl-wr841-v9-squashfs-sysupgrade.bin -o /home/fbl/freifunk/firmware/build/ar71xx/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/tmp/openwrt-ar71xx-tiny-tl-wr841-v9-squashfs-sysupgrade.bin.new -j -X 0x40000 -a 0x4 -s && mv /home/fbl/freifunk/firmware/build/ar71xx/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/tmp/openwrt-ar71xx-tiny-tl-wr841-v9-squashfs-sysupgrade.bin.new /home/fbl/freifunk/firmware/build/ar71xx/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/tmp/openwrt-ar71xx-tiny-tl-wr841-v9-squashfs-sysupgrade.bin || rm -f /home/fbl/freifunk/firmware/build/ar71xx/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/tmp/openwrt-ar71xx-tiny-tl-wr841-v9-squashfs-sysupgrade.bin
[mktplinkfw] rootfs offset aligned to 0x1261132
[mktplinkfw] *** error: images are too big by 3787 bytes
cp /home/fbl/freifunk/firmware/build/ar71xx/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/tmp/openwrt-ar71xx-tiny-tl-wr841-v9-squashfs-sysupgrade.bin /home/fbl/freifunk/firmware/build/ar71xx/bin/targets/ar71xx/tiny/openwrt-ar71xx-tiny-tl-wr841-v9-squashfs-sysupgrade.bin
cp: cannot stat '/home/fbl/freifunk/firmware/build/ar71xx/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/tmp/openwrt-ar71xx-tiny-tl-wr841-v9-squashfs-sysupgrade.bin': No such file or directory
Makefile:73: recipe for target '/home/fbl/freifunk/firmware/build/ar71xx/bin/targets/ar71xx/tiny/openwrt-ar71xx-tiny-tl-wr841-v9-squashfs-sysupgrade.bin' failed
make[5]: [/home/fbl/freifunk/firmware/build/ar71xx/bin/targets/ar71xx/tiny/openwrt-ar71xx-tiny-tl-wr841-v9-squashfs-sysupgrade.bin] Error 1 (ignored)
[ -f /home/fbl/freifunk/firmware/build/ar71xx/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/tl-wr841-v9-kernel.bin -a -f /home/fbl/freifunk/firmware/build/ar71xx/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/root.squashfs ]
dd if=/home/fbl/freifunk/firmware/build/ar71xx/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/root.squashfs >> /home/fbl/freifunk/firmware/build/ar71xx/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/tmp/openwrt-ar71xx-tiny-tl-wr841-v9-squashfs-factory.bin
4712+1 records in
4712+1 records out
2412674 bytes (2.4 MB, 2.3 MiB) copied, 0.00668346 s, 361 MB/s
/home/fbl/freifunk/firmware/build/ar71xx/staging_dir/host/bin/mktplinkfw -H 0x08410009 -W 0x1 -F 4Mlzma -N OpenWrt -V r7676-cddd7b4c77 -m 1 -k /home/fbl/freifunk/firmware/build/ar71xx/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/tl-wr841-v9-kernel.bin -r /home/fbl/freifunk/firmware/build/ar71xx/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/tmp/openwrt-ar71xx-tiny-tl-wr841-v9-squashfs-factory.bin -o /home/fbl/freifunk/firmware/build/ar71xx/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/tmp/openwrt-ar71xx-tiny-tl-wr841-v9-squashfs-factory.bin.new -j -X 0x40000 -a 0x4 && mv /home/fbl/freifunk/firmware/build/ar71xx/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/tmp/openwrt-ar71xx-tiny-tl-wr841-v9-squashfs-factory.bin.new /home/fbl/freifunk/firmware/build/ar71xx/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/tmp/openwrt-ar71xx-tiny-tl-wr841-v9-squashfs-factory.bin || rm -f /home/fbl/freifunk/firmware/build/ar71xx/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/tmp/openwrt-ar71xx-tiny-tl-wr841-v9-squashfs-factory.bin
[mktplinkfw] rootfs offset aligned to 0x1261132
[mktplinkfw] *** error: images are too big by 3787 bytes
cp /home/fbl/freifunk/firmware/build/ar71xx/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/tmp/openwrt-ar71xx-tiny-tl-wr841-v9-squashfs-factory.bin /home/fbl/freifunk/firmware/build/ar71xx/bin/targets/ar71xx/tiny/openwrt-ar71xx-tiny-tl-wr841-v9-squashfs-factory.bin
cp: cannot stat '/home/fbl/freifunk/firmware/build/ar71xx/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/tmp/openwrt-ar71xx-tiny-tl-wr841-v9-squashfs-factory.bin': No such file or directory
Makefile:73: recipe for target '/home/fbl/freifunk/firmware/build/ar71xx/bin/targets/ar71xx/tiny/openwrt-ar71xx-tiny-tl-wr841-v9-squashfs-factory.bin' failed
make[5]: [/home/fbl/freifunk/firmware/build/ar71xx/bin/targets/ar71xx/tiny/openwrt-ar71xx-tiny-tl-wr841-v9-squashfs-factory.bin] Error 1 (ignored)

Adrian Schmutzler

2019-02-07 00:46

manager   ~0000334

Aber warum bauen die dann bei meiner Firmware noch? Ich hab doch eher MEHR drin?

Adrian Schmutzler

2019-02-07 15:15

manager   ~0000335

Hmm, ein bisschen Platz spare ich natürlich, weil ich die network.* Files nach subtarget aufteilen kann. Allerdings müsste bei mir schon mindestens genausoviel zusätzliches Zeug drin sein.

Ich werde mal versuchen, den master auf split subtargets umzubauen, ob es dann geht.

Adrian Schmutzler

2019-02-07 23:00

manager   ~0000336

Ich habe gesehen, dass ich in meiner Firmware das Problem auch schon hatte und bei allen tiny devices "-uboot-envtools" gemacht habe.
Damit baut auch unser Master wieder.
Ich schicke einen Patch.

fbl

2019-05-09 20:24

administrator   ~0000341

cbc2f7159f7c5cd878e3f7df40c412953c747ed8

Issue History

Date Modified Username Field Change
2019-02-06 15:03 Adrian Schmutzler New Issue
2019-02-07 00:32 fbl Note Added: 0000333
2019-02-07 00:46 Adrian Schmutzler Note Added: 0000334
2019-02-07 15:15 Adrian Schmutzler Note Added: 0000335
2019-02-07 23:00 Adrian Schmutzler Note Added: 0000336
2019-05-09 20:24 fbl Status new => resolved
2019-05-09 20:24 fbl Resolution open => fixed
2019-05-09 20:24 fbl Note Added: 0000341
2019-10-02 12:48 fbl Category Freifunk Franken Firmware => General
2019-10-02 12:48 fbl Category General => General2
2019-10-02 12:49 fbl Category General2 => General