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 - official channel moved from Freenode - publicly logged on https://libera.irclog.whitequark.org/linux-amlogic
djrscally has quit [Ping timeout: 245 seconds]
Daanct12 has joined #linux-amlogic
kenny has quit [Quit: WeeChat 4.1.2]
vagrantc has quit [Quit: leaving]
chewitt has joined #linux-amlogic
hexdump0815 has quit [Ping timeout: 256 seconds]
hexdump0815 has joined #linux-amlogic
kenny has joined #linux-amlogic
buzzmarshall has quit [Quit: Konversation terminated!]
hexdump0815 has quit [Ping timeout: 245 seconds]
hexdump0815 has joined #linux-amlogic
camus has quit [Ping timeout: 256 seconds]
camus has joined #linux-amlogic
djrscally has joined #linux-amlogic
camus1 has joined #linux-amlogic
camus has quit [Remote host closed the connection]
camus1 is now known as camus
tsegers has quit [Remote host closed the connection]
tsegers has joined #linux-amlogic
camus has quit [Ping timeout: 276 seconds]
camus1 has joined #linux-amlogic
camus1 is now known as camus
ldevulder_ has joined #linux-amlogic
tsegers has quit [Read error: Connection reset by peer]
tsegers_ has joined #linux-amlogic
tsegers_ is now known as tsegers
camus1 has joined #linux-amlogic
kenny has quit [Ping timeout: 245 seconds]
yang has quit [Ping timeout: 245 seconds]
ldevulder has quit [Ping timeout: 245 seconds]
kenny has joined #linux-amlogic
yang has joined #linux-amlogic
camus has quit [Ping timeout: 245 seconds]
camus1 is now known as camus
<exkc> f_ hi
<f_> hi, gotta go now
<f_> Maybe later
<exkc> how to compile your uboot sdl
chewitt has quit [Quit: Zzz..]
<exkc> rip my gt1
<exkc> '*** Warning - spi_flash_probe_bus_cs() failed, using default environment' on uboot
<exkc> *error on uboot
Daanct12 has quit [Quit: WeeChat 4.1.2]
buzzmarshall has joined #linux-amlogic
psydroid has joined #linux-amlogic
<exkc> it seem amlogic didnt make clk fox mx
<exkc> *clk driver
ldevulder_ is now known as ldevulder
JohnnyonFlame has joined #linux-amlogic
Kwiboo has quit [Read error: Connection reset by peer]
Kwiboo has joined #linux-amlogic
JohnnyonFlame has quit [Ping timeout: 260 seconds]
JohnnyonFlame has joined #linux-amlogic
<xdarklight> exkc: well, it's not that Amlogic worked on many upstream clock drivers. they only started recently for their latest SoCs
GNUtoo has quit [Ping timeout: 240 seconds]
psydroid has quit [Remote host closed the connection]
psydroid has joined #linux-amlogic
GNUtoo has joined #linux-amlogic
psydroid2 has joined #linux-amlogic
<exkc> yeah
<exkc> but they should have one for their kernel , right
<exkc> i only can found meson8 (and newer) clk driver in their kernel
<exkc> it seem they didnt usse clk driver in the past
<f_> exkc: OK so which board would you like to test SPL (and not `sdl') on?
<exkc> my dead board
<exkc> rip
<f_> GT1?
<exkc> yep
<f_> First what's the issue?
<f_> give me logs in a pastebin
<exkc> Tried to fixed it but i made more worst rip
<f_> exkc: Give me logs..
<exkc> i dont think it is fixable
<exkc> it is in trash bin
<f_> exkc: Come on give logs..
<exkc> i dont have
<f_> ugh
<f_> exkc: Get it back, I'm sure it's fixable.
<exkc> yeah b4 i made it worst
<f_> exkc: OK? Give logs..
<exkc> i dont have
<f_> >exkc: Get it back, I'm sure it's fixable.
<f_> Did you just throw it in a recycle bin or..
<exkc> i dont keep log when i do uart
<f_> exkc: Why can't you have it back?
<exkc> it is unfixable
<f_> exkc: Please stop thinking it's unfixable.
<f_> Im sure it is.
<f_> *I'm
<exkc> i am sure it is not
<f_> exkc: Then give logs and we'll see?
<f_> but if you don't want to fix it then...
<exkc> alr
<exkc> here is the log from my memeory : GXH (it only show this line)
<f_> Doubt it.
<f_> IIRC bootrom doesn't have this string
<exkc> but i did
<f_> You did what?
<exkc> remove the emmc
<xdarklight> exkc: RE mx clock driver: indeed, in earlier kernels they skipped the whole clock abstraction completely and just put register reads/writes wherever they needed to change clocks
<f_> Why did you remove the eMMC?
<exkc> hua , xdarklight
<exkc> so how i make a clk without referencing the downstream driver
<exkc> i think i can get usb work witn mainline (maybe also hdmi ) if i can make a clk driver for it
<exkc> mx usb phy is similar to the meson one i think
<exkc> * meson8
<f_> exkc: do you still want to boot SPL on amlogic?
<exkc> i dont the right hardware now so ?
<exkc> *have
<f_> you can boot on gxbb and gxl (perhaps gxm too) and I guess with some code changes you may be able to boot on axg too.
<f_> AXG appears to be backwards compatible with GXL
<f_> (and I used AXG regs.h for registers on GXL)
<exkc> but i don have axg
<f_> and you don't have gxbb
<exkc> yep
<f_> You do have gxl?
<exkc> what about SM1
<f_> no(t yet)
<exkc> i dont have sm1 but my school might have it (ofc my school would not allow to do spl)
<exkc> *on it
<exkc> F: what about GXL
<exkc> *f_:
JohnnyonFlame has quit [Ping timeout: 268 seconds]
<f_> >you can boot on gxbb and gxl (perhaps gxm too) and I guess with some code changes you may be able to boot on axg too.
<f_> So yes gxl is good to go, just make sure you're using DDR3 and not DDR4.
<exkc> *cleaning my x96 mini
<f_> Does X96Mini use DDR4?
<exkc> d9rvm
<exkc> it use this ram
<f_> OK, is that DDR4? Or DDR3?
<exkc> idk
<f_> look it up..
<f_> Or look at boot logs
<f_> They'll say either ddr4 or ddr3
<f_> good news is, it's DDR3
<f_> bad news is, it uses a rank mode not supported currently
<exkc> bad new i need to solder the uart
<f_> Too lazy to solder UART
<exkc> my soldering broke
<exkc> so i need do resolder
<exkc> *to
<f_> I never soldered UART to my KII process
<f_> *Pro (ugh, spell checker!)
<exkc> yeah the solder join of the uart on x96 is very small
<exkc> or i should say solder point
<exkc> i have another 2 gxl board but
<exkc> the boot rom of them can only run signed bl
<f_> no go then
<exkc> yeah
<exkc> i wish they have cve like checkra1n
<exkc> i mean vulnerability
<exkc> *i wish they have cve that smailer to checkra1n
f_[xmpp] has joined #linux-amlogic
<f_> They do
<f_> You can run unsigned code via USB.
<f_> It's just that....I made SPL panic if loaded from USB :^)
<f_> .../* TODO: Support DFU */
<exkc> hua
<exkc> lol
<exkc> how?
<f_> Eventually you'll be able to load everything via DFU though.
<f_> I just need to work on that :^)
<exkc> how to run unsigned code via USB?
<xdarklight> narmstrong: I have a question regarding https://github.com/torvalds/linux/commit/44e16166e0e9b94d8bcdf55fc0e5fcceca1154f0 - based on the commit message and comment for components_dev_match my assumption is that I don't need to add entries for the HDMI TX controller (to components_dev_match) on the 32-bit SoCs. if I add the HDMI controller compatible strings there everything works, but if I don't I just end up with "Failed to find HDMI
<xdarklight> transceiver bridge"
<xdarklight> narmstrong: my HDMI TX driver is not using struct meson_drm (it's completely independent of the VPU)
<narmstrong> xdarklight: do you still use components ? You should drop components and only use the plain old probe
<xdarklight> narmstrong: ah!
<xdarklight> narmstrong: thanks for the hint, I'll try that
<narmstrong> Then it should work fine, the master drm bind will probe defer until the bridge probes
<xdarklight> narmstrong: it's as simple as deleting 19 lines of code and it works (again), thanks :-)
ldevulder has quit [Ping timeout: 256 seconds]
<narmstrong> Nice!
<xdarklight> after debugging a nasty PWM (regulator) issue which lead to VDDEE being changed to the lowest possible voltage - which then results in memory corruption everywhere as something on the memory bus goes crazy - this is a very welcome simple fix :)
ldevulder has joined #linux-amlogic
buzzmarshall has quit [Quit: Konversation terminated!]
buzzmarshall has joined #linux-amlogic
JohnnyonFlame has joined #linux-amlogic
psydroid2 has quit [Remote host closed the connection]
psydroid has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
JohnnyonFlame has quit [Read error: Connection reset by peer]
gabes2 has quit [Quit: Ping timeout (120 seconds)]
Terry13732293409 has quit [Quit: Ping timeout (120 seconds)]
gabes2 has joined #linux-amlogic
Terry13732293409 has joined #linux-amlogic