diff options
author | Tom Zanussi <tom.zanussi@intel.com> | 2012-01-24 00:15:25 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-22 19:21:14 +0000 |
commit | f76161b1de427403d0288dc7772907389b56a031 (patch) | |
tree | bef2e2d2063c47d64aea7872569b93736cb47d94 /scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux | |
parent | af193ae15a2ad2e170d4a9d4bcbfff3e429784f5 (diff) | |
download | poky-f76161b1de427403d0288dc7772907389b56a031.tar.gz |
yocto-bsp: add BSP template files
BSP template files for all supported Yocto architectures, plus qemu
versions of the same.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Diffstat (limited to 'scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux')
12 files changed, 551 insertions, 0 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/user-config.cfg b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/user-config.cfg new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/user-config.cfg | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/user-patches.scc b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/user-patches.scc new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/user-patches.scc | |||
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..361343bb58 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/{{=machine}}-non_hardware.cfg | |||
@@ -0,0 +1,30 @@ | |||
1 | # | ||
2 | # Miscellaneous filesystems | ||
3 | # | ||
4 | CONFIG_NFS_DEF_FILE_IO_SIZE=1024 | ||
5 | |||
6 | # | ||
7 | # Multiple Device Support | ||
8 | # | ||
9 | # CONFIG_MD is not set | ||
10 | |||
11 | # Kernel Features | ||
12 | # | ||
13 | CONFIG_NO_HZ=y | ||
14 | |||
15 | # | ||
16 | # CPUIdle | ||
17 | # | ||
18 | CONFIG_CPU_IDLE=y | ||
19 | CONFIG_CPU_IDLE_GOV_LADDER=y | ||
20 | CONFIG_CPU_IDLE_GOV_MENU=y | ||
21 | |||
22 | # | ||
23 | # Kernel hacking | ||
24 | # | ||
25 | CONFIG_DEBUG_FS=y | ||
26 | |||
27 | # | ||
28 | # Power management options | ||
29 | # | ||
30 | CONFIG_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..22ff307b91 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/{{=machine}}-preempt-rt.scc | |||
@@ -0,0 +1,8 @@ | |||
1 | define KMACHINE {{=machine}} | ||
2 | define KTYPE preempt-rt | ||
3 | define KARCH arm | ||
4 | |||
5 | # no new branch required, re-use the ktypes/preempt-rt branch | ||
6 | include ktypes/preempt-rt | ||
7 | |||
8 | include {{=machine}}.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..cd8fa9cbf5 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/{{=machine}}-standard.scc | |||
@@ -0,0 +1,8 @@ | |||
1 | define KMACHINE {{=machine}} | ||
2 | define KTYPE standard | ||
3 | define KARCH arm | ||
4 | |||
5 | include ktypes/standard | ||
6 | branch {{=machine}} | ||
7 | |||
8 | include {{=machine}}.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..994e034252 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/{{=machine}}.cfg | |||
@@ -0,0 +1,336 @@ | |||
1 | # | ||
2 | # System Type | ||
3 | # | ||
4 | CONFIG_ARCH_OMAP=y | ||
5 | CONFIG_HAVE_PWM=y | ||
6 | CONFIG_ARM_L1_CACHE_SHIFT_6=y | ||
7 | |||
8 | # | ||
9 | # TI OMAP Implementations | ||
10 | # | ||
11 | # CONFIG_ARCH_OMAP2 is not set | ||
12 | CONFIG_ARCH_OMAP3=y | ||
13 | |||
14 | # | ||
15 | # TI OMAP Common Features | ||
16 | # | ||
17 | CONFIG_ARCH_OMAP2PLUS=y | ||
18 | |||
19 | # | ||
20 | # OMAP Feature Selections | ||
21 | # | ||
22 | CONFIG_OMAP_32K_TIMER=y | ||
23 | CONFIG_OMAP_32K_TIMER_HZ=128 | ||
24 | CONFIG_OMAP_DM_TIMER=y | ||
25 | CONFIG_OMAP_RESET_CLOCKS=y | ||
26 | CONFIG_OMAP_SMARTREFLEX=y | ||
27 | CONFIG_OMAP_SMARTREFLEX_CLASS3=y | ||
28 | CONFIG_OMAP_MBOX_FWK=m | ||
29 | CONFIG_OMAP_MBOX_KFIFO_SIZE=256 | ||
30 | CONFIG_OMAP_IOMMU=m | ||
31 | CONFIG_OMAP_IOMMU_DEBUG=m | ||
32 | |||
33 | # | ||
34 | # OMAP Board Type | ||
35 | # | ||
36 | CONFIG_MACH_OMAP3_BEAGLE=y | ||
37 | |||
38 | # | ||
39 | # Processor Features | ||
40 | # | ||
41 | CONFIG_ARM_THUMBEE=y | ||
42 | CONFIG_ARM_L1_CACHE_SHIFT=6 | ||
43 | CONFIG_ARM_ERRATA_430973=y | ||
44 | |||
45 | # | ||
46 | # Kernel Features | ||
47 | # | ||
48 | CONFIG_LEDS=y | ||
49 | |||
50 | |||
51 | # | ||
52 | # Serial drivers | ||
53 | # | ||
54 | CONFIG_SERIAL_8250=y | ||
55 | CONFIG_SERIAL_8250_CONSOLE=y | ||
56 | CONFIG_SERIAL_8250_EXTENDED=y | ||
57 | CONFIG_SERIAL_8250_RSA=y | ||
58 | CONFIG_SERIAL_8250_MANY_PORTS=y | ||
59 | CONFIG_SERIAL_8250_SHARE_IRQ=y | ||
60 | CONFIG_SERIAL_8250_DETECT_IRQ=y | ||
61 | CONFIG_SERIAL_8250_RUNTIME_UARTS=4 | ||
62 | |||
63 | # | ||
64 | # At least one emulation must be selected | ||
65 | # | ||
66 | CONFIG_VFP=y | ||
67 | CONFIG_NEON=y | ||
68 | |||
69 | # | ||
70 | # Power management options | ||
71 | # | ||
72 | CONFIG_PM=y | ||
73 | CONFIG_PM_RUNTIME=y | ||
74 | |||
75 | # | ||
76 | # Generic Driver Options | ||
77 | # | ||
78 | CONFIG_MTD=y | ||
79 | CONFIG_MTD_CONCAT=y | ||
80 | CONFIG_MTD_PARTITIONS=y | ||
81 | CONFIG_MTD_CMDLINE_PARTS=y | ||
82 | # | ||
83 | # User Modules And Translation Layers | ||
84 | # | ||
85 | CONFIG_MTD_CHAR=y | ||
86 | CONFIG_MTD_BLKDEVS=y | ||
87 | CONFIG_MTD_BLOCK=y | ||
88 | |||
89 | # | ||
90 | # RAM/ROM/Flash chip drivers | ||
91 | # | ||
92 | CONFIG_MTD_CFI=y | ||
93 | CONFIG_MTD_CFI_INTELEXT=y | ||
94 | |||
95 | # | ||
96 | # Disk-On-Chip Device Drivers | ||
97 | # | ||
98 | CONFIG_MTD_NAND=y | ||
99 | |||
100 | CONFIG_MTD_NAND_OMAP2=y | ||
101 | # CONFIG_MTD_NAND_OMAP_PREFETCH is not set | ||
102 | |||
103 | CONFIG_MTD_UBI=y | ||
104 | |||
105 | # | ||
106 | # SCSI device support | ||
107 | # | ||
108 | CONFIG_SCSI=y | ||
109 | |||
110 | # | ||
111 | # SCSI support type (disk, tape, CD-ROM) | ||
112 | # | ||
113 | CONFIG_BLK_DEV_SD=y | ||
114 | |||
115 | # | ||
116 | # Ethernet (10 or 100Mbit) | ||
117 | # | ||
118 | CONFIG_SMSC911X=y | ||
119 | |||
120 | # | ||
121 | # Userland interfaces | ||
122 | # | ||
123 | CONFIG_INPUT_EVDEV=y | ||
124 | |||
125 | # | ||
126 | # Input Device Drivers | ||
127 | # | ||
128 | CONFIG_KEYBOARD_TWL4030=y | ||
129 | CONFIG_INPUT_TOUCHSCREEN=y | ||
130 | CONFIG_TOUCHSCREEN_ADS7846=y | ||
131 | |||
132 | # | ||
133 | # Miscellaneous I2C Chip support | ||
134 | # | ||
135 | CONFIG_I2C=y | ||
136 | CONFIG_I2C_OMAP=y | ||
137 | CONFIG_SPI=y | ||
138 | CONFIG_SPI_MASTER=y | ||
139 | CONFIG_SPI_OMAP24XX=y | ||
140 | |||
141 | # | ||
142 | # I2C GPIO expanders: | ||
143 | # | ||
144 | CONFIG_GPIO_TWL4030=y | ||
145 | |||
146 | # | ||
147 | # SPI GPIO expanders: | ||
148 | # | ||
149 | CONFIG_OMAP_WATCHDOG=y | ||
150 | CONFIG_WATCHDOG_NOWAYOUT=y | ||
151 | |||
152 | # | ||
153 | # Multifunction device drivers | ||
154 | # | ||
155 | CONFIG_TWL4030_CORE=y | ||
156 | CONFIG_REGULATOR=y | ||
157 | CONFIG_REGULATOR_DUMMY=y | ||
158 | CONFIG_REGULATOR_TWL4030=y | ||
159 | |||
160 | # | ||
161 | # Graphics support | ||
162 | # | ||
163 | CONFIG_FB=y | ||
164 | CONFIG_DRM=m | ||
165 | # CONFIG_VGASTATE is not set | ||
166 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
167 | # CONFIG_FIRMWARE_EDID is not set | ||
168 | # CONFIG_FB_DDC is not set | ||
169 | # CONFIG_FB_BOOT_VESA_SUPPORT is not set | ||
170 | CONFIG_FB_CFB_FILLRECT=y | ||
171 | CONFIG_FB_CFB_COPYAREA=y | ||
172 | CONFIG_FB_CFB_IMAGEBLIT=y | ||
173 | # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set | ||
174 | CONFIG_FB_SYS_FILLRECT=m | ||
175 | CONFIG_FB_SYS_COPYAREA=m | ||
176 | CONFIG_FB_SYS_IMAGEBLIT=m | ||
177 | # CONFIG_FB_FOREIGN_ENDIAN is not set | ||
178 | CONFIG_FB_SYS_FOPS=m | ||
179 | CONFIG_FB_DEFERRED_IO=y | ||
180 | # CONFIG_FB_SVGALIB is not set | ||
181 | # CONFIG_FB_MACMODES is not set | ||
182 | # CONFIG_FB_BACKLIGHT is not set | ||
183 | CONFIG_FB_MODE_HELPERS=y | ||
184 | # CONFIG_FB_TILEBLITTING is not set | ||
185 | |||
186 | # | ||
187 | # Frame buffer hardware drivers | ||
188 | # | ||
189 | CONFIG_FB_OMAP=y | ||
190 | CONFIG_FB_OMAP_CONSISTENT_DMA_SIZE=2 | ||
191 | # CONFIG_FB_S1D13XXX is not set | ||
192 | # CONFIG_FB_TMIO is not set | ||
193 | # CONFIG_FB_VIRTUAL is not set | ||
194 | # CONFIG_FB_METRONOME is not set | ||
195 | # CONFIG_FB_MB862XX is not set | ||
196 | # CONFIG_FB_BROADSHEET is not set | ||
197 | # CONFIG_FB_OMAP_BOOTLOADER_INIT is not set | ||
198 | CONFIG_OMAP2_VRAM=y | ||
199 | CONFIG_OMAP2_VRFB=y | ||
200 | CONFIG_OMAP2_DSS=y | ||
201 | CONFIG_OMAP2_VRAM_SIZE=14 | ||
202 | CONFIG_OMAP2_DSS_DEBUG_SUPPORT=y | ||
203 | # CONFIG_OMAP2_DSS_COLLECT_IRQ_STATS is not set | ||
204 | CONFIG_OMAP2_DSS_DPI=y | ||
205 | # CONFIG_OMAP2_DSS_RFBI is not set | ||
206 | CONFIG_OMAP2_DSS_VENC=y | ||
207 | # CONFIG_OMAP2_DSS_SDI is not set | ||
208 | CONFIG_OMAP2_DSS_DSI=y | ||
209 | CONFIG_OMAP2_DSS_USE_DSI_PLL=y | ||
210 | # CONFIG_OMAP2_DSS_FAKE_VSYNC is not set | ||
211 | CONFIG_OMAP2_DSS_MIN_FCK_PER_PCK=0 | ||
212 | CONFIG_FB_OMAP2=y | ||
213 | CONFIG_FB_OMAP2_DEBUG_SUPPORT=y | ||
214 | CONFIG_FB_OMAP2_NUM_FBS=2 | ||
215 | |||
216 | # | ||
217 | # OMAP2/3 Display Device Drivers | ||
218 | # | ||
219 | CONFIG_PANEL_GENERIC=y | ||
220 | CONFIG_PANEL_SHARP_LS037V7DW01=y | ||
221 | # CONFIG_PANEL_LGPHILIPS_LB035Q02 is not set | ||
222 | # CONFIG_PANEL_SAMSUNG_LTE430WQ_F0C is not set | ||
223 | # CONFIG_PANEL_SHARP_LQ043T1DG01 is not set | ||
224 | # CONFIG_PANEL_TAAL is not set | ||
225 | CONFIG_PANEL_TOPPOLY_TDO35S=m | ||
226 | CONFIG_PANEL_TPO_TD043MTEA1=m | ||
227 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
228 | CONFIG_BACKLIGHT_CLASS_DEVICE=y | ||
229 | |||
230 | # | ||
231 | # Display device support | ||
232 | # | ||
233 | CONFIG_DISPLAY_SUPPORT=y | ||
234 | CONFIG_DUMMY_CONSOLE=y | ||
235 | # CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set | ||
236 | CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y | ||
237 | # CONFIG_FONTS is not set | ||
238 | CONFIG_FONT_8x8=y | ||
239 | CONFIG_FONT_8x16=y | ||
240 | # CONFIG_LOGO_LINUX_MONO is not set | ||
241 | # CONFIG_LOGO_LINUX_VGA16 is not set | ||
242 | |||
243 | # | ||
244 | # Console display driver support | ||
245 | # | ||
246 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
247 | CONFIG_LOGO=y | ||
248 | # CONFIG_VGA_CONSOLE is not set | ||
249 | |||
250 | CONFIG_SOUND=y | ||
251 | CONFIG_SND=y | ||
252 | CONFIG_SND_SOC=y | ||
253 | CONFIG_SND_OMAP_SOC=y | ||
254 | CONFIG_SND_OMAP_SOC_OMAP3_BEAGLE=y | ||
255 | |||
256 | # | ||
257 | # USB Input Devices | ||
258 | # | ||
259 | CONFIG_USB=y | ||
260 | CONFIG_USB_SUPPORT=y | ||
261 | |||
262 | # | ||
263 | # Miscellaneous USB options | ||
264 | # | ||
265 | CONFIG_USB_DEVICEFS=y | ||
266 | CONFIG_USB_OTG=y | ||
267 | # CONFIG_USB_OTG_WHITELIST is not set | ||
268 | |||
269 | # | ||
270 | # USB Host Controller Drivers | ||
271 | # | ||
272 | CONFIG_USB_EHCI_HCD=y | ||
273 | CONFIG_USB_EHCI_TT_NEWSCHED=y | ||
274 | CONFIG_USB_EHCI_ROOT_HUB_TT=y | ||
275 | CONFIG_USB_MUSB_HDRC=y | ||
276 | CONFIG_USB_MUSB_OMAP2PLUS=y | ||
277 | CONFIG_USB_MUSB_SOC=y | ||
278 | |||
279 | # | ||
280 | # OMAP 343x high speed USB support | ||
281 | # | ||
282 | CONFIG_USB_MUSB_OTG=y | ||
283 | CONFIG_USB_GADGET_MUSB_HDRC=y | ||
284 | CONFIG_USB_MUSB_HDRC_HCD=y | ||
285 | CONFIG_USB_INVENTRA_DMA=y | ||
286 | |||
287 | |||
288 | # | ||
289 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | ||
290 | # | ||
291 | |||
292 | # | ||
293 | # may also be needed; see USB_STORAGE Help for more information | ||
294 | # | ||
295 | CONFIG_USB_STORAGE=y | ||
296 | |||
297 | # | ||
298 | # USB Miscellaneous drivers | ||
299 | # | ||
300 | CONFIG_USB_GADGET=y | ||
301 | CONFIG_USB_GADGET_DUALSPEED=y | ||
302 | CONFIG_USB_OTG_UTILS=y | ||
303 | CONFIG_TWL4030_USB=y | ||
304 | |||
305 | CONFIG_MMC=y | ||
306 | |||
307 | # | ||
308 | # MMC/SD Host Controller Drivers | ||
309 | # | ||
310 | CONFIG_MMC_OMAP_HS=y | ||
311 | |||
312 | # | ||
313 | # Real Time Clock | ||
314 | # | ||
315 | CONFIG_RTC_LIB=y | ||
316 | CONFIG_RTC_CLASS=y | ||
317 | CONFIG_RTC_DRV_TWL4030=y | ||
318 | |||
319 | # | ||
320 | # DOS/FAT/NT Filesystems | ||
321 | # | ||
322 | CONFIG_VFAT_FS=y | ||
323 | |||
324 | # | ||
325 | # Multimedia core support | ||
326 | # | ||
327 | |||
328 | CONFIG_VIDEO_OMAP3_ISP=y | ||
329 | # CONFIG_VIDEO_OMAP34XX_ISP_PREVIEWER is not set | ||
330 | CONFIG_VIDEO_OMAP34XX_ISP_RESIZER=y | ||
331 | # CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set | ||
332 | |||
333 | # | ||
334 | # Advanced Power Management Emulation support | ||
335 | # | ||
336 | CONFIG_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..39f87f5e84 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/{{=machine}}.scc | |||
@@ -0,0 +1,7 @@ | |||
1 | kconf hardware {{=machine}}.cfg | ||
2 | kconf non-hardware {{machine}}-non_hardware.cfg | ||
3 | |||
4 | include features/usb-net/usb-net.scc | ||
5 | |||
6 | kconf hardware user-config.cfg | ||
7 | include 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..14cefa60c0 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/kernel-list.noinstall | |||
@@ -0,0 +1,4 @@ | |||
1 | {{ input type:"boolean" name:"use_default_kernel" prio:"10" msg:"Would you like to use the default (3.2) kernel? (y/n)" default:"y"}} | ||
2 | |||
3 | {{ if use_default_kernel == "n": }} | ||
4 | {{ 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.2"}} | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.0": }} linux-yocto-rt_3.0.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.0": }} linux-yocto-rt_3.0.bbappend new file mode 100644 index 0000000000..144acd3e54 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.0": }} linux-yocto-rt_3.0.bbappend | |||
@@ -0,0 +1,39 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
2 | |||
3 | PR := "${PR}.1" | ||
4 | |||
5 | COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}" | ||
6 | |||
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" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"yocto/standard/preempt-rt" }} | ||
11 | |||
12 | {{ if need_new_kbranch == "n": }} | ||
13 | {{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"yocto/standard/preempt-rt/base" }} | ||
14 | |||
15 | {{ if need_new_kbranch == "y": }} | ||
16 | KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}" | ||
17 | {{ if need_new_kbranch == "n": }} | ||
18 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
19 | |||
20 | {{ if need_new_kbranch == "y": }} | ||
21 | YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}" | ||
22 | |||
23 | KMACHINE_{{=machine}} = "{{=machine}}" | ||
24 | |||
25 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
26 | {{ if smp == "y": }} | ||
27 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
28 | |||
29 | SRC_URI += "file://{{=machine}}-preempt-rt.scc \ | ||
30 | file://{{=machine}}.scc \ | ||
31 | file://{{=machine}}.cfg \ | ||
32 | file://user-config.cfg \ | ||
33 | file://user-patches.scc \ | ||
34 | " | ||
35 | |||
36 | # uncomment and replace these SRCREVs with the real commit ids once you've had | ||
37 | # the appropriate changes committed to the upstream linux-yocto repo | ||
38 | #SRCREV_machine_pn-linux-yocto-rt_{{=machine}} ?= "417fc778a86e81303bab5883b919ee422ec51c04" | ||
39 | #SRCREV_meta_pn-linux-yocto-rt_{{=machine}} ?= "138bf5b502607fe40315c0d76822318d77d97e01" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.2": }} linux-yocto-rt_3.2.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.2": }} linux-yocto-rt_3.2.bbappend new file mode 100644 index 0000000000..7fc48a5971 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.2": }} linux-yocto-rt_3.2.bbappend | |||
@@ -0,0 +1,39 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
2 | |||
3 | PR := "${PR}.1" | ||
4 | |||
5 | COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}" | ||
6 | |||
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" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt" }} | ||
11 | |||
12 | {{ if need_new_kbranch == "n": }} | ||
13 | {{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }} | ||
14 | |||
15 | {{ if need_new_kbranch == "y": }} | ||
16 | KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}" | ||
17 | {{ if need_new_kbranch == "n": }} | ||
18 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
19 | |||
20 | {{ if need_new_kbranch == "y": }} | ||
21 | YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}" | ||
22 | |||
23 | KMACHINE_{{=machine}} = "{{=machine}}" | ||
24 | |||
25 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
26 | {{ if smp == "y": }} | ||
27 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
28 | |||
29 | SRC_URI += "file://{{=machine}}-preempt-rt.scc \ | ||
30 | file://{{=machine}}.scc \ | ||
31 | file://{{=machine}}.cfg \ | ||
32 | file://user-config.cfg \ | ||
33 | file://user-patches.scc \ | ||
34 | " | ||
35 | |||
36 | # uncomment and replace these SRCREVs with the real commit ids once you've had | ||
37 | # the appropriate changes committed to the upstream linux-yocto repo | ||
38 | #SRCREV_machine_pn-linux-yocto-rt_{{=machine}} ?= "417fc778a86e81303bab5883b919ee422ec51c04" | ||
39 | #SRCREV_meta_pn-linux-yocto-rt_{{=machine}} ?= "138bf5b502607fe40315c0d76822318d77d97e01" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto_3.0": }} linux-yocto_3.0.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto_3.0": }} linux-yocto_3.0.bbappend new file mode 100644 index 0000000000..12de75eeba --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto_3.0": }} linux-yocto_3.0.bbappend | |||
@@ -0,0 +1,41 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
2 | |||
3 | PR := "${PR}.1" | ||
4 | |||
5 | COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}" | ||
6 | |||
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" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"yocto/standard" }} | ||
11 | |||
12 | {{ if need_new_kbranch == "n": }} | ||
13 | {{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"yocto/standard" }} | ||
14 | |||
15 | {{ if need_new_kbranch == "y": }} | ||
16 | KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}" | ||
17 | {{ if need_new_kbranch == "n": }} | ||
18 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
19 | |||
20 | KMACHINE_{{=machine}} = "{{=machine}}" | ||
21 | |||
22 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
23 | {{ if smp == "y": }} | ||
24 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
25 | |||
26 | {{ if need_new_kbranch == "y": }} | ||
27 | YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}" | ||
28 | {{ if need_new_kbranch == "n": }} | ||
29 | YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
30 | |||
31 | SRC_URI += "file://{{=machine}}-standard.scc \ | ||
32 | file://{{=machine}}.scc \ | ||
33 | file://{{=machine}}.cfg \ | ||
34 | file://user-config.cfg \ | ||
35 | file://user-patches.scc \ | ||
36 | " | ||
37 | |||
38 | # uncomment and replace these SRCREVs with the real commit ids once you've had | ||
39 | # the appropriate changes committed to the upstream linux-yocto repo | ||
40 | #SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "417fc778a86e81303bab5883b919ee422ec51c04" | ||
41 | #SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "138bf5b502607fe40315c0d76822318d77d97e01" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto_3.2": }} linux-yocto_3.2.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto_3.2": }} linux-yocto_3.2.bbappend new file mode 100644 index 0000000000..5480e90b26 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto_3.2": }} linux-yocto_3.2.bbappend | |||
@@ -0,0 +1,39 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
2 | |||
3 | PR := "${PR}.1" | ||
4 | |||
5 | COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}" | ||
6 | |||
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" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/default" }} | ||
11 | |||
12 | {{ if need_new_kbranch == "n": }} | ||
13 | {{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/default" }} | ||
14 | |||
15 | {{ if need_new_kbranch == "y": }} | ||
16 | KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}" | ||
17 | {{ if need_new_kbranch == "n": }} | ||
18 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
19 | |||
20 | {{ if need_new_kbranch == "y": }} | ||
21 | YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}" | ||
22 | |||
23 | KMACHINE_{{=machine}} = "{{=machine}}" | ||
24 | |||
25 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
26 | {{ if smp == "y": }} | ||
27 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
28 | |||
29 | SRC_URI += "file://{{=machine}}-standard.scc \ | ||
30 | file://{{=machine}}.scc \ | ||
31 | file://{{=machine}}.cfg \ | ||
32 | file://user-config.cfg \ | ||
33 | file://user-patches.scc \ | ||
34 | " | ||
35 | |||
36 | # uncomment and replace these SRCREVs with the real commit ids once you've had | ||
37 | # the appropriate changes committed to the upstream linux-yocto repo | ||
38 | #SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "417fc778a86e81303bab5883b919ee422ec51c04" | ||
39 | #SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "138bf5b502607fe40315c0d76822318d77d97e01" | ||