144 | | Updating just the kernel can be done with {{{tftpboot}}} and {{{fatwrite}}}: |
| 144 | Updating 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 |
| 147 | cp linux/arch/arm64/boot/Image vmlinuz |
| 148 | gzip -f vmlinuz |
| 149 | ./newport/mkits.sh -o kernel.its -k vmlinux.gz -C gzip -v "My Kernel" |
| 150 | mkimage -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 | |
| 155 | Updating just the kernel.itb (FIT Image) can be done with {{{tftpboot}}} and {{{fatwrite}}}: |