<tomn>
hi, is there a known way to fix issues with autotools projects picking up host libraries by mistake? specifically i'm having trouble with f2fs-tools linking against /usr/lib/libuuid.so, which goes about as well as you'd expect https://clbin.com/S4ZDU
<tomn>
i've tried setting TARGET_LDFLAGS, but those appear after -luuid in the linker command-line so it doesn't have any effect
<f00b4r0>
jow: I'm trying to catch netdevs going up/down, but there doesn't seem to be a ubus notification for this type of event. Am I missing something?
<tomn>
tmn505: ah, thanks for giving it a go. do you have /usr/lib/libuuid.so on your system?
<tmn505>
I do lrwxrwxrwx 1 root root 12 06-20 08:56 /usr/lib/libuuid.so -> libuuid.so.1
<tomn>
ok, thanks
<tmn505>
header is also in place /usr/include/uuid/uuid.h
<mrkiko>
robimarko: ny chance, any place I can find reference to what ipq4xx devices are being hit at the moment by the 4MB kernel size limit?
<mrkiko>
Wondering if we could somehow repurpose the small u-booty for the fritz!box 7530 to help us out
<tomn>
tmn505: sorted, thanks, it was my odd build system...
<SlimeyX>
Ansuel ill fix the bsap-192x issues when im *working* from home ;P
<tmn505>
mrkiko: I'm not sure if remember this correctlly, 4MiB problem seem to be an issue with 'bootipq' command implementation in qualcomm U-Boot, it should not affect 'bootm' command. So altering bootcmd variable in U-Boot environment to boot using 'bootm' should fix most devices.
<tmn505>
wait for robimarko to clarify
<mrkiko>
tmn505: thanks a lot for the hint!
<robimarko>
tmn505: There isnt really any kind of a list
<robimarko>
But it seems that most SPI-NOR only devices will hit that limit due to poor implementation by QCA and/or vendors
<tmn505>
thanks, I'll check if this affects my devices
lu_zero has quit [Remote host closed the connection]
csharper2005 has joined #openwrt-devel
<tmn505>
robimarko: so luma_wrtq-329acn (SPI-NAND uses FitImage recipe) seem to be fine, ubinfo shows 4317184 bytes for kernel (caveat: does not use bootipq). pakedge_wr-1 (SPI-NOR uses FitImageLzma) is also fine, kernel occupies 3145728 bytes. I'll check if pakedge device accepts kernel created with FitImage and FitzImage recipes.
zer0def has quit [Ping timeout: 480 seconds]
<robimarko>
tmn505: UBI devices wont be affected as they are loading the kernel volume dynamically
<robimarko>
Only SPI-NOR devices
minimal has quit [Quit: Leaving]
Tapper has quit [Read error: Connection reset by peer]
lu_zero has joined #openwrt-devel
<lu_zero>
hi
Tapper has joined #openwrt-devel
schwicht has quit [Read error: Connection reset by peer]
csharper2005 has quit [Remote host closed the connection]
tersono has joined #openwrt-devel
Dseven has quit [Read error: Connection reset by peer]
PJin[m] has joined #openwrt-devel
tohojo has joined #openwrt-devel
[florian] has quit [Ping timeout: 480 seconds]
robimarko has quit [Quit: Leaving]
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
<djfe>
mrkiko: tmn505: it might be better to implement lzma-loader instead. It won't require users to modify their bootloader environment variables and make the images smaller at the same time :)
<djfe>
it also shows the error message on serial that users will face when they sysupgrade to an image that is too large (not every device in generic.mk sets KERNEL_SIZE := 4096k to prevent such images from being built)
<djfe>
I know lzma loader is not the most elegant solution but it requires the least changes and allows people to install newer openwrt versions from factory without an intermediate step using openwrt-22.03 or opening the device for serial access.
<f00b4r0>
djfe: it also considerably slows down boot
Borromini has joined #openwrt-devel
lu_zero has quit [Remote host closed the connection]
<slh>
what does consdierable slowdown mean in this regard? 5s, 10s (just guessing for a rough ballpark, no idea how long it really takes)? ipq40xx is a (quad-) ARMv7 running at 716 MHz, it shouldn't be thaaaat bad (as in half a minute or more)