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
JohnnyonFlame has quit [Read error: Connection reset by peer]
JohnnyonFlame has joined #linux-amlogic
Daanct12 has joined #linux-amlogic
jacobk has quit [Ping timeout: 240 seconds]
jacobk has joined #linux-amlogic
vagrantc has joined #linux-amlogic
jacobk has quit [Ping timeout: 260 seconds]
jacobk has joined #linux-amlogic
jacobk has quit [Ping timeout: 260 seconds]
JohnnyonFlame has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
vagrantc has quit [Quit: leaving]
hexdump0815 has quit [Ping timeout: 276 seconds]
hexdump0815 has joined #linux-amlogic
buzzmarshall has quit [Quit: Konversation terminated!]
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #linux-amlogic
jacobk has joined #linux-amlogic
jacobk has quit [Ping timeout: 268 seconds]
<exkc> oh It seem i can get helf of core working by copying f's uboot spl.
<exkc> *half of the core
<exkc> i mean on belink gt1
<exkc> with uboot spl
<narmstrong> nice, now find out how to enable the second cluster and you're done!
<exkc> or i will get mad bc of the broken ram/ram contrller
<exkc> one of them is broken on mine
djrscally has joined #linux-amlogic
ldevulder has joined #linux-amlogic
psydroid has joined #linux-amlogic
<f_> exkc: what?
<f_> show me logs!! :)
<f_> Also I'm not `f`, I'm `f_` lol
<f_> I want to see logs!
<f_> As for RAM it could be an SPL issue.
<f_> Just so that I can document how well it works
<f_> To be clear, I want SPL+BL30+BL31+U-Boot logs
<f_> Also did you try booting Linux on it with SPL? Try to see if it also doesn't panic/oops after a while (look closely at UART logs)
<f_> exkc I also assume you're running my upstream TF-A fork..so of course the 2nd cluster won't work AFAIK
<f_> Amlogic BL31 won't work
<f_> Have no doubt amlogic bl31.bin will freak out upon seeing how different SPL's params structure is
<f_> rockosov: BTW for flashing I plan to add DFU support in U-Boot SPL so that we can use it for flashing :)
<f_> (if you missed: U-Boot SPL boots on S905 and S905X, but my S905 box panics because of broken DRAM init (regression, I found the commit I made introducing the issue))
<lvrp16> narmstrong: in the end, it's these crappy SD cards that leak vddio to vcc. i added a hack to scp to drop vddio to 1.8v during poweroff and the voltage is low enough to reset the sd card so it doesn't hang.
<lvrp16> improves compatibility with a bunch of kingstons and that company that acquired lexar
<f_> lvrp16: Aha, amlogic SoCs now have a "low-quality" SD card detect function!
<f_> Fourtunately for SPL development I used a samsung SD card :)
<lvrp16> f_: yeah, after playing with so many SD cards, I kind of learn all their quirks. SanDisk doesn't care about IO voltage negotiation, you can straight drive that thing at 1.8V and it'll work
<lvrp16> Samsung adhere to spec pretty seriously
JohnnyonFlame has joined #linux-amlogic
<f_> hmm
<f_> >The standard was introduced in August 1999 by SanDisk, Panasonic (Matsushita) and Toshiba
<lvrp16> is there a way to hijack psci reboot? I can control suspend and power off from SCP but not reboot with the closed firmware
Daanct12 has quit [Quit: WeeChat 4.1.2]
mripard has joined #linux-amlogic
<rockosov> f_: What do you mean by DFU? Is it Amlogic custom flashing protocol?
<rockosov> f_: Because in the current moment we have finished ADNL protocol implementation (A1, C3, T7, S4, other new SoCs), and 50% finished old protocol, optimus (in the Amlogic terms)
<narmstrong> rockosov: for non-product boards, we plan to use DFU which is a standard USB prococol to fully chainload SPL, U-Boot and Linux via US
<narmstrong> rockosov: having ADNP protocol in U-boot implemented in a clean way is still a great thing!
<narmstrong> *ADNL
<rockosov> narmstrong: But DFU will not work in the case of BootROM-started flashing process
<rockosov> narmstrong: But I see, you mentioned "non-product" boards
<narmstrong> rockosov: no, the initial protocol would be the amlogic one, then SPL will switch to DFU to load scp/bl31/u-boot then u-boot would also enable SPL to load a fitImage
<narmstrong> rockosov: most board don't have a predefined storage media, so no partitions scheme
<rockosov> Ah, okay, I see
buzzmarshall has joined #linux-amlogic
<f_> rockosov: basically, we would first load SPL using the stripped down amlogic protocol, then use DFU to load scp+BL31+u-boot, then U-Boot will also enter DFU mode where you'll be able to actually flash the device.
<f_> Or....do what narmstrong does and boot Linux from USB :)
<narmstrong> yes the second part is already done and is used to daily boot u-boot over USB to pass the pytest suite
<f_> Only the first part has to be done by someone....who still has to debug some other issues...
<f_> But it'll be done for sure!
JohnnyonFlame has quit [Ping timeout: 268 seconds]
<rockosov> f_: narmstrong: usually we use fastboot with the same workflow (but w/o SPL)
<f_> IMHO u-boot SPL is still not ready for production
<rockosov> Anyway, I hope custom Amlogic protocols will be helpful as well, so we continue to do hard work :)
JohnnyonFlame has joined #linux-amlogic
djrscally has quit [Ping timeout: 268 seconds]
vagrantc has joined #linux-amlogic
<f_> I love standards :)
<exkc> i havent power on my gt1 for a while.i remeber it has memory error last time i powered it on. I was using u-boot-beelink-gt1 from pmOS.
ldevulder has quit [Quit: Leaving]
vagrantc has quit [Quit: leaving]
<f_> exkc: You just said you were able to boot with u-boot SPL?
<exkc> sry Ah i dont what was thinking i should said i should able to.
lvrp16 has quit [Ping timeout: 260 seconds]
lvrp16 has joined #linux-amlogic
psydroid has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
psydroid has joined #linux-amlogic
JohnnyonFlame has quit [Read error: Connection reset by peer]
vagrantc has joined #linux-amlogic
dlan has quit [Ping timeout: 256 seconds]
psydroid has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
jacobk has joined #linux-amlogic
dlan has joined #linux-amlogic
vagrantc has quit [Quit: leaving]