Changes between Version 19 and Version 20 of newport/ubuntu
- Timestamp:
- 04/22/2019 09:28:10 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
newport/ubuntu
v19 v20 13 13 Gateworks provides a pre-built Ubuntu firmware images for the Newport Family: 14 14 * [http://dev.gateworks.com/newport/kernel/linux-newport.tar.xz linux-newport.tar.xz] - Compressed TAR archive of pre-built Linux kernel 15 * [http://dev.gateworks.com/ubuntu/ xenial/xenial-arm64.tar.xz xenial-arm64.tar.xz] - Compressed TAR archive of Ubuntu 16.04 Xenial arm64 root filesystem (does not include kernel)([http://dev.gateworks.com/ubuntu/xenial/xenial-arm64.manifest package manifest])16 * [http://dev.gateworks.com/newport/images/ xenial-newport.img.gz xenial-newport.img.gz] - Compressed Disk Image containing Firmware, Linux kernel, and Ubuntu 16.04 Xenialroot filesystem. To update the firmware using this see [wiki:newport#serial-ethernet here]15 * [http://dev.gateworks.com/ubuntu/bionic/bionic-arm64.tar.xz bionic-arm64.tar.xz] - Compressed TAR archive of Ubuntu 18.04 Bionic arm64 root filesystem (does not include kernel)([http://dev.gateworks.com/ubuntu/bionic/bionic-arm64.manifest package manifest]) 16 * [http://dev.gateworks.com/newport/images/bionic-newport.img.gz bionic-newport.img.gz] - Compressed Disk Image containing Firmware, Linux kernel, and Ubuntu 18.04 Bionic root filesystem. To update the firmware using this see [wiki:newport#serial-ethernet here] 17 17 18 18 Features: … … 59 59 2. Perform first stage install of minimal filesystem for {{{arm64}}} architecture: 60 60 {{{#!bash 61 distro= xenial61 distro=bionic 62 62 arch=arm64 63 63 target=${distro}-${arch} … … 76 76 sudo chroot $target 77 77 # now we are in the chroot - setup env matching the distro above 78 distro= xenial78 distro=bionic 79 79 export LANG=C 80 80 # setup second stage … … 183 183 To create a tarball which is the most flexible storage format and can be used for a variety of future installation uses: 184 184 {{{#!bash 185 sudo tar --numeric-owner -cvJf xenial-newport.tar.xz -C rootfs/ .185 sudo tar --numeric-owner -cvJf bionic-newport.tar.xz -C rootfs/ . 186 186 }}} 187 187 * the '--numeric-owner' is required to store user/group as a number instead of a name … … 200 200 {{{#!bash 201 201 SIZEMB=1536 # 1.5GB - expandable later with resize2fs 202 OUT= xenial-newport.ext4202 OUT=bionic-newport.ext4 203 203 # create a file of specific size 204 204 truncate -s ${SIZEMB}M ${OUT}