Changes between Version 54 and Version 55 of buildroot
- Timestamp:
- 04/19/2023 06:49:03 PM (19 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
buildroot
v54 v55 237 237 238 238 [=#venice] 239 == Venice (IMX8M M)240 The following details pertain to buildroot 202 0.08although newer versions will likely be similar if not the same.241 242 The Venice product family is based on the i.MX8MM SoC which has4x Cortex-A53 CPU cores. Therefore the 'BR2_aarch64' is really the only important configuration which produces binaries executable on arm64 CPU's.239 == Venice (IMX8M) 240 The following details pertain to buildroot 2023.02 although newer versions will likely be similar if not the same. 241 242 The Venice product family is based on the i.MX8MM, i.MX8MN, and i.MX8MP SoCs which have 4x Cortex-A53 CPU cores. Therefore the 'BR2_aarch64' is really the only important configuration which produces binaries executable on arm64 CPU's. 243 243 244 244 To build a root filesystem only: … … 261 261 # arm64 arch 262 262 BR2_aarch64=y 263 # toolchain264 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y265 263 # kernel 266 264 BR2_LINUX_KERNEL=y 267 265 BR2_LINUX_KERNEL_CUSTOM_GIT=y 268 266 BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Gateworks/linux-venice.git" 269 BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v 5.4.45-venice"267 BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v6.1.11-venice" 270 268 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y 271 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="venice_minimal_kernel_ defconfig"269 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="venice_minimal_kernel_6.1_defconfig" 272 270 # filesystem options 273 271 BR2_TARGET_ROOTFS_INITRAMFS=y … … 275 273 EOF 276 274 # fetch minimal kernel config for venice 277 wget http://dev.gateworks.com/buildroot/venice/minimal/venice_minimal_kernel_ defconfig275 wget http://dev.gateworks.com/buildroot/venice/minimal/venice_minimal_kernel_6.1_defconfig 278 276 make venice_kernel_defconfig 279 277 make -j8 278 cp output/build/linux-v6.1.11-venice/arch/arm64/boot/dts/freescale/imx8m*venice*dtb output/images/ # manually copy venice DTB's to output dir 280 279 }}} 281 280 … … 288 287 BR2_aarch64=y 289 288 # toolchain 290 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y291 BR2_TOOLCHAIN_BUILDROOT_WCHAR=y292 289 BR2_TOOLCHAIN_BUILDROOT_CXX=y 293 BR2_TOOLCHAIN_BUILDROOT_LOCALE=y294 BR2_TOOLCHAIN_BUILDROOT_GLIBC=y295 290 # kernel 296 291 BR2_LINUX_KERNEL=y 297 292 BR2_LINUX_KERNEL_CUSTOM_GIT=y 298 293 BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Gateworks/linux-venice.git" 299 BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v 5.4.45-venice"294 BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v6.1.11-venice" 300 295 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y 301 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="venice_minimal_kernel_defconfig" 302 # filesystem options 303 BR2_TARGET_ROOTFS_CPIO_XZ=y 304 BR2_TARGET_ROOTFS_INITRAMFS=y 305 BR2_TARGET_ROOTFS_TAR_XZ=y 296 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="venice_minimal_kernel_6.1_defconfig" 306 297 # extra utils needed for basic testing and provisioning emmc 307 298 BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y 308 BR2_PACKAGE_COREUTILS=y309 299 BR2_PACKAGE_PV=y 310 300 BR2_PACKAGE_STRESS=y 311 301 BR2_PACKAGE_E2FSPROGS=y 312 302 BR2_PACKAGE_E2FSPROGS_RESIZE2FS=y 313 BR2_PACKAGE_PARTED=y314 303 BR2_PACKAGE_EVTEST=y 315 304 BR2_PACKAGE_GPTFDISK=y … … 317 306 BR2_PACKAGE_I2C_TOOLS=y 318 307 BR2_PACKAGE_MEMTESTER=y 308 BR2_PACKAGE_PARTED=y 319 309 BR2_PACKAGE_PCIUTILS=y 320 310 BR2_PACKAGE_PICOCOM=y 311 BR2_PACKAGE_UBOOT_TOOLS=y 312 BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE=y 321 313 BR2_PACKAGE_LIBUSB=y 322 314 BR2_PACKAGE_TCPDUMP=y 323 315 BR2_PACKAGE_SCREEN=y 324 BR2_PACKAGE_UTIL_LINUX=y 316 BR2_PACKAGE_COREUTILS=y 317 BR2_PACKAGE_TAR=y 325 318 BR2_PACKAGE_UTIL_LINUX_BINARIES=y 326 BR2_PACKAGE_TAR=y 327 328 # extra utils needed for uboot images and env 329 BR2_PACKAGE_UBOOT_TOOLS=y 330 BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE=y 331 319 # filesystem options 320 321 BR2_TARGET_ROOTFS_CPIO_XZ=y 322 BR2_TARGET_ROOTFS_INITRAMFS=y 323 BR2_TARGET_ROOTFS_TAR_XZ=y 332 324 EOF 333 325 334 326 # fetch minimal kernel config 335 wget http://dev.gateworks.com/buildroot/venice/minimal/venice_minimal_kernel_ defconfig327 wget http://dev.gateworks.com/buildroot/venice/minimal/venice_minimal_kernel_6.1_defconfig 336 328 make venice_example_defconfig 337 329 make -j8 330 cp output/build/linux-v6.1.11-venice/arch/arm64/boot/dts/freescale/imx8m*venice*dtb output/images/ # manually copy venice DTB's to output dir 338 331 }}} 339 332 * Note you can easily add your own files and scripts to this image by setting BR2_ROOTFS_OVERLAY to a directory or directories where your files are … … 352 345 * load from network tftpserver 353 346 {{{#!bash 354 tftpboot $kernel_addr_r Image && booti $kernel_addr_r - $fdtcontroladdr 347 setenv fsload tftpboot 348 run loadfdt && tftpboot $kernel_addr_r Image && booti $kernel_addr_r - $fdt_addr_r 355 349 }}} 356 350 * load from microSD with ext/fat filesystem 357 351 {{{#!bash 358 load mmc 1:1 $kernel_addr_r Image && booti $kernel_addr_r - $fdtcontroladdr 352 setenv fsload load mmc 1:1 353 run loadfdt && tftpboot $kernel_addr_r Image && booti $kernel_addr_r - $fdt_addr_r 359 354 }}} 360 355 * load from USB with ext/fat filesystem 361 356 {{{#!bash 362 usb start; load usb 0:1 $kernel_addr_r Image && booti $kernel_addr_r - $fdtcontroladdr 357 usb start 358 setenv fsload load usb 0:1 359 run loadfdt && tftpboot $kernel_addr_r Image && booti $kernel_addr_r - $fdt_addr_r 363 360 }}} 364 361 365 362 A prebuilt image can be found [http://dev.gateworks.com/buildroot/venice/minimal here] which contains an image built from the above venice_example_defconfig 366 - Gateworks Venice Linux 5.4.45kernel363 - Gateworks Venice Linux 6.1 kernel 367 364 - glibc with wide-char, locale, and g++ support 368 365 - screen (BR2_PACKAGE_SCREEN)