Hi All,

I've tried several times on both F1C100s and F1C200s, maybe I'm doing something wrong but it doesn't work :-/

I burn sd-card with:
# sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/sdb bs=1k seek=8

I've triple-checked that the file has been written there by dumping the sd-card and I see it's written at 0x2000, so 8K offset, like the mangoPI image for example. But no uart output.

Am I doing something wrong?

Best regards
--
Giulio Benetti
Benetti Engineering sas

On 31/01/22 11:47, Giulio Benetti wrote:
Hi Andre and Jesse,

I test it today on both F1C100s and F1C200s!
Lichee Pi Nano and the Jesse’s board with F1C200s.

Best regards
—-
Giulio Benetti
Benetti Engineering sas

Il giorno 31 gen 2022, alle ore 03:12, Jesse Taube <mr.bossman...@gmail.com> ha 
scritto:



On 1/30/22 21:04, Andre Przywara wrote:
Hi,
thanks to the tireless work of Jesse, I think the basic Allwinner
F1C100s support for mainline U-Boot is now ready to be merged. Since I
don't have the hardware, can any of you who have boards please give it a
try on their hardware? I would really love to see some confirmations
before I merge it.

I really have to thank you for reviewing!

I put a branch here:
https://source.denx.de/u-boot/custodians/u-boot-sunxi/-/tree/f1c100s
This should probably work on any F1C100s board, using the LicheePi Nano
defconfig. Also curious about the F1C200s (looking at you, George ;-)

I have tested on both. Giulio has them aswell now.

This is very basic support at this point, there is no USB or SPI
support, and even the SD card is not usable from U-Boot proper.

Sd card will work if we add it to the dts.

I am hopeful we can add MMC and SPI support still in this cycle, but I don't
want to hold back this series any longer, and it should be relatively
simple support patches.

I have patches for both spi-boot and U-Boot proper spi suport.
I did manage to get it to find the boot device with:
`u32 brom_call = *(u32*)(fel_stash.sp-4);` in mach-sunxi/board.c with the 
suggestion that Stephen said. Should I submit after it gets into master or is 
tomorrow fine.

Many thanks,
    Jesse Taube
What should work though is booting via FEL and from SD card (the SPL
MMC code is in place, if I am not mistaken). Just booting it to a U-Boot
prompt via both methods would be a great test already. Maybe you can
even upload a kernel and initrd via FEL and boot it from there, using
$fdtcontroladdr for the DT address, for instance.
Any replies would be highly appreciated!
Many thanks,
Andre


Reply via email to