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
<brads> narmstrong: Do you have an idea when g12a support might hit mainline uboot? I'm interested in trying it for g12b to remove vendor uboot for Odroid N2
_whitelogger has joined #linux-amlogic
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 255 seconds]
chewitt has joined #linux-amlogic
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-amlogic
<narmstrong> brads: it will follow shortly Linux support
ldevulder_ is now known as ldevulder
nsaenz has quit [Read error: Connection reset by peer]
<brads> narmstrong: nice, ty. Another question which is a little offtopic, do you think it's possible to eventually be able to patch kernel with Realtime (-rt) branch for meson arm64 big/little socs? I wonder how much work scheduling between 2 domains is on the soc.
<narmstrong> brads: no idea sorry, but I don’t see why it wouldn’t be possible
nsaenz has joined #linux-amlogic
nsaenz has quit [Ping timeout: 246 seconds]
repk has joined #linux-amlogic
hexdump0815 has joined #linux-amlogic
<hexdump0815> just a stupid question regarding reserved memory: i'm using a s905x tv box with 1gb ram as headless compute node - linux sees only part of that 1gb (Memory: 825636K/896000K available) - is there a way to free some of the missing about 150mb which most probably are reserved for framebuffer, codecs, gpu or whatever?
warpme_ has joined #linux-amlogic
<hexdump0815> looking at the dts (meson-gxl-s905w-p281.dtb) i do not see anything which would account for 150mb - only cma which is seen by the linux kernel which i reduced for my use-case to 16mb and gained already about 250mb more useable memory
<hexdump0815> are those "missing" about 150mb reserved at linux kernel level somehow or below (uboot, lower level firmware)? and is there a way to release them or part of them? a lot of thanks in advance
<hexdump0815> sorry - wrong dts above - should be meson-gxl-s905x-p212.dtb
<narmstrong> Well you have the ~21mib reserved for the fip and rom, 16mib for the class and the final 113 must be used by the kernel, try removing some features in the kernel, like other SoCs support, pcie and remove modules
<narmstrong> Then you will reduce this number
<narmstrong> But still you’ll have the userspace binaries and the shared libraries loaded in memory and buffers preallocated for I/o access
<hexdump0815> thanks for the explaination - i was thinking that the kernel code and data is counted into those 896000K already -> Memory: 825636K/896000K available (11068K kernel code, 1612K rwdata, 5304K rodata, 1408K init, 385K bss, 53980K reserved, 16384K cma-reserved) and makes the difference between the 825636K and the 896000K?
The_CooIest has quit [Quit: FOLD For The Cause!!!]
hexdump0815 has quit [Ping timeout: 256 seconds]
sputnik_ has quit [Ping timeout: 268 seconds]
warpme_ has quit [Quit: warpme_]
<narmstrong> You can find memory reservation info in debugfs, the biggest figure is the 53mib reserved memory, no real idea where it comes from
nsaenz has joined #linux-amlogic
Barada has quit [Quit: Barada]
warpme_ has joined #linux-amlogic
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-amlogic
Elpaulo1 has joined #linux-amlogic
Elpaulo has quit [Ping timeout: 245 seconds]
Elpaulo1 is now known as Elpaulo
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-amlogic
nsaenz has quit [Ping timeout: 252 seconds]
memeka has quit [Quit: Connection closed for inactivity]
JulienMasson has joined #linux-amlogic
JulienMasson has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
warpme_ has quit [Quit: warpme_]
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik__ has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 244 seconds]
sputnik__ has quit [Ping timeout: 268 seconds]
sputnik_ has joined #linux-amlogic
warpme_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
warpme_ has quit [Quit: warpme_]
sputnik_ has joined #linux-amlogic
warpme_ has joined #linux-amlogic
warpme_ has quit [Quit: warpme_]
sputnik_ has quit [Read error: Connection reset by peer]
sputnik_ has joined #linux-amlogic
memeka has joined #linux-amlogic
<memeka> ndufresne: can I run a gadget driver on an odroid c2 on mainline?
<ndufresne> memeka, if OTG works, then yes, I don't have a C2
<ndufresne> and potato does not have OTG
<memeka> ndufresne: i saw on the Linux-meson page that otg doesn’t work
<ndufresne> my ideal SBC would be a relatively cheap one, that boots over 1A USB, and does OTG on the same connector
<memeka> Don I need to add some entries to dtb for otg?
<ndufresne> that I'm not the right person to tell
<memeka> Who is? :)
<ndufresne> I believe maybe narmstrong, chewitt, and other "real" dev behind this work will know
<memeka> narmstrong - any ideas? :D
<ndufresne> so far, my work here was mostly flipping bits on existing registers, pluging things together and making sure gst works (or let's say is usable)
<memeka> ndufresne: how’s your board doing? Booting?
<memeka> ndufresne: gst was not usable on my c2 last time I tried :( (4.20 kernel)
<memeka> I’ll try again on 5.0 a bit later
<ndufresne> memeka, I believe I sorted out the u-boot issue with ethernet, I simply downgraded to use q200 board setup in the end, since modifying the q201 was giving identical build in the end
<xdarklight> memeka: OTG is currently not working on any Amlogic SoC - it's "work-in-progress" for the G12A SoCs (but the USB implementation there unfortunately doesn't have much in common with GXBB which is used on Odroid-C2)
<ndufresne> memeka, but I never managed to get the kernel fully working, only tried 5.X, chewitt gave me couple of unmerged patch to include, but didn't find time yet to try
<xdarklight> memeka: if you're willing to invest some time you can get peripheral mode working (so it'll be always either in host mode or peripheral mode, no auto-detection though and manual switching requires modifying the .dtb and a reboot)
<ndufresne> memeka, basically, as soon as something touches the display controller it hangs
<memeka> Thx xdarklight
<ndufresne> and sometimes it hangs during memory init
<memeka> ndufresne: looks like multiple issues :(
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
return0e has quit [Read error: Connection reset by peer]
return0e has joined #linux-amlogic