diff mbox

[U-Boot,v2,1/3] warp7: Add a secure mode target

Message ID 1472170040-10397-1-git-send-email-festevam@gmail.com
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Fabio Estevam Aug. 26, 2016, 12:07 a.m. UTC
From: Fabio Estevam <fabio.estevam@nxp.com>

NXP kernel expects to boot in secure mode, so introduce
warp7_secure_defconfig target which selects CONFIG_ARMV7_BOOT_SEC_DEFAULT.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
Changes since v1:
- None

 configs/warp7_secure_defconfig | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 configs/warp7_secure_defconfig

Comments

Stefano Babic Sept. 6, 2016, 8:09 a.m. UTC | #1
On 26/08/2016 02:07, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@nxp.com>
> 
> NXP kernel expects to boot in secure mode, so introduce
> warp7_secure_defconfig target which selects CONFIG_ARMV7_BOOT_SEC_DEFAULT.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic
Fabio Estevam Sept. 6, 2016, 10:58 a.m. UTC | #2
Hi Stefano,

On Tue, Sep 6, 2016 at 5:09 AM, Stefano Babic <sbabic@denx.de> wrote:
> On 26/08/2016 02:07, Fabio Estevam wrote:
>> From: Fabio Estevam <fabio.estevam@nxp.com>
>>
>> NXP kernel expects to boot in secure mode, so introduce
>> warp7_secure_defconfig target which selects CONFIG_ARMV7_BOOT_SEC_DEFAULT.
>>
>> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
>> ---
>
> Applied to u-boot-imx, thanks !

I don't see this series applied in
http://git.denx.de/?p=u-boot/u-boot-imx.git;a=shortlog

Are they missing?

Thanks
Stefano Babic Sept. 6, 2016, 11:08 a.m. UTC | #3
On 06/09/2016 12:58, Fabio Estevam wrote:
> Hi Stefano,
> 
> On Tue, Sep 6, 2016 at 5:09 AM, Stefano Babic <sbabic@denx.de> wrote:
>> On 26/08/2016 02:07, Fabio Estevam wrote:
>>> From: Fabio Estevam <fabio.estevam@nxp.com>
>>>
>>> NXP kernel expects to boot in secure mode, so introduce
>>> warp7_secure_defconfig target which selects CONFIG_ARMV7_BOOT_SEC_DEFAULT.
>>>
>>> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
>>> ---
>>
>> Applied to u-boot-imx, thanks !
> 
> I don't see this series applied in
> http://git.denx.de/?p=u-boot/u-boot-imx.git;a=shortlog
> 
> Are they missing?

You're right, strange, something went wrong. Now they are on the server.

Thanks for checking !

Stefano
Fabio Estevam Sept. 6, 2016, 2:44 p.m. UTC | #4
On Tue, Sep 6, 2016 at 8:08 AM, Stefano Babic <sbabic@denx.de> wrote:

> You're right, strange, something went wrong. Now they are on the server.

Ok, great. As these three patches didn't make into your pull request
to Tom: will you submit another pull request which includes them?

Thanks
diff mbox

Patch

diff --git a/configs/warp7_secure_defconfig b/configs/warp7_secure_defconfig
new file mode 100644
index 0000000..34fcdea
--- /dev/null
+++ b/configs/warp7_secure_defconfig
@@ -0,0 +1,36 @@ 
+CONFIG_ARM=y
+CONFIG_ARCH_MX7=y
+CONFIG_TARGET_WARP7=y
+# CONFIG_ARMV7_VIRT is not set
+CONFIG_IMX_RDC=y
+CONFIG_IMX_BOOTAUX=y
+CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/warp7/imximage.cfg"
+CONFIG_HUSH_PARSER=y
+# CONFIG_CMD_BOOTD is not set
+CONFIG_CMD_BOOTZ=y
+# CONFIG_CMD_IMI is not set
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_XIMG is not set
+CONFIG_CMD_MEMTEST=y
+CONFIG_CMD_MMC=y
+CONFIG_CMD_USB=y
+CONFIG_CMD_DFU=y
+CONFIG_CMD_USB_MASS_STORAGE=y
+CONFIG_CMD_GPIO=y
+# CONFIG_CMD_SETEXPR is not set
+CONFIG_CMD_CACHE=y
+CONFIG_CMD_EXT2=y
+CONFIG_CMD_EXT4=y
+CONFIG_CMD_EXT4_WRITE=y
+CONFIG_CMD_FAT=y
+CONFIG_USB=y
+CONFIG_USB_GADGET=y
+CONFIG_CI_UDC=y
+CONFIG_USB_GADGET_DOWNLOAD=y
+CONFIG_G_DNL_MANUFACTURER="FSL"
+CONFIG_G_DNL_VENDOR_NUM=0x0525
+CONFIG_G_DNL_PRODUCT_NUM=0xa4a5
+CONFIG_USB_EHCI_HCD=y
+CONFIG_MXC_USB_OTG_HACTIVE=y
+CONFIG_OF_LIBFDT=y
+CONFIG_ARMV7_BOOT_SEC_DEFAULT=y