<stintel> ok so I can reproduce it on my 2nd M300
<stintel> after enabling SQM though
<rsalvaterra> So it's a combination of macvlan with SQM.
CN_SZTL has left #openwrt-devel [https://quassel-irc.org - Chat comfortably. Anywhere.]
<stintel> going to disable macvlan again, reboot, test with sqm
<stintel> interesting problems :)
<rsalvaterra> I was going to suggest that, yes.
<stintel> same
<stintel> so back to sqm being the cause
<stintel> vaaaaague shizzle
<rsalvaterra> stintel: Does it happen with all QoS scripts? Which one are you using?
<stintel> sqm
<stintel> sqm layer_cake
<rsalvaterra> Same as me... https://paste.debian.net/1208167/
<stintel> ah on test m300 is piece_of_cake
<stintel> but still cake
<rsalvaterra> Maybe the cake is a lie...?
<rsalvaterra> Sorry, couldn't resist. :P
<stintel> too much cake, packet too fat
<rsalvaterra> I wonder how simplest.qos with fq_codel behaves.
<stintel> simple.qos + fq_codel does the same
<stintel> what the
CN_SZTL has joined #openwrt-devel
<stintel> I guess that must be something funky with dpaa_eth + various net_sch
<stintel> but even with sqm disabled + reboot, I'm still getting a bunch of dropped packets
<stintel> but fq_codel is default qdisc
<stintel> how do I change that at runtime, manually
<rsalvaterra> Uhh... with tc? Don't ask me how, though, it's still a bit too magical for my understanding.
<stintel> tc qdisc replace dev eth1 root pfifo
<stintel> but even with pfifo and noqueue the dropped packets keep going up at a high rate
<stintel> mehhh
<stintel> that's going to be a mail to netdev I guess
* Slimey makes stintel unstable with a 2.5 kernel
<stintel> :P
rsalvaterra_ has joined #openwrt-devel
<stintel> for some reason this reminds me of the usage patches to have working IPv6 in 2.2 and/or 2.4 :P
<stintel> which is totally where I got the linux-ipv6.be domain name idea from
<rsalvaterra_> Whoa, I think the 2.2 series was the first I've used.
<stintel> yeah same
<rsalvaterra_> Or was it 2.0...? Don't know. Whatever came with RedHat 5.2. :P
<stintel> that would have been 2.2
<stintel> I started also with RH 5.something
<Slimey> heh
<rsalvaterra_> I just checked, 2.0.36. I'm old. :P
<stintel> really?
rsalvaterra has quit [Ping timeout: 480 seconds]
<Slimey> this sucks, im so busy at work bringing a new classroom / science building online at work i dont have time right now for my targets :\
<rsalvaterra_> Ok, bumped 5.10 to 5.10.60 and sent the pull. My work here is done, time to hit the bed. :P
<stintel> well I'll be damned, that means I also started with 2.0 kernel
<rsalvaterra_> Time flies! :)
<stintel> you bet
<stintel> anyway, goodnight ;)
<stintel> I'm considering hacking the stats to ignore NET_RX_DROPPED :P
<rsalvaterra_> stintel: Dude, just put down that hammer and go to sleep. :P
<stintel> also, dpaa_eth supports XDP!
<stintel> I'm really liking this hardware
<rsalvaterra_> Needs ChaCha20-Poly1305 and Blake2s AltiVec.
<rsalvaterra_> But that's a kernel problem. :)
<rsalvaterra_> And off I go. Cheers!
rsalvaterra_ has quit [Quit: Leaving]
CN_SZTL has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
CN_SZTL has joined #openwrt-devel
minimal has quit []
CN_SZTL has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
<owrt-snap-builds> Build [#278](https://buildbot.openwrt.org/master/images/#builders/3/builds/278) of `at91/sam9x` failed.
CN_SZTL has joined #openwrt-devel
<owrt-snap-builds> Build [#259](https://buildbot.openwrt.org/master/images/#builders/4/builds/259) of `x86/generic` failed.
<mangix> these nvmem patches are interesting
<will[m]> heya what's a not-totally-shitty way of doing this with the current system? https://openwrt.org/docs/guide-user/additional-software/imagebuilder#removing_useless_files_from_firmware i need to remove or disable most of the startup scripts in /etc/rc.d/* for my use-case (booting my own scripts intentionally later) and grepping the buildroot has only gotten me so far
Tapper has quit [Ping timeout: 480 seconds]
<wulfy23> can be done with uci-defaults on-sys
<will[m]> so a script that runs rm inside of files/etc/uci-defaults/ should get executed before init starts it all up?
<will[m]> i was trying to trace which ran first and opened up IRC after 20 minutes :P
<wulfy23> yeah make it the first one and you'd be ok probably
<wulfy23> or hackup rootfs.mk
<will[m]> so like aaa_remove.sh alphabetically?
<wulfy23> no like START=01
<wulfy23> i.e. if what you are removing starts later than boot
<owrt-snap-builds> Build [#243](https://buildbot.openwrt.org/master/images/#builders/68/builds/243) of `at91/sama5` failed.
<will[m]> hmm i don't see any reference to "START=" on the wiki but i do see stuff about prefixing your uci script with xxx_ where xxx is an alphabetical run order
<wulfy23> you want to get rid of stuff in rc.d
<wulfy23> uci-defaults runs from boot which has a START of 10
<will[m]> ok i'm just unfamiliar with START as a boot order thing so i'm unsure how to make that change
<wulfy23> you don't you drop your script in /etc/uci-defaults
<will[m]> cool did that
<wulfy23> if what it does effects scripts that start later then 10... then you are ok
<will[m]> ohh
<will[m]> currently i have it trying to remove two rc.d/S00* scripts plus a bunch of others but maybe i can live with them
<will[m]> orrrr i could be evil and create a files/etc/rc.d/K00nuke_from_orbit script
<wulfy23> too late... remove them from the respective package or hack rootfs.mk
<will[m]> oh i see, rootfs.mk runs all the postinst and rc.common * enable scripts. i wonder why that didn't show up in my grep before now
<will[m]> thanks for the advice, trying now
<hurricos> LS1034A, looks like 6 x M.2 E-key, 5 ports
<hurricos> RT8188 x 2 integrated
<will[m]> oh while i have you / that's running, is there a decent guide on booting openwrt from sd card? i have this gl.inet router and i'd rather avoid killing its embedded flash with all my tests if i can avoid it. i've found some uboot wizardry like this, but not confident enough to attempt any such commands until i dig more: http://wiki.micromint.com/index.php/Boot_from_SD/MMC#Booting_from_the_microSD_Card
<hurricos> PoE, Atheros 8035-AL1B
<wulfy23> thats all bootloader dependant, best way to get confidence is to try stuff, fail, and keep trying
<wulfy23> find some good guides and see what works
<will[m]> pretty cute, love pole-mounted wifi
<wulfy23> BPI boards are probably the reference for fancy sdcard boot stuff
<will[m]> i do know GL uses uboot i guess the big question is how to just say "see /dev/mmcblk1? yeah that"
<will[m]> ok
<wulfy23> all depends what they have compiled into their uboot
<wulfy23> most wont add whats needed... so chainloading / bootstrapping would be needed
<will[m]> gotcha
<will[m]> mmmmmm fun
<will[m]> oh good thing i didn't run this as root, rm -rf /etc/rc.d instead of rm -rf $(1)/etc/rc.d would've hosed my laptop
<wulfy23> if all you want to do is minimise wear and tear... just compile mmc support into the kernel and just from there or from block-mount
<wulfy23> too much hassle to do it all from uboot if its not supported
<will[m]> i do know that gl-mv1000 touts its -sdcard- compatibility in the firmware filename itself
danitool has quit [Ping timeout: 480 seconds]
valku has joined #openwrt-devel
wulfy23 has quit [Remote host closed the connection]
wulfy23 has joined #openwrt-devel
<owrt-snap-builds> Build [#239](https://buildbot.openwrt.org/master/images/#builders/56/builds/239) of `kirkwood/generic` completed successfully.
<wulfy23> bcm2711 > Watchdog does not have CARDRESET support
<wulfy23> @sysupgrade reboot... think it's a K5.4.140 artifact... no ill effects
<wulfy23> s/reboot/handover/
<wulfy23> nope: new additions... all ok https://git.openwrt.org/?p=project/procd.git;a=commit;h=f26233edb6a550bf23d51d5d4c864baf093e46e1
<digitalcircuit> I've made progress (?) on 1.4 GHz L2 cache voltage adjustment for ipq8065 (ZyXEL NBG6817). Via the last 2 commits on https://github.com/openwrt/openwrt/compare/openwrt-21.02...digitalcircuit:openwrt-21.02-cpufreq-dtsivolt-cache-voltboost I've raised both "opp-microvolt = <1150000>;" to "1175000" *and* raised smb208_s1a maximum via "regulator-max-microvolt = <1175000>;" ... HOWEVER, I'm still missing something.
<digitalcircuit> I'm getting "cpufreq: __target_index: Failed to change cpu frequency: -5" shortly after "cpufreq: notification 0 of frequency transition to 1725000 kHz", so whenever the CPU attempts to hit max clock, something about the L2 cache boosted voltage is resulting in an error. I'm still trying to figure out what else I need to change.
<digitalcircuit> "/sys/kernel/debug/regulator/regulator_summary" shows "s1a" correctly has a max of "1175mV", which it didn't before. I'm not sure if I need to change "s1b" as well, perhaps, or if there's some other table I'm overlooking.
<digitalcircuit> My current guess is ALSO boosting "s1b" to "regulator-max-microvolt = <1175000>;" despite it not being shown as connected to anything (l2-cache is set to "l2-supply = <&smb208_s1a>;", not touching s1b), and.. I'll see from there.
<digitalcircuit> (I'll be sure to submit my patches to the "master" branch, then work on a backport to 21.02; I'm just testing on 21.02 because stress-ng.. well, it used to build there until a recent package update.)
<will[m]> wulfy23: that rootfs.mk hack worked perfectly thank you
<will[m]> i'd like to add my openwrt boot log and other details to the gl-mv1000 wiki page, could i get an account?
eck has quit [Quit: PIRCH98:WIN 95/98/WIN NT:1.0 (build 1.0.1.1190)]
eck has joined #openwrt-devel
<wulfy23> cool good luck with it... afaik there is a thread on the forum for new wiki accounts if nobody is here
<mangix> was there a branch to use the upstream ag71xx driver for ath79?
<digitalcircuit> Belated, nevermind the "s1b" aspect, that doesn't make any sense (it's reported at 1050mV when s1a is 1100mV, so I don't think that regulator's related at all. Something else must be making the modified L2 1.4 GHz speed/voltage combo invalid with CPU clock too.
* digitalcircuit adds the missing ")" to his remark
<digitalcircuit> When Ansuel mentioned to "tweak the OPP table and increase your CPU voltage", this seemed a lot simpler than I expected. Unless.. they meant actually changing CPU voltage, not L2 cache voltage..?
<digitalcircuit> Hrm.
<will[m]> wulfy23: do you think it's worth updating that "using the image builder: removing useless files from firmware" wiki page with this rootfs.mk hack ?
<wulfy23> actually... i left that there just for reference even tho its obviously circa chaos chalmer days
<wulfy23> i'm sure most would advise it be removed but I think for anyone at this level
<wulfy23> it's enough to give them ideas...
<wulfy23> if you want to add a section above with how you did it... then that is likely better
<wulfy23> then for sure remove it
<will[m]> ok
<wulfy23> what I liked about that sample is they used a CONFIG symbol for the mod which was cool
<wulfy23> kindof an inverse 'files'
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
Rentong has joined #openwrt-devel
rmilecki has joined #openwrt-devel
Rentong_ has joined #openwrt-devel
Rentong has quit [Read error: Connection reset by peer]
<wulfy23> correction... hadnt looked at it in a while... they used a VARIABLE to define a removelist file which is even cooler
Rentong_ has quit [Ping timeout: 480 seconds]
nitroshift has joined #openwrt-devel
<owrt-2102-builds> Build [#108](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/44/builds/108) of `bcm47xx/legacy` completed successfully.
Tusker has joined #openwrt-devel
<Tusker> heya guys, on ath10k, on a device I am porting (not in master yet), the radios come up, but they don't seem to have any signal power (iw wlan0 scan - shows nothing) Are there any tricks that are known to get it working ?
<slh> Tusker: you are extracting ART/ loading it?
<Tusker> slh: it isn't in ART... factory firmware loads the precal from file
<Tusker> i have loaded the same exact file as precal, which is why the radios come up
<Tusker> let me try and swap the 2g and 5g... they are both 9980's so maybe that's it
dedeckeh has joined #openwrt-devel
<Tusker> ah ha
<Tusker> that did it
<Tusker> sorry for the noise
valku has quit [Remote host closed the connection]
valku has joined #openwrt-devel
swegener has quit [Quit: leaving]
swegener has joined #openwrt-devel
Rentong has joined #openwrt-devel
<digitalcircuit> ipq8065/NBG6817 minor note - I apparently have a Qualcomm ipq8065 SoC that's in "PVS bin" #2, as per "cat /sys/kernel/debug/opp/cpu0/opp\:1725000000/supply-0/u_volt_*" matching up with the "opp-microvolt-speed0-pvs2-v0" DTSI microvoltage values specified within the "opp-1725000000" entry of CPU frequency "opp_table0"...
<digitalcircuit> I'll reset the L2 cache voltage to default and try *slightly* raising the CPU voltage (raising all values by 10000 microvolts, e.g. 1200000 -> 1210000), and hopefully I don't break anything. (Ansuel hadn't mentioned how much they had raised the CPU voltage to have more stability; trial and error it is!)
goliath has joined #openwrt-devel
<Tusker> digitalcircuit: you might need to stress test it a bit on each voltage
rua has quit [Ping timeout: 480 seconds]
<digitalcircuit> Tusker: Just to clarify, by "each voltage", are you referring to the full range of minimum to maximum in the "opp-microvolt-<name>" parameter list, so somehow forcing it to only minimum, to only center value, then to only maximum?
<digitalcircuit> (E.g. for me, that'd be https://github.com/openwrt/openwrt/blob/master/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi#L155 , previously "1140000,1200000,1260000", and with my change it becomes "1150000,1210000,1270000", so locking that frequency of the CPU to that voltage level somehow. Or just some normal sort of stress test, perhaps the original "stress", since "stress-ng" package is broken.)
rua has joined #openwrt-devel
wulfy23 has quit [Remote host closed the connection]
<Tusker> well, you are intending to raise the voltage slightly, to improve stability
<Tusker> raising the voltage will increase the heat etc, and should be pretty safe for such minor increments
<Tusker> but, using some form of stress test, maybe streaming 1gbps traffic through it with cake or something should stress it enough to know if the voltage is high enough
abiliomarques has joined #openwrt-devel
HuShuai has joined #openwrt-devel
<digitalcircuit> You've clarified this, and what you've said makes sense.
<digitalcircuit> Noted! I wasn't sure if you meant I should try to override the "get_krait_bin_format_a/b()" functions to e.g. use the noticeably higher voltage PVS bins #1 or #0 ("opp-microvolt-speed0-pvs1-v0", etc). That seemed.. a bit more risky to jump that far at once (I'll probably treat PVS bin #1 as my upper bound of "if I raise CPU voltage to this much, it isn't helping").
<digitalcircuit> Thank you for the ideas, too! I suspect a combination of iperf3, "normal" CPU stress (openssl bench?), and the Deja Dup SFTP backup of ~200 GB test case (which is what causes it to currently semi-reliably hard reboot) makes sense. I've been bitten by thinking I've fixed the issue only for 5 Deja Dup SFTP runs later for it to hard reboot and corrupt the backup.
rua has quit [Remote host closed the connection]
lucenera has quit [Quit: The Lounge - https://thelounge.chat]
rua has joined #openwrt-devel
lucenera has joined #openwrt-devel
danitool has joined #openwrt-devel
dedeckeh has quit [Remote host closed the connection]
rsalvaterra has joined #openwrt-devel
Tapper has joined #openwrt-devel
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
brpr has joined #openwrt-devel
<brpr> Hello everyone, I've tried to ask the main channel (not knowing that this channel existed) about this yesterday but my internet went out. I'm trying to get OpenWRT ported to the ASUS RT-AC55U and the partition layout has stumped me. There are 11 partitions, while some of them are recognisable like uboot or rootfs, I can't see the art partition! Will I need to dump the firmware? I do have the GPL'd source from the ASUS s
<PaulFertser> brpr: you left too fast
<PaulFertser> brpr: what SoC is used by that target?
decke has joined #openwrt-devel
<mrkiko> digitalcircuit: I admite you for your work and persistence, and read your mails in ml - awesome
<brpr> PaulFertser: yeah, I'm sorry. I'm currently moving houses and the internet keeps cutting out. I'm gonna need to disassemble it again as the wiki article is quite inconsistent
Rentong has quit [Ping timeout: 480 seconds]
<PaulFertser> brpr: isn't there a wikidevi entry? And if you already have a full log of vendor firmware, can't you just look in there?
HuShuai has quit [Remote host closed the connection]
<mrkiko> brpr: ath79 then?
<brpr> I've looked into the wikidevi entry and it has a different SOC then my unit. Mine is a QCA9882 while deviwiki lists the QCA9557
<PaulFertser> brpr: have you already shared full serial log for your board somewhere public?
<mrkiko> brpr: different versions; quite different I guess?
goliath has quit [Quit: SIGSEGV]
<mrkiko> brpr: and if you happen to feel like helping me with my R6100, feel free to ask :D :D
<brpr> PaulFertser: Not yet. I still have yet to recieve my serial adapter because well, Poland and its shipping :)
<PaulFertser> brpr: so what kind of access have you got currently?
<PaulFertser> brpr: sharing dmesg alone can be helpful too if you want answer to your question.
rsalvaterra has quit [Quit: Leaving]
<brpr> currently sadly I've got only the serial pinout (yeah, I know) and a Raspberry Pi. That actually kinda struck me - could I use the Raspberry Pi for reading serial and accessing the U-Boot console?
<PaulFertser> brpr: of course you could if the target has 3.3 V UART.
<brpr> Alright, I'm going to have to dig it up from the moving boxes - sorry for my lack of knowledge - I haven't messed around with Pis in years - since like 2016
<Tusker> yeah, raspberry pi is usually fine for serial
<Tusker> 9882 is the wifi chip, the soc should be the 9557 still
<brpr> oh, oops. no wonder why that shield was the easiest to pop off :D
<brpr> yep, exact match
<brpr> alright, I'm going to go searching for my Pi
<Tusker> should be a doable port, https://github.com/drag0njoe/RT-AC55U seems to exist for the GPL source, which would include all the necessary board oddities
<brpr> yep, I've got the source on my PC but I don't know where to start with it. I've found my Pi, now to just hook her up
<Tusker> but, you might get away with booting the most similar ath79 target via tftp and work from there
<PaulFertser> brpr: you'll need to run raspi-config or something to enable serial but disable console on it. Then you can use picocom or minicom or whatever you prefer. Don't forget Tx goes to Rx.
<brpr> thanks for the tips! I'm going to go solder some wires on so I'll be right back in like 5 minutes.
Namidairo has quit [Quit: ZNC - https://znc.in]
Namidairo has joined #openwrt-devel
<brpr> I'm back. I've soldered the wires on (sorry that it took so long, had to unpack soldering station) and now I'm downloading the Raspberry Pi OS
<brpr> And in typical "me" fashion my SD card dies while writing.
goliath has joined #openwrt-devel
<Tapper> brpr lol sounds like me when I try and do stuff.
<Tapper> Never ever just works!
* Tapper Never ever just works TM
<Tapper> brprBtw if you are new to OpenWrt welcome.
<brpr> Thanks. I've been messing along with it but only with supported devices but it's time to make my own port :)
<brpr> I've also found another card.
<brpr> Alright, it's booting.
<brpr> Ok, I have ssh access.
<brpr> I have garbage when using picocom using 115200 baud
<Tusker> could be 9600, or loose ground pin
<brpr> already have tried all of them, also gnd is connected securely.
<Tusker> RT-N13U has 57600
<Tusker> and vcc isn't connected, right ?
<PaulFertser> ralink usually has 57600
<brpr> it's not
<PaulFertser> 8n1
<PaulFertser> Also garbage might mean your rpi's rx is not connected to target's tx.
<brpr> the garbage only appears when the router is on
<PaulFertser> Might be capacitance coupling
<brpr> I've tried 9600, 115200, 57600 and all of them produce garbage :(
<Tusker> do the voltage match up ?
<brpr> yes. both 3v3
<mrkiko> since brpr mentioned "art" I was thinking ath79, but it's ramips instead
<brpr> it's not ath79?
<brpr> oh fricc
<Tusker> qca9557 is ramips ?...
<mrkiko> brpr: yes, it is ath79. Sorryguys. Messed up things. :D
rua has quit [Quit: Leaving.]
<Tusker> did you power on while the serial was connected ?
<brpr> yes
<brpr> whoa whoa whoa
<brpr> half of the bootlog worked
<Tusker> yeah, something is loose then
<Tusker> and you have the right speed
<Tusker> or maybe something to do with capacitance as Paul mentioned
<PaulFertser> I meant sometimes you can connect Rx to Rx and still get some output because Rx would be picking up from nearby Tx tracks.
<brpr> no, i've checked it.
<brpr> when i wiggle the wires it doesnt change'
<PaulFertser> brpr: did you disable console on rpi's port?
<brpr> sorry about the style of my writing but my entire desk is full of stuff :)
<brpr> yes i did
rua has joined #openwrt-devel
<Tusker> maybe keep power connected and reset the asus
<Tusker> you'll figure out a way to make it reliable
<brpr> i got into console!
<brpr> oh and when i type in dmesg - that garbage appears
<brpr> when i control c it works
<brpr> all other commands work
<brpr> so i think the bootlog of this router is broken
<Tusker> hmmm... dmesg > /tmp/blah.txt
<Tusker> and then see if it looks better
<Tusker> maybe dmesg outputs too much in one go for the uart buffer
<brpr> gaaarbage
<brpr> i need to go eat lunch, be right back in 10m
<Tusker> don't choke
figgyc_ has joined #openwrt-devel
<brpr> i'm back
figgyc has quit [Ping timeout: 480 seconds]
<brpr> PaulFertser: what should I do now? I'm in console
<brpr> Linux (none) 3.3.8 #1 Thu Dec 1 19:03:06 CST 2016 mips GNU/Linux
<brpr> mips?
figgyc_ has quit []
<PaulFertser> brpr: ath79 is mips all right, yes
<brpr> right
<PaulFertser> brpr: so what did you change to make it stable?
<PaulFertser> brpr: save dmesg and use some pastebin to show
<brpr> it's all stable, but the bootlog is all over the place with garbage
<brpr> even in dmesg
<brpr> all other console commands work and it's hella stable
<PaulFertser> brpr: cat /proc/mtd
figgyc has joined #openwrt-devel
<brpr> it's turning on, wait a sec
<brpr> PaulFertser: / # cat /proc/mtd dev: size erasesize name mtd0: 000e0000 00020000 "Bootloader" mtd1: 07e00000 00020000 "UBI_DEV" mtd2: 0001f000 0001f000 "nvram" mtd3: 0003e000 0001f000 "Factory" mtd4: 0003e000 0001f000 "Factory2" mtd5: 03013000 0001f000 "linux" mtd6: 02ec7d80 0001f000 "rootfs" mtd7: 03013000 0001f000 "linux2" mtd8: 02ec7d80 0001f000 "rootfs2" mtd9: 00516000 0001f000 "lsdk" mtd10: 00100000 00020000 "
<brpr> oops
<brpr> formatting
<Tusker> pastebin is better
<brpr> yep
<PaulFertser> brpr: full dmesg still unstable?
<PaulFertser> brpr: caldata sounds like what you need for wifi.
<brpr> yes, i've also saved the file and its still gaaarbage
<PaulFertser> Apparently this is a dual-boot device.
<brpr> i can pick out the useable parts and paste them onto pastebin
<PaulFertser> brpr: ubinfo -a
<brpr> oh no!
<brpr> garbage
<PaulFertser> Usable part would be what starts with "Creating .* MTD partitions"
<brpr> sadly I'm not getting that
<brpr> only getting to Total amount of logical eraseblocks: 1008 (127991808 bytes, 122.1 MiB)
<brpr> with less i'm getting to Minimum input/output unit size: 2048 bytes
<brpr> PaulFertser: I GOT IT ALL!
<PaulFertser> How?
<brpr> I rebooted it and tried a couple times
<PaulFertser> Probably dmesg is better now too?
<brpr> Ill redo my TX-RX connection as thats with a jumper wire'
<PaulFertser> brpr: you might want to somehow save binary file /sys/firmware/fdt if it's present
<brpr> dmesg before garbage https://pastebin.com/CujBrUzX
<brpr> it's not present
<PaulFertser> brpr: ok, now I suggest you try stopping in u-boot and running some QCA9558 initramfs image.
<brpr> wait a second
<brpr> i think i found the culprit :P
<brpr> the jumper wire for TX-RX has now self-destructed
<brpr> PaulFertser: I'm now getting clear reads!
<PaulFertser> brpr: that will help :)
jbowen has quit [Read error: Connection reset by peer]
<brpr> clear bootlog
jbowen has joined #openwrt-devel
<PaulFertser> brpr: try running qca9558_zyxel_nbg6716.dts initramfs probably
<brpr> Please choose the operation: 1: Load System code to SDRAM via TFTP. 2: Load System code then write to Flash via TFTP. 3: Boot System code via Flash (default). 4: Entr boot command line interface. 7: Load Boot Loader code then write to Flash via Serial. 9: Load Boot Loader code then write to Flash via TFTP. L: Load LSDK NART firmware, write to Flash via TFTP and reboot. 0 3: Boot System code via
<brpr> Noooo! I'm once again getting garbage!
<PaulFertser> Hm, maybe no, that zyxel is nasty
<brpr> PaulFertser: what should I do now? I'm back to clear reads after isolating the wires
<PaulFertser> brpr: " Load System code to SDRAM via TFTP"
<brpr> any recommended linux tftp servers?
<brpr> uhm.. sorry: GNU/Linux
<owrt-snap-builds> Build [#239](https://buildbot.openwrt.org/master/images/#builders/44/builds/239) of `mediatek/mt7622` failed.
<PaulFertser> brpr: I use in.tftpd from tftpd-hpa
<PaulFertser> Start it manually with "-l -s ." and some other switch for debug
<brpr> alright.
<karlp> there's one built into dnsmasq too, which I find easy to use...
<brpr> what is it?
<brpr> PaulFertser: what initramfs should i use?
crz has quit [Quit: WeeChat 3.2]
crz has joined #openwrt-devel
<PaulFertser> brpr: for any commond board with the same SoC I guess
<PaulFertser> That's what I'd try
<PaulFertser> Yes, I use dnsmasq one when I need dnsmasq to also serve DHCP.
<brpr> PaulFertser: ok, this is dumb - but I can't find any qca558 images on the openwrt website
<PaulFertser> brpr: by this time you should be already self-compiling ;)
<brpr> ah, right :) i have build environment already set up so i'm going to use that
<brpr> ath79 target - right?
<PaulFertser> brpr: yep
<brpr> we're compiling! how long will it take? 16gb ram 6c12t ryzen 5 3600
<brpr> approx. of course
<PaulFertser> brpr: I hope you do make -j`nproc` ?
<PaulFertser> I am not sure, first run is always much slower as it builds the toolchain. Probably 30--60 minutes idk.
<brpr> yep
<PaulFertser> My server at work does it all in 11 minutes, my OranegePi takes more than 24 hours.
<brpr> a great time to go for a walk. I'll be back after it compiles
<lemmi> depending on the rest of your system (network bandwidth, disks), a 3600 should be done in about 20min
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
rsalvaterra has joined #openwrt-devel
rsalvaterra has quit []
rejoicetreat has joined #openwrt-devel
Tusker has quit [Remote host closed the connection]
brpr has quit [Remote host closed the connection]
rejoicetreat has quit [Ping timeout: 480 seconds]
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
Rentong has joined #openwrt-devel
Rentong has quit [Remote host closed the connection]
Rentong has joined #openwrt-devel
Rentong has quit [Remote host closed the connection]
Rentong has joined #openwrt-devel
rage has quit [Ping timeout: 480 seconds]
brpr has joined #openwrt-devel
<brpr> PaulFertser: I've came back to see my PCs login screen. Where does OpenWRT save its built image?
Rentong has quit [Ping timeout: 480 seconds]
<brpr> Alright, I think my PC locked too quickly and it stopped compiling.
<brpr> I'm gonna compile again.
<Tapper> brpr your pc should not lock when doing a build.
<Tapper> when you do make make shure you do -j16 or how menny cores you have in your cpu
<Tapper> I have 8 cores so I do make -j16
<brpr> I know but I think OpenSUSE/KDE has a bug because I disabled locking and it still locked
<Tapper> O dam.
<Tapper> The first time you did a build some of the toolchane would of built so it should be quicker this time
<brpr> Yep - it's done
<brpr> Tapper: Just to confirm - I boot the initramfs-kernel image?
rejoicetreat has joined #openwrt-devel
<brpr> TFTP error: 'cannot access /var/ftpd/openwrt.bin: Permission denied' (2)
<brpr> hmm
<nitroshift> brpr, you will have to copy the .bin file over to /var/tftpd folder
<brpr> I did
<brpr> :P
<nitroshift> or give the path to the .bin file as
<nitroshift> * - as
cp- has quit [Read error: Connection reset by peer]
<Tapper> brpr sorry mate I know nuthing about flashing a initramfs
<PaulFertser> brpr: just give your tftpd permissions
<PaulFertser> Or chown the file
nitroshift has quit [Quit: Gone that way --->]
Tapper has quit [Quit: Tapper]
dwmw2 is now known as dwmw2_gone
<brpr> PaulFertser: I already did, how do I give permissions? i chowned the file
fda has quit [Quit: ZNC - https://znc.in]
<PaulFertser> brpr: how do your run the tftpd server and what exactly is giving you that error where?
fda has joined #openwrt-devel
<brpr> as a service and even if i localhost into it it still gives the error
<PaulFertser> brpr: please show ls -la /var/ftdpd
<PaulFertser> ftpd
Rentong has joined #openwrt-devel
<brpr> drwxr-xr-x 1 nobody root 22 Aug 19 15:12 .
<brpr> drwxr-xr-x 1 root root 118 Aug 19 15:06 ..
<brpr> -rwxrwxrwx 1 nobody root 5148882 Aug 19 15:06
<brpr> openwrt.bin
<PaulFertser> brpr: and yet you get that message in the log?
<PaulFertser> In the system log?
<brpr> and in the router log
<PaulFertser> brpr: the router log shouldn't know anything about /var/ftpd , you should give the router bare name normally.
<PaulFertser> And tftpd is run with -s /var/ftpd so all pathes are relative to that.
<brpr> I did give it only openwrt.bin
<brpr> It spits that out as an error message
<brpr> I use dnsmasq
<PaulFertser> brpr: you can strace running dnsmasq with -p <its pid> if in doubt
Rentong has quit [Ping timeout: 480 seconds]
<PaulFertser> brpr: and probably your dnsmasq runs as "dnsmasq" user, not nobody?
<brpr> still nothing
<PaulFertser> brpr: nothing what? You can always check strace and see if dnsmasq is trying to access the right file and if yes what error it gets.
<PaulFertser> brpr: blame karlp :)
<PaulFertser> I use sudo in.tftpd :)
<brpr> it is tracing the right file. it's still "permission denied" i have chowned it for the dnsmasq user and :(
jlsalvador2 has joined #openwrt-devel
jlsalvador has quit [Read error: Connection reset by peer]
jlsalvador2 is now known as jlsalvador
<PaulFertser> brpr: chown /var/ftpd directory too
<brpr> i did
<PaulFertser> So probably dnsmasq runs as some other user. It's just all the usual *nix stuff...
<mrkiko> ok guys, I have a problem
<brpr> in.tftpd doesn't do anything
<brpr> router just times out
<mrkiko> or, better - a question
<mrkiko> Is there any switch driver in ath79 ? And maybe supporting ar934X built-in switches? I can't find such a code
<mrkiko> but I can see it was removed in commit 3d93b35f039de86830565420968715b300066475
<mrkiko> any hint?
<PaulFertser> brpr: I can assure you I used https://manpages.debian.org/testing/tftpd-hpa/in.tftpd.8.en.html many times. I run it as root with "-L -s -v -v ." having file in current directory.
<PaulFertser> brpr: of course I do not have inetd or anything else handling the same port when running that.
<PaulFertser> mrkiko: of course there's a switch driver
<PaulFertser> mrkiko: and it's specified in the SoC dtsi.
<mrkiko> PaulFertser: ok. but can you point me to the code supporting different switches? So I can check if ar934x built-in is still supported?
<PaulFertser> mrkiko: ar934x.dtsi has compatible = "qca,ar8229";
madwoota has quit [Ping timeout: 480 seconds]
madwoota has joined #openwrt-devel
<mrkiko> Ok, I can see it. But can't find the code still. Any hints?
<brpr> PaulFertser: TFTP error: 'File not found' (1)
<PaulFertser> brpr: now that's different
<brpr> it is in the directory though
<PaulFertser> brpr: in.tftpd should be saying something too. Or probably sending to syslog.
<PaulFertser> mrkiko: target/linux/generic/files/drivers/net/phy/ar8216.c
<mrkiko> PaulFertser: thanks!!
<PaulFertser> mrkiko: for the reference, you can always git grep for a compatible string (in this case qca,ar8229) either in OpenWrt git (if it's not yet upstream) or in Linux git.
<mrkiko> PaulFertser: thanks a lot!!
<brpr> PaulFertser: anything I could do?
<brpr> still not working
<PaulFertser> brpr: show logs from host side
<PaulFertser> brpr: oh idk, boot windows and use the windows tftp server recommended on openwrt.org wiki ;)
<brpr> :(
<brpr> i'll do it
<PaulFertser> brpr: are you sure you're not too tired or somehow else not fully capable atm? You sounded rather different in the morning.
<PaulFertser> Not being able to interact with your terminal directly it's hard to give fully meaningful suggestions you know.
<brpr> haha I'm good, it's just my desk being cluttered and OpenSUSE not having any syslogs
<PaulFertser> So sorry but not sure what exactly might be wrong. When I get that puzzled I'm always resorting to strace.
<PaulFertser> And then if e.g. strace shows me nothing is happening with in.tftpd process then I know it must be something else that accepts the connection. If I see it really accesses the file but gets the error then I'm using "ps -eo pid,euid,egid,command" or something like that to see what real UID and GID the process is using. Then if it's all proper I'll start checking SELinux / apparmor settings or
<PaulFertser> POSIX
<PaulFertser> ACL (but that's visible in ls -l output and apparently not your issue).
Rentong has joined #openwrt-devel
Rentong has quit [Remote host closed the connection]
<brpr> PaulFertser: we're booting OpenWRT!
<brpr> PaulFertser: We're in!!!
<Habbie> woop!
Slimey has quit [Read error: Connection reset by peer]
Slimey has joined #openwrt-devel
<PaulFertser> brpr: oh wow
<PaulFertser> brpr: what was wrong?
<brpr> I used Windows :P
Rentong has joined #openwrt-devel
<brpr> PaulFertser: what's next? I'm in OpenWRT
<PaulFertser> brpr: huh, it was a silly joke of mine, I didn't mean to recommend using windows for real.
<Habbie> haha
<PaulFertser> brpr: What I would get working first would be NAND and then wireless. So you can check how that zyxel board enables NAND, add that to your DTS, make partitioning match what you obtained using vendor's firmware, then change wifi section to reference "caldata" partition.
<brpr> PaulFertser: uhm... alright - could you at least help point me in the right direction?
<PaulFertser> Another unrelated task is figuring out the wired ethernet settings, probably you can just try some from similar boards to see what works for that.
<brpr> caldata - I think that's in device tree
<brpr> also wired ethernet works
<PaulFertser> brpr: see e.g. target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts same SoC as yours but with NAND enabled.
<PaulFertser> Of course you'll need to use a different partitioning for your board, making it match the vendor firmware.
<brpr> alright
<brpr> I'm taking a break lol, doing two things at once is stressful
<PaulFertser> brpr: in other boards &wmac { mtd-cal-data } option refers to "art" but you'll want it to refer to "caldata" instead.
<brpr> Ok. Any other commands I need to run in the WRT shell?
<stintel> nbd: is the format expected by uhttpd json_script redirect handler documented somewhere ?
<PaulFertser> If your device is dual band you'll want to check hexdump -C for the caldata partition to determine the offsets for ath9k and ath10k cards.
<brpr> oh yeah it is
<brpr> 2.4 and 5 GHz
<brpr> PaulFertser: hexdump -C seems to freeze, should I wait?
<PaulFertser> brpr: no, press Ctrl-D
<PaulFertser> brpr: it expects a file name.
<brpr> :P shouldve known
<PaulFertser> brpr: I can't tell you any specific commands, it's hard to teach Embedded Linux in few IRC messages
<brpr> oh yeah, no problem. I've mostly been dealing with desktop
<PaulFertser> brpr: I also suggest to look at any recent commit adding new devices, e.g. 55b4b3655263984b92e4b9fc515a5e6b8003c655 to see what it usually takes to add a new board.
CN_SZTL has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<brpr> what file name should I give hexdump? I have taken a look at commits and I have the idea about what I need to change
CN_SZTL has joined #openwrt-devel
<PaulFertser> brpr: you can't give it any name atm as you booted OpenWrt without support for your NAND.
<PaulFertser> But it woudl be something like /dev/mtdblock5
<brpr> alright. let's do this. I'm taking a 30-or so minute break and then I'll be making the NANDs work!
<brpr> (off topic but can I change my name in oftc webchat? new to IRC lol)
goliath has quit [Quit: SIGSEGV]
<PaulFertser> brpr: probably same as in normal IRC, with /nick command?
decke has quit [Quit: Leaving.]
brpr is now known as brpr-idle
<brpr-idle> thanks!
Rentong has quit [Remote host closed the connection]
Rentong has joined #openwrt-devel
Rentong has quit [Remote host closed the connection]
Rentong has joined #openwrt-devel
rejoicetreat has quit [Remote host closed the connection]
rejoicetreat has joined #openwrt-devel
brpr-idle is now known as brpr
<brpr> Let's do it.
brpr has quit [Quit: Page closed]
brpr has joined #openwrt-devel
arifre has quit [Remote host closed the connection]
arifre has joined #openwrt-devel
<brpr> PaulFertser, the Zyxel image uses SPI, not NAND.
<PaulFertser> brpr: it uses both
Rentong has quit [Remote host closed the connection]
Rentong has joined #openwrt-devel
valku has quit [Quit: valku]
valku has joined #openwrt-devel
Rentong has quit []
<brpr> PaulFertser, I do not understand, sorry. There is only a spi bootlog
<PaulFertser> brpr: see qca9558_zyxel_nbg6716.dts it enables nand
<brpr> Right, I see it. Thanks.
goliath has joined #openwrt-devel
<brpr> PaulFertser, should i just label the partitions as they are labeled in /proc/mtd?
<PaulFertser> brpr: OpenWrt expects partition labled exactly "ubi" for its rootfs, other than that, yes, follow the vendor naming.
<brpr> I have a partition called UBI_DEV and a partition called rootfs, so I make rootfs ubi and UBI_DEV as UBI_DEV?
<PaulFertser> brpr: with OpenWrt rootfs is going to be a ubi volume named "rootfs" formatted as squashfs.
<brpr> Alright, I'm a little confused. Do I do (for rootfs) label="ubi"?
<PaulFertser> brpr: there're flash partitions and there're ubi volumes.
<brpr> https://pastebin.com/xzUBX2ie this is what I have, we've seen this before
<PaulFertser> brpr: for NAND devices OpenWrt expects you to have a flash partition called "ubi". And that partition will be formatted as ubi and one of its volumes will be called "rootfs".
* enyc meeps
Rentong has joined #openwrt-devel
<brpr> PaulFertser, So wait - the UBI_DEV partition is going to be rootfs? What about the "rootfs" partition?
<PaulFertser> brpr: I think this /proc/mtd is confusing. You should look at what the kernel printed in dmesg. Because some of these partitions you see in /proc/mtd are inside the other mentioned partitions.
Rentong has quit [Remote host closed the connection]
<brpr> Now I see some UBI partitions - nvram,Factory,Factory2,linux,linux2,lsdk,jffs2
<brpr> PaulFertser, there is no rootfs partition in the ubi partition
<PaulFertser> brpr: if linux is inside UBI then how u-boot is able to find it?
<brpr> https://pastebin.com/3hQ5EG9J take a look at this bootlog
<PaulFertser> brpr: ok, so your u-boot understands ubi and you should store the kernel there in "linux" partition.
<PaulFertser> s/partition/ubi volume/
<brpr> alright. what about rootfs?
<PaulFertser> brpr: OpenWrt expects a volume named "rootfs" exactly.
<brpr> in ubi?
<brpr> my rootfs is outside of ubi
<PaulFertser> brpr: doesn't look outside to me.
<PaulFertser> Yes, in ubi.
<brpr> How would I define them? Just as "ubi"? Or do I list all the ubi partitions separately?
<brpr> I'm sorry for all of the questions.
<PaulFertser> brpr: in the DTS you just define the "ubi" partition and that's it.
<brpr> Thanks. I'll do that now.
<brpr> PaulFertser, This might seem dumb (and it is) but how do I calculate the end offset of the partition from /proc/mtd?
<PaulFertser> brpr: I'm afraid it's impossible from /proc/mtd
<brpr> How would I get the offsets for the DTS then?
<PaulFertser> brpr: from kernel log, https://pastebin.com/3hQ5EG9J
<brpr> nand_load_fw?
<PaulFertser> 0x000000000000-0x0000000e0000 , 0x000000100000-0x000007f00000 , 0x000007f00000-0x000008000000
<brpr> Just paste these in to the REGs in DTR?
<brpr> Sorry for my lack of knowledge. It's my first time "digging deep" into router FW and OpenWRT internals.
<PaulFertser> Just define the three partitions like this. I think DTS wants the size, not the end address so you'll have to calculate it.
<hauke> mangix: do you have your musl 1.2 branch somewhere?
<brpr> PaulFertser, https://pastebin.com/qkWc4X70 Please tell me if this is correct.
<PaulFertser> brpr: reg not correct, should be reg = <N M>; where N is offset, M is size.
<brpr> PaulFertser, alright. so like reg = <0x000000000000 0x0000000e0000>;?
huaracheguarache has joined #openwrt-devel
<huaracheguarache> If I want to backport a patch from netdev that's not been merged in mainline yet, do I place it in the backport or pending directory?
<brpr> PaulFertser, take a look at this https://pastebin.com/spVsUEHg
<PaulFertser> brpr: almost but M is size, not offset.
<brpr> I can take size from /proc/mtd right?
<brpr> PaulFertser, if so, size or erasesize?
<PaulFertser> brpr: size
<brpr> PaulFertser, https://pastebin.com/aU3LQXYB
<PaulFertser> brpr: hm, the last size looks like double of what I expect
Rentong has joined #openwrt-devel
<brpr> PaulFertser, I mistakenly got the erasesize :P sorry about that
<brpr> Just imagine as if it was 10000 instead of 20000, would it be correct?
<PaulFertser> brpr: I'd think so
lucenera has quit [Quit: The Lounge - https://thelounge.chat]
<brpr> Alright. I won't bother with GPIO YET as I see a Power LED (however the incorrect one). How would I proceed from here?
lucenera has joined #openwrt-devel
<brpr> PaulFertser, Do I need to make another image and see if the partitions mount now?
<PaulFertser> brpr: yes
<brpr> Alright. Making it now.
<brpr> PaulFertser, I have touched the target makefiles but the board doesn't show in make menuconfig.
<PaulFertser> brpr: try to "rm -r tmp/" to regenerate all data about the targets.
<brpr> Hmm, still nothing.
<PaulFertser> Then look at "git diff" to see if you might have missed something.
<brpr> I don't get anything there...
<PaulFertser> Then it means you didn't modify anything :)
<brpr> But I did. If i ls in the ath79 dts directory and grep asus it gives me my new file
<brpr> "qca9557_asus_rt_ac55u
<brpr> oh wait
<brpr> I'm stupid
<brpr> I didn't add the file extension
<PaulFertser> brpr: but you didn't add to image/Makefile instructions for building images for that board.
<brpr> That too. Only now reading the wiki entry about this.
Rentong has quit [Ping timeout: 480 seconds]
<brpr> I'm sorry once again PaulFertser but how exactly would I go to adding the board to the makefile?
<PaulFertser> brpr: please see recent commits that were adding new devices.
danitool has joined #openwrt-devel
linusw has quit [Quit: Connection closed for inactivity]
chwba has joined #openwrt-devel
<brpr> I did it PaulFertser! I based my makefile entry on the Zyxel one but if we get all things work I'll tweak it for the router.
<brpr> I just changed the device model and name
<PaulFertser> brpr: I'm not quite sure the initramfs image made with the zyxel entry will be good, I see some strange packing procedures for that zyxel.
<brpr> It worked before (that's the image I booted once through TFTP)
<brpr> Also, some things failed to build ;(
<brpr> libjson-c, lua, zlib, openssl, dropbear, libtool, linux-firmware
linusw has joined #openwrt-devel
<brpr> PaulFertser, https://pastebin.com/XZ776Ci9
<brpr> The build fails here.
<PaulFertser> brpr: yes, looks like starting from line 56 it complains about various things.
<PaulFertser> Does your git diff confirms that file is intact?
<brpr> it is
<brpr> the only file changed is the nand mk file
<PaulFertser> brpr: so probably the real error is later? I do not see it in your paste.
<brpr> I have spotted a typo
huaracheguarache has quit [Quit: Page closed]
<brpr> I have to go for today, bye guys.
brpr has quit [Quit: Leaving]
valku has quit [Quit: valku]
jbowen has quit [Ping timeout: 480 seconds]
dedeckeh has joined #openwrt-devel
valku has joined #openwrt-devel
valku has quit [Quit: valku]
valku has joined #openwrt-devel
lemoer has quit [Quit: WeeChat 2.8]
lemoer has joined #openwrt-devel
philipp64|work has joined #openwrt-devel
<mangix> hauke: I do
jbowen has joined #openwrt-devel
<digitalcircuit> Another IPQ8065 NBG6817 1.4 GHz L2 cache update - I've found a legitimate accidental regression! ...unfortunately, it's not one that fixes my issue, but it's probably worthwhile getting this fixed anyways... See "ipq806x: fix min<>target opp volt mixup on ipq8065" within https://github.com/openwrt/openwrt/compare/openwrt-21.02...digitalcircuit:openwrt-21.02-cpufreq-dtsivolt-cache-fix-opp-order
<digitalcircuit> It turns out the OPP triplets are <target min max>, NOT <min target max> like one would expect. So https://github.com/openwrt/openwrt/commit/1e25423be8acb38e979cd5a38abb1ca4cac2837e introduces a regression by reducing the CPU voltage for ALL ipq8065 CPU frequency levels. I might want to file this as a new merge request before I actually fix the crash.
<digitalcircuit> mrkiko: Thanks!
<digitalcircuit> (No need to wait up for me, if someone wants to make this a pull/merge request right now, feel free! But I'll get to it eventually :)
<digitalcircuit> (And yes, I'll file on the "master" branch first - backporting is more manageable than forward-porting.)
dedeckeh has quit [Remote host closed the connection]
jbowen has quit [Ping timeout: 480 seconds]
<hauke> mangix: thanks
jbowen has joined #openwrt-devel
KGB-0 has joined #openwrt-devel
slh has quit [Ping timeout: 480 seconds]
Borromini has joined #openwrt-devel
slh64 has quit [Ping timeout: 480 seconds]
slh has joined #openwrt-devel
slh64 has joined #openwrt-devel
rsalvaterra has joined #openwrt-devel
<mangix> hauke: I'm working on a gdb version update that reworks a bunch of the patches. Will obsolete the patch in that branch
<mrkiko> hauke: Hello! After some efforts I managed to get the "io" package working, and
<mrkiko> hauke: got a different DTS. Still same issue.
<mrkiko> hauke: root@OpenWrt:/tmp# io -l 20 0x18070000
<mrkiko> 18070000: 00 00 00 80 00 00 00 00 00 00 00 0f 00 00 00 02
<dwfreed> digitalcircuit: this is something only applicable to 21.02, right? ie, if I were thinking of getting an nbg6817, I wouldn't have the issues you're trying to fix if I stuck with 19.07
<mrkiko> 18070010: 00 00 ff ff
<mrkiko> blogic_: ping
<digitalcircuit> dwfreed: I *think* it's only applicable to 21.02. On 19.07, I still had random reboots with my NBG6817, but they weren't semi-reliably triggered by the issue I'm having on 21.02+.
<digitalcircuit> On testing: raising the CPU voltage at 1.75 GHz from 1200000 microvolts to 1220000 uV has not helped. Time to raise the other high-ish frequency too (1.4 GHz CPU), then failing that, raise all by another 20000 uV...
<digitalcircuit> It's also a niche case (OpenSSH SFTP backup to USB 3.0 external HDD plugged into router). Alternatively, another workaround is disabling the upper CPU frequencies and living with a slower router (not ideal at all). And you might not even have the issue given different CPU bins from Qualcomm; this could be specific to this router. I have a second NBG6817 but it's at a different house where I don't have the time to test with it.
rejoicetreat has quit [Ping timeout: 480 seconds]
rmilecki has quit [Ping timeout: 480 seconds]
<digitalcircuit> Huh, okay - earlier I enabled the dynamic debug info for the cpufreq governor, and right before the hard reboot without the voltage boost, CPU 1 was actually transitioning to a lower frequency, not a higher one! CPU 0 remained at 1725000 during this time, so it might be when different cores are at different target frequencies. (Maybe I need to slightly raise the voltage across the board?)
<digitalcircuit> [ 1400.590562] cpufreq: notification 0 of frequency transition to 800000 kHz
<digitalcircuit> [ 1400.584045] cpufreq: __target_index: cpu: 1, oldfreq: 1725000, new freq: 800000
<digitalcircuit> ...then reboot. Unfortunately, there's no messages about L2 cache frequency, and I didn't notice any in the dynamic debug options. Might be a different setting.
Rentong has joined #openwrt-devel
Borromini has quit [Quit: Lost terminal]
Rentong has quit [Ping timeout: 480 seconds]
jbowen has quit [Ping timeout: 480 seconds]
grid has quit [Quit: grid]
rsalvaterra has quit [Quit: Leaving]
Tusker has joined #openwrt-devel
jbowen has joined #openwrt-devel
Rentong has joined #openwrt-devel
jbowen has quit [Ping timeout: 480 seconds]
Rentong has quit [Ping timeout: 480 seconds]