[U-Boot] [PATCH v3 6/8] fdt: cmd_fdt: Call fdt_chosen() from "fdt boardsetup"

McClintock Matthew-B29882 B29882 at freescale.com
Thu Sep 27 22:43:06 CEST 2012


On Thu, Sep 27, 2012 at 3:28 PM, Kumar Gala <galak at kernel.crashing.org> wrote:
>
> On Sep 26, 2012, at 9:20 AM, Stefan Roese wrote:
>
>> Hi Kumar,
>>
>> On 09/26/2012 03:36 PM, Kumar Gala wrote:
>>>> By calling fdt_chosen(), the chosen node will be updated /
>>>> created by the "fdt boardsetup" command. This is useful for
>>>> setting of the kernel commandline via the "bootargs"
>>>> env variable.
>>>>
>>>> With this change, the "fdt boardsetup" can be used to prepare
>>>> the DT blob for SPL booting. The patched DT blob can be saved
>>>> to flash and can be used by the SPL U-Boot version directly
>>>> for Linux booting.
>>>>
>>>> Signed-off-by: Stefan Roese <sr at denx.de>
>>>> ---
>>>>
>>>> common/cmd_fdt.c | 4 +++-
>>>> 1 file changed, 3 insertions(+), 1 deletion(-)
>>>
>>> There are possibly some workflows this breaks.  I can't remember
>>> if for AMP boot we need to do something between ft_board_setup()
>>> and fdt_chosen()
>>
>> Could you please elaborate what exactly you fear here? Is this a NACK
>> for this patch?
>
> Possibly.  I've got to find our docs on how we do 2-core AMP booting sequence w/regards to device tree.

See if this works:

http://www.freescale.com/infocenter/index.jsp?topic=%2FQORIQSDK%2F2151493.html

-M


More information about the U-Boot mailing list