From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [linux-sunxi] Announcing easy Linux installation on Allwinner devices for non-geek users
Date: Thu, 22 Jan 2015 14:32:54 +0100 [thread overview]
Message-ID: <20150122133254.GO4367@lukather> (raw)
In-Reply-To: <20150122144903.7c272d39@i7>
Hi,
Nice work overall, it's good to see something like that happening.
I'm a bit bothered by the use of the "universal" word, for something
that is so restricted, but it's just words.
On Thu, Jan 22, 2015 at 02:49:03PM +0200, Siarhei Siamashka wrote:
> =====================================================================
> == 5. Support more devices!
> =====================================================================
>
> The number of supported Allwinner devices in u-boot v2015.01 is
> really small. A few more devices are being added for v2015.04
> While the progress is steady, I'm not convinced that the support
> for all the 100+ Allwinner devices can be added in a reasonable
> time frame.
>
> The owners of some these devices are non-geeks and will not be able
> to submit patches to u-boot and the linux kernel on their own, even
> if provided with detailed instructions. This process just does not
> scale. Moreover, it is not very nice to force the users to master
> a useless skill, such as FEX knowledge.
>
> So I see the automatic conversion as the only reasonable solution.
>
> Yes, something like this already supposedly exits:
> https://github.com/mripard/sunxi-babelfish
The point of babelfish has never been to be able to add support to
u-boot. The point was to be able to boot a mainline kernel on a legacy
bootloader, without having to change anything at the bootloader level
(be it the bootloader itself, or the environment), while not having to
really care about the state of the support of the device itself in
Linux.
> I don't know how much progress has the 'sunxi-babelfish' project
> made so far (and to be honest, even did not try it).
Not very far I must admit. AFAIK, no one ever ran it beside me, and
I'm not the target user. Patches are very welcome though.
> But in my opinion it has some fatal deficiencies in the design,
> based on just reading its README:
> 1. Implemented in the C language, while scripting languages are
> orders of magnitude more suitable for such task and allow much
> faster development.
Let me know how you can fake a zImage and run bare metal code in ruby,
I'm interested.
> 2. This approach does not look very testable/debuggable.
It's true that some debug output might be needed. Patches welcome,
again.
> 3. It apparently does not help mainlining. The output of the
> conversion does not look like it is intended to be used as a
> template for the DTS file submission to the mainline kernel.
It really is. DTC can output a DTS from a running kernel, by looking
at /proc/device-tree. That DTS can totaly be used as a base to submit
it.
> So the right solution in my opinion is a set of scripts for the
> sunxi-boards repository. The scripts need to parse the FEX files,
> which are conveniently already collected in sunxi-boards. They
> need to support different FEX dialects as input (this is really
> important!) and 3 types of output:
> 1. The defconfigs for u-boot
> 2. The DTS files for the linux kernel
> 3. The FEX file in a dialect, which is compatible with the sunxi-3.4
> kernel
Just so you know, I will *not* merge any patch automatically generated
that will not have been run on its real board.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150122/5edf0659/attachment.pgp>
next prev parent reply other threads:[~2015-01-22 13:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-22 12:49 [U-Boot] Announcing easy Linux installation on Allwinner devices for non-geek users Siarhei Siamashka
2015-01-22 13:20 ` Hans de Goede
2015-01-22 14:19 ` Robert Moskowitz
2015-01-22 15:22 ` [U-Boot] [linux-sunxi] " Michal Suchanek
2015-01-22 13:32 ` Maxime Ripard [this message]
2015-01-22 13:46 ` [U-Boot] " Robert Moskowitz
2015-01-22 14:35 ` Luc Verhaegen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150122133254.GO4367@lukather \
--to=maxime.ripard@free-electrons.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox