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
hentai has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
evgeny_boger has quit [Ping timeout: 480 seconds]
grming has quit [Quit: Konversation terminated!]
qwestion has joined #linux-sunxi
Asara has quit [Quit: leaving]
Asara has joined #linux-sunxi
vagrantc has joined #linux-sunxi
junari has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
junari has quit [Remote host closed the connection]
warpme has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
evgeny_boger has joined #linux-sunxi
apritzel has joined #linux-sunxi
szemzoa_ has quit [Remote host closed the connection]
szemzoa has joined #linux-sunxi
szemzoa has quit [Remote host closed the connection]
szemzoa has joined #linux-sunxi
szemzoa has quit [Remote host closed the connection]
szemzoa has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
warpme has quit []
grming has joined #linux-sunxi
zavorka has joined #linux-sunxi
warpme has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
tnovotny has joined #linux-sunxi
warpme has quit []
bauen1 has joined #linux-sunxi
warpme has joined #linux-sunxi
grming has quit [Ping timeout: 480 seconds]
paulk-bis has joined #linux-sunxi
paulk has quit [Read error: Connection reset by peer]
LordKalma has quit [Quit: Server has probably crashed]
LordKalma has joined #linux-sunxi
LordKalma has quit []
LordKalma has joined #linux-sunxi
warpme has quit []
evgeny_boger has joined #linux-sunxi
warpme has joined #linux-sunxi
grming has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
vagrantc has joined #linux-sunxi
bauen1_ has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
ftg has joined #linux-sunxi
<apritzel> warpme: please have a look at the first of the two U-Boot patches I just CC:ed you on
<warpme> indeed: saw them
<apritzel> that's just half of the work, I have another patch to autodetect this (similar to what we do in TF-A), but I need to test this still
evgeny_boger has quit [Ping timeout: 480 seconds]
<apritzel> the idea of patch 1/2 is that you set the RVBAR address in your board's defconfig file, for the "T507-style" board: CONFIG_SUNXI_RVBAR_ADDRESS=0x8100000
<apritzel> if you could test that this works for you, that would be great. That should save you this hack you carry to *replace* 0x9010000 with 0x8100000
<warpme> Honestly speaking removal of CONFIG_RESERVE_ALLWINNER_BOOT0_HEADER is steep-back imho. I suspect main motivation from your side is code cleanness - and i agree with this arg. but for very initial stage of board bringup caps. of using vendor boot0 as spl might be v.helpful i.e. for parallel devel of spl and tpl; or for case where devel team doing board bringup has no skills in (v.speciffic) dram spl setup ind in this case only way to
<warpme> move forward is temp. usage of vendor boot0 as spl....
<warpme> ind->so
junari has joined #linux-sunxi
<apritzel> warpme: but that BOOT0_HEADER code doesn't help you with that, does it?
cnxsoft has quit []
<apritzel> that was just for the A64 boot0, IIUC then the later boot0's (already the H5) changed the payload ID scheme
<apritzel> junari: ah, you mean the second call should use SUNXI_PER_CORE_RVBAR_HI_REG ???
<junari> Yep
<apritzel> warpme: can you test if that ^^^^ fixes it for you
<apritzel> junari: thanks for spotting this
<warpme> if i'm understanding things correctly: only thanx to fantastic help from junari - my bringup of h313 ddr3 box was possible. So without junari help - this box will now collect dust....unless: 1)somebody pointed me about BOOT0_HEADER - so i can use already extracted (and working well) vendor boot0.bin + 2)uboot will still have BOOT0_HEADER. In other words: removing BOOT0_HEADER will exclude case i'm describing here....
<apritzel> well, then reply to the email and point that out ;-)
<apritzel> that's why we have those lists and do things publicly
<junari> apritzel: my t507 board works with reclaim, here log https://gist.github.com/iuncuim/a3abdf2e78b9235fd685ad2c8529f63a
<junari> Thanks for your patches
vagrantc has quit [Quit: leaving]
<apritzel> warpme: but you would need some tool to fill that header, right?
<warpme> apritzel : probably :-) But this means that in such case like my initil case (before junari decides to help) - route with boot0 is option. removal of BOOT0_HEADER closes it...
<apritzel> warpme: I mean I was curious: back in the A64 I hacked up this tool to fill the boot0 header in the U-Boot binary, but this was for the A64 boot0 only
<apritzel> even with the H5 this didn't work anymore, since Allwinner changed the format
<apritzel> so how did you fill this header? Did the old A64 tool work for you?
<apritzel> warpme: and to make this clear: by sending patches to the list, I am particularly looking for this kind of feedback ;-)
<warpme> no i don't even try. my argument is following: not having fully working solution (i mean no tool for header extraction) doesn't mean we should remove capability to have working solution in future (i mean when somebody will create such tool).
<warpme> indeed. mu bad!
<warpme> mu->my
aggi has quit [Remote host closed the connection]
aggi has joined #linux-sunxi
<apritzel> warpme: my point is that I haven't heard of anyone using this header.
<apritzel> One trick I use for early bringup is to load just boot0.bin from SD card, which then goes into FEL mode, if it doesn't find a payload
<apritzel> At least that works with some boot0 binaries. Another trick is to load boot0 via FEL, after having patched the binary to return to FEL before it accesses the SD card
<apritzel> of course the proper solution is to get jernej interested so that he provides the magic DRAM bits for the SPL ;-)
<warpme> apritzel junari : i tested atf patches on my 2 h313 boxes. all 4 cpus re nicely booting. I will test rest of 4 different h616 boxes i have - but i'm pretty sure all will be ok. GREAT WORK!
tnovotny has quit [Ping timeout: 480 seconds]
<jernej> apritzel: yeah, I'll get to it soon. I planned to do it last week, but it fell through
<apritzel> jernej: oh sorry, I didn't mean to pressure you on those patches! It was just a general statement: instead of hacking around with their awful boot0 for new SoCs, we should rather pursue proper DRAM support
<jernej> ah, that's true
<warpme> jernej : fyi: you may look on https://github.com/iuncuim/u-boot/commits/h616-dram-lpddr3 also for lpddr4 support....
<warpme> for my lpddr3 this repo works nicelly
<jernej> yeah, let me first update my patches with TPR2
<warpme> :-)
junari_ has joined #linux-sunxi
junari has quit [Ping timeout: 480 seconds]
vagrantc has joined #linux-sunxi
warpme has quit []
<jernej> smaeul: have you ever try to enable rtc CLK_OSC32K_FANOUT clock on H616?
warpme has joined #linux-sunxi
<jernej> for some reason, it seems that referencing CLK_OSC32K_FANOUT in DT actually enables rtc-32k
warpme has quit []
warpme has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
warpme has quit []
bauen1_ has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has quit []
apritzel_ has left #linux-sunxi [#linux-sunxi]
apritzel_ has joined #linux-sunxi
bauen1 has joined #linux-sunxi
junari__ has joined #linux-sunxi
junari_ has quit [Ping timeout: 480 seconds]
apritzel_ has left #linux-sunxi [#linux-sunxi]
apritzel_ has joined #linux-sunxi
apritzel_ has left #linux-sunxi [#linux-sunxi]
apritzel_ has joined #linux-sunxi
apritzel_ has left #linux-sunxi [#linux-sunxi]
apritzel has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
warpme has joined #linux-sunxi
warpme has quit []
apritzel has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
ftg has quit [Read error: Connection reset by peer]
junari_ has joined #linux-sunxi