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 [Ping timeout: 480 seconds]
ftg has quit [Read error: Connection reset by peer]
apritzel has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 480 seconds]
cnxsoft1 has quit [Ping timeout: 480 seconds]
cnxsoft has joined #linux-sunxi
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
warpme is now known as Guest15160
Guest15160 has quit [Read error: Connection reset by peer]
warpme has joined #linux-sunxi
warpme has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
warpme has joined #linux-sunxi
warpme has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Kirby64 has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
bauen1_ has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
bauen1 has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
warpme has joined #linux-sunxi
Schimsalabim has joined #linux-sunxi
aperezdc has quit [Remote host closed the connection]
aperezdc has joined #linux-sunxi
warpme has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
warpme has joined #linux-sunxi
warpme is now known as Guest15174
warpme has joined #linux-sunxi
Guest15174 has quit [Ping timeout: 480 seconds]
radxanaoki has quit [Quit: radxanaoki]
radxanaoki has joined #linux-sunxi
radxanaoki has quit []
aperezdc has quit [Remote host closed the connection]
bauen1 has quit [Ping timeout: 480 seconds]
aperezdc has joined #linux-sunxi
aperezdc has quit [Remote host closed the connection]
aperezdc has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
bauen1 has joined #linux-sunxi
warpme is now known as Guest15178
warpme_ has joined #linux-sunxi
warpme_ is now known as warpme
apritzel has joined #linux-sunxi
Guest15178 has quit [Read error: Connection reset by peer]
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
bauen1_ has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
warpme has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
warpme has joined #linux-sunxi
bauen1_ has quit [Ping timeout: 480 seconds]
warpme has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
ing_warn has joined #linux-sunxi
ing_warn has quit [Remote host closed the connection]
Kirby64 has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 480 seconds]
hramrach has quit [Ping timeout: 480 seconds]
hramrach has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
Kirby64 has quit [Ping timeout: 480 seconds]
gnarface has quit [Quit: Leaving]
JohnDoe_71Rus has joined #linux-sunxi
gnarface has joined #linux-sunxi
apritzel has joined #linux-sunxi
warpme has joined #linux-sunxi
dsimic is now known as Guest15196
dsimic has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Guest15196 has quit [Ping timeout: 480 seconds]
apritzel has quit [Remote host closed the connection]
apritzel has joined #linux-sunxi
Schimsalabim has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 480 seconds]
freemangordon1 has quit []
freemangordon has joined #linux-sunxi
warpme has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
warpme has joined #linux-sunxi
hentai has joined #linux-sunxi
warpme has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
apritzel has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
warpme has quit []
ftg has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
vagrantc has joined #linux-sunxi
<spawacz> Is there anyone running a board with D1 SoC? If so, does kernel 6.13 or newer boot? (Doesn't for me)
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/]
<montjoie> spawacz: my nezha D1 works on 6.14
apritzel has joined #linux-sunxi
warpme has joined #linux-sunxi
warpme is now known as Guest15217
Guest15217 has quit [Read error: Connection reset by peer]
warpme has joined #linux-sunxi
<spawacz> I'm using Debian's stock kernel, the only configs that have been enabled between 6.13-rc7 and 6.13.8 (there are no more intermediate prebuilt ones) are CONFIG_THEAD_TH1520_MBOX, CONFIG_DWMAC_THEAD, CONFIG_THEAD_C900_ACLINT_SSWI. May that be teh cause?
<spawacz> I think I'll build kernel on my own to check it
hazardchem has quit [Read error: Connection reset by peer]
hazardchem has joined #linux-sunxi
warpme has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<apritzel> spawacz: what is the effect of "does not boot"? No output at all, or hangs somewhere in the middle, or crashes?
<spawacz> hard reboot few seconds after kernel starts. I see sometimes none, sometiems 50 dmesg messages
<spawacz> That's a log from 3 consecutive runs where i switch between 3 kernels. https://0x0.st/s/IlZbSBGjFcUiSqTiFlTC8Q/8JKf.0
hentai has quit [Read error: Connection reset by peer]
<apritzel> spawacz: could that be a watchdog issue? I remember we had to disable it in U-Boot, since the max period is 16 seconds, which is too short to reach the Linux driver, typically, and the UEFI spec says it must be longer anyway
<spawacz> that sounds like black magic, what should I try?
<apritzel> spawacz: so this is the commit in mainline U-Boot: https://source.denx.de/u-boot/u-boot/-/commit/86798ee0c1
<apritzel> that's from 2021, so predates your U-Boot version, but I see "WDT: Started watchdog@6011000 with servicing every 1000ms (16s timeout)" in your log
<apritzel> it might be due to the confusion of ARCH_SUNXI being ARM specific, IIRC smaeul_ defined a different symbol to use for RISC-V? Which means this patch wouldn't work
<spawacz> what does it mean "to reach Linux driver"? I'm not a hardware guy
<spawacz> at what point is it reached?
<apritzel> U-Boot programs the watchdog, to reset the system in 16 seconds, unless reset (periodically) by some code. While you are in U-Boot, this should be taken care of, but when you boot the kernel, the kernel must take over this chore
<spawacz> hmm but if I wait in grub for long time, it does not reboot
<apritzel> which means you a) need the watchdog driver in the kernel, and b) it must load and activate before those 16 seconds elapse
<apritzel> grub runs as an UEFI boot service, so U-Boot would still be in charge
<apritzel> I guess you compiled U-Boot yourself? Then just disable CONFIG_WATCHDOG_AUTOSTART manually in your config, for instance, or put that in your _defconfig file
<spawacz> I'll try. Btw it takes 30 seconds +- from the moment i select the kernel in grub until first dmesg message pops up
<apritzel> "select the kernel in grub" means selecting a menu entry? That would then first trigger the load, I guess, which is extra slow due to a bug in the MMC clock code we recently fixed:
<apritzel> and https://source.denx.de/u-boot/u-boot/-/commit/720023c85f0c5, but I don't know if that applies to the RISC-V SPL clock code, which is different from ARM, AFAIK
<spawacz> yeah but both good and bad kernel takes 30 seconds to load since i select the menu entry
vagrantc has quit [Ping timeout: 480 seconds]
ftg has quit [Read error: Connection reset by peer]
Hypfer has quit [Ping timeout: 480 seconds]
Hypfer has joined #linux-sunxi
radxanaoki has joined #linux-sunxi