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
TheAssassin has quit [Remote host closed the connection]
memeka has quit [Quit: Connection closed for inactivity]
TheAssassin has joined #linux-amlogic
return0e_ has joined #linux-amlogic
return0e has quit [Ping timeout: 246 seconds]
chewitt has quit [Max SendQ exceeded]
chewitt has joined #linux-amlogic
return0e has joined #linux-amlogic
return0e_ has quit [Ping timeout: 272 seconds]
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 252 seconds]
memeka has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
hexdump0815 has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
<hexdump0815> some more info on the "missing memory" topic - this is from an s905x box with mainline (5.0.1 - another s905w box with the same kernel shows the same values):
<hexdump0815> Built 1 zonelists, mobility grouping on. Total pages: _220480_
<hexdump0815> Memory: 840128K/_896000K_ available (11068K kernel code, 1612K rwdata, 5304K rodata, 1408K init, 385K bss, 55872K reserved, 0K cma-reserved)
<hexdump0815> this is from android (3.14.29 kernel) running on the same s905x box:
<hexdump0815> Built 1 zonelists in Zone order, mobility grouping on. Total pages: _249203_
<hexdump0815> Memory: 550244K/_1010688K_ available (11014K kernel code, 1256K rwdata, 4192K rodata, 1343K init, 3796K bss, 460444K reserve)
<hexdump0815> and for comparision, this is from an s805 box running the same mainline kernel version (5.0.1):
<hexdump0815> Built 1 zonelists, mobility grouping on. Total pages: _259908_
<hexdump0815> Memory: 933928K/_1046528K_ available (12288K kernel code, 1642K rwdata, 4844K rodata, 2048K init, 404K bss, 47064K reserved, 65536K cma-reserved, 196608K highmem)
<hexdump0815> looks a bit like the s905x/s905w mainline kernels do not see or find all of the memory in the box - it sees/finds 100+mb less ... maybe someone else can check on other boards like gxbb or gxm?
memeka has quit [Quit: Connection closed for inactivity]
<hexdump0815> the s905x/s905w android and the s805 mainline values look way more logical to me - anyone having any idea what is going on for gxl mainline here?
hexdump0815 has quit [Ping timeout: 256 seconds]
<narmstrong> Amlogic u-boot does wild stuff with memory reservation before loading u-boot, dump the memory zones when the kernel is running, not from the boot message
warpme_ has joined #linux-amlogic
hexdump0815 has joined #linux-amlogic
<hexdump0815> do you mean from /sys/kernel/debug/memblock/memory? there the picture is the same: it goes up to 0x0000000037ffffff, which is 896000K
<chewitt> hexdump0815: random Q .. are you using any of the patch-sets from my repo in your GXL image?
<chewitt> or default mainline?
<hexdump0815> chewitt: it is plain mainline 5.0.1 - i just wrote and ugly little script to sum together /sys/kernel/debug/memblock/memory (=896000K) and /sys/kernel/debug/reserved (=40460K)
<repk> kk/10
<repk> oups sry
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-amlogic
warpme_ has quit [Client Quit]
warpme_ has joined #linux-amlogic
warpme_ has quit [Client Quit]
warpme_ has joined #linux-amlogic
warpme_ has quit [Client Quit]
<hexdump0815> so in general it looks like the memory values from the boot messages are ok - can maybe someone with mainline uboot check, if you see a larger difference between the memory seen by the kernel (barK in the boot message: Memory: fooK/barK) and the builtin memory of the system?
warpme_ has joined #linux-amlogic
warpme_ has quit [Client Quit]
<hexdump0815> maybe this is related to the legacy uboot in the box (2015.01)
return0e has quit [Read error: Connection reset by peer]
warpme_ has joined #linux-amlogic
return0e has joined #linux-amlogic
warpme_ has quit [Quit: warpme_]
sputnik_ has quit [Ping timeout: 268 seconds]
return0e has quit [Read error: Connection reset by peer]
return0e has joined #linux-amlogic
nsaenz has joined #linux-amlogic
warpme_ has joined #linux-amlogic
hexdump0815 has quit [Ping timeout: 256 seconds]
warpme_ has quit [Quit: warpme_]
marcodiego has joined #linux-amlogic
<marcodiego> chewitt, what is the status of the licence of https://github.com/LibreELEC/meson-firmware ?
<chewitt> marcodiego still not confirmed I think
<chewitt> the firmware files are extracted from GPLv2 sources (Amlogic's buildroot kernel)
<marcodiego> chewitt, any news, effort to get it opensourced? Hopes for the future? Where can I track it?
<chewitt> but AFAIK their legal people didn't clarify status yet
<marcodiego> chewitt, any reason why they don't release the source code?
<chewitt> hence the V4L2 vdec (which depends upon them) hasn't been merged upstream yet
<chewitt> the sources are public
<chewitt> but in the 3.14 kernel the firmware is embedded into code
<chewitt> in the V4L2 vdec the firmware is extracted to files
<marcodiego> hmmm
<chewitt> no idea what the hold-up is .. but .. lawyers :)
<marcodiego> it would be great to have it open-sourced. This would complete cedrus, amlogic and rockchip free codecs
<chewitt> I'm sure it will happen, but these things take time
<marcodiego> amlogic i too common on tv boxes, having it open-sourced would turn many of them into usable general purpose computers
<marcodiego> chewitt, hmmm... why are you "sure it will happen"?
<chewitt> conversations I've had with senior people at Amlogic
<marcodiego> hmmm cool
<chewitt> people stop short of making an actual commitment .. but the intent is there
<marcodiego> I'm happy to know this will happen then
<chewitt> and there are some commercial things afoot in the Amlogic ecosystem that will require it
<marcodiego> just sad by not knowing how long it will take
<marcodiego> thanks for the info!
<chewitt> I wish I had more
<marcodiego> thanks anyway. This is something I was really wanting to know. Where can I check the source code of the firmwares? How can someone compile it?
<chewitt> download sources from Amlogic's 'openlinux' server
<chewitt> look in kernel/aml-3.14/drivers/amlogic/amports/arch/ucode/
<marcodiego> thanks!
warpme_ has joined #linux-amlogic
nsaenz has quit [Remote host closed the connection]
Darkmatter66 has joined #linux-amlogic
<Darkmatter66> chewitt, I think the requirement to merge the vdec driver upstream is to simply have the firmware files easily downloadable on amlogic website with a statement that these files can be used freely by the anyone, so they don't have to open source the blobs, just state that it can be freely used
<Darkmatter66> chewitt, I read that somewhere but maybe I'm mistaken
<Darkmatter66> chewitt, I don't see how that's very difficult to do, or how does it harm their technology by simply providing closed source blobs
warpme_ has quit [Quit: warpme_]
Darkmatter66 has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
Darkmatter66 has joined #linux-amlogic
warpme_ has joined #linux-amlogic
warpme_ has quit [Quit: warpme_]
Darkmatter66_ has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 246 seconds]
Darkmatter66__ has joined #linux-amlogic
Darkmatter66_ has quit [Ping timeout: 246 seconds]
Darkmatter66__ has quit [Ping timeout: 255 seconds]
Darkmatter66 has joined #linux-amlogic
warpme_ has joined #linux-amlogic
Darkmatter66 has quit [Remote host closed the connection]
Darkmatter66 has joined #linux-amlogic
warpme_ has quit [Quit: warpme_]
sputnik__ has joined #linux-amlogic
sputnik_ has quit [Read error: Connection reset by peer]