<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.