Changes between Version 23 and Version 24 of newport


Ignore:
Timestamp:
12/20/2017 12:44:14 PM (7 months ago)
Author:
Tim Harvey
Comment:

added instructions for building/modifying linux kernel

Legend:

Unmodified
Added
Removed
Modified
  • newport

    v23 v24  
    169169
    170170The resulting {{{firmware-newport.img}}} can be installed to boot media (see [#firmware-update below])
     171
     172[=#kernel]
     173=== Building or modifying the Linux Kernel ===
     174The Gateworks Newport BSP creates an environment for building the Linux kernel. Here are some additional instructions for common actions:
     175 * Modify Kernel configuration (enabling modules etc):
     176{{{#!bash
     177cd linux
     178make newport_defconfig # start with the Newport kernel configuration
     179make menuconfig # modify as desired
     180make # build Image and modules
     181}}}
     182 * Build kernel tarball:
     183{{{#!bash
     184cd linux
     185make # build Image and modules
     186mkdir -p install/boot # create install and install/boot directories
     187cp arch/arm64/boot/Image install/boot # copy kernel Image
     188make INSTALL_MOD_PATH=install modules_install # install modules
     189tar -cvJf /tftpboot/newport/linux-newport.tar.xz --numeric-owner -C install . # create tarball
     190}}}
     191  - You can install this kernel on a running system via {{{cd /; tar xvf inux-newport.tar.xz}}}
    171192
    172193