Changes between Version 18 and Version 19 of newport/boot


Ignore:
Timestamp:
06/19/2020 02:56:10 PM (2 years ago)
Author:
Tim Harvey
Comment:

replace use of mkits.sh script and use 'mkimage -f auto' introduced in u-boot-tools 2016.05

Legend:

Unmodified
Added
Removed
Modified
  • newport/boot

    v18 v19  
    175175#   load and execute a compressed kernel in a FIT image: kernel.itb
    176176# - create kernel.itb with compressed kernel image
    177 # - use newport/mkits.sh to create a kernel.its template
    178177# - use mkimage to create a fit image from the template
    179178# - mount your root filesystem and copy them to the boot directory
     
    183182cp linux/arch/arm64/boot/Image vmlinux
    184183gzip -f vmlinux
    185 ./newport/mkits.sh -o kernel.its -k vmlinux.gz -C gzip -v "Newport Kernel"
    186 mkimage -f kernel.its kernel.itb
     184mkimage -f auto -A arm64 -O linux -T kernel -C gzip -n "Newport Kernel" \                           
     185  -a 20080000 -e 20080000 -d vmlinux.gz kernel.itb
    187186# create bootscript
    188187mkimage -A arm64 -T script -C none -d newport/ubuntu.scr newport.scr