Changes between Version 20 and Version 21 of ventana/ubuntu


Ignore:
Timestamp:
09/19/2018 11:36:48 PM (6 years ago)
Author:
Tim Harvey
Comment:

update kernel update example with 4.15.0-34 and add initrd ramdisk creation step

Legend:

Unmodified
Added
Removed
Modified
  • ventana/ubuntu

    v20 v21  
    139139Ubuntu releases are based on a specific major kernel version. However over time the Ubuntu team releases new major kernel version updates for specific distro versions. An {{{apt-get install linux-image}}} will not change the kernel major version and you have to specifically install a new major version to switch to it.
    140140
    141 For example the latest kernel release available for Ubuntu 16.04 (Xenail) LTS is 4.11 and can be installed with the following:
     141For example the latest kernel release available for Ubuntu 16.04 (Xenial) LTS at the time of this writing is 4.15 and can be installed with the following:
    142142{{{#!bash
    143143apt-get update
    144 apt-get install linux-image-4.11.0-14-generic
     144apt-get install linux-image-4.15.0-34-generic
    145145# install mkimage
    146146apt-get install u-boot-tools
     
    148148mkimage -A arm -O linux -T kernel -C none \
    149149  -a 0x10008000 -e 0x10008000 -n "linux" \
    150   -d /boot/vmlinuz-4.11.0-14-generic /boot/uImage
     150  -d /boot/vmlinuz-4.15.0-34-generic /boot/uImage
    151151# install device-tree blobs
    152 cp /lib/firmware/4.11.0-14-generic/device-tree/imx6*-gw*.dtb /boot
     152cp /lib/firmware/4.15.0-34-generic/device-tree/imx6*-gw*.dtb /boot
    153153#blacklist imx rtc driver, Gateworks board uses GSC RTC, and does not use imx RTC
    154154echo "blacklist rtc_snvs" > /etc/modprobe.d/blacklist-rtc.conf
     155# create u-boot image for initrd
     156mkimage -A arm -O linux -T ramdisk \
     157  -a 0x0 -e 0x0 -n "initrd" \
     158  -d /boot/initrd.img-4.15.0-34-generic /boot/uramdisk
    155159}}}
    156160 - use {{{apt-get search linux-image}}} to determine what Ubuntu kernel versions are available