Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
<wens>
actually the ramp delay in the PMIC can be turned off. it's just on by default for the 717
<wens>
you can override the ramp delay through the DT, the regulator core will use the value from the DT if provided. if you give a shorter value than what is actually needed, then things will break
junari has joined #linux-sunxi
ftg has quit [Read error: Connection reset by peer]
<wens>
but the patch in question is simply taking the delay into account. it doesn't change anything on the pmic.
hexdump0815 has joined #linux-sunxi
hexdump01 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
junari has quit [Remote host closed the connection]
aggi has quit [Ping timeout: 480 seconds]
aggi has joined #linux-sunxi
parthiban has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
parthi has joined #linux-sunxi
parthiban has quit [Ping timeout: 480 seconds]
parthi has quit []
parthiban has joined #linux-sunxi
tokyovigilante_ has joined #linux-sunxi
tokyovigilante has quit [Ping timeout: 480 seconds]
freemangordon has quit [Remote host closed the connection]
freemangordon has joined #linux-sunxi
freemangordon has quit []
freemangordon has joined #linux-sunxi
freemangordon has quit []
freemangordon has joined #linux-sunxi
freemangordon has quit []
<warpme>
wens: "it doesn't change anything on the pmic" - i'm struggling with understanding: why changing nothing in pmic breaks boot?
<warpme>
reverting only commit brings boot back
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
freemangordon has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
apritzel has quit [Read error: Connection reset by peer]
<apritzel_>
warpme: I think wens meant the commit just creates a wait in the driver, before it returns success to the caller
<apritzel_>
it doesnt program the PMIC differently
<warpme>
apritzel: so setting ramp to 0 should bring behaviour to pre-commit state?
<warpme>
state->behaviour
BroderTuck has joined #linux-sunxi
<BroderTuck>
warpme: Yesterday, the question "With the patch reverted, do you also see the last line where kernel bring back regulator to 1.5v ?" was asked, but I do't see an answer
<warpme>
"do you also see the last line where kernel bring back regulator to 1.5v" - yes. without commit i have this line as well
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
<BroderTuck>
Ok. Now I see something tho. Early in that fail log, DRAM_VCC gets set to 1500 mv. Then that last message is about vdd-dram instead also being set to the same value (albeit in microvolts instead of milli) So vcc in one place, vdd in another.
<apritzel_>
BroderTuck: that's just names, I think, for the prints. the latter comes from the DT, the former is hard coded in Syterkit
<apritzel_>
warpme: did you change the voltage in Syterkit's main.c, near the end, in the main function, where it programs DCDC3?
<apritzel_>
line 705 in a slightly older branch
<warpme>
apritzel: L yes of course. My device uses ddr3 while syter code i modified (dram para, dram vdd) are for lpddr4
apritzel has joined #linux-sunxi
apritzel_ has quit [Read error: Connection reset by peer]
<warpme>
apritzel : wait sec. it is probable that i done this in mainline syter code - but not sure about your's branch. give me sec - i'm in kodi egl rabbit hole now....
JohnDoe_71Rus has joined #linux-sunxi
mkf has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
apritzel has quit [Read error: Connection reset by peer]
<Soupborsh>
I am trying to understand and write dram initilisation code for b288. Here is some bsp source code. I was not bale to compile boot0 with it. IDK but it looks more simular to a23 rather than h3.
<Soupborsh>
I am trying to reverse engineer libdram.o blob. Ghidra decompiled it well, I need to change every _DAT_address to actual read and write to that address.
<Soupborsh>
Also addresses should be changed to their macro, defined in mctl_reg.h.
<Soupborsh>
That libdram.o is confirmed to work. It has more functions and does more things compared to old available version of mctl_hal.c.
apritzel has quit [Quit: CoreIRC for Android - www.coreirc.com]
<Soupborsh>
How to add support for emmc in mainline U-Boot?
<Soupborsh>
With emmc support it should be possible to enter usb mass storage mode and flash emmc from pc as regular drive.