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
buzzmarshall has quit [Remote host closed the connection]
vagrantc has quit [Quit: leaving]
paulk-leonov has quit [Ping timeout: 272 seconds]
paulk-leonov has joined #linux-amlogic
paulk-leonov has quit [Excess Flood]
paulk-leonov has joined #linux-amlogic
paulk-leonov has quit [Excess Flood]
paulk-leonov has joined #linux-amlogic
sputnik__ has quit [Read error: Connection reset by peer]
sputnik_ has joined #linux-amlogic
Darkmatter66 has joined #linux-amlogic
Darkmatter66_ has quit [Ping timeout: 260 seconds]
Darkmatter66 has quit [Ping timeout: 260 seconds]
Darkmatter66 has joined #linux-amlogic
The_Coolest has quit [Remote host closed the connection]
brads has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 246 seconds]
<brads> @narmstrong have been testing vdec on S922X with 5.7-rc3 but found I needed to increase the size of the kernel cma area to get anything substantial to decode. Increased it from size = <0x0 0x10000000>; to size = <0x0 0x80000000>;
<brads> It still fails at times to start usually with a few lines in the syslog like "alloc_contig_range: [74e00, 753ef) PFNs busy"
<brads> And sometimes stalls with heavily loaded with the same errors. Is there a better way of allocated more contiguous ram specifically for the driver / firmware?
The_Coolest has joined #linux-amlogic
<chewitt> brads: I've had it set to 768MB for a while (originally 896MB) and Neil/Maxime have the same hack in their testing trees
<narmstrong> probono: it collided with your system libfdt
<brads> chewitt: Thanks i'm not going crazy then :) I'm still having some intermittent troubles with some video streams and strangely if I run it via strace it works. 1080p video to around 40fps without dropped frames and its decoding 4k with a few atifacts although framerates are down to no more than around 10-15 fps in most cases.
<brads> But im not using drmprime which I probably should be, also maybe wayland libMali is conflicting with mpv
<brads> one of the kernel workers (events) goes a little crazy at times which causes some slowdown but I did notice this prior to vdec usage as well
<brads> narmstrong: oh very nice, will give it a try
buzzmarshall has joined #linux-amlogic
brads has quit [Remote host closed the connection]
brads has joined #linux-amlogic
<brads> narmstrong: those patches help out quite a bit with the smoothness of video. I am seeing alot of maxed out kworker/1:0+events (causing shudder) and kworker/0:3+events causing freezes.
<brads> Wondering if you have any insights to what might be causing this, occurs in all 5.x versions ive tried.
<brads> I will try to play with some cpu affinities for the irq's
paulk-leonov has quit [Excess Flood]
<probono> hi narmstrong, thanks for your response. i don't have libfdt installed but it turns out I must *not* check out the armlogic git in a subdirectory of the custodians git, then the compilation works
<probono> I am trying to build u-boot for a p281 based retail device. Looking at https://groups.io/g/u-boot-amlogic/message/181:
<probono> "If you feel confident enough, you'll need to dump the eMMC content to save the original bootloader (in the first 4MiB) and use the p281 amlogic u-boot config to generate the FIP binaries as explained in the mainline README file of P212."
<probono> but I don't seem to find instructions on how to use the dumped first 4MiB from the device
<probono> Can you give me a hint? Thanks
Darkmatter66 has quit [Ping timeout: 240 seconds]
Darkmatter66 has joined #linux-amlogic
return0e has quit [Read error: Connection reset by peer]
return0e has joined #linux-amlogic
return0e has quit [Read error: Connection reset by peer]
return0e has joined #linux-amlogic
return0e has quit [Read error: Connection reset by peer]
<chewitt> probono: do you have the fip sources for p281?
<chewitt> if yes, all GXL derived boards follow the same signing recipe
<probono> i only have the device in question, and i have dumped its first 4 MB
<probono> i don't have any sources from the manufacturer
<probono> just compiling custodian u-boot and chainloading it results in an immediate reboot of the device
<probono> chewitt, i understand that I need to extract something from the dumped first 4 MB from the device, and use that when I compile u-boot. am I wrong?
<probono> getting:
<probono> gxl_p281_v1#go ${loadaddr}
<probono> ## Starting application at 0x01080000 ...
<probono> "Synchronous Abort" handler, esr 0x02000000
<probono> (reboot)
return0e has joined #linux-amlogic
etrig has quit [Quit: upgrading plan9]
random_yanek has quit [Quit: random_yanek]
random_yanek has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 240 seconds]
Darkmatter66 has joined #linux-amlogic
hexdump0815 has joined #linux-amlogic
<hexdump0815> probono: for me the following worked well on different gxl systems
<hexdump0815> probono: fatload mmc 0 0x01000000 u-boot.bin
<hexdump0815> probono: go 0x01000000
<hexdump0815> probono: so maybe try a different address?
<probono> thanks hexdump0815. unfortunately i get the same result.
<probono> do ou have your u-boot.bin somewhere for download?
<probono> did you try it on a x96 mini by any chance?
<hexdump0815> probono: looks like this is your lucky day :) - yes and yes - https://github.com/hexdump0815/imagebuilder/blob/master/boot/boot-amlogic_gx-aarch64/u-boot.bin
<probono> cool, thanks hexdump0815
hexdump0815 has quit [Remote host closed the connection]
<probono> hexdump0815, wow, that one works for me
<probono> ...until i do "usb start", at which point the device reboots :(
vagrantc has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
ldevulder__ has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
ldevulder_ has quit [Ping timeout: 240 seconds]