From: Giulio Benetti <giulio.benetti@benettiengineering.com>
To: Jesse Taube <mr.bossman075@gmail.com>
Cc: Andre Przywara <andre.przywara@arm.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:17:52 +0100 [thread overview]
Message-ID: <4e706b47-f3df-9a1d-60ba-c072a05e0fa0@benettiengineering.com> (raw)
In-Reply-To: <05FF11BA-A37F-4A89-A30B-96EDA15DD469@benettiengineering.com>
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.bossman075@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
>
next prev parent reply other threads:[~2022-01-31 12:33 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 [this message]
2022-01-31 12:57 ` Andre Przywara
2022-01-31 13:07 ` Giulio Benetti
2022-01-31 13:57 ` Andre Przywara
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=4e706b47-f3df-9a1d-60ba-c072a05e0fa0@benettiengineering.com \
--to=giulio.benetti@benettiengineering.com \
--cc=andre.przywara@arm.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