cmonroe has quit [Remote host closed the connection]
cmonroe has joined #openwrt-devel
JustFly has joined #openwrt-devel
<JustFly> Hi! I'd like to add a heavily modified U-Boot package for a new target, but the compilation fails with MUSL, because it seems to not support thumb instructions. It says "sorry, unimplemented: Thumb-1 'hard-float' VFP ABI"... I've tried to build it without the thumb flags, but the startup (assembler) code offsets then do not fit anymore. Is there a convenient way in OpenWrt to use GLIBC instead for compiling a single packag
<Mangix> JustFly: glibc can be defaulted for certain targets. this is done with ARC
theJoker8814 has joined #openwrt-devel
<slh> but the fact that this -only- target (arc) was different, was not appreciated at all - and a large part in the decision to retire it (there were more reasons, but the glibc dependency has always be a big point of contention)
cmonroe has quit [Ping timeout: 480 seconds]
<djfe> rmilecki: obviously OpenWrt could do different, but PSK has been cut from 6GHz like anything else legacy. since it's a new frequency spectrum and they are starting fresh: why keep old stuff? so most Clients won't accept PSK2 anyways even if you would find a way to use it on 6GHz which I doubt. SAE is the way to go now
<djfe> on 2.4GHz and 5GHz you need to keep providing PSK2 for legacy reasons but 6GHz is only supported by new clients, new enough to know wpa3
<slh> not quite, the common setup for most is to have one single ESSID for 2.4+5+6 GHz, clients don't like it that much if the access credentials/ encryption settings differ between BSSIDs with the same ESSID
<slh> that effectively means WPA3SAE everywhere, which few can do (IoT crap on 2.4 GHz, slightly older gear on 5 GHz) or WPA2PSK/ CCMP everywhere, mixed mode isn't accepted by many clients and doesn't give you much beyond WPA2PSK anyways
<slh> (or two concurrent ESSID, one with WPA2PSK on 2.4+5 GHz and one WPA3SAE ESSID on 2.4+5+6 GHz)
theJoker8814 has quit [Ping timeout: 480 seconds]
gch981213 has joined #openwrt-devel
rua has quit [Quit: Leaving.]
rua has joined #openwrt-devel
tSYS has quit [Quit: *squeak*]
tSYS has joined #openwrt-devel
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_sunxi.html has been updated. (0% images and 100.0% packages reproducible in our current test framework.)
fakuivan has joined #openwrt-devel
rua has quit [Quit: Leaving.]
rua has joined #openwrt-devel
vincejv has quit [Ping timeout: 480 seconds]
rua has quit [Quit: Leaving.]
rua has joined #openwrt-devel
goliath has joined #openwrt-devel
<PaulFertser> JustFly: but what do you need floating point in u-boot for?
<JustFly> As far as I understood this thumb instruction option decreases binary size by using 16 bit instructions. The target uses bootstrap code for starting U-Boot. If the size of that bootstrap code increases some hardcoded offsets do not fit anymore. I will try turning off hardwaer floating point instructions and see if that fixes the issue...
vincejv has joined #openwrt-devel
robimarko has joined #openwrt-devel
<PaulFertser> JustFly: Thumb instructions help to save space, right, but the error you get is because you're using hardfp ABI, but if you do not need FP at all, why not use softfp ABI instead?
<PaulFertser> -mfloat-abi=soft
<PaulFertser> Also, what core is that, is it really restricted to very old Thumb-1 instructions (for the Thumb mode)?
<PaulFertser> Cortex-A9 supports Thumb-2
<PaulFertser> JustFly: I have impression the problem are your compile flags, not MUSL or ABI.
<djfe> slh: I guess different encryption settings are going to become more common then. Hopefully 6GHz device don't suffer from this issue, then it should be fine.
<djfe> else: roll out 6GHz with a different ESSID. the spec leaves you no choice
<djfe> not sure if I would roll out the new ESSID for 2.4 and 5GHz as well but it could be of use :)
<PaulFertser> djfe: so is it established 6 GHz can't be used with mandatory 802.11w but RSN/WPA2?
<djfe> what is rsn?
<djfe> fairly certain
<djfe> why would you keep legacy "shit" for new clients?
<PaulFertser> djfe: WPA2 isn't that shitty
<PaulFertser> djfe: and with 802.11w required it's all encrypted so what's the problem?
<djfe> they dropped everything old and prohibited everyone from deciding against useful configs
<djfe> WPA3 is an improvement and WiFi alliance wanted to enforce it's usage on new spectrum
<djfe> there's no reason to stick with wpa2 on new frequencies in their mind
<djfe> I can honestly relate and see why.
<djfe> if this causes issues with shared ESSIDs in practice that would be a shame. But I haven't tested this. Have you?
<djfe> If this causes issues, then it's the fault of the new clients that support 6GHz and still receive updates. this decision doesn't affect legacy clients at all
<djfe> also it was a good decision to drop WEP and WPA (TKIP) once and for all
<djfe> or rather: not to keep them
<PaulFertser> Here's the list of specific requirements from hostapd maintainer https://w1.fi/cgit/hostap/tree/src/ap/ap_config.c#n1202
<djfe> also: WPA3 (SAE) has the advantage of perfect forward secrecy, which is already common on the web https://www.thesslstore.com/blog/perfect-forward-secrecy-explained/
<JustFly> PaulFertser: It's a Cortex A7. The flags of the two commands are identical.
<JustFly> Original command: armv5-eabi--glibc--stable/bin/armv5-glibc-linux-gcc -Os -Wall -g -nostdlib -fno-builtin -Iinclude -march=armv5te -mthumb -mthumb-interwork -fno-pie -fno-PIE -fno-pic -fno-PIC -fno-partial-inlining -fno-jump-tables -fdata-sections -ffunction-sections -DCSIM_ASIC -DNO_QUICK_SIM -DSDRAM0_SIZE_ -DSDRAM1_SIZE_ -DDRAM_INIT=1 -c -o arch/arm/start.o arch/arm/start.S
<JustFly> My command: arm-openwrt-linux-muslgnueabi-gcc -Os -Wall -g -nostdlib -fno-builtin -Iinclude -march=armv5te -mthumb -mthumb-interwork -fno-pie -fno-PIE -fno-pic -fno-PIC -fno-partial-inlining -fno-jump-tables -fdata-sections -ffunction-sections -DCSIM_ASIC -DNO_QUICK_SIM -DSDRAM0_SIZE_ -DSDRAM1_SIZE_ -DDRAM_INIT=1 -c -o arch/arm/start.o arch/arm/start.S
<JustFly> When adding -mfloat-abi=soft the build succeeds, but I get a whole lot of these warnings: warning: array subscript 'const struct romvsr[0]' is partly outside array bounds of 'void[4]'
<JustFly> I'll continue with the other missing stuff for board support and then check if the device boots. Thanks for the help so far.
<PaulFertser> JustFly: why are you using ARMv5 instruction set for Cortex-A7?!
<PaulFertser> It supports ARMv7-A and of course Thumb-2 as well.
<robimarko> I was testing 6.6 and its completely breaking booting, causing kallsyms to throw a BUG() and then hang
<nbd> robimarko: the point of that patch is to reduce lzma/xz compressed kernel size
<nbd> i think we should measure how much of a difference it makes these days
<nbd> and if the size saving is small, we can just drop it
<robimarko> Well, my issue with it is that its being unconditionally enabled via: https://github.com/robimarko/openwrt/blob/master/include/kernel-defaults.mk#L109
<robimarko> So, seeing that its disabled in config-x.y is misleading
owrt-images-builds has quit [Remote host closed the connection]
owrt-images-builds has joined #openwrt-devel
<robimarko> nbd: Well, it seems that its saving around 14k on ath79
<nbd> if you can give me your current tree with 6.6 and the .config you're using, i can help with debugging that patch
<nbd> please also send me the location of the BUG() that triggers and i'll take a look
Piraty has joined #openwrt-devel
robimarko has quit [Remote host closed the connection]
robimarko has joined #openwrt-devel
<Piraty> i remember readin an article about a router that required very little modification to make it capable of being operated with via poe , does anyone have the reference?
<djfe> Piraty: what makes you think there's just one?
<Piraty> i don't ;) i just remember i read a write-up some weeks ago and i didn't bookmark it
<djfe> here?
<Piraty> no
Piraty has quit [Remote host closed the connection]
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
<robimarko> Oh, musl finally has a new release
<stintel> cool
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
rua has quit []
rua has joined #openwrt-devel
minimal has joined #openwrt-devel
JustFly has quit [Remote host closed the connection]
minimal has quit [Quit: Leaving]
theJoker8814 has joined #openwrt-devel
theJoker8814 has quit [Quit: The Lounge - https://thelounge.chat]
goliath has quit [Quit: SIGSEGV]
theJoker8814 has joined #openwrt-devel
cmonroe has joined #openwrt-devel
minimal has joined #openwrt-devel
theJoker8814 has quit [Quit: The Lounge - https://thelounge.chat]
skynet2 has joined #openwrt-devel
Slimey has quit [Read error: Connection reset by peer]
floof58 has quit [Ping timeout: 480 seconds]
floof58 has joined #openwrt-devel
gch981213 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
mentalow has quit [Quit: :]]
mentalow has joined #openwrt-devel
robimarko has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
kwz has joined #openwrt-devel
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_omap.html has been updated. (11.1% images and 100.0% packages reproducible in our current test framework.)