Message ID | 1472158665-14240-1-git-send-email-festevam@gmail.com |
---|---|
State | Accepted |
Commit | 375d19c9114c1aca722f22fca937aec70e6feecf |
Delegated to: | Stefano Babic |
Headers | show |
On Thu, Aug 25, 2016 at 5:57 PM, Fabio Estevam <festevam@gmail.com> 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> Breno has sent the patch to include this on the main config; being the official kernel using this enabled I think it makes sense to keep his patch.
Hi Otavio, On Thu, Aug 25, 2016 at 6:02 PM, Otavio Salvador <otavio.salvador@ossystems.com.br> wrote: > Breno has sent the patch to include this on the main config; being the Breno's patch has not been submitted to the list. It has only being applied into u-boot-fslc. > official kernel using this enabled I think it makes sense to keep his > patch. There is no such thing as 'official kernel', sorry. User can choose whether booting mainline or NXP kernel. This patch series allows both kernel options to boot out of the box. It is the same thing we did on mx7dsabresd, by the way.
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