Advertisement
RobertBerger

12184-3-machine-config

Apr 26th, 2018
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. #@TYPE: Machine
  2. #@NAME: am335x-phytec-wega-bsp
  3.  
  4. #@DESCRIPTION: Machine configuration for am335x-phytec-wega-bsp systems
  5.  
  6. # MACHINE_EXTRA_RRECOMMENDS would not install the kernel modules on the rootfs
  7. # With Pyro and Morty/core-image-minimal you need to unpack the modules and
  8. # copy the dtbs over
  9. # we could also build a core-image-basic to get them included or:
  10. MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " kernel-modules kernel-devicetree"
  11. # we want to get the kernel modules (especially the one we added) to the rootfs
  12. MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " hello-mod"
  13.  
  14. EXTRA_IMAGEDEPENDS += "u-boot"
  15.  
  16. DEFAULTTUNE = "armv7a-neon"
  17. include conf/machine/include/arm/arch-armv7a.inc
  18.  
  19. IMAGE_FSTYPES += "tar.bz2"
  20.  
  21. SERIAL_CONSOLES="115200;console"
  22. SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
  23.  
  24. PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-custom"
  25.  
  26. # kernel version
  27. KERNEL_VERSION_PATCHLEVEL="4.9"
  28. KERNEL_SUBLEVEL="80"
  29. PREFERRED_VERSION_linux-yocto-custom = "${KERNEL_VERSION_PATCHLEVEL}.${KERNEL_SUBLEVEL}%"
  30.  
  31. # use instead of "default" version of linux libc headers this version
  32. # which is an exact fit to the kernel version
  33. LINUXLIBCVERSION ?= "${KERNEL_VERSION_PATCHLEVEL}"
  34.  
  35.  
  36. KERNEL_IMAGETYPE = "uImage"
  37. KERNEL_DEVICETREE = "am335x-wega-rdk.dtb"
  38. KERNEL_DEVICETREE += "am335x-wega-rdk-training.dtb"
  39. KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} UIMAGE_TYPE=kernel_noload "
  40.  
  41. SPL_BINARYNAME = "MLO"
  42. UBOOT_SUFFIX = "img"
  43.  
  44. UBOOT_MACHINE = "pcm051_rev3_defconfig"
  45. UBOOT_ENTRYPOINT = "0x0"
  46. UBOOT_LOADADDRESS = "0x0"
  47.  
  48. MACHINE_FEATURES = "usbgadget usbhost vfat alsa"
  49.  
  50. IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} ${SPL_BINARYNAME}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement