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
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #linux-sunxi
jernej has quit []
jernej has joined #linux-sunxi
jernej has quit []
smaeul has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
jernej has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 480 seconds]
hexdump0815 has joined #linux-sunxi
hexdump01 has quit [Ping timeout: 480 seconds]
hlauer has joined #linux-sunxi
hlauer has quit [Ping timeout: 480 seconds]
sunshavi_ has joined #linux-sunxi
sunshavi has quit [Ping timeout: 480 seconds]
sunshavi_ has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
hlauer has joined #linux-sunxi
pg12_ has joined #linux-sunxi
pg12 has quit [Ping timeout: 480 seconds]
pg12_ has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
hlauer has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
choozy has joined #linux-sunxi
choozy has quit [Remote host closed the connection]
Mangy_Dog has joined #linux-sunxi
choozy has joined #linux-sunxi
Daanct12 has joined #linux-sunxi
choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Danct12 has quit [Ping timeout: 480 seconds]
choozy has joined #linux-sunxi
hexdump0815 has quit [Quit: WeeChat 1.9.1]
choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
pg12 has joined #linux-sunxi
pg12 has quit [Remote host closed the connection]
apritzel has joined #linux-sunxi
pg12 has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
cmeerw has joined #linux-sunxi
Daanct12 has quit [Quit: Quitting]
Danct12 has joined #linux-sunxi
warpme_ has joined #linux-sunxi
hlauer has joined #linux-sunxi
apritzel has joined #linux-sunxi
Luke-Jr has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
Luke-Jr has joined #linux-sunxi
cmeerw has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
<milek7> what device drivers are required for usb on H6?
<milek7> I'm trying to make small config but as usual disabled too much...
<apritzel> milek7: I guess you have the EHCI/OHCI driver, but are missing the PHY driver: CONFIG_PHY_SUN4I_USB, plus CONFIG_PHY_SUN50I_USB3 for USB 3.0
Daanct12 has joined #linux-sunxi
hlauer has quit [Ping timeout: 480 seconds]
<milek7> that would be too easy, they are enabled :)
<milek7> that's weird, plugging usb drive into 2.0 port works
<milek7> but keyboard/mice does completely nothing
<milek7> and it somehow wedges it, and usb drive no longer works again...
<apritzel> then you are missing OHCI
<apritzel> keyboard/mice are typically USB 1.x only, and need the OHCI block to work
Danct12 has quit [Ping timeout: 480 seconds]
<apritzel> CONFIG_USB_OHCI_HCD_PLATFORM?
<milek7> thanks!
warpme_ has quit [Quit: Connection closed for inactivity]
<milek7> usb3 needs something more than USB_DWC3_OF_SIMPLE?
<apritzel> milek7: do you have the above mentioned PHY and CONFIG_USB_XHCI_HCD?
<apritzel> possibly CONFIG_USB_XHCI_PLATFORM?
<apritzel> I believe we don't really use USB_DWC3_OF_SIMPLE yet, although there are patches to change that, IIUC
<milek7> yes, phy and xhci is enabled
<milek7> "/soc/usb@5200000: Failed to get clk index: 2 ret: -517"
<apritzel> that's EPROBE, so shouldn't be fatal
<apritzel> EPROBE_DEFER, I mean
<apritzel> unless it is still listed in /sys/kernel/debug/devices_deferred
<apritzel> clk index 2 is the RTC, so you need CONFIG_RTC_DRV_SUN6I (should that be the reason)
<apritzel> milek7: and you are hopefully learning a lesson to not mess with .config, distros and defconfig spend a lot of time in getting this right
<milek7> it works now
<milek7> defconfig is heavy though (30MB)
<apritzel> you should be fine with basing on defconfig, and disabling PCI and the other platforms
<apritzel> (though I am not sure why 30MB is a real problem)
<milek7> boot time
<apritzel> and gzip'ing it brings that down quite significantly
<apritzel> this U-Boot patch doubles the H6 MMC read performance, btw: https://lists.denx.de/pipermail/u-boot/2021-May/450670.html