Skip to content

Commit

Permalink
imx6: add support for GW5907/GW5910/GW5912/GW5913
Browse files Browse the repository at this point in the history
This patch adds support for GW5907/GW5910/GW5912/GW5913 IMX6 based boards
from the Gateworks Ventana Family[A]:
- backport upstream dt patches from 5.6 to 4.19 and 5.4
- add dtb's to ventana images
- add board-name and network config

A. https://www.gateworks.com/products/imx6-single-board-computer-gateworks-ventana-family

Flashing instructions for Ventana boards:

Using pre-flashed bootloader:
- Use appropriate ubi image depending on board NAND to flash via bootloader:
	openwrt-imx6-ventana-squashfs-nand.ubi - 2KiB page size
	openwrt-imx6-ventana-large-squashfs-nand.ubi - 4KiB page size
	http://trac.gateworks.com/wiki/linux/ubi

Using Gateworks JTAG dongle:
- Use Gateworks mkimage_jtag script to create a JTAG image comprised of
	pre-built bootloader and ubi image:
	http://trac.gateworks.com/wiki/jtag_instructions

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
  • Loading branch information
Gateworks authored and ynezz committed Mar 12, 2020
1 parent 86b59d0 commit 3666c67
Show file tree
Hide file tree
Showing 11 changed files with 4,248 additions and 2 deletions.
6 changes: 5 additions & 1 deletion target/linux/imx6/base-files/etc/board.d/02_network
Expand Up @@ -13,7 +13,11 @@ case "$board" in
cubox-i |\
gw51xx |\
gw52xx |\
gw5904)
gw5904 |\
gw5907 |\
gw5910 |\
gw5912 |\
gw5913)
ucidef_set_interface_lan 'eth0'
;;
gw53xx |\
Expand Down
20 changes: 20 additions & 0 deletions target/linux/imx6/base-files/lib/imx6.sh
Expand Up @@ -81,6 +81,26 @@ imx6_board_detect() {
name="gw5904"
;;

"Gateworks Ventana i.MX6 DualLite/Solo GW5907" |\
"Gateworks Ventana i.MX6 Dual/Quad GW5907")
name="gw5907"
;;

"Gateworks Ventana i.MX6 DualLite/Solo GW5910" |\
"Gateworks Ventana i.MX6 Dual/Quad GW5910")
name="gw5910"
;;

"Gateworks Ventana i.MX6 DualLite/Solo GW5912" |\
"Gateworks Ventana i.MX6 Dual/Quad GW5912")
name="gw5912"
;;

"Gateworks Ventana i.MX6 DualLite/Solo GW5913" |\
"Gateworks Ventana i.MX6 Dual/Quad GW5913")
name="gw5913"
;;

"SolidRun Cubox-i Solo/DualLite" |\
"SolidRun Cubox-i Dual/Quad")
name="cubox-i"
Expand Down
10 changes: 9 additions & 1 deletion target/linux/imx6/image/Makefile
Expand Up @@ -143,6 +143,10 @@ define Device/ventana
imx6dl-gw552x \
imx6dl-gw553x \
imx6dl-gw5904 \
imx6dl-gw5907 \
imx6dl-gw5910 \
imx6dl-gw5912 \
imx6dl-gw5913 \
imx6q-gw51xx \
imx6q-gw52xx \
imx6q-gw53xx \
Expand All @@ -151,7 +155,11 @@ define Device/ventana
imx6q-gw551x \
imx6q-gw552x \
imx6q-gw553x \
imx6q-gw5904
imx6q-gw5904 \
imx6q-gw5907 \
imx6q-gw5910 \
imx6q-gw5912 \
imx6q-gw5913
DEVICE_PACKAGES := kmod-sky2 kmod-sound-core kmod-sound-soc-imx kmod-sound-soc-imx-sgtl5000 \
kmod-can kmod-can-flexcan kmod-can-raw \
kmod-hwmon-gsc \
Expand Down

0 comments on commit 3666c67

Please sign in to comment.