Changes between Version 32 and Version 33 of OpenWrt/building
- Timestamp:
- 02/13/2023 08:25:59 PM (22 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OpenWrt/building
v32 v33 175 175 cd gateworks-openwrt 176 176 }}} 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 206 179 2. Building: 207 180 * Our OpenWrt Git repository has a 'gateworks' directory added consisting of a Makefile providing targets that aim to simplify the entire process of: … … 227 200 make -C gateworks/ imx6 228 201 }}} 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 239 203 - 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. 240 204 … … 248 212 4. Installing: 249 213 * To install the OpenWrt image onto the Gateworks SBC, please follow the instructions: 214 - [wiki:newport/firmware Newport Instructions] 250 215 - [wiki:ventana/openwrt#Step2.InstallingFirmware Ventana Instructions]: 251 216 - 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 255 218 256 219 … … 260 223 # Make a 'jtagable' images for Ventana NAND FLASH 261 224 make -C gateworks/ images/ventana 262 263 # Make a 'jtagable' image for Laguna NOR FLASH264 make -C gateworks/ images/laguna265 225 266 226 # Make both Ventana and Laguna 'jtagable' images