[U-Boot] [PATCH v2 0/9] basic support for Allwinner A83T SOC.

Hans de Goede
2015-12-10T10:22:34Z

Hi,

On 11/30/2015 04:39 PM, Vishnu Patekar wrote:
> Hello Hans,
>
>
>
> On Mon, Nov 30, 2015 at 4:13 PM, Hans de Goede <hdegoede@redhat.com> wrote:
>> Hi Vishnu,
>>
>>> This patch v2 of series that adds basic support for Allwinner A83T SOC
>>> with
>>> review comments addressed.
>>
>> Can you provide some quick instructions on how to test this on the
>> A83T HomletV2 ?
>>
>> With v1 of these patches I tried to just build them and dd them to
>> the sdcard, but that did not work.
>>
>> In the mean time I've figured out that I can get a serial console
>> with the firmware in the nand using a sdcard breakout board, so
>> I should be able to enter FEL mode by pressing 2 there, but it would
>> be really nice if the board would just boot from sdcard...
>>
> I broke microsd connector of my A83T board, so boot from microsd not tested.
>
> As you have microSD breakout UART working, you can set
> CONFIG_UART0_PORT_F=y and use FEL mode, commands as below
> sunxi-fel spl u-boot-sunxi-with-spl.bin
> sunxi-fel write 0x4a000000 u-boot-dtb.bin
>
> This is how i have tested it for now.

Ok, I've managed to get things to work actually cold booting from the
sdcard slot (so as to not rely on earlier setup done by boot0 before
it enters FEL mode when pressin '2'). In order to get the sdcard +
cold booting to work I had to make some changes to the clk code:

https://github.com/jwrdegoede/u-boot-sunxi/commit/03cf8b8354f732fe34fc34ef44fecd79190f019e

With these fixes A83 support seems to work well, good job!

I've merged this into my sunxi-wip tree now and I'm preparing a pull-req
to send this upstream.

Regards,

Hans

p.s.

Next time please make sure to base your patches on the latest official
master, when you posted these patches master already had H3 support,
and I had to do quite a but of manual conflict resolving because of that.