mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 18:32:12 +02:00
scripts/lib/bsp: delete, all users have been removed
With the removal of yocto-bsp and yocto-kernel there are no longer any users of this library, therefore delete it. (From meta-yocto rev: 0d44e59bfaa95162cf2133df1d08f6419314bb8e) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
2813a9380f
commit
58ef101032
@@ -1,22 +0,0 @@
|
||||
#
|
||||
# Yocto BSP tools library
|
||||
#
|
||||
# Copyright (c) 2012, Intel Corporation.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
# published by the Free Software Foundation.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along
|
||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
#
|
||||
# AUTHORS
|
||||
# Tom Zanussi <tom.zanussi (at] intel.com>
|
||||
#
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,100 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}.conf
|
||||
#@TYPE: Machine
|
||||
#@NAME: {{=machine}}
|
||||
|
||||
#@DESCRIPTION: Machine configuration for {{=machine}} systems
|
||||
|
||||
{{ input type:"boolean" name:"xserver" prio:"50" msg:"Do you need support for X? (y/n)" default:"y" }}
|
||||
{{ if xserver == "y": }}
|
||||
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
|
||||
XSERVER ?= "xserver-xorg \
|
||||
xf86-video-fbdev \
|
||||
"
|
||||
|
||||
MACHINE_EXTRA_RRECOMMENDS = " kernel-modules kernel-devicetree"
|
||||
|
||||
EXTRA_IMAGEDEPENDS += "u-boot"
|
||||
|
||||
{{ input type:"choicelist" name:"tunefile" prio:"40" msg:"Which machine tuning would you like to use?" default:"tune_cortexa8" }}
|
||||
{{ input type:"choice" val:"tune_arm1136jf_s" msg:"arm1136jf-s tuning optimizations" }}
|
||||
{{ input type:"choice" val:"tune_arm920t" msg:"arm920t tuning optimizations" }}
|
||||
{{ input type:"choice" val:"tune_arm926ejs" msg:"arm926ejs tuning optimizations" }}
|
||||
{{ input type:"choice" val:"tune_arm9tdmi" msg:"arm9tdmi tuning optimizations" }}
|
||||
{{ input type:"choice" val:"tune_cortexa5" msg:"cortexa5 tuning optimizations" }}
|
||||
{{ input type:"choice" val:"tune_cortexa7" msg:"cortexa7 tuning optimizations" }}
|
||||
{{ input type:"choice" val:"tune_cortexa8" msg:"cortexa8 tuning optimizations" }}
|
||||
{{ input type:"choice" val:"tune_cortexa9" msg:"cortexa9 tuning optimizations" }}
|
||||
{{ input type:"choice" val:"tune_cortexa15" msg:"cortexa15 tuning optimizations" }}
|
||||
{{ input type:"choice" val:"tune_cortexm1" msg:"cortexm1 tuning optimizations" }}
|
||||
{{ input type:"choice" val:"tune_cortexm3" msg:"cortexm3 tuning optimizations" }}
|
||||
{{ input type:"choice" val:"tune_cortexr4" msg:"cortexr4 tuning optimizations" }}
|
||||
{{ input type:"choice" val:"tune_ep9312" msg:"ep9312 tuning optimizations" }}
|
||||
{{ input type:"choice" val:"tune_iwmmxt" msg:"iwmmxt tuning optimizations" }}
|
||||
{{ input type:"choice" val:"tune_strongarm1100" msg:"strongarm1100 tuning optimizations" }}
|
||||
{{ input type:"choice" val:"tune_xscale" msg:"xscale tuning optimizations" }}
|
||||
{{ if tunefile == "tune_arm1136jf_s": }}
|
||||
include conf/machine/include/tune-arm1136jf-s.inc
|
||||
{{ if tunefile == "tune_arm920t": }}
|
||||
include conf/machine/include/tune-arm920t.inc
|
||||
{{ if tunefile == "tune_arm926ejs": }}
|
||||
include conf/machine/include/tune-arm926ejs.inc
|
||||
{{ if tunefile == "tune_arm9tdmi": }}
|
||||
include conf/machine/include/tune-arm9tdmi.inc
|
||||
{{ if tunefile == "tune_cortexa5": }}
|
||||
include conf/machine/include/tune-cortexa5.inc
|
||||
{{ if tunefile == "tune_cortexa7": }}
|
||||
include conf/machine/include/tune-cortexa7.inc
|
||||
{{ if tunefile == "tune_cortexa8": }}
|
||||
DEFAULTTUNE ?= "cortexa8hf-neon"
|
||||
include conf/machine/include/tune-cortexa8.inc
|
||||
{{ if tunefile == "tune_cortexa9": }}
|
||||
include conf/machine/include/tune-cortexa9.inc
|
||||
{{ if tunefile == "tune_cortexa15": }}
|
||||
include conf/machine/include/tune-cortexa15.inc
|
||||
{{ if tunefile == "tune_cortexm1": }}
|
||||
include conf/machine/include/tune-cortexm1.inc
|
||||
{{ if tunefile == "tune_cortexm3": }}
|
||||
include conf/machine/include/tune-cortexm3.inc
|
||||
{{ if tunefile == "tune_cortexr4": }}
|
||||
include conf/machine/include/tune-cortexr4.inc
|
||||
{{ if tunefile == "tune_ep9312": }}
|
||||
include conf/machine/include/tune-ep9312.inc
|
||||
{{ if tunefile == "tune_iwmmxt": }}
|
||||
include conf/machine/include/tune-iwmmxt.inc
|
||||
{{ if tunefile == "tune_strongarm1100": }}
|
||||
include conf/machine/include/tune-strongarm1100.inc
|
||||
{{ if tunefile == "tune_xscale": }}
|
||||
include conf/machine/include/tune-xscale.inc
|
||||
|
||||
IMAGE_FSTYPES += "tar.bz2 jffs2"
|
||||
EXTRA_IMAGECMD_jffs2 = "-lnp "
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyO0"
|
||||
|
||||
{{ if kernel_choice == "custom": preferred_kernel = "linux-yocto-custom" }}
|
||||
{{ if kernel_choice == "linux-yocto-dev": preferred_kernel = "linux-yocto-dev" }}
|
||||
{{ if kernel_choice == "custom" or kernel_choice == "linux-yocto-dev" : }}
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}"
|
||||
|
||||
{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel = kernel_choice.split('_')[0] }}
|
||||
{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel_version = kernel_choice.split('_')[1] }}
|
||||
{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": }}
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}"
|
||||
PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%"
|
||||
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb"
|
||||
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
|
||||
|
||||
SPL_BINARY = "MLO"
|
||||
UBOOT_SUFFIX = "img"
|
||||
{{ input type:"edit" name:"uboot_machine" prio:"40" msg:"Please specify a value for UBOOT_MACHINE:" default:"am335x_evm_config" }}
|
||||
UBOOT_MACHINE = "{{=uboot_machine}}"
|
||||
{{ input type:"edit" name:"uboot_entrypoint" prio:"40" msg:"Please specify a value for UBOOT_ENTRYPOINT:" default:"0x80008000" }}
|
||||
UBOOT_ENTRYPOINT = "{{=uboot_entrypoint}}"
|
||||
{{ input type:"edit" name:"uboot_loadaddress" prio:"40" msg:"Please specify a value for UBOOT_LOADADDRESS:" default:"0x80008000" }}
|
||||
UBOOT_LOADADDRESS = "{{=uboot_loadaddress}}"
|
||||
|
||||
MACHINE_FEATURES = "usbgadget usbhost vfat alsa"
|
||||
|
||||
IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO"
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-dirname {{=machine}}
|
||||
@@ -1,34 +0,0 @@
|
||||
# yocto-bsp-filename {{ if xserver == "y": }} this
|
||||
Section "Module"
|
||||
Load "extmod"
|
||||
Load "dbe"
|
||||
Load "glx"
|
||||
Load "freetype"
|
||||
Load "type1"
|
||||
Load "record"
|
||||
Load "dri"
|
||||
EndSection
|
||||
|
||||
Section "Monitor"
|
||||
Identifier "Builtin Default Monitor"
|
||||
EndSection
|
||||
|
||||
Section "Device"
|
||||
Identifier "Builtin Default fbdev Device 0"
|
||||
Driver "omapfb"
|
||||
EndSection
|
||||
|
||||
Section "Screen"
|
||||
Identifier "Builtin Default fbdev Screen 0"
|
||||
Device "Builtin Default fbdev Device 0"
|
||||
Monitor "Builtin Default Monitor"
|
||||
EndSection
|
||||
|
||||
Section "ServerLayout"
|
||||
Identifier "Builtin Default Layout"
|
||||
Screen "Builtin Default fbdev Screen 0"
|
||||
EndSection
|
||||
|
||||
Section "ServerFlags"
|
||||
Option "DontZap" "0"
|
||||
EndSection
|
||||
@@ -1,2 +0,0 @@
|
||||
# yocto-bsp-filename {{ if xserver == "y": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-dirname {{ if kernel_choice != "custom": }} files
|
||||
@@ -1,31 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}-non_hardware.cfg
|
||||
#
|
||||
# Miscellaneous filesystems
|
||||
#
|
||||
CONFIG_NFS_DEF_FILE_IO_SIZE=1024
|
||||
|
||||
#
|
||||
# Multiple Device Support
|
||||
#
|
||||
# CONFIG_MD is not set
|
||||
|
||||
# Kernel Features
|
||||
#
|
||||
CONFIG_NO_HZ=y
|
||||
|
||||
#
|
||||
# CPUIdle
|
||||
#
|
||||
CONFIG_CPU_IDLE=y
|
||||
CONFIG_CPU_IDLE_GOV_LADDER=y
|
||||
CONFIG_CPU_IDLE_GOV_MENU=y
|
||||
|
||||
#
|
||||
# Kernel hacking
|
||||
#
|
||||
CONFIG_DEBUG_FS=y
|
||||
|
||||
#
|
||||
# Power management options
|
||||
#
|
||||
CONFIG_PM_DEBUG=y
|
||||
@@ -1,15 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}-preempt-rt.scc
|
||||
define KMACHINE {{=machine}}
|
||||
|
||||
define KARCH arm
|
||||
|
||||
include {{=map_preempt_rt_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}}
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
define KTYPE {{=new_kbranch}}
|
||||
branch {{=machine}}
|
||||
|
||||
include {{=machine}}.scc
|
||||
|
||||
# default policy for preempt-rt kernels
|
||||
include features/latencytop/latencytop.scc
|
||||
include features/profiling/profiling.scc
|
||||
@@ -1,15 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}-standard.scc
|
||||
define KMACHINE {{=machine}}
|
||||
|
||||
define KARCH arm
|
||||
|
||||
include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} nopatch
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
define KTYPE {{=new_kbranch}}
|
||||
branch {{=machine}}
|
||||
|
||||
include {{=machine}}.scc
|
||||
|
||||
# default policy for standard kernels
|
||||
include features/latencytop/latencytop.scc
|
||||
include features/profiling/profiling.scc
|
||||
@@ -1,11 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}-tiny.scc
|
||||
define KMACHINE {{=machine}}
|
||||
|
||||
define KARCH arm
|
||||
|
||||
include {{=map_tiny_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}}
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
define KTYPE {{=new_kbranch}}
|
||||
branch {{=machine}}
|
||||
|
||||
include {{=machine}}.scc
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}-user-config.cfg
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}-user-features.scc
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}-user-patches.scc
|
||||
@@ -1,321 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}.cfg
|
||||
#
|
||||
# System Type
|
||||
#
|
||||
CONFIG_ARCH_OMAP=y
|
||||
|
||||
#
|
||||
# TI OMAP Implementations
|
||||
#
|
||||
# CONFIG_ARCH_OMAP2 is not set
|
||||
CONFIG_ARCH_OMAP3=y
|
||||
|
||||
#
|
||||
# TI OMAP Common Features
|
||||
#
|
||||
CONFIG_ARCH_OMAP2PLUS=y
|
||||
|
||||
#
|
||||
# OMAP Feature Selections
|
||||
#
|
||||
CONFIG_OMAP_32K_TIMER=y
|
||||
CONFIG_OMAP_32K_TIMER_HZ=128
|
||||
CONFIG_OMAP_DM_TIMER=y
|
||||
CONFIG_OMAP_RESET_CLOCKS=y
|
||||
CONFIG_OMAP_SMARTREFLEX=y
|
||||
CONFIG_OMAP_SMARTREFLEX_CLASS3=y
|
||||
CONFIG_OMAP_MBOX_FWK=m
|
||||
CONFIG_OMAP_MBOX_KFIFO_SIZE=256
|
||||
|
||||
#
|
||||
# OMAP Board Type
|
||||
#
|
||||
CONFIG_MACH_OMAP3_BEAGLE=y
|
||||
|
||||
#
|
||||
# Processor Features
|
||||
#
|
||||
CONFIG_ARM_THUMBEE=y
|
||||
CONFIG_ARM_ERRATA_430973=y
|
||||
|
||||
#
|
||||
# Kernel Features
|
||||
#
|
||||
CONFIG_LEDS=y
|
||||
|
||||
|
||||
#
|
||||
# Serial drivers
|
||||
#
|
||||
CONFIG_SERIAL_OMAP=y
|
||||
CONFIG_SERIAL_OMAP_CONSOLE=y
|
||||
|
||||
#
|
||||
# At least one emulation must be selected
|
||||
#
|
||||
CONFIG_VFP=y
|
||||
CONFIG_NEON=y
|
||||
|
||||
#
|
||||
# Power management options
|
||||
#
|
||||
CONFIG_PM=y
|
||||
CONFIG_PM_RUNTIME=y
|
||||
|
||||
#
|
||||
# Generic Driver Options
|
||||
#
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
#
|
||||
# User Modules And Translation Layers
|
||||
#
|
||||
CONFIG_MTD_BLKDEVS=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
|
||||
#
|
||||
# RAM/ROM/Flash chip drivers
|
||||
#
|
||||
CONFIG_MTD_CFI=y
|
||||
CONFIG_MTD_CFI_INTELEXT=y
|
||||
|
||||
#
|
||||
# Disk-On-Chip Device Drivers
|
||||
#
|
||||
CONFIG_MTD_NAND=y
|
||||
|
||||
CONFIG_MTD_NAND_OMAP2=y
|
||||
|
||||
CONFIG_MTD_UBI=y
|
||||
|
||||
#
|
||||
# SCSI device support
|
||||
#
|
||||
CONFIG_SCSI=y
|
||||
|
||||
#
|
||||
# SCSI support type (disk, tape, CD-ROM)
|
||||
#
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
|
||||
#
|
||||
# Ethernet (10 or 100Mbit)
|
||||
#
|
||||
CONFIG_SMSC911X=y
|
||||
CONFIG_USB_NET_SMSC95XX=y
|
||||
|
||||
#
|
||||
# Userland interfaces
|
||||
#
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
|
||||
#
|
||||
# Input Device Drivers
|
||||
#
|
||||
CONFIG_KEYBOARD_TWL4030=y
|
||||
CONFIG_INPUT_TOUCHSCREEN=y
|
||||
CONFIG_TOUCHSCREEN_ADS7846=y
|
||||
|
||||
#
|
||||
# Miscellaneous I2C Chip support
|
||||
#
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_OMAP=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_MASTER=y
|
||||
CONFIG_SPI_OMAP24XX=y
|
||||
|
||||
#
|
||||
# I2C GPIO expanders:
|
||||
#
|
||||
CONFIG_GPIO_TWL4030=y
|
||||
|
||||
#
|
||||
# SPI GPIO expanders:
|
||||
#
|
||||
CONFIG_OMAP_WATCHDOG=y
|
||||
CONFIG_WATCHDOG_NOWAYOUT=y
|
||||
|
||||
#
|
||||
# Multifunction device drivers
|
||||
#
|
||||
CONFIG_TWL4030_CORE=y
|
||||
CONFIG_REGULATOR=y
|
||||
CONFIG_REGULATOR_DUMMY=y
|
||||
CONFIG_REGULATOR_TWL4030=y
|
||||
|
||||
#
|
||||
# Graphics support
|
||||
#
|
||||
CONFIG_FB=y
|
||||
CONFIG_DRM=m
|
||||
# CONFIG_VGASTATE is not set
|
||||
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
|
||||
# CONFIG_FIRMWARE_EDID is not set
|
||||
# CONFIG_FB_DDC is not set
|
||||
# CONFIG_FB_BOOT_VESA_SUPPORT is not set
|
||||
CONFIG_FB_CFB_FILLRECT=y
|
||||
CONFIG_FB_CFB_COPYAREA=y
|
||||
CONFIG_FB_CFB_IMAGEBLIT=y
|
||||
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
|
||||
# CONFIG_FB_SYS_FILLRECT is not set
|
||||
# CONFIG_FB_SYS_COPYAREA is not set
|
||||
# CONFIG_FB_SYS_IMAGEBLIT is not set
|
||||
# CONFIG_FB_FOREIGN_ENDIAN is not set
|
||||
# CONFIG_FB_SYS_FOPS is not set
|
||||
# CONFIG_FB_SVGALIB is not set
|
||||
# CONFIG_FB_MACMODES is not set
|
||||
# CONFIG_FB_BACKLIGHT is not set
|
||||
CONFIG_FB_MODE_HELPERS=y
|
||||
# CONFIG_FB_TILEBLITTING is not set
|
||||
|
||||
#
|
||||
# Frame buffer hardware drivers
|
||||
#
|
||||
# CONFIG_FB_S1D13XXX is not set
|
||||
# CONFIG_FB_TMIO is not set
|
||||
# CONFIG_FB_VIRTUAL is not set
|
||||
# CONFIG_FB_METRONOME is not set
|
||||
# CONFIG_FB_MB862XX is not set
|
||||
# CONFIG_FB_BROADSHEET is not set
|
||||
# CONFIG_FB_OMAP_BOOTLOADER_INIT is not set
|
||||
CONFIG_OMAP2_VRAM=y
|
||||
CONFIG_OMAP2_VRFB=y
|
||||
CONFIG_OMAP2_DSS=y
|
||||
CONFIG_OMAP2_VRAM_SIZE=14
|
||||
CONFIG_OMAP2_DSS_DEBUG_SUPPORT=y
|
||||
# CONFIG_OMAP2_DSS_COLLECT_IRQ_STATS is not set
|
||||
CONFIG_OMAP2_DSS_DPI=y
|
||||
# CONFIG_OMAP2_DSS_RFBI is not set
|
||||
CONFIG_OMAP2_DSS_VENC=y
|
||||
# CONFIG_OMAP2_DSS_SDI is not set
|
||||
CONFIG_OMAP2_DSS_DSI=y
|
||||
# CONFIG_OMAP2_DSS_FAKE_VSYNC is not set
|
||||
CONFIG_OMAP2_DSS_MIN_FCK_PER_PCK=0
|
||||
CONFIG_FB_OMAP2=y
|
||||
CONFIG_FB_OMAP2_DEBUG_SUPPORT=y
|
||||
CONFIG_FB_OMAP2_NUM_FBS=2
|
||||
|
||||
#
|
||||
# OMAP2/3 Display Device Drivers
|
||||
#
|
||||
CONFIG_PANEL_GENERIC_DPI=y
|
||||
CONFIG_PANEL_DVI=y
|
||||
CONFIG_PANEL_SHARP_LS037V7DW01=y
|
||||
# CONFIG_PANEL_LGPHILIPS_LB035Q02 is not set
|
||||
# CONFIG_PANEL_TAAL is not set
|
||||
CONFIG_PANEL_TPO_TD043MTEA1=m
|
||||
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
|
||||
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
||||
|
||||
#
|
||||
# Display device support
|
||||
#
|
||||
CONFIG_DISPLAY_SUPPORT=y
|
||||
CONFIG_DUMMY_CONSOLE=y
|
||||
# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
|
||||
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
|
||||
# CONFIG_FONTS is not set
|
||||
CONFIG_FONT_8x8=y
|
||||
CONFIG_FONT_8x16=y
|
||||
# CONFIG_LOGO_LINUX_MONO is not set
|
||||
# CONFIG_LOGO_LINUX_VGA16 is not set
|
||||
|
||||
#
|
||||
# Console display driver support
|
||||
#
|
||||
CONFIG_FRAMEBUFFER_CONSOLE=y
|
||||
CONFIG_LOGO=y
|
||||
# CONFIG_VGA_CONSOLE is not set
|
||||
|
||||
# DMA Devices
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_DMA_OMAP=y
|
||||
CONFIG_DMA_OF=y
|
||||
|
||||
CONFIG_SOUND=y
|
||||
CONFIG_SND=y
|
||||
CONFIG_SND_SOC=y
|
||||
CONFIG_SND_OMAP_SOC=y
|
||||
CONFIG_SND_OMAP_SOC_OMAP_TWL4030=y
|
||||
|
||||
#
|
||||
# USB Input Devices
|
||||
#
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_SUPPORT=y
|
||||
|
||||
#
|
||||
# Miscellaneous USB options
|
||||
#
|
||||
CONFIG_USB_OTG=y
|
||||
# CONFIG_USB_OTG_WHITELIST is not set
|
||||
|
||||
#
|
||||
# USB Host Controller Drivers
|
||||
#
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TT_NEWSCHED=y
|
||||
CONFIG_USB_EHCI_ROOT_HUB_TT=y
|
||||
CONFIG_USB_MUSB_HDRC=y
|
||||
CONFIG_USB_MUSB_OMAP2PLUS=y
|
||||
CONFIG_USB_OMAP=y
|
||||
|
||||
#
|
||||
# OMAP 343x high speed USB support
|
||||
#
|
||||
CONFIG_USB_MUSB_OTG=y
|
||||
CONFIG_USB_GADGET_MUSB_HDRC=y
|
||||
CONFIG_USB_MUSB_HDRC_HCD=y
|
||||
CONFIG_USB_INVENTRA_DMA=y
|
||||
|
||||
#
|
||||
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
|
||||
#
|
||||
|
||||
#
|
||||
# may also be needed; see USB_STORAGE Help for more information
|
||||
#
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
||||
#
|
||||
# USB Miscellaneous drivers
|
||||
#
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_DUALSPEED=y
|
||||
CONFIG_USB_OTG_UTILS=y
|
||||
CONFIG_TWL4030_USB=y
|
||||
|
||||
# USB gadget modules
|
||||
CONFIG_USB_G_NCM=y
|
||||
CONFIG_USB_MASS_STORAGE=y
|
||||
|
||||
CONFIG_MMC=y
|
||||
|
||||
#
|
||||
# MMC/SD Host Controller Drivers
|
||||
#
|
||||
CONFIG_MMC_OMAP_HS=y
|
||||
|
||||
#
|
||||
# Real Time Clock
|
||||
#
|
||||
CONFIG_RTC_LIB=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_TWL4030=y
|
||||
|
||||
#
|
||||
# DOS/FAT/NT Filesystems
|
||||
#
|
||||
CONFIG_VFAT_FS=y
|
||||
|
||||
#
|
||||
# Multimedia core support
|
||||
#
|
||||
|
||||
# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set
|
||||
|
||||
#
|
||||
# Advanced Power Management Emulation support
|
||||
#
|
||||
CONFIG_APM_EMULATION=y
|
||||
@@ -1,6 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}.scc
|
||||
kconf hardware {{=machine}}.cfg
|
||||
kconf non-hardware {{machine}}-non_hardware.cfg
|
||||
|
||||
include features/usb-net/usb-net.scc
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{{ if kernel_choice != "custom": }}
|
||||
{{ input type:"boolean" name:"use_default_kernel" prio:"10" msg:"Would you like to use the default (4.12) kernel? (y/n)" default:"y"}}
|
||||
|
||||
{{ if kernel_choice != "custom" and use_default_kernel == "n": }}
|
||||
{{ input type:"choicelist" name:"kernel_choice" gen:"bsp.kernel.kernels" prio:"10" msg:"Please choose the kernel to use in this BSP:" default:"linux-yocto_4.12"}}
|
||||
@@ -1,28 +0,0 @@
|
||||
# yocto-bsp-filename {{ if kernel_choice == "linux-yocto-dev": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
PR := "${PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" nameappend:"i386" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"i386" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Would you like SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
SRC_URI += "file://{{=machine}}.scc \
|
||||
file://{{=machine}}.cfg \
|
||||
file://{{=machine}}-standard.scc \
|
||||
file://{{=machine}}-user-config.cfg \
|
||||
file://{{=machine}}-user-features.scc \
|
||||
file://{{=machine}}-user-patches.scc \
|
||||
"
|
||||
@@ -1,37 +0,0 @@
|
||||
# yocto-bsp-filename {{ if kernel_choice == "linux-yocto-tiny_4.10": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
PR := "${PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
SRC_URI += "file://{{=machine}}.scc \
|
||||
file://{{=machine}}.cfg \
|
||||
file://{{=machine}}-tiny.scc \
|
||||
file://{{=machine}}-user-config.cfg \
|
||||
file://{{=machine}}-user-patches.scc \
|
||||
file://{{=machine}}-user-features.scc \
|
||||
"
|
||||
|
||||
# replace these SRCREVs with the real commit ids once you've had
|
||||
# the appropriate changes committed to the upstream linux-yocto repo
|
||||
SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
|
||||
SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
|
||||
#LINUX_VERSION = "4.10"
|
||||
#Remove the following line once AUTOREV is locked to a certain SRCREV
|
||||
KERNEL_VERSION_SANITY_SKIP = "1"
|
||||
@@ -1,37 +0,0 @@
|
||||
# yocto-bsp-filename {{ if kernel_choice == "linux-yocto-tiny_4.12": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
PR := "${PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
SRC_URI += "file://{{=machine}}.scc \
|
||||
file://{{=machine}}.cfg \
|
||||
file://{{=machine}}-tiny.scc \
|
||||
file://{{=machine}}-user-config.cfg \
|
||||
file://{{=machine}}-user-patches.scc \
|
||||
file://{{=machine}}-user-features.scc \
|
||||
"
|
||||
|
||||
# replace these SRCREVs with the real commit ids once you've had
|
||||
# the appropriate changes committed to the upstream linux-yocto repo
|
||||
SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
|
||||
SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
|
||||
#LINUX_VERSION = "4.10"
|
||||
#Remove the following line once AUTOREV is locked to a certain SRCREV
|
||||
KERNEL_VERSION_SANITY_SKIP = "1"
|
||||
@@ -1,37 +0,0 @@
|
||||
# yocto-bsp-filename {{ if kernel_choice == "linux-yocto-tiny_4.4": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
PR := "${PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
SRC_URI += "file://{{=machine}}.scc \
|
||||
file://{{=machine}}.cfg \
|
||||
file://{{=machine}}-tiny.scc \
|
||||
file://{{=machine}}-user-config.cfg \
|
||||
file://{{=machine}}-user-patches.scc \
|
||||
file://{{=machine}}-user-features.scc \
|
||||
"
|
||||
|
||||
# replace these SRCREVs with the real commit ids once you've had
|
||||
# the appropriate changes committed to the upstream linux-yocto repo
|
||||
SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
|
||||
SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
|
||||
#LINUX_VERSION = "4.4"
|
||||
#Remove the following line once AUTOREV is locked to a certain SRCREV
|
||||
KERNEL_VERSION_SANITY_SKIP = "1"
|
||||
@@ -1,37 +0,0 @@
|
||||
# yocto-bsp-filename {{ if kernel_choice == "linux-yocto_4.10": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
PR := "${PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
SRC_URI += "file://{{=machine}}.scc \
|
||||
file://{{=machine}}.cfg \
|
||||
file://{{=machine}}-standard.scc \
|
||||
file://{{=machine}}-user-config.cfg \
|
||||
file://{{=machine}}-user-features.scc \
|
||||
file://{{=machine}}-user-patches.scc \
|
||||
"
|
||||
|
||||
# replace these SRCREVs with the real commit ids once you've had
|
||||
# the appropriate changes committed to the upstream linux-yocto repo
|
||||
SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
|
||||
SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
|
||||
#LINUX_VERSION = "4.10"
|
||||
#Remove the following line once AUTOREV is locked to a certain SRCREV
|
||||
KERNEL_VERSION_SANITY_SKIP = "1"
|
||||
@@ -1,37 +0,0 @@
|
||||
# yocto-bsp-filename {{ if kernel_choice == "linux-yocto_4.12": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
PR := "${PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
SRC_URI += "file://{{=machine}}.scc \
|
||||
file://{{=machine}}.cfg \
|
||||
file://{{=machine}}-standard.scc \
|
||||
file://{{=machine}}-user-config.cfg \
|
||||
file://{{=machine}}-user-features.scc \
|
||||
file://{{=machine}}-user-patches.scc \
|
||||
"
|
||||
|
||||
# replace these SRCREVs with the real commit ids once you've had
|
||||
# the appropriate changes committed to the upstream linux-yocto repo
|
||||
SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
|
||||
SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
|
||||
#LINUX_VERSION = "4.10"
|
||||
#Remove the following line once AUTOREV is locked to a certain SRCREV
|
||||
KERNEL_VERSION_SANITY_SKIP = "1"
|
||||
@@ -1,37 +0,0 @@
|
||||
# yocto-bsp-filename {{ if kernel_choice == "linux-yocto_4.4": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
PR := "${PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
SRC_URI += "file://{{=machine}}.scc \
|
||||
file://{{=machine}}.cfg \
|
||||
file://{{=machine}}-standard.scc \
|
||||
file://{{=machine}}-user-config.cfg \
|
||||
file://{{=machine}}-user-features.scc \
|
||||
file://{{=machine}}-user-patches.scc \
|
||||
"
|
||||
|
||||
# replace these SRCREVs with the real commit ids once you've had
|
||||
# the appropriate changes committed to the upstream linux-yocto repo
|
||||
SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
|
||||
SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
|
||||
#LINUX_VERSION = "4.4"
|
||||
#Remove the following line once AUTOREV is locked to a certain SRCREV
|
||||
KERNEL_VERSION_SANITY_SKIP = "1"
|
||||
@@ -1,17 +0,0 @@
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
@@ -1,118 +0,0 @@
|
||||
This README file contains information on building the meta-{{=machine}}
|
||||
BSP layer, and booting the images contained in the /binary directory.
|
||||
Please see the corresponding sections below for details.
|
||||
|
||||
|
||||
Dependencies
|
||||
============
|
||||
|
||||
This layer depends on:
|
||||
|
||||
URI: git://git.openembedded.org/bitbake
|
||||
branch: master
|
||||
|
||||
URI: git://git.openembedded.org/openembedded-core
|
||||
layers: meta
|
||||
branch: master
|
||||
|
||||
URI: git://git.yoctoproject.org/xxxx
|
||||
layers: xxxx
|
||||
branch: master
|
||||
|
||||
|
||||
Patches
|
||||
=======
|
||||
|
||||
Please submit any patches against this BSP to the Yocto mailing list
|
||||
(yocto@yoctoproject.org) and cc: the maintainer:
|
||||
|
||||
Maintainer: XXX YYYYYY <xxx.yyyyyy@zzzzz.com>
|
||||
|
||||
Please see the meta-xxxx/MAINTAINERS file for more details.
|
||||
|
||||
|
||||
Table of Contents
|
||||
=================
|
||||
|
||||
I. Building the meta-{{=machine}} BSP layer
|
||||
II. Booting the images in /binary
|
||||
|
||||
|
||||
I. Building the meta-{{=machine}} BSP layer
|
||||
========================================
|
||||
|
||||
--- replace with specific instructions for your layer ---
|
||||
|
||||
In order to build an image with BSP support for a given release, you
|
||||
need to download the corresponding BSP tarball from the 'Board Support
|
||||
Package (BSP) Downloads' page of the Yocto Project website.
|
||||
|
||||
Having done that, and assuming you extracted the BSP tarball contents
|
||||
at the top-level of your yocto build tree, you can build a
|
||||
{{=machine}} image by adding the location of the meta-{{=machine}}
|
||||
layer to bblayers.conf, along with any other layers needed (to access
|
||||
common metadata shared between BSPs) e.g.:
|
||||
|
||||
yocto/meta-xxxx \
|
||||
yocto/meta-xxxx/meta-{{=machine}} \
|
||||
|
||||
To enable the {{=machine}} layer, add the {{=machine}} MACHINE to local.conf:
|
||||
|
||||
MACHINE ?= "{{=machine}}"
|
||||
|
||||
You should then be able to build a {{=machine}} image as such:
|
||||
|
||||
$ source oe-init-build-env
|
||||
$ bitbake core-image-sato
|
||||
|
||||
At the end of a successful build, you should have a live image that
|
||||
you can boot from a USB flash drive (see instructions on how to do
|
||||
that below, in the section 'Booting the images from /binary').
|
||||
|
||||
As an alternative to downloading the BSP tarball, you can also work
|
||||
directly from the meta-xxxx git repository. For each BSP in the
|
||||
'meta-xxxx' repository, there are multiple branches, one corresponding
|
||||
to each major release starting with 'laverne' (0.90), in addition to
|
||||
the latest code which tracks the current master (note that not all
|
||||
BSPs are present in every release). Instead of extracting a BSP
|
||||
tarball at the top level of your yocto build tree, you can
|
||||
equivalently check out the appropriate branch from the meta-xxxx
|
||||
repository at the same location.
|
||||
|
||||
|
||||
II. Booting the images in /binary
|
||||
=================================
|
||||
|
||||
--- replace with specific instructions for your platform ---
|
||||
|
||||
This BSP contains bootable live images, which can be used to directly
|
||||
boot Yocto off of a USB flash drive.
|
||||
|
||||
Under Linux, insert a USB flash drive. Assuming the USB flash drive
|
||||
takes device /dev/sdf, use dd to copy the live image to it. For
|
||||
example:
|
||||
|
||||
# dd if=core-image-sato-{{=machine}}-20101207053738.hddimg of=/dev/sdf
|
||||
# sync
|
||||
# eject /dev/sdf
|
||||
|
||||
This should give you a bootable USB flash device. Insert the device
|
||||
into a bootable USB socket on the target, and power on. This should
|
||||
result in a system booted to the Sato graphical desktop.
|
||||
|
||||
If you want a terminal, use the arrows at the top of the UI to move to
|
||||
different pages of available applications, one of which is named
|
||||
'Terminal'. Clicking that should give you a root terminal.
|
||||
|
||||
If you want to ssh into the system, you can use the root terminal to
|
||||
ifconfig the IP address and use that to ssh in. The root password is
|
||||
empty, so to log in type 'root' for the user name and hit 'Enter' at
|
||||
the Password prompt: and you should be in.
|
||||
|
||||
----
|
||||
|
||||
If you find you're getting corrupt images on the USB (it doesn't show
|
||||
the syslinux boot: prompt, or the boot: prompt contains strange
|
||||
characters), try doing this first:
|
||||
|
||||
# dd if=/dev/zero of=/dev/sdf bs=1M count=512
|
||||
@@ -1,17 +0,0 @@
|
||||
The sources for the packages comprising the images shipped with this
|
||||
BSP can be found at the following location:
|
||||
|
||||
http://downloads.yoctoproject.org/mirror/sources/
|
||||
|
||||
The metadata used to generate the images shipped with this BSP, in
|
||||
addition to the code contained in this BSP, can be found at the
|
||||
following location:
|
||||
|
||||
http://www.yoctoproject.org/downloads/yocto-1.1/poky-edison-6.0.tar.bz2
|
||||
|
||||
The metadata used to generate the images shipped with this BSP, in
|
||||
addition to the code contained in this BSP, can also be found at the
|
||||
following locations:
|
||||
|
||||
git://git.yoctoproject.org/poky.git
|
||||
git://git.yoctoproject.org/meta-xxxx
|
||||
@@ -1,10 +0,0 @@
|
||||
# We have a conf and classes directory, add to BBPATH
|
||||
BBPATH .= ":${LAYERDIR}"
|
||||
|
||||
# We have a recipes-* directories, add to BBFILES
|
||||
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
||||
${LAYERDIR}/recipes-*/*/*.bbappend"
|
||||
|
||||
BBFILE_COLLECTIONS += "{{=machine}}"
|
||||
BBFILE_PATTERN_{{=machine}} = "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_{{=machine}} = "6"
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-dirname {{=machine}}
|
||||
@@ -1,5 +0,0 @@
|
||||
# Assume a USB mouse and keyboard are connected
|
||||
{{ input type:"boolean" name:"touchscreen" msg:"Does your BSP have a touchscreen? (y/n)" default:"n" }}
|
||||
HAVE_TOUCHSCREEN={{=touchscreen}}
|
||||
{{ input type:"boolean" name:"keyboard" msg:"Does your BSP have a keyboard? (y/n)" default:"y" }}
|
||||
HAVE_KEYBOARD={{=keyboard}}
|
||||
@@ -1,2 +0,0 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
{{ if kernel_choice == "custom": }}
|
||||
{{ input type:"boolean" name:"custom_kernel_remote" prio:"20" msg:"Is the custom kernel you'd like to use in a remote git repo? (y/n)" default:"y"}}
|
||||
|
||||
{{ if kernel_choice == "custom" and custom_kernel_remote == "y": }}
|
||||
{{ input type:"edit-git-repo" name:"custom_kernel_remote_path" prio:"20" msg:"Please enter the full URI to the remote git repo (the default corresponds to linux-stable v3.16.3)" default:"git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git"}}
|
||||
|
||||
{{ if kernel_choice == "custom" and custom_kernel_remote == "n": }}
|
||||
{{ input type:"edit-git-repo" name:"custom_kernel_local_path" prio:"20" msg:"You've indicated that you're not using a remote git repo. Please enter the full path to the local git repo you want to use (the default assumes a local linux-stable v3.16.3)" default:"/home/trz/yocto/kernels/linux-stable.git"}}
|
||||
|
||||
{{ if kernel_choice == "custom": }}
|
||||
{{ input type:"boolean" name:"custom_kernel_need_kbranch" prio:"20" msg:"Do you need to use a specific (non-master) branch? (y/n)" default:"n"}}
|
||||
|
||||
{{ if kernel_choice == "custom" and custom_kernel_need_kbranch == "y": }}
|
||||
{{ input type:"edit" name:"custom_kernel_kbranch" prio:"20" msg:"Please enter the branch you want to use (the default branch corresponds to the linux-stable 'linux-3.16.y' branch):" default:"linux-3.16.y"}}
|
||||
|
||||
{{ if kernel_choice == "custom": }}
|
||||
{{ input type:"edit" name:"custom_kernel_srcrev" prio:"20" msg:"Please enter the SRCREV (commit id) you'd like to use (use '${AUTOREV}' to track the current HEAD):" default:"${AUTOREV}"}}
|
||||
|
||||
{{ if kernel_choice == "custom": }}
|
||||
{{ input type:"edit" name:"custom_kernel_linux_version" prio:"20" msg:"Please enter the Linux version of the kernel you've specified:" default:"3.16.3"}}
|
||||
|
||||
{{ if kernel_choice == "custom": }}
|
||||
{{ input type:"edit" name:"custom_kernel_linux_version_extension" prio:"20" msg:"Please enter a Linux version extension if you want (it will show up at the end of the kernel name shown by uname):" default:"-custom"}}
|
||||
|
||||
{{ if kernel_choice == "custom": }}
|
||||
{{ input type:"edit-file" name:"custom_kernel_defconfig" prio:"20" msg:"It's recommended (but not required) that custom kernels be built using a defconfig. Please enter the full path to the defconfig for your kernel (NOTE: if you don't specify a defconfig the kernel probably won't build or boot):" default:""}}
|
||||
@@ -1,58 +0,0 @@
|
||||
# yocto-bsp-filename {{ if kernel_choice == "custom": }} this
|
||||
# This file was derived from the linux-yocto-custom.bb recipe in
|
||||
# oe-core.
|
||||
#
|
||||
# linux-yocto-custom.bb:
|
||||
#
|
||||
# A yocto-bsp-generated kernel recipe that uses the linux-yocto and
|
||||
# oe-core kernel classes to apply a subset of yocto kernel
|
||||
# management to git managed kernel repositories.
|
||||
#
|
||||
# Warning:
|
||||
#
|
||||
# Building this kernel without providing a defconfig or BSP
|
||||
# configuration will result in build or boot errors. This is not a
|
||||
# bug.
|
||||
#
|
||||
# Notes:
|
||||
#
|
||||
# patches: patches can be merged into to the source git tree itself,
|
||||
# added via the SRC_URI, or controlled via a BSP
|
||||
# configuration.
|
||||
#
|
||||
# example configuration addition:
|
||||
# SRC_URI += "file://smp.cfg"
|
||||
# example patch addition:
|
||||
# SRC_URI += "file://0001-linux-version-tweak.patch
|
||||
# example feature addition:
|
||||
# SRC_URI += "file://feature.scc"
|
||||
#
|
||||
|
||||
inherit kernel
|
||||
require recipes-kernel/linux/linux-yocto.inc
|
||||
|
||||
{{ if kernel_choice == "custom" and custom_kernel_remote == "y": }}
|
||||
SRC_URI = "{{=custom_kernel_remote_path}};protocol=git;bareclone=1;branch=${KBRANCH}"
|
||||
{{ if kernel_choice == "custom" and custom_kernel_remote == "n": }}
|
||||
SRC_URI = "git://{{=custom_kernel_local_path}};protocol=file;bareclone=1;branch=${KBRANCH}"
|
||||
|
||||
SRC_URI += "file://defconfig"
|
||||
|
||||
SRC_URI += "file://{{=machine}}.scc \
|
||||
file://{{=machine}}.cfg \
|
||||
file://{{=machine}}-user-config.cfg \
|
||||
file://{{=machine}}-user-patches.scc \
|
||||
file://{{=machine}}-user-features.scc \
|
||||
"
|
||||
|
||||
{{ if kernel_choice == "custom" and custom_kernel_need_kbranch == "y" and custom_kernel_kbranch and custom_kernel_kbranch != "master": }}
|
||||
KBRANCH = "{{=custom_kernel_kbranch}}"
|
||||
|
||||
LINUX_VERSION ?= "{{=custom_kernel_linux_version}}"
|
||||
LINUX_VERSION_EXTENSION ?= "{{=custom_kernel_linux_version_extension}}"
|
||||
|
||||
SRCREV="{{=custom_kernel_srcrev}}"
|
||||
|
||||
PV = "${LINUX_VERSION}+git${SRCPV}"
|
||||
|
||||
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-dirname {{ if kernel_choice == "custom": }} linux-yocto-custom
|
||||
@@ -1,5 +0,0 @@
|
||||
#
|
||||
# Placeholder for custom default kernel configuration. yocto-bsp will
|
||||
# replace this file with a user-specified defconfig.
|
||||
#
|
||||
{{ if custom_kernel_defconfig: replace_file(of, custom_kernel_defconfig) }}
|
||||
@@ -1,9 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}-user-config.cfg
|
||||
#
|
||||
# Used by yocto-kernel to manage config options.
|
||||
#
|
||||
# yocto-kernel may change the contents of this file in any
|
||||
# way it sees fit, including removing comments like this,
|
||||
# so don't manually make any modifications you don't want
|
||||
# to lose.
|
||||
#
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}-user-features.scc
|
||||
@@ -1,9 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}-user-patches.scc
|
||||
#
|
||||
# Used by yocto-kernel to manage patches.
|
||||
#
|
||||
# yocto-kernel may change the contents of this file in any
|
||||
# way it sees fit, including removing comments like this,
|
||||
# so don't manually make any modifications you don't want
|
||||
# to lose.
|
||||
#
|
||||
@@ -1,4 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}.cfg
|
||||
#
|
||||
# A convenient place to add config options, nothing more.
|
||||
#
|
||||
@@ -1,16 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}.scc
|
||||
#
|
||||
# The top-level 'feature' for the {{=machine}} custom kernel.
|
||||
#
|
||||
# Essentially this is a convenient top-level container or starting
|
||||
# point for adding lower-level config fragements and features.
|
||||
#
|
||||
|
||||
# {{=machine}}.cfg in the linux-yocto-custom subdir is just a
|
||||
# convenient place for adding random config fragments.
|
||||
|
||||
kconf hardware {{=machine}}.cfg
|
||||
|
||||
# These are used by yocto-kernel to add config fragments and features.
|
||||
# Don't remove if you plan on using yocto-kernel with this BSP.
|
||||
|
||||
@@ -1,69 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}.conf
|
||||
#@TYPE: Machine
|
||||
#@NAME: {{=machine}}
|
||||
|
||||
#@DESCRIPTION: Machine configuration for {{=machine}} systems
|
||||
|
||||
{{ if kernel_choice == "custom": preferred_kernel = "linux-yocto-custom" }}
|
||||
{{ if kernel_choice == "linux-yocto-dev": preferred_kernel = "linux-yocto-dev" }}
|
||||
{{ if kernel_choice == "custom" or kernel_choice == "linux-yocto-dev" : }}
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}"
|
||||
|
||||
{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel = kernel_choice.split('_')[0] }}
|
||||
{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel_version = kernel_choice.split('_')[1] }}
|
||||
{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": }}
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}"
|
||||
PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%"
|
||||
|
||||
{{ input type:"choicelist" name:"tunefile" prio:"40" msg:"Which machine tuning would you like to use?" default:"tune_core2" }}
|
||||
{{ input type:"choice" val:"tune_i586" msg:"i586 tuning optimizations" }}
|
||||
{{ input type:"choice" val:"tune_atom" msg:"Atom tuning optimizations" }}
|
||||
{{ input type:"choice" val:"tune_core2" msg:"Core2 tuning optimizations" }}
|
||||
{{ if tunefile == "tune_i586": }}
|
||||
require conf/machine/include/tune-i586.inc
|
||||
{{ if tunefile == "tune_atom": }}
|
||||
require conf/machine/include/tune-atom.inc
|
||||
{{ if tunefile == "tune_core2": }}
|
||||
DEFAULTTUNE="core2-32"
|
||||
require conf/machine/include/tune-core2.inc
|
||||
|
||||
require conf/machine/include/x86-base.inc
|
||||
|
||||
MACHINE_FEATURES += "wifi efi pcbios"
|
||||
|
||||
{{ input type:"boolean" name:"xserver" prio:"50" msg:"Do you need support for X? (y/n)" default:"y" }}
|
||||
|
||||
{{ if xserver == "y": }}
|
||||
{{ input type:"choicelist" name:"xserver_choice" prio:"50" msg:"Please select an xserver for this machine:" default:"xserver_vesa" }}
|
||||
{{ input type:"choice" val:"xserver_vesa" msg:"VESA xserver support" }}
|
||||
{{ input type:"choice" val:"xserver_i915" msg:"i915 xserver support" }}
|
||||
{{ input type:"choice" val:"xserver_i965" msg:"i965 xserver support" }}
|
||||
{{ input type:"choice" val:"xserver_fbdev" msg:"fbdev xserver support" }}
|
||||
{{ input type:"choice" val:"xserver_modesetting" msg:"modesetting xserver support" }}
|
||||
|
||||
{{ if xserver == "y" and kernel_choice != "linux-yocto_4.8" and kernel_choice != "linux-yocto_4.4" and kernel_choice != "linux-yocto_4.1" and kernel_choice != "custom": xserver_choice = "xserver_i915" }}
|
||||
|
||||
{{ if xserver == "y": }}
|
||||
XSERVER ?= "${XSERVER_X86_BASE} \
|
||||
${XSERVER_X86_EXT} \
|
||||
{{ if xserver == "y" and xserver_choice == "xserver_vesa": }}
|
||||
${XSERVER_X86_VESA} \
|
||||
{{ if xserver == "y" and xserver_choice == "xserver_i915": }}
|
||||
${XSERVER_X86_I915} \
|
||||
{{ if xserver == "y" and xserver_choice == "xserver_i965": }}
|
||||
${XSERVER_X86_I965} \
|
||||
{{ if xserver == "y" and xserver_choice == "xserver_fbdev": }}
|
||||
${XSERVER_X86_FBDEV} \
|
||||
{{ if xserver == "y" and xserver_choice == "xserver_modesetting": }}
|
||||
${XSERVER_X86_MODESETTING} \
|
||||
{{ if xserver == "y": }}
|
||||
"
|
||||
|
||||
MACHINE_EXTRA_RRECOMMENDS += "linux-firmware v86d eee-acpi-scripts"
|
||||
|
||||
EXTRA_OECONF_append_pn-matchbox-panel-2 = " --with-battery=acpi"
|
||||
|
||||
GLIBC_ADDONS = "nptl"
|
||||
|
||||
{{ if xserver == "y" and xserver_choice == "xserver_vesa": }}
|
||||
APPEND += "video=vesafb vga=0x318"
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-dirname {{=machine}}
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-filename {{ if xserver == "y": }} this
|
||||
@@ -1,2 +0,0 @@
|
||||
# yocto-bsp-filename {{ if xserver == "y": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-dirname {{ if kernel_choice != "custom": }} files
|
||||
@@ -1,17 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}-preempt-rt.scc
|
||||
define KMACHINE {{=machine}}
|
||||
|
||||
define KARCH i386
|
||||
|
||||
include {{=map_preempt_rt_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}}
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
define KTYPE {{=new_kbranch}}
|
||||
branch {{=machine}}
|
||||
|
||||
include {{=machine}}.scc
|
||||
|
||||
# default policy for preempt-rt kernels
|
||||
include cfg/usb-mass-storage.scc
|
||||
include cfg/boot-live.scc
|
||||
include features/latencytop/latencytop.scc
|
||||
include features/profiling/profiling.scc
|
||||
@@ -1,17 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}-standard.scc
|
||||
define KMACHINE {{=machine}}
|
||||
|
||||
define KARCH i386
|
||||
|
||||
include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} nopatch
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
define KTYPE {{=new_kbranch}}
|
||||
branch {{=machine}}
|
||||
|
||||
include {{=machine}}.scc
|
||||
|
||||
# default policy for standard kernels
|
||||
include cfg/usb-mass-storage.scc
|
||||
include cfg/boot-live.scc
|
||||
include features/latencytop/latencytop.scc
|
||||
include features/profiling/profiling.scc
|
||||
@@ -1,11 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}-tiny.scc
|
||||
define KMACHINE {{=machine}}
|
||||
|
||||
define KARCH i386
|
||||
|
||||
include {{=map_tiny_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}}
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
define KTYPE {{=new_kbranch}}
|
||||
branch {{=machine}}
|
||||
|
||||
include {{=machine}}.scc
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}-user-config.cfg
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}-user-features.scc
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}-user-patches.scc
|
||||
@@ -1,58 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}.cfg
|
||||
CONFIG_X86_32=y
|
||||
# Must explicitly disable 64BIT
|
||||
# CONFIG_64BIT is not set
|
||||
|
||||
CONFIG_MATOM=y
|
||||
CONFIG_PRINTK=y
|
||||
|
||||
# Basic hardware support for the box - network, USB, PCI, sound
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_ATA=y
|
||||
CONFIG_ATA_GENERIC=y
|
||||
CONFIG_ATA_SFF=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_USB_SUPPORT=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_ARCH_HAS_EHCI=y
|
||||
CONFIG_R8169=y
|
||||
CONFIG_PATA_SCH=y
|
||||
CONFIG_MMC_SDHCI_PCI=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_PCIEPORTBUS=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_USB_UHCI_HCD=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_CHR_DEV_SG=y
|
||||
CONFIG_SOUND=y
|
||||
CONFIG_SND=y
|
||||
CONFIG_SND_HDA_INTEL=y
|
||||
CONFIG_SATA_AHCI=y
|
||||
CONFIG_AGP=y
|
||||
CONFIG_PM=y
|
||||
CONFIG_ACPI=y
|
||||
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
||||
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
||||
CONFIG_INPUT=y
|
||||
|
||||
# Make sure these are on, otherwise the bootup won't be fun
|
||||
CONFIG_EXT3_FS=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_SHMEM=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_PACKET=y
|
||||
|
||||
# Needed for booting (and using) USB memory sticks
|
||||
CONFIG_BLK_DEV_LOOP=y
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
|
||||
CONFIG_RD_GZIP=y
|
||||
|
||||
# Needed for booting (and using) CD images
|
||||
CONFIG_BLK_DEV_SR=y
|
||||
@@ -1,19 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}.scc
|
||||
kconf hardware {{=machine}}.cfg
|
||||
|
||||
include features/intel-e1xxxx/intel-e100.scc
|
||||
include features/intel-e1xxxx/intel-e1xxxx.scc
|
||||
|
||||
{{ if xserver == "y" and xserver_choice == "xserver_i915" or xserver_choice == "xserver_i965": }}
|
||||
include features/i915/i915.scc
|
||||
|
||||
include features/serial/8250.scc
|
||||
include features/ericsson-3g/f5521gw.scc
|
||||
|
||||
{{ if xserver == "y" and xserver_choice == "xserver_vesa": }}
|
||||
include cfg/vesafb.scc
|
||||
|
||||
include cfg/usb-mass-storage.scc
|
||||
include cfg/boot-live.scc
|
||||
include features/power/intel.scc
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{{ if kernel_choice != "custom": }}
|
||||
{{ input type:"boolean" name:"use_default_kernel" prio:"10" msg:"Would you like to use the default (4.12) kernel? (y/n)" default:"y"}}
|
||||
|
||||
{{ if kernel_choice != "custom" and use_default_kernel == "n": }}
|
||||
{{ input type:"choicelist" name:"kernel_choice" gen:"bsp.kernel.kernels" prio:"10" msg:"Please choose the kernel to use in this BSP:" default:"linux-yocto_4.12"}}
|
||||
@@ -1,28 +0,0 @@
|
||||
# yocto-bsp-filename {{ if kernel_choice == "linux-yocto-dev": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
PR := "${PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" nameappend:"i386" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"i386" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Would you like SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
SRC_URI += "file://{{=machine}}.scc \
|
||||
file://{{=machine}}.cfg \
|
||||
file://{{=machine}}-standard.scc \
|
||||
file://{{=machine}}-user-config.cfg \
|
||||
file://{{=machine}}-user-features.scc \
|
||||
file://{{=machine}}-user-patches.scc \
|
||||
"
|
||||
@@ -1,37 +0,0 @@
|
||||
# yocto-bsp-filename {{ if kernel_choice == "linux-yocto-tiny_4.10": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
PR := "${PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
SRC_URI += "file://{{=machine}}.scc \
|
||||
file://{{=machine}}.cfg \
|
||||
file://{{=machine}}-tiny.scc \
|
||||
file://{{=machine}}-user-config.cfg \
|
||||
file://{{=machine}}-user-patches.scc \
|
||||
file://{{=machine}}-user-features.scc \
|
||||
"
|
||||
|
||||
# replace these SRCREVs with the real commit ids once you've had
|
||||
# the appropriate changes committed to the upstream linux-yocto repo
|
||||
SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
|
||||
SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
|
||||
#LINUX_VERSION = "4.10"
|
||||
#Remove the following line once AUTOREV is locked to a certain SRCREV
|
||||
KERNEL_VERSION_SANITY_SKIP = "1"
|
||||
@@ -1,37 +0,0 @@
|
||||
# yocto-bsp-filename {{ if kernel_choice == "linux-yocto-tiny_4.12": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
PR := "${PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
SRC_URI += "file://{{=machine}}.scc \
|
||||
file://{{=machine}}.cfg \
|
||||
file://{{=machine}}-tiny.scc \
|
||||
file://{{=machine}}-user-config.cfg \
|
||||
file://{{=machine}}-user-patches.scc \
|
||||
file://{{=machine}}-user-features.scc \
|
||||
"
|
||||
|
||||
# replace these SRCREVs with the real commit ids once you've had
|
||||
# the appropriate changes committed to the upstream linux-yocto repo
|
||||
SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
|
||||
SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
|
||||
#LINUX_VERSION = "4.10"
|
||||
#Remove the following line once AUTOREV is locked to a certain SRCREV
|
||||
KERNEL_VERSION_SANITY_SKIP = "1"
|
||||
@@ -1,37 +0,0 @@
|
||||
# yocto-bsp-filename {{ if kernel_choice == "linux-yocto-tiny_4.4": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
PR := "${PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
SRC_URI += "file://{{=machine}}.scc \
|
||||
file://{{=machine}}.cfg \
|
||||
file://{{=machine}}-tiny.scc \
|
||||
file://{{=machine}}-user-config.cfg \
|
||||
file://{{=machine}}-user-patches.scc \
|
||||
file://{{=machine}}-user-features.scc \
|
||||
"
|
||||
|
||||
# replace these SRCREVs with the real commit ids once you've had
|
||||
# the appropriate changes committed to the upstream linux-yocto repo
|
||||
SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
|
||||
SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
|
||||
#LINUX_VERSION = "4.4"
|
||||
#Remove the following line once AUTOREV is locked to a certain SRCREV
|
||||
KERNEL_VERSION_SANITY_SKIP = "1"
|
||||
@@ -1,37 +0,0 @@
|
||||
# yocto-bsp-filename {{ if kernel_choice == "linux-yocto_4.10": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
PR := "${PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard:standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard:standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
SRC_URI += "file://{{=machine}}.scc \
|
||||
file://{{=machine}}.cfg \
|
||||
file://{{=machine}}-standard.scc \
|
||||
file://{{=machine}}-user-config.cfg \
|
||||
file://{{=machine}}-user-features.scc \
|
||||
file://{{=machine}}-user-patches.scc \
|
||||
"
|
||||
|
||||
# replace these SRCREVs with the real commit ids once you've had
|
||||
# the appropriate changes committed to the upstream linux-yocto repo
|
||||
SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
|
||||
SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
|
||||
#LINUX_VERSION = "4.10"
|
||||
#Remove the following line once AUTOREV is locked to a certain SRCREV
|
||||
KERNEL_VERSION_SANITY_SKIP = "1"
|
||||
@@ -1,37 +0,0 @@
|
||||
# yocto-bsp-filename {{ if kernel_choice == "linux-yocto_4.12": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
PR := "${PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard:standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard:standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
SRC_URI += "file://{{=machine}}.scc \
|
||||
file://{{=machine}}.cfg \
|
||||
file://{{=machine}}-standard.scc \
|
||||
file://{{=machine}}-user-config.cfg \
|
||||
file://{{=machine}}-user-features.scc \
|
||||
file://{{=machine}}-user-patches.scc \
|
||||
"
|
||||
|
||||
# replace these SRCREVs with the real commit ids once you've had
|
||||
# the appropriate changes committed to the upstream linux-yocto repo
|
||||
SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
|
||||
SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
|
||||
#LINUX_VERSION = "4.10"
|
||||
#Remove the following line once AUTOREV is locked to a certain SRCREV
|
||||
KERNEL_VERSION_SANITY_SKIP = "1"
|
||||
@@ -1,37 +0,0 @@
|
||||
# yocto-bsp-filename {{ if kernel_choice == "linux-yocto_4.4": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
PR := "${PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard:standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard:standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
SRC_URI += "file://{{=machine}}.scc \
|
||||
file://{{=machine}}.cfg \
|
||||
file://{{=machine}}-standard.scc \
|
||||
file://{{=machine}}-user-config.cfg \
|
||||
file://{{=machine}}-user-features.scc \
|
||||
file://{{=machine}}-user-patches.scc \
|
||||
"
|
||||
|
||||
# replace these SRCREVs with the real commit ids once you've had
|
||||
# the appropriate changes committed to the upstream linux-yocto repo
|
||||
SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
|
||||
SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
|
||||
#LINUX_VERSION = "4.4"
|
||||
#Remove the following line once AUTOREV is locked to a certain SRCREV
|
||||
KERNEL_VERSION_SANITY_SKIP = "1"
|
||||
@@ -1,17 +0,0 @@
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
@@ -1,64 +0,0 @@
|
||||
This README file contains information on the contents of the
|
||||
{{=layer_name}} layer.
|
||||
|
||||
Please see the corresponding sections below for details.
|
||||
|
||||
|
||||
Dependencies
|
||||
============
|
||||
|
||||
This layer depends on:
|
||||
|
||||
URI: git://git.openembedded.org/bitbake
|
||||
branch: master
|
||||
|
||||
URI: git://git.openembedded.org/openembedded-core
|
||||
layers: meta
|
||||
branch: master
|
||||
|
||||
URI: git://git.yoctoproject.org/xxxx
|
||||
layers: xxxx
|
||||
branch: master
|
||||
|
||||
|
||||
Patches
|
||||
=======
|
||||
|
||||
Please submit any patches against the {{=layer_name}} layer to the
|
||||
xxxx mailing list (xxxx@zzzz.org) and cc: the maintainer:
|
||||
|
||||
Maintainer: XXX YYYYYY <xxx.yyyyyy@zzzzz.com>
|
||||
|
||||
|
||||
Table of Contents
|
||||
=================
|
||||
|
||||
I. Adding the {{=layer_name}} layer to your build
|
||||
II. Misc
|
||||
|
||||
|
||||
I. Adding the {{=layer_name}} layer to your build
|
||||
=================================================
|
||||
|
||||
--- replace with specific instructions for the {{=layer_name}} layer ---
|
||||
|
||||
In order to use this layer, you need to make the build system aware of
|
||||
it.
|
||||
|
||||
Assuming the {{=layer_name}} layer exists at the top-level of your
|
||||
yocto build tree, you can add it to the build system by adding the
|
||||
location of the {{=layer_name}} layer to bblayers.conf, along with any
|
||||
other layers needed. e.g.:
|
||||
|
||||
BBLAYERS ?= " \
|
||||
/path/to/yocto/meta \
|
||||
/path/to/yocto/meta-poky \
|
||||
/path/to/yocto/meta-yocto-bsp \
|
||||
/path/to/yocto/meta-{{=layer_name}} \
|
||||
"
|
||||
|
||||
|
||||
II. Misc
|
||||
========
|
||||
|
||||
--- replace with specific information about the {{=layer_name}} layer ---
|
||||
@@ -1,10 +0,0 @@
|
||||
# We have a conf and classes directory, add to BBPATH
|
||||
BBPATH .= ":${LAYERDIR}"
|
||||
|
||||
# We have recipes-* directories, add to BBFILES
|
||||
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
||||
${LAYERDIR}/recipes-*/*/*.bbappend"
|
||||
|
||||
BBFILE_COLLECTIONS += "{{=layer_name}}"
|
||||
BBFILE_PATTERN_{{=layer_name}} = "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_{{=layer_name}} = "{{=layer_priority}}"
|
||||
@@ -1,14 +0,0 @@
|
||||
{{ input type:"edit" name:"layer_priority" prio:"20" msg:"Please enter the layer priority you'd like to use for the layer:" default:"6"}}
|
||||
|
||||
{{ input type:"boolean" name:"create_example_recipe" prio:"20" msg:"Would you like to have an example recipe created? (y/n)" default:"n"}}
|
||||
|
||||
{{ if create_example_recipe == "y": }}
|
||||
{{ input type:"edit" name:"example_recipe_name" prio:"20" msg:"Please enter the name you'd like to use for your example recipe:" default:"example"}}
|
||||
|
||||
{{ input type:"boolean" name:"create_example_bbappend" prio:"20" msg:"Would you like to have an example bbappend file created? (y/n)" default:"n"}}
|
||||
|
||||
{{ if create_example_bbappend == "y": }}
|
||||
{{ input type:"edit" name:"example_bbappend_name" prio:"20" msg:"Please enter the name you'd like to use for your bbappend file:" default:"example"}}
|
||||
|
||||
{{ if create_example_bbappend == "y": }}
|
||||
{{ input type:"edit" name:"example_bbappend_version" prio:"20" msg:"Please enter the version number you'd like to use for your bbappend file (this should match the recipe you're appending to):" default:"0.1"}}
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-dirname {{ if create_example_bbappend == "y": }} recipes-example-bbappend
|
||||
@@ -1,9 +0,0 @@
|
||||
# yocto-bsp-filename {{=example_bbappend_name}}_{{=example_bbappend_version}}.bbappend
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
|
||||
|
||||
#
|
||||
# This .bbappend doesn't yet do anything - replace this text with
|
||||
# modifications to the example_0.1.bb recipe, or whatever recipe it is
|
||||
# that you want to modify with this .bbappend (make sure you change
|
||||
# the recipe name (PN) and version (PV) to match).
|
||||
#
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-dirname {{=example_bbappend_name}}-{{=example_bbappend_version}}
|
||||
@@ -1,12 +0,0 @@
|
||||
#
|
||||
# This is a non-functional placeholder file, here for example purposes
|
||||
# only.
|
||||
#
|
||||
# If you had a patch for your recipe, you'd put it in this directory
|
||||
# and reference it from your recipe's SRC_URI:
|
||||
#
|
||||
# SRC_URI += "file://example.patch"
|
||||
#
|
||||
# Note that you could also rename the directory containing this patch
|
||||
# to remove the version number or simply rename it 'files'. Doing so
|
||||
# allows you to use the same directory for multiple recipes.
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-dirname {{ if create_example_recipe == "y": }} recipes-example
|
||||
@@ -1,23 +0,0 @@
|
||||
# yocto-bsp-filename {{=example_recipe_name}}_0.1.bb
|
||||
#
|
||||
# This file was derived from the 'Hello World!' example recipe in the
|
||||
# Yocto Project Development Manual.
|
||||
#
|
||||
|
||||
SUMMARY = "Simple helloworld application"
|
||||
SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
SRC_URI = "file://helloworld.c"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_compile() {
|
||||
${CC} ${LDFLAGS} helloworld.c -o helloworld
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-dirname {{=example_recipe_name}}-0.1
|
||||
@@ -1,12 +0,0 @@
|
||||
#
|
||||
# This is a non-functional placeholder file, here for example purposes
|
||||
# only.
|
||||
#
|
||||
# If you had a patch for your recipe, you'd put it in this directory
|
||||
# and reference it from your recipe's SRC_URI:
|
||||
#
|
||||
# SRC_URI += "file://example.patch"
|
||||
#
|
||||
# Note that you could also rename the directory containing this patch
|
||||
# to remove the version number or simply rename it 'files'. Doing so
|
||||
# allows you to use the same directory for multiple recipes.
|
||||
@@ -1,8 +0,0 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
printf("Hello World!\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}.conf
|
||||
#@TYPE: Machine
|
||||
#@NAME: {{=machine}}
|
||||
|
||||
#@DESCRIPTION: Machine configuration for {{=machine}} systems
|
||||
|
||||
require conf/machine/include/tune-mips32.inc
|
||||
|
||||
MACHINE_FEATURES = "screen keyboard pci usbhost ext2 ext3 serial"
|
||||
|
||||
KERNEL_IMAGETYPE = "vmlinux"
|
||||
KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
|
||||
KERNEL_IMAGE_STRIP_EXTRA_SECTIONS = ".comment"
|
||||
|
||||
{{ if kernel_choice == "custom": preferred_kernel = "linux-yocto-custom" }}
|
||||
{{ if kernel_choice == "linux-yocto-dev": preferred_kernel = "linux-yocto-dev" }}
|
||||
{{ if kernel_choice == "custom" or kernel_choice == "linux-yocto-dev" : }}
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}"
|
||||
|
||||
{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel = kernel_choice.split('_')[0] }}
|
||||
{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel_version = kernel_choice.split('_')[1] }}
|
||||
{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": }}
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}"
|
||||
PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%"
|
||||
|
||||
{{ input type:"boolean" name:"xserver" prio:"50" msg:"Do you need support for X? (y/n)" default:"y" }}
|
||||
{{ if xserver == "y": }}
|
||||
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
|
||||
XSERVER ?= "xserver-xorg \
|
||||
xf86-video-fbdev"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
USE_VT ?= "0"
|
||||
|
||||
MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
|
||||
|
||||
IMAGE_FSTYPES ?= "jffs2 tar.bz2"
|
||||
JFFS2_ERASEBLOCK = "0x10000"
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-dirname {{ if kernel_choice != "custom": }} files
|
||||
@@ -1,11 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}-preempt-rt.scc
|
||||
define KMACHINE {{=machine}}
|
||||
|
||||
define KARCH mips
|
||||
|
||||
include {{=map_preempt_rt_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}}
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
define KTYPE {{=new_kbranch}}
|
||||
branch {{=machine}}
|
||||
|
||||
include {{=machine}}.scc
|
||||
@@ -1,11 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}-standard.scc
|
||||
define KMACHINE {{=machine}}
|
||||
|
||||
define KARCH mips
|
||||
|
||||
include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} nopatch
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
define KTYPE {{=new_kbranch}}
|
||||
branch {{=machine}}
|
||||
|
||||
include {{=machine}}.scc
|
||||
@@ -1,11 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}-tiny.scc
|
||||
define KMACHINE {{=machine}}
|
||||
|
||||
define KARCH mips
|
||||
|
||||
include {{=map_tiny_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}}
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
define KTYPE {{=new_kbranch}}
|
||||
branch {{=machine}}
|
||||
|
||||
include {{=machine}}.scc
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}-user-config.cfg
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}-user-features.scc
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}-user-patches.scc
|
||||
@@ -1,2 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}.cfg
|
||||
CONFIG_MIPS=y
|
||||
@@ -1,6 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}.scc
|
||||
kconf hardware {{=machine}}.cfg
|
||||
|
||||
include cfg/usb-mass-storage.scc
|
||||
include cfg/fs/vfat.scc
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{{ if kernel_choice != "custom": }}
|
||||
{{ input type:"boolean" name:"use_default_kernel" prio:"10" msg:"Would you like to use the default (4.12) kernel? (y/n)" default:"y"}}
|
||||
|
||||
{{ if kernel_choice != "custom" and use_default_kernel == "n": }}
|
||||
{{ input type:"choicelist" name:"kernel_choice" gen:"bsp.kernel.kernels" prio:"10" msg:"Please choose the kernel to use in this BSP:" default:"linux-yocto_4.12"}}
|
||||
@@ -1,28 +0,0 @@
|
||||
# yocto-bsp-filename {{ if kernel_choice == "linux-yocto-dev": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
PR := "${PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" nameappend:"i386" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"i386" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Would you like SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
SRC_URI += "file://{{=machine}}.scc \
|
||||
file://{{=machine}}.cfg \
|
||||
file://{{=machine}}-standard.scc \
|
||||
file://{{=machine}}-user-config.cfg \
|
||||
file://{{=machine}}-user-features.scc \
|
||||
file://{{=machine}}-user-patches.scc \
|
||||
"
|
||||
@@ -1,37 +0,0 @@
|
||||
# yocto-bsp-filename {{ if kernel_choice == "linux-yocto-tiny_4.10": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
PR := "${PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
SRC_URI += "file://{{=machine}}.scc \
|
||||
file://{{=machine}}.cfg \
|
||||
file://{{=machine}}-tiny.scc \
|
||||
file://{{=machine}}-user-config.cfg \
|
||||
file://{{=machine}}-user-patches.scc \
|
||||
file://{{=machine}}-user-features.scc \
|
||||
"
|
||||
|
||||
# replace these SRCREVs with the real commit ids once you've had
|
||||
# the appropriate changes committed to the upstream linux-yocto repo
|
||||
SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
|
||||
SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
|
||||
#LINUX_VERSION = "4.10"
|
||||
#Remove the following line once AUTOREV is locked to a certain SRCREV
|
||||
KERNEL_VERSION_SANITY_SKIP = "1"
|
||||
@@ -1,37 +0,0 @@
|
||||
# yocto-bsp-filename {{ if kernel_choice == "linux-yocto-tiny_4.12": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
PR := "${PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
SRC_URI += "file://{{=machine}}.scc \
|
||||
file://{{=machine}}.cfg \
|
||||
file://{{=machine}}-tiny.scc \
|
||||
file://{{=machine}}-user-config.cfg \
|
||||
file://{{=machine}}-user-patches.scc \
|
||||
file://{{=machine}}-user-features.scc \
|
||||
"
|
||||
|
||||
# replace these SRCREVs with the real commit ids once you've had
|
||||
# the appropriate changes committed to the upstream linux-yocto repo
|
||||
SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
|
||||
SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
|
||||
#LINUX_VERSION = "4.10"
|
||||
#Remove the following line once AUTOREV is locked to a certain SRCREV
|
||||
KERNEL_VERSION_SANITY_SKIP = "1"
|
||||
@@ -1,37 +0,0 @@
|
||||
# yocto-bsp-filename {{ if kernel_choice == "linux-yocto-tiny_4.4": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
PR := "${PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
SRC_URI += "file://{{=machine}}.scc \
|
||||
file://{{=machine}}.cfg \
|
||||
file://{{=machine}}-tiny.scc \
|
||||
file://{{=machine}}-user-config.cfg \
|
||||
file://{{=machine}}-user-patches.scc \
|
||||
file://{{=machine}}-user-features.scc \
|
||||
"
|
||||
|
||||
# replace these SRCREVs with the real commit ids once you've had
|
||||
# the appropriate changes committed to the upstream linux-yocto repo
|
||||
SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
|
||||
SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}"
|
||||
#LINUX_VERSION = "4.4"
|
||||
#Remove the following line once AUTOREV is locked to a certain SRCREV
|
||||
KERNEL_VERSION_SANITY_SKIP = "1"
|
||||
@@ -1,37 +0,0 @@
|
||||
# yocto-bsp-filename {{ if kernel_choice == "linux-yocto_4.10": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
PR := "${PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
SRC_URI += "file://{{=machine}}.scc \
|
||||
file://{{=machine}}.cfg \
|
||||
file://{{=machine}}-standard.scc \
|
||||
file://{{=machine}}-user-config.cfg \
|
||||
file://{{=machine}}-user-features.scc \
|
||||
file://{{=machine}}-user-patches.scc \
|
||||
"
|
||||
|
||||
# replace these SRCREVs with the real commit ids once you've had
|
||||
# the appropriate changes committed to the upstream linux-yocto repo
|
||||
SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
|
||||
SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
|
||||
#LINUX_VERSION = "4.10"
|
||||
#Remove the following line once AUTOREV is locked to a certain SRCREV
|
||||
KERNEL_VERSION_SANITY_SKIP = "1"
|
||||
@@ -1,37 +0,0 @@
|
||||
# yocto-bsp-filename {{ if kernel_choice == "linux-yocto_4.12": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
PR := "${PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
SRC_URI += "file://{{=machine}}.scc \
|
||||
file://{{=machine}}.cfg \
|
||||
file://{{=machine}}-standard.scc \
|
||||
file://{{=machine}}-user-config.cfg \
|
||||
file://{{=machine}}-user-features.scc \
|
||||
file://{{=machine}}-user-patches.scc \
|
||||
"
|
||||
|
||||
# replace these SRCREVs with the real commit ids once you've had
|
||||
# the appropriate changes committed to the upstream linux-yocto repo
|
||||
SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
|
||||
SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
|
||||
#LINUX_VERSION = "4.10"
|
||||
#Remove the following line once AUTOREV is locked to a certain SRCREV
|
||||
KERNEL_VERSION_SANITY_SKIP = "1"
|
||||
@@ -1,37 +0,0 @@
|
||||
# yocto-bsp-filename {{ if kernel_choice == "linux-yocto_4.4": }} this
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
PR := "${PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
SRC_URI += "file://{{=machine}}.scc \
|
||||
file://{{=machine}}.cfg \
|
||||
file://{{=machine}}-standard.scc \
|
||||
file://{{=machine}}-user-config.cfg \
|
||||
file://{{=machine}}-user-features.scc \
|
||||
file://{{=machine}}-user-patches.scc \
|
||||
"
|
||||
|
||||
# replace these SRCREVs with the real commit ids once you've had
|
||||
# the appropriate changes committed to the upstream linux-yocto repo
|
||||
SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
|
||||
SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}"
|
||||
#LINUX_VERSION = "4.4"
|
||||
#Remove the following line once AUTOREV is locked to a certain SRCREV
|
||||
KERNEL_VERSION_SANITY_SKIP = "1"
|
||||
@@ -1,38 +0,0 @@
|
||||
# yocto-bsp-filename {{=machine}}.conf
|
||||
#@TYPE: Machine
|
||||
#@NAME: {{=machine}}
|
||||
|
||||
#@DESCRIPTION: Machine configuration for {{=machine}} systems
|
||||
|
||||
require conf/machine/include/tune-mips64.inc
|
||||
|
||||
MACHINE_FEATURES = "pci ext2 ext3 serial"
|
||||
|
||||
KERNEL_IMAGETYPE = "vmlinux"
|
||||
KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
|
||||
KERNEL_IMAGE_STRIP_EXTRA_SECTIONS = ".comment"
|
||||
|
||||
{{ if kernel_choice == "custom": preferred_kernel = "linux-yocto-custom" }}
|
||||
{{ if kernel_choice == "linux-yocto-dev": preferred_kernel = "linux-yocto-dev" }}
|
||||
{{ if kernel_choice == "custom" or kernel_choice == "linux-yocto-dev" : }}
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}"
|
||||
|
||||
{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel = kernel_choice.split('_')[0] }}
|
||||
{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel_version = kernel_choice.split('_')[1] }}
|
||||
{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": }}
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}"
|
||||
PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%"
|
||||
|
||||
{{ input type:"boolean" name:"xserver" prio:"50" msg:"Do you need support for X? (y/n)" default:"y" }}
|
||||
{{ if xserver == "y": }}
|
||||
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
|
||||
XSERVER ?= "xserver-xorg \
|
||||
xf86-video-fbdev"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
USE_VT ?= "0"
|
||||
|
||||
MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
|
||||
|
||||
IMAGE_FSTYPES ?= "jffs2 tar.bz2"
|
||||
JFFS2_ERASEBLOCK = "0x10000"
|
||||
@@ -1 +0,0 @@
|
||||
# yocto-bsp-dirname {{ if kernel_choice != "custom": }} files
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user