diff options
| author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
|---|---|---|
| committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
| commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
| tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /scripts/lib/bsp/substrate/target/arch/powerpc | |
| download | poky-daisy-140929.tar.gz | |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'scripts/lib/bsp/substrate/target/arch/powerpc')
16 files changed, 463 insertions, 0 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/{{=machine}}.conf b/scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/{{=machine}}.conf new file mode 100644 index 0000000000..78fb5db22b --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/{{=machine}}.conf | |||
| @@ -0,0 +1,74 @@ | |||
| 1 | #@TYPE: Machine | ||
| 2 | #@NAME: {{=machine}} | ||
| 3 | |||
| 4 | #@DESCRIPTION: Machine configuration for {{=machine}} systems | ||
| 5 | |||
| 6 | TARGET_FPU = "" | ||
| 7 | |||
| 8 | {{ input type:"choicelist" name:"tunefile" prio:"40" msg:"Which machine tuning would you like to use?" default:"tune_ppce300c3" }} | ||
| 9 | {{ input type:"choice" val:"tune_ppc476" msg:"ppc476 tuning optimizations" }} | ||
| 10 | {{ input type:"choice" val:"tune_ppc603e" msg:"ppc603e tuning optimizations" }} | ||
| 11 | {{ input type:"choice" val:"tune_ppc7400" msg:"ppc7400 tuning optimizations" }} | ||
| 12 | {{ input type:"choice" val:"tune_ppce300c2" msg:"ppce300c2 tuning optimizations" }} | ||
| 13 | {{ input type:"choice" val:"tune_ppce300c3" msg:"ppce300c3 tuning optimizations" }} | ||
| 14 | {{ input type:"choice" val:"tune_ppce500" msg:"ppce500 tuning optimizations" }} | ||
| 15 | {{ input type:"choice" val:"tune_ppce500mc" msg:"ppce500mc tuning optimizations" }} | ||
| 16 | {{ input type:"choice" val:"tune_ppce500v2" msg:"ppce500v2 tuning optimizations" }} | ||
| 17 | {{ input type:"choice" val:"tune_ppce5500" msg:"ppce5500 tuning optimizations" }} | ||
| 18 | {{ input type:"choice" val:"tune_ppce6500" msg:"ppce6500 tuning optimizations" }} | ||
| 19 | {{ if tunefile == "tune_ppc476": }} | ||
| 20 | include conf/machine/include/tune-ppc476.inc | ||
| 21 | {{ if tunefile == "tune_ppc603e": }} | ||
| 22 | include conf/machine/include/tune-ppc603e.inc | ||
| 23 | {{ if tunefile == "tune_ppc7400": }} | ||
| 24 | include conf/machine/include/tune-ppc7400.inc | ||
| 25 | {{ if tunefile == "tune_ppce300c2": }} | ||
| 26 | include conf/machine/include/tune-ppce300c2.inc | ||
| 27 | {{ if tunefile == "tune_ppce300c3": }} | ||
| 28 | include conf/machine/include/tune-ppce300c3.inc | ||
| 29 | {{ if tunefile == "tune_ppce500": }} | ||
| 30 | include conf/machine/include/tune-ppce500.inc | ||
| 31 | {{ if tunefile == "tune_ppce500mc": }} | ||
| 32 | include conf/machine/include/tune-ppce500mc.inc | ||
| 33 | {{ if tunefile == "tune_ppce500v2": }} | ||
| 34 | include conf/machine/include/tune-ppce500v2.inc | ||
| 35 | {{ if tunefile == "tune_ppce5500": }} | ||
| 36 | include conf/machine/include/tune-ppce5500.inc | ||
| 37 | {{ if tunefile == "tune_ppce6500": }} | ||
| 38 | include conf/machine/include/tune-ppce6500.inc | ||
| 39 | |||
| 40 | KERNEL_IMAGETYPE = "uImage" | ||
| 41 | |||
| 42 | EXTRA_IMAGEDEPENDS += "u-boot" | ||
| 43 | UBOOT_MACHINE_{{=machine}} = "MPC8315ERDB_config" | ||
| 44 | |||
| 45 | SERIAL_CONSOLE = "115200 ttyS0" | ||
| 46 | |||
| 47 | MACHINE_FEATURES = "keyboard pci ext2 ext3 serial" | ||
| 48 | |||
| 49 | {{ if kernel_choice == "custom": preferred_kernel = "linux-yocto-custom" }} | ||
| 50 | {{ if kernel_choice == "linux-yocto-dev": preferred_kernel = "linux-yocto-dev" }} | ||
| 51 | {{ if kernel_choice == "custom" or kernel_choice == "linux-yocto-dev" : }} | ||
| 52 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
| 53 | |||
| 54 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel = kernel_choice.split('_')[0] }} | ||
| 55 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel_version = kernel_choice.split('_')[1] }} | ||
| 56 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": }} | ||
| 57 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
| 58 | PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" | ||
| 59 | |||
| 60 | {{ input type:"boolean" name:"xserver" prio:"50" msg:"Do you need support for X? (y/n)" default:"y" }} | ||
| 61 | {{ if xserver == "y": }} | ||
| 62 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" | ||
| 63 | XSERVER ?= "xserver-xorg \ | ||
| 64 | xf86-input-evdev \ | ||
| 65 | xf86-video-fbdev" | ||
| 66 | |||
| 67 | PREFERRED_VERSION_u-boot ?= "v2013.07%" | ||
| 68 | {{ input type:"edit" name:"uboot_entrypoint" prio:"40" msg:"Please specify a value for UBOOT_ENTRYPOINT:" default:"0x00000000" }} | ||
| 69 | UBOOT_ENTRYPOINT = "{{=uboot_entrypoint}}" | ||
| 70 | |||
| 71 | {{ input type:"edit" name:"kernel_devicetree" prio:"40" msg:"Please specify a [arch/powerpc/boot/dts/xxx] value for KERNEL_DEVICETREE:" default:"mpc8315erdb.dts" }} | ||
| 72 | KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/{{=kernel_devicetree}}" | ||
| 73 | |||
| 74 | MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/kernel-list.noinstall b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/kernel-list.noinstall new file mode 100644 index 0000000000..a04e6c7852 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/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/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-preempt-rt.scc b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-preempt-rt.scc new file mode 100644 index 0000000000..1da7b0c892 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-preempt-rt.scc | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | define KMACHINE {{=machine}} | ||
| 2 | define KTYPE preempt-rt | ||
| 3 | define KARCH powerpc | ||
| 4 | |||
| 5 | include {{=map_preempt_rt_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | ||
| 6 | {{ if need_new_kbranch == "y": }} | ||
| 7 | branch {{=machine}} | ||
| 8 | |||
| 9 | include {{=machine}}.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-standard.scc b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-standard.scc new file mode 100644 index 0000000000..53a74a6ca2 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-standard.scc | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | define KMACHINE {{=machine}} | ||
| 2 | define KTYPE standard | ||
| 3 | define KARCH powerpc | ||
| 4 | |||
| 5 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | ||
| 6 | {{ if need_new_kbranch == "y": }} | ||
| 7 | branch {{=machine}} | ||
| 8 | |||
| 9 | include {{=machine}}.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-tiny.scc b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-tiny.scc new file mode 100644 index 0000000000..4ca6224774 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-tiny.scc | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | define KMACHINE {{=machine}} | ||
| 2 | define KTYPE tiny | ||
| 3 | define KARCH powerpc | ||
| 4 | |||
| 5 | include {{=map_tiny_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | ||
| 6 | {{ if need_new_kbranch == "y": }} | ||
| 7 | branch {{=machine}} | ||
| 8 | |||
| 9 | include {{=machine}}.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-config.cfg b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-config.cfg new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-config.cfg | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-features.scc b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-features.scc new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-features.scc | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-patches.scc b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-patches.scc new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-patches.scc | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}.cfg b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}.cfg new file mode 100644 index 0000000000..9f37d07553 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}.cfg | |||
| @@ -0,0 +1,163 @@ | |||
| 1 | .......................................................................... | ||
| 2 | . WARNING | ||
| 3 | . | ||
| 4 | . This file is a kernel configuration fragment, and not a full kernel | ||
| 5 | . configuration file. The final kernel configuration is made up of | ||
| 6 | . an assembly of processed fragments, each of which is designed to | ||
| 7 | . capture a specific part of the final configuration (e.g. platform | ||
| 8 | . configuration, feature configuration, and board specific hardware | ||
| 9 | . configuration). For more information on kernel configuration, please | ||
| 10 | . consult the product documentation. | ||
| 11 | . | ||
| 12 | .......................................................................... | ||
| 13 | CONFIG_PPC32=y | ||
| 14 | CONFIG_PPC_OF=y | ||
| 15 | CONFIG_PPC_UDBG_16550=y | ||
| 16 | |||
| 17 | # | ||
| 18 | # Processor support | ||
| 19 | # | ||
| 20 | CONFIG_PPC_83xx=y | ||
| 21 | |||
| 22 | # | ||
| 23 | # Platform support | ||
| 24 | # | ||
| 25 | CONFIG_MPC831x_RDB=y | ||
| 26 | # CONFIG_PPC_CHRP is not set | ||
| 27 | # CONFIG_PPC_PMAC is not set | ||
| 28 | |||
| 29 | # | ||
| 30 | # Bus options | ||
| 31 | # | ||
| 32 | CONFIG_PCI=y | ||
| 33 | |||
| 34 | # | ||
| 35 | # Memory Technology Devices (MTD) | ||
| 36 | # | ||
| 37 | CONFIG_MTD=y | ||
| 38 | CONFIG_MTD_PARTITIONS=y | ||
| 39 | CONFIG_MTD_CMDLINE_PARTS=y | ||
| 40 | CONFIG_MTD_OF_PARTS=y | ||
| 41 | |||
| 42 | # | ||
| 43 | # User Modules And Translation Layers | ||
| 44 | # | ||
| 45 | CONFIG_MTD_CHAR=y | ||
| 46 | CONFIG_MTD_BLOCK=y | ||
| 47 | |||
| 48 | # | ||
| 49 | # RAM/ROM/Flash chip drivers | ||
| 50 | # | ||
| 51 | CONFIG_MTD_CFI=y | ||
| 52 | CONFIG_MTD_CFI_AMDSTD=y | ||
| 53 | |||
| 54 | # | ||
| 55 | # Mapping drivers for chip access | ||
| 56 | # | ||
| 57 | CONFIG_MTD_PHYSMAP_OF=y | ||
| 58 | |||
| 59 | # | ||
| 60 | # NAND Flash Device Drivers | ||
| 61 | # | ||
| 62 | CONFIG_MTD_NAND=y | ||
| 63 | |||
| 64 | # | ||
| 65 | # Ethernet (1000 Mbit) | ||
| 66 | # | ||
| 67 | CONFIG_GIANFAR=y | ||
| 68 | |||
| 69 | # | ||
| 70 | # Serial drivers | ||
| 71 | # | ||
| 72 | CONFIG_SERIAL_8250=y | ||
| 73 | CONFIG_SERIAL_8250_CONSOLE=y | ||
| 74 | CONFIG_SERIAL_8250_NR_UARTS=2 | ||
| 75 | |||
| 76 | # | ||
| 77 | # Watchdog Device Drivers | ||
| 78 | # | ||
| 79 | CONFIG_8xxx_WDT=y | ||
| 80 | |||
| 81 | # | ||
| 82 | # I2C support | ||
| 83 | # | ||
| 84 | CONFIG_I2C=y | ||
| 85 | CONFIG_I2C_CHARDEV=y | ||
| 86 | |||
| 87 | # | ||
| 88 | # I2C Hardware Bus support | ||
| 89 | # | ||
| 90 | CONFIG_I2C_MPC=y | ||
| 91 | |||
| 92 | CONFIG_SENSORS_LM75=y | ||
| 93 | |||
| 94 | CONFIG_MISC_DEVICES=y | ||
| 95 | |||
| 96 | # | ||
| 97 | # Miscellaneous I2C Chip support | ||
| 98 | # | ||
| 99 | CONFIG_EEPROM_AT24=y | ||
| 100 | |||
| 101 | # | ||
| 102 | # SPI support | ||
| 103 | # | ||
| 104 | CONFIG_SPI=y | ||
| 105 | # CONFIG_SPI_DEBUG is not set | ||
| 106 | CONFIG_SPI_MASTER=y | ||
| 107 | |||
| 108 | # | ||
| 109 | # SPI Master Controller Drivers | ||
| 110 | # | ||
| 111 | CONFIG_SPI_MPC8xxx=y | ||
| 112 | |||
| 113 | # | ||
| 114 | # SPI Protocol Masters | ||
| 115 | # | ||
| 116 | CONFIG_HWMON=y | ||
| 117 | |||
| 118 | # | ||
| 119 | # SCSI device support | ||
| 120 | # | ||
| 121 | CONFIG_SCSI=y | ||
| 122 | CONFIG_BLK_DEV_SD=y | ||
| 123 | CONFIG_CHR_DEV_SG=y | ||
| 124 | CONFIG_SCSI_LOGGING=y | ||
| 125 | |||
| 126 | CONFIG_ATA=y | ||
| 127 | CONFIG_ATA_VERBOSE_ERROR=y | ||
| 128 | CONFIG_SATA_FSL=y | ||
| 129 | CONFIG_ATA_SFF=y | ||
| 130 | |||
| 131 | # | ||
| 132 | # USB support | ||
| 133 | # | ||
| 134 | CONFIG_USB=m | ||
| 135 | CONFIG_USB_DEVICEFS=y | ||
| 136 | |||
| 137 | # | ||
| 138 | # USB Host Controller Drivers | ||
| 139 | # | ||
| 140 | CONFIG_USB_EHCI_HCD=m | ||
| 141 | CONFIG_USB_EHCI_FSL=y | ||
| 142 | CONFIG_USB_STORAGE=m | ||
| 143 | |||
| 144 | # | ||
| 145 | # Real Time Clock | ||
| 146 | # | ||
| 147 | CONFIG_RTC_CLASS=y | ||
| 148 | |||
| 149 | # | ||
| 150 | # I2C RTC drivers | ||
| 151 | # | ||
| 152 | CONFIG_RTC_DRV_DS1307=y | ||
| 153 | |||
| 154 | CONFIG_KGDB_8250=m | ||
| 155 | |||
| 156 | CONFIG_CRYPTO_DEV_TALITOS=m | ||
| 157 | |||
| 158 | CONFIG_FSL_DMA=y | ||
| 159 | |||
| 160 | CONFIG_MMC=y | ||
| 161 | CONFIG_MMC_SPI=m | ||
| 162 | |||
| 163 | CONFIG_USB_FSL_MPH_DR_OF=y | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}.scc b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}.scc new file mode 100644 index 0000000000..c9fd468180 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}.scc | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | kconf hardware {{=machine}}.cfg | ||
| 2 | |||
| 3 | include cfg/usb-mass-storage.scc | ||
| 4 | include cfg/fs/vfat.scc | ||
| 5 | |||
| 6 | include cfg/dmaengine.scc | ||
| 7 | |||
| 8 | kconf hardware {{=machine}}-user-config.cfg | ||
| 9 | include {{=machine}}-user-patches.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-dev": }} linux-yocto-dev.bbappend b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-dev": }} linux-yocto-dev.bbappend new file mode 100644 index 0000000000..25c87a85ac --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-dev": }} linux-yocto-dev.bbappend | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
| 2 | |||
| 3 | PR := "${PR}.1" | ||
| 4 | |||
| 5 | COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}" | ||
| 6 | {{ 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" }} | ||
| 7 | |||
| 8 | {{ if need_new_kbranch == "y": }} | ||
| 9 | {{ 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" }} | ||
| 10 | |||
| 11 | {{ if need_new_kbranch == "n": }} | ||
| 12 | {{ 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" }} | ||
| 13 | |||
| 14 | {{ if need_new_kbranch == "n": }} | ||
| 15 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
| 16 | |||
| 17 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Would you like SMP support? (y/n)" default:"y"}} | ||
| 18 | {{ if smp == "y": }} | ||
| 19 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
| 20 | |||
| 21 | SRC_URI += "file://{{=machine}}-standard.scc \ | ||
| 22 | file://{{=machine}}-user-config.cfg \ | ||
| 23 | file://{{=machine}}-user-patches.scc \ | ||
| 24 | file://{{=machine}}-user-features.scc \ | ||
| 25 | " | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.10": }} linux-yocto-rt_3.10.bbappend b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.10": }} linux-yocto-rt_3.10.bbappend new file mode 100644 index 0000000000..00c8c68933 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.10": }} linux-yocto-rt_3.10.bbappend | |||
| @@ -0,0 +1,32 @@ | |||
| 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" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }} | ||
| 11 | |||
| 12 | {{ if need_new_kbranch == "n": }} | ||
| 13 | {{ 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" }} | ||
| 14 | |||
| 15 | {{ if need_new_kbranch == "n": }} | ||
| 16 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
| 17 | |||
| 18 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
| 19 | {{ if smp == "y": }} | ||
| 20 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
| 21 | |||
| 22 | SRC_URI += "file://{{=machine}}-preempt-rt.scc \ | ||
| 23 | file://{{=machine}}-user-config.cfg \ | ||
| 24 | file://{{=machine}}-user-patches.scc \ | ||
| 25 | file://{{=machine}}-user-features.scc \ | ||
| 26 | " | ||
| 27 | |||
| 28 | # uncomment and replace these SRCREVs with the real commit ids once you've had | ||
| 29 | # the appropriate changes committed to the upstream linux-yocto repo | ||
| 30 | #SRCREV_machine_pn-linux-yocto-rt_{{=machine}} ?= "f35992f80c81dc5fa1a97165dfd5cbb84661f7cb" | ||
| 31 | #SRCREV_meta_pn-linux-yocto-rt_{{=machine}} ?= "1b534b2f8bbe9b8a773268cfa30a4850346f6f5f" | ||
| 32 | #LINUX_VERSION = "3.10.9" \ No newline at end of file | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-tiny_3.10": }} linux-yocto-tiny_3.10.bbappend b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-tiny_3.10": }} linux-yocto-tiny_3.10.bbappend new file mode 100644 index 0000000000..bc6968d832 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-tiny_3.10": }} linux-yocto-tiny_3.10.bbappend | |||
| @@ -0,0 +1,32 @@ | |||
| 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" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }} | ||
| 11 | |||
| 12 | {{ if need_new_kbranch == "n": }} | ||
| 13 | {{ 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" }} | ||
| 14 | |||
| 15 | {{ if need_new_kbranch == "n": }} | ||
| 16 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
| 17 | |||
| 18 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
| 19 | {{ if smp == "y": }} | ||
| 20 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
| 21 | |||
| 22 | SRC_URI += "file://{{=machine}}-tiny.scc \ | ||
| 23 | file://{{=machine}}-user-config.cfg \ | ||
| 24 | file://{{=machine}}-user-patches.scc \ | ||
| 25 | file://{{=machine}}-user-features.scc \ | ||
| 26 | " | ||
| 27 | |||
| 28 | # uncomment and replace these SRCREVs with the real commit ids once you've had | ||
| 29 | # the appropriate changes committed to the upstream linux-yocto repo | ||
| 30 | #SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "840bb8c059418c4753415df56c9aff1c0d5354c8" | ||
| 31 | #SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "4fd76cc4f33e0afd8f906b1e8f231b6d13b6c993" | ||
| 32 | #LINUX_VERSION = "3.10.9" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-tiny_3.14": }} linux-yocto-tiny_3.14.bbappend b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-tiny_3.14": }} linux-yocto-tiny_3.14.bbappend new file mode 100644 index 0000000000..d221d5f2a4 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-tiny_3.14": }} linux-yocto-tiny_3.14.bbappend | |||
| @@ -0,0 +1,32 @@ | |||
| 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" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }} | ||
| 11 | |||
| 12 | {{ if need_new_kbranch == "n": }} | ||
| 13 | {{ 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" }} | ||
| 14 | |||
| 15 | {{ if need_new_kbranch == "n": }} | ||
| 16 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
| 17 | |||
| 18 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
| 19 | {{ if smp == "y": }} | ||
| 20 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
| 21 | |||
| 22 | SRC_URI += "file://{{=machine}}-tiny.scc \ | ||
| 23 | file://{{=machine}}-user-config.cfg \ | ||
| 24 | file://{{=machine}}-user-patches.scc \ | ||
| 25 | file://{{=machine}}-user-features.scc \ | ||
| 26 | " | ||
| 27 | |||
| 28 | # uncomment and replace these SRCREVs with the real commit ids once you've had | ||
| 29 | # the appropriate changes committed to the upstream linux-yocto repo | ||
| 30 | #SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "840bb8c059418c4753415df56c9aff1c0d5354c8" | ||
| 31 | #SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "4fd76cc4f33e0afd8f906b1e8f231b6d13b6c993" | ||
| 32 | #LINUX_VERSION = "3.14" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto_3.10": }} linux-yocto_3.10.bbappend b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto_3.10": }} linux-yocto_3.10.bbappend new file mode 100644 index 0000000000..a61f5ccb80 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto_3.10": }} linux-yocto_3.10.bbappend | |||
| @@ -0,0 +1,32 @@ | |||
| 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" 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" 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": }} | ||
| 16 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
| 17 | |||
| 18 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
| 19 | {{ if smp == "y": }} | ||
| 20 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
| 21 | |||
| 22 | SRC_URI += "file://{{=machine}}-standard.scc \ | ||
| 23 | file://{{=machine}}-user-config.cfg \ | ||
| 24 | file://{{=machine}}-user-patches.scc \ | ||
| 25 | file://{{=machine}}-user-features.scc \ | ||
| 26 | " | ||
| 27 | |||
| 28 | # uncomment and replace these SRCREVs with the real commit ids once you've had | ||
| 29 | # the appropriate changes committed to the upstream linux-yocto repo | ||
| 30 | #SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "19f7e43b54aef08d58135ed2a897d77b624b320a" | ||
| 31 | #SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "459165c1dd61c4e843c36e6a1abeb30949a20ba7" | ||
| 32 | #LINUX_VERSION = "3.10.9" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto_3.14": }} linux-yocto_3.14.bbappend b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto_3.14": }} linux-yocto_3.14.bbappend new file mode 100644 index 0000000000..aebda9b3a5 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto_3.14": }} linux-yocto_3.14.bbappend | |||
| @@ -0,0 +1,32 @@ | |||
| 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" 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" 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": }} | ||
| 16 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
| 17 | |||
| 18 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
| 19 | {{ if smp == "y": }} | ||
| 20 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
| 21 | |||
| 22 | SRC_URI += "file://{{=machine}}-standard.scc \ | ||
| 23 | file://{{=machine}}-user-config.cfg \ | ||
| 24 | file://{{=machine}}-user-patches.scc \ | ||
| 25 | file://{{=machine}}-user-features.scc \ | ||
| 26 | " | ||
| 27 | |||
| 28 | # uncomment and replace these SRCREVs with the real commit ids once you've had | ||
| 29 | # the appropriate changes committed to the upstream linux-yocto repo | ||
| 30 | #SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "840bb8c059418c4753415df56c9aff1c0d5354c8" | ||
| 31 | #SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "4fd76cc4f33e0afd8f906b1e8f231b6d13b6c993" | ||
| 32 | #LINUX_VERSION = "3.14" | ||
