Changes between Version 32 and Version 33 of OpenWrt/building


Ignore:
Timestamp:
02/13/2023 08:25:59 PM (15 months ago)
Author:
Ryan Erbstoesser
Comment:

update with newport items

Legend:

Unmodified
Added
Removed
Modified
  • OpenWrt/building

    v32 v33  
    175175cd gateworks-openwrt
    176176}}}
    177   - Gateworks 16-02 branch
    178 {{{#!bash
    179 git clone https://github.com/Gateworks/openwrt/ gateworks-openwrt -b 16.02
    180 cd gateworks-openwrt
    181 }}}
    182   - Gateworks 14-08 branch
    183 {{{#!bash
    184 git clone https://github.com/Gateworks/openwrt/ gateworks-openwrt -b 14.08
    185 cd gateworks-openwrt
    186 }}}
    187   - Upstream OpenWrt 18.06 branch
    188 {{{#!bash
    189 git clone git://git.openwrt.org/openwrt/openwrt.git -b openwrt-18.06
    190 cd openwrt/
    191 make package/symlinks
    192 make menuconfig
    193 }}}
    194    - In menuconfig:
    195     - Target system:
    196      - Newport: Marvell OcteonTX
    197      - Ventana: Freescale i.MX6
    198      - Laguna: Cavium Networks Econa CNS3xxx
    199      - Newport: Octeon-TX
    200     - Profile: Multiple devices (in order to build both large/normal ubi images for Ventana ( Which ubi size to use, normal or large, has to do with the flash geometry size (see [wiki:/linux/ubi/#flashgeometry here] to determine your flash geometry)  ))
    201     - 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"
    202     - Target Images: check this setting is correct, Ventana will require squashfs and ubifs
    203     - install whatever packages you want
    204      - Packages can be added to packages/feeds/packages and must contain a Makefile.
    205  
     177
     178
    2061792. Building:
    207180 * Our OpenWrt Git repository has a 'gateworks' directory added consisting of a Makefile providing targets that aim to simplify the entire process of:
     
    227200make -C gateworks/ imx6
    228201}}}
    229   - In order to build the cns3xxx target for the Laguna product family, the following steps would occur:
    230 {{{#!bash
    231 # Build the cns3xxx target, using the configuration from gateworks/configs/cns3xxx/.config.
    232 # This will take a while
    233 make -C gateworks/ cns3xxx
    234 }}}
    235   - Mainline OpenWrt-18.06:
    236 {{{#!bash
    237 make #This is the only command you need after make menuconfig
    238 }}}
     202
    239203  - 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.
    240204 
     
    2482124. Installing:
    249213 * To install the OpenWrt image onto the Gateworks SBC, please follow the instructions:
     214  - [wiki:newport/firmware Newport Instructions]
    250215  - [wiki:ventana/openwrt#Step2.InstallingFirmware Ventana Instructions]:
    251216   - Typical methods include flashing a .ubi file over TFTP or creating a JTAG binary and flashing using the USB JTAG dongle
    252   - [wiki:laguna/openwrt#InstallingFirmware Laguna Instructions]
    253    - Note - For Laguna boards, please do not flash a squashfs file to the board. A proper JTAG binary must be created with instructions below.
    254    - Typical methods include creating a JTAG binary file using the below instructions and flashing to the board via the USB JTAG programmer
     217
    255218
    256219
     
    260223# Make a 'jtagable' images for Ventana NAND FLASH
    261224make -C gateworks/ images/ventana
    262 
    263 # Make a 'jtagable' image for Laguna NOR FLASH
    264 make -C gateworks/ images/laguna
    265225
    266226# Make both Ventana and Laguna 'jtagable' images