Changes between Version 54 and Version 55 of buildroot


Ignore:
Timestamp:
04/19/2023 06:49:03 PM (14 months ago)
Author:
Tim Harvey
Comment:

update venice examples to use 6.1 kernel

Legend:

Unmodified
Added
Removed
Modified
  • buildroot

    v54 v55  
    237237
    238238[=#venice]
    239 == Venice (IMX8MM)
    240 The following details pertain to buildroot 2020.08 although newer versions will likely be similar if not the same.
    241 
    242 The Venice product family is based on the i.MX8MM SoC which has 4x 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)
     240The following details pertain to buildroot 2023.02 although newer versions will likely be similar if not the same.
     241
     242The 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.
    243243
    244244To build a root filesystem only:
     
    261261# arm64 arch
    262262BR2_aarch64=y
    263 # toolchain
    264 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y
    265263# kernel
    266264BR2_LINUX_KERNEL=y
    267265BR2_LINUX_KERNEL_CUSTOM_GIT=y
    268266BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Gateworks/linux-venice.git"
    269 BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v5.4.45-venice"
     267BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v6.1.11-venice"
    270268BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
    271 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="venice_minimal_kernel_defconfig"
     269BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="venice_minimal_kernel_6.1_defconfig"
    272270# filesystem options
    273271BR2_TARGET_ROOTFS_INITRAMFS=y
     
    275273EOF
    276274# fetch minimal kernel config for venice
    277 wget http://dev.gateworks.com/buildroot/venice/minimal/venice_minimal_kernel_defconfig
     275wget http://dev.gateworks.com/buildroot/venice/minimal/venice_minimal_kernel_6.1_defconfig
    278276make venice_kernel_defconfig
    279277make -j8
     278cp 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
    280279}}}
    281280
     
    288287BR2_aarch64=y
    289288# toolchain
    290 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y
    291 BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
    292289BR2_TOOLCHAIN_BUILDROOT_CXX=y
    293 BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
    294 BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
    295290# kernel
    296291BR2_LINUX_KERNEL=y
    297292BR2_LINUX_KERNEL_CUSTOM_GIT=y
    298293BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Gateworks/linux-venice.git"
    299 BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v5.4.45-venice"
     294BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v6.1.11-venice"
    300295BR2_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
     296BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="venice_minimal_kernel_6.1_defconfig"
    306297# extra utils needed for basic testing and provisioning emmc
    307298BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
    308 BR2_PACKAGE_COREUTILS=y
    309299BR2_PACKAGE_PV=y
    310300BR2_PACKAGE_STRESS=y
    311301BR2_PACKAGE_E2FSPROGS=y
    312302BR2_PACKAGE_E2FSPROGS_RESIZE2FS=y
    313 BR2_PACKAGE_PARTED=y
    314303BR2_PACKAGE_EVTEST=y
    315304BR2_PACKAGE_GPTFDISK=y
     
    317306BR2_PACKAGE_I2C_TOOLS=y
    318307BR2_PACKAGE_MEMTESTER=y
     308BR2_PACKAGE_PARTED=y
    319309BR2_PACKAGE_PCIUTILS=y
    320310BR2_PACKAGE_PICOCOM=y
     311BR2_PACKAGE_UBOOT_TOOLS=y
     312BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE=y
    321313BR2_PACKAGE_LIBUSB=y
    322314BR2_PACKAGE_TCPDUMP=y
    323315BR2_PACKAGE_SCREEN=y
    324 BR2_PACKAGE_UTIL_LINUX=y
     316BR2_PACKAGE_COREUTILS=y
     317BR2_PACKAGE_TAR=y
    325318BR2_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
     321BR2_TARGET_ROOTFS_CPIO_XZ=y
     322BR2_TARGET_ROOTFS_INITRAMFS=y
     323BR2_TARGET_ROOTFS_TAR_XZ=y
    332324EOF
    333325
    334326# fetch minimal kernel config
    335 wget http://dev.gateworks.com/buildroot/venice/minimal/venice_minimal_kernel_defconfig
     327wget http://dev.gateworks.com/buildroot/venice/minimal/venice_minimal_kernel_6.1_defconfig
    336328make venice_example_defconfig
    337329make -j8
     330cp 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
    338331}}}
    339332 * 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
     
    352345 * load from network tftpserver
    353346{{{#!bash
    354 tftpboot $kernel_addr_r Image && booti $kernel_addr_r - $fdtcontroladdr
     347setenv fsload tftpboot
     348run loadfdt && tftpboot $kernel_addr_r Image && booti $kernel_addr_r - $fdt_addr_r
    355349}}}
    356350 * load from microSD with ext/fat filesystem
    357351{{{#!bash
    358 load mmc 1:1 $kernel_addr_r Image && booti $kernel_addr_r - $fdtcontroladdr
     352setenv fsload load mmc 1:1
     353run loadfdt && tftpboot $kernel_addr_r Image && booti $kernel_addr_r - $fdt_addr_r
    359354}}}
    360355 * load from USB with ext/fat filesystem
    361356{{{#!bash
    362 usb start; load usb 0:1 $kernel_addr_r Image && booti $kernel_addr_r - $fdtcontroladdr
     357usb start
     358setenv fsload load usb 0:1
     359run loadfdt && tftpboot $kernel_addr_r Image && booti $kernel_addr_r - $fdt_addr_r
    363360}}}
    364361
    365362A 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.45 kernel
     363 - Gateworks Venice Linux 6.1 kernel
    367364 - glibc with wide-char, locale, and g++ support
    368365 - screen (BR2_PACKAGE_SCREEN)