Changes between Version 21 and Version 22 of newport
- Timestamp:
- 12/20/2017 06:36:33 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
newport
v21 v22 56 56 57 57 == Software == 58 * [# source Source code for Newport including keeping abreast of changes]58 * [#bsp Gateworks Newport Board Support Package] 59 59 * [#images Pre-built Firmware Images] 60 60 * [#firmware Boot Firmware (up to and including the Bootloader)] … … 101 101 102 102 103 [=#bsp] 104 = Newport Board Support Package (BSP) = 105 Gateworks provides a Board Support Package for Newport which provides source code and an easy mechanism to build: 106 * Gateworks Newport Linux Kernel 107 * Gateworks Newport Boot Firmware 108 103 109 [=#source] 104 = Source Code=110 == BSP Source Code == 105 111 Newport Source code for the firmware, bootloader and kernel are hosted at !GitHub. We highly recommend you create a !GitHub account and 'Watch' these repositories to keep abreast of important feature additions, bugfixes, and firmware-releases. You can configure your !GitHub account to e-mail you when changes are made to repositories [https://github.com/settings/notifications here]. 106 112 … … 115 121 116 122 [=#images] 117 = Pre-built Firmware Images=123 == Pre-built Firmware Images == 118 124 The [https://github.com/Gateworks/uboot-newport images-newport] !GitHub repository hosts various pre-built firmware images used for Newport: 119 125 * [https://github.com/Gateworks/images-newport/raw/master/gsc_630x.txt GSC firmware image] … … 122 128 * Download xenial-newport.img.gz from [https://github.com/Gateworks/images-newport/releases/latest latest Newport firmware release] - Compressed Disk Image containing Firmware and Ubuntu 16.04 Xenial 123 129 * [http://dev.gateworks.com/newport/ubuntu/xenial/latest/xenial-newport.tar.xz xenial-newport.tar.xz] - Compressed TAR archive of Ubuntu 16.04 Xenial arm64 root filesystem 130 131 132 [=#build] 133 == Building BSP from source == 134 The Gateworks Newport Board Support Package uses the Google {{{repo}}} tool to manage multiple code repositories. 135 136 The following pre-requisites are needed to build the Newport BSP: 137 * Linux Development host (Ubuntu 16.04 is used by Gateworks and tested) 138 * Python 2.x (required by the 'repo' tool) 139 * Git (used for source code repositories) 140 141 To obtain the code: 142 1. Get repo tool (download latest version of tool and put it in your path) 143 {{{#!bash 144 mkdir $HOME/.bin/ 145 export PATH=\$PATH:$HOME/.bin/repo >> $HOME/.profile 146 curl https://storage.googleapis.com/git-repo-downloads/repo > $HOME/.bin/repo 147 chmod a+x $HOME/.bin/repo 148 }}} 149 2. Initialize repo (fetch the repo manifest) 150 {{{#!bash 151 mkdir $HOME/newport 152 cd $HOME/newport 153 repo init -u https://github.com/Gateworks/manifest-newport.git 154 }}} 155 3. Sync repositories (repeat this when you want to fetch the latest code updates) 156 {{{#!bash 157 repo sync 158 }}} 159 * This will fetch/update the source repos described [#source above]. The first time it can take several minutes depending on your Internet connection and will take approximately ~2.5GB of disk space 160 4. Build 'Boot Firmware' (takes about 2 mins on a modern development system) 161 {{{#!bash 162 make -j8 firmware # build boot firmware using 8 sub-processes 163 }}} 164 * additional targets you may want to make include 'linux' to build the Linux kernel 165 166 The resulting {{{firmware-newport.img}}} can be installed to boot media (see [#firmware-update below]) 124 167 125 168 … … 262 305 263 306 Gateworks provides a pre-built Boot Firmware (firmware-newport.img) ready to flash onto boot devices as well as source for building and/or modifying the boot firmware yourself. 307 264 308 265 309 [=#bootrom]