Changes between Version 19 and Version 20 of newport/ubuntu


Ignore:
Timestamp:
04/22/2019 09:28:10 PM (5 months ago)
Author:
Tim Harvey
Comment:

updated to bionic

Legend:

Unmodified
Added
Removed
Modified
  • newport/ubuntu

    v19 v20  
    1313Gateworks provides a pre-built Ubuntu firmware images for the Newport Family:
    1414 * [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 Xenial root 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]
    1717
    1818Features:
     
    59592. Perform first stage install of minimal filesystem for {{{arm64}}} architecture:
    6060{{{#!bash
    61 distro=xenial
     61distro=bionic
    6262arch=arm64
    6363target=${distro}-${arch}
     
    7676sudo chroot $target
    7777# now we are in the chroot - setup env matching the distro above
    78 distro=xenial
     78distro=bionic
    7979export LANG=C
    8080# setup second stage
     
    183183To create a tarball which is the most flexible storage format and can be used for a variety of future installation uses:
    184184{{{#!bash
    185 sudo tar --numeric-owner -cvJf xenial-newport.tar.xz -C rootfs/ .
     185sudo tar --numeric-owner -cvJf bionic-newport.tar.xz -C rootfs/ .
    186186}}}
    187187 * the '--numeric-owner' is required to store user/group as a number instead of a name
     
    200200{{{#!bash
    201201SIZEMB=1536 # 1.5GB - expandable later with resize2fs
    202 OUT=xenial-newport.ext4
     202OUT=bionic-newport.ext4
    203203# create a file of specific size
    204204truncate -s ${SIZEMB}M ${OUT}