[PATCH v5] board: purism: add the Purism Librem5 phone

Angus Ainslie angus at akkea.ca
Tue May 24 17:34:33 CEST 2022


On 2022-05-24 08:10, Tom Rini wrote:
> On Tue, May 24, 2022 at 07:15:01AM -0700, Angus Ainslie wrote:
>> Hi Stefano,
>> 
>> On 2022-05-23 02:36, Stefano Babic wrote:
>> > On 06.05.22 14:44, Angus Ainslie wrote:
>> > > Initial commit of Librem5 u-boot and SPL
>> > >
>> > > Signed-off-by: Angus Ainslie <angus at akkea.ca>
>> > > Co-developed-by: Sebastian Krzyszkowiak
>> > > <sebastian.krzyszkowiak at puri.sm>
>> > > Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak at puri.sm>
>> > > ---
>> >
>> > Hi Angus,
>> >
>> > with "configs: get rid of build warnings due to SPL_USB_DWC3_GENERIC"
>> > most issues are solved, but a TI board is still broken.
>> >
>> 
>> I'll resend the patch that includes a fix for the aarch64 board.
>> 
>> > A second issue is for the blob signed_dp_imx8m.bin, it should be done
>> > like for signed_hdmi.bin to avoid CI breakages.
>> >
>> > Here the result of pipeline:
>> >
>> > https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/437965
>> >
>> 
>> I see that the imx8mq_evk does not fail CI build but I'm not seeing 
>> how the
>> missing signed_hdmi.bin file is handled. Any hints ?
> 
> You need to use binman to handle it, does
> arch/arm/dts/imx8mq-u-boot.dtsi provide some clues?

Currently the librem5-r4-u-boot.dtsi ( text below ) includes 
imx8mq-u-boot.dtsi and I tried deleting the signed-hdmi and including a 
signed-dp in it's place. Now instead of an error about a missing 
"signed_hdmi_imx8m.bin" I get an error about a missing 
"signed_dp_imx8m.bin" so I know I'm having an effect but not enough of 
one.

// SPDX-License-Identifier: (GPL-2.0 OR MIT)

#include "imx8mq-u-boot.dtsi"

&pinctrl_uart1 {
         u-boot,dm-spl;
};

&uart1 { /* console */
         u-boot,dm-spl;
};

&binman {
         /delete-node/ signed-hdmi;

         signed-dp {
                 filename = "signed_dp_imx8m.bin";

                 signed-dp-imx8m {
                         filename = "signed_dp_imx8m.bin";
                         type = "blob-ext";
                 };
         };
};



More information about the U-Boot mailing list