Skip to contentSkip to conversation

Please test U-Boot Allwinner F1C100s support

DISCUSSION Andre Przywara 4 participants 11 messages Jan 31, 2022 Arm/Allwinner sunXi SoC support

lore
Share & tools
lore
#0 lore raw

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 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 ;-)

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

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

#1 lore raw
Quoted 7 lines · Andre Przywara

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!

Quoted 5 lines

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.

Quoted 3 lines

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.

Quoted 3 lines

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

Quoted 11 lines

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

#2 lore raw

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

Quoted 44 lines

Il giorno 31 gen 2022, alle ore 03:12, Jesse Taube <[email protected]> ha scritto:



Quoted 7 lines · Andre Przywara

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!

Quoted 4 lines

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.

Quoted 2 lines

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.

Quoted 3 lines

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

Quoted 8 lines

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

#3 lore raw

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

Signature · 2 lines
Giulio Benetti
Benetti Engineering sas
Quoted 55 lines · Giulio Benetti

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

Quoted 44 lines

Il giorno 31 gen 2022, alle ore 03:12, Jesse Taube <[email protected]> ha scritto:



Quoted 7 lines · Andre Przywara

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!

Quoted 4 lines

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.

Quoted 2 lines

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.

Quoted 3 lines

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

Quoted 8 lines

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

#4 lore raw
Quoted 11 lines · On Mon, 31 Jan 2022 13:17:52 +0100 Giulio Benetti…

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.

I haven't looked in detail what would be needed for the SPL part of the MMC driver to really work, I just checked that the base addresses are correct, the pinmux looked alright as well.
The DT nodes are not needed for the SPL, and I don't see other changes related to MMC in the original series?
Do you see UART output from the SPL, or nothing at all?
And you are not using UART0 on the PortF pins, so multiplexed with the MMC, I guess?

Cheers,
Andre

Quoted 4 lines

Am I doing something wrong?

Best regards

#5 lore raw

Hi Andre,

Quoted 17 lines

Il giorno 31 gen 2022, alle ore 13:57, Andre Przywara <[email protected]> ha scritto:

On Mon, 31 Jan 2022 13:17:52 +0100

Quoted 11 lines · Giulio Benetti

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.

Quoted 5 lines

I haven't looked in detail what would be needed for the SPL part of the MMC driver to really work, I just checked that the base addresses are correct, the pinmux looked alright as well.
The DT nodes are not needed for the SPL, and I don't see other changes related to MMC in the original series?

Yes that’s true.

Quoted 1 line

Do you see UART output from the SPL, or nothing at all?

Unfortunately nothing either with SPL

Quoted 2 lines

And you are not using UART0 on the PortF pins, so multiplexed with the MMC, I guess?

I use PE0 and PE1 Uart0 according to dts.

Have you got such board to test it?
Or we can wait for Jesse or George.

I’ve used the git you’ve pointed.

Anyway I think we’re very close to have it working.

At least my work “behind the scenes” will be worth, right Jesse :-)?

Best regards
—-
Giulio Benetti
Benetti Engineering sas

Quoted 11 lines

Cheers,
Andre

Quoted 4 lines

Am I doing something wrong?

Best regards

#6 lore raw

On Mon, 31 Jan 2022 14:07:54 +0100
Giulio Benetti <[email protected]> wrote:

Hi Giulio,

Quoted 23 lines
Quoted 17 lines

Il giorno 31 gen 2022, alle ore 13:57, Andre Przywara <[email protected]> ha scritto:

On Mon, 31 Jan 2022 13:17:52 +0100

Quoted 11 lines · Giulio Benetti

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.

Quoted 5 lines

I haven't looked in detail what would be needed for the SPL part of the MMC driver to really work, I just checked that the base addresses are correct, the pinmux looked alright as well.
The DT nodes are not needed for the SPL, and I don't see other changes related to MMC in the original series?

Quoted 5 lines

Yes that’s true.

Quoted 1 line

Do you see UART output from the SPL, or nothing at all?

Unfortunately nothing either with SPL

That is interesting. If there would be a problem with the MMC code, you should at least see the SPL banner, and then see it failing loading U-Boot proper. I take it FEL boot works? Maybe we miss something with the clock setup that the BROM does for us during FEL operation?

