philipp64 has quit [Quit: philipp64]
floof58 has joined #openwrt-devel
aiyion has quit [Remote host closed the connection]
aiyion has joined #openwrt-devel
aiyion has quit [Remote host closed the connection]
aiyion has joined #openwrt-devel
valku has quit [Quit: valku]
Tapper has quit [Ping timeout: 480 seconds]
csrf1 has quit [Quit: Leaving]
mrnuke has quit [Read error: Connection reset by peer]
mrnuke has joined #openwrt-devel
indy has quit [Ping timeout: 480 seconds]
indy has joined #openwrt-devel
indy has quit [Remote host closed the connection]
indy has joined #openwrt-devel
mrnuke has quit [Read error: Connection reset by peer]
mrnuke has joined #openwrt-devel
karlp has quit [Remote host closed the connection]
EqUaTe has quit [Remote host closed the connection]
EqUaTe has joined #openwrt-devel
karlp has joined #openwrt-devel
zatwai has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
zatwai has joined #openwrt-devel
minimal has quit [Quit: Leaving]
ryd has joined #openwrt-devel
mrnuke_ has joined #openwrt-devel
mrnuke has quit [Ping timeout: 480 seconds]
danitool_ has quit [Ping timeout: 480 seconds]
SlimeyX has quit [Read error: Connection reset by peer]
philipp64 has joined #openwrt-devel
philipp64 has quit []
clandmeter has quit [Remote host closed the connection]
clandmeter has joined #openwrt-devel
clandmeter has quit [Remote host closed the connection]
clandmeter has joined #openwrt-devel
clandmeter has quit [Remote host closed the connection]
clandmeter has joined #openwrt-devel
clandmeter has quit [Remote host closed the connection]
clandmeter has joined #openwrt-devel
valku has joined #openwrt-devel
hexagonwin has joined #openwrt-devel
hexagonwin has quit [Quit: [ Quitting client ]]
hexagonwin has joined #openwrt-devel
hexagonwin has quit [Remote host closed the connection]
hexagonwin has joined #openwrt-devel
hexagonwin has quit [Remote host closed the connection]
SlimeyX has joined #openwrt-devel
valku has quit [Quit: valku]
noltari has quit [Ping timeout: 480 seconds]
noltari has joined #openwrt-devel
SlimeyX has quit [Remote host closed the connection]
srslypascal is now known as Guest6345
srslypascal has joined #openwrt-devel
winternull has quit [Remote host closed the connection]
Guest6345 has quit [Ping timeout: 480 seconds]
winternull has joined #openwrt-devel
sorinello has quit [Quit: Leaving]
Mathew has joined #openwrt-devel
mcbridematt has quit [Read error: Connection reset by peer]
goliath has joined #openwrt-devel
sorinello has joined #openwrt-devel
robimarko has joined #openwrt-devel
danitool has joined #openwrt-devel
Mathew is now known as mcbridematt
Piraty has quit [Remote host closed the connection]
Piraty has joined #openwrt-devel
stintel has joined #openwrt-devel
indy has quit []
indy has joined #openwrt-devel
indy has quit []
indy has joined #openwrt-devel
stintel has quit [Ping timeout: 480 seconds]
stintel has joined #openwrt-devel
Tapper has joined #openwrt-devel
MaxSoniX has joined #openwrt-devel
cmonroe has joined #openwrt-devel
cmonroe_ has quit [Ping timeout: 480 seconds]
nixuser has quit [Read error: No route to host]
<f00b4r0> robimarko: variable erase patch submitted. Let's see how far it goes :)
<robimarko> f00b4r0: Great, hopefully there will be feedback
nixuser has joined #openwrt-devel
<f00b4r0> hopefully. I tried to make it _very_ palatable. I split it into 3 pieces each functionally independent, so they can be easy to review on their own.
<f00b4r0> and I tried to write the "perfect" commit message too. A labor of love :D
<robimarko> Hehe, now wait for it to sit for 3 months and then just get merged
<robimarko> BTW, finally started taking the time to learn using OpenOCD
<robimarko> It is time to stop avoiding it
<f00b4r0> ah. That's still on my todo list :)
<f00b4r0> ah!
<robimarko> Well, it should be easier to do bootloader deving using JTAG and not having to flash
<robimarko> Once I figure out the config to make reset halt actually work
<PaulFertser> Please feel free to ping me if you have any questions about OpenOCD, I might be able to answer some (but can't really promise it works nicely with any particular MIPS implementation).
<f00b4r0> PaulFertser: noted :)
<PaulFertser> I can explain the generic concepts though, e.g. what all the reset options actually mean etc.
<robimarko> Great, not touching MIPS
<robimarko> Currently, trying to make it work on SparX-5 (Cortex-A53)
<robimarko> For some reason halt works, but not reset halt
<PaulFertser> "reset halt" is kinda tricky, some targets support it, some have stupid internal wiring that resets the debug circuity so reset vector handling can't be preserved across resets etc.
<PaulFertser> Often times "reset; halt" is good enough of a workaround.
<robimarko> Hehe, not a bad idea
<robimarko> Ugh, reset doesnt work as well: https://pastebin.com/Piz5weHm
<robimarko> No idea why because it actually resets the board, and TRST as well as SRST are present
<PaulFertser> robimarko: do you have "reset_config srst_only" (or trst_and_srst) and do you expect them to work nicely with the board?
<robimarko> Both are set to be utilized
<PaulFertser> robimarko: probably you need a bit of delay after reset deassertion, "adapter srst delay" command.
<robimarko> Ugh, the datasheet says up to 5 seconds after reset deassert until clocks are running
<PaulFertser> There's also a possibility that your SoC or board has TRST wired in a silly way so that SoC reset is resetting JTAG state machine too, in that case you should tell OpenOCD that "srst_pulls_trst".
<robimarko> Hm, even with that and a 500ms delay
<robimarko> Debug regions are unpowered, an unexpected reset might have happened
<robimarko> Hm, to me it seems that it gets reset twice
indy has quit []
indy has joined #openwrt-devel
<PaulFertser> robimarko: you can start openocd with -d3 (or -d2) and you'll see what exactly is happening.
<PaulFertser> robimarko: I also suggest you do testing with current master rather than the latest release.
<robimarko> Yeah, I am using the master git as of 2-3 days ago
<robimarko> Basically, reset gets deasserted and thats i
<robimarko> Fails one debug regions not being powered
<robimarko> Tried adding delays to both SRST and TRST but does not help
cmonroe has quit [Ping timeout: 480 seconds]
<PaulFertser> robimarko: TRST is supposed to only reset the JTAG state machine (it's the transport used to talk to the "debug regions").
<PaulFertser> robimarko: since you get "tap/device found: 0x4ba00477" after reset it means JTAG is working. But apparently debug module inside the SoC gets reset too, so it changed its state :/
<PaulFertser> Probably you need to add something like "$_TARGETNAME arp_examine" to the hook that's run after reset...
seer has quit [Remote host closed the connection]
seer has joined #openwrt-devel
<PaulFertser> "sparx5.cpu arp_examine" in your case
<robimarko> Hm, isnt arp_examine already ran as part of the reset?
bluew has quit [Quit: Leaving]
cmonroe has joined #openwrt-devel
Tapper has quit [Ping timeout: 480 seconds]
cmonroe has quit [Ping timeout: 480 seconds]
<PaulFertser> robimarko: indeed
<PaulFertser> robimarko: see target/stm32mp15x.cfg , it has interesting trick: $_CHIPNAME.ap1 configure -event examine-start {dap init} and $_CHIPNAME.ap1 configure -event reset-deassert-pre {adapter deassert srst deassert trst;dap init;catch {$::_CHIPNAME.dap apid 1}}
<PaulFertser> robimarko: dap init is likely needed to be re-run in your case.
MaxSoniX has quit [Quit: Konversation terminated!]
robimarko_ has joined #openwrt-devel
hanetzer1 has joined #openwrt-devel
hanetzer has quit [Ping timeout: 480 seconds]
robimarko has quit [Ping timeout: 480 seconds]
<aparcar[m]> is 22.03 rc5 currently broken? I see a lot of build failures with wolfssl? jow hauke ?
floof58 is now known as Guest6364
floof58 has joined #openwrt-devel
Guest6364 has quit [Ping timeout: 480 seconds]
<f00b4r0> aparcar[m]: AIUI it's got to do with shared/nonshared
<aparcar[m]> dang it
hanetzer2 has joined #openwrt-devel
hanetzer1 has quit [Ping timeout: 480 seconds]
<robimarko_> PaulFertser: Thanks, will give it a go
minimal has joined #openwrt-devel
<robimarko_> PaulFertser: Unfortunatelly, does not help
Tapper has joined #openwrt-devel
<\x> robimarko_: this is how that 256-qam thingy on 2.4GHz looks like right? https://i.imgur.com/1bBxcz5.jpg
<PaulFertser> robimarko_: if openocd is able to connect after the start but not after the reset the debug log should show what's different between the two cases
hanetzer3 has joined #openwrt-devel
hanetzer2 has quit [Ping timeout: 480 seconds]
<robimarko_> PaulFertser: Hm, now I am down to:
<robimarko_> Invalid ACK (3) in DAP response
hexagonwin has joined #openwrt-devel
<robimarko_> \x: I am not really sure what you mean
<\x> VHT on 2.4GHz, with ipq4019
<robimarko_> You sure that IPQ4019 is even capable of VHT?
<\x> then i guess its called 256-qam over 2.4GHz
<robimarko_> Those are the same thing, but you are right:
<robimarko_> – Support 256 QAM for both 2.4 GHz and 5 GHz
<robimarko_> Says the spec sheet
<robimarko_> Ughh, just no that repo
<robimarko_> They are world champions when it comes to taking stuff and resigning it
<robimarko_> Why wasnt that just submitted upstream?
<robimarko_> It would either get shot down fast or merged
<\x> idk
<robimarko_> mac80211 part looks really simple
<\x> seem people cant test
<\x> but yes it works but the pain is that i have to massage this everytime
<\x> and tbh only two devices so far negotiates with that modulation on 2.4GHz that i have seen
<robimarko_> Ok, so it was initially sent by Ben Grearb(Dude doing ath10k-ct) in 2016
<robimarko_> Though it uses a different approach
hexagonwin has quit [Remote host closed the connection]
indy has quit [Ping timeout: 480 seconds]
indy_ has joined #openwrt-devel
Tapper has quit [Ping timeout: 480 seconds]
goliath has quit [Quit: SIGSEGV]
cbeznea has quit [Quit: Leaving.]
cmonroe_ has joined #openwrt-devel
valku has joined #openwrt-devel
SlimeyX has joined #openwrt-devel
goliath has joined #openwrt-devel
aiyion_ has joined #openwrt-devel
aiyion has quit [Remote host closed the connection]
schwicht_ has joined #openwrt-devel
MaxSoniX has joined #openwrt-devel
schwicht has quit [Read error: Connection reset by peer]
schwicht has joined #openwrt-devel
schwicht_ has quit [Ping timeout: 480 seconds]
robimarko_ has quit [Quit: Leaving]
schwicht_ has joined #openwrt-devel
aiyion_ has quit [Remote host closed the connection]
aiyion_ has joined #openwrt-devel
schwicht has quit [Ping timeout: 480 seconds]
schwicht has joined #openwrt-devel
schwicht_ has quit [Ping timeout: 480 seconds]
aiyion_ has quit [Remote host closed the connection]
aiyion_ has joined #openwrt-devel
aiyion_ has quit [Remote host closed the connection]
aiyion_ has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
<fpsusername[m]> Why does building openwrt take so long compared to building a kernel for a pc?
<fpsusername[m]> And how would I only make certain packages without running everything (because it literally takes about an hour+ to compile)
<f00b4r0> fpsusername[m]: because you're building quite a lot more than just a kernel.
<fpsusername[m]> true
<f00b4r0> for the other question, this might answer it: https://openwrt.org/docs/guide-developer/toolchain/single.package
aiyion_ has quit [Remote host closed the connection]
aiyion_ has joined #openwrt-devel
<fpsusername[m]> <f00b4r0> "fpsusername: because you're..." <- Is github actions or jenkins ci fast enough to compile it within the given time? Iirc, jenkins gives 2 hours for free, not sure about github actions
<f00b4r0> fpsusername[m]: I'm using hardware that can build world in under 30mn. GH doesn't run on your average PC tower :P
<fpsusername[m]> f00b4r0: i5-4690k at 4.5GHz, but it's not super stable. Even if I up the voltage by 0.2 or down the clocks to 4.4GHz, it's simply unstable at full load. I'm now compiling it with -j3, started about an hour ago
<fpsusername[m]> Jenkins gives something of a dual core intel xeon CPU and 2gb ram
<fpsusername[m]> It would compile the Nvidia Jetson kernel in about 40 minutes
shibboleth has joined #openwrt-devel
philipp64 has joined #openwrt-devel
goliath has joined #openwrt-devel
Tapper has joined #openwrt-devel
<fpsusername[m]> ERROR: package/network/utils/xdp-tools failed to build.
<fpsusername[m]> Nooooo
MaxSoniX has quit [Quit: Konversation terminated!]
shibboleth has quit [Quit: shibboleth]
goliath has quit [Quit: SIGSEGV]
aiyion_ has quit [Remote host closed the connection]
aiyion_ has joined #openwrt-devel
<fpsusername[m]> * ERROR: package/network/utils/xdp-tools failed to build.
<fpsusername[m]> Nooooo.
<fpsusername[m]> Lol forgot to update scripts
goliath has joined #openwrt-devel
schwicht_ has joined #openwrt-devel
schwicht has quit [Ping timeout: 480 seconds]
<mangix> fpsusername[m]: use ccache
bluew has joined #openwrt-devel
<mangix> big brain idea: convert x86-64 platforms to use x32
<fpsusername[m]> Mangix: I uh, have no idea how to use that
<mangix> fpsusername[m]: just enable under make menuconfig
<fpsusername[m]> All I did was take Harm_ 's repo and merged the newest openwrt version
<fpsusername[m]> Oh okay, will do
<mangix> make menuconfig > advanced IIRC
<fpsusername[m]> got it
<fpsusername[m]> <Mangix> "make menuconfig > advanced IIRC" <- make[3] -C toolchain/gdb compile... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/XNuXUlZdTWDHKQPPOPqTSgvO)
<fpsusername[m]> > <@_oftc_Mangix:matrix.org> make menuconfig > advanced IIRC... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/ojeBkyvfrVXckjHjpfRplfGy)
<mangix> no idea what i'm supposed to look at
<mangix> ccache requires tools/ccache to be built
<fpsusername[m]> hmm okay. I'm just running make after enabling the option
<fpsusername[m]> toolchain/gdb just fails to install
Tapper has quit [Quit: Tapper]
minimal has quit [Quit: Leaving]
goliath has quit [Quit: SIGSEGV]
c0sm1cSlug has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
c0sm1cSlug has joined #openwrt-devel