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
<rajkosto> yes
<rajkosto> wonder if uboot that boots the kernel matters
rajkosto has quit [Quit: Leaving]
<apritzel> unlikely
<apritzel> (unless it's not a mainline U-Boot, but then I guess a mainline kernel wouldn't boot that far)
rajkosto has joined #linux-sunxi
<rajkosto> nah
<rajkosto> what if i start adding stuff to the openwrt dts piece by piece instead of just using binary armbian one
bantu has quit [Quit: bantu]
bantu has joined #linux-sunxi
Rajko has joined #linux-sunxi
rajkosto has quit [Read error: Connection reset by peer]
Rajko has quit []
rajkosto has joined #linux-sunxi
<rajkosto> the pinctrl and rtc work with openwrt dtb
<rajkosto> vdd-cpux 1 0 0 unknown 1100mV 0mA 1000mV 1400mV
rajkosto has quit [Quit: Leaving]
rajkosto has joined #linux-sunxi
<rajkosto> ok cool i just needed to include opp into the openwrt dtb source and cpufreq now works
<rajkosto> so rtc module =y and small include
<rajkosto> thanks a lot apritzel you master of kernel
<apritzel> well, we still don't know what was the actual problem, do we?
<apritzel> can you put the Armbian DTB somewhere?
<rajkosto> armbian dtb has different interrupts and stuff for a lot of things, probably to accomodate their kernel patches
<rajkosto> openwrt one already had all the i2c and rtc stuff it was just disabled by not having that rtc kmod enabled, and then all dtb needed was adding the opp include so cpufreq would activate
rajkosto has quit [Quit: Leaving]
rajkosto has joined #linux-sunxi
<rajkosto> i think they default ship with megous though
<apritzel> yeah, sigh, tons of barely documented patches ...
<rajkosto> h5 has a couple of "thermal shutdown enablement" patches and the main one that adds the opp include into the board dts
<rajkosto> thats how i found out what i needed to do
<rajkosto> openwrt doesnt even use the interrupt controller at that address that armbian uses for rtc, its some different one
<rajkosto> openwrt on the left
<rajkosto> (decompiled dtbs on both sides)
<rajkosto> armbian also has this scpi thing https://images.sshnuke.net/2021-12-19_02-43-58_P11YSWi4P.png
<apritzel> interesting, there is the mysterious 0x8 that triggered the warning
<rajkosto> the rtc doesnt even need the interrupts cuz its only needed for pinmux not actual rtc anyway ?
<apritzel> Linux drivers need to acquire all (non-optional) DT dependencies, whether they are actually needed for operation or not
<rajkosto> no interrupt-parent on the openwrt one
<rajkosto> no 1f00c00 interrupt controller def
<apritzel> yes, because it's routed directly to the GIC on the older (OpenWRT) version:
<apritzel> the (outgoing) interrupt in the r-intc is 0x20, add the 0x8 from the first RTC interrupt to get the 0x28 from the OpenWRT version
rajkosto has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
vagrantc has quit [Quit: leaving]
rajkosto has joined #linux-sunxi
rajkosto has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
rajkosto has joined #linux-sunxi
rajkosto has quit []
rajkosto has joined #linux-sunxi
rajkosto has quit [Quit: Leaving]
rajkosto has joined #linux-sunxi
rajkosto has quit [Ping timeout: 480 seconds]
rajkosto has joined #linux-sunxi
rajkosto has quit [Read error: No route to host]
rajkosto has joined #linux-sunxi
rajkosto has quit []
sunshavi has quit [Remote host closed the connection]
sunshavi has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
rajkosto has joined #linux-sunxi
Rajko has joined #linux-sunxi
rajkosto has quit [Read error: Connection reset by peer]
Rajko has quit []
rajkosto has joined #linux-sunxi
rajkosto has quit [Quit: Leaving]
rajkosto has joined #linux-sunxi
Rajko has joined #linux-sunxi
rajkosto has quit [Read error: Connection reset by peer]
rajkosto has joined #linux-sunxi
Rajko has quit [Read error: Connection reset by peer]
rajkosto has quit [Read error: Connection reset by peer]
rajkosto has joined #linux-sunxi
rajkosto has quit [Quit: Leaving]
rajkosto has joined #linux-sunxi
rajkosto has quit []
apritzel has joined #linux-sunxi
rajkosto has joined #linux-sunxi
rajkosto has quit [Read error: Connection reset by peer]
rajkosto has joined #linux-sunxi
Rajko has joined #linux-sunxi
rajkosto has quit [Read error: Connection reset by peer]
apritzel has quit [Ping timeout: 480 seconds]
Rajko has quit []
rajkosto has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
rajkosto has quit [Quit: Leaving]
rajkosto has joined #linux-sunxi
apritzel has joined #linux-sunxi
rajkosto has quit []
rajkosto has joined #linux-sunxi
rajkosto has quit [Quit: Leaving]
macromorgan has quit [Read error: Connection reset by peer]
rajkosto has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
JohnDoe_71Rus has quit []
Mangy_Dog has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
JohnDoe2 has joined #linux-sunxi
JohnDoe_71Rus has quit [Read error: Connection reset by peer]
rajkosto has quit [Quit: Leaving]
rajkosto has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
Rajko has joined #linux-sunxi
rajkosto has quit [Ping timeout: 480 seconds]
cnxsoft has quit []
Rajko has quit [Read error: Connection reset by peer]
apritzel has quit [Ping timeout: 480 seconds]
tllim has joined #linux-sunxi
tllim has quit []
<smaeul> jernej: I don't know of any real PRCM documentation, only which code dumps have the most information (specifically: arisc, D1 SPL, and D1 Linux)
JohnDoe2 has quit []
apritzel has joined #linux-sunxi
sunshavi_ has joined #linux-sunxi
sunshavi has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
vagrantc has joined #linux-sunxi
apritzel has joined #linux-sunxi
vagrantc has quit [Read error: Connection reset by peer]
vagrantc has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 480 seconds]
rajkosto has joined #linux-sunxi