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
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]
dsimic is now known as Guest4249
dsimic has joined #linux-sunxi
Guest4249 has quit [Ping timeout: 480 seconds]
Hypfer has quit [Quit: The Lounge - https://thelounge.github.io]
Hypfer has joined #linux-sunxi
warpme has joined #linux-sunxi
warpme has quit []
parthiban has quit [Remote host closed the connection]
parthiban has joined #linux-sunxi
freemangordon has quit [Ping timeout: 480 seconds]
freemangordon has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
warpme has joined #linux-sunxi
warpme has quit []
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
warpme has joined #linux-sunxi
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]
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
<warpme> apritzel: this is main.c i'm using: https://gist.github.com/warpme/3d1e81f9bf2826a2d1f3fb9282060f5b
warpme has quit []
<apritzel_> warpme, ah I think that's a misunderstanding about the syterkit design: you need to change the extlinux/main.c
<apritzel_> each of those directories is a separate target binary, with quite some code duplication indeed
apritzel_ has quit [Quit: CoreIRC for Android - www.coreirc.com]
apritzel has joined #linux-sunxi
ftg has joined #linux-sunxi
bauen1_ has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
wingrime-ww has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
<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.
wingrime1 has joined #linux-sunxi
wingrime-ww has quit [Ping timeout: 480 seconds]
<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.
ing_warn has quit [Ping timeout: 480 seconds]
BroderTuck has quit [Quit: Page closed]