Changes between Version 11 and Version 12 of OpenWrt/building


Ignore:
Timestamp:
08/02/2018 11:02:44 PM (6 years ago)
Author:
Cale Collins
Comment:

added instruction for building mainline openwrt

Legend:

Unmodified
Added
Removed
Modified
  • OpenWrt/building

    v11 v12  
    147147cd gateworks-openwrt
    148148}}}
    149 
     149  - Mainline 18.06
     150{{{#!bash
     151git clone git://git.openwrt.org/openwrt/openwrt.git -b openwrt-18.06
     152cd openwrt/
     153make package/symlinks
     154make menuconfig
     155}}}
     156   - In menuconfig:
     157    - Target system:
     158     - Ventana: Freescale i.MX6
     159     - Laguna: Cavium Networks Econa CNS3xxx
     160     - Newport: Octeon-TX
     161    - Profile: Multiple devices (in order to build both large/normal ubi images for ventana)
     162    - Devices: (only available with Profile: Multiple devices)  Devices will be automatically selected depending on target system.  Be sure to double check this setting.  For Ventana you will need "Gateworks ventana large/normal"
     163    - Target Images: check this setting is correct, Ventana will require squashfs and ubifs
     164    - install whatever packages you want
     165     - Packages can be added to packages/feeds/packages and must contain a Makefile.
     166 
    1501672. Building:
    151168 * Our OpenWrt Git repository has a 'gateworks' directory added consisting of a Makefile providing targets that aim to simplify the entire process of:
     
    170187make -C gateworks/ cns3xxx
    171188}}}
     189  - Mainline OpenWrt:
     190{{{#!bash
     191make #This is the only command you need once configured after make menuconfig
     192}}}
    172193  - The build process will take some time depending on your Internet connection and host system. On an Intel Quad Core @ 3.10GHz the build takes a couple of hours to build all product families and takes appx 15GB of disk space.
    173194  - The resulting kernel/rootfs files will be in the {{{bin/<target>}}} directory. For Example, a 256MB flash Ventana image is located at: {{{bin/imx6/gateworks-imx6-ventana-squashfs-nand_normal.ubi}}}
     
    179200   * [wiki:cambria/openwrt Cambria OpenWrt Specific]
    180201
     202
    1812033. Installing:
    182204 * To install the OpenWrt image onto the Gateworks SBC, please follow the instructions: