Commit Graph

29 Commits (34bbbbf9c3b39e7b2d81df590aad5cdbd00280d6)

Author SHA1 Message Date
Mathias Kresin e0b9ec8e96 treewide: drop target board_name functions
They are not used any longer.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Mathias Kresin f12a32630f treewide: use the generic board_name function
Use the generic function instead ot the target specific ones.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Mathias Kresin 78cf5eed6e treewide: do board detection during preinit
Do the board detection during preinit to unify it across all targets.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Mathias Kresin f7eb7f577f imx6: fix DualLite/Solo GW551X board detection
The model name is a different one in the device tree source file.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Tim Harvey 9d91ef52c3 imx6: ventana: add GW553x board identification
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
7 years ago
Tim Harvey 5f458bf7f8 imx6: add support for GW5904
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
7 years ago
Petr Štetiar 5a922e5c41 imx6: inittab: Use login.sh wrapper so we can configure console password
In dc92917 there was introduced login.sh wrapper which allows
configuration of console passwords via UCI system ttylogin config
option.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
8 years ago
Tim Harvey 7419b9497f imx6: override default inittab to add video console tty
Adds the following to the default inittab
tty1::askfirst:/bin/ash --login

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
8 years ago
Jo-Philipp Wich 67e1c87012 all: drop old uci-defaults.sh
Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one
and update all users accordingly.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47867
9 years ago
Jo-Philipp Wich 08848936dd all: remove redundant board.d/00_model files
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47753
9 years ago
Jo-Philipp Wich 7cf1ff8a75 imx6: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47738
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
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
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
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 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
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 b8038b78ec imx6: use upstream gateworks board names
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38573
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 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 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
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 75b911ddc1 imx6: switch to askconsole
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37326
11 years ago
Luka Perkov 4b21af4268 imx6: add new target
SVN-Revision: 36753
11 years ago