Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
warpme has quit []
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
apritzel has joined #linux-sunxi
loki6660 has joined #linux-sunxi
loki666 has quit [Ping timeout: 480 seconds]
loki6660 has quit []
loki666 has joined #linux-sunxi
anarsoul has quit [Remote host closed the connection]
anarsoul has joined #linux-sunxi
__ad has joined #linux-sunxi
mnemoc has quit [Read error: Connection reset by peer]
menomc has joined #linux-sunxi
ad__ has quit [Ping timeout: 480 seconds]
<tokyovigilante>
jernej: I have just send an initial attempt at the DE33 patches to the list, but your email address has bounced, did you want me to cc any other address?
<tokyovigilante>
actually I may have been stitched up by git-send-email, looks like that may be an old one.
<loki666>
tokyovigilante going to test your opp patch against 6.10rc2
<loki666>
Is support for h700 in uboot mainline, or should I still use your branch?
dsimic is now known as Guest8888
dsimic has joined #linux-sunxi
Guest8888 has quit [Ping timeout: 480 seconds]
ity has quit [Remote host closed the connection]
ity has joined #linux-sunxi
macromorgan has quit [Ping timeout: 480 seconds]
electricworry has quit [Remote host closed the connection]
electricworry has joined #linux-sunxi
<apritzel>
loki666: nothing in U-Boot mainline yet, though this is mostly blocked by the DTs not being synced yet, the AXP717 driver waiting for the merge window, and the defconfigs needing to be posted
<apritzel>
but please keep in mind that those are all unreviewed and unapproved patches, so don't bet your house on them ;-)
Schimsalabim has quit [Ping timeout: 480 seconds]
<apritzel>
macromorgan (and tokyovigilante): I reworked the H616 PMIC TF-A patches, so they pick the bus type (I2C or RSB) from the DT. That should fix the Anbernic devices with the RTC
<tokyovigilante>
that looks like all the bits, anything from u-boot? If you’re swapping between stock and mainline sometimes the PMIC gets into a funny state and needs the battery pulled to reset also.
<loki666>
tried to remove the battery, but same issue
<loki666>
I patched git TF-A with apritzel patches still the same
<loki666>
NOTICE: BL31: Found U-Boot DTB at 0x4a09efc8, model: Anbernic RG35XX H
<loki666>
there is this ERROR
<loki666>
could it be my kernel kconfig ?
Robot_ has quit [Ping timeout: 480 seconds]
<tokyovigilante>
maybe, you need the AXP RSB driver, that’s the bus the PMIC communicates over, if that’s not working it can’t set correct voltages and will not boot
<loki666>
# CONFIG_AXP20X_POWER is not set
<loki666>
that's not good
<loki666>
# CONFIG_AXP20X_ADC is not set
<loki666>
this also needs to be enabled ?
<apritzel>
loki666: ah, good thing I put this message in ;-) you need one more line in TF-A's sunxi-power.c
<loki666>
?
<apritzel>
(sorry,I forgot that the AXP717 uses a different RSB address than the AXP305)
<apritzel>
read: a bug on my side
<loki666>
ah ok
<apritzel>
you need: "case 0x3a3: return 0x2d;" just before the existing case in get_rsb_rt_address()
<loki666>
ok I'll let you update the patch, anyway adding CONFIG_AXP20X_POWER=y to my kconfig still doesn't works for me
<loki666>
no more idea
<apritzel>
I doubt that this TF-A problem would affect your kernel operation, but it's worth adding it anyway, I will update the series ASAP
<apritzel>
I think your kernel problem might be something unrelated entirely
<apritzel>
I actually saw this yesterday: some essential clock reference is missing, the kernel turns it off, machine halts
<apritzel>
loki666: for a quick check (and nasty workaround): add clk_ignore_unused to your kernel command line
<apritzel>
I was suspecting my new GPU PPU driver, but it might actually be a new 6.10 issue
<apritzel>
I will now investigate, but good ol' clk_ignore_unused should have you covered for now
<tokyovigilante>
thanks apritzel, haven’t seen this myself with -rc2 but will rebase and see if it crops up, will bisect if so
<loki666>
ok I'll try thanks
<apritzel>
tokyovigilante: bisecting within the merge window is tricky - or tedious at best
<apritzel>
I am somewhat hopeful I find it quicker ...
<tokyovigilante>
thanks, will test but hold off for now. thanks for the review of the DE patches, will fix the attributions and reply on list. Is it worth a v2 now or shall I wait for comment on the code itself? I am away for a week or so next week.
<apritzel>
wait for more technical comments
<apritzel>
it's not my technical expertise, but I wanted to have a look inside. Some of the patches seem to make sense on their own, without requiring understanding of the internals of the DE
<tokyovigilante>
sure, thanks. certainly jernej and I have different definition of hack!
<loki666>
apritzel: must be something with my kconfig, I used batocera h616 linux-sunxi64-current.config and it seems to works
<loki666>
i was using arc defconfig with a small fragment, seems like my fragment wasn't enough
<loki666>
is it worth investigating what was missing ? maybe there is a bug lurking
<apritzel>
loki666: do you mean arch* defconfig? And do just compile the Image and use that, without installing the modules as well?
<loki666>
yes arch defconfig
<apritzel>
typically distro kernels only boot so far without modules, they rely on them either being on disk or in the initrd