sfx2000
5
When working with GL-Inet’s OpenWRT, be mindful of which branch one is working on.
- develop is not current - and if you clone to their OpenWRT, this is the default release is also a bit stale
- 18.06-S1300 is specific to convexa-S
- 18.06 - again, a bit stale, but supports products up to a certain point
- 19.07 - current thru Brume, seems to be the most active… sometimes doesn’t build.
- release - not current
So how to sync to GL-iNet’s git?
git clone https://github.com/gl-inet/openwrt.git
cd openwrt/
git checkout openwrt-19.07
make distclean
git pull && ./scripts/feeds update -a && ./scripts/feeds install -a && make menuconfig
make defconfig
make download
make V=s
Brume doesn’t build just yet - seeing errors below
Applying /home/sfx/builds/glinet/openwrt/target/linux/mvebu/patches-4.14/533-arm64-add-leds-configure-for-mv1000.patch using plaintext:
patching file drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
Hunk #1 FAILED at 170.
1 out of 1 hunk FAILED -- saving rejects to file drivers/pinctrl/mvebu/pinctrl-armada-37xx.c.rej
patching file drivers/leds/leds-glmv1000.c
patching file drivers/leds/Makefile
patching file drivers/leds/Kconfig
Patch failed! Please fix /home/sfx/builds/glinet/openwrt/target/linux/mvebu/patches-4.14/533-arm64-add-leds-configure-for-mv1000.patch!
Makefile:21: recipe for target '/home/sfx/builds/glinet/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mvebu_cortexa53/linux-4.14.151/.prepared_6c1ccc56de1dbb7417e059aad24d397d' failed
make[4]: *** [/home/sfx/builds/glinet/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mvebu_cortexa53/linux-4.14.151/.prepared_6c1ccc56de1dbb7417e059aad24d397d] Error 1
make[4]: Leaving directory '/home/sfx/builds/glinet/openwrt/target/linux/mvebu'
Makefile:13: recipe for target 'compile' failed
make[3]: *** [compile] Error 2
make[3]: Leaving directory '/home/sfx/builds/glinet/openwrt/target/linux'
time: target/linux/compile#7.96#2.85#8.91
target/Makefile:23: recipe for target 'target/linux/compile' failed
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory '/home/sfx/builds/glinet/openwrt'
target/Makefile:18: recipe for target '/home/sfx/builds/glinet/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.target_compile' failed
make[1]: *** [/home/sfx/builds/glinet/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.target_compile] Error 2
make[1]: Leaving directory '/home/sfx/builds/glinet/openwrt'
/home/sfx/builds/glinet/openwrt/include/toplevel.mk:225: recipe for target 'world' failed
make: *** [world] Error 2
Not urgent for me at the moment, other things I have to do next week…
1 Like