1 | | {{{#!html |
2 | | <div id="wikipage" class="trac-content"><p> |
3 | | </p><div class="wiki-toc"> |
4 | | <ol> |
5 | | <li> |
6 | | <a href="#ThirdPartyLinux">Third Party Linux</a> |
7 | | <ol> |
8 | | <li> |
9 | | <a href="#BuildingGateworksVentanakernel">Building Gateworks Ventana kernel</a> |
10 | | <ol> |
11 | | <li> |
12 | | <a href="#Sources">Sources</a> |
13 | | </li> |
14 | | <li> |
15 | | <a href="#Building">Building</a> |
16 | | </li> |
17 | | </ol> |
18 | | </li> |
19 | | <li> |
20 | | <a href="#RootfilesystemSources">Root filesystem Sources</a> |
21 | | </li> |
22 | | <li> |
23 | | <a href="#CreatingabootableblockdevicemSATAUSBuSD">Creating a bootable block device (mSATA/USB/uSD)</a> |
24 | | </li> |
25 | | </ol> |
26 | | </li> |
27 | | </ol> |
28 | | </div><p> |
29 | | </p> |
30 | | <h1 id="ThirdPartyLinux">Third Party Linux</h1> |
31 | | <p> |
| 1 | [[PageOutline]] |
| 2 | |
| 3 | = Third Party Linux = |
33 | | </p> |
34 | | <h2 id="BuildingGateworksVentanakernel">Building Gateworks Ventana kernel</h2> |
35 | | <h3 id="Sources">Sources</h3> |
36 | | <p> |
37 | | Gateworks has several kernel tree's to choose from hosted on Github <a class="ext-link" href="https://github.com/Gateworks/linux-imx6/branches"><span class="icon"></span>here</a> |
38 | | </p> |
39 | | <ul><li>Freescale Vendor Kernels with patches for Gateworks Ventana: These kernels contain many patches from Freescale to support hardware features that are not yet in Mainline linux: |
40 | | <ul><li><strong>gateworks_3.10.17_1.0.0_ga - latest vendor kernel supporting device-tree (recommended)</strong> |
41 | | </li><li>gateworks_3.0.35_4.0.0 - latest non device-tree vendor kernel |
42 | | </li><li>gateworks_jb4.3_1.0.0-ga - latest Android Jellybean vendor kernel |
43 | | </li></ul></li><li>Mainline linux kernel with patches for Gateworks Ventana: Missing some Freescale hardware support such as Video input/output, codec support and crypto support: |
44 | | <ul><li>gateworks_3.15 |
45 | | </li><li>gateworks_3.14 |
46 | | </li><li>gateworks_3.13 |
47 | | </li><li>gateworks_3.12 |
48 | | </li></ul></li></ul><p> |
| 5 | |
| 6 | == Building Gateworks Ventana kernel == |
| 7 | |
| 8 | [=#kernel] |
| 9 | === Sources === |
| 10 | Gateworks has several kernel tree's to choose from hosted on Github [https://github.com/Gateworks/linux-imx6/branches here] |
| 11 | |
| 12 | * Freescale Vendor Kernels with patches for Gateworks Ventana: These kernels contain many patches from Freescale to support hardware features that are not yet in Mainline linux: |
| 13 | - '''gateworks_3.10.17_1.0.0_ga - latest vendor kernel supporting device-tree (recommended)''' |
| 14 | - gateworks_3.0.35_4.0.0 - latest non device-tree vendor kernel |
| 15 | - gateworks_jb4.3_1.0.0-ga - latest Android Jellybean vendor kernel |
| 16 | * Mainline linux kernel with patches for Gateworks Ventana: Missing some Freescale hardware support such as Video input/output, codec support and crypto support: |
| 17 | - gateworks_3.15 |
| 18 | - gateworks_3.14 |
| 19 | - gateworks_3.13 |
| 20 | - gateworks_3.12 |
| 21 | |
95 | | </p> |
96 | | <ul><li><a class="ext-link" href="http://cdimage.ubuntu.com/ubuntu-core/releases/"><span class="icon"></span>Ubuntu Core</a> - this is a minimal filesystem that you can build off of at runtime by adding packages from various repositories: |
97 | | </li><li><a class="ext-link" href="https://releases.linaro.org/"><span class="icon"></span>Linaro</a> - Linaro has several root filesystems including server, nano, developer, core, and ALIP. Each root filesystem will have different things installed for different purposes. Choose carefully which will work for you. |
98 | | </li></ul><p> |
99 | | Note that Gateworks has a pre-built disk image of Ubuntu for Ventana. See <a class="ext-link" href="http://trac.gateworks.com/wiki/ventana/ubuntu"><span class="icon"></span>here</a> for details about it and more details on building Ubuntu root filesystems |
100 | | </p> |
101 | | <h2 id="CreatingabootableblockdevicemSATAUSBuSD">Creating a bootable block device (mSATA/USB/uSD)</h2> |
102 | | <p> |
| 75 | * [http://cdimage.ubuntu.com/ubuntu-core/releases/ Ubuntu Core] - this is a minimal filesystem that you can build off of at runtime by adding packages from various repositories: |
| 76 | * [https://releases.linaro.org/ Linaro] - Linaro has several root filesystems including server, nano, developer, core, and ALIP. Each root filesystem will have different things installed for different purposes. Choose carefully which will work for you. |
| 77 | |
| 78 | Note that Gateworks has a pre-built disk image of Ubuntu for Ventana. See here for details about it and more details on building Ubuntu root filesystems |
| 79 | |
| 80 | |
| 81 | [=#blockdev] |
| 82 | == Creating a bootable block device (mSATA/USB/uSD) == |
104 | | </p> |
105 | | <ol><li>Download Root Filesystem (see above) |
106 | | </li><li>Download or build Ventana rootfs containing a Kernel, device-tree dtbs, and kernel modules: |
107 | | <ul><li>pre-built root filesystems: |
108 | | <ul><li><a class="wiki" href="/wiki/Yocto/Building#yocto_prebuilt_binaries">Yocto BSP (Video in/out support)</a> |
109 | | </li><li><a class="ext-link" href="http://dev.gateworks.com/openwrt/latest/imx6/openwrt-imx6-ventana-rootfs.tar.gz"><span class="icon"></span>OpenWrt</a> |
110 | | </li></ul></li></ul></li><li>Create image on block storage device. For example, using /dev/sdc: |
111 | | <pre class="wiki">DEVICE=/dev/sdc |
| 84 | 1. Download Root Filesystem (see above) |
| 85 | 1. Download or build Ventana rootfs containing a Kernel, device-tree dtbs, and kernel modules: |
| 86 | * pre-built root filesystems: |
| 87 | - [wiki:Yocto/Building#yocto_prebuilt_binaries Yocto BSP] (Video in/out support) |
| 88 | - [http://dev.gateworks.com/openwrt/latest/imx6/openwrt-imx6-ventana-rootfs.tar.gz OpenWrt] |
| 89 | 1. Create image on block storage device. For example, using /dev/sdc: |
| 90 | {{{#!bash |
| 91 | DEVICE=/dev/sdc |