Please test U-Boot Allwinner F1C100s support

Andre Przywara andre.przywara at foss.arm.com
Mon Jan 31 14:57:49 CET 2022


On Mon, 31 Jan 2022 14:07:54 +0100
Giulio Benetti <giulio.benetti at benettiengineering.com> wrote:

Hi Giulio,

> > Il giorno 31 gen 2022, alle ore 13:57, Andre Przywara <andre.przywara at foss.arm.com> ha scritto:
> > 
> > On Mon, 31 Jan 2022 13:17:52 +0100
> > Giulio Benetti <giulio.benetti at benettiengineering.com> wrote:
> >   
> >> 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?  
> 
> Yes that’s true.
> 
> > 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)?

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

> 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
> 
> > 
> > Cheers,
> > Andre
> > 
> > 
> >   
> >> 
> >> Am I doing something wrong?
> >> 
> >> Best regards  
> >   
> 
> 



More information about the U-Boot mailing list