Guest User

Machine File

a guest
Jan 29th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.31 KB | None | 0 0
  1. #@NAME: Beaglebone machine
  2. #@DESCRIPTION: Machine configuration for http://beagleboard.org/bone and http://beagleboard.org/black boards
  3.  
  4. PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
  5. XSERVER ?= "xserver-xorg \
  6.           xf86-video-modesetting \
  7.           "
  8.  
  9. MACHINE_EXTRA_RRECOMMENDS = " kernel-modules kernel-devicetree"
  10.  
  11. EXTRA_IMAGEDEPENDS += "u-boot"
  12.  
  13. DEFAULTTUNE ?= "cortexa8hf-neon"
  14. include conf/machine/include/tune-cortexa8.inc
  15.  
  16. IMAGE_FSTYPES += "tar.bz2 jffs2 wic wic.bmap"
  17. EXTRA_IMAGECMD_jffs2 = "-lnp "
  18. WKS_FILE ?= "beaglebone.wks"
  19. IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage"
  20. do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
  21.  
  22. SERIAL_CONSOLE = "115200 ttyO0"
  23.  
  24. PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
  25. PREFERRED_VERSION_linux-yocto ?= "4.12%"
  26.  
  27. KERNEL_IMAGETYPE = "zImage"
  28. KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"
  29. KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
  30.  
  31. SPL_BINARY = "MLO"
  32. UBOOT_SUFFIX = "img"
  33. UBOOT_MACHINE = "am335x_boneblack_config"
  34. UBOOT_ENTRYPOINT = "0x80008000"
  35. UBOOT_LOADADDRESS = "0x80008000"
  36.  
  37. MACHINE_FEATURES = "usbgadget usbhost vfat alsa"
  38.  
  39. IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO"
Add Comment
Please, Sign In to add comment