Can you try to clear the area between the end of the SPL and the beginning of the U-Boot proper image (dd if=/dev/zero of=/dev/sdX bs=1k seek=32 count=8)?
Does any other branch work with SD card booting? Can you check the SPL size in there (with hexdump -C u-boot-sunxi-with-spl.bin | head, check for the halfword at 0x10)?

Quoted 6 lines
Quoted 2 lines

And you are not using UART0 on the PortF pins, so multiplexed with the MMC, I guess?

I use PE0 and PE1 Uart0 according to dts.

Have you got such board to test it?

That's the problem: I am driving blindfolded, because I don't have hardware :-(

Cheers,
Andre

Quoted 26 lines

Or we can wait for Jesse or George.

I’ve used the git you’ve pointed.

Anyway I think we’re very close to have it working.

At least my work “behind the scenes” will be worth, right Jesse :-)?

Best regards
—-
Giulio Benetti
Benetti Engineering sas

Quoted 11 lines

Cheers,
Andre

Quoted 4 lines

Am I doing something wrong?

Best regards

#7 lore raw

Hi Andre,

Quoted 30 lines · Andre Przywara

On Mon, 31 Jan 2022 14:07:54 +0100
Giulio Benetti <[email protected]> wrote:

Hi Giulio,

Quoted 25 lines
Quoted 17 lines

Il giorno 31 gen 2022, alle ore 13:57, Andre Przywara <[email protected]> ha scritto:

On Mon, 31 Jan 2022 13:17:52 +0100

Quoted 11 lines · Giulio Benetti

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.

Quoted 5 lines

I haven't looked in detail what would be needed for the SPL part of the MMC driver to really work, I just checked that the base addresses are correct, the pinmux looked alright as well.
The DT nodes are not needed for the SPL, and I don't see other changes related to MMC in the original series?

Yes that’s true.

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Do you see UART output from the SPL, or nothing at all?

Unfortunately nothing either with SPL

That is interesting. If there would be a problem with the MMC code, you should at least see the SPL banner, and then see it failing loading U-Boot proper.

Yes

Quoted 1 line

I take it FEL boot works?

Yes, it does work on both F1C100s and 200s boards :-/

Quoted 2 lines

Maybe we miss something with the clock
setup that the BROM does for us during FEL operation?

Yes, it sounds like that, it's a classic

Quoted 3 lines

Can you try to clear the area between the end of the SPL and the beginning of the U-Boot proper image (dd if=/dev/zero of=/dev/sdX bs=1k seek=32 count=8)?

I've zeroed the first 32MB of sd-card now, so we're sure nothing can interfere.

# sudo dd if=/dev/zero of=/dev/sda bs=1M count=32
# sync
# sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/sda bs=1k seek=8
# sync

(/dev/sda is my sd-card for real since I have m.2 ssd)

Quoted 3 lines

Does any other branch work with SD card booting? Can you check the SPL size in there (with hexdump -C u-boot-sunxi-with-spl.bin | head, check for the halfword at 0x10)?

This is the result of the command:

```
00000000  16 00 00 ea 65 47 4f 4e  2e 42 54 30 64 04 71 7c |....eGON.BT0d.q||
00000010  00 60 00 00 53 50 4c 02  00 00 00 00 00 00 00 00 |.`..SPL.........|
00000020  2c 00 00 00 00 00 00 00  00 00 00 00 73 75 6e 69 |,...........suni|
00000030  76 2d 66 31 63 31 30 30  73 2d 6c 69 63 68 65 65 |v-f1c100s-lichee|
00000040  70 69 2d 6e 61 6e 6f 00  00 00 00 00 00 00 00 00 |pi-nano.........|
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 |................|
00000060  0f 00 00 ea 14 f0 9f e5  14 f0 9f e5 14 f0 9f e5 |................|
00000070  14 f0 9f e5 14 f0 9f e5  14 f0 9f e5 14 f0 9f e5 |................|
00000080  a0 00 00 00 a0 00 00 00  a0 00 00 00 a0 00 00 00 |................|
00000090  a0 00 00 00 a0 00 00 00  a0 00 00 00 ef be ad de |................|
```
Quoted 9 lines
Quoted 6 lines
Quoted 2 lines

And you are not using UART0 on the PortF pins, so multiplexed with the MMC, I guess?

I use PE0 and PE1 Uart0 according to dts.

Have you got such board to test it?

That's the problem: I am driving blindfolded, because I don't have hardware :-(

Yeah, but I've read you've ordered it! :-)

Jesse has it working so maybe he can check how clocks are setup after BROM using u-boot itself. I've never understood why Allwinner/Rockchip place jtag on the sd-card pins. I really hate it, it would take so few with free jtag pins to check this :-/

Ciao :-)

Signature · 2 lines
Giulio Benetti
Benetti Engineering sas
Quoted 30 lines

Cheers,
Andre

Quoted 26 lines

Or we can wait for Jesse or George.

I’ve used the git you’ve pointed.

Anyway I think we’re very close to have it working.

At least my work “behind the scenes” will be worth, right Jesse :-)?

Best regards
—-
Giulio Benetti
Benetti Engineering sas

Quoted 11 lines

Cheers,
Andre

Quoted 4 lines

Am I doing something wrong?

Best regards

#8 lore raw
Quoted 59 lines · On Mon, 31 Jan 2022 15:12:23 +0100 Giulio Benetti…

Hi Andre,

Quoted 30 lines · Andre Przywara

On Mon, 31 Jan 2022 14:07:54 +0100
Giulio Benetti <[email protected]> wrote:

Hi Giulio,

Quoted 25 lines
Quoted 17 lines

Il giorno 31 gen 2022, alle ore 13:57, Andre Przywara <[email protected]> ha scritto:

On Mon, 31 Jan 2022 13:17:52 +0100

Quoted 11 lines · Giulio Benetti

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.

Quoted 5 lines

I haven't looked in detail what would be needed for the SPL part of the MMC driver to really work, I just checked that the base addresses are correct, the pinmux looked alright as well.
The DT nodes are not needed for the SPL, and I don't see other changes related to MMC in the original series?

Yes that’s true.

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Do you see UART output from the SPL, or nothing at all?

Unfortunately nothing either with SPL

That is interesting. If there would be a problem with the MMC code, you should at least see the SPL banner, and then see it failing loading U-Boot proper.

Yes

Quoted 1 line

I take it FEL boot works?

Yes, it does work on both F1C100s and 200s boards :-/

Quoted 2 lines

Maybe we miss something with the clock
setup that the BROM does for us during FEL operation?

Yes, it sounds like that, it's a classic

Quoted 3 lines

Can you try to clear the area between the end of the SPL and the beginning of the U-Boot proper image (dd if=/dev/zero of=/dev/sdX bs=1k seek=32 count=8)?

I've zeroed the first 32MB of sd-card now, so we're sure nothing can interfere.

Quoted 6 lines
# sudo dd if=/dev/zero of=/dev/sda bs=1M count=32
# sync
# sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/sda bs=1k seek=8
# sync

(/dev/sda is my sd-card for real since I have m.2 ssd)

Sorry, I meant to clear those bits after writing to the card (or clear that in the image file). binman now manages the packaging, so places 0xff into the 8K gap between our 24K SPL and the 32KB offset we place U-Boot proper at. If the BROM would read beyond the 24KB, the checksum would fail, but zeros are ignored by the algorithm, so we are a bit more robust. Also it might be interesting to set the size of 32KB (fixing up the checksum). What I was after is that no output could also mean that the BROM dismissed the SPL it found on the SD card. Do you see FEL mode enabled afterwards?

Quoted 31 lines
Quoted 3 lines

Does any other branch work with SD card booting? Can you check the SPL size in there (with hexdump -C u-boot-sunxi-with-spl.bin | head, check for the halfword at 0x10)?

This is the result of the command:

```
00000000  16 00 00 ea 65 47 4f 4e  2e 42 54 30 64 04 71 7c 
|....eGON.BT0d.q||
00000010  00 60 00 00 53 50 4c 02  00 00 00 00 00 00 00 00 
|.`..SPL.........|
00000020  2c 00 00 00 00 00 00 00  00 00 00 00 73 75 6e 69 
|,...........suni|
00000030  76 2d 66 31 63 31 30 30  73 2d 6c 69 63 68 65 65 
|v-f1c100s-lichee|
00000040  70 69 2d 6e 61 6e 6f 00  00 00 00 00 00 00 00 00 
|pi-nano.........|
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 
|................|
00000060  0f 00 00 ea 14 f0 9f e5  14 f0 9f e5 14 f0 9f e5 
|................|
00000070  14 f0 9f e5 14 f0 9f e5  14 f0 9f e5 14 f0 9f e5 
|................|
00000080  a0 00 00 00 a0 00 00 00  a0 00 00 00 a0 00 00 00 
|................|
00000090  a0 00 00 00 a0 00 00 00  a0 00 00 00 ef be ad de 
|................|
```
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines

And you are not using UART0 on the PortF pins, so multiplexed with the MMC, I guess?

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

I use PE0 and PE1 Uart0 according to dts.

Have you got such board to test it?

That's the problem: I am driving blindfolded, because I don't have hardware :-(

Yeah, but I've read you've ordered it! :-)

Indeed, but it ships from Hongkong. Even without Chinese New Year that would probably take another week to arrive.

Cheers,
Andre

Quoted 6 lines

Jesse has it working so maybe he can check how clocks are setup after BROM using u-boot itself. I've never understood why Allwinner/Rockchip place jtag on the sd-card pins. I really hate it, it would take so few with free jtag pins to check this :-/

Ciao :-)

#9 lore raw
In reply to Giulio Benetti
Quoted 36 lines · Giulio Benetti

Hi Andre,

Quoted 17 lines

Il giorno 31 gen 2022, alle ore 13:57, Andre Przywara <[email protected]> ha scritto:

On Mon, 31 Jan 2022 13:17:52 +0100

Quoted 11 lines · Giulio Benetti

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.

Quoted 5 lines

I haven't looked in detail what would be needed for the SPL part of the MMC driver to really work, I just checked that the base addresses are correct, the pinmux looked alright as well.
The DT nodes are not needed for the SPL, and I don't see other changes related to MMC in the original series?

Yes that’s true.

Quoted 1 line

Do you see UART output from the SPL, or nothing at all?

Unfortunately nothing either with SPL

Quoted 2 lines

And you are not using UART0 on the PortF pins, so multiplexed with the MMC, I guess?

I use PE0 and PE1 Uart0 according to dts.

Quoted 8 lines

Have you got such board to test it?
Or we can wait for Jesse or George.

I’ve used the git you’ve pointed.

Anyway I think we’re very close to have it working.

At least my work “behind the scenes” will be worth, right Jesse :-)?

Yes, I'm sorry there wasn't much mention of you on this patch.
I Just woke up, sorry i couldn't be here earlier, I'll take a look with Giulio.

Quoted 18 lines

Best regards
—-
Giulio Benetti
Benetti Engineering sas

Quoted 11 lines

Cheers,
Andre

Quoted 4 lines

Am I doing something wrong?

Best regards

#10 lore raw

Hi Andre, Jesse, All,

Quoted 42 lines · Jesse Taube
Quoted 39 lines · Giulio Benetti

Hi Andre,

Quoted 17 lines

Il giorno 31 gen 2022, alle ore 13:57, Andre Przywara <[email protected]> ha scritto:

On Mon, 31 Jan 2022 13:17:52 +0100

Quoted 11 lines · Giulio Benetti

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.

Quoted 5 lines

I haven't looked in detail what would be needed for the SPL part of the MMC driver to really work, I just checked that the base addresses are correct, the pinmux looked alright as well.
The DT nodes are not needed for the SPL, and I don't see other changes related to MMC in the original series?

Yes that’s true.

Quoted 1 line

Do you see UART output from the SPL, or nothing at all?

Unfortunately nothing either with SPL

Quoted 2 lines

And you are not using UART0 on the PortF pins, so multiplexed with the MMC, I guess?

I use PE0 and PE1 Uart0 according to dts.

Have you got such board to test it?
Or we can wait for Jesse or George.

Quoted 8 lines
Quoted 5 lines

I’ve used the git you’ve pointed.

Anyway I think we’re very close to have it working.

At least my work “behind the scenes” will be worth, right Jesse :-)?

Yes, I'm sorry there wasn't much mention of you on this patch. I Just woke up, sorry i couldn't be here earlier, I'll take a look with Giulio.

I've tested succesfully on both F1C100s and 200s boards!
https://source.denx.de/u-boot/custodians/u-boot-sunxi/-/tree/f1c100s

I've realized with Jesse that here with me I have 3 USB->Serial converter broken!!! With the 4th it worked and I've checked with scope that was hidden by garbage on my desk :-)

So it works! Sorry for the noise

Kind regards

Signature · 2 lines
Giulio Benetti
Benetti Engineering sas