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
jason123onirc has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
jason123onirc has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
cnxsoft has quit []
ftg has quit [Read error: Connection reset by peer]
smaeul_ has joined #linux-sunxi
smaeul has quit [Ping timeout: 480 seconds]
radxanaoki has joined #linux-sunxi
smaeul_ has quit []
Daanct12 has quit [Ping timeout: 480 seconds]
hexdump0815 has joined #linux-sunxi
hexdump01 has quit [Read error: Connection reset by peer]
dsimic is now known as Guest10395
dsimic has joined #linux-sunxi
Guest10395 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
montjoie_ has joined #linux-sunxi
montjoie has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Quasar 5.2.6, revision: 5.2.6+git-7609-afed1336e, build type: debug, sources date: 20160102, built on: 2024-12-18 20:43:05 UTC 5.2.6+git-7609-]
JohnDoe_71Rus has joined #linux-sunxi
Daanct12 has joined #linux-sunxi
Daanct12 has quit [Quit: WeeChat 4.5.1]
Daanct12 has joined #linux-sunxi
ity has quit [Remote host closed the connection]
ity has joined #linux-sunxi
bauen1 has joined #linux-sunxi
<jernej> apritzel: this solves emmc loading on T507 issue: https://paste.c-net.org/SmidgePlayoffs for me
<jernej> note that the only thing that really helps is threshold control register
<jernej> others are nice to have (hwrst) or making sure that regs have default values
<jernej> and it probably is really fifo only problem
<jernej> apritzel: it looks to me that it would be best to split out reset routine and just call it in SPL and DM inits
cnxsoft has joined #linux-sunxi
apritzel has joined #linux-sunxi
<jernej> everyone, please test this fix for emmc booting on H616 & co. on U-Boot: https://paste.c-net.org/StowedRewrite
smaeul has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
<loki666> I'll give it a spin tomorrow
tokyovigilante has quit [Read error: No route to host]
tokyovigilante has joined #linux-sunxi
radxanaoki has quit [Quit: radxanaoki]
Hypfer has quit [Ping timeout: 480 seconds]
Hypfer has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
ity has quit [Quit: WeeChat 4.5.1]
ity has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Daanct12 has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
cnxsoft has quit []
cnxsoft has joined #linux-sunxi
<warpme> jernej: re: https://paste.c-net.org/StowedRewrite - i added it to 2025.01 uboot and give it run on h313 tvbox. Looks very promising: https://gist.github.com/warpme/170103113df0a595b1c7f19852a1617f It looks to me like uboot tries to use wrong emmc device?
<warpme> this box booting ok with dirty hack: https://github.com/warpme/minimyth2/blob/master/script/bootloaders/u-boot-h616/files/107-sunxi_mmc-dec-f_max-to-12MHz-to-get-emmc-reliable.patch Log i provided is from build where I simply replaced this hack with your patch...
warpme has quit []
cnxsoft has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
<jernej> warpme: can you try also with https://paste.c-net.org/SmidgePlayoffs ?
<warpme> sure give me sec
<jernej> ah, I know why
<warpme> ah also - it meand both patches?
<jernej> what about combination of first patch and this one? https://github.com/jernejsk/u-boot/commit/f84e8f45378ca60c0a6e1ab740351a853fdf5e7d
<warpme> sure
<jernej> so imo threshold fix is needed, but there might be more issues, like something in clocks
<jernej> let me make ultimate conglomorate of all patches, so there is no need to mix all of them :)
<jernej> warpme: this superseedes all other: https://paste.c-net.org/PhonyImplied
<jernej> can you test it?
Schimsalabim has quit [Ping timeout: 480 seconds]
ungeskriptet has quit [Remote host closed the connection]
<warpme> hmm - last one seems not compiling: https://gist.github.com/warpme/02c86ed3f8349571bad047286dcf8e2e
<jernej> warpme: sorry, regs
Schimsalabim has joined #linux-sunxi
ungeskriptet has joined #linux-sunxi
<warpme> unfortunately still mmc_load_image_raw_sector: mmc block read error
<warpme> SPL: failed to boot from all boot devices
<warpme> ### ERROR ### Please RESET the board ###
<jernej> ok, then I'll remove clock settings which probably cause this
<jernej> hm... so other changes didn't have any effect
apritzel has joined #linux-sunxi
<jernej> I wonder why extlinux fails
<warpme> maybe i need to decrease bus speed? (i.e. because crappy box hw)?
<jernej> could be, check BSP DT about clock speeds
<warpme> i tried with safe 12MHz - still the same error
apritzel has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Ping timeout: 480 seconds]
ftg has joined #linux-sunxi
Schimsalabim has joined #linux-sunxi
<warpme> jernej : good news: i done some tests and it looks like.... our tests corrupted emmc content. I build fresh card image, flashed, booted, transfer to emmc, removed card, booted and: https://gist.github.com/warpme/18611eca5b3578a19706426fb0045d91 :-)
warpme has quit []
hazardchem has quit [Remote host closed the connection]
hazardchem has joined #linux-sunxi
<jernej> warpme: \O/
paulk-bis has joined #linux-sunxi
paulk has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
Robot_ has joined #linux-sunxi
wingrime-ww has quit [Quit: WeeChat 4.5.1]
wingrime-ww has joined #linux-sunxi
hazardchem has quit [Read error: Connection reset by peer]
hazardchem has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Quasar 5.2.6, revision: 5.2.6+git-7609-afed1336e, build type: debug, sources date: 20160102, built on: 2024-12-18 20:43:05 UTC 5.2.6+git-7609-]
vagrantc has joined #linux-sunxi
radxanaoki has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
Robot_ has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi