diff options
Diffstat (limited to 'scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files')
8 files changed, 107 insertions, 0 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-preempt-rt.scc b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-preempt-rt.scc new file mode 100644 index 0000000000..176190cd2e --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-preempt-rt.scc | |||
@@ -0,0 +1,10 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-preempt-rt.scc | ||
2 | define KMACHINE {{=machine}} | ||
3 | define KTYPE preempt-rt | ||
4 | define KARCH mips | ||
5 | |||
6 | include {{=map_preempt_rt_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | ||
7 | {{ if need_new_kbranch == "y": }} | ||
8 | branch {{=machine}} | ||
9 | |||
10 | include {{=machine}}.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-standard.scc b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-standard.scc new file mode 100644 index 0000000000..f05dd851d2 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-standard.scc | |||
@@ -0,0 +1,10 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-standard.scc | ||
2 | define KMACHINE {{=machine}} | ||
3 | define KTYPE standard | ||
4 | define KARCH mips | ||
5 | |||
6 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | ||
7 | {{ if need_new_kbranch == "y": }} | ||
8 | branch {{=machine}} | ||
9 | |||
10 | include {{=machine}}.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-tiny.scc b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-tiny.scc new file mode 100644 index 0000000000..f71c775397 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-tiny.scc | |||
@@ -0,0 +1,10 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-tiny.scc | ||
2 | define KMACHINE {{=machine}} | ||
3 | define KTYPE tiny | ||
4 | define KARCH mips | ||
5 | |||
6 | include {{=map_tiny_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | ||
7 | {{ if need_new_kbranch == "y": }} | ||
8 | branch {{=machine}} | ||
9 | |||
10 | include {{=machine}}.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-user-config.cfg b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-user-config.cfg new file mode 100644 index 0000000000..69efdcc759 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-user-config.cfg | |||
@@ -0,0 +1 @@ | |||
# yocto-bsp-filename {{=machine}}-user-config.cfg \ No newline at end of file | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-user-features.scc b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-user-features.scc new file mode 100644 index 0000000000..85be26de97 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-user-features.scc | |||
@@ -0,0 +1 @@ | |||
# yocto-bsp-filename {{=machine}}-user-features.scc \ No newline at end of file | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-user-patches.scc b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-user-patches.scc new file mode 100644 index 0000000000..4c59daac46 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-user-patches.scc | |||
@@ -0,0 +1 @@ | |||
# yocto-bsp-filename {{=machine}}-user-patches.scc \ No newline at end of file | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine.cfg b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine.cfg new file mode 100644 index 0000000000..0cc906bbf0 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine.cfg | |||
@@ -0,0 +1,66 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.cfg | ||
2 | #SOC | ||
3 | CONFIG_CAVIUM_OCTEON_SOC=y | ||
4 | CONFIG_CAVIUM_CN63XXP1=y | ||
5 | CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE=2 | ||
6 | |||
7 | #Kernel | ||
8 | CONFIG_SMP=y | ||
9 | CONFIG_NR_CPUS=32 | ||
10 | #Executable file formats | ||
11 | CONFIG_MIPS32_COMPAT=y | ||
12 | CONFIG_MIPS32_O32=y | ||
13 | CONFIG_MIPS32_N32=y | ||
14 | |||
15 | |||
16 | #PCI | ||
17 | CONFIG_PCI=y | ||
18 | CONFIG_PCI_MSI=y | ||
19 | |||
20 | #I2C | ||
21 | CONFIG_I2C=y | ||
22 | CONFIG_I2C_OCTEON=y | ||
23 | |||
24 | CONFIG_HW_RANDOM_OCTEON=y | ||
25 | |||
26 | #SPI | ||
27 | CONFIG_SPI=y | ||
28 | CONFIG_SPI_OCTEON=y | ||
29 | |||
30 | #Misc | ||
31 | CONFIG_EEPROM_AT24=y | ||
32 | CONFIG_EEPROM_AT25=y | ||
33 | CONFIG_OCTEON_WDT=y | ||
34 | |||
35 | CONFIG_STAGING=y | ||
36 | |||
37 | #Ethernet | ||
38 | CONFIG_OCTEON_ETHERNET=y | ||
39 | CONFIG_OCTEON_MGMT_ETHERNET=y | ||
40 | CONFIG_MDIO_OCTEON=y | ||
41 | |||
42 | #PHY | ||
43 | CONFIG_MARVELL_PHY=y | ||
44 | CONFIG_BROADCOM_PHY=y | ||
45 | CONFIG_BCM87XX_PHY=y | ||
46 | |||
47 | |||
48 | #USB | ||
49 | CONFIG_USB=y | ||
50 | CONFIG_OCTEON_USB=y | ||
51 | CONFIG_USB_OCTEON_EHCI=y | ||
52 | CONFIG_USB_OCTEON_OHCI=y | ||
53 | CONFIG_USB_OCTEON2_COMMON=y | ||
54 | |||
55 | CONFIG_MTD=y | ||
56 | CONFIG_MTD_BLOCK=y | ||
57 | CONFIG_MTD_CFI=y | ||
58 | CONFIG_MTD_CFI_AMDSTD=y | ||
59 | CONFIG_MTD_CMDLINE_PARTS=y | ||
60 | |||
61 | CONFIG_SERIAL_8250=y | ||
62 | CONFIG_SERIAL_8250_CONSOLE=y | ||
63 | CONFIG_SERIAL_8250_NR_UARTS=2 | ||
64 | CONFIG_SERIAL_8250_RUNTIME_UARTS=2 | ||
65 | CONFIG_SERIAL_8250_DW=y | ||
66 | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine.scc b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine.scc new file mode 100644 index 0000000000..f39dc3edf1 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine.scc | |||
@@ -0,0 +1,8 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.scc | ||
2 | kconf hardware {{=machine}}.cfg | ||
3 | |||
4 | include cfg/usb-mass-storage.scc | ||
5 | include cfg/fs/vfat.scc | ||
6 | |||
7 | kconf hardware {{=machine}}-user-config.cfg | ||
8 | include {{=machine}}-user-patches.scc | ||