aboutsummaryrefslogtreecommitdiff
path: root/board/freescale
Commit message (Collapse)AuthorAgeFilesLines
* configs/freescale_imx8mpevk: new defconfigGravatar Stephane Viau2021-03-271-0/+71
| | | | | | | | | | | | | | This patch adds support for the NXP i.MX 8M Plus EVK board [1]. The final boot image is created from uboot and firmware binaries in post image script board/freescale/common/imx/imx8-bootloader-prepare.sh. This first support is based on NXP's 5.4.70_2.3.0 BSP. [1] https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/evaluation-kit-for-the-i-mx-8m-plus-applications-processor:8MPLUSLPD4-EVK Signed-off-by: Stephane Viau <stephane.viau@oss.nxp.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/freescale/common/imx: add support for i.MX 8M PlusGravatar Stephane Viau2021-03-272-0/+9
| | | | | | | | | | | | | Almost identical as i.MX 8M Nano, with a couple of differences: - different ATF load address [1] - different entry point [2] [1] https://source.denx.de/u-boot/u-boot/-/commit/e8e2703a3050feb8d2e6473d806c5277d5e3236f [2] https://source.denx.de/u-boot/u-boot/-/blob/v2021.04-rc4/configs/imx8mp_evk_defconfig#L14 Signed-off-by: Stephane Viau <stephane.viau@oss.nxp.com> Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/imx8mqevk_defconfig: new defconfigGravatar Fabio Estevam2020-09-201-0/+6
| | | | | | | | | | | Add support for imx8mqevk_defconfig that allows booting a mainline kernel. This defconfig still relies on NXP ATF and U-Boot, but in the long term the plan is to switch to mainline ATF and U-Boot as well. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/imx6ullevk: new defconfigGravatar Fabio Estevam2020-07-161-0/+10
| | | | | | | | Add support for imx6ullevk_defconfig that allows booting a mainline kernel and mainline U-Boot. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/freescale_imx6*: bump BSP components to 5.4.24_2.1.0Gravatar Julien Olivain2020-07-051-4/+4
| | | | | | | | | And rebase uboot patch. Tested-by: Maeva Manuel <maeva.manuel@oss.nxp.com> [Maeva: Tested on i.MX6Quad SabreAuto CPU1] Signed-off-by: Julien Olivain <julien.olivain@oss.nxp.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* Merge branch 'next'Gravatar Thomas Petazzoni2020-06-023-3/+78
|\ | | | | | | | | | | | | | | | | | | A few conflicts had to be resolved: - Version number and hash for mesa3d-headers/mesa3d - Patches added in qemu, and the qemu version number - The gnuconfig README.buildroot Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * configs/freescale_imx8mnevk: new defconfigGravatar Stephane Viau2020-05-291-0/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the i.MX8M Nano EVK Board [1]. The final boot image is created from uboot and firmware binaries in post image script board/freescale/common/imx/imx8-bootloader-prepare.sh Note that this config is based on 4.19.35_1.1.0 ; hence, the kernel configuration needs host-openssl to build. [1] https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/evaluation-kit-for-the-i-mx-8m-nano-applications-processor:8MNANOD4-EVK Signed-off-by: Stephane Viau <stephane.viau@oss.nxp.com> Reviewed-by: Maeva Manuel <maeva.manuel@oss.nxp.com> Reviewed-by: Julien Olivain <julien.olivain@oss.nxp.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
| * board/freescale/common/imx: add support for i.MX8M NanoGravatar Stephane Viau2020-05-291-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: Stephane Viau <stephane.viau@oss.nxp.com> Reviewed-by: Maeva Manuel <maeva.manuel@oss.nxp.com> Reviewed-by: Julien Olivain <julien.olivain@oss.nxp.com> Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
| * board/freescale/common/imx: use generic ddr_fw.bin nameGravatar Stephane Viau2020-05-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some SoCs (i.e.: i.MX8M Nano for now), the DDR training firmware in the boot image depends on the type of memory installed on a board (LPDDR4, DDR4, etc...). The previous patch makes this firmware name agnostic of the DDR type and uses ddr_fw.bin as a generic name. This patch makes imx8-bootloader-prepare.sh use this generic name, independently of the kind board DDR type. Signed-off-by: Stephane Viau <stephane.viau@oss.nxp.com> Reviewed-by: Maeva Manuel <maeva.manuel@oss.nxp.com> Reviewed-by: Julien Olivain <julien.olivain@oss.nxp.com> Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* | board/freescale: increase the vfat sizeGravatar Fabio Estevam2020-05-261-1/+1
|/ | | | | | | | | | | | | | | The default iamge size is 32MiB, which is quite low by today's standards. Besides, the AArch64 kernels are relatively big, which leaves not much room, if at all, for users to experiment on the default image. Increase the vfat size to a more reasonable 64MiB. Note that users who derive an in-tree defconfig for their own case will allways hit any arbitarary size we put here, so they will anyway have to also derive this template for their own use-cases. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* board/freescale/common/imx: add support for i.MX8M NanoGravatar Gary Bisson2020-04-181-0/+7
| | | | | | | | | | | | | | Almost identical as i.MX8M Mini, here are the differences: - different ATF load address [1] - different entry point [2] - different ROM version (v2) [3] [1] https://gitlab.denx.de/u-boot/u-boot/-/blob/v2020.04/board/freescale/imx8mn_evk/README [2] https://gitlab.denx.de/u-boot/u-boot/-/blob/v2020.04/configs/imx8mn_ddr4_evk_defconfig#L22 [3] https://gitlab.denx.de/u-boot/u-boot/-/commit/b8f16834 Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/freescale/mxs: specify the volume-label for vfatGravatar Fabio Estevam2020-04-171-0/+1
| | | | | | | | | | Currently the volume-label for the vfat partition is a string with the following pattern: 5934-861D. Specify the volume-label as "boot" to make it easier to identify it. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/freescale: specify the volume-label for FAT partitionGravatar Fabio Estevam2020-04-153-0/+3
| | | | | | | | | | | Currently the volume-label for the vfat partition is a string with the following pattern: 5934-861D. Specify the volume-label as "boot" to make it easier to identify it. Signed-off-by: Fabio Estevam <festevam@gmail.com> Tested-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/freescale_imx6{dl,q,sx}*: bump BSP components to 4.19.35_1.1.0Gravatar Julien Olivain2020-03-262-102/+14
| | | | | | | | | | | | | Also: - drop uboot patch accepted upstream in v2018.05 in commit f916757300c15aa1a3f0ccc98e7abb8a84c97da0 - Add kernel dependency on host-openssl needed for v4.19. - Rebased uboot patch Tested-by: Maeva Manuel <maeva.manuel@oss.nxp.com> (Tested on i.MX6Quad SabreAuto) Signed-off-by: Julien Olivain <julien.olivain@oss.nxp.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/freescale_imx6ullevk: new defconfigGravatar Fabrice Goucem2020-03-241-0/+61
| | | | | | | | | | Add basic support for NXP's i.MX6 ULL EVK board: https://www.nxp.com/design/development-boards/i.mx-evaluation-and-development-boards/evaluation-kit-for-the-i.mx-6ull-and-6ulz-applications-processor:MCIMX6ULL-EVK Signed-off-by: Fabrice Goucem <fabrice.goucem@oss.nxp.com> Signed-off-by: Fabrice Goucem <fabrice.goucem@nxp.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/freescale_imx7dsabresd: bump BSP components to 4.19.35_1.1.0Gravatar Julien Olivain2020-03-241-89/+0
| | | | | | | | | Also dropped uboot patch accepted upstream in v2018.05 in commit f916757300c15aa1a3f0ccc98e7abb8a84c97da0 Tested-by: Julien Olivain <julien.olivain@oss.nxp.com> Signed-off-by: Julien Olivain <julien.olivain@oss.nxp.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* Merge branch 'next'Gravatar Peter Korsgaard2020-03-091-0/+76
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * configs/freescale_imx8qmmek: new defconfigGravatar Maeva Manuel2020-03-051-0/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch documents the Buildroot support for the NXP i.MX8QM MEK board. You will find a reference to the board on nxp.com: https://www.nxp.com/design/development-boards/i.mx-evaluation-and-development-boards/i.mx-8quadmax-multisensory-enablement-kit-mek:MCIMX8QM-CPU You can also find the get started guide here: https://www.nxp.com/document/guide/get-started-with-the-i.mx-8quadmax-mek:GS-iMX-8QM-MEK Signed-off-by: Maeva Manuel <maeva.manuel@oss.nxp.com> Tested-by: Julien Olivain <julien.olivain@oss.nxp.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* | board/freescale: use correct ahab-container.img file nameGravatar Thomas Petazzoni2020-02-261-2/+2
|/ | | | | | | | | | | | | | | | Commit 3f8ace002831a01ed6aec59b704bd92c8a3b957f ("board/freescale/common/imx: add support for i.MX8") had its conflicts incorrectly tweaked when applied to Buildroot. The ahab-container.img is installed with this name (ahab-container.img) by the imx-firmware package, and not mx8qm-ahab-container.img or mx8qx-ahab-container.img. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Julien Olivain <juju@cotds.org> Tested-by: Julien Olivain <juju@cotds.org> Reported-by: Fabio Estevam <festevam@gmail.com> Tested-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/freescale/common/imx: add support for i.MX8Gravatar Maeva Manuel2020-02-052-3/+8
| | | | | Signed-off-by: Maeva Manuel <maeva.manuel@nxp.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/freescale/common/imx: use nodtb variant in uboot images for 8MGravatar Julien Olivain2019-12-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In board/freescale/common/imx/imx8-bootloader-prepare.sh, when invoking mkimage_fit_atf.sh, the U-Boot DTB is passed as parameter, to be included in the FIT image. This parameter usually comes from BR2_ROOTFS_POST_SCRIPT_ARGS config option. The variable BL33=u-boot.bin set in the invocation uses the u-boot image which is including its embedded DTB. This means the U-Boot DTB is included twice. The upstream script mkimage_fit_atf.sh plus its Buildroot patch are meant to use by default the nodtb variant and use the DTB in a separate image. See [1] and [2]. The U-Boot default DTB which will be included in u-boot.bin image is selected with U-Boot CONFIG_DEFAULT_DEVICE_TREE, or DEVICE_TREE variable when invoking "make". If one of those option is not aligned to the BR2_ROOTFS_POST_SCRIPT_ARGS config option, it's possible the two included U-Boot DTBs are different. If such case happens, the built-in DTB is always used, regardless of the other one, selected with BR2_ROOTFS_POST_SCRIPT_ARGS. For example, this case happens for TechNexion Pico Pi i.MX8M and i.MX8MMini. Since the U-Boot defconfig assumes the nodtb version will be used, it does not set the default DTB. The u-boot.bin will include the fsl-imx8mm-evk instead. Including the wrong board DTB breaks the USB and UMS commands (and possibly others). Since those boards does not have SD card slots, a recovery serial download is needed at every update. This patch make sure that only the separate U-Boot DTB will be included in the FIT image by using the nodtb variant. [1] https://source.codeaurora.org/external/imx/imx-mkimage/tree/iMX8M/mkimage_fit_atf.sh?h=rel_imx_4.14.98_2.0.0_ga#n35 [2] https://git.busybox.net/buildroot/tree/package/imx-mkimage/0001-add-support-for-overriding-bl32-and-bl33-not-only-bl.patch?h=2019.11#n42 Signed-off-by: Julien Olivain <juju@cotds.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/freescale/imx6-sabresd: Remove unneeded CONFIG_VIDEO_CODA fragmentGravatar Fabio Estevam2019-12-231-1/+0
| | | | | | | | | Since kernel commit a5a56f07c272 ("ARM: imx_v6_v7_defconfig: Select the coda driver as module") the VPU coda driver is selected as module, so it can be safely removed from linux_qt5.fragment. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/freescale/imx6-sabresd: Fix the Qt5 display namesGravatar Fabio Estevam2019-12-231-2/+2
| | | | | | | | The correct syntax that Qt5 understands for display names is "HDMI1" and "LVDS1", so fix it accordingly. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/freescale/imx6-sabresd: improve Qt5 Cinematic Demo instructionsGravatar Fabio Estevam2019-10-101-0/+1
| | | | | | | | | | | | QT_QPA_EGLFS_ALWAYS_SET_MODE=1 needs to be exported, otherwise the Qt5 Cinematic demo throws a storm of the following messages: Could not queue DRM page flip on screen LVDS1 (Invalid argument) Improve the instructions by mentioning such requirement. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/freescale: Fix wrong config for u-boot.imgGravatar Joris Offouga2019-07-101-1/+1
| | | | | Signed-off-by: Joris Offouga <offougajoris@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* board/freescale: Introduce UBOOTBIN in spl genimage templatesGravatar Joris Offouga2019-07-093-4/+8
| | | | | | | | | | | | | | | | | | | For boards like imx7d-pico, u-boot.img changes to u-boot-dtb.img in U-Boot v2019.07. Therefore, we need to pick u-boot.img or u-boot-dtb.img depending on the board configuration. Just like was done in commit 52344e556fa03 for the generic genimage template, replace the U-Boot file name with UBOOTBIN, which is set according to the BR2_TARGET_UBOOT_FORMAT_* option. We also need to set the correct value for this variable for the u-boot.img and u-boot-dtb.img cases. While we're at it, rename the partition from 'u-boot-img' to 'u-boot', to stay consistent with the generic genimage template. Signed-off-by: Joris Offouga <offougajoris@gmail.com> [Arnout: correct u-boot.img condition, rework commit log] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* configs/freescale_imx8mmevk: new defconfigGravatar Gilles Talis2019-06-171-0/+71
| | | | | Signed-off-by: Gilles Talis <gilles.talis@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* boards/freescale/common: Introduce genimage.cfg.template_no_boot_part_splGravatar Joris Offouga2019-06-102-0/+34
| | | | | | | | | | | | | | | | | Modern U-Boot assumes a layout where the first partition is an ext2 and the kernel and dtb can be found in /boot. In other words, a layout without boot partition. Add a genimage.cfg template for the freescale defconfigs with such a layout. For now, only the layout with SPL+u-boot.img is added. It's unlikely that the u-boot.imx approach will be used. Signed-off-by: Joris Offouga <offougajoris@gmail.com> Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Tested-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* board/freescale/common/imx: add support for i.MX8MMGravatar Julien Olivain2019-06-102-0/+11
| | | | | | | | | For the boot image creation for the i.MX8MM, the main differences with i.MX8M are that there is no HDMI firmware image passed, and the ATF load address is different. Signed-off-by: Julien Olivain <juju@cotds.org> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* board/freescale: single T1xxx/2xxx readme.txtGravatar Matt Weber2019-04-171-2/+29
| | | | | | | | | The readme.txt would contain similar content for either processor family, so this patch consolidates the usage and adds the new T2080 notes. Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* board/freescale/common/imx: fix imx8-bootloader-prepare for i.MX8MGravatar Julien Olivain2019-03-071-1/+1
| | | | | | | | | | | | | | The update of imx-mkimage in commit c14d92d439062caa6c94c4a93b20ab18aa20554c broke the imx8-bootloader-prepare.sh script for i.MX8M, used in freescale_imx8mqevk_defconfig The updated mkimage_fit_atf.sh script in imx-mkimage now needs a ATF_LOAD_ADDR variable, which was set to 0x00910000 for i.MX8M. Signed-off-by: Julien Olivain <juju@cotds.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/freescale_imx8qxpmek: new defconfigGravatar André Hentschel2019-02-231-0/+67
| | | | | | Signed-off-by: André Hentschel <andre.hentschel@zf.com> [Thomas: update DEVELOPERS file] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/freescale/common/imx: add support for i.MX8XGravatar André Hentschel2019-02-233-6/+29
| | | | | Signed-off-by: André Hentschel <andre.hentschel@zf.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/freescale/common/imx: fix typoGravatar André Hentschel2018-12-271-1/+1
| | | | | Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/freescale/imx8mqevk: fix typos in readmeGravatar André Hentschel2018-12-271-2/+2
| | | | | Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/freescale_imx7dsabresd: Apply upstream U-Boot fixGravatar Fabio Estevam2018-12-211-0/+89
| | | | | | | | | | | | | | | | | | | | | | NXP U-Boot tree has the following build issue: MKIMAGE u-boot-dtb.imx Error: No BOOT_FROM tag in board/freescale/mx7dsabresd/imximage.cfg.cfgtmp arch/arm/imx-common/Makefile:91: recipe for target 'u-boot-dtb.imx' failed make[2]: *** [u-boot-dtb.imx] Error 1 Makefile:877: recipe for target 'u-boot-dtb.imx' failed This issue has been fixed by commit f916757300c1 ("imx: Create distinct pre-processed mkimage config files"), so backport this commit to the NXP U-Boot tree in order to fix the build error. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/136980027 Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* configs/imx6sabre: Create distinct pre-processed mkimage config filesGravatar Fabio Estevam2018-11-232-55/+89
| | | | | | | | | | | | | | | | Commit 0c4bccf9e882 ("configs/imxsabre: Fix U-Boot parallel build issue") tried to fix the parallel build issue, but the real fix was developed later by Trent Piepho later, so add such commit to fix Buildroot build failures on rel_imx_4.9.x_1.0.0_ga NXP branch. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/123771053 https://gitlab.com/buildroot.org/buildroot/-/jobs/123771054 https://gitlab.com/buildroot.org/buildroot/-/jobs/123771055 Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/freescale/imx8mqevk: remove hardware support section from readmeGravatar Gary Bisson2018-08-291-6/+0
| | | | | | | | | | | | | | | At first the support for i.MX8MQ processors was minimal, hence this section in the readme file. Since then, GPU support was added [1] in master and VPU in next [2]. So drop this section as it is confusing people and no one maintains it. [1] https://git.buildroot.net/buildroot/commit/?id=84afda9c [2] https://git.buildroot.net/buildroot/commit/?id=82732071 Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/freescale/common/imx: make imx8-bootloader-prepare more genericGravatar Gary Bisson2018-07-191-2/+6
| | | | | | | | | | | | Allow user to override the hardcoded dtb name by using BR2_ROOTFS_POST_SCRIPT_ARGS. The only user of this script, configs/freescale_imx8mqevk, is updated accordingly. Cc: Fabio Estevam <festevam@gmail.com> Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* imx/post-image: Allow flashing u-boot-dtb.imx in the SD cardGravatar Fabio Estevam2018-07-182-1/+12
| | | | | | | | Add support for flashing the u-boot-dtb.imx binary in the SD card when a target selects BR2_TARGET_UBOOT_FORMAT_DTB_IMX. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* imx8mqevk: readme: Write the SoC name in capital lettersGravatar Fabio Estevam2018-05-171-4/+4
| | | | | | | | Use "i.MX8MQ" (in capital letters) for the SoC name for better readability. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* imx8mqevk: readme: Put switch configuration for SD card bootGravatar Fabio Estevam2018-05-171-0/+3
| | | | | | | | Improve the documentation by adding the configuration of SW801 and SW802 switches for SD card boot. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/freescale_imx31_3stack: Remove targetGravatar Fabio Estevam2018-05-062-93/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Currently this target fails to build: arch/arm/mach-imx/built-in.o: In function `init_mmdc_lpddr2_settings': platform-spi_imx.c:(.text+0x8f18): undefined reference to `imx6sll_lpddr2_freq_change' arch/arm/mach-imx/built-in.o: In function `imx6ul_cpuidle_init': platform-spi_imx.c:(.init.text+0x195c): undefined reference to `mx6ull_lpm_wfi_end' platform-spi_imx.c:(.init.text+0x1960): undefined reference to `mx6ull_lpm_wfi_start' platform-spi_imx.c:(.init.text+0x1964): undefined reference to `imx6ull_low_power_idle' arch/arm/mach-imx/built-in.o: In function `imx6sl_init_late': platform-spi_imx.c:(.init.text+0x56f0): undefined reference to `imx6sll_cpuidle_init' Makefile:969: recipe for target 'vmlinux' failed NXP 4.9 kernel does not properly support mx31, so better remove this target. mx31_3stack board is currently supported in U-Boot and kernel mainline, so if someone is interested on this board, then a target can be introduced later which uses these mainline components. Currently I do not have access to this board, so remove it its defconfig for now. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/66561688 Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* configs/freescale_imx8mqevk: new defconfigGravatar Erik Larsson2018-04-121-0/+83
| | | | | | Signed-off-by: Erik Larsson <karl.erik.larsson@gmail.com> Signed-off-by: Christopher Dahlberg <crille.dahlberg@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/freescale/common/imx: add i.MX8 genimage templateGravatar Erik Larsson2018-04-122-1/+43
| | | | | | | | | This commit adds a genimage template file that is used for i.MX8 platforms in the common i.MX post-image script. Signed-off-by: Erik Larsson <karl.erik.larsson@gmail.com> Signed-off-by: Christopher Dahlberg <crille.dahlberg@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/freescale/common/imx: add imx8-bootloader-prepare scriptGravatar Erik Larsson2018-04-121-0/+16
| | | | | | | | | This commit adds an imx8-bootloader-prepare.sh script that will be used by i.MX8 platforms to prepare their bootloader image. Signed-off-by: Erik Larsson <karl.erik.larsson@gmail.com> Signed-off-by: Christopher Dahlberg <crille.dahlberg@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/freescale/common/imx: make post-image.sh arm64 compatibleGravatar Erik Larsson2018-04-121-2/+4
| | | | | | | | | | | | | This commit makes the common post-image.sh script used by Freescale platforms compatible with arm64: - Support having DTBs in sub-folders - Support a kernel image in the 'Image' format Signed-off-by: Erik Larsson <karl.erik.larsson@gmail.com> Signed-off-by: Christopher Dahlberg <crille.dahlberg@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/imxsabre: Fix U-Boot parallel build issueGravatar Fabio Estevam2018-03-241-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes imximage throws the following error: MKIMAGE u-boot-dtb.imx Error: No BOOT_FROM tag in board/freescale/mx6sxsabresd/imximage.cfg.cfgtmp arch/arm/imx-common/Makefile:91: recipe for target 'u-boot-dtb.imx' failed Later on, when running mkimage for the u-boot.imx it will succeed in finding the IVT offset. Looks like some race condition happening during parallel build when processing mkimage for u-boot-dtb.imx and u-boot.imx. A proper fix still needs to be implemented, but as a workaround let's remove the error when the IVT offset is not found. It is useful to have such message, especially during bring-up phase, but the build error that it causes is severe, so better avoid the build error for now. The error checking can be re-implemented later when we have a proper fix. This workaround has already been applied in mainline U-Boot: http://git.denx.de/?p=u-boot.git;a=commit;h=b5b0e4e351e20a606de22db6a56ad6bc1e2aa8fd Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/59015347 Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/freescale_t1040d4rdb_defconfig: new boardGravatar Matt Weber2018-03-111-0/+24
| | | | | | | | | | | | | | | | | | | The T1 QoriQ from NXP has had a few varients of RDB dev boards. This target is against the latest D4RDB version. Any of the other versions before D4RDB (plain RDB), may require backing off the uboot version to SDK 1.6 and/or adjusting the kernel dtb used. This board configuration provides an upstream kernel build which has been verified to boot on target. The target assumes the user still uses the NXP suggested prebuilts in the SDK2.0 (last release for PowerPC). If a uboot rebuild is required, the source for SDK2.0 can be found in the following repo. http://git.freescale.com/git/cgit.cgi/ppc/sdk/u-boot.git/tag/?id=fsl-sdk-v2.0-1703 Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* configs/freescale_p1025twr_defconfig: new boardGravatar Matt Weber2018-03-111-0/+25
| | | | | | | | | | | | | | | Replacing the p1010rdb, this board is based on the tower development system still available by NXP. The board is setup to track upstream Linux and has been bumped from 4.1 to 4.15 (compared to p1010). The target does not build uboot and assumes the user still uses the NXP suggested prebuilts in the SDK2.0 (last release for PowerPC). If a uboot is required, the source for SDK2.0 can be found in the following repo. http://git.freescale.com/git/cgit.cgi/ppc/sdk/u-boot.git/tag/?id=fsl-sdk-v2.0-1703 Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>