Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
hierarchical_device_files [2018/12/11 13:05] – created rpjdayhierarchical_device_files [2018/12/11 13:08] (current) – [am335x-boneblack.dts] rpjday
Line 8: Line 8:
  
 <code> <code>
-PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg+... 
-XSERVER ?= "xserver-xorg \ +KERNEL_IMAGETYPE = "zImage
-           xf86-video-modesetting \ +KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb" 
-           "+KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" 
 +... 
 +</code>
  
-MACHINE_EXTRA_RRECOMMENDS "kernel-modules kernel-devicetree"+===== The .dts files =====
  
-EXTRA_IMAGEDEPENDS +"u-boot"+==== am335x-boneblack.dts ====
  
-DEFAULTTUNE ?= "cortexa8hf-neon+<code> 
-include conf/machine/include/tune-cortexa8.inc+#include "am33xx.dtsi" 
 +#include "am335x-bone-common.dtsi
 +#include "am335x-boneblack-common.dtsi"
  
-IMAGE_FSTYPES += "tar.bz2 jffs2 wic wic.bmap+/ { 
-EXTRA_IMAGECMD_jffs2 = "-lnp " +        model = "TI AM335x BeagleBone Black"; 
-WKS_FILE ?= "beaglebone-yocto.wks" +        compatible = "ti,am335x-bone-black""ti,am335x-bone""ti,am33xx"; 
-IMAGE_INSTALL_append = kernel-devicetree kernel-image-zimage+};
-do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"+
  
-SERIAL_CONSOLES "115200;ttyO0"+&cpu0_opp_table { 
 +        /* 
 +         * All PG 2.0 silicon may not support 1GHz but some of the early 
 +         * BeagleBone Blacks have PG 2.0 silicon which is guaranteed 
 +         * to support 1GHz OPP so enable it for PG 2.0 on this board. 
 +         */ 
 +        oppnitro-1000000000 { 
 +                opp-supported-hw <0x06 0x0100>; 
 +        }; 
 +};
  
-PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" +</code>
-PREFERRED_VERSION_linux-yocto ?= "4.18%" +
- +
-KERNEL_IMAGETYPE = "zImage" +
-KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb" +
-KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"+
  
-SPL_BINARY "MLO" +==== am335x-bonegreen.dts ====
-UBOOT_SUFFIX "img" +
-UBOOT_MACHINE "am335x_boneblack_config" +
-UBOOT_ENTRYPOINT "0x80008000" +
-UBOOT_LOADADDRESS "0x80008000"+
  
-MACHINE_FEATURES = "usbgadget usbhost vfat alsa"+<code> 
 +#include "am33xx.dtsi" 
 +#include "am335x-bone-common.dtsi" 
 +#include "am335x-bonegreen-common.dtsi"
  
-IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO zImage am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"+/ { 
 +        model = "TI AM335x BeagleBone Green"; 
 +        compatible = "ti,am335x-bone-green", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; 
 +};
 </code> </code>
  • hierarchical_device_files.1544533530.txt.gz
  • Last modified: 2018/12/11 13:05
  • by rpjday