Changes between Version 12 and Version 13 of newport/firmware


Ignore:
Timestamp:
04/05/2019 08:21:06 PM (6 years ago)
Author:
Tim Harvey
Comment:

added note about creating FIT Image from kernel

Legend:

Unmodified
Added
Removed
Modified
  • newport/firmware

    v12 v13  
    142142
    143143==== Updating just the kernel ====
    144 Updating just the kernel can be done with {{{tftpboot}}} and {{{fatwrite}}}:
     144Updating the kernel requires you first have a U-Boot FIT Image {{{kernel.itb}}} which can be created from a non-compressed kernel image (arch/arm64/boot/Image) with the U-Boot {{{mkimage}}} application and a FIT Image template (.its) file:
     145{{{#!bash
     146# use the mkits.sh script from the Newport BSP to create an its file that points to your compressed kernel
     147cp linux/arch/arm64/boot/Image vmlinuz
     148gzip -f vmlinuz
     149./newport/mkits.sh -o kernel.its -k vmlinux.gz -C gzip -v "My Kernel"
     150mkimage -f kernel.its kernel.itb
     151}}}
     152 * more information can be found on FIT images [wiki:newport/bootloader#fit here]
     153 * Note that ARM64 Linux does not support self-extracting compressed kernels which is why we use a FIT image which allows U-Boot to do the decompression and data verification.
     154
     155Updating just the kernel.itb (FIT Image) can be done with {{{tftpboot}}} and {{{fatwrite}}}:
    145156{{{#!bash
    146157# kernel