ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
vagrantc has quit [Quit: leaving]
apritzel has quit [Ping timeout: 480 seconds]
montjoie_ has joined #linux-sunxi
montjoie has quit [Ping timeout: 480 seconds]
acmeplus has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<tokyovigilante> acmeplus: can you check your -2024 board and see if it has a wifi chip? Just noticed the product page suggests it supports bluetooth controllers, and the DTS references both wifi and bt
<tokyovigilante> no never mind, chip not there on a youtube teardown.
<tokyovigilante> I suppose they mean with a dongle
<tokyovigilante> otherwise very few differences diffing the vendor DTS between the -2024 and the -Plus
hexdump0815 has joined #linux-sunxi
hexdump01 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
<tokyovigilante> macromorgan: can you post your r_intc define? I assume you've added it to your H616 DTSI
asriel has quit [Quit: Don't drink the water. They put something in it to make you forget.]
Danct12 has quit [Quit: ZNC 1.9.0 - https://znc.in]
Danct12 has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
<tokyovigilante> ok, have pushed a first rough draft DTS patchset to https://git.sr.ht/~tokyovigilante/linux/tree/anbernic-dts
<tokyovigilante> Have munged together all the regulators from my minimal set and macromorgan's complete set, but that will need refining, as do some of the GPIOs, and I'm missing the interrupt controller definition for the AXP. Otherwise in reasonable shape I think.
ungeskriptet has quit [Quit: The Lounge - https://thelounge.chat]
ungeskriptet has joined #linux-sunxi
ungeskriptet has quit []
ungeskriptet has joined #linux-sunxi
ungeskriptet has quit []
ungeskriptet has joined #linux-sunxi
Schimsalabim has quit [Write error: connection closed]
Schimsalabim has joined #linux-sunxi
apritzel has joined #linux-sunxi
pg12 has quit [Remote host closed the connection]
pg12 has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
bauen1 has quit [Ping timeout: 480 seconds]
wingrime-ww has quit [Quit: WeeChat 4.2.1]
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
<Jookia> tokyovigilante: nice!
rsglobal[m] has quit []
warpme has joined #linux-sunxi
apritzel has joined #linux-sunxi
<apritzel> tokyovigilante: that looks quite good, and I think it's now time to move the technical discussions into the proper mailing list channels
<apritzel> I haven't looked at the actual patches, and would like to do this on the list only anyways, but would suggest some minor fixes to the commit messages:
<apritzel> the first patch looks good, just add one sentence saying what those devices are
<apritzel> the split of the patches looks good
<apritzel> but the subject prefix of the three .dts patches should be: "arm64: dts: allwinner: h700: ...." (not bindings: ...)
<apritzel> and maybe add "2024" to the base RG35XX, to avoid confusion with that older version
<Jookia> i know i shouldn't... but i feel like tomorrow i want to debug why dfu is so slow
<Jookia> i need to get my embedded code profiling skills up
<apritzel> Jookia: oh yes, please do, it looks indeed like something is fishy with the dfu implementation
<apritzel> tokyovigilante: the rest looks good, so please send the series to the lists, with the changes above
<Jookia> i haven't tried to profile code before without a debugger
<Jookia> or a proper profiler
<Jookia> u-boot wouldn't happen to have a ring buffer logging subsystem would it? :)
apritzel has quit [Ping timeout: 480 seconds]
<tokyovigilante> apritzel: thanks for the feedback and vote of confidence, will tidy up and aubmit tomorrow.
tlwoerner has quit [Ping timeout: 480 seconds]
Robot_ has joined #linux-sunxi
dsimic is now known as Guest1011
dsimic has joined #linux-sunxi
Guest1011 has quit [Ping timeout: 480 seconds]
tlwoerner has joined #linux-sunxi
tlwoerner_ has joined #linux-sunxi
tlwoerner has quit [Ping timeout: 480 seconds]
warpme has quit []
Net147 has quit [Quit: Quit]
Net147 has joined #linux-sunxi
jelly has quit [Remote host closed the connection]
apritzel has joined #linux-sunxi
warpme has joined #linux-sunxi
<macromorgan> tokyovigilante: https://paste.debian.net/1313973/
<macromorgan> the compatible strings may need to be altered, depends on how upstream feels I guess. Note that something with interrupts isn't working currently as when I push the power button my board freaks out
<macromorgan> tokyovigilante: No wifi on my 2024 model either
<macromorgan> truth be told if that is literally the only difference you can use an identical tree, and it's just the wifi won't show up on the newer one without it
<macromorgan> not sure sure on the bluetooth though now that I think about it...
<macromorgan> I also need to get pwm controller working (I think trivial but need to confirm) and add the gpadc as well for the H series, I don't think it's used on the other models.
<macromorgan> If possible, please define the LEDs as PWMs if you can... I like the ability to control the brightness :-)
<macromorgan> otherwise I can define them once I get the pwm controller up and running (probably next week)
<apritzel> macromorgan: what's the timer about?
<macromorgan> I dunno... I just added it because it was there
<macromorgan> I had a list of hardware I was trying to add "because it was there" and I guess I forgot to take that one out
<apritzel> and in general the compatible name follow the scheme: "SoC specific name", "name of existing compatible device"
<macromorgan> right
<macromorgan> a proper mainline submission would do that and update the docs to match
<apritzel> the idea is that if it turns out there are not quite fully compatible, we can just fix this in the driver, by tying it to the specific compatible string
<macromorgan> right... let's just say I have experience being burned like that before...
<apritzel> yeah, it's also if the driver gains new features, which just the new chip has, for instance
<macromorgan> right
<macromorgan> anyway, I've got to do family stuff today (it's a saturday here) so I'll probably not look at this much more today. That said, any thoughts on the IRQ stuff? You don't have an H700 in hand do you by chance?
KNULLNoNeAll[m] has quit []
jelly has joined #linux-sunxi
<apritzel> no I don't, though I feel it's more an AXP717 driver issue than anything else
<apritzel> so you say the IRQ triggers, but doesn't get acknowledged properly, so it stays triggered?
<macromorgan> I haven't done a ton of debugging yet, but basically when I define the NMI I see a handful of issues at boot: https://paste.debian.net/1313990/
apritzel has quit [Ping timeout: 480 seconds]
ftg has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
KREYREN_oftc has joined #linux-sunxi
<KREYREN_oftc> > <ity> KREYREN_oftc: since when are you back on copyleft? < -- I am doing copyfree but pinephone's copyleft and i might be working on a copyfree design
<jakllsch> pinephone hardware isn't copyleft..
<KREYREN_oftc> jakllsch, it's proprietary with copyleft schematics
<jakllsch> afaik the schematics are merely published
<KREYREN_oftc> i was told it has GPL
<gamiee> who told you thatň
<jakllsch> the schematics sure aren't published in "source form"
<jakllsch> they're PDFs, not the original EDA files
<warpme> guys: i'm playing with h313 tanix tx1 (https://linux-sunxi.org/Tanix_TX1). I got 6.8.5 kernel nicely booting without rootfs via sunxi-fel. Now i'm trying to boot 6.8.5 via sunxi-fel with rootfs and i'm getting like this: https://gist.github.com/warpme/6bf711b581174ede7ae158504017104e Line123 says about issue with allocation. I don't have much ideas how to move forward with this. Maybe somebody has any idea here?
warpme has quit []
bauen1 has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Quasar 5.2.2, revision: 5.2.0+git-7571-8c8adf27c, build type: debug, sources date: 20160102, built on: 2024-03-24 18:03:42 UTC 5.2.0+git-7571-]
<KREYREN_oftc> jakllsch, ye you are right it seems that it's proprietary and just published i asked a lawyer to review the files
<KREYREN_oftc> pain..
* KREYREN_oftc basically just needs the dimension of the PCB
mripard has quit []
obbardc has quit []
apritzel has joined #linux-sunxi
<apritzel> warpme: try in U-Boot: setenv initrd_high 0xffffffffffffffff
<apritzel> U-Boot wants to move the initrd, but it's too large to allocate a buffer for that
oliv3r[m] has quit []
Robot_ has quit [Ping timeout: 480 seconds]
<apritzel> so is there any chance someone can review the AXP717 driver? Just grab a manual and compare it against the nonsense I put in the driver. Please. https://lore.kernel.org/linux-sunxi/20240329235033.25309-1-andre.przywara@arm.com/T/#u
<apritzel> macromorgan: please change "regmap_reg_range(AXP717_IRQ0_EN, AXP717_IRQ4_EN)," to "regmap_reg_range(AXP717_IRQ0_EN, AXP717_IRQ4_STATE),"
wasutton3 has joined #linux-sunxi
wasutton- has joined #linux-sunxi
wasutton| has quit [Ping timeout: 480 seconds]
wasutton3 has quit [Ping timeout: 480 seconds]
<Jookia> apritzel: I'll do a review if i don't fall asleep :)
KREYREN_oftc has quit [Remote host closed the connection]
KREYREN_ has joined #linux-sunxi