[U-Boot] [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

Hans de Goede hdegoede at redhat.com
Mon Dec 22 14:50:09 CET 2014


Hi,

On 22-12-14 09:32, Michal Suchanek wrote:
> On 20 December 2014 at 19:27, Hans de Goede <hdegoede at redhat.com> wrote:
>> Hi All,
>>
>> There are 3 topics which I would like to cover in this mail:
>>
>> 1) Switching over to upstream u-boot for the linux-sunxi project
>> 2) How to build upstream u-boot for use with linux-sunxi sunxi-3.4 kernels
>> 3) Adding more boards to upstream u-boot
>>
>>
>> 1. Switching over to upstream u-boot for the linux-sunxi project
>> ================================================================
>>
>> Upstream u-boot has had sunxi support for a while now, and has slowly been
>> gaining a lot of features over the linux-sunxi/u-boot-sunxi version at:
>> https://github.com/linux-sunxi/u-boot-sunxi/
>>
>> Some of the new features supported upstream are booting from usb, booting
>> from
>> sata (ahci) and full sun6i (A31) support including SPL support. Also
>> upstream
>> u-boot supports using hdmi out + an usb keyboard as u-boot console, so that
>> one does not need to solder a serial console to things like hdmi tv-dongles.
>>
>> Upstream u-boot also has full sun8i (A23) support in the pipeline including
>> SPL support.
>
> Since we have sun8i memory support is there corresponding meminfo
> which can dump the timing?

No, just like with previous boards all boards seem to use the same timing
(tpr) values so I've simply hardcoded them. The only 2 things which can be
configured in the sun8i dram code or the dram-clk and the zq value, both
of which (so far) have been filled in in the fex files, so there is no reason
to read it back, moreover reading it back is impossible in the case of the zq
value, as that does not end up 1:1 in a register.

Regards,

Hans


More information about the U-Boot mailing list