Changes between Version 54 and Version 55 of ventana/ubuntu


Ignore:
Timestamp:
06/18/2020 11:58:44 PM (4 years ago)
Author:
Tim Harvey
Comment:

use version-agnostic kernel install and update kernel version to 5.4

Legend:

Unmodified
Added
Removed
Modified
  • ventana/ubuntu

    v54 v55  
    2626  - see [wiki:/linux/ubi#BasicMethod here] for info about flashing UBI images
    2727 * [http://dev.gateworks.com/ubuntu/bionic/bionic-ventana.tar.xz bionic-armhf.tar.xz] - tarball of rootfs (not including kernel) you can use to image onto microSD / mSATA. See [wiki:linux/blockdev linux/blockdev] for instructions
    28  * [http://dev.gateworks.com/ventana/images/gateworks-linux-4.20.tar.xz gateworks-linux-4.20.tar.xz] Kernel, device-tree, bootscript, and modules that can be combined with a root filesystem to create a bootable system. See [wiki:linux/blockdev linux/blockdev] for instructions
     28 * [http://dev.gateworks.com/ventana/images/linux-ventana.tar.xz linux-ventana.tar.xz] Kernel, device-tree, bootscript, and modules that can be combined with a root filesystem to create a bootable system. See [wiki:linux/blockdev linux/blockdev] for instructions
    2929
    3030'''Login Information (default)'''
     
    3434Features:
    3535- Ubuntu arm core (created via debootstrap)
    36 - Gateworks Ventana Linux kernel (Linux 4.20 based)
     36- Gateworks Ventana Linux kernel (Linux 5.4 based)
    3737- eth0 dhcp with a 30 second timeout
    3838- User: root password: root
     
    277277#!bash
    278278cd /
    279 wget http://dev.gateworks.com/ventana/images/gateworks-linux-4.20.tar.xz
    280 tar -xvf gateworks-linux-4.20.tar.xz --keep-directory-symlink
     279wget http://dev.gateworks.com/ventana/images/linux-ventana.tar.xz
     280tar -xvf linux-ventana.tar.xz --keep-directory-symlink
    281281depmod $(ls /lib/modules/) # create module dependencies
    282 rm gateworks-linux-4.20.tar.xz
     282rm linux-ventana.tar.xz
    283283}}}
    284284  * the {{{depmod}}} trick above is to run depmod with the exact kernel version (which will be the subdir in /lib/modules). An alternative is to run {{{depmod}}} after the first boot
     
    348348== Kernel
    349349While a kernel is not specifically part of a root filesystem it usually resides on the root filesystem. There are several kernel sources you can choose from:
    350  * Gateworks pre-built 4.20 kernel (**recommended**)
     350 * Gateworks pre-built 5.4 kernel (**recommended**)
    351351 * Gateworks pre-built 3.14 kernel
    352352 * Ubuntu built kernel
     
    356356Gateworks periodically updates their pre-built IMX6 kernel release and it is easy to install on a running system:
    357357{{{#!bash
    358 wget http://dev.gateworks.com/ventana/images/gateworks-linux-4.20.7.tar.xz
    359 tar -C / -xvf gateworks-linux-4.20.7.tar.xz --keep-directory-symlink
    360 rm gateworks-linux-4.20.7.tar.xz
     358wget http://dev.gateworks.com/ventana/images/linux-ventana.tar.xz
     359tar -C / -xvf linux-ventana.tar.xz --keep-directory-symlink
     360rm linux-ventana.tar.xz
    361361}}}
    362362
     
    430430{{{#!bash
    431431# The Gateworks bootscript is a good starting point
    432 wget https://raw.githubusercontent.com/Gateworks/linux-imx6/gateworks_4.20.7/gwventana_bootscript -O /boot/6x_bootscript-ventana.txt
     432wget https://raw.githubusercontent.com/Gateworks/linux-imx6/gateworks_5.4.45/gwventana_bootscript -O /boot/6x_bootscript-ventana.txt
    433433# re-enable ramdisk when its needed
    434434sed -i 's/^setenv rd_addr$/#setenv rd_addr/' /boot/6x_bootscript-ventana.txt