xes_ has quit [Ping timeout: 480 seconds]
xes_ has joined #openwrt-devel
xes_ has quit [Ping timeout: 480 seconds]
xes_ has joined #openwrt-devel
Ansuel has quit [Quit: Probably my PC decided to sleep or I decided to sleep.]
SlimeyX has joined #openwrt-devel
mcbridematt has quit [Ping timeout: 480 seconds]
* Slimey hands out Tsingtao beer and stir friend peanuts
<Slimey> fried
mcbridematt has joined #openwrt-devel
isak has quit [Remote host closed the connection]
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
cmonroe has quit [Quit: Textual IRC Client: www.textualapp.com]
Piraty has quit [Remote host closed the connection]
Piraty has joined #openwrt-devel
castiel652 has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
hanetzer1 has joined #openwrt-devel
hanetzer has quit [Ping timeout: 480 seconds]
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
hanetzer2 has joined #openwrt-devel
rsalvaterra has quit []
hanetzer1 has quit [Ping timeout: 480 seconds]
rsalvaterra has joined #openwrt-devel
MaxSoniX has joined #openwrt-devel
<KGB-1> https://tests.reproducible-builds.org/openwrt/openwrt_tegra.html has been updated. (100.0% images and 99.9% packages reproducible in our current test framework.)
cmonroe has joined #openwrt-devel
sorinello has quit [Read error: Connection reset by peer]
sorinello has joined #openwrt-devel
Piraty has quit [Remote host closed the connection]
castiel652 has quit [Quit: Leaving]
danitool has joined #openwrt-devel
goliath has joined #openwrt-devel
shoragan_ has joined #openwrt-devel
shoragan is now known as Guest933
shoragan_ is now known as shoragan
csrf has quit [Ping timeout: 480 seconds]
floof58 is now known as Guest935
floof58 has joined #openwrt-devel
Guest935 has quit [Ping timeout: 480 seconds]
ephemer0l has quit [Ping timeout: 480 seconds]
pepes has quit [Quit: WeeChat 3.5]
minimal has joined #openwrt-devel
<karlp> so, kernel people replied that if you're using gpio cdev, you should leave the v1 interface enabled in kernel config, even though it defaults to off, https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1953613 is there an easy way to make that magically do the right with via he DEPENDS:=@GPIO_SUPPORT?
<karlp> or can the config be enabled globabbly and if gpiolib isn'
<karlp> t turned on, it won't have any impact?
<karlp> I'm not enough of an expert on how kernel options work like that.
<karlp> I know I can do it for my own builds with make kernel_menuconfig, but that won't fix things for anyone else?
f00b4r0 has quit [Quit: brb]
robimarko has joined #openwrt-devel
Guest933 has quit []
f00b4r0 has joined #openwrt-devel
<stintel> karlp: the help text for GPIO_CDEV_V1 is not very clear about this. but looking at v5.15.77 sources, the symbol has default y so I'd say we should just enable it globally
<stintel> how to pull that off is another story
<stintel> well not globally, but for all targets that enable GPIOLIB
<stintel> that's gonna be fun
<stintel> maybe a new option in config/Config-kernel.in that depends on GPIO_SUPPORT (gpio in features)
<stintel> it would also allow people to disable it individually
<stintel> maybe even GPIOLIB could be moved there, default y if GPIO_SUPPORT, and remove it from all the target configs
<stintel> because right now it's really error prone, you could enable feature gpio for a target, then forget to enable it in the target kernel config
<stintel> (iiuc)
<stintel> someone please correct me if wrong :)
<karlp> yeah, I've currently just made CDEV_V1=y, in generic kernel config.
<karlp> iiuc, unless a target enables GPIO_CDEV itself, that should have no impact?
<stintel> actually I just notice GPIO_CDEV_V1 depends on GPIO_CDEV
<karlp> yeah, that's what I was reliying on.
f00b4r0 has quit [Read error: Connection reset by peer]
f00b4r0 has joined #openwrt-devel
<karlp> it's built ok here, with sunxi/config-5.15 having CONFIG_GPIO_CDEV=y and generic/config-5.15 having # CONFIG_GPIO_CDEV is not set and CONFIG_GPIO_CDEV_V1=y ?
<stintel> karlp: all those symbols are hidden behind GPIOLIB
<karlp> so it's "worked for me" at least by adding V1=y to generic.
<stintel> so if a target doesn't enable that, I would expect it to have no impact
<karlp> where do you see it as v1 being y by default?
<stintel> karlp: kernel source
<karlp> it sure didn't work until I manually enabled it.
<stintel> karlp: this is from kernel pov, not openwrt
<stintel> in openwrt it's disabled
<stintel> what I meant earlier is that because it's default y in kernel 5.15 I think it's fine to follow that in openwrt
<karlp> so it was only "off" for me out of the box, because generic/config-5.15 had it as " is not set" ?
<karlp> and "someone" had manually done that somewhere?
<karlp> how would that have happened, it appears to be default=y since it came in in 5.10 and is still default=y in 6.1?
<stintel> it's disabled in openwrt generic configs, this overrides kernel's default y
<stintel> ok wrong reasoning in that commit message
<stintel> the author probably assumed userspace has support for both APIs
<stintel> now I would find it weird to CONFIG_GPIO_CDEV=n in there and CONFIG_GPIO_CDEV_V1=y
Piraty has joined #openwrt-devel
ephemer0l has joined #openwrt-devel
<f00b4r0> \x: you've played with CAKE on ipq40xx, haven't you?
<karlp> stintel: yeah, linus seems to perhaps not actually be a user of gpio, just a kernel blinkers of "it's deprecated, turn it off"
<karlp> so, I put it to =y in the generic config, should i just delete the line instead? to make it follow the kernel default?
<stintel> karlp: have a look at https://git.openwrt.org/?p=openwrt/staging/stintel.git;a=summary and tell me what you think? (WIP, _V1 is next)
<stintel> (also: untested)
<karlp> I mean, seems fine... I was just proposing this: https://paste.centos.org/view/bf8169c4
<karlp> which sure, doens't fix any exisitng issues with gpiolib enabled on targets that don't have gpios, but it should "just work" too?
<karlp> you seem to be adding a bunch of second level config for it all though?
<karlp> do we really need any of that? (other than the existing gpiolib piece?)
<karlp> I wouldn't say there's muhc need to provide knobs to have gpio support without the cdev?
<karlp> so I guess, IMO, your first two look good? I dont' see a lot of use for the final "kernel: add KERNEL_GPIO_CDEV config option" one though?
<stintel> karlp: having CONFIG_GPIO_CDEV=n and CONFIG_GPIO_CDEV_V1=y in the same config is likely to cause confusion, no ?
<karlp> I'd just put CONFIG_GPIO_CDEV=y and CDEV_V1 =y in generic,
<karlp> and then your existing patch to selectively turn on gpiolib will mean those only do anything if gpiolib is turned on?
<stintel> ok, KERNEL_GPIO_CDEV might be better just a hidden symbol doesn't need to be user selectable I guess
<karlp> yeah, that seems like a super finegrained knob to _have_ gpio support but explicitly refuse the cdev?
<karlp> people can kernel_menuconfig themselves if they want to go that far.
<stintel> but then I would add KERNEL_GPIO_CDEV_V1 as non hidden
<karlp> (IMO)
<stintel> since we're going to change that
<karlp> what do you mean "as non-hidden" ?
<stintel> configurable in menuconfig
<karlp> I mean, linus's patch, which doesn't even make sense, goes against the upstream default,
<\x> f00b4r0: yup
<stintel> because now we have CDEV_V1=n
<karlp> and there _is_ no v2 userspace available,
<stintel> there is, some golang thing
<\x> ipq40xx overclocked with cake will do 220Mbps
<stintel> iiuc
<\x> codel will do linespeed
<f00b4r0> \x: ok, that's pretty underwhelming
<karlp> I'd hardly count it as relevant when the reference implementation doens't, and we're not running go here anyway...
<\x> codel will do gigabit
<karlp> but yeah, nominally, the v2 api is available for users to do themselves...
<f00b4r0> curiously i see vastly different performance between dl and ul
<\x> ah
<f00b4r0> yeah maybe I should stick to default
<\x> yeah
<\x> theres a way to fix that
<f00b4r0> like ~130 down, ~280 up
<\x> and yeah, overclocking helps
<\x> but its up to your discretion
<karlp> stintel: I men, your three patches look like they'd also work jsut fine, they just seem a lot "bigger" than necessary.
<stintel> I added a few more :P
<f00b4r0> \x: i don't have these interrupts on my device but I see the idea, I'll give it a shot
<\x> f00b4r0: the default now with ipq40xx is that all interrupts are on CPU0, moving tx and rx to a free core helps a lot
<f00b4r0> yeah I had already given a spin to irqbalance --oneshot
<f00b4r0> did help
<f00b4r0> thanks anyway, I'll play with this info
<\x> some do balance it actually like on all 4 cores so one tx and one rx on a core (theres 4 tx and 4 rx)
<\x> but the issue is that theres times where both the tx and rx are used and it gets pinned to a single core
<f00b4r0> for some reason I have 16 tx and 4 rx
<\x> performance is worse
<f00b4r0> i can see that :)
<\x> thats weird
<\x> i have 4tx and 4rx
<f00b4r0> but that's with 21.02, so not DSA
<\x> oh
<\x> well then you gotta move to dsa
<stintel> karlp: the main reason I went for this approach is that it actually makes the gpio feature a bit more useful, by actually enabling GPIO support in the kernel. right now it's super confusing, you can FEATURES+=gpio, then in the same target # CONFIG_GPIOLIB is not set and it would not have gpio. at the same time, once libgpiod support the new ABI we can just change KERNEL_GPIO_CDEV_V1 from default y
<stintel> to default n
<f00b4r0> eventually I will. But I don't want to run off-tree
<\x> ah, youre device didnt get the dsa treatment I guess
<\x> your*
<f00b4r0> nope
<stintel> and it avoids confusing things like GPIO_CDEV=n and GPIO_CDEV_V1=y in the same generic config
<tmn505> karlp: the reference implementation seem to have it since 9 days https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/commit/?id=b7ba732e6a93313d4609c4d3ffb426996bf68d02
<\x> >ipq40xx: update the CPU operating points.
<\x> 717 -> 896MHz
<\x> perf uplift is pretty linear for cake
<\x> so how does +25% sound?
<f00b4r0> :)
<\x> i say just try to move tx and rx to differing cores
<\x> maybe itll do something
<f00b4r0> yeah I'll poke around
<karlp> tmn505: nominally yes, but no release, a single giant commit, zero downstream testing, I'd hardly see it as relevant yet.
<karlp> stintel: yeah, I like the main top level bit you did with the feature gpio not requiring manual GPIOLIB config.
<karlp> and given that CDEV and CDEV_V1 both depend on gpiolib, there's no "confusion" with CDEV=n and CDEV_V1=y, you just have both =y in generic?
srslypascal has quit [Remote host closed the connection]
srslypascal has joined #openwrt-devel
<karlp> but I mean, hey, your way works, jsut seemed like more work :)
<stintel> haha :P
<karlp> do you want me to pull that series and send your a tested-by? will you take it from there?
<karlp> I can only test it on sunxi right now though.
<stintel> yeah that sounds like a good idea, I tried to abuse github CI but it would require me to do a PR, it doesn't work in my local fork apparentkly
<Habbie> for packages, the github CI infra requires a useful base branch so it knows what to build against - you may be able to override this
<Habbie> (but I just PR to my own repo)
<Habbie> for non-packages, this might be similar, or not
<stintel> it's looking for container ghcr.io/stintel/tools:latest
<stintel> instead of ghcr.io/openwrt/tools:latest
<Habbie> ah, that's a different problem than in packages :D
<stintel> maybe we should hardcode that instead of using variable
<stintel> karlp: I'd send it to the ML for review also but I'd like to run it through CI at least
<stintel> I'll just do a PR
<stintel> github is a trashcan already anyway
<karlp> aight, buildig locally here, but I've got lunch and some offsite shits later, will let you know this afternoon how it went here :)
<stintel> enjoy!
<karlp> I'd add to the help text here: https://git.openwrt.org/?p=openwrt/staging/stintel.git;a=commitdiff;h=792ae6ca9e29cf56ea4f305c95aac87ed99adb92
<karlp> that this is automatically enabled by your target if it has teh FEATURE flag "gpio" ?
<stintel> makes sense
<stintel> karlp: CI already failed ;p
<stintel> Character device (/dev/gpiochipN) support (GPIO_CDEV) [Y/n/?] (NEW)
<karlp> oh, I just did make menuconfig and they all showed up nicely and with * for them, but I guess menuconfig already autoaccepted them...
<stintel> looks like it's for targets not enabling gpio feature
<stintel> maybe a side-effect of removing CONFIG_GPIOLIB=y from generic config
<stintel> I'll let CI finish first before drawing conclusions
castiel652 has joined #openwrt-devel
clandmeter has quit [Quit: Alpine Linux, the security-oriented, lightweight Linux distribution]
danieli has quit [Quit: Alpine Linux, the security-oriented, lightweight Linux distribution]
clandmeter has joined #openwrt-devel
srslypascal has quit [Ping timeout: 480 seconds]
srslypascal has joined #openwrt-devel
Ansuel has joined #openwrt-devel
<Ansuel> o/
<castiel652> o/ Ansuel
MaxSoniX has quit [Quit: Konversation terminated!]
lemmi has quit [Remote host closed the connection]
Piraty has quit [Remote host closed the connection]
Piraty has joined #openwrt-devel
<karlp> stintel: well, your series works fine here on sunxi...
<karlp> Tested-by: Karl Palsson <karlp@etactica.com>
<karlp> I have not tested all options exhaustively though
<stintel> thanks karlp, however I'm going to have to revise it
<stintel> the problem in CI comes from removing CONFIG_GPIOLIB=y from generic - some targets didn't have CONFIG_GPIO_CDEV while still using GPIO_GENERIC e.g.
<stintel> but I guess those targets should also get FEATURES+=gpio
<karlp> soundsd like it, yes?
<stintel> makes me wonder what the usefulness of this feature is, if it's lacking on several targets without issues
<stintel> maybe this is a legacy thing, do we even have targets left that don't have GPIO enabled at all
<karlp> probably not, even x86 has it for qmeu stuff, and leds, I can't imagine what target doesn't have it...
<karlp> but the pixel peepers might like to turn it off to save space :)
<stintel> I'll sit on it for a bit
<karlp> I'm not deploying today, it's ok, now that I have a workaround... :)
<stintel> as it's currently in kernel configs it requires kernel_menuconfig or a variant of that anyway
<karlp> realtek wifi and bluetooth are goign to give me more pain...
lemmi has joined #openwrt-devel
<stintel> :P
<karlp> you've used sunxi in the past, what's the general goal with sysupgrade? how's it emant to work?
<stintel> unfortunately I've not gotten that far yet
<stintel> the only thing I've done with sunxi is dd to sd via workstation then try boot that in the device
<karlp> ah, yeah, that works fine.
<karlp> my "upgrade" procedure at the moment is reboot to uboot, then "ums 0 mmc 1" and dd to the gadget disk that pops up, but that's a pretty big hammer :)
<stintel> I got a pair of olimex olinuxino to investigate if they could be a raspberry pi alternative, the raspberry pi I currently have are operational, not really need replacements atm, it's more out of idealism, but as such low prio
<stintel> spreadsheet to the rescue for figuring out some GPIO stuff :P
<stintel> find target/linux/ -name target.mk -or -name 'config-5.*' | sed 's:target/linux/::;s:/target.mk::;s:/:,:;s:[/\,,]config-5.*$::' | uniq | sort -u > targets.csv
<stintel> wth am I even doing
<stintel> hmm that uniq is redundant to sort -u
<stintel> like, I said, wth am I ... :)
<KGB-0> https://tests.reproducible-builds.org/openwrt/openwrt_mediatek.html has been updated. (100.0% images and 100.0% packages reproducible in our current test framework.)
mcbridematt has quit [Remote host closed the connection]
isak has joined #openwrt-devel
torv has quit [Remote host closed the connection]
torv has joined #openwrt-devel
torv is now known as Guest952
torv has joined #openwrt-devel
<\x> hi Ansuel
Gaspare has joined #openwrt-devel
<\x> any idea on how to use ARMv8 aes instructions on ipq807x/60xx with openssl? like what things do I have to enable?
Guest952 has quit [Ping timeout: 480 seconds]
<Ansuel> \x they should be already implemented with openssl i think
<\x> Ansuel: I dont see /dev/crypto so I should use the afalg one right?
torv is now known as Guest954
torv has joined #openwrt-devel
Guest954 has quit [Ping timeout: 480 seconds]
Gaspare has quit [Read error: Connection reset by peer]
<Ansuel> \x in theory not they are arm insturctions so openssl should detect them and use them instead of sw
<Ansuel> without using an userspace engine
srslypascal is now known as Guest955
srslypascal has joined #openwrt-devel
Guest955 has quit [Ping timeout: 480 seconds]
MaxSoniX has joined #openwrt-devel
<soxrok2212> xdr-8068 is here, mt7986 with 2x 2.5GBe :)
<Slimey> stintel those ax radios ever show up
<stintel> Slimey: they did
<stintel> but I can't use them :P
<f00b4r0> <OT>would anyone know of an outdoor, POE-passthrough capable gigabit switch other than the currently unobtainium (here) UniFi Switch Flex?
<stintel> is unifi switch flex outdoor o_O
<f00b4r0> it says so :)
<f00b4r0> "Weatherproof design with multiple mounting options"
<schmars[m]> mikrotik might have something https://i.mt.lv/cdn/product_files/netPower_Lite_7R_200921.pdf
<schmars[m]> i run a unifi-switch-flex and it's indeed outdoor, yep
<stintel> cool didn't know
<stintel> I've two but using them indoor
<schmars[m]> and it looks very very neato
<f00b4r0> I should mention that I don't need 10G and would not spend a zillion bucks :)
<f00b4r0> schmars[m]: alas, the mikrotik stuff is their dreaded passive PoE, so that rules it out. Thanks still
castiel652 has quit [Quit: Leaving]
<Slimey> oh noes
<schmars[m]> If you want 802.3af, their bigger devicr has it. But mucho expensive
danieli has joined #openwrt-devel
<f00b4r0> I guess I'll have to track down a switch flex
<f00b4r0> strange that nobody else seems to make these kinds of devices
<schmars[m]> The easiest might be an outdoor case and some cheap netgear or tp-link
<f00b4r0> oh, you have a point
<schmars[m]> Separate router and poe-switch has the advantage that you can properly power cycle the router (if you power it via poe splitter)
<Slimey> :)
<Ansuel> lol i never tought about that
<Ansuel> you reboot the router and you power cycle everything LOL
<schmars[m]> Depends - the unifi switch flex has a dedicated chip for poe that retains state when rebooting without power cycle
<f00b4r0> note that even with indoor devices, 802.3af/at compliant passthrough-capable aren't many
<stintel> indeed
<Ansuel> schmars oh ok so the state is retained... indeed it was strange that they didn't tought about that
<schmars[m]> the openwrt tool for it is poemgr by blocktrron
minimal has quit [Quit: Leaving]
f00b4r0 has quit [Quit: bbiab]
<soxrok2212> i think even the hands of jesus christ himself arent delicate enough to open this xdr-6086 case without breaking it...
<soxrok2212> wow
<Ansuel> rip
<soxrok2212> i actually snapped the tip off a flathead opening it
<Ansuel> O_O
<Ansuel> plastic > iron ?
<soxrok2212> apparently
<soxrok2212> TIL
<Ansuel> i'm just searching the thing
<Ansuel> it's that cube thing?
<soxrok2212> yse
<soxrok2212> yes
<soxrok2212> its actually bigger than you'd think
<Ansuel> looks small here
<Ansuel> also why it seems it's only for the chinese market ?
<soxrok2212> probably because it is
<soxrok2212> aliexpress baby
<stintel> can't wait for the EAPxxx-Wall version using that :)
<Ansuel> can't find it
<soxrok2212> one sec
<Ansuel> pricey bad boy
<soxrok2212> yeah but mt7986 and 2x 2.5gbe
<Ansuel> wtf is turbo button...
<soxrok2212> i was going to ask someone wher
<soxrok2212> here*
<Ansuel> it's probably gpio button
<Ansuel> that call a script
<soxrok2212> apparently it boosts tx power/controls FEM> idk
<Ansuel> and set high clk freq
<Ansuel> or even just set performance gov
<Slimey> lol turbo button
<Ansuel> mhhh boosting tx power = against reg domain
<Ansuel> aka they will brake in your house in china i think
<soxrok2212> good thing im not in china
<Ansuel> imagine having that thing on your desk
<Ansuel> "My internet is slooow" "let me push the turbo button" "WOOOOOOOOOOW"
<soxrok2212> LOL
<soxrok2212> i think there's going to be issues with the 2.5g chip though
<Slimey> back in the day your PC had a fast CPU so if you had a program that ran too fast you would have to turn off the trubo to lower the clock rate so the application would run correctly
<Ansuel> wonder what hack they did to have 2.5
<Slimey> even more so with games
<Ansuel> Slimey i honestly assume it's the same exact thing with the difference it's 2022 and thinks should not have a turbo button
<soxrok2212> probably this
<Slimey> yeah most things just run balls out or clock automaticly
<Ansuel> SGMII port 5 of MT7531 switch
<Ansuel> i hope the cpu port is not limited to gigabit
<Slimey> heh just ask the wifi to translate
<Slimey> wife
<soxrok2212> will find out shortly
<soxrok2212> working on boot log
<soxrok2212> well shit
<soxrok2212> (mt7986) login:
<Ansuel> admin
<Ansuel> root
<soxrok2212> root is user
<Ansuel> also bootloader is locked?
<soxrok2212> checking
<soxrok2212> looks like it, lemme verify
<soxrok2212> jeez they have a lot of random stuff happening
<Ansuel> 220705_xdr6088mtv1-canoe_r17-dirty
<Ansuel> love
<Ansuel> Use slp to stop autoboot: 500ms
<soxrok2212> actually weird, when i type admin into the login it resets and asks for a login again. any other text asks for a password
<soxrok2212> unable to interrupt bootloader
<Ansuel> uboot interrupt looks to be disabled
<soxrok2212> well...
<Ansuel> you need to find a way to login in the system
<Ansuel> it looks like the first stage bootloader is accesible tho
<Slimey> sounds familiar ahh the days of shorting pins ;p
<soxrok2212> wait
<soxrok2212> Use slp to stop autoboot: 500ms
<Ansuel> that should stop first stage
<soxrok2212> so what just spam slp into the console?
<Ansuel> yes
<Ansuel> power cycle and spam slp
<soxrok2212> ooh were in
<Ansuel> help output pls
<soxrok2212> MT7986> help
<soxrok2212> cmd help is blocked
<Ansuel> ?
<soxrok2212> thats what it says lmao
<Ansuel> no i mean
<Ansuel> try
<Ansuel> ?
<soxrok2212> oh lol
<soxrok2212> MT7986> ?
<soxrok2212> cmd ? is blocked
<Slimey> bdinfo
<soxrok2212> blocked
<Slimey> printenv
<Ansuel> (remember that this is not uboot but some strange mtk first stage bl)
<soxrok2212> theres one
<soxrok2212> printenv
<soxrok2212> bootdelay=2
<soxrok2212> baudrate=115200
<Ansuel> oh wait printenv is not blocked?
<soxrok2212> ethaddr=xx:xx:xx:xx:xx:xx
<soxrok2212> fdtcontroladdr=5ffc4080
<soxrok2212> ipaddr=192.168.1.1
<soxrok2212> loadaddr=0x46000000
<soxrok2212> netmask=255.255.255.0
<soxrok2212> serverip=192.168.1.100
<Ansuel> sir pls use pastebin...
<soxrok2212> stderr=serial@11002000
<soxrok2212> stdin=serial@11002000
<soxrok2212> stdout=serial@11002000
<soxrok2212> verify=n
<soxrok2212> Environment size: 240/131068 bytes
<soxrok2212> nope
<soxrok2212> ugh sec
<Ansuel> tftpboot ?
<soxrok2212> already tried that, blocked
<Slimey> does tab auto complete?
<Ansuel> it's serial i guess
<soxrok2212> you smarty, yep!
<Ansuel> oh...
<soxrok2212> base bdinfo blkcache boot boot_normal bootd booti bootm bootmenu bootp cmp coninfo cp crc32 dm echo editenv env ...
<Ansuel> put all command in pastebin also can you put the log ?
<Ansuel> i still can't understand if we are in uboot
<Slimey> try ver
<soxrok2212> ver is blocked
<Ansuel> (they totally have a magic value to unlock the bl i bet)
<Ansuel> (but we need gpl for that)
<soxrok2212> all those commands are blocked
<Ansuel> even bootm?
<Ansuel> or boot
<soxrok2212> yep
<Slimey> heh nice
<Ansuel> they had so much fun with this
<Ansuel> like hard trolling us
<Slimey> Adtran bootloader version 1.0.6
<Slimey> SF: Detected S25FL256S_64K with page size 256 Bytes, erase size 64 KiB, total 32 MiB
<Slimey> SF: Detected S25FL256S_64K with page size 256 Bytes, erase size 64 KiB, total 32 MiB
<Slimey> Erasing SPI flash...Writing to SPI flash...done
<Slimey> BlueKey stop autoboot:
<Slimey> BSAP3040->
<Slimey> key is in plan text lol
<stintel> r00t ?
<Slimey> b100:
<stintel> oh I never got that to work
<Ansuel> oh wait i'm stupid
<Ansuel> it is
<Ansuel> uboot
<Slimey> r00t is if you play with the mfg_state vaules
<Slimey> odd stuff
<Slimey> i bricked one hard messing with mfg_states
<stintel> I resorted to that as I couldn't get b100: to work
<Slimey> had to flashrom it back
<Slimey> as soon as you see Adtran bootloader version 1.0.6 should be able to b100:
<Ansuel> i assume saveenv is also blocked
<soxrok2212> Ansuel: yep
<Ansuel> fk....
<stintel> Slimey: I'll try again someday
<stintel> Slimey: are you having an attempt at this device again? I could in no way get an OpenWrt initramfs to boot at all
<Ansuel> If you are of the opinion that TP-LINK should offer further source code subject to the GPL, please contact us under GPL@tp-link.com.
<Slimey> trying :p
<stintel> there's some WIP in my qoriq-bsap3040 branch fyi
<stintel> on git.openwrt.org
<stintel> with some info in commit messages
<soxrok2212> Ansuel: they'll probably ignore me because im not in china
<Ansuel> they can0t
<soxrok2212> thats what xiaomi did with ax6000
<soxrok2212> nah, they *shouldnt* but they do
<Ansuel> xiaomi is not tplink
<Ansuel> xiaomi doesn't care about gpl
MaxSoniX has quit [Quit: Konversation terminated!]
<Slimey> k
<Slimey> soxrok2212 what does md do
<soxrok2212> blocked, i was hoping to dump flash that way
<Slimey> stintel i will say it is safe to remove the mfg_states entry in its entirety
<Slimey> then r00t will work to abort uboot
<Ansuel> i sent an email btw curious what they will answer
<Slimey> if it os loads it will put it back *sometimes*
f00b4r0 has joined #openwrt-devel
<karlp> woops, atop segfaults. nice.
<soxrok2212> man this is stupid lol
<soxrok2212> alright option b: see if i can find where it downloads fw from and grab a copy
dansan has joined #openwrt-devel
JulianGro[m] has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
<JulianGro[m]> Where can I find the configuration that is used for the pre-built sysupgrade images?
<JulianGro[m]> I am trying to build a custom image, and everything seems to work except for the WAN and LAN ports not being separated.
jlsalvador has quit [Quit: jlsalvador]
floof58 is now known as Guest967
floof58 has joined #openwrt-devel
Guest967 has quit [Ping timeout: 480 seconds]
dansan has quit [Ping timeout: 480 seconds]
dansan has joined #openwrt-devel
<stintel> Ansuel: FYI, I have some ideas for tools container and build containers layered on top off that, currently experimenting with that
<Ansuel> mhhh what is the final target?
<stintel> what do you mean by final target ?
<Ansuel> i mean what you want to accomplish with your experiments
jlsalvador has joined #openwrt-devel
<stintel> basically layered like this: openwrt-build-base > openwrt-build-tools > openwrt-build-$ARCH_$SUBARCH
<stintel> then build target/subtarget with the appropriate openwrt-build-$ARCH_$SUBARCH container
<stintel> publish all of those so people can use them to build with tools/toolchain exactly as CI does
<stintel> and saves them some CPU cycles
<Ansuel> oh ok so you idea is to also include the toolchain in it
<Ansuel> and the host tools i assume
<stintel> yeah
<Ansuel> yep i had the same idea, my only concern is how to handle toolchain update to refresh the container
<stintel> this could be scheduled once every, and/or trigger on changes in specific paths etc
dansan has quit [Ping timeout: 480 seconds]
<Ansuel> yep ideally it should react on changes in toolchains dir but i think on every tools change, each toolchain container should be refreshed
<Ansuel> so it's not trivial to have everything layered (i think?)
<Ansuel> ideally it should work this way
<Ansuel> openwrt-build-base > openwrt-build-tools > openwrt-build-$ARCH_$SUBARCH
<Ansuel> but if something in build-base change than every child should be refreshed
<Ansuel> (but yes i like the idea since that way we can stop caching toolchain tar and cache ccache
<stintel> let's see if I can come up with a PoC by next meeting :)
<Ansuel> also if we plan to make everything public i think it's a good idea to hardcode our container and disable container build for forked project (as I'm noticing some complain about that)
<stintel> did you ever hit Error opening terminal: unknown. ?
<stintel> tried ENV TERMINAL=linux in the Dockerfile but doesn't seem to help
<stintel> happens during make tools/install
minimal has joined #openwrt-devel
<Ansuel> mhhhh nope didn't encounter it but shell on the buildbot container is ""strange""did you tried with the TERM env ?
<Ansuel> export TERM=xterm
goliath has joined #openwrt-devel
Borromini has joined #openwrt-devel
<stintel> wait am I so stupid to mistake TERM for TERMINAl
* stintel slaps himself
<stintel> quick grocery run, bbiab
<Ansuel> anyway something we should for real investigate is a way to build every kernel package... i don't really like the current approach of build everything as we are building stuff multiple time
<Ansuel> aka check if we can create some define to build just kernel packages and nothing else
f00b4r0 has quit [Quit: brb]
<Ansuel> anyway working on ipq806x is getting problematic... currently the 2 linksys device are broken for an unknown reason but they can't be found online...
<Ansuel> i see buying a device the only way to fix them and waste good time to bisect all the kernel version...
<Ansuel> (i don't think an user would like to test 5 kernel version and check when it broke)
<Borromini> Ansuel: on 6.1? or 5.15?
<Ansuel> 5.15
* Borromini only has a few ipq40xx devices and only one for testing
<Ansuel> every other device works... but it seems linksys did some strange tweak
<Ansuel> and that thing broke on with 5.15 kernel version...
<Ansuel> i should prepare 5 image to make that user test... i already have the meme of openwrt supporting 5.11 12 13 14 LOL....
<Ansuel> so not impossible but annyoing for the user
<Borromini> :P
<Mangix> Ansuel: mt7622 CPU is 2.5gbps ues
<Mangix> The WAX206 has an interesting setup. 2.5gbps CPU port connects to a realtek 2.5 gbps PHY. mt753x to the 1gbps CPU port.
<dwfreed> > realtek
<Ansuel> honestly i have never ever tought seeing realtek switch on consumer router and even supported on openwrt lol...
<Ansuel> what is next intel? broadcom ?
<Mangix> Broadcom switches are supported.
<Ansuel> mhhh even all the offload stuff?
<Mangix> Probably. Broadcom supplied/develops the upstream driver.
<stintel> ah welp, TERM=linux now opens menuconfig 😂
<Ansuel> :D
<stintel> I should run make defconfig first
<stintel> weird though that this is required for make tools/install
<Borromini> Ansuel: this is no Realtek switch though :)
<Borromini> just a PHY
<Ansuel> >:(
<Mangix> Switch on the WAX206 is gigabit
<Ansuel> stintel probably cmake or ninja require some strange stuff to have fancy complilation progress stuff ?
<Mangix> I'm guessing realtek PHY is cheaper than Aquantia :)
<Borromini> prolly
<Mangix> Aquantia NICs are interesting. They have firmware updates
<Ansuel> pro and cons with that
<Mangix> Hmm?
<Borromini> the Realtek multigig switches have Aquantias onboard afaik
<Ansuel> Mangix another fw blob to care
<Mangix> Hmm? Doesn't it get flashed to the NIC?
<stintel> maybe the NIC, maybe the NOR, maybe the NAND, OEMs will do weird things :P
<Ansuel> or nothing at all and it needs to be loeaded every time
Tapper has joined #openwrt-devel
f00b4r0 has joined #openwrt-devel
<nbd> fyi, i've updated mac80211 in my staging tree to 6.1-rc4
<Ansuel> i should update my pr to 6.1-rc4...
<rmilecki> Ansuel: what Linksys models broke with 5.15?
<Ansuel> ea7500 and ea8500
<hauke> Ansuel: maybe some user does not need his device any more and would send it to you as a gift
<Ansuel> mhhh don't know i would love to fix without user sending me ""gift"" for breaking devices ahahaha
<Ansuel> well nice the user said he can test the various images... now i just need to compile them...
<stintel> imagine creating a CI for bisecting that spits out images for all commits between X and Y :D
<robimarko> nbd: Thanks
<dwfreed> stintel: that'd be handy
<robimarko> Ansuel: Well, its getting rather crazy with only certain devices getting broke and no hw
<dwfreed> and also really not difficult to do either
<Ansuel> stintel means adding support for each kernel version only someone like me can think of doing that instead of doing correct tools like a buildroot...
<Ansuel> robimarko still convinced there are some reset stuck and the switch is just dead
<Ansuel> and coicinentally the reset are only connected on the 2 linksys device
<Ansuel> dwfreed problem is the generic/hack dir
<Ansuel> robimarko right i didn't think of the fact that it may be that the bootloader is applying some strange regs and with new kernel we are just clearing that...
<owrt-snap-builds> Build [#715](https://buildbot.openwrt.org/master/images/#builders/39/builds/715) of `ath79/nand` failed.
<owrt-snap-builds> Build [#697](https://buildbot.openwrt.org/master/images/#builders/34/builds/697) of `lantiq/xrx200` failed.
<owrt-snap-builds> Build [#706](https://buildbot.openwrt.org/master/images/#builders/28/builds/706) of `octeontx/generic` failed.
<owrt-snap-builds> Build [#704](https://buildbot.openwrt.org/master/images/#builders/55/builds/704) of `malta/be` failed.
<owrt-snap-builds> Build [#255](https://buildbot.openwrt.org/master/images/#builders/77/builds/255) of `realtek/rtl839x` failed.
<stintel> poof
<Ansuel> wth happen o.o
<Ansuel> guess this
<Ansuel> ?
<stintel> didn't look
<Ansuel> the error from buildbot is strange
<stintel> but that seems to be the culprit yeah
<owrt-snap-builds> Build [#717](https://buildbot.openwrt.org/master/images/#builders/15/builds/717) of `armvirt/64` failed.
<stintel> maybe different version of Make ?
<stintel> we've seen that with LuCi last week or so that this could matter
<stintel> (assuming whoever created that change tested it at all)
<owrt-snap-builds> Build [#255](https://buildbot.openwrt.org/master/images/#builders/75/builds/255) of `realtek/rtl930x` failed.
<robimarko> stintel: It fails for me locally on Make 4.3
<robimarko> Reverting ce1346a8fc0ce9640a4ecbc37bc1686a25c1165d fixes it
<owrt-snap-builds> Build [#713](https://buildbot.openwrt.org/master/images/#builders/47/builds/713) of `bcm27xx/bcm2710` failed.
<owrt-snap-builds> Build [#711](https://buildbot.openwrt.org/master/images/#builders/53/builds/711) of `bcm27xx/bcm2711` failed.
<owrt-snap-builds> Build [#718](https://buildbot.openwrt.org/master/images/#builders/41/builds/718) of `bcm27xx/bcm2708` failed.
<Ansuel> stintel should i revert or already done?
<stintel> Ansuel: I'd say go ahead
<owrt-snap-builds> Build [#714](https://buildbot.openwrt.org/master/images/#builders/17/builds/714) of `ramips/rt305x` failed.
<owrt-snap-builds> Build [#714](https://buildbot.openwrt.org/master/images/#builders/46/builds/714) of `ath25/generic` failed.
<stintel> hah, first attempt to build toolchain container using tools from tools container ... is building tools :P
<stintel> fail
<owrt-snap-builds> Build [#753](https://buildbot.openwrt.org/master/images/#builders/7/builds/753) of `armvirt/32` failed.
<Ansuel> stintel did you refresh the timestamps?
<stintel> don't think so
<owrt-snap-builds> Build [#384](https://buildbot.openwrt.org/master/images/#builders/72/builds/384) of `imx/cortexa9` failed.
<Ansuel> then that is the reason tools are getting recompiled
<Ansuel> also AUTOREMOVE is needed
<Ansuel> or again tools recompiled
<Ansuel> the script ext-tools.sh have the file to touch
<owrt-snap-builds> Build [#709](https://buildbot.openwrt.org/master/images/#builders/33/builds/709) of `ipq806x/generic` failed.
<owrt-snap-builds> Build [#707](https://buildbot.openwrt.org/master/images/#builders/52/builds/707) of `x86/legacy` failed.
<stintel> I don't understand why AUTOREMOVE is needed
<stintel> it would probably be a good idea to document this in comments of the pipeline config
<stintel> right now I'll do it in commit messages locally and then when I start cleaning up / squashing commits I'll translate that to comments in the pipeline files
<rmilecki> nbd: ^^ check all those buildbot fails for build commit revert
<rmilecki> Ansuel: thanks for handling that
<rmilecki> Ansuel: it seems I may get that 7500ea / 8500ea if really needed in Poland (costs a bit though)
<rmilecki> Ansuel: let me know if you can debug that regressions
<rmilecki> *ssion
<Ansuel> stintel AUTOREMOVE is needed as the stamp generation logic change with that config and reproducible
<Ansuel> i didn't apply this logic globally as it may cause perf regression and extra build time
<Ansuel> rmilecki currently my idea is to build an initramfs image for each kernel from 5.10 to 5.15 and hope that things are not broken from 5.11 and up...
<Ansuel> there is one user that can help with that so i hope we don't need to waste some money on overpriced hw
<Ansuel> stintel (i skipped a pieace with AUTOREMOVE the stamp is reproducible as it's generated based on the has of the hash of each package file)
<Ansuel> currently the stamp is generated based on the time of the package file and that change with each git clone
<Ansuel> no idea where to document that
<stintel> Ansuel: I see
<stintel> but fk me those CPU prices
<stintel> I want a high enough base clock speed
<slh> the problem with getting an ea7500, would be getting rev1 (ipq8074x), not rev2 (mt7621a)
<hauke> stintel: why do these servers have only SATA / SAS interfaces and not a lot of M2 interfaces for storage?
<slh> and yes, they've been barely sold in Europe, so hard to get - not for a reasonable price
<slh> hauke: probably because of the hotpluggable SATA bays in the front (you don't want to take a server out of the rack, just to replace a faulty drive)
<hauke> ok, but NVMe is much faster than SATA
<zorun_> U.2 is starting to become more common (it's hot-pluggable NVMe)
<dwfreed> generally storage performance isn't as much of a concern as large amounts of it
<zorun_> depends on your use-case
<dwfreed> and large amounts of SAS is a lot cheaper than large amounts of NVMe
<stintel> all valid points, there are U.2 models available if you want NVMe speeds
<hauke> ok
<stintel> but for me it's mostly because I have SAS SSDs and HDDs and I'd move them into this new server
<stintel> so that's why I'm looking at models with SAS/LFF backplane
<f00b4r0> stintel: buying refurb is always an option :)
<stintel> yeah
<stintel> anyway I should probably wait until I know if I'm part of the layoffs or not :P
<olmari> Sidenote from adhoc commenter: also in broad general storage best compromise is is shitton of spinning rust, few quick-e-mart SSD, enough ram for context and then ZFS or some other similar FS to cater it awesomely
<stintel> I'm getting excited to try bcachefs again
<olmari> Rarely "NVMe speeds" are needed anywhere near 100% workload
<stintel> marketing ;)
<olmari> So few nice caching ssd to take in the spikes (and still be exactly sync writes), let em flow to spinning rust when time availbale (which is bulkload of actual timeø
<olmari> Sure, plenty places offers all ssd things, with all ssd prices, so yeah...
<olmari> Also, ofcourse YMMV etc, not all shit is same
goliath has quit [Quit: SIGSEGV]
mcbridematt has joined #openwrt-devel
Mathew has joined #openwrt-devel
Tapper has quit [Quit: Tapper]
minimal has quit [Quit: Leaving]
<Borromini> we got 2x 1TB NVMe here but the storage needs aren't huge
<Borromini> then again with 10 GbE it's a bit silly to stick to S-ATA.
<Slimey> heh
<Borromini> always a bottleneck somewhere right? :^)
<stintel> ;)
robimarko has quit [Quit: Leaving]
<Borromini> stintel: hope you don't get laid off. Sucky times.
<Borromini> i don't think i could have sold my brother on a U.2 server, I already went way overboard with his present setup >_>
<stintel> :P
<stintel> Borromini: thanks, not that worried, many companies have a hard time finding qualified people, I suspect there's going to be a big shift
<stintel> would also be an excuse to take a sabbatical and travel a bit
<Mangix> mediatek ethernet performance. cool.
floof58 is now known as Guest991
floof58 has joined #openwrt-devel
Guest991 has quit [Ping timeout: 480 seconds]
<Borromini> stintel: good :)
* Borromini is out
<Borromini> night gents.
Borromini has quit [Quit: leaving]
<Mangix> nbd: BSD can compile OpenWrt?
<dwfreed> maybe in a linux jail
<dwfreed> but I wouldn't really call that BSD anymore
<Mangix> oh the commit is probably talking about macOS
<Habbie> if it can be done on macos, surely bsd would not be a stretch
<Mangix> last I tried FreeBSD it needed a bunch of patching
Mathew has quit [Quit: Leaving]
mirko has joined #openwrt-devel
torv has quit [Ping timeout: 480 seconds]
torv has joined #openwrt-devel
goliath has joined #openwrt-devel
<Ansuel> Mangix amazing how things are in clear sight and still ignored...
torv is now known as Guest998
torv has joined #openwrt-devel
<Ansuel> i love how in the comments user are concerned by breaking userspace...
Guest998 has quit [Ping timeout: 480 seconds]