On Sun, 15 Mar 2015 12:12:00 +0100
Paul Kocialkowski <cont...@paulk.fr> wrote:

> Le mardi 24 février 2015 à 11:58 +0200, Siarhei Siamashka a écrit :
> > On Sat, 21 Feb 2015 16:47:20 +0100
> > Hans de Goede <hdego...@redhat.com> wrote:
> > 
> > > Hi all,
> > > 
> > > Newer u-boot versions may chose a different (better) PLL6 / PLL5 setting
> > > and/or different voltage settings. Unfortunately the old linux-sunxi-3.4
> > > kernels have a number of hardcoded assumptions about PLL5 speed, and in 
> > > some
> > > cases override the bootloader chosen PLL6 / voltages in a bad way.
> > > 
> > > This patch series fixes this and is intended for the sunxi-3.4 branch. The
> > > first 2 patches are already in sunxi-3.4/staging, but they should really 
> > > also
> > > be added to the sunxi-3.4 branch. The 2 new patches should be added to 
> > > both.
> > > 
> > > Note that sunxi-3.4/staging currently does not work for me (on sun5i at 
> > > least)
> > > (*) so these patches have only been tested on the sunxi-3.4 branch.
> > > 
> > > Regards,
> > > 
> > > Hans
> > > 
> > > *) It does not boot at all for some reason, not a single message is 
> > > printed
> > > on the serial console after u-boot has loaded the kernel. I'm afraid I do 
> > > not
> > > have the time to investigate this.
> > 
> > Thanks. I will allocate the next few days of my time on checking what's
> > up with sunxi-3.4 and maybe we can make the final "graduation" release
> > for it.
> 
> Any news on that front?

Thanks for reminding.

Well, the news is that I could not reproduce the alleged sun5i problem
with the stage/sunxi-3.4 branch on my A13-OLinuXino-Micro board. Which
obviously means that I can't debug it.

Combined with Tsvetan's lack of any sign of response or any indications
that anyone else could be interested, I don't feel very much motivated
to do the "communication" part of the job, which is required to clarify
the status of these 3.4 branches and move them forward.

> I have been trying to boot sunxi-3.4 on sun7i/A20 using upstream U-Boot,
> with no success. I tried the current sunxi-3.4 branch and stage/sunxi-3.4,
> with and without these patches.
> 
> It never prints anything on serial.

Most likely you are missing the "setenv bootm_boot_mode sec" line in
your boot.cmd (otherwise the PSCI code in u-boot drops the CPU into
the non-secure mode and the sunxi-3.4 kernel can't handle it).

The documentation in the wiki about the mainline u-boot is in a
pretty much bad shape, but at least this should be covered:

    http://linux-sunxi.org/Mainline_U-boot#Boot

Alternatively, there is the old kernel compatibility mode in
u-boot, which can be selected in menuconfig. It should work
with any old sunxi-3.4 kernels.

> On the other hand, I was able to boot mainline Linux (3.19) just fine.

Right. That's what everyone should be using now.

-- 
Best regards,
Siarhei Siamashka

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to