summaryrefslogtreecommitdiffstats
path: root/board/freescale/common
Commit message (Collapse)AuthorAgeFilesLines
* board/freescale/common/imx: fix typoAndré Hentschel2018-12-271-1/+1
| | | | | Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/freescale/common/imx: make imx8-bootloader-prepare more genericGary 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 cardFabio 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>
* board/freescale/common/imx: add i.MX8 genimage templateErik 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 scriptErik 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 compatibleErik 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>
* imx: Introduce an SPL genimage templateFabio Estevam2017-09-242-1/+56
| | | | | | | | Introduce a genimage template for booting SPL + u-boot.img U-Boot binaries. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* freescale: Create the board/freescale/common/imx/ directoryFabio Estevam2016-11-072-1/+1
| | | | | | | | | | | | | In order to have a better hierarchy for the genimage scripts used by NXP mx25, mx51, mx53, mx6, mx7 SoCs, let's place them inside the board/freescale/common/imx/ directory. This helps in creating a more natural separation between the mxs scripts that are placed inside the board/freescale/common/mxs/ directory. Suggested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* freescale: Add a standard genimage script for MX23/MX28Fabio Estevam2016-11-062-0/+93
| | | | | | | | | | | | | | Add a standard genimage script for the MXS processors (MX23 and MX28). Based on the common scripts for the other imx devices: board/freescale/common/genimage.cfg.template board/freescale/common/post-image.sh This makes it easier to add new MX23/MX28 boards configurations into Buildroot. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* board/freescale: factorize genimage logicGeorges Savoundararadj2016-09-112-0/+94
For the boards imx6ulevk, imx6sabresd, mx25pdk, mx51evk, mx53loco, warpboard: * Replace genimage.cfg with a common Freescale genimage template named genimage.cfg.template because they all use the same layout. The only difference comes from the device tree blobs. * Replace each post-image.sh script with a generic post-image.sh script which is able to generate the right genimage.cfg depending on: ** the image type (zImage or uImage) from BR2_LINUX_KERNEL_UIMAGE ** the device tree blobs from BR2_LINUX_KERNEL_INTREE_DTS_NAME ** the rootfs type (ext2, ext3 or ext4) from BR2_TARGET_ROOTFS_EXT2 * Fix the readme.txt files accordingly Signed-off-by: Georges Savoundararadj <savoundg@gmail.com> Cc: Fabio Estevam <festevam@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Yann E. MORIN <yann.morin.1998@free.fr> [Thomas: remove handling of rootfs type, using rootfs.ext2 in all cases is fine, rootfs.ext3 and rootfs.ext4 are just symbolic links to it.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud