Commit Graph

332 Commits (fbd4214bb0727268aa535af5b600d38939ec8dbc)

Author SHA1 Message Date
Luka Perkov 71a92988e3 imx6: remove obsolete VENTANA_DTS from profile
The device-tree files are now specified in the image Makefile

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 47512
9 years ago
Luka Perkov baa8b933ec imx6: add Vetnana LVDS support
These patches have been submitted to upstream Linux and are pending acceptance.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 47511
9 years ago
Luka Perkov 7b931ba95c imx6: ventana: fix GW16083 device-tree patch
The 206-ARM-imx-ventana-added-GW16083-to-device-tree.patch merged wrong in
the conversion from 3.18 to 4.1. This patch resolves that and puts the
device-tree nodes in the correct place.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 47510
9 years ago
Luka Perkov 5f3d29f4e6 imx6: drop support for kernel 3.18
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 47509
9 years ago
Luka Perkov 03401fed5e imx6: convert ventana images to squashfs+ubifs overlay
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
9 years ago
Luka Perkov ca26bf8932 imx6: kernel: add UBI_BLOCK support
UBI_BLOCK support is needed for mounting squashfs over UBI

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 47507
9 years ago
Luka Perkov 486dc85e72 imx6: switch to v4.1
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 47506
9 years ago
Luka Perkov 8c65560497 imx6: add Gateworks GW551x support
Upstream patch: e9d6d6b62f306ba83e1441af5daf2809a6167474

Add support for the Gateworks GW5510 board featuring:
 * i.MX6 SoC
 * up to 512MB DDR3
 * up to 2GB NAND flash
 * 1x miniPCIe socket (with USB)
 * HDMI out (micro-HDMI)
 * HDMI in (micro-HDMI) (currently supported by only vendor kernel)
 * TTL level I/O (supported by GW16111 breakout board):
  * I2C
  * 2x UART
  * CAN
  * 2x DIO (GPIO/PWM)
  * USB OTG

Also add support to OpenWrt build system

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 47505
9 years ago
Hauke Mehrtens 55a912f43e kernel: update kernel 3.18 to version 3.18.23
Changelog:
 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.22
 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.23

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47334
9 years ago
Felix Fietkau 6bc9a6d0a8 imx6: add v4.1 support
Build and boot tested on the following hardware:
 * GW54xx
 * GW53xx
 * GW52xx
 * GW51xx

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 47331
9 years ago
Felix Fietkau f5683a0a86 imx6: image: Remove custom mkfs targz override as base should be fine now
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
9 years ago
Felix Fietkau e09d32dd96 imx6: image: Refactor sanitize_profile_name using PROFILE_SANITIZED variable
Signed-off-by: Petr Štetiar <ynezz@true.cz>

SVN-Revision: 47308
9 years ago
Luka Perkov 9c7336e0f9 imx6: fix platform checking
Fix platform checking when configuring networks and when doing sysupgrade.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 47168
9 years ago
Felix Fietkau 1061f93476 imx6: disable ext2/ext3 filesystem support (ext4 is enough)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47032
9 years ago
Rafał Miłecki 39940fac6b imx6: add platform_pre_upgrade for sysupgrade
We're in process of cleaning nand_do_platform_check. Currently is leaves
a special mark in /tmp/sysupgrade-nand-path triggering some diffent code
path in nand_upgrade_stage1. This can be a bit confusing.

The plan is to have the check function only check the image and nothing
else. Then platform code (platform_pre_upgrade) should trigger NAND
specific upgrade path. This is what this patch implements.

This follows ar71xx, lantiq and partially bcm53xx.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46944
9 years ago
Jonas Gorski 76d079204d kernel: update 3.18 to 3.18.14
Changelogs:

* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14

Build tested on brcm63xx and ipq806x, runtested on brcm63xx.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 45711
9 years ago
Luka Perkov 22045c383d imx6: put uboot-envtools in DEFAULT_PACKAGES
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45478
9 years ago
Luka Perkov bb828e30b0 imx6: add missing patches from 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45378
9 years ago
Luka Perkov d21b92af8e imx6: drop 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45371
9 years ago
Luka Perkov 912a6371f8 imx6: switch to 3.18
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45370
9 years ago
Luka Perkov 1e2f88b17b imx: add initial version of 3.18 support
This is build tested only.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45125
9 years ago
John Crispin f04a268a04 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED
Disable ARCH_NEEDS_CPU_IDLE_COUPLED by-default in generic config, since
only one platfrom (omap) needs them.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44614
9 years ago
John Crispin fa097e5ae5 kernel: disbale HAMRADIO in generic config
HAMRADIO enabled in all generic configs, but no one platform directly
use related drivers/protocols. This symbol is only used for kmod-ax25
package modules. Furthermore, half of platforms explicitly disables
this symbol, what silently disables build of modules for kmod-ax25
package.

So disable HAMRADIO by-default in generic config, add it to kmod-ax25
package and remove it from platform specific configs.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44613
9 years ago
John Crispin 7886cced18 kernel: remove GENERIC_NET_UTILS from platform configs
CONFIG_GENERIC_NET_UTILS is selected by CONFIG_NET and already enabled
in generic config, so we don't need this symbol in platform specific
configurations.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44611
9 years ago
Luka Perkov b78cddafcc kernel: update 3.14 to 3.14.28
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43929
9 years ago
John Crispin 6d52fd203d kernel/modules: fix chipidea
it should needs to depend on imx and mxs

also remove duplicate kmod definition from mxs target

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43627
10 years ago
Felix Fietkau 9a495f6bbb kernel: refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43564
10 years ago
John Crispin 5f51cfcf55 imx6: make the default config bootable on ventana
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43369
10 years ago
Felix Fietkau c288d2d6d9 kernel: makefiles: make use of new var KERNEL_PATCHVER
replace all occurences of LINUX_VERSION with the cleaner
approach. future kernel upgrades must mostly touch only
one file. the only platform left is netlogic, because it
uses a intermediate kernel 3.14.16

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 43047
10 years ago
Felix Fietkau f35da063bc targets: remove useless quotes around KERNELNAME
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42780
10 years ago
Luka Perkov 02629d8f87 kernel: update 3.14 to 3.14.18
Targets were build tested and patches are refreshed.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42463
10 years ago
Luka Perkov 9ccacbaa40 imx6: fix image build for Generic profile.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 42455
10 years ago
Luka Perkov 20f48d27ea imx6: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42297
10 years ago
Luka Perkov eb75d320d1 imx6: kernel: backport upstream fix for IMX6DL 800MHz speed grade
A previous backported patch that adds freq/voltage operating points for the
IMX6DL processor can cause hang/crash (general instability) on IMX6DL
processors in the industrial/automative speed grades as they don't support
1GHz operation.

This adds another backported patch from mainline that uses IMX6 fuse settings
to properly remove invalid operating points for the particular CPU grade used.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 42294
10 years ago
Luka Perkov 24696a06ad imx6: update kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42149
10 years ago
Luka Perkov fa8e8d262e imx6: kernel: add GW5520 support
The GW5520 is a small form-factor single-board computer with the following
features:
 * 70x100mm form-factor
 * IMX6DL 800MHz SoC (IMX6Q optional)
 * 512MB 32bit DDR3 SDRAM (up to 2GB optional)
 * 256MB NAND FLASH (up to 2GB optional)
 * Gateworks System Controller
 * 2x front-panel Intel i210 GbE adapters with passive PoE support
 * 2x MiniPCIe sockets with USB support
 * 2x front-panel USB
 * 1x rear-panel full-size HDMI connector
 * 1x front-panel bi-color user LED
 * 1x front-panel user pushbutton
 * 1x rear-panel barrel jack for power
 * 1x Application connector with:
  * 2x TTL level UARTs
  * 10x TTL level Digital IO

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 42148
10 years ago
Luka Perkov dcacd65281 imx6: kernel: add GW16083 Ethernet Expansion Mezzanine support
The GW16083 Ethernet Expansion Mezzanine adds the following to supported
Gateworks baseboards:
 * 7-port Ethernet Switch
  * 4x RJ45 ports (ENET1-4) supporing 802.11af/at PoE (with optional PoE module)
  * 2x RJ45 ports or SFP module (ENET5-6) (auto-selected)

This series adds support for a phy driver that adds support for ENET5/ENET6
PHY adding initialization for those PHY's and a polling mechanism that detects
SFP insertion and configuration.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 42147
10 years ago
Luka Perkov 9d826428b7 imx6: kernel: add GW16082 miniPCI Expansion Mezzanine support
The GW16082 miniPCI Expansion Mezzanine has the INTA/B/C/D IRQ's reversed
from the PCI standard. This will soon be resolved in the bootloader via
devicetree, but in the meantime this will work around the issue.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 42146
10 years ago
Luka Perkov e47c4d7014 imx6: kernel: fix occasional link failure
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 42145
10 years ago
Luka Perkov fe5d39d66c imx6: kernel: backport an upstream pci hang fix
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 42144
10 years ago
Luka Perkov 97f26cad16 imx6: update upstream patch
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42081
10 years ago
Luka Perkov c84876702b imx6: drop 3.10 support
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42075
10 years ago
Luka Perkov 4c2c390a23 imx6: switch to 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42074
10 years ago
Luka Perkov 60fe58100c imx6: update upstream patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42073
10 years ago
Luka Perkov d5f94a4122 imx6: backport IMX6DL DVFS support from 3.15
This allows dynamic voltage and frequency scaling to work for IMX6DL CPU's.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 42072
10 years ago
Luka Perkov 2b6d364a2d imx6: drop ventana kernel/rootfs hack
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
10 years ago
John Crispin 7d8f187201 target/linux/*/image/Makefile: use new dts path variable
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41791
10 years ago
John Crispin ba63338d3f kernel: update to 3.10.49 Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41776
10 years ago
Gabor Juhos d0ad8c00b6 kernel: sort Kconfig options in kernel configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41614
10 years ago
John Crispin f88fde9689 imx6: put kernel and dtb into rootfs by default
this will make the rc1 images boot with the default config.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41578
10 years ago
John Crispin 994e5ce2f9 kernel: update 3.10.36->3.10.44
205-fix-headers_install.patch is obseleted by upstream commit 3246a0352e3d58380b9386570f1db1faf7edf8a8

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41351
10 years ago
Luka Perkov fa0b9bccea imx6: move imx6.sh to /lib/ for consistency
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41339
10 years ago
John Crispin cf80a59dcc imx6: add sysupgrade support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41277
10 years ago
John Crispin 1a60486acb imx6: the script populating /tmp/sysinfo/ was in the wrong path
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41276
10 years ago
Florian Fainelli 43c0ad0f00 imx6: fix typo on wandboard detection
Revision r41256 introduced a typo (wandaboard => wandboard), but later
revisions expect to match on "wandboard"

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 41262
10 years ago
John Crispin efcec0faaf imx6: use /lib/imx6.sh inside the uci-defaults script
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41257
10 years ago
John Crispin 2773bdfebf imx6: add a script to detect the board name and populate /tmp/sysinfo
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41256
10 years ago
John Crispin e9f664c879 kernel: make sure the new UBIBLOCK symbol does not break builds
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41134
10 years ago
John Crispin ac5d5cbc79 kernel: add a NAND_SUPPORT symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41122
10 years ago
Luka Perkov 284a07f748 imx6: kernel: update 3.14 pcie patches
Remove old irq map patch and replace it with the propper upstream patches
allowing IMX6 PCIe devices behind PCIe switches to work properly.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 41004
10 years ago
Luka Perkov cdd9e952e5 imx6: ventana: remove non-trunk packages from defaults
The canutils package is in the packages repo and not part of trunk, so we
should not enable them by default.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 40991
10 years ago
Luka Perkov be7396bad7 imx6: ventana: add default kernel modules
Add the following kernel modules by default (which are present on most Ventana
baseboards):
 - kmod-leds-gpio (user leds)
 - kmod-sound-core (required as a dependency of the other sound modules)
 - kmod-pps-gpio (Pulse-Per-Second)

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 40990
10 years ago
Luka Perkov f637a1e562 imx6: update board names per device-tree updates
The Gateworks Ventana board names have been adjusted per upstream patches
to include all IMX6 SoC variants.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 40989
10 years ago
Luka Perkov b87016722c imx6: update 3.14 ventana dts with upstream fixes
update the Ventana DTS files with upstream fixes:
 - The 'model' property in the imx-audio-sgtl5000 binding specifies the
   user-visible name of the audio device. This should be something common and
   not baseboard specific.
 - removed obsolete crts
 - fix include typo: The imx6q-gw51xx needs to include imx6qdl-gw51xx.dtsi
 - fix gw52xx clock for sgtl5000 ananlog audio codec
 - fix LVDS mapping for Ventana GW52xx/GW53xx/GW54xx
 - add LVDS backlight for Ventana
 - update model descriptions for all processor variants

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 40988
10 years ago
Luka Perkov f689e3cf8b imx6: update 3.10 ventana dts
update the Ventana DTS files with upstream fixes:
 - The 'model' property in the imx-audio-sgtl5000 binding specifies the
   user-visible name of the audio device. This should be something common an
   not baseboard specific.
 - update model descriptions for all processor variants

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 40987
10 years ago
Luka Perkov e37e0f17ed imx6: make boardname consistent with other targets
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 40758
10 years ago
Luka Perkov dce36465ad imx6: drop support for 3.13
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40754
10 years ago
Luka Perkov aa3d844d34 imx6: add support for 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40753
10 years ago
Luka Perkov b58e65f2ee imx6-gateworks: enable new canbus packages
The canbus package was recently changed to a more active project. This patch
updates the default package names to include the same functionality as before.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 40531
10 years ago
Gabor Juhos d2812cb036 kernel: update 3.10 to 3.10.36
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40467
10 years ago
Gabor Juhos 627baa28d3 kernel: update 3.10 to 3.10.34
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40291
10 years ago
Luka Perkov f7f117b88d imx6: optimize for NEON FPU hardware
The IMX6 SoC uses an ARM Cortext-A9 which has both NEON and VFPv3 hardware
blocks.  This will tune gcc to use neon instead of vfpv3 which will outperform
VFPv3.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 39760
10 years ago
Luka Perkov 6752d4cb08 imx6: enable FPU for hard float
The OpenWrt build system uses MACHINE_FEATURES of fpu to set the HAS_FPU which
in turn sets the default of CONFIG_SOFT_FLOAT as well as uClibc configuration.
As the IMX6 SoC has both vfpv3 and NEON hardware support we want to add fpu
to the feature list.  This will default the IMX6 target to use -mfloat-abi=hard
which will the be most efficient use of floating point.

When switching to hard float, we also need to enable VFP support in the kernel.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 39759
10 years ago
Gabor Juhos f677b1bc7e kernel: update 3.10 to 3.10.32
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39707
10 years ago
Luka Perkov 223c6808ba imx6: update Ventana dts
Update the Ventana device-tree to match upstream:
 - Add IMX6Q/IMX6DL variants for GW54xx/GW53xx/GW52xx/GW51xx
 - align pinctrl with upstream
 - consolidate multiple patches into one

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 39644
10 years ago
Luka Perkov a52100469f imx6: enable IMX6 watchdog
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 39643
10 years ago
Luka Perkov fcbfe67e2a imx6: drop upstream rejected patch
http://article.gmane.org/gmane.linux.drivers.i2c/17891

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39639
10 years ago
Luka Perkov ef5c3bbb5f imx6: drop 3.12 support
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39574
10 years ago
Luka Perkov 3203599a7d imx6: add initial 3.13 support
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39573
10 years ago
Gabor Juhos a2543d72d8 kernel: update 3.10 to 3.10.28
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39399
10 years ago
Gabor Juhos 0e2586a774 kernel: update 3.10 to 3.10.26
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39220
11 years ago
Luka Perkov 5db5354c70 imx6: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39135
11 years ago
Luka Perkov 1e9161528b imx6: proper fix for io-remap
The previous patch was not the proper fix for PCI devices that require io
resources.  The new patch is the proper fix backported from mainline.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 39133
11 years ago
Luka Perkov b27f84034b imx6: ventana: add canbus utils
Some of the Gateworks Ventana boards have CAN bus support, therefore
we will install the userspace utils.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 39113
11 years ago
Luka Perkov 7802f4619b imx6: ventana: add default kernel modules for GSC
All Gateworks Ventana boards have a Gateworks System Controller
which emulates the following:
 - ds1672 RTC
 - pca953x GPIO expander
 - hardware monitor
 - at24 eeprom

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 39112
11 years ago
Luka Perkov 325a4f5b6e imx6: add rtc feature support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39111
11 years ago
Luka Perkov ccf1ee93d9 imx6: drop upstreamed patch
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39109
11 years ago
Hauke Mehrtens 952db22551 kernel: update kernel 3.10 to 3.10.24
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39059
11 years ago
Luka Perkov ceb57f139d imx6: add canbus support for Ventana boards
GW5400, GW5300, and GW5200 have CAN bus option.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 39034
11 years ago
Luka Perkov 2bbd43d065 imx6: add flexcan support
backport upstream changes to 3.10:
 - 0060-flexcan.patch:
   - add flexcan pinctrl and devicetree config
 - 0061-can-flexcan-use-correct-clock-as-base-for-bit-rate-c.patch
   - fix a clock issue
 - 0062-ARM-i.MX6q-fix-the-wrong-parent-of-can_root-clock.patch
   - fix a clock issue

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 39033
11 years ago
Luka Perkov c8753ca97c imx6: add support for GW53xx
The Gateworks GW53xx family of products is based on the Freescale
i.MX6DL SoC and offers a small form-factor with peripherals such as:

 * i.MX6DL
 * NAND FLASH
 * 4x PCIe
 * 4x USB EHCI (1x front-panel; 3x PCIe sockets)
 * 1x USB OTG
 * 1x uSD
 * LVDS connector (VLDS for display, PWM/GPIO for backlight, i2c for touch)
 * HDMI Audio/Video out
 * Analog Video in
 * Digital IO
 * Gateworks System Controller
 * Accelerometer
 * Canbus
 * Optional GPS
 * Industrial temp (-40C to +85C)
 * DC input voltage 8 to 42V (Passive PoE and 802.3af)

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 39012
11 years ago
Luka Perkov 7523aa05c1 imx6: add DMA/SDMA support for 3.12
DMA and SDMA support are needed for ssi based audio.  Note that the sdma
firmware is no longer required for ssi audio.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 39011
11 years ago
Luka Perkov c9ee51ad38 imx6: drop upstreamed patch
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39010
11 years ago
Gabor Juhos f1ef0b92be kernel: update 3.10 to 3.10.21
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38972
11 years ago
Luka Perkov 35b6be4a65 imx6: build images for ventana boards that are supported
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38859
11 years ago
Luka Perkov c108ddb209 imx6: merge all gateworks boards into one profile
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38858
11 years ago
Luka Perkov f552d290c6 imx6: add support for more then one nand type per profile
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38857
11 years ago
Luka Perkov 69beb313c6 imx6: refresh kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38856
11 years ago
Gabor Juhos 35656042f1 kernel: update 3.10 to 3.10.18
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38652
11 years ago
Luka Perkov da224973af imx6: drop unused variable from Makefile
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38650
11 years ago
Luka Perkov 59d58990fb imx6: minor image cleanup
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38628
11 years ago
Luka Perkov 672a8cd6ba imx6: update patches
Changes include PCI fixes and various upstream pending patches.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38624
11 years ago
Luka Perkov 6b2c29d5f0 imx6: update gateworks profile with extra packages
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38579
11 years ago
Luka Perkov df388048b4 imx6: add initial 3.12 support
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38574
11 years ago
Luka Perkov b8038b78ec imx6: use upstream gateworks board names
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38573
11 years ago
Luka Perkov f44c65c7c8 imx6: update 3.10 patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38571
11 years ago
Luka Perkov a494a0027a imx6: ventana boards use kmod-sky2
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38522
11 years ago
Luka Perkov 37c040f41a imx6: use more descriptive function name
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38521
11 years ago
Luka Perkov de7c615cfe imx6: use more common name for ubi(fs) images
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38520
11 years ago
Luka Perkov 9e17f251d5 imx6: fix pcie interrupt mapping
The interrupt mapping for legacy interrupts was backwards causing interrupts
to be mapped improperly behind a PCIe to PCI bridge (ie GW16082 mezzanine).

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38519
11 years ago
Luka Perkov 2f4ae98018 imx6: add support for building uImage
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38518
11 years ago
Luka Perkov 86aff32701 imx6: enable SATA support
Enable SATA support (for IMX6D/IMX6Q) static in the kernel.  It seems there
are some issues causing the driver to not load properly when built as
a module which still need to be worked out.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38515
11 years ago
Luka Perkov 44ae9a2b7a imx6: enable cpufreq
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38514
11 years ago
Luka Perkov 70d75dc068 imx6: enable i2c-dev
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38513
11 years ago
Luka Perkov cdcce432d0 imx6: remove obsolete files
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38512
11 years ago
Luka Perkov cd43416a78 imx6: pcie driver fixups
Add upstream patches needed for PCIe through a switch.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38511
11 years ago
Luka Perkov a0c9c711cd imx6: fix symlink of dtb files
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38510
11 years ago
Gabor Juhos b6b06000eb kernel: update 3.10 to 3.10.17
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38506
11 years ago
Luka Perkov 38aefbfa8d imx6: make symlinks for dtb's
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38496
11 years ago
Luka Perkov ee5b7c2859 imx6: reorganize build system
Changes include:

 * switching to profiles
 * adding ubifs support
 * building image for GW54XX board

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38441
11 years ago
Luka Perkov 59eb6137dd build: drop FIT option until we actually need it
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38439
11 years ago
Luka Perkov 416d58a3d6 imx6: fix file names when building images
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38434
11 years ago
Luka Perkov 0102284bbd imx6: enable FIT images
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38432
11 years ago
Luka Perkov acdb0ac35c build: move mkits.sh script to more common place
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38430
11 years ago
Luka Perkov 39ba5482d0 imx6: enable fixed voltage reulator
Fixed voltage regulator support is required by several drivers that have
regulator consumers, such as the sgtl5000 audio codec used on many i.MX6
boards.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38426
11 years ago
Luka Perkov 0a0ac79cb7 imx6: add support for gw52xx
The Gateworks GW51xx family of products is based on the Freescale
i.MX6DL SoC and offers a small form-factor with peripherals such as:

 * i.MX6DL 512MB DDR3
 * 256MB NAND FLASH
 * 2x PCIe
 * 1x USB EHCI (to PCIe socket2)
 * 1x USB OTG (to front panel or PCIe socket1)
 * 1x uSD
 * LVDS
 * HDMI AudioVideo out
 * Analog Video in
 * Digital IO
 * Gateworks System Controller

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38425
11 years ago
Luka Perkov 365ed4d22f imx6: dts: update ventana dts
- fix spi chipselect for GW5400-A
- fix audmux pinctrl for GW54xx
- remove unused alias nodes
- remove unused regulator nodes (will be adding pmic nodes next)
- remove duplicate eeprom entries
- add regulator definitions
- fix sgtl5000 regulator reference
- add egalax touchscreen controller interrupt
- fix gw5400-a audmux pinctrl
- fix usb ehci alias

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38424
11 years ago
Luka Perkov 662e3943ff imx6: split out ventana init patch from devicetree
SVN-Revision: 38423
11 years ago
Luka Perkov adb70acecb imx6: add pfuze100 regulator support
- backport driver
- apply patch to allow misprogrammed parts
- enable driver in kernel

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38422
11 years ago
Luka Perkov 88590e4cb7 imx6: minor (cosmetic) changes in uci-defaults
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38421
11 years ago
Luka Perkov 3365d89817 imx6: add back bootargs
They make our life easier when testing ramdisk images.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38420
11 years ago
Hauke Mehrtens 81e2f00367 kernel: update kernel to 3.10.15
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38384
11 years ago
Luka Perkov 60dd4429b7 imx6: update upstream pcie patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38298
11 years ago
Luka Perkov 8f1499c448 imx6: add default profile
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38282
11 years ago
Luka Perkov 5da90c4e1f imx6: enable cpufreq-imx6q by default
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38233
11 years ago
Luka Perkov 03051c1442 imx6: enable thermal module by default
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38231
11 years ago
Luka Perkov 8ec28437c3 imx6: backport thermal driver
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38229
11 years ago
Gabor Juhos 9c8a5ef115 kernel: update 3.10 to 3.10.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38228
11 years ago
Luka Perkov 4fa3e3aae9 build: fix typo
vfp3 should be named vfpv3

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38222
11 years ago
Felix Fietkau c8609ab4f8 build: unify arm target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38211
11 years ago
Luka Perkov 907d0f76b7 imx6: enable XZ_DEC_BCJ and XZ_DEC_ARM
squashfs is unable to decompress some blocks without that:

[    1.880530] SQUASHFS error: Unable to read page, block bc77a, size 14c50
[    1.887268] SQUASHFS error: Unable to read fragment cache entry [bc77a]
[    1.893889] SQUASHFS error: Unable to read page, block bc77a, size 14c50
[    1.900636] SQUASHFS error: Unable to read fragment cache entry [bc77a]
[    1.907275] SQUASHFS error: Unable to read page, block bc77a, size 14c50
[    1.913994] SQUASHFS error: Unable to read fragment cache entry [bc77a]
[    1.920631] SQUASHFS error: Unable to read page, block bc77a, size 14c50

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38202
11 years ago
Luka Perkov 2d1775dafc imx6: fix spi on gw5400-a
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38201
11 years ago
Luka Perkov 77d075aa54 imx6: add support for gw51xx
The Gateworks GW51xx family of products is based on the Freescale
i.MX6DL SoC and offers a small form-factor with peripherals such as:

 - i.MX6DL 512MB DDR3
 - 256MB NAND FLASH
 - 1x PCIe
 - 1x USB EHCI (to PCIe socket)
 - 1x USB OTG
 - HDMI out
 - Analog Video in
 - Gateworks System Controller

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38189
11 years ago
Luka Perkov f55d0ff66c imx6: add support for gw54xx
The Gateworks GW54xx family of products is based on the Freescale
i.MX6Q SoC and offers a large variety of peripherals such as:

  - i.MX6Q 1GB DDR3 (standard)
  - 256MB NAND FLASH (standard)
  - 6x PCIe (3x with USB)
    - Optional expansion for additional USB/PCI based periperhals
  - 1x USB EHCI
  - 1x USB OTG
  - HDMI Audio/Video in/out
  - Analog Video in/out
  - Analog Audio in/out
  - Gateworks System Controller

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38188
11 years ago
Luka Perkov cbcd3024dc imx6: update gw5400-a dts cleanup
- remove dead code
- alphabatize

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38184
11 years ago
Gabor Juhos 0380904acb kernel/3.10: refresh all target patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38182
11 years ago
Luka Perkov c90e521790 imx6: update gw5400-a dts
- remove common imx6q-ventana.dtsi - there isn't enough commonality to
  warrent this
- rename user led's to 1-based
- add alises used by bootloader
- clean up iomux gpios
- fix pfuze slave address
- enable sata
- add delay after release of pci reset downstream from PCIe switch
- remove PCIe clock configuration as its now handled in updated driver

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38081
11 years ago
Luka Perkov 3f059f58db imx6: update PCIe driver
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38080
11 years ago
Luka Perkov 19bd25f4ec imx6: update network defaults for Gateworks Ventana
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38079
11 years ago
Luka Perkov cd1257ee0c imx6: update config
* enable PERF_EVENTS
* enable REGULATOR_ANATOP
* enable VMSPLIT_2G

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38078
11 years ago
Luka Perkov 7c9b567371 imx6: drop inittab
It's the same as in base-files package.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38077
11 years ago
Gabor Juhos 554772a665 kernel: update 3.10 to 3.10.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38000
11 years ago
Luka Perkov 02e858d88c imx6: add network defaults for GW5400-A
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37979
11 years ago
Luka Perkov 2964a11933 imx6: backport ahci support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37936
11 years ago
Luka Perkov b2c852e685 imx6: add i2c retry on NAK
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 37935
11 years ago
Luka Perkov 460fb06e63 imx6: add gpio sysfs support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 37934
11 years ago
Gabor Juhos d120ec18b2 kernel: update 3.10 to 3.10.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37890
11 years ago
Luka Perkov 18a767156e imx6: add uboot-envtools to default packages
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37859
11 years ago
Luka Perkov ae660e85d3 imx6: disable sdma until license issues are solved
Also, synchronize patches with upstream.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37853
11 years ago
Luka Perkov ec52778a14 imx6: refresh 3.10 kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37850
11 years ago
Gabor Juhos 043edd8074 kernel: update 3.10 to 3.10.9
Also refresh 3.10 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37832
11 years ago
Luka Perkov acb9bc0f5e kernel: remove imx-sdma-fw because of license issues
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37755
11 years ago
Luka Perkov 3258334e79 imx6: use kmod-imx-sdma-fw-imx6 by default
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37754
11 years ago
Luka Perkov 5337af031e imx6: fix sdma
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37752
11 years ago
Luka Perkov f5b9555cdc imx6: sync usb chipidea with upstream
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37686
11 years ago
Luka Perkov 8a4726bca8 imx6: remove sdma binary
SVN-Revision: 37682
11 years ago
Felix Fietkau 28d03a9983 kernel: update remaning platforms accidentally left out of r37617
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37619
11 years ago
Luka Perkov d6a23e1ae9 imx6: update default packages
SVN-Revision: 37582
11 years ago
Luka Perkov a08eab3ce8 imx6: add support for EHCI USB
SVN-Revision: 37581
11 years ago
Gabor Juhos e9688455f6 kernel: update 3.10 to 3.10.3
Also refresh 3.10 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37546
11 years ago
Gabor Juhos ef944dcb85 kernel: update 3.10 to 3.10.2
Also refresh 3.10 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37502
11 years ago
Gabor Juhos 187a69c631 linux: move more ARM_ERRATA symbols to the generic config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37470
11 years ago
Jonas Gorski b1b4e7db13 kernel: move CONFIG_NET_IP_TUNNEL to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37465
11 years ago
Luka Perkov 6a985ed219 imx6: add missing patches (r37363)
SVN-Revision: 37364
11 years ago
Luka Perkov af6eb6cc8c imx6: add support for gw5400-a
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 37363
11 years ago
Luka Perkov 6ef9d30da7 imx6: use $PATH to locate dtc binary
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37362
11 years ago
Luka Perkov 75b911ddc1 imx6: switch to askconsole
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37326
11 years ago
Hauke Mehrtens 06accca1d7 kernel: update to kernel 3.10.1 and refresh patches
SVN-Revision: 37275
11 years ago
Luka Perkov 62cb88f502 imx6: make kernel_oldconfig
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37134
11 years ago
Jonas Gorski 96f8c15a36 kernel: update linux 3.10 to 3.10 final
3.10 final is out, so refresh patches and add md5sum.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37116
11 years ago
Florian Fainelli 6a4f2922f6 targets: prepare for supporting normal and initramfs images
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
11 years ago
Luka Perkov 4b21af4268 imx6: add new target
SVN-Revision: 36753
11 years ago