ARM Sunxi Platform Development
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@foss.arm.com>
To: Giulio Benetti <giulio.benetti@benettiengineering.com>
Cc: Jesse Taube <mr.bossman075@gmail.com>,
	Samuel Holland <samuel@sholland.org>,
	George Hilliard <thirtythreeforty@gmail.com>,
	Chris Morgan <macroalpha82@gmail.com>,
	U-Boot Mailing List <u-boot@lists.denx.de>,
	linux-sunxi <linux-sunxi@lists.linux.dev>
Subject: Re: Please test U-Boot Allwinner F1C100s support
Date: Mon, 31 Jan 2022 13:57:49 +0000	[thread overview]
Message-ID: <20220131135749.4d9f9a14@donnerap.cambridge.arm.com> (raw)
In-Reply-To: <813A2F53-7592-4DDF-86B6-993BFB1A6819@benettiengineering.com>

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

Hi Giulio,

> > Il giorno 31 gen 2022, alle ore 13:57, Andre Przywara <andre.przywara@foss.arm.com> ha scritto:
> > 
> > On Mon, 31 Jan 2022 13:17:52 +0100
> > Giulio Benetti <giulio.benetti@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  
> >   
> 
> 


  reply	other threads:[~2022-01-31 13:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-31  2:04 Please test U-Boot Allwinner F1C100s support Andre Przywara
2022-01-31  2:12 ` Jesse Taube
2022-01-31 10:47   ` Giulio Benetti
2022-01-31 12:17     ` Giulio Benetti
2022-01-31 12:57       ` Andre Przywara
2022-01-31 13:07         ` Giulio Benetti
2022-01-31 13:57           ` Andre Przywara [this message]
2022-01-31 14:12             ` Giulio Benetti
2022-01-31 14:25               ` Andre Przywara
2022-01-31 18:13           ` Jesse Taube
2022-01-31 20:44             ` Giulio Benetti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220131135749.4d9f9a14@donnerap.cambridge.arm.com \
    --to=andre.przywara@foss.arm.com \
    --cc=giulio.benetti@benettiengineering.com \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=macroalpha82@gmail.com \
    --cc=mr.bossman075@gmail.com \
    --cc=samuel@sholland.org \
    --cc=thirtythreeforty@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox