summaryrefslogtreecommitdiffstats
path: root/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux')
-rw-r--r--scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files.noinstall1
-rw-r--r--scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-non_hardware.cfg31
-rw-r--r--scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-preempt-rt.scc14
-rw-r--r--scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-standard.scc14
-rw-r--r--scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-tiny.scc10
-rw-r--r--scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-user-config.cfg1
-rw-r--r--scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-user-features.scc1
-rw-r--r--scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-user-patches.scc1
-rw-r--r--scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine.cfg321
-rw-r--r--scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine.scc8
-rw-r--r--scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/kernel-list.noinstall5
-rw-r--r--scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-dev.bbappend26
-rw-r--r--scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-rt_3.10.bbappend33
-rw-r--r--scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_3.10.bbappend33
-rw-r--r--scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_3.14.bbappend33
-rw-r--r--scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_3.10.bbappend33
-rw-r--r--scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_3.14.bbappend33
17 files changed, 598 insertions, 0 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files.noinstall b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files.noinstall
new file mode 100644
index 0000000000..1e0d92c55c
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files.noinstall
@@ -0,0 +1 @@
# yocto-bsp-dirname {{ if kernel_choice != "custom": }} files
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-non_hardware.cfg b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-non_hardware.cfg
new file mode 100644
index 0000000000..9bfc90c6f2
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-non_hardware.cfg
@@ -0,0 +1,31 @@
1# yocto-bsp-filename {{=machine}}-non_hardware.cfg
2#
3# Miscellaneous filesystems
4#
5CONFIG_NFS_DEF_FILE_IO_SIZE=1024
6
7#
8# Multiple Device Support
9#
10# CONFIG_MD is not set
11
12# Kernel Features
13#
14CONFIG_NO_HZ=y
15
16#
17# CPUIdle
18#
19CONFIG_CPU_IDLE=y
20CONFIG_CPU_IDLE_GOV_LADDER=y
21CONFIG_CPU_IDLE_GOV_MENU=y
22
23#
24# Kernel hacking
25#
26CONFIG_DEBUG_FS=y
27
28#
29# Power management options
30#
31CONFIG_PM_DEBUG=y
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-preempt-rt.scc b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-preempt-rt.scc
new file mode 100644
index 0000000000..ca5f3b5be9
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-preempt-rt.scc
@@ -0,0 +1,14 @@
1# yocto-bsp-filename {{=machine}}-preempt-rt.scc
2define KMACHINE {{=machine}}
3define KTYPE preempt-rt
4define KARCH arm
5
6include {{=map_preempt_rt_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}}
7{{ if need_new_kbranch == "y": }}
8branch {{=machine}}
9
10include {{=machine}}.scc
11
12# default policy for preempt-rt kernels
13include features/latencytop/latencytop.scc
14include features/profiling/profiling.scc
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-standard.scc b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-standard.scc
new file mode 100644
index 0000000000..9014c2c97e
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-standard.scc
@@ -0,0 +1,14 @@
1# yocto-bsp-filename {{=machine}}-standard.scc
2define KMACHINE {{=machine}}
3define KTYPE standard
4define KARCH arm
5
6include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}}
7{{ if need_new_kbranch == "y": }}
8branch {{=machine}}
9
10include {{=machine}}.scc
11
12# default policy for standard kernels
13include features/latencytop/latencytop.scc
14include features/profiling/profiling.scc
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-tiny.scc b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-tiny.scc
new file mode 100644
index 0000000000..3f1c252232
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-tiny.scc
@@ -0,0 +1,10 @@
1# yocto-bsp-filename {{=machine}}-tiny.scc
2define KMACHINE {{=machine}}
3define KTYPE tiny
4define KARCH arm
5
6include {{=map_tiny_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}}
7{{ if need_new_kbranch == "y": }}
8branch {{=machine}}
9
10include {{=machine}}.scc
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-user-config.cfg b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-user-config.cfg
new file mode 100644
index 0000000000..47489e44e9
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-user-config.cfg
@@ -0,0 +1 @@
# yocto-bsp-filename {{=machine}}-user-config.cfg
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-user-features.scc b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-user-features.scc
new file mode 100644
index 0000000000..582759e612
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-user-features.scc
@@ -0,0 +1 @@
# yocto-bsp-filename {{=machine}}-user-features.scc
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-user-patches.scc b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-user-patches.scc
new file mode 100644
index 0000000000..97f747fa07
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-user-patches.scc
@@ -0,0 +1 @@
# yocto-bsp-filename {{=machine}}-user-patches.scc
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine.cfg b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine.cfg
new file mode 100644
index 0000000000..a2e1ae0f75
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine.cfg
@@ -0,0 +1,321 @@
1# yocto-bsp-filename {{=machine}}.cfg
2#
3# System Type
4#
5CONFIG_ARCH_OMAP=y
6
7#
8# TI OMAP Implementations
9#
10# CONFIG_ARCH_OMAP2 is not set
11CONFIG_ARCH_OMAP3=y
12
13#
14# TI OMAP Common Features
15#
16CONFIG_ARCH_OMAP2PLUS=y
17
18#
19# OMAP Feature Selections
20#
21CONFIG_OMAP_32K_TIMER=y
22CONFIG_OMAP_32K_TIMER_HZ=128
23CONFIG_OMAP_DM_TIMER=y
24CONFIG_OMAP_RESET_CLOCKS=y
25CONFIG_OMAP_SMARTREFLEX=y
26CONFIG_OMAP_SMARTREFLEX_CLASS3=y
27CONFIG_OMAP_MBOX_FWK=m
28CONFIG_OMAP_MBOX_KFIFO_SIZE=256
29
30#
31# OMAP Board Type
32#
33CONFIG_MACH_OMAP3_BEAGLE=y
34
35#
36# Processor Features
37#
38CONFIG_ARM_THUMBEE=y
39CONFIG_ARM_ERRATA_430973=y
40
41#
42# Kernel Features
43#
44CONFIG_LEDS=y
45
46
47#
48# Serial drivers
49#
50CONFIG_SERIAL_OMAP=y
51CONFIG_SERIAL_OMAP_CONSOLE=y
52
53#
54# At least one emulation must be selected
55#
56CONFIG_VFP=y
57CONFIG_NEON=y
58
59#
60# Power management options
61#
62CONFIG_PM=y
63CONFIG_PM_RUNTIME=y
64
65#
66# Generic Driver Options
67#
68CONFIG_MTD=y
69CONFIG_MTD_CMDLINE_PARTS=y
70#
71# User Modules And Translation Layers
72#
73CONFIG_MTD_BLKDEVS=y
74CONFIG_MTD_BLOCK=y
75
76#
77# RAM/ROM/Flash chip drivers
78#
79CONFIG_MTD_CFI=y
80CONFIG_MTD_CFI_INTELEXT=y
81
82#
83# Disk-On-Chip Device Drivers
84#
85CONFIG_MTD_NAND=y
86
87CONFIG_MTD_NAND_OMAP2=y
88
89CONFIG_MTD_UBI=y
90
91#
92# SCSI device support
93#
94CONFIG_SCSI=y
95
96#
97# SCSI support type (disk, tape, CD-ROM)
98#
99CONFIG_BLK_DEV_SD=y
100
101#
102# Ethernet (10 or 100Mbit)
103#
104CONFIG_SMSC911X=y
105CONFIG_USB_NET_SMSC95XX=y
106
107#
108# Userland interfaces
109#
110CONFIG_INPUT_EVDEV=y
111
112#
113# Input Device Drivers
114#
115CONFIG_KEYBOARD_TWL4030=y
116CONFIG_INPUT_TOUCHSCREEN=y
117CONFIG_TOUCHSCREEN_ADS7846=y
118
119#
120# Miscellaneous I2C Chip support
121#
122CONFIG_I2C=y
123CONFIG_I2C_OMAP=y
124CONFIG_SPI=y
125CONFIG_SPI_MASTER=y
126CONFIG_SPI_OMAP24XX=y
127
128#
129# I2C GPIO expanders:
130#
131CONFIG_GPIO_TWL4030=y
132
133#
134# SPI GPIO expanders:
135#
136CONFIG_OMAP_WATCHDOG=y
137CONFIG_WATCHDOG_NOWAYOUT=y
138
139#
140# Multifunction device drivers
141#
142CONFIG_TWL4030_CORE=y
143CONFIG_REGULATOR=y
144CONFIG_REGULATOR_DUMMY=y
145CONFIG_REGULATOR_TWL4030=y
146
147#
148# Graphics support
149#
150CONFIG_FB=y
151CONFIG_DRM=m
152# CONFIG_VGASTATE is not set
153# CONFIG_VIDEO_OUTPUT_CONTROL is not set
154# CONFIG_FIRMWARE_EDID is not set
155# CONFIG_FB_DDC is not set
156# CONFIG_FB_BOOT_VESA_SUPPORT is not set
157CONFIG_FB_CFB_FILLRECT=y
158CONFIG_FB_CFB_COPYAREA=y
159CONFIG_FB_CFB_IMAGEBLIT=y
160# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
161# CONFIG_FB_SYS_FILLRECT is not set
162# CONFIG_FB_SYS_COPYAREA is not set
163# CONFIG_FB_SYS_IMAGEBLIT is not set
164# CONFIG_FB_FOREIGN_ENDIAN is not set
165# CONFIG_FB_SYS_FOPS is not set
166# CONFIG_FB_SVGALIB is not set
167# CONFIG_FB_MACMODES is not set
168# CONFIG_FB_BACKLIGHT is not set
169CONFIG_FB_MODE_HELPERS=y
170# CONFIG_FB_TILEBLITTING is not set
171
172#
173# Frame buffer hardware drivers
174#
175# CONFIG_FB_S1D13XXX is not set
176# CONFIG_FB_TMIO is not set
177# CONFIG_FB_VIRTUAL is not set
178# CONFIG_FB_METRONOME is not set
179# CONFIG_FB_MB862XX is not set
180# CONFIG_FB_BROADSHEET is not set
181# CONFIG_FB_OMAP_BOOTLOADER_INIT is not set
182CONFIG_OMAP2_VRAM=y
183CONFIG_OMAP2_VRFB=y
184CONFIG_OMAP2_DSS=y
185CONFIG_OMAP2_VRAM_SIZE=14
186CONFIG_OMAP2_DSS_DEBUG_SUPPORT=y
187# CONFIG_OMAP2_DSS_COLLECT_IRQ_STATS is not set
188CONFIG_OMAP2_DSS_DPI=y
189# CONFIG_OMAP2_DSS_RFBI is not set
190CONFIG_OMAP2_DSS_VENC=y
191# CONFIG_OMAP2_DSS_SDI is not set
192CONFIG_OMAP2_DSS_DSI=y
193# CONFIG_OMAP2_DSS_FAKE_VSYNC is not set
194CONFIG_OMAP2_DSS_MIN_FCK_PER_PCK=0
195CONFIG_FB_OMAP2=y
196CONFIG_FB_OMAP2_DEBUG_SUPPORT=y
197CONFIG_FB_OMAP2_NUM_FBS=2
198
199#
200# OMAP2/3 Display Device Drivers
201#
202CONFIG_PANEL_GENERIC_DPI=y
203CONFIG_PANEL_DVI=y
204CONFIG_PANEL_SHARP_LS037V7DW01=y
205# CONFIG_PANEL_LGPHILIPS_LB035Q02 is not set
206# CONFIG_PANEL_TAAL is not set
207CONFIG_PANEL_TPO_TD043MTEA1=m
208# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
209CONFIG_BACKLIGHT_CLASS_DEVICE=y
210
211#
212# Display device support
213#
214CONFIG_DISPLAY_SUPPORT=y
215CONFIG_DUMMY_CONSOLE=y
216# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
217CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
218# CONFIG_FONTS is not set
219CONFIG_FONT_8x8=y
220CONFIG_FONT_8x16=y
221# CONFIG_LOGO_LINUX_MONO is not set
222# CONFIG_LOGO_LINUX_VGA16 is not set
223
224#
225# Console display driver support
226#
227CONFIG_FRAMEBUFFER_CONSOLE=y
228CONFIG_LOGO=y
229# CONFIG_VGA_CONSOLE is not set
230
231# DMA Devices
232CONFIG_DMADEVICES=y
233CONFIG_DMA_OMAP=y
234CONFIG_DMA_OF=y
235
236CONFIG_SOUND=y
237CONFIG_SND=y
238CONFIG_SND_SOC=y
239CONFIG_SND_OMAP_SOC=y
240CONFIG_SND_OMAP_SOC_OMAP_TWL4030=y
241
242#
243# USB Input Devices
244#
245CONFIG_USB=y
246CONFIG_USB_SUPPORT=y
247
248#
249# Miscellaneous USB options
250#
251CONFIG_USB_OTG=y
252# CONFIG_USB_OTG_WHITELIST is not set
253
254#
255# USB Host Controller Drivers
256#
257CONFIG_USB_EHCI_HCD=y
258CONFIG_USB_EHCI_TT_NEWSCHED=y
259CONFIG_USB_EHCI_ROOT_HUB_TT=y
260CONFIG_USB_MUSB_HDRC=y
261CONFIG_USB_MUSB_OMAP2PLUS=y
262CONFIG_USB_OMAP=y
263
264#
265# OMAP 343x high speed USB support
266#
267CONFIG_USB_MUSB_OTG=y
268CONFIG_USB_GADGET_MUSB_HDRC=y
269CONFIG_USB_MUSB_HDRC_HCD=y
270CONFIG_USB_INVENTRA_DMA=y
271
272#
273# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
274#
275
276#
277# may also be needed; see USB_STORAGE Help for more information
278#
279CONFIG_USB_STORAGE=y
280
281#
282# USB Miscellaneous drivers
283#
284CONFIG_USB_GADGET=y
285CONFIG_USB_GADGET_DUALSPEED=y
286CONFIG_USB_OTG_UTILS=y
287CONFIG_TWL4030_USB=y
288
289# USB gadget modules
290CONFIG_USB_G_NCM=y
291CONFIG_USB_MASS_STORAGE=y
292
293CONFIG_MMC=y
294
295#
296# MMC/SD Host Controller Drivers
297#
298CONFIG_MMC_OMAP_HS=y
299
300#
301# Real Time Clock
302#
303CONFIG_RTC_LIB=y
304CONFIG_RTC_CLASS=y
305CONFIG_RTC_DRV_TWL4030=y
306
307#
308# DOS/FAT/NT Filesystems
309#
310CONFIG_VFAT_FS=y
311
312#
313# Multimedia core support
314#
315
316# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set
317
318#
319# Advanced Power Management Emulation support
320#
321CONFIG_APM_EMULATION=y
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine.scc b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine.scc
new file mode 100644
index 0000000000..828400df40
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine.scc
@@ -0,0 +1,8 @@
1# yocto-bsp-filename {{=machine}}.scc
2kconf hardware {{=machine}}.cfg
3kconf non-hardware {{machine}}-non_hardware.cfg
4
5include features/usb-net/usb-net.scc
6
7kconf hardware {{=machine}}-user-config.cfg
8include {{=machine}}-user-patches.scc
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/kernel-list.noinstall b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/kernel-list.noinstall
new file mode 100644
index 0000000000..a04e6c7852
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/kernel-list.noinstall
@@ -0,0 +1,5 @@
1{{ if kernel_choice != "custom": }}
2{{ input type:"boolean" name:"use_default_kernel" prio:"10" msg:"Would you like to use the default (3.14) kernel? (y/n)" default:"y"}}
3
4{{ if kernel_choice != "custom" and use_default_kernel == "n": }}
5{{ 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_3.14"}}
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-dev.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-dev.bbappend
new file mode 100644
index 0000000000..2fa6231cbf
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-dev.bbappend
@@ -0,0 +1,26 @@
1# yocto-bsp-filename {{ if kernel_choice == "linux-yocto-dev": }} this
2FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
3
4PR := "${PR}.1"
5
6COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
7{{ 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" }}
8
9{{ if need_new_kbranch == "y": }}
10{{ 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" }}
11
12{{ if need_new_kbranch == "n": }}
13{{ 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" }}
14
15{{ if need_new_kbranch == "n": }}
16KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
17
18{{ input type:"boolean" name:"smp" prio:"30" msg:"Would you like SMP support? (y/n)" default:"y"}}
19{{ if smp == "y": }}
20KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
21
22SRC_URI += "file://{{=machine}}-standard.scc \
23 file://{{=machine}}-user-config.cfg \
24 file://{{=machine}}-user-patches.scc \
25 file://{{=machine}}-user-features.scc \
26 "
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-rt_3.10.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-rt_3.10.bbappend
new file mode 100644
index 0000000000..35b0958582
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-rt_3.10.bbappend
@@ -0,0 +1,33 @@
1# yocto-bsp-filename {{ if kernel_choice == "linux-yocto-rt_3.10": }} this
2FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
3
4PR := "${PR}.1"
5
6COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
7
8{{ 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" }}
9
10{{ if need_new_kbranch == "y": }}
11{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }}
12
13{{ if need_new_kbranch == "n": }}
14{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }}
15
16{{ if need_new_kbranch == "n": }}
17KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
18
19{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
20{{ if smp == "y": }}
21KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
22
23SRC_URI += "file://{{=machine}}-preempt-rt.scc \
24 file://{{=machine}}-user-config.cfg \
25 file://{{=machine}}-user-patches.scc \
26 file://{{=machine}}-user-features.scc \
27 "
28
29# uncomment and replace these SRCREVs with the real commit ids once you've had
30# the appropriate changes committed to the upstream linux-yocto repo
31#SRCREV_machine_pn-linux-yocto-rt_{{=machine}} ?= "f35992f80c81dc5fa1a97165dfd5cbb84661f7cb"
32#SRCREV_meta_pn-linux-yocto-rt_{{=machine}} ?= "1b534b2f8bbe9b8a773268cfa30a4850346f6f5f"
33#LINUX_VERSION = "3.10.9"
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_3.10.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_3.10.bbappend
new file mode 100644
index 0000000000..f04dd0cce4
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_3.10.bbappend
@@ -0,0 +1,33 @@
1# yocto-bsp-filename {{ if kernel_choice == "linux-yocto-tiny_3.10": }} this
2FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
3
4PR := "${PR}.1"
5
6COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
7
8{{ 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" }}
9
10{{ if need_new_kbranch == "y": }}
11{{ 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" }}
12
13{{ if need_new_kbranch == "n": }}
14{{ 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" }}
15
16{{ if need_new_kbranch == "n": }}
17KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
18
19{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
20{{ if smp == "y": }}
21KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
22
23SRC_URI += "file://{{=machine}}-tiny.scc \
24 file://{{=machine}}-user-config.cfg \
25 file://{{=machine}}-user-patches.scc \
26 file://{{=machine}}-user-features.scc \
27 "
28
29# uncomment and replace these SRCREVs with the real commit ids once you've had
30# the appropriate changes committed to the upstream linux-yocto repo
31#SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "840bb8c059418c4753415df56c9aff1c0d5354c8"
32#SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "4fd76cc4f33e0afd8f906b1e8f231b6d13b6c993"
33#LINUX_VERSION = "3.10.9"
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_3.14.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_3.14.bbappend
new file mode 100644
index 0000000000..471ccbcc3e
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_3.14.bbappend
@@ -0,0 +1,33 @@
1# yocto-bsp-filename {{ if kernel_choice == "linux-yocto-tiny_3.14": }} this
2FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
3
4PR := "${PR}.1"
5
6COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
7
8{{ 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" }}
9
10{{ if need_new_kbranch == "y": }}
11{{ 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" }}
12
13{{ if need_new_kbranch == "n": }}
14{{ 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" }}
15
16{{ if need_new_kbranch == "n": }}
17KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
18
19{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
20{{ if smp == "y": }}
21KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
22
23SRC_URI += "file://{{=machine}}-tiny.scc \
24 file://{{=machine}}-user-config.cfg \
25 file://{{=machine}}-user-patches.scc \
26 file://{{=machine}}-user-features.scc \
27 "
28
29# uncomment and replace these SRCREVs with the real commit ids once you've had
30# the appropriate changes committed to the upstream linux-yocto repo
31#SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "840bb8c059418c4753415df56c9aff1c0d5354c8"
32#SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "4fd76cc4f33e0afd8f906b1e8f231b6d13b6c993"
33#LINUX_VERSION = "3.14"
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_3.10.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_3.10.bbappend
new file mode 100644
index 0000000000..badb3aa239
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_3.10.bbappend
@@ -0,0 +1,33 @@
1# yocto-bsp-filename {{ if kernel_choice == "linux-yocto_3.10": }} this
2FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
3
4PR := "${PR}.1"
5
6COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
7
8{{ 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" }}
9
10{{ if need_new_kbranch == "y": }}
11{{ 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" }}
12
13{{ if need_new_kbranch == "n": }}
14{{ 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" }}
15
16{{ if need_new_kbranch == "n": }}
17KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
18
19{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
20{{ if smp == "y": }}
21KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
22
23SRC_URI += "file://{{=machine}}-standard.scc \
24 file://{{=machine}}-user-config.cfg \
25 file://{{=machine}}-user-patches.scc \
26 file://{{=machine}}-user-features.scc \
27 "
28
29# uncomment and replace these SRCREVs with the real commit ids once you've had
30# the appropriate changes committed to the upstream linux-yocto repo
31#SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "19f7e43b54aef08d58135ed2a897d77b624b320a"
32#SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "459165c1dd61c4e843c36e6a1abeb30949a20ba7"
33#LINUX_VERSION = "3.10.9" \ No newline at end of file
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_3.14.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_3.14.bbappend
new file mode 100644
index 0000000000..1e1cc51315
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_3.14.bbappend
@@ -0,0 +1,33 @@
1# yocto-bsp-filename {{ if kernel_choice == "linux-yocto_3.14": }} this
2FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
3
4PR := "${PR}.1"
5
6COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
7
8{{ 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" }}
9
10{{ if need_new_kbranch == "y": }}
11{{ 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" }}
12
13{{ if need_new_kbranch == "n": }}
14{{ 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" }}
15
16{{ if need_new_kbranch == "n": }}
17KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
18
19{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
20{{ if smp == "y": }}
21KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
22
23SRC_URI += "file://{{=machine}}-standard.scc \
24 file://{{=machine}}-user-config.cfg \
25 file://{{=machine}}-user-patches.scc \
26 file://{{=machine}}-user-features.scc \
27 "
28
29# uncomment and replace these SRCREVs with the real commit ids once you've had
30# the appropriate changes committed to the upstream linux-yocto repo
31#SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "840bb8c059418c4753415df56c9aff1c0d5354c8"
32#SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "4fd76cc4f33e0afd8f906b1e8f231b6d13b6c993"
33#LINUX_VERSION = "3.14" \ No newline at end of file