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
peterm6881 has quit [Remote host closed the connection]
grming has quit [Quit: Konversation terminated!]
vagrantc has quit [Quit: leaving]
rajkosto has joined #linux-sunxi
buZz has quit [Ping timeout: 480 seconds]
vagrantc has joined #linux-sunxi
rajkosto has quit [Ping timeout: 480 seconds]
buZz has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
cnxsoft has joined #linux-sunxi
Luke-Jr has quit [Ping timeout: 480 seconds]
pnill has quit [Ping timeout: 480 seconds]
Luke-Jr has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
JohnDoe_71Rus has joined #linux-sunxi
junari__ has joined #linux-sunxi
junari_ has joined #linux-sunxi
junari__ has quit [Ping timeout: 480 seconds]
junari__ has joined #linux-sunxi
indy has joined #linux-sunxi
junari_ has quit [Ping timeout: 480 seconds]
pnill has joined #linux-sunxi
junari_ has joined #linux-sunxi
junari__ has quit [Ping timeout: 480 seconds]
NekoMay has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
NekoMay has joined #linux-sunxi
junari__ has joined #linux-sunxi
junari_ has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
plaes has joined #linux-sunxi
junari_ has joined #linux-sunxi
junari__ has quit [Read error: Connection reset by peer]
junari__ has joined #linux-sunxi
junari_ has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
<apritzel> junari__: can you check that CPU config VER_REG on your T507, whether this holds something in the lower 8 bits? sunxi-fel readl 0x3000024
junari__ is now known as junari
<junari> apritzel: yes, 0x00003102
<apritzel> junari: cool, thanks!
<junari> Does anyone have any ideas? With t507 does not work an SD card in the OS (emmc too). U-boot sees both cards. There are no messages about the mmc in the kernel log at all. A100 mmc controller patch applied (https://github.com/torvalds/linux/commit/3536b82e5853ec302c1803896c126725afb6d57c). DT should be ok.
junari_ has joined #linux-sunxi
junari has quit [Ping timeout: 480 seconds]
<apritzel> junari_: did you just apply that patch on an older kernel? Why not use the latest kernel? Or are you doing this already and just wanted to confirm that you have the patch?
junari_ is now known as junari
<junari> apritzel: I am building openwrt firmware, there is a fixed set of kernels with specific patches
hentai has quit [Quit: Disconnect]
<junari> FW for H616 works at the same time
<junari> I'm using a set of patches for H616
paulk-ter has quit [Ping timeout: 480 seconds]
codekipper has joined #linux-sunxi
JohnDoe_71Rus has quit []
cp- has quit [Ping timeout: 480 seconds]
macromorgan has quit [Read error: Connection reset by peer]
macromorgan has joined #linux-sunxi
macromorgan has quit [Remote host closed the connection]
macromorgan has joined #linux-sunxi
szemzoa has quit [Read error: Connection reset by peer]
szemzoa has joined #linux-sunxi
cp- has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
gsz has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
codekipper has quit [Remote host closed the connection]
<apritzel> junari: can you check /sys/kernel/debug/devices_deferred?
<apritzel> maybe it's some regulator missing?
bauen1 has joined #linux-sunxi
<junari> apritzel: thanks, yes, mmc at the devices_deferred
<junari> apritzel: Do they hang because they are waiting for the broken regulator driver?
<apritzel> if you reference regulators offered by some AXP in the MMC node (as the OPiZero2 .dts does!), then the MMC driver will wait for the AXP driver to register
<apritzel> you can just use fixed regulators for vmmc-supply (vqmmc-supply) to avoid this
<junari> apritzel: understand, many thanks
<apritzel> junari: check the sun50i-h5-nanopi-neo2.dts for an example of an AXP-less board
<junari> I was confused by messages in the kernel like "sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pi not found, using dummy regulator"
<junari> I think, that if these automatically use the dummy regulator, then others should also use it
bauen1_ has joined #linux-sunxi
<apritzel> junari: yeah, that's a separate issue, and can mostly be ignored
<apritzel> it's more of a hint that you should specify *all* input rails in the DT
<apritzel> and that is different in that the vcc-pi-supply property in the above case is completely *missing*
bauen1 has quit [Ping timeout: 480 seconds]
cnxsoft has quit []
<apritzel> whereas in your case it points to something, which hasn't appeared (yet?)
paulk-ter has joined #linux-sunxi
junari_ has joined #linux-sunxi
junari is now known as Guest1996
junari_ is now known as junari
<junari> I made a pmic driver in the u-boot with the necessary voltages. If the kernel does not touch them, then everything should work. I will replace them in the kernel DT with fregulator-fixed
Guest1996 has quit [Ping timeout: 480 seconds]
ftg has joined #linux-sunxi
junari_ has joined #linux-sunxi
<apritzel> junari: yeah, that's a reasonable approach for bringup
<apritzel> please note that you wouldn't really need a PMIC driver in U-Boot, IIRC you did just the SPL part, which IMO is not needed on your board
<apritzel> junari: smaeul sent a proper PMIC driver for U-Boot: https://lore.kernel.org/u-boot/20221128064757.2933-1-samuel@sholland.org/
junari has quit [Ping timeout: 480 seconds]
<apritzel> junari_: at least the SD card must work with the PMIC defaults, because the BootROM needs to access that, and this one doesn't know about PMICs at all
<apritzel> if your board support booting from eMMC, then it's the same requirement: the default (reset) power setup should allow accessing the eMMC device
grming has joined #linux-sunxi
K[m]1 has quit []
paulk has joined #linux-sunxi
paulk-ter has quit [Read error: Connection reset by peer]
Daanct12 is now known as Danct12
junari_ has quit [Ping timeout: 480 seconds]
Luke-Jr has quit [Ping timeout: 480 seconds]
Luke-Jr has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
vagrantc has joined #linux-sunxi
bauen1_ has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
JohnDoe_71Rus has quit []
arti_ has joined #linux-sunxi
bauen1 has joined #linux-sunxi
arti has quit [Ping timeout: 480 seconds]
grming has quit [Quit: Konversation terminated!]
warpme_____ has quit []
warpme_____ has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
grming has joined #linux-sunxi
gsz has quit [Quit: leaving]
ftg has quit [Read error: Connection reset by peer]
gamiee has quit [Read error: Connection reset by peer]
gamiee_ has joined #linux-sunxi
gamiee_ is now known as gamiee
warpme_____ has quit []