Changes between Version 17 and Version 18 of newport/boot
- Timestamp:
- 06/19/2020 01:53:50 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
newport/boot
v17 v18 150 150 # define some variables 151 151 OUT=myimage.img 152 ROOTFS= bionic-newport152 ROOTFS=focal-newport 153 153 154 154 # 1. start with firmware-newport.img … … 204 204 To further simplify this process, the Newport BSP Makefile has a 'ubuntu-image' make target that will do all of the above for you if you provide env variables: 205 205 * UBUNTU_KERNEL (uncompressed kernel Image, defaults to linux/arch/arm64/boot/Image) 206 * UBUNTU_FS (uncompressed filesystem image defaults to bionic-newport.ext4)207 * UBUNTU_IMG (output file without the .gz extension, defaults to bionic-newport.img):206 * UBUNTU_FS (uncompressed filesystem image defaults to focal-newport.ext4) 207 * UBUNTU_IMG (output file without the .gz extension, defaults to focal-newport.img): 208 208 {{{#!bash 209 209 # create uncompressed root filesystem image 210 sudo ./newport/mkfs ext4 bionic-newport.ext4 1536M linux-newport.tar.xz bionic-newport.tar.xz211 UBUNTU_KERNEL=linux/arch/arm64/boot/Image UBUNTU_FS= bionic-newport.ext4 UBUNTU_IMG=bionic-newport.img make ubuntu-image210 sudo ./newport/mkfs ext4 focal-newport.ext4 1536M linux-newport.tar.xz focal-newport.tar.xz 211 UBUNTU_KERNEL=linux/arch/arm64/boot/Image UBUNTU_FS=focal-newport.ext4 UBUNTU_IMG=focal-newport.img make ubuntu-image 212 212 }}} 213 213 * This creates ${UBUNTU_IMG}.gz or from the example above xenial-newport.img.gz