aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/imx6/image
Commit message (Collapse)AuthorAgeFilesLines
* imx6: use DTS_DIR at image build codeAdrià Llaudet2018-02-101-1/+1
| | | | | | | | | Use "$(DTS_DIR)", defined at include/image.mk, instead of "$(LINUX_DIR)/arch/$(LINUX_KARCH)/boot/dts" in order to generalize and allow a better Device/* device-tree parameterization (i.e. DEVICE_DTS_DIR and DTS_DIR). Signed-off-by: Adrià Llaudet <adria.llaudet@gmail.com>
* treewide: add only one device when appending to TARGET_DEVICESLuis Araneda2017-12-121-4/+3
| | | | | | | | | This will avoid some conflicts when doing a git rebase or merge, specially when adding support to a new device. Signed-off-by: Luis Araneda <luaraneda@gmail.com> [drop brcm47xx changes which rename the images] Signed-off-by: Mathias Kresin <dev@kresin.me>
* imx6: add support for GW5904Tim Harvey2017-03-121-1/+3
| | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* imx6: added fixfdt to bootscriptTim Harvey2017-03-121-0/+3
| | | | | | | If a 'fixfdt' uboot script exists, execute it prior to bootm to allow easy bootloader env based fdt fixups and tweaks Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* imx6: add missing dtb for imx6dl-gw553xTim Harvey2017-03-121-0/+1
| | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* imx6: enable the chipidea usb driver in the kernel config instead of ↵Felix Fietkau2017-01-101-3/+1
| | | | | | packaging it Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: remove kmod-thermal-imx, it is already enabled in the kernel configFelix Fietkau2017-01-101-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: build support for the ventana ethernet expansion board into the kernel ↵Felix Fietkau2017-01-101-1/+1
| | | | | | instead of packaging it Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: fix image boot ubifs compression optionFelix Fietkau2017-01-091-1/+1
| | | | | | --force-compr was added by the xz compression patch, which is gone now. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: drop UBI EOF marker from images by defaultFelix Fietkau2016-09-121-1/+0
| | | | | | | | Only add them where they are actually required. Should help with compatibility issues with stock U-Boot images that access UBI Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: use k as unit suffix for blocksizeMathias Kresin2016-09-041-2/+2
| | | | | | | Use k as unit suffix for kilobyte to have a the same unit regardless of the used filesystem. Signed-off-by: Mathias Kresin <dev@kresin.me>
* imx6: image: remove pca955x/ds1672/at24 from Ventana kernel modulesTim Harvey2016-09-081-1/+1
| | | | | | These need to be static in the kernel for Ventana Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* imx6: add GW553x supportTim Harvey2016-09-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Gateworks Ventana GW553x is a single-board computer based on the NXP IMX6 SoC with the following features: * IMX6 DualLite Soc (supports IMX6S,IMX6DL,IMX6Q) * small form factor (35x70mm) * 512MB DDR3 DRAM (2x32bit) (options up to 2GB) * 256MB NAND flash (4GB option) * Gateworks System Controller: - hardware watchdog - hardware monitor - pushbutton controller - EEPROM storage - power control * JTAG programmable * 1x miniPCI socket (with PCIe, USB, SIM) * 1x microSD socket * 1x SIM socket * Inertial Module (LSM9DS1 9DOF: 3x acc, 3x rate, 3x mag) * analog CVBS video in * GPS (optional uBlox EVA-M8M) * Application headers: - 2x TTL UART (TX/RX) - 4x TTL GPIO (3x configurable as PWM) - 3x CVBS Analog video input (1x decoder with 3x selectable inputs) * Front panel connectors: * micro-HDMI audio/video out - 1x user programmable LED - 1x configurable user pushbutton - 1x USB OTG See http://www.gateworks.com for more info Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* imx6: disable EOF markers on UBIFelix Fietkau2016-08-311-0/+1
| | | | | | The boot loader does not recognize them and might mess up the volume Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: Fix pointing to msata/mmc bootdevsKoen Vandeputte2016-08-221-4/+4
| | | | | | | | | Point to correct devices when booting from msata or MMC Changes fetched from Gateworks git Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com> [Jo-Philipp Wich: rebased to apply against current LEDE version] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* imx6: fix generating bootfs in imagebuilder (FS#102)Jo-Philipp Wich2016-08-201-1/+7
| | | | | | | | | | | | The image builder does not bundle sub-directories within $(KERNEL_BUILD_DIR), therfore the intermediate "ventana-uImage.boot" directory is not shipped, leading to failures with "make image" later on. To circumvent the issue, store the intermediate boot files as tar archive instead of putting them into a directory to ensure that they end up in the final image builder tarball. Fixes FS#102 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* imx6: clean up / fix ventana image build codeFelix Fietkau2016-07-311-69/+43
| | | | | | | | | Fix ubifs mkfs options Use standard Build/* commands instead of doing everything in the hackish ubi-boot-overlay template Fix bootfs.tar.gz build error Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: use ubinize-image.sh to fix build with per-device rootfsFelix Fietkau2016-07-313-64/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: clean up redundant code related to DEVICE_DTSFelix Fietkau2016-07-151-3/+0
| | | | | | | | It is used by a core build template, so the variable should be initialized and added to DEVICE_VARS in the core. Same for DEVICE_DTS_DIR Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: fix redundant PROFILES overrides in image makefileFelix Fietkau2016-07-021-2/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: fix build breakage introduced in 9e41c3f54e3cFelix Fietkau2016-07-021-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: fix image makefile indentation for Device/ sectionsFelix Fietkau2016-07-021-40/+40
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: move profile definitions to the image/MakefileJohn Crispin2016-05-231-3/+12
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* branding: add LEDE brandingJohn Crispin2016-03-241-1/+1
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* imx6: images: add bootfs.tar.gz build artifactLuka Perkov2016-04-191-1/+30
| | | | | | | | | | In order to create a bootable block storage device, both bootfs and rootfs tarballs are required. However, our current scheme does not export a bootfs tarball so add the packaging of it here. Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> SVN-Revision: 49196
* imx6: image: Add missing kernel prefixJohn Crispin2016-03-041-0/+1
| | | | | | Signed-off-by: Petr Štetiar <ynezz@true.cz> SVN-Revision: 48909
* imx6: images: ventana: change name of ubi outputLuka Perkov2015-12-291-3/+4
| | | | | | | | | | | | | | Change the name of the .ubi produced to strip out the word 'factory'. This is mainly due to the fact that there is no difference between the Ventana 'factory' image vs the standard image. Name changes from: openwrt-imx6-ventana-squashfs.nand-factory_<size>.ubi to openwrt-imx6-ventana-squashfs-nand_<size>.ubi Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> SVN-Revision: 48016
* imx6: ventana: remove invalid video options from bootscriptLuka Perkov2015-11-201-75/+1
| | | | | | | | | Removed video related kernel params that are only appropriate for the Freescale downstream vendor kernel and not appriate for mainline linux. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 47532
* imx6: convert ventana images to squashfs+ubifs overlayLuka Perkov2015-11-183-111/+285
| | | | | | | | | | | | | | | | | | | | | | Replace the ventana ubi images from a single rootfs volume containing the rootfs as well as kernel+dtbs in the boot/ subdir to a multi-volume ubi containing kernel+dtbs+bootscript in 'root' ubifs volume, rootfs in 'rootfs' squasfs volume, and rootfs_data an empty ubifs volume. At the same time move ventana image creation over to using the new TARGET_DEVICE syntax as a cleanup. Additionally removed FIT image creation as it is recommended that this be done manually to produce signed FIT images if needed. Note that a bootscript is needed for Ventana to change its default mtdparts to rename the 2nd partition from 'rootfs' to 'ubi'. This is because there are patches in OpenWrt kernels that try to auto-attach and auto-mount and these get in the way if the mtd partition is named 'rootfs'. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 47508
* imx6: image: Remove custom mkfs targz override as base should be fine nowFelix Fietkau2015-10-311-5/+0
| | | | | | | | | It was wrong anyway, missing file sort order parameter which was fixed in base month ago. Signed-off-by: Petr Štetiar <ynezz@true.cz> SVN-Revision: 47312
* imx6: image: Refactor sanitize_profile_name using PROFILE_SANITIZED variableFelix Fietkau2015-10-311-13/+9
| | | | | | Signed-off-by: Petr Štetiar <ynezz@true.cz> SVN-Revision: 47308
* imx6: make the default config bootable on ventanaJohn Crispin2014-11-241-3/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43369
* imx6: fix image build for Generic profile.Luka Perkov2014-09-091-5/+7
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 42455
* imx6: drop ventana kernel/rootfs hackLuka Perkov2014-08-081-3/+3
| | | | | | | | | In r41578 this was added in order to make default images bootable for the BB release. We need more generic approach for this. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42071
* target/linux/*/image/Makefile: use new dts path variableJohn Crispin2014-07-211-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41791
* imx6: put kernel and dtb into rootfs by defaultJohn Crispin2014-07-101-3/+3
| | | | | | | | this will make the rc1 images boot with the default config. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41578
* imx6: merge all gateworks boards into one profileLuka Perkov2013-11-181-16/+15
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38858
* imx6: add support for more then one nand type per profileLuka Perkov2013-11-181-8/+22
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38857
* imx6: minor image cleanupLuka Perkov2013-10-311-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38628
* imx6: use more descriptive function nameLuka Perkov2013-10-231-6/+6
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38521
* imx6: use more common name for ubi(fs) imagesLuka Perkov2013-10-231-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38520
* imx6: add support for building uImageLuka Perkov2013-10-231-5/+25
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38518
* imx6: fix symlink of dtb filesLuka Perkov2013-10-231-1/+1
| | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 38510
* imx6: make symlinks for dtb'sLuka Perkov2013-10-221-0/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38496
* imx6: reorganize build systemLuka Perkov2013-10-182-33/+87
| | | | | | | | | | | | Changes include: * switching to profiles * adding ubifs support * building image for GW54XX board Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38441
* imx6: fix file names when building imagesLuka Perkov2013-10-171-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38434
* build: move mkits.sh script to more common placeLuka Perkov2013-10-161-12/+15
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38430
* imx6: add support for gw5400-aLuka Perkov2013-07-151-1/+2
| | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 37363
* imx6: use $PATH to locate dtc binaryLuka Perkov2013-07-151-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37362
* targets: prepare for supporting normal and initramfs imagesFlorian Fainelli2013-06-271-1/+1
| | | | | | | | | | | | In order to support both normal images and initramfs, ensure that each target sets KERNELNAME properly so that the generic kernel building code can copy the corresponding files over $(KDIR) with the appropriate extension. Update the various paths to the kernel and wrapper images from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo). Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37049