aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-imx6
Commit message (Collapse)AuthorAgeFilesLines
* imx6: use BUILD_DEVICES in uboot-imx6 for mx6cuboxiFelix Fietkau2018-09-051-0/+2
| | | | | | Fixes build with the default profile Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uboot-imx6: fall back to MMC for SPL if boot mode is invalidFelix Fietkau2018-09-031-0/+26
| | | | | | Fixes boot on Hummingboard Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uboot-imx6: remove obsolete patchFelix Fietkau2018-09-031-87/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uboot-imx6: install images into STAGING_DIR_IMAGEFelix Fietkau2018-09-031-0/+7
| | | | | | Will be used by a new combined image for cubox Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: Initial support for SolidRun CuBox-i devices based on i.MX6 processors ↵Vladimir Vid2018-08-251-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (i1, i2, i2eX, and i4Pro). - Specifications - CuBox i1: - SoC: i.MX6 Solo - Cores: 1 - Memory Size: 512MB - GPU: GC880 - Wifi/Bluetooth: Optional - USB 2.0 ports: 2 - Ethernet: 10/100/1000 Mbps CuBox i2 | i2eX: - SoC: i.MX6 Dual Lite - Cores: 2 - Memory Size: 1GB - GPU: GC2000 - Wifi/Bluetooth: Optional - USB 2.0 ports: 2 - Ethernet: 10/100/1000 Mbps CuBox i4Pro | i4x4: - SoC: i.MX6 Quad - Cores: 4 - Memory Size: 2/4 GB - GPU: GC2000 - Wifi/Bluetooth: Build In - USB 2.0 ports: 2 - Ethernet: 10/100/1000 Mbps Built-in u-boot requires SPL (secondary program loader) to be present on the SD-card regardless of the image type which will be loaded. SPL is generated by the u-boot-mx6cuboxi package which is preselected by the target device and can be found in bin/u-boot-mx6cuboxi directory. Flashing the SPL: dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=4 dd if=bin/targets/imx6/generic/u-boot-mx6cuboxi/SPL of=/dev/mmcblk0 bs=1K seek=1 Preparing the firmware on the SD-card: (echo o; echo n; echo p; echo 1; echo ''; echo ''; echo w) | fdisk /dev/mmcblk0 mkfs.ext4 /dev/mmcblk0p1 mount /dev/mmcblk0p1 /mnt tar -xzf bin/targets/imx6/generic/openwrt-imx6-device-cubox-i-rootfs.tar.gz -C /mnt/ mkdir -p /mnt/boot cp bin/targets/imx6/generic/{*-uImage,*.dtb,*.scr} /mnt/boot/ Generated u-boot.img needs to be placed on the first partition: cp bin/targets/imx6/generic/u-boot-mx6cuboxi/u-boot.img /mnt/ To boot from the SD card: Boot script which sets mmc/dtb parameters and boots the board is automatically sourced. If this does not work for any reason: mmc dev 0; load mmc 0:1 $scriptaddr boot/boot.scr; source $scriptaddr Currently imx6dl-cubox-i.dtb (Dual Lite) and imx6q-cubox-i.dtb (Quad) device trees are available. Tested on i4Pro, MMC, USB (+ HiD), HDMI and ethernet ports are working. Wireless and bluetooth are broken ATM. According to SolidRun forums, BCM4329/BCM4330 firmware is used which works fine on older kernels. Signed-off-by: Vladimir Vid <vladimir.vid@sartura.hr>
* uboot-imx: bump to 2018.03 which fixes the build issues with fdt64_t ↵Vladimir Vid2018-07-079-1636/+26
| | | | | | | | | | | redefinitions * change mx6qsabresd to mx6qsabres to match defconfig name * merge wanboard profiles since there is only one defconfig for the target device * move wanboard options from wandboard.h to defconfig * remove legacy patches Signed-off-by: Vladimir Vid <vladimir.vid@sartura.hr>
* uboot-imx6: fix build with GCC 7Hauke Mehrtens2018-03-134-5/+1344
| | | | | | | | Backport the compiler support patches from upstream u-boot to this older version to make it compile with GCC 7. This was found by build bot. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* uboot-imx6: switch to u-boot.mkFelix Fietkau2017-01-241-88/+29
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: clean up download hashesFelix Fietkau2016-12-161-1/+1
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uboot-imx6: add support for i.MX6q SABRE boardLuka Perkov2015-12-281-0/+5
| | | | | | | | | | U-boot ships with the `mx6qsabresd` configuration file to configure a bootloader suitable for booting the Freescale i.MX6q SABRE evaluation board from SD card. Expose this option in the uboot-imx6 Makefile. Signed-off-by: Keno Fischer <keno@juliacomputing.com> SVN-Revision: 48014
* uboot-imx6: fix build with gcc-5John Crispin2015-11-244-0/+266
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47611
* license info - revert r43155John Crispin2014-11-031-3/+0
| | | | | | | | turns out that r43155 adds duplicate info. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43167
* Add more license tags with SPDX identifiersJohn Crispin2014-11-031-0/+3
| | | | | | | | | | | | | | | | | | Note, that licensing stuff is a nightmare: many packages does not clearly state their licenses, and often multiple source files are simply copied together - each with different licensing information in the file headers. I tried hard to ensure, that the license information extracted into the OpenWRT's makefiles fit the "spirit" of the packages, e.g. such small packages which come without a dedicated source archive "inherites" the OpenWRT's own license in my opinion. However, I can not garantee that I always picked the correct information and/or did not miss license information. Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 43155
* uboot-imx6: update to 2014.04Luka Perkov2014-05-203-22/+28
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 40805
* uboot-imx6: update to 2013.10Luka Perkov2013-10-312-18/+13
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38625
* u-boot: prefer mirror2.openwrt.org over ftp.denx.de - the denx ftp is slow ↵Felix Fietkau2013-10-281-1/+3
| | | | | | | | and unreliable Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38559
* uboot-imx6: fix typo in nitrogen6dlXgLuka Perkov2013-09-261-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38205
* uboot-imx6: add support for Nitrogen6x boardsLuka Perkov2013-09-261-0/+30
| | | | | | Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> SVN-Revision: 38204
* uboot-imx6: alphabetize wandboard variantsLuka Perkov2013-09-261-6/+6
| | | | | | Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> SVN-Revision: 38203
* uboot-imx6: update to v2013.07Luka Perkov2013-08-293-11/+19
| | | | | | | | Update includes upstream support for Wandboard Quad too. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37858
* uboot-imx6: add new packageLuka Perkov2013-05-293-0/+190
SVN-Revision: 36754