<nkko>
so, hmm, how do I make the pin use the first gpio controller?
<nkko>
oh, I see
Luke-Jr has quit [Ping timeout: 480 seconds]
<StereoRocker>
nkko: I'm not sure if this helps, but the reset button on my board has a definition in DTS. There's a line that tells it to perform reset action. Snippet: https://pastebin.com/mzYEmScV
<nkko>
yeah, that's what I've been seeing
<nkko>
I think I have to add in another pinctrl definition
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
Luke-Jr has joined #openwrt-devel
dansan has quit [Quit: The C preprocessor is a pathway to many abilities some consider to be unnatural.]
dansan has joined #openwrt-devel
hanetzer2 is now known as hanetzer
tSYS has quit [Quit: *squeak*]
tSYS has joined #openwrt-devel
ptudor_ has quit [Read error: No route to host]
ptudor has joined #openwrt-devel
floof58 is now known as Guest376
floof58 has joined #openwrt-devel
Guest376 has quit [Ping timeout: 480 seconds]
dangole has quit [Ping timeout: 480 seconds]
<champtar>
Is there a usable tree to test mvebu with a kernel more recent than 5.15 ? Would like to see if the issues I see in https://github.com/openwrt/openwrt/issues/10997 are fixed in more recent kernel
<Mangix>
nope
<champtar>
I see Ansuel has a branch with kernel 6.1 for ipq608x, don't know if this would be a good start
Luke-Jr has quit [Ping timeout: 480 seconds]
<nkko>
well, I figured it out, but the GPIO line isn't appearing in sysfs
<nkko>
> gpio-476 ( |reset ) in hi
<nkko>
yes, yes, yes!
<nkko>
finally, my first patch
Luke-Jr has joined #openwrt-devel
zatwai has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
<nkko>
nvm, maybe I'm confusing the USB-serial bridge IC
<neggles>
which is a CH341A that has *real* multi voltage
<nkko>
I saw those T48 listings, yeah
<neggles>
still annoyed at the whole "whoops no NAND clip for you" thing on them, but I did that to myself >.<
<neggles>
recommend buying a genuine Pomona SOIC-8/SOIC-16 (depending on which you need) from Digi-Key / Mouser rather than using one of the $3 cheapies
<nkko>
I have to look up the flash chip form factor first, though, but yes, those clips suck
<neggles>
the cheap ones work but they're fiddly and the contacts tend to slide up inside the housing
<PaulFertser>
nkko: you most probably have a raspberrypi or other SBC, that can be used as NOR SPI programmer too.
<PaulFertser>
If you need 3.3 V target.
<nkko>
PaulFertser: yeah, but I already have a ch341a programmer
<neggles>
^ was about to say that
<neggles>
if you have one of the generic $8 ones, it is almost certainly not safe to use on 3.3V chips
<nkko>
yep, it's 5V
<PaulFertser>
Guess youo can just measure the voltage on SPI pins to be sure?
<nkko>
I mean, maybe if I used a resistor, it'd work
<neggles>
the overwhelming majority of router flash chips are 3.3V
<PaulFertser>
Also, many JTAG adapters can be used with flashrom too.
<neggles>
there's a mod you can make
<neggles>
to make it be 3.3v for real
<neggles>
but it's a tad permanent
<nkko>
I'll just get a separate programmer
<neggles>
that one I linked on aliexpress is quite legit, if you have an ST-Link V2 that can be used, FT2232H boards
<neggles>
a pi
<PaulFertser>
neggles: st-link can be used with flashrom?
<neggles>
V2 yes
<nkko>
st-link? I just relied on the USB bridge that my stm32 board came with
<neggles>
not the cheap V1 clones
<nkko>
I don't have a proper JTAG setup, though, my only JTAG adaptor is one of those "USB blaster" ones
<nkko>
ah, parallel NOR
<neggles>
that should work
<PaulFertser>
neggles: v1 were long time ago, as part of f100 disco boards.
<neggles>
yeah the straight 48-pin 360 clip will work
<neggles>
but as for something to attach it to...
<nkko>
I'll get that soic-8 clip, though, alongside the 3.3V adaptor
<neggles>
I guess a FlashcatUSB XPort would work with the right FFC adapter, not cheap though and I'm unimpressed with both the software and the performance
<neggles>
uses a $12 8-bit ATMega...
<nkko>
I think I saw NOR+NAND flashers on aliexpress
<nkko>
but I'm not sure
<neggles>
T48 will do parallel NOR but it won't take the 360-clip
<neggles>
T56 will, but it's not cheap either
<nkko>
hmm, indeed
<neggles>
if there's a JTAG header on the board you may be able to grab a J-Link Edu or an FT2232H board and use that with OpenOCD
<neggles>
who the heck is using parallel nor still
<nkko>
well, it's not a bricked board, this is just out of curiosity
<neggles>
is it Broadcom
<nkko>
yep
<PaulFertser>
Raspberrypi can sometimes be used as a JTAG adapter with OpenOCD too. But for certain targets (depending on input impedance) you might need to add series termination resistors on data lines.
* neggles
sighs
<nkko>
it'd be nice if I could just pay for datasheets, but nah, broadcom doesn't work that well
<nkko>
*way
<neggles>
well, it does
<nkko>
true, but limited access
<neggles>
but the fee is 10hrs of engineering consulting time to one of their partners
<neggles>
at $1750/hr
<nkko>
oh, my
<neggles>
yeah, company was looking at designing a 25/100G switch for a particular niche-ish use case
<neggles>
decided to just live with buying SN2010s
<neggles>
at least they took us seriously, Marvell wouldn't even give us the time of day
<nkko>
does TI even make >100mbit switch ICs?
<neggles>
think so, but mostly for industrial/automotive
<nkko>
well, if I get the T56, is it particularly easy to fry?
SlimeyX has quit [Read error: Connection reset by peer]
goliath has joined #openwrt-devel
SlimeyX has joined #openwrt-devel
<nkko>
neggles: is there anything else that I should know about the T56? I've read the specifications, seems fine, so I'll get it
<nkko>
well, I've ordered it
Acinonyx has quit [Quit: Peer reset by connector]
Acinonyx has joined #openwrt-devel
<nkko>
I'll just desolder the tsop-48 chip, though, it'd be cheaper to do it that way
Borromini has joined #openwrt-devel
schwicht has joined #openwrt-devel
Strykar has quit [Quit: /quit]
Strykar has joined #openwrt-devel
SlimeyX_ has joined #openwrt-devel
SlimeyX_ has quit [Read error: Connection reset by peer]
SlimeyX_ has joined #openwrt-devel
SlimeyX__ has joined #openwrt-devel
SlimeyX has quit [Ping timeout: 480 seconds]
SlimeyX__ is now known as SlimeyX
SlimeyX has quit [Read error: Connection reset by peer]
SlimeyX__ has joined #openwrt-devel
SlimeyX__ is now known as SlimeyX
Borromini has quit [Quit: Lost terminal]
SlimeyX_ has quit [Ping timeout: 480 seconds]
SlimeyX_ has joined #openwrt-devel
SlimeyX has quit [Ping timeout: 480 seconds]
SlimeyX_ is now known as SlimeyX
csrf has quit [Remote host closed the connection]
csrf has joined #openwrt-devel
robimarko has joined #openwrt-devel
SlimeyX has quit [Read error: Connection reset by peer]
SlimeyX has joined #openwrt-devel
Borromini has joined #openwrt-devel
bluew has joined #openwrt-devel
dangole_ has joined #openwrt-devel
dangole has quit [Remote host closed the connection]
zer0def has quit [Ping timeout: 480 seconds]
jlsalvador has quit [Quit: jlsalvador]
zer0def has joined #openwrt-devel
<enyc>
22.03-SNAPSHOT ImageBuilder seems to be having trouble detecting python3-distutils on debian 11bullseye ... wondering if anybody recognize this.
jlsalvador has joined #openwrt-devel
jlsalvador has quit [Remote host closed the connection]