narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - Publicly Logged on https://irclog.whitequark.org/linux-amlogic
<chewitt> ndufresne: that's interesting
<chewitt> there's some changes to the DRM code in 5.1 .. once we get to rc3 i'm planning to rebase my branch and probably switch to the new kernel model (instead of kbase)
<chewitt> extracting and combining the patch-sets for lima/panfrost is one-step too awkward under 5.0 but 5.1 reduces other patch-sets and should make it entertainable
steev has quit [Ping timeout: 268 seconds]
khilman has quit [Ping timeout: 268 seconds]
Xogium has quit [Ping timeout: 240 seconds]
steev has joined #linux-amlogic
khilman has joined #linux-amlogic
Barada has joined #linux-amlogic
Xogium has joined #linux-amlogic
vagrantc has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
brads has joined #linux-amlogic
<brads> narmstrong: have been trying your gitlab of g12b https://gitlab.com/superna9999/linux/commits/amlogic/v5.1/g12b-odroid-n2 but I fail early boot (it appears the board almost powers off)
<brads> I have tried a few things to debug but not getting too many hints on the console, the log above I have triied disabling USB subsystem, USB PHY's and adding some debug. In a another boot I disabled the rtc. Maybe this might be in the power requlator setup, I see it mentions "[ 8.830718] VDDAO_1V8: supplied by VDDAO_3V3" which appears odd
<brads> should also mention in the log above I have maxcpus=1 set
vagrantc has quit [Quit: leaving]
<narmstrong> brads: at which point does it stop booting ? Did you add earlycon to the bootargs ?
<narmstrong> brads: ignore my msg I saw you shared the boot log...
<narmstrong> brads: seems GPIOH_6 locks your board
<narmstrong> Well it works on mine :-/ but since hk doesn’t share the schematics it was a guess looking at the hk uboot and kernel src...
<narmstrong> Try disabling this regulator
<brads> Thanks I will give it a try, this bit looked interesting "meson-g12a-pinctrl ff634400.bus:pinctrl@40: request pin 22 (GPIOH_6) for periphs-banks:449"
<brads> I will see what hardkernel can tell me about it
Barada has quit [Quit: Barada]
chewitt has quit [Ping timeout: 245 seconds]
chewitt has joined #linux-amlogic
jakogut has quit [Remote host closed the connection]
jakogut has joined #linux-amlogic
Barada has joined #linux-amlogic
hexdump0815 has joined #linux-amlogic
<hexdump0815> i just tried to build and use the meson_gx_mali_450 module on 5.0.1 mainline - it compiled and initialized (dmesg /dev/mali etc.) fine, but when i try to use anything egl it gives me "ret != 0" from https://github.com/superna9999/meson_gx_mali_450/blob/DX910-SW-99002-r6p1-01rel0_meson_gx/driver/src/devicedrv/mali/linux/mali_memory.c#L292-L294
<hexdump0815> the exact same setup (mali blob, meson_gx_mali_450 sources) worked fine with a balbes 4.19.13 kernel
<hexdump0815> are any extra kernel patches required for meson_gx_mali_450 in 5.0 or in general or did anything change between 4.19 and 5.0 which broke mali support? does it work for others with 5.0?
<hexdump0815> any special kernel config options required beyond defconfig for it (maybe the balbes kernel had something extra in it)?
<hexdump0815> btw. system is a s905w box
Barada has quit [Ping timeout: 245 seconds]
ldevulder_ is now known as ldevulder
Barada has joined #linux-amlogic
<chewitt> hexdump0815 what app(s) do you need to run? .. i.e. can you dump the blob and use lima instead?
<narmstrong> I think I will mark this module deprecated for now usages and point to Lima
<chewitt> balbes150 tracks my patch sets for LE and I stopped using the blob as for Kodi use lima runs fine
<narmstrong> hexdump0815: can you try the fix in https://github.com/superna9999/meson_gx_mali_450/pull/7 ?
<narmstrong> honestly I haven't used this module for a while now...
<narmstrong> I think I made panfrost work with the DRM driver on S912
<hexdump0815> narmstrong: thanks a lot, that pull fixed the problem - not it works fine with 5.0 as well :)
<hexdump0815> i'm using it for vcvrack.com - an open source modular synthesizer, its an opengl app which works well with gl4es as opengl wrapper and mali - i guess lima is not yet ready for it, but maybe i should give it a try ...
<hexdump0815> is the interactive x11 performance better with lima than with the armsoc/mali combination?
Barada has quit [Quit: Barada]
nsaenz has quit [Read error: Connection reset by peer]
nsaenz has joined #linux-amlogic
narmstrong has quit [Ping timeout: 252 seconds]
narmstrong has joined #linux-amlogic
<narmstrong> xdarklight: I get `[ 4.851477] phy phy-d0078080.phy.3: unsupported PHY mode 5
<narmstrong> [ 4.856266] xhci-hcd: probe of xhci-hcd.0.auto failed with error -22` on 5.1-rc1
<narmstrong> dwc3 seems to use PHY_MODE_USB_HOST_SS for the USB3 phy
<narmstrong> weird
hexdump0815 has quit [Ping timeout: 256 seconds]
sputnik__ has quit [Ping timeout: 252 seconds]
ccaione_ has joined #linux-amlogic
ccaione has quit [*.net *.split]
ccaione_ is now known as ccaione
<narmstrong> xdarklight: fixed in https://patchwork.kernel.org/patch/10865277/
<narmstrong> not yet merged
<narmstrong> if people want to test panfrost or lima : https://github.com/superna9999/linux/tree/linux-5.1-le-amlogic-gx
<narmstrong> for panfrost, you only need mesa master branch https://github.com/superna9999/linux/tree/linux-5.1-le-amlogic-gx
<narmstrong> it'a _all_
<narmstrong> `meson .. . -Ddri-drivers= -Dvulkan-drivers= -Dgallium-drivers=panfrost,kmsro -Dlibunwind=false` for panfrost and `meson .. . -Ddri-drivers= -Dvulkan-drivers= -Dgallium-drivers=lima,kmsro -Dlibunwind=false`for lima, maybe both could work using the lima branch
jakogut has quit [Read error: Connection reset by peer]
jakogut has joined #linux-amlogic
Elpaulo has quit [Read error: Connection reset by peer]
Elpaulo has joined #linux-amlogic
JulienMasson has quit [Read error: Connection reset by peer]
JulienMasson has joined #linux-amlogic
JulienMasson has quit [Remote host closed the connection]
JulienMasson has joined #linux-amlogic
afaerber has joined #linux-amlogic
JulienMasson has quit [Read error: Connection reset by peer]
afaerber has quit [Remote host closed the connection]
sputnik__ has joined #linux-amlogic
jakogut has quit [Remote host closed the connection]
jakogut has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
sputnik__ has quit [Ping timeout: 255 seconds]
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 245 seconds]
sputnik__ has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 246 seconds]
jakogut has quit [Read error: Connection reset by peer]
jakogut has joined #linux-amlogic