danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
caskd has quit [Ping timeout: 480 seconds]
caskd has joined #openwrt-devel
lucascastro has quit []
swalker has joined #openwrt-devel
soxrok2212 has quit []
soxrok2212 has joined #openwrt-devel
skynet2_ has quit []
sorinello has joined #openwrt-devel
rua has quit [Quit: Leaving.]
rua has joined #openwrt-devel
rua has quit []
vincejv has quit [Ping timeout: 480 seconds]
<dwfreed>
Habbie: your package is missing PKG_BUILD_DEPENDS
vincejv has joined #openwrt-devel
valku has quit [Remote host closed the connection]
<Habbie>
dwfreed, oh crap :)
<dwfreed>
that would probably solve your problem :)
<Habbie>
yes, and i don't even want them at runtime
<Habbie>
so they really are in the wrong place now
<dwfreed>
nlohmann's header only, right?
<Habbie>
i think so, but more importantly, my end product is a static binary
<dwfreed>
ah, right
<Habbie>
if this was for upstreaming to openwrt/packages it would be different
<Mangix>
Habbie: yes static dependencies should be BUILD_DEPENDS
<Habbie>
ack
<Mangix>
i would guess a lot of packages would benefit from static linking honestly
<Habbie>
yes
<Habbie>
if you have only one or two, say, openssl consumers, you don't need the whole two .so's
<Habbie>
but shipping half .so's is hard too
<Habbie>
ok, and PKG_BUILD_DEPENDS wants dirnames, and no +
rua has joined #openwrt-devel
<Habbie>
actually that might be a fun experiment - whatever the linker does to only take part of a .a, apply that logic to an entire image, and strip unused bits out of .so files
n3ph has joined #openwrt-devel
n3ph has quit [Ping timeout: 480 seconds]
Piraty has quit [Remote host closed the connection]
Piraty has joined #openwrt-devel
RaaZoe_T046 has joined #openwrt-devel
maciekb72183 has quit [Quit: bye]
maciekb72183 has joined #openwrt-devel
<guidosarducci>
nbd: I fixed a mac80211 backports bug while working on malta/6.12. Could you look at https://github.com/nbd168/backports/pull/1 when you get a chance? Thanks, and all the best in the New Year!
RaaZoe_T046 has quit [Remote host closed the connection]
goetz has joined #openwrt-devel
xbr5 has joined #openwrt-devel
xbr has quit [Ping timeout: 480 seconds]
xbr5 is now known as xbr
goetz has quit [Quit: goetz]
robimarko has joined #openwrt-devel
goliath has joined #openwrt-devel
n3ph has joined #openwrt-devel
<Habbie>
oh right
<Habbie>
| WARNING: Makefile 'package/voorkant/Makefile' has a build dependency on 'curl', which does not exist
<russell-->
notu1: you need to partition layout from the original flash
Mirage has joined #openwrt-devel
Ycarus has joined #openwrt-devel
<russell-->
wait, what was the dts file for the unmodified device?
<notu1>
russell--: /target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_tplink_tdw8980.dts with the partition table from vr9_tplink_tdw89x0.dtsi
<notu1>
I have copied over with uboot the boardconfig and it is in the 0xfd0000 region
<russell-->
for simplicity (and because i don't quite understand how device tree overriding works) i'd copy both those into -16m versions and adjust the flash partitioning in the new dtsi, and obviously change the include in the new dts file to point at at the new dtsi file and whatever else seems obvious.
<russell-->
i did something similar with the wdr3600
<russell-->
so, mostly i think you need to redeclare thing parts that change, and tweak the reg = < > parts. firmware will get a modified size and the config and boardconfig will get new starting addresses.
skynet2_ has joined #openwrt-devel
skynet2 has quit [Ping timeout: 480 seconds]
<notu1>
okay I tried your method and ended up with this diff https://pastebin.com/9R9ZyJcv , I feel like nvmem is the issue and I dont know why this does not work at all
<russell-->
nvmem ought to be relative to the partition, and that shouldn't change from just moving partitions around, obviously you have to copy the bits from the original to the right part of the new flash image
<robimarko>
svanheule: I guess this branch was accidental?
<russell-->
notu1: i don't understand the purpose of the firmware-utils in your patch or the hotplug change, tdw8980 wasn't in there before, why add it now if you are just changing the flash part?
Mirage has quit [Remote host closed the connection]
<Habbie>
dwfreed, i have learned that doing src-link (like PowerDNS/openwrt-feeds) makes build dep works
mrkiko has joined #openwrt-devel
<Habbie>
dwfreed, the way openwrt-vlmcsd sets up the package makes them fail
<Habbie>
likely a bug somewhere in scripts/
Mangix has quit [Read error: Connection reset by peer]
Mangix has joined #openwrt-devel
<notu1>
russell--: Changes to the firmware-utils are basically 3 lines, to add the correct flash layout from the janfla patches since we define a new flash layout 16Mltq-8Mflsh . As for the hotplug tdw8980 it was in there before but got moved to xrx200_legacy since it failed to build due to images failing to build for release 24, so it is adapted from there.
<notu1>
You instead of moving it back to the xrx200 you did it in the xrx200_legacy which I avoided to be closer to the guide, Ill try and see what your attempt gives us
<russell-->
notu1: if the only thing you are changing is the flash, then everything else is the same, i'd be inclined to validate that part before layering on other chaos
<russell-->
anyway, that counts as my guess. i can't help beyond that
<notu1>
Thanks a lot no matter what, I'll keep looking into it
<robimarko>
It should work as long as you input snapshot and then full version
n3ph has quit [Ping timeout: 480 seconds]
<totkeks>
ah yes, version and release. confused me as well the first time I created an issue because I, as probably many other, ignored the useful hint below the field
<robimarko>
Yes, that is why most non release versions are tagged as invalid
<robimarko>
As if you dont post what the hint says it will fail checks
<robimarko>
Device names as well are bit of an issue
<totkeks>
but only if people don't use the proper command, right?
<robimarko>
Yes
<robimarko>
And most people dont
<totkeks>
people are lazy. that is to be expected unfortunately
<robimarko>
So we have a lot of issues with device, target or versions marked as invalid
<robimarko>
Effectively making everybody just ignore the bot comments
<totkeks>
that sounds like a waste of them then on both sides.
<totkeks>
what was/is the original intent behind that labelling?
<robimarko>
Basically, to make it clear what is the version that has the bug, device, target and diffconfig
<robimarko>
As otherwise you gotta ask for all of that manually
<robimarko>
Basically, if the validation was run before issue could be created then it would help
<robimarko>
Now it just annoys people
<robimarko>
It really helps when people fill out all of the fields though, so its not bots fault really
<totkeks>
then one option could be to me more drastic and just close/delete the issue, if it is faulty.
<totkeks>
another option could be to rerun the validation when the user edits the issue after the bot tells him he made some mistakes
<robimarko>
I am not sure if GH supports that, but that would be really good
<robimarko>
As currently, you gotta remove the comments manually
<totkeks>
I just conversed with copilot and it said there is a "edited" trigger for workflows.
<totkeks>
looking at the issue labeller workflow I have mainly no idea what it does. :D but at least github has copilot integrated to ask for a summary.
<totkeks>
its a pity github actions don't have the same features as azure devops ones. e.g. importing steps
minimal has joined #openwrt-devel
<totkeks>
one Ai was wrong. the other knew it better. it is actually supported. which is good, because it could make that job easier to read and reuse parts.
<totkeks>
is there a description of the process somewhere? new bug report (has labels to-triage, bug and bug-report) comes in. workflow runs and checks if label "bug-report" is present. then parses issue and validates version (revision actually, seems confusing to use two different words), release, target and device and adds the appropriate labels or comments if it fails. And then removes the two labels. While instead it should
<totkeks>
bugger the OP to fix the issue until it is fine, right?