Darkmatter66 has quit [Read error: Connection reset by peer]
Darkmatter66 has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
vicencb has quit [Quit: Leaving.]
_whitelogger has joined #linux-amlogic
Lyude has quit [Ping timeout: 260 seconds]
Lyude has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
buzzmarshall has quit [Remote host closed the connection]
_whitelogger has joined #linux-amlogic
brads has quit [Ping timeout: 246 seconds]
brads has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
kaspter has joined #linux-amlogic
cmeerw has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
zkrx has quit [Quit: I'm done]
zkrx has joined #linux-amlogic
cmeerw has quit [Ping timeout: 272 seconds]
cmeerw has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 260 seconds]
Darkmatter66 has joined #linux-amlogic
lucastanure has joined #linux-amlogic
<lucastanure>
Hi, is git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git the best kernel to use with vim3, or there is another tree to be used?
<lucastanure>
also, which configuration should be used?
<lucastanure>
for vim3 board
PurpleCow4u has joined #linux-amlogic
sputnik__ has quit [Remote host closed the connection]
<chewitt>
but this is a bit minimal compared to a desktop oriented config, e.g. Armbian
sputnik_ has joined #linux-amlogic
The_Coolest has quit [*.net *.split]
sputnik_ has quit [Ping timeout: 272 seconds]
The_Coolest has joined #linux-amlogic
bas25 has quit [Quit: Connection closed for inactivity]
Darkmatter66 has quit [Ping timeout: 240 seconds]
Darkmatter66 has joined #linux-amlogic
buzzmarshall has joined #linux-amlogic
hexdump0815 has joined #linux-amlogic
<hexdump0815>
just in case anyone is interested i managed to get a mainline u-boot working on a s905x3 tv box (x96 air 2/16) with directly booting u-boot
<hexdump0815>
i.e. no chainloading but replacing the legacy one instead
<hexdump0815>
i guess there really needs to be some sm1 specific code written to support this soc in mainline atf - with the original atf it works
<hexdump0815>
i used the meson64-tools from angermann: to assemble the pieces and had to dd edit out the proper ddr timings from mmcblkboot1 (from which most tv boxes seem to read it) to put it into an an acs.bin
ldevulder has quit [Ping timeout: 265 seconds]
<hexdump0815>
btw. regarding my mainline atf try: it also complains about "NO BL2z!" - does anyone know what BL2z is? - seems to no be part of bl2 as for that i used an original sm1 blob (odroid c4)
<lucastanure>
<chewitt> I just want to build the default kernel and start lokking around to help vim3 mainline
<lucastanure>
as narmstrong said, I will just use arm64 defconfig from mainline
<lucastanure>
to change the kernel uboot points to dtb.img, but just say which kernel image is using
<lucastanure>
but at /boot there only one
<lucastanure>
zImage
<lucastanure>
so, I will replace that
<lucastanure>
the target Image works, but not the Zimage one for vim3
hexdump0815 has quit [Quit: Ping timeout (120 seconds)]
kaspter has quit [Quit: kaspter]
sputnik_ has joined #linux-amlogic
warpme_ has quit [Quit: Connection closed for inactivity]
lucastanure has quit [Remote host closed the connection]
<hexdump0815>
narmstrong: sorry - i'm back again - i'm always following the irc logs even if i'm not online, so i usually see if there is anything for me even then
<hexdump0815>
narmstrong: good info - will give that a try then
<hexdump0815>
so i guess this box is using a signed/crypted boot chain and this would mean i guess no self built u-boot can be used on it - so it would be nice to know if signing and or encryption is required there or optional
<hexdump0815>
or it is simply that g12a simply needs some other magic number somewhere in the regular boot blocks to be properly recognized by bl1 (i.e. CHK:1F which i guess means error)
B1oHazard has joined #linux-amlogic
<B1oHazard>
narmstrong hi, do you know how to check locked or not bootloader on G12A device? can't run mainline u-boot on X96 Max Plus, chainloading from vendor u-boot works fine. thanks
<hexdump0815>
narmstrong: looks like for a55 some more changes are required, i.e. changing USE_COHERENT_MEM to HW_ASSISTED_COHERENCY
<hexdump0815>
B1oHazard: oh the x96maxplus is locked too - so you do not have any @AML in there if you do a hexdump -C /dev/youremmcdevice?
<B1oHazard>
hexdump0815 1 minute, checking
<B1oHazard>
hexdump0815 yeah, @AML in 0x210
angelsl has joined #linux-amlogic
<hexdump0815>
BioHazard: then i think its not locked
<B1oHazard>
hexdump0815 can you share your binary please?
<hexdump0815>
narmstrong: it works :) - https://pastebin.com/raw/b38KcMrm - with the diff and cmdline at the top of the pastebin ... is the "NO BL2z!" something to worry about? ... so i guess sm1 is then supported by mainline atf too - very nice!
<B1oHazard>
hexdump0815 chainloading mainline u-boot with odroidc4 defconfig works well for me, but after I add fip packages, erasing emmc and burn it to sdcard, box didn't start
<hexdump0815>
B1oHazard: yes i ran into that too - tv boxes seem to read the ddr timings from mmcblkXboot0 - i guess they use worse memory then what the timing in the blob acs.bin assumes - i dd edited out the acs.bin part from boot0 and replaced the acs.bin blob with that and then it worked
<B1oHazard>
hexdump0815 erasing emmc and writing u-boot to sdcard will work ok?
<B1oHazard>
hexdump0815 and where i can find fip? from odroid c4 will ok?
<hexdump0815>
narmstrong: do you maybe also have a similarly simple solution for gxm mainline atf as well to fix this one: https://github.com/repk/gxlimg/issues/8 ?
<B1oHazard>
hexdump0815 can you give any info about that hdmi dongle?
<narmstrong>
hexdump0815: it would need more work since it supports 2 cpu clusters
<narmstrong>
hexdump0815: so maybe the pcsi calls should be modified
<narmstrong>
I don’t think the NO BL2z is an issue
<hexdump0815>
narmstrong: let me know whenever you have an idea for gxm to test
<hexdump0815>
narmstrong: np - i guess you already do more than enough for open sourcing amlogic stuff :)
<B1oHazard>
hexdump0815 can you share acs.bin that you used? seems your u-boot works well, but with broken hdmi. want to rebuild on odroid-c4 defconfig
zkrx has quit [Read error: Connection reset by peer]
<hexdump0815>
BioHazard: btw. in case you have reliable hdmi output and usb kbd input working on your sm1 u-boot i would be interested in your u-boot config and if needed patches ...