[U-Boot] [PATCH v2 1/1] board: raspberrypi: add serial and revision to the device tree

Alexander Graf agraf at suse.de
Wed Feb 20 12:39:45 UTC 2019


On 02/20/2019 01:09 PM, Anton Gerasimov wrote:
> Raspberry Pi bootloader adds this node to fdt, but if u-boot script
> doesn't reuse the tree provided by it, this information is lost.
>
> Revision and serial are displayed in /proc/cpuinfo after boot.
>
> Suggested-By: Ricardo Salveti <rsalveti at rsalveti.net>
> Reported-by: Karl Eaves <karleeaves at gmail.com>
> Signed-off-by: Anton Gerasimov <tossel at gmail.com>

WiringPi really shouldn't rely on this information, as it is not present 
on AArch64 for example, but I don't see any harm in providing it. I'll 
leave it to Matthias to apply.

Reviewed-by: Alexander Graf <agraf at suse.de>


Alex



More information about the U-Boot mailing list