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
<apritzel> have you ever checked what it would take to set SYS_SOC to something else than sunxi?
<smaeul> it wouldn't be too hard to fix up at runtime: find r_intc's phandle, then delete all interrupt-parent properties referencing it (except where the interrupts number matches the interrupts number in r_intc)
<smaeul> the question is deciding when to apply the fixup
<smaeul> I tried changing it once, and ran into a giant mess -- that's why I did https://lore.kernel.org/u-boot/20211104035516.28268-5-samuel@sholland.org/
<smaeul> I couldn't add a "wdt-reboot" node in sunxi-u-boot.dtsi, because the watchdog node labels were different across the SoCs
<apritzel> yeah, the runtime approach has conceptional issues: when you load grub, you don't know which kernel it will be
<apritzel> was the r_intc driver change ever backported to stable kernels?
<smaeul> it doesn't look like it, and I didn't expect it to be
<apritzel> for SYS_SOC: maybe adding some extra variable for the DT override, defaulting to SYS_SOC?
<apritzel> another approach I was thinking about is to add something like a user selected overlay, to switch between "bleeding edge" and "compatible" DTs
<apritzel> smaeul: with just a super trivial fix to drivers/net/sunxi_emac.c I get past buildman
apritzel has quit [Ping timeout: 480 seconds]
vagrantc has quit [Quit: leaving]
Danct12 has joined #linux-sunxi
Danct12 has quit [Quit: Quit]
JohnDoe_71Rus has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
hlauer has joined #linux-sunxi
tnovotny has joined #linux-sunxi
ftg has quit [Read error: Connection reset by peer]
apritzel has joined #linux-sunxi
dliviu has quit [Ping timeout: 480 seconds]
dliviu has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has quit []
cnxsoft has joined #linux-sunxi
cnxsoft has quit []
mripard_ has quit []
mripard has joined #linux-sunxi
aggi has joined #linux-sunxi
vagrantc has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
anarsoul|2 has joined #linux-sunxi
anarsoul has quit [Read error: Connection reset by peer]
anarsoul|2 has quit []
anarsoul has joined #linux-sunxi
tnovotny has quit [Quit: Leaving]
apritzel has quit [Ping timeout: 480 seconds]
ftg has joined #linux-sunxi
JohnDoe_71Rus has quit []
apritzel_ has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
bauen1 has quit [Quit: leaving]
bauen1 has joined #linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]