[U-Boot] [PATCH v6 0/7] sunxi: sync H3, H5, A64 DTs from mainline Linux

Andre Przywara andre.przywara at arm.com
Fri May 18 14:07:39 UTC 2018


Hi,

On 18/05/18 11:41, Peter Robinson wrote:
> On Wed, May 16, 2018 at 9:00 AM, Andre Przywara <andre.przywara at arm.com> wrote:
>> This is an updated version of the series which brings the exact mainline
>> Linux device tree files for various Allwinner boards into U-Boot.
>> Apart from using the usually more correct reference DT files, this offers
>> the big benefit of being able to use U-Boot's DT copy for directly passing
>> it to the kernel. This avoids to actually load a .dtb file from somewhere,
>> and allows seamless and automatic UEFI booting, so distribution installer
>> images should just work (TM).
>>
>> This cover the ARMv8 SoCs (H5, A64), but also all boards with the H3, as
>> this is somewhat married to the H5 and can only be updated together.
>> The H3 and H5 DT files have diverged quite a bit, but as U-Boot's own
>> usage of the DT is (yet) quite limited, there should be no regressions.
>> The patches are split to first update the SoC .dtsi file, then the board
>> .dts files in a second patch. They are grouped to handle the A64 first,
>> then the H5 and H3. I put the respective kernel commit IDs in the commit
>> messages.
>> Patch 6 brings in the mainline DT for the SoPine baseboard, for which we
>> didn't have a separate .dts in U-Boot so far.
>> Patch 7 adds a separate .dts file for the Pine64-LTS board, which is
>> virtually identical to the SoPine baseboard, but, due to the SoC being
>> named differently, deserves a separate file.
>>
>> This is based on origin/master (ca70cbabdcd1).
>>
>> Maxime, I kept you Acked-by: from the previous posts, as I literally
>> just updated to the latest Linux master, which went through your review
>> anyway. Hope that's OK for you.
>>
>> Cheers,
>> Andre.
>>
>> Changelog v5 .. v6:
>> - bring back DT update patches
>> - update to Linux v4.17-rc5
> 
> Are these based purely on 4.17rc5 because I don't see
> sun50i-a64-pine64-lts.dts in Linus's upstream.

Well, yes, I added this trivial wrapper. I can (and probably will) post
it to Linux, but actually it would be sufficient to have some DT in
U-Boot (and on the SPI flash!), so that one can just use $fdtcontroladdr
and be done.

In case you wonder about (other) differences between mainline and this
series: There is this one path name change in the sun50i-h5.dtsi,
mentioned in the 3/7 commit message, plus I left in the common libretech
.dtsi Chen-Yu created for U-Boot. I guess we will see this sooner or
later in Linux and can then sync this back, if needed.

Cheers,
Andre.


More information about the U-Boot mailing list