Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #@TYPE: Machine
- #@NAME: am335x-phytec-wega-bsp
- #@DESCRIPTION: Machine configuration for am335x-phytec-wega-bsp systems
- # MACHINE_EXTRA_RRECOMMENDS would not install the kernel modules on the rootfs
- # With Pyro and Morty/core-image-minimal you need to unpack the modules and
- # copy the dtbs over
- # we could also build a core-image-basic to get them included or:
- MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " kernel-modules kernel-devicetree"
- # we want to get the kernel modules (especially the one we added) to the rootfs
- MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " hello-mod"
- EXTRA_IMAGEDEPENDS += "u-boot"
- DEFAULTTUNE = "armv7a-neon"
- include conf/machine/include/arm/arch-armv7a.inc
- IMAGE_FSTYPES += "tar.bz2"
- SERIAL_CONSOLES="115200;console"
- SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
- PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-custom"
- # kernel version
- KERNEL_VERSION_PATCHLEVEL="4.9"
- KERNEL_SUBLEVEL="80"
- PREFERRED_VERSION_linux-yocto-custom = "${KERNEL_VERSION_PATCHLEVEL}.${KERNEL_SUBLEVEL}%"
- # use instead of "default" version of linux libc headers this version
- # which is an exact fit to the kernel version
- LINUXLIBCVERSION ?= "${KERNEL_VERSION_PATCHLEVEL}"
- KERNEL_IMAGETYPE = "uImage"
- KERNEL_DEVICETREE = "am335x-wega-rdk.dtb"
- KERNEL_DEVICETREE += "am335x-wega-rdk-training.dtb"
- KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} UIMAGE_TYPE=kernel_noload "
- SPL_BINARYNAME = "MLO"
- UBOOT_SUFFIX = "img"
- UBOOT_MACHINE = "pcm051_rev3_defconfig"
- UBOOT_ENTRYPOINT = "0x0"
- UBOOT_LOADADDRESS = "0x0"
- MACHINE_FEATURES = "usbgadget usbhost vfat alsa"
- IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} ${SPL_BINARYNAME}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement