Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| hierarchical_device_files [2018/12/11 13:05] – created rpjday | hierarchical_device_files [2018/12/11 13:08] (current) – [am335x-boneblack.dts] rpjday | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| < | < | ||
| - | PREFERRED_PROVIDER_virtual/ | + | ... |
| - | XSERVER ?= "xserver-xorg \ | + | KERNEL_IMAGETYPE |
| - | xf86-video-modesetting \ | + | KERNEL_DEVICETREE |
| - | | + | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" |
| + | ... | ||
| + | </ | ||
| - | MACHINE_EXTRA_RRECOMMENDS | + | ===== The .dts files ===== |
| - | EXTRA_IMAGEDEPENDS += "u-boot" | + | ==== am335x-boneblack.dts ==== |
| - | DEFAULTTUNE ?= "cortexa8hf-neon" | + | < |
| - | include | + | # |
| + | #include " | ||
| + | #include | ||
| - | IMAGE_FSTYPES += "tar.bz2 jffs2 wic wic.bmap" | + | / { |
| - | EXTRA_IMAGECMD_jffs2 | + | model = "TI AM335x BeagleBone Black"; |
| - | WKS_FILE ?= "beaglebone-yocto.wks" | + | |
| - | IMAGE_INSTALL_append = " | + | }; |
| - | do_image_wic[depends] += " | + | |
| - | SERIAL_CONSOLES | + | & |
| + | /* | ||
| + | * 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 | ||
| + | }; | ||
| + | }; | ||
| - | PREFERRED_PROVIDER_virtual/kernel ?= " | + | </code> |
| - | PREFERRED_VERSION_linux-yocto ?= " | + | |
| - | + | ||
| - | KERNEL_IMAGETYPE = " | + | |
| - | KERNEL_DEVICETREE = " | + | |
| - | KERNEL_EXTRA_ARGS += " | + | |
| - | SPL_BINARY | + | ==== am335x-bonegreen.dts ==== |
| - | UBOOT_SUFFIX | + | |
| - | UBOOT_MACHINE | + | |
| - | UBOOT_ENTRYPOINT | + | |
| - | UBOOT_LOADADDRESS | + | |
| - | MACHINE_FEATURES = "usbgadget usbhost vfat alsa" | + | < |
| + | # | ||
| + | #include " | ||
| + | #include " | ||
| - | IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO zImage | + | / { |
| + | model = "TI AM335x BeagleBone Green"; | ||
| + | compatible = "ti,am335x-bone-green", | ||
| + | }; | ||
| </ | </ | ||