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
Stricted has quit [Server closed connection]
Stricted has joined #linux-amlogic
rawoul has quit [Server closed connection]
rawoul has joined #linux-amlogic
luka177 has quit [Ping timeout: 248 seconds]
luka177 has joined #linux-amlogic
rockosov has quit [Ping timeout: 244 seconds]
luka177 has quit [Ping timeout: 252 seconds]
dlan has quit [Server closed connection]
dlan has joined #linux-amlogic
tsegers has quit [Server closed connection]
tsegers has joined #linux-amlogic
naoki has joined #linux-amlogic
naoki has quit [Client Quit]
luka177 has joined #linux-amlogic
kbingham has quit [Server closed connection]
kbingham has joined #linux-amlogic
luka177 has quit [Ping timeout: 252 seconds]
luka177 has joined #linux-amlogic
lvrp16 has quit [Server closed connection]
lvrp16 has joined #linux-amlogic
luka177 has quit [Ping timeout: 252 seconds]
kilobyte_ch has quit [Server closed connection]
kilobyte_ch has joined #linux-amlogic
djrscally has joined #linux-amlogic
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 252 seconds]
luka177 has joined #linux-amlogic
naoki has joined #linux-amlogic
naoki has quit [Client Quit]
tdebrouw has joined #linux-amlogic
mturquette has quit [Server closed connection]
mturquette has joined #linux-amlogic
luka177 has quit [Ping timeout: 252 seconds]
luka177 has joined #linux-amlogic
ldevulder has joined #linux-amlogic
<jbrunet> rockosov: tags are not applied if there are sent after the patches are applied.
mripard has joined #linux-amlogic
fiii has quit [Quit: Ping timeout (120 seconds)]
fiii has joined #linux-amlogic
Terry13732293409 has quit [Quit: Bye Bye]
naoki has joined #linux-amlogic
naoki has quit [Client Quit]
Terry13732293409 has joined #linux-amlogic
rockosov has joined #linux-amlogic
psydroid2 has joined #linux-amlogic
<minute> i enabled MMC tracing today in uboot, it looks like the first commands are fine but it falls apart at CMD 6 https://gist.github.com/mntmn/56eb9981bab7a0336fd1de9b3b99350d
<minute> i figured that i can move /boot to NVMe instead (with g12b) and it works, but it's very slow! > 33499648 bytes read in 37113 ms (880.9 KiB/s)
<minute> takes over a minute to load kernel and initramfs from nvme
BlueMatt has quit [Server closed connection]
BlueMatt has joined #linux-amlogic
<minute> ah, this disk also has a similarly slow read rate in linux :D
<xdarklight> f_: didn't you also have some trouble with CMD6 during your u-boot SPL journey?
<f_> I think so, but it was on gxbb/gxl, not g12b
<f_> Need to properly debug and fix this still.. but I do not have my gxbb/gxl boards with me at the moment.
<xdarklight> minute: ^ so it may indeed be related to the meson_gx_mmc driver in u-boot
<minute> aha!
<f_> I was a bit confused about why it happened, TBH, BL2 + proper U-Boot loading stuff from eMMC on gxl seemed to work fine
<f_> didn't test gxbb though.
<f_> So maybe U-Boot is doing very weird stuff with eMMC?
<f_> BTW, on gxbb and gxl, BL2 does no eMMC init whatsoever
<f_> Just straight up goes loading stuff
<f_> it's possible that the bootROM did enough of the init for BL2
<minute> f_: aha, this goes kinda in the direction i'm suspecting. i wonder if i could hack it up so that uboot doesn't touch the emmc configuration at all...
<minute> but now i can boot from nvme partition (and the speed is very good too, it was a hardware problem here, had an old adapter with pcie reset not wired up)
naoki has joined #linux-amlogic
<f_> Probably could work, strip down u-boot's eMMC init
naoki has quit [Client Quit]
paulk-bis has quit [Quit: WeeChat 3.0]
paulk has joined #linux-amlogic
paulk has joined #linux-amlogic
luka177 has quit [Read error: Connection reset by peer]
<narmstrong> minute: which mode are you trying to setup on the eMMC ?
<narmstrong> hs200 ?
luka177 has joined #linux-amlogic
<minute> narmstrong: no, just any mode basically
<minute> narmstrong: hs200 doesn't seem to be supported in the uboot driver
<narmstrong> yes hs200 is not supported, only basic modes
<minute> when it fails CMD 6 it tries all the modes and they most of the time all fail and it gives up
<narmstrong> the mmc controller is not very well designed...
<minute> sometimes it can be coerced into working by manually typing "mmc dev 1" a few times
<minute> ah :D
jkl has quit [Server closed connection]
jkl has joined #linux-amlogic
luka177 has quit [Ping timeout: 252 seconds]
f_[xmpp] has quit [Server closed connection]
f_[xmpp] has joined #linux-amlogic
<f_[xmpp]> I can see that
<f_[xmpp]> Amlogic my beloved
<f_[xmpp]> But really, some manufacturers also cut off some corners
gabes22 has quit [Server closed connection]
gabes22 has joined #linux-amlogic
JerryXiao has quit [Server closed connection]
JerryXiao has joined #linux-amlogic
gis has quit [Server closed connection]
gis has joined #linux-amlogic
repk has quit [Server closed connection]
repk has joined #linux-amlogic
<minute> trying systemctl suspend on g12b for giggles... > bl30 get wakeup sources!
<minute> hangs after > Big core clk resume rate 50000000
<narmstrong> it should work, at some point it worked...
<minute> that sounds promising
<narmstrong> I recall the cpu core rate from resume is weird and it caused some issues
<minute> yeah sounds like 50mhz
<minute> > Little core clk resume rate 1000000000
<minute> like, little core 1ghz, big core 50mhz? :D
<minute> not sure what would be a good wakeup source
<narmstrong> yeah it's expected, we "park" the cores on a slow clock, but the amlogic resume clock f***s the clock state instead of leaving is the same as suspend, so we should re-apply the cpu clock state when resuming
<narmstrong> I think suspend worked on g12a and sm1, but for a reason they did it differently on g12b
<narmstrong> mainly because on g12a & sm1 there's only a single cluster
<minute> that looks complicated :D
dliviu has quit [Server closed connection]
dliviu has joined #linux-amlogic
psydroid has quit [Server closed connection]
psydroid has joined #linux-amlogic
<f_> gxbb and gxl have quite broken suspend at the firmware level
<f_> If you turn on the board and then immediately turn it off it will reboot, not stay off
<f_> Apparently Amlogic updated their gxl BL's to fix it for librecomputer.
<f_> anyway on my gxbb board at least, if I leave it on for a while it can turn off
<f_> That just to say, suspend/turning off being broken isn't exactly new, gotta keep breaking it everytime :D
vagrantc has joined #linux-amlogic
psydroid2 has quit [Read error: Connection reset by peer]
naoki has joined #linux-amlogic
naoki has quit [Client Quit]
vagrantc has quit [Quit: leaving]
ldevulder has quit [Quit: Leaving]
vagrantc has joined #linux-amlogic
jacobk has joined #linux-amlogic
tdebrouw has quit [Quit: Leaving.]
naoki has joined #linux-amlogic
vagrantc has quit [Ping timeout: 260 seconds]
hexdump0815 has joined #linux-amlogic
djrscally has quit [Ping timeout: 255 seconds]
vagrantc has joined #linux-amlogic
jacobk has quit [Ping timeout: 260 seconds]
vagrantc_ has joined #linux-amlogic
vagrantc has quit [Ping timeout: 248 seconds]
vagrantc_ is now known as vagrantc
vagrantc has quit [Quit: leaving]