freifunk-berlin / firmware

DEPRECATED: Build system for Berlin firmware. Please user the pinned falter-repos instead
https://berlin.freifunk.net
GNU General Public License v3.0
74 stars 34 forks source link

Request Firmware support for Netgear N600 (WNDR3700v2) #736

Closed xa-y-ax closed 3 years ago

xa-y-ax commented 4 years ago

can we support the Netgear N600 (WNDR3700v2)? https://openwrt.org/toh/netgear/wndr3700

SvenRoederer commented 4 years ago

As I can see this router-family is supported :

This support seems also avail on OpenWrt-19.07 branch, so let's try ...

SvenRoederer commented 4 years ago

btw. you can use the current imagebuilder to generate your own firmwareimages without running the compiler, see https://github.com/freifunk-berlin/firmware#customizing-make

xa-y-ax commented 4 years ago

Thx! :)

pmelange commented 4 years ago

There is a pull request to add this to the Hedy 1.0.X branch. https://github.com/freifunk-berlin/firmware/pull/737 and is currently being built on buildbot http://buildbot.berlin.freifunk.net/#/builders/4/builds/18

After the build is finished and you test that it works, can you please leave a comment on PR #737?

When the master branch builds again, another PR can be easily put together.

xa-y-ax commented 4 years ago

Unfortunately the imagebuilder throws some errors - shoud i close this issue and switch to PR #737 ?

SvenRoederer commented 4 years ago

do you have the error-message on hand?

xa-y-ax commented 4 years ago

yep - but you already replied in PR #737 ...

Collected errors: opkg_install_cmd: Cannot install package kmod-leds-wndr3700-usb. Makefile:150: recipe for target 'package_install' failed make[3]: [package_install] Error 255 Makefile:110: recipe for target '_call_image' failed make[2]: [_call_image] Error 2 Makefile:206: recipe for target 'image' failed make[1]: [image] Error 2 make[1]: Leaving directory '/home/xayax/firmware/imgNT0enz/freifunk-berlin-imagebuilder-1.0.4-ar71xx-generic.Linux-x86_64' Makefile:204: recipe for target '.stamp-images' failed make: [.stamp-images] Error 2

SvenRoederer commented 4 years ago

this PR ist around master-branch, PR737 is about backporting to Hedy-1.0.x

the error shown says you are using the Hedy-1.0.4 imagebuilder. have you tried with imagebuilder from master?

pmelange commented 4 years ago

There currently isn't a master branch. https://util.berlin.freifunk.net/hardware?name=tl-wdr3600-v1,tplink_tl-wdr3600&complete=true

As stated https://github.com/freifunk-berlin/firmware/issues/736#issuecomment-558689981 "When the master branch builds again, another PR can be easily put together."

SvenRoederer commented 4 years ago

@pmelange keeping only the last 10 builds is sometimes a bit to less, that's why Issue #385 would be nice.

Master-builds are broken as seen on issue #734. in branch "master_gluon-patch" I'm working on a solution, to fix this problem of our Makefile.

SvenRoederer commented 4 years ago

@xa-y-ax I did the following to get a working image-set for WNDR3700-v2

git checkout master wget http://firmware.berlin.freifunk.net/unstable/ath79-generic/17/freifunk-berlin-imagebuilder-Development-ath79-generic.Linux-x86_64.tar.xz echo >> profile/ath79-generic.profiles "netgear_wndr3700v2" make IB_FILE=freifunk-berlin-imagebuilder-Development-ath79-generic.Linux-x86_64.tar.xz TARGET=ath79-generic images

xa-y-ax commented 4 years ago

hm. this also doesn't works for me.

make images IB_FILE=freifunk-berlin-imagebuilder-Development-ath79-generic.Linux-x86_64.tar.xz PACKAGE_LIST_DEFAULT=tunnel_berlin_tunneldigger
IB_FILE explicitly defined; using it for building firmware-images
mkdir -p /home/xayax/firmware/firmwares/ar71xx-generic
./assemble_firmware.sh -p "wndr3700v2" -i freifunk-berlin-imagebuilder-Development-ath79-generic.Linux-x86_64.tar.xz -e /home/xayax/firmware/embedded-files -t /home/xayax/firmware/firmwares/ar71xx-generic -u "default tunnel-berlin backbone"
/home/xayax/firmware/firmwares/ar71xx-generic
Extract image builder freifunk-berlin-imagebuilder-Development-ath79-generic.Linux-x86_64.tar.xz
Building a profile for wndr3700v2
Building usecase default
Using package list default
embedding files from /home/xayax/firmware/embedded-files.
make[1]: Entering directory '/home/xayax/firmware/imgGAGTzp/freifunk-berlin-imagebuilder-Development-ath79-generic.Linux-x86_64'
make[2]: Entering directory '/home/xayax/firmware/imgGAGTzp/freifunk-berlin-imagebuilder-Development-ath79-generic.Linux-x86_64'
Profile "wndr3700v2" does not exist!
Use "make info" to get a list of available profile names.
Makefile:192: recipe for target '_check_profile' failed
make[2]: *** [_check_profile] Error 1
make[2]: Leaving directory '/home/xayax/firmware/imgGAGTzp/freifunk-berlin-imagebuilder-Development-ath79-generic.Linux-x86_64'
Makefile:199: recipe for target 'image' failed
make[1]: *** [image] Error 2
make[1]: Leaving directory '/home/xayax/firmware/imgGAGTzp/freifunk-berlin-imagebuilder-Development-ath79-generic.Linux-x86_64'
Makefile:204: recipe for target '.stamp-images' failed
make: *** [.stamp-images] Error 2

any hints for me? I will now try Stefans build: http://lernekultur.de/ffbf/

SvenRoederer commented 4 years ago

Seems you did not use die Imagebilder of the URL I noted for wget. On recent builds I backported the renaming of "wndr3700v2" to "netgear_wndr3700-v2", to ease upgrades to further OpenWRT releases.

Just retry with this changed profile-name. You can also unpack the imagebuilder an run "make info" to get a list of avail profiles.

SvenRoederer commented 4 years ago

I rebased branch issue736_add-WNDR3700 where the image should be build as netgear_wndr3700-v2

SvenRoederer commented 4 years ago

make images IB_FILE=freifunk-berlin-imagebuilder-Development-ath79-generic.Linux-x86_64.tar.xz PACKAGE_LIST_DEFAULT=tunnel_berlin_tunneldigger IB_FILE explicitly defined; using it for building firmware-images mkdir -p /home/xayax/firmware/firmwares/ar71xx-generic

@xa-y-ax Just saw your mistake: you missed the TARGET=ath79-generic definition on your make call. This let the make buildinf for the default ar71xx-generic, whereas you supplied an imagebuilder for ath79-generic.

SvenRoederer commented 4 years ago

was anyone able to test PR #741 and confirm?

SvenRoederer commented 3 years ago

was anyone able to test PR #741 and confirm?

As nobody seems to have any interest in testing the fix since 10 months, I'll close soon.