| 189 | | Updating the [wiki:newport/boot 'Boot firmware'] (everything up to and including the Bootloader) requires preparing a boot image that contains your desired partition table, boot firmware, kernel, bootscript and U-Boot environment: |
| 190 | | * on Linux development host with the Newport BSP in a shell that has the env setup: |
| 191 | | {{{#!bash |
| 192 | | IMG=myimage.img |
| 193 | | KERNEL=linux/arch/arm64/boot/Image |
| 194 | | cp firmware-newport.img $(IMG) |
| 195 | | # create kernel.itb with compressed kernel image |
| 196 | | cp $(KERNEL) vmlinux |
| 197 | | gzip -f vmlinux |
| 198 | | ./newport/mkits.sh -o kernel.its -k ${PWD}/vmlinux.gz -C gzip -v "Newport Kenrel" |
| 199 | | mkimage -f kernel.its kernel.itb |
| 200 | | # copy kernel.itb into FAT12 filesystem |
| 201 | | fatfs-tool -i $(IMG) cp kernel.itb / |
| 202 | | # create bootscript (customize ubuntu.scr as needed) |
| 203 | | mkimage -A arm64 -T script -C none -d newport/ubuntu.scr ./newport.scr |
| 204 | | # copy newport.scrinto FAT12 filesystem |
| 205 | | fatfs-tool -i $(IMG) cp newport.scr / |
| 206 | | }}} |
| | 189 | Updating the [wiki:newport/boot 'Boot firmware'] (everything up to and including the Bootloader): |