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)
<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
<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>
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]