From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758123Ab3FEWy3 (ORCPT ); Wed, 5 Jun 2013 18:54:29 -0400 Received: from avon.wwwdotorg.org ([70.85.31.133]:51183 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757956Ab3FEWy1 (ORCPT ); Wed, 5 Jun 2013 18:54:27 -0400 Message-ID: <51AFC19F.9040601@wwwdotorg.org> Date: Wed, 05 Jun 2013 16:54:23 -0600 From: Stephen Warren User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: =?UTF-8?B?SGVucmlrIE5vcmRzdHLDtm0=?= CC: Linux on small ARM machines , devicetree-discuss , Linux Kernel Mailing List , debian-arm@lists.debian.org, "jonsmirl@gmail.com" , ARM Linux Mailing List , debian-kernel@lists.debian.org Subject: Re: [Arm-netbook] getting allwinner SoC support upstream (was Re: Uploading linux (3.9.4-1)) References: <51AFA6DD.3000202@wwwdotorg.org> <1370469574.18839.33.camel@localhost> In-Reply-To: <1370469574.18839.33.camel@localhost> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/05/2013 03:59 PM, Henrik Nordström wrote: > ons 2013-06-05 klockan 22:24 +0100 skrev Luke Kenneth Casson Leighton: ... >> so the point is: if anyone wishes me to propose to allwinner that >> they convert over to devicetree, or any other proposal which involves >> significant low-level changes to their working practices that could >> potentially have a massive knock-on effect onto their >> multi-million-dollar clients, it had better be a damn good story. > > Calm down. It isn't really a significant difference to them outside of > the kernel. They do not need to change any of their configuraiton > methods, only a small toolchain change in how the resultig images are > built to have a corresponding device tree built. If U-Boot needs to be parametrized, there are in theory a few options open: 1) Put all the parameters in the U-Boot configuration header. This is normal. 2) Read some data structure at run-time. This data structure could in theory be some SoC-specific blob format (e.g. the packed version of information that some tool extracts from FEX/DT), a whole FEX blob, or device tree. The U-Boot maintainers have already indicated that they won't accept the first two options; run-time configuration has to be via DT, and not via some SoC-specific mechanism. (As I found out to my detriment when I attempted to make U-Boot on Tegra determine which UART to use for debug at run-time by reading the configuration header that our boot ROM uses). Now of course, boot0/boot1 could always transform whatever data structure they wish into a DTB before passing that to U-Boot...