light-b-product.conf 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. #@TYPE: Machine
  2. #@NAME: xuantie
  3. #@SOC: XuanTie Light
  4. #@DESCRIPTION: Machine configuration for the Light B product board
  5. require conf/machine/include/thead-base.inc
  6. SERIAL_CONSOLES = "115200;ttyS0"
  7. MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
  8. IMAGE_FSTYPES += "cpio.gz ext4"
  9. # Uncomment the following two lines to always checkout the specified version of each repository
  10. THEAD_BSP_TAG = "Linux_SDK_V1.1.2"
  11. THEAD_LINUX_TAG = "Linux_SDK_V1.1.2"
  12. # 指定u-boot版本
  13. PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
  14. PREFERRED_VERSION_u-boot = "1:2020.10"
  15. # UBOOT_MACHINE ?= "light_defconfig"
  16. UBOOT_MACHINE = "light_b_product_defconfig"
  17. SPL_BINARY = "spl/u-boot-spl"
  18. UBOOT_ELF = "u-boot"
  19. UBOOT_BINARY = "u-boot-with-spl.bin"
  20. # 指定内核版本
  21. PREFERRED_PROVIDER_virtual/kernel ?= "linux-thead"
  22. PREFERRED_VERSION_linux-thead = "5.10.y"
  23. KERNEL_DEVICETREE:light-b-product = "thead/light-b-product.dtb thead/light-b-product-ddr1G.dtb thead/light-b-product-miniapp-hdmi.dtb thead/light-b-product-crash.dtb"
  24. KERNEL_DEVICETREE:light-b-product += "thead/light-b-product-sec.dtb"
  25. KBUILD_DEFCONFIG:light-b-product = "light_defconfig"