robimarko has quit [Quit: Leaving]
<nkko> >/sys/firmware/devicetree/base/keys/reset
<nkko> I must be doing something wrong, surely? I can read the value of the GPIO pin, but when I hold it down, it's not resetting
<nkko> http://trac.gateworks.com/wiki/OpenWrt/gpio seems like I need some handler script?
<nkko> > gpio-482 ( |reset ) in hi
<nkko> huh
<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
<StereoRocker> Best of luck!
StereoRocker has quit [Quit: Leaving]
<nkko> nah, that can't be it
<nkko> they're both under the same controller
<nkko> 0: bcm63xx-gpio.0 GPIOS [480 - 511] PINS [0 - 31]
<nkko> 0: bcm63xx-gpio.1 GPIOS [474 - 479] PINS [32 - 37]
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]
zatwai has joined #openwrt-devel
<nkko> >total: 180 errors, 22 warnings, 5636 lines checked
<nkko> checkpatch.pl is absolutely useless
<f00b4r0> nkko: if your "first patch" is 5636 lines, I'm afraid this would be cause for concern ;P
<nkko> f00b4r0: I know, I fucked up the git history
<nkko> but with that script, I ran it on the repo dir, so heh
<nkko> also, is it normal to have rejects and to force it (I did quilt refresh, etc)?
<nkko> I'm just concerned that if I commit some other patch as well, it's going to get rejected
<f00b4r0> usually not but since I don't know what you're doing I can't tell for sure
<nkko> well, I'm modifying the bcm63xx board definition file
<nkko> board_bcm963xx.c, to be more specific
<nkko> erh, fuck it, I'll force it and see if it gets rejected
srslypascal has quit [Ping timeout: 480 seconds]
srslypascal has joined #openwrt-devel
tlj_ has joined #openwrt-devel
tlj has quit [Ping timeout: 480 seconds]
danitool has joined #openwrt-devel
rua has quit [Quit: Leaving.]
robimarko has joined #openwrt-devel
<nkko> >+4k lines
<nkko> did I fuck up my merge request, lol?
goliath has joined #openwrt-devel
rua has joined #openwrt-devel
StereoRocker has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
torv has quit [Remote host closed the connection]
torv has joined #openwrt-devel
csrf has quit [Remote host closed the connection]
csrf has joined #openwrt-devel
<owrt-snap-builds> Build [#744](https://buildbot.openwrt.org/master/images/#builders/69/builds/744) of `zynq/generic` completed successfully.
dangole has joined #openwrt-devel
torv is now known as Guest403
torv has joined #openwrt-devel
Guest403 has quit [Remote host closed the connection]
f00b4r0 has quit [Quit: Textual IRC Client: www.textualapp.com]
f00b4r0 has joined #openwrt-devel
robimarko has quit [Quit: Leaving]
<nkko> neggles: do you have any experience with NOR programmers?
<neggles> nkko: parallel or serial?
<neggles> parallel NOR, not much, serial/SPI? very yes
<nkko> yeah, serial
<neggles> SPI NOR flash best flash (or at least by far and away the easiest to work with)
<neggles> but there are an awful lot of shitty CH341As with a half-assed 3.3V mode that has a tendency actually be 5V and thus burn things
<nkko> heh, I was just about to search for programmers with that IC
<nkko> I used to use that IC in a project, it worked quite well
<neggles> you want an XTW100 you can flash with stm32-vserprog, or a T48, orrrr https://a.aliexpress.com/_mOsc1M2
<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> maybe I'm off by one here
<neggles> yep. off by one, V3 works
<PaulFertser> A word of warning though: it looks like ST made v3 incompatible to any other non-ST ARM MCUs and SoCs on purpose.
<neggles> iirc some V2 can be flashed with https://github.com/dword1511/stm32-vserprog
<neggles> nkko: the 56-pin TSOP kind?
<nkko> neggles: 48
<nkko> I think that 360 clip would work, though?
<neggles> tsop-48 should be NAND, not NOR
<neggles> hmm
<neggles> what's the chip model number?
<nkko> MX29LV640
<nkko> well, *MX29LV640EBTI
<neggles> well I'll be damned.
<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?
<nkko> I do hope it's not chinese garbage
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]
<swalker> updated openwrt/upstream, https://sdwalker.github.io/uscan/index.html
Borromini has quit [Quit: leaving]
<enyc> Hrrm,Imagebuilder working on ubuntu 22.04LTS/mint21.1 ...
SlimeyX has quit [Read error: Connection reset by peer]
SlimeyX has joined #openwrt-devel
robimarko has quit [Quit: Leaving]
tlj_ has quit [Remote host closed the connection]
tlj_ has joined #openwrt-devel