torv_ has joined #openwrt-devel
dangole has quit [Remote host closed the connection]
dangole has joined #openwrt-devel
torv has quit [Ping timeout: 483 seconds]
Gaspare has quit [Quit: Gaspare]
dangole has quit [Ping timeout: 480 seconds]
Gaspare has joined #openwrt-devel
Gaspare has quit [Ping timeout: 480 seconds]
isak has quit [Remote host closed the connection]
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
mzvd has joined #openwrt-devel
mzvd has quit [Remote host closed the connection]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
Tapper has quit [Ping timeout: 480 seconds]
aiyion has quit [Remote host closed the connection]
aiyion has joined #openwrt-devel
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
<philipp64> how do people work around not having associative arrays in busybox shell (ash) when writing complex scripts?
mzvd has joined #openwrt-devel
<svanheule> mrnuke: if an LED have a label on the device with "5GHz" or "5G", it would make sense to specify that it triggers on activity from that phy. But not all triggers are hardware related, so I agree it's a bit of a grey area.
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
<dwfreed> philipp64: don't use shell?
* dwfreed ducks
<dwfreed> you could abuse eval to make prefixed var names, as long as your keys are valid as shell vars
mangix has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
mangix has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
<philipp64> bash would make this so much easier...
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
<Namidairo> just do it in a lua table and see how many people object when you post the patch
<philipp64> it's an init.d script
<Namidairo> maybe not then.
mzvd has joined #openwrt-devel
thilde_ has quit [Ping timeout: 480 seconds]
mzvd has quit [Read error: Connection reset by peer]
thilde_ has joined #openwrt-devel
mzvd has joined #openwrt-devel
rua has quit [Quit: Leaving.]
mzvd has quit [Remote host closed the connection]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
rua has joined #openwrt-devel
mzvd has joined #openwrt-devel
goliath has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
valku has quit [Remote host closed the connection]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
Rayyan has quit [Read error: Connection reset by peer]
Rayyan has joined #openwrt-devel
cbeznea has joined #openwrt-devel
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
thilde_ has quit [Ping timeout: 480 seconds]
c0sm1cSlug has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
c0sm1cSlug has joined #openwrt-devel
cbeznea has quit [Quit: Leaving.]
cbeznea has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
thilde_ has joined #openwrt-devel
floof58 has quit [Ping timeout: 480 seconds]
c0sm1cSlug has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
c0sm1cSlug has joined #openwrt-devel
thilde_ has quit [Ping timeout: 480 seconds]
danitool has joined #openwrt-devel
mzvd has joined #openwrt-devel
<jow> philipp64: workaround is using export / eval to set/read variable names
mzvd has quit [Read error: Connection reset by peer]
thilde_ has joined #openwrt-devel
mzvd has joined #openwrt-devel
Tapper has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
thilde_1 has joined #openwrt-devel
mzvd has joined #openwrt-devel
thilde_ has quit [Ping timeout: 480 seconds]
goliath has quit [Quit: SIGSEGV]
mzvd has quit [Read error: Connection reset by peer]
thilde_1 has quit [Ping timeout: 480 seconds]
mzvd has joined #openwrt-devel
Kali_ has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
thilde_ has joined #openwrt-devel
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
robimarko has joined #openwrt-devel
mzvd has joined #openwrt-devel
mzvd has quit [Remote host closed the connection]
aiyion has quit [Remote host closed the connection]
mzvd has joined #openwrt-devel
aiyion has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
goliath has joined #openwrt-devel
mzvd has joined #openwrt-devel
<mrkiko> rsalvaterra: does the Redmi AC2100 have an easy rocvery method?
mzvd has quit [Read error: Connection reset by peer]
borek has joined #openwrt-devel
<owrt-snap-builds> Build [#602](https://buildbot.openwrt.org/master/images/#builders/22/builds/602) of `ipq40xx/generic` completed successfully.
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
Misanthropos has quit [Ping timeout: 480 seconds]
mzvd has joined #openwrt-devel
bluew has quit [Ping timeout: 480 seconds]
Misanthropos has joined #openwrt-devel
<Lechu> hurricos: nope - regarding that Ruckus AP, there are external 74LV164 shift registers attached to each chip using GPIO15 for clock and GPIO16 for data. And they drive diode switches used to selectively cut off antenna segments, seven per band. IMO way too advanced to configure that in EEPROM.
<Lechu> So it has to be done in SW, then. Even using bit-banging SPI it would be plenty fast - I think they did it all from kernel, though - attaching antenna configuration field to a STA structure in driver.
<Lechu> spi-gpio driver I bound to it could do 1,5MHz clock in SW over the slower PCI radio, using just GPIOs it did around 3MHz.
mkresin has joined #openwrt-devel
<owrt-snap-builds> Build [#603](https://buildbot.openwrt.org/master/images/#builders/47/builds/603) of `bcm27xx/bcm2710` completed successfully.
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
<Namidairo> mrkiko: the stock tftp recovery is sort of okay but the filename pulled is the ip in hex so prepare for that
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
dangole has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mcbridematt has quit [Remote host closed the connection]
rua has quit [Ping timeout: 480 seconds]
aiyion has quit [Remote host closed the connection]
aiyion has joined #openwrt-devel
rua has joined #openwrt-devel
schwicht_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
robimarko_ has joined #openwrt-devel
isak has joined #openwrt-devel
robimarko has quit [Ping timeout: 480 seconds]
floof58 has joined #openwrt-devel
dangole has quit [Ping timeout: 480 seconds]
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
torv_ has quit [Remote host closed the connection]
torv_ has joined #openwrt-devel
<owrt-snap-builds> Build [#601](https://buildbot.openwrt.org/master/images/#builders/53/builds/601) of `bcm27xx/bcm2711` completed successfully.
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
thilde_ has quit [Quit: Leaving.]
thilde_ has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
<owrt-snap-builds> Build [#276](https://buildbot.openwrt.org/master/images/#builders/73/builds/276) of `imx/cortexa7` completed successfully.
<mrkiko> Namidairo: thanks! O h - I don't have the device. Was only curious since I was under the (probably wrong at this point) impression that Xiaomi devices where pretty complicated to handle due to bootloaders not helping with recovery and/or signed firmwares and so on
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
thilde_ has left #openwrt-devel [#openwrt-devel]
mzvd has joined #openwrt-devel
goliath has joined #openwrt-devel
valku has joined #openwrt-devel
Kali_ has quit [Remote host closed the connection]
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
matteo| has joined #openwrt-devel
matteo has quit [Ping timeout: 480 seconds]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
<KGB-1> https://tests.reproducible-builds.org/openwrt/openwrt_mediatek.html has been updated. (100.0% images and 99.8% packages reproducible in our current test framework.)
cp-- has joined #openwrt-devel
cp- has quit [Ping timeout: 480 seconds]
cp--- has joined #openwrt-devel
cp-- has quit [Ping timeout: 480 seconds]
cp- has joined #openwrt-devel
cp--- has quit [Ping timeout: 480 seconds]
f00b4r0 has joined #openwrt-devel
cp-- has joined #openwrt-devel
cp- has quit [Ping timeout: 480 seconds]
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
<mrnuke> svanheule: What am I missing to convince you that https://github.com/openwrt/openwrt/pull/10168 is a great improvement?
mzvd has quit [Read error: Connection reset by peer]
f00b4r0 has quit [Read error: No route to host]
f00b4r0 has joined #openwrt-devel
<philipp64> jow: how so>
m_ has joined #openwrt-devel
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
f00b4r0 has quit [Ping timeout: 480 seconds]
f00b4r0 has joined #openwrt-devel
<f00b4r0> jow: hi, dunno if you saw my earlier message about backporting your luci-proto-wireguard fixes?
<owrt-snap-builds> Build [#645](https://buildbot.openwrt.org/master/images/#builders/3/builds/645) of `at91/sam9x` completed successfully.
torv_ has quit [Remote host closed the connection]
torv_ has joined #openwrt-devel
<m_> Hi all! Can you please tell me if it makes sense to make a Pull Request for a device with mt7620 16/64? Or is it no longer relevant?
<f00b4r0> m_: shouldn't be a problem
<m_> f00b4r0: Thank you!
f00b4r0 has quit [Quit: bbl]
danitool has joined #openwrt-devel
mzvd has joined #openwrt-devel
m_ has quit [Quit: Konversation terminated!]
guidosarducci_ has joined #openwrt-devel
guidosarducci has quit [Ping timeout: 480 seconds]
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
<KGB-0> https://tests.reproducible-builds.org/openwrt/openwrt_kirkwood.html has been updated. (100.0% images and 99.8% packages reproducible in our current test framework.)
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
borek has quit [Ping timeout: 480 seconds]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mrnuke has quit [Read error: Connection reset by peer]
mrnuke has joined #openwrt-devel
SlimeyX has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Remote host closed the connection]
<hurricos> stintel: RE https://git.openwrt.org/?p=openwrt/staging/stintel.git;a=commitdiff;h=cf3382b94721f7bf9f893d88d921b72ba613f5e5:
<hurricos> 0x4000000 is probably too high to start.
<hurricos> It's well within the physical RAM, yes, maybe, but it is high enough to get into trouble with the LAW
<hurricos> or whatever else, I don't remember. But bang against early memory init.
<hurricos> I'll try your image but booting it at 0x2500000
mzvd has joined #openwrt-devel
<hurricos> I don't remember what operations are available on the T1042's U-Boot, but if you have a way to directly write out values to ....
<hurricos> 0xffffffff (the TSR register on mpc85xx, might be the same on T1042, might not) and 0xfffffffe (the TCR register), then you can harvest the dead kernel's logs using this code: https://forum.openwrt.org/t/adding-openwrt-support-for-ws-ap3825i/101168/24?u=hurricos
<hurricos> wait, 0x4000000 isn't too high to start. What am I smoking?
<hurricos> maybe it is. Grrrr
<hurricos> I'll try it on mine when I get home.
<hurricos> Might be a 64M limit.
<hurricos> I never figured out the "proper" way to deal with this (absolutely should be able to push this up by using the right kernel options).
<stintel> hurricos: see other commit message: Tried different loadaddr (0x8000000, 0x10000000, 0x20000000)
<hurricos> how about 40M?
<hurricos> Lower, niot higher :P
<hurricos> try as low as 0x2000000 (32M) or 0x2500000
<stintel> can't test
<stintel> earliest next month
<hurricos> OK, I'll test :P Thank you for the device tree and of course the target port, very excited.
<stintel> 32M is going to be too low because of size of initramfs iirc
<hurricos> Oh, it's that big? Sheesh
mzvd has quit [Read error: Connection reset by peer]
<hurricos> We might need to find the kernel options to avoid ... uh
<stintel> -rw-r--r-- 1 stijn users 33M jul 8 01:07 openwrt-qoriq-generic-adtran_bluesocket_bsap-3040-initramfs-fit-uImage.itb
<hurricos> avoid early init accessing >64M from being an invalid access
<hurricos> I could not initially find what the heck those options were, fwiw. I don't know if they exist any more. They did for the AP3825i
mzvd has joined #openwrt-devel
<hurricos> But the kernel / early memory init has moved on since 2014, and I'm sure OEMs now rely on U-boot initializing memory better
<hurricos> Grr. 40M might fit if we can compress it
<stintel> CONFIG_TARGET_INITRAMFS_COMPRESSION_ZSTD=y
<hurricos> That *is* compressed.
<hurricos> ?!!
<hurricos> How's it so *BIG*?
<hurricos> you might be able to XIP.
<hurricos> that is, tftpboot to 0x0
<stintel> could probably throw out some packages
<hurricos> after setting interrupts off
<hurricos> but you'd need a raw kernel not a FIT
<hurricos> and no idea whether u-boot will be happy letting you tell it what the initial registers should be, it tends to manipulate what you send to `bootm`
<hurricos> I'll check when I get home
srslypascal is now known as Guest4932
srslypascal has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
Guest4932 has quit [Ping timeout: 480 seconds]
mzvd has quit [Read error: Connection reset by peer]
philipp64 has quit [Quit: philipp64]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
<tmn505> Question to IPQ experts. The router I'm trying to port has an update from vendor, which looks suspicious, as it wants to also update U-Boot. This is binwalk output from both: https://paste.debian.net/plain/1247131. The new U-Boot has additional 'OpenSSL encryption, salted, salt: 0x8000000'. Should I be worried about this update enabling Secure Boot?
<tmn505> For the record vendor fimwares are encrypted with AES-CBC-128, so that OpenSSL addition got me suspicious. What should I look for if the new U-Boot want's to blow a fuse?
<robimarko_> Thats almost impossible to figure out from a binary
<tmn505> damn
<robimarko_> You can try and see if the kernel has a custom ELF or QCA-s mbn header
<tmn505> what's the magic number?
<robimarko_> mbn header is easy to see
<robimarko_> Just look at the binary
<robimarko_> I doubt binwalk has it
mzvd has joined #openwrt-devel
<robimarko_> Kernel should be signed as a binary while U-boot in ELF
<tmn505> ok, looks clean, as it's simply itb image with lzma compression + dtb with nothing else
<robimarko_> Great
<tmn505> thanks
<robimarko_> You can try dumping ELF segments using readelf on U-boot ELF
<robimarko_> They probably stripped it though
<tmn505> yep, it's stripped
<robimarko_> Then you can only roll the dice
<robimarko_> But if kernel doesnt have anything then it should be safe
<robimarko_> AFAIK, only Cisco pulled the d*ck card and rolled out secure boot
<mangix> rsalvaterra: ping
<tmn505> robimarko_: issue is I have only one unit. I'll play around with it a bit and the roll the dice. Yeah, that's a dick move.
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
Tapper has quit [Ping timeout: 480 seconds]
bluew has joined #openwrt-devel
philipp64 has joined #openwrt-devel
mzvd has joined #openwrt-devel
<KGB-1> https://tests.reproducible-builds.org/openwrt/openwrt_x86.html has been updated. (100.0% images and 99.8% packages reproducible in our current test framework.)
mzvd has quit [Read error: Connection reset by peer]
GNUmoon2 has quit [Remote host closed the connection]
GNUmoon2 has joined #openwrt-devel
<mrnuke> robimarko_: Good news on the WAX-218 port. I think everything works after the updates last night. Didn't find anything else crazy
<robimarko_> mrnuke: Thats great, just wasted couple of hours debugging pinctrl on SparX-5
<robimarko_> Turns out, they forgot register stride after conversion to regmap
<mrnuke> Is the stride zero by default, or uninitialized
<mrnuke> ?
<robimarko_> It was set to 4 in regmap config which is correct for 32 bit registers
<robimarko_> But they were trying to read from addreses like stride was 1
<robimarko_> So you would end up with register 0x22 which is incorrect
<robimarko_> Thankfully, regmap checks alignment and returns -EINVAL
<mrnuke> robimarko_: I wish they'd return -EIEIO instead
valku1 has joined #openwrt-devel
valku has quit [Read error: Connection reset by peer]
valku1 is now known as valku
<robimarko_> mrnuke: Whats the code value for it?
FriendlyNGeeks has joined #openwrt-devel
<FriendlyNGeeks> @stintel still no luck with my compiled image for the pi0w2 pressing enter and everything did not work
robimarko_ has quit [Quit: Leaving]
mangix has quit [Read error: Connection reset by peer]
mangix has joined #openwrt-devel
cmonroe_ has quit [Read error: Connection reset by peer]
cmonroe has joined #openwrt-devel
floof58 has quit [Ping timeout: 480 seconds]
floof58 has joined #openwrt-devel
FriendlyNGeeks has quit [Remote host closed the connection]
srslypascal has quit [Read error: No route to host]