[U-Boot] [PATCH] rpi: add Compute Module 3+

Jonathan Gray jsg at jsg.id.au
Wed Jan 30 21:38:38 UTC 2019


On Wed, Jan 30, 2019 at 04:13:44PM +0100, Alexander Graf wrote:
> Hi Jonathan,
> 
> On 30.01.19 15:17, Jonathan Gray wrote:
> > Add Raspberry Pi Compute Module 3+ to list of models, the revision code
> > is 0x10 according to the list on raspberrypi.org.
> > 
> > Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
> > ---
> >  board/raspberrypi/rpi/rpi.c | 5 +++++
> >  1 file changed, 5 insertions(+)
> > 
> > diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
> > index 153a1fdcb7..c118250740 100644
> > --- a/board/raspberrypi/rpi/rpi.c
> > +++ b/board/raspberrypi/rpi/rpi.c
> > @@ -143,6 +143,11 @@ static const struct rpi_model rpi_models_new_scheme[] = {
> >  		DTB_DIR "bcm2837-rpi-3-a-plus.dtb",
> >  		false,
> >  	},
> > +	[0x10] = {
> > +		"Compute Module 3+",
> > +		DTB_DIR "bcm2837-rpi-cm3-plus.dtb",
> 
> Is the dtb name already committed to? I haven't seen patches on the rpi
> kernel ML.

I didn't see an existing name in various linux trees.

There is currently no new dtb provided with the firmware either, though
https://raw.githubusercontent.com/raspberrypi/documentation/master/hardware/computemodule/datasheets/rpi_DATA_CM3plus_1p0.pdf
states

"CM3+ modules require a software/firmware image dated November 2018 or
newer to function correctly."

So the firmware likely patches bcm2710-rpi-cm3.dtb before passing it on.


More information about the U-Boot mailing list