[U-Boot] [PATCH] sunxi: Machine id hack to prevent loading buggy sunxi-3.4 kernels

Siarhei Siamashka siarhei.siamashka at gmail.com
Sun Mar 1 23:07:28 CET 2015


On Sat, 28 Feb 2015 16:18:16 +0000
Ian Campbell <ijc+uboot at hellion.org.uk> wrote:

> On Sat, 2015-02-21 at 11:49 +0100, Hans de Goede wrote:
> > On 21-02-15 11:26, Ian Campbell wrote:
> > > Speaking of which, if someone were to identify a suitable set of
> > > simple-fb backports for 3.16 and they are reasonably self contained I'd
> > > happily backport them to the kenrel which is going to be in the next
> > > Debian release too...
> > 
> > You will need all patches by me and by "Luc Verhaegen" from here:
> > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/drivers/video/fbdev/simplefb.c
> > 
> > As well as these dts patches:
> > 
> > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=5790d4ee1e425fefef0e012d1415c25baeb9dae8
> > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=d501841fc42a97a8b69449135eadf6e9c4589a87
> > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=e53a8b2201384ee1a2cfd1609c9ffdf951b041a1
> > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=8efc5c2be5b29f7ceec83bb471da81690273e141
> 
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=678e75d
> 
> I inserted this one here so the following stuff would cherry-pick ok, I
> think that was the right thing to do.
> 
> > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=a9f8cda32a3acc3150755fe973f7fa1867a7a5d6
> > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=8cedd6628472aa2d8f2f54dfcc36633e46a59db8
> > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=fd18c7eac03540654abdbfedd52e6dfb3718b489
> > 
> > Those combined with a new enough u-boot should get you video output on most devices
> > supported in upstream u-boot.
> 
> Indeed, this gets me graphics on my Cubietruck at least.
> 
> Thanks!

This looks great, thanks. The video output support in Debian is going
to be very much appreciated. It looks like I don't really need to do
anything other than just installing the U-Boot bootloader by
    
    http://lists.denx.de/pipermail/u-boot/2015-January/202306.html
    https://github.com/ssvb/sunxi-bootsetup/releases/tag/20141215-sunxi-bootsetup-prototype

And can simply delegate everything else to the Debian installer :-)

Just one suggestion. It would be really nice if the Debian installer
could present itself on all the available consoles, so that the user
can use any of them for providing input to the installer.

Otherwise there will be a need to provide separate SD card images for
the HDMI console (for the Raspberry Pi wannable competitors), the UART
serial console (A10/A20 development boards without HDMI) and the USB OTG
serial gadget console (for the tablets without HDMI). Instead of just
having only a single SD card image to handle everything automatically.

Oh, and one more suggestion. The SD card partitioning could be also
improved in order to make it more user friendly. Right now the user may
be confused by the Debian installer regarding what to do with the
existing partition on the SD card (yes, it can be safely erased since
the installer is running from RAM and does not rely on the data from
that partition anymore).

-- 
Best regards,
Siarhei Siamashka


More information about the U-Boot mailing list