Skip to content

Commit 1f35296

Browse files
committed
bitbake-registry: add basic meta-riscv config templates
Add two bitbake-setup configuration templates for use with meta-riscv, one using the baseline oe-core 'nodistro' setup, and one using poky. These are based on the 'oe-nodistro-master.conf.json' and 'poky-master.conf.json' in bitbake's default registry, but with the meta-riscv layer added and the list of valid MACHINE options changed to match. Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
1 parent a713bc2 commit 1f35296

2 files changed

Lines changed: 162 additions & 0 deletions

File tree

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"description": "meta-riscv and oe-core - 'nodistro' basic configuration",
3+
"sources": {
4+
"bitbake": {
5+
"git-remote": {
6+
"uri": "https://git.openembedded.org/bitbake",
7+
"branch": "master",
8+
"rev": "master"
9+
}
10+
},
11+
"openembedded-core": {
12+
"git-remote": {
13+
"uri": "https://git.openembedded.org/openembedded-core",
14+
"branch": "master",
15+
"rev": "master"
16+
}
17+
},
18+
"yocto-docs": {
19+
"git-remote": {
20+
"uri": "https://git.yoctoproject.org/yocto-docs",
21+
"branch": "master",
22+
"rev": "master"
23+
}
24+
},
25+
"meta-riscv": {
26+
"git-remote": {
27+
"uri": "https://github.com/riscv/meta-riscv.git",
28+
"branch": "master",
29+
"rev": "master"
30+
}
31+
}
32+
},
33+
"bitbake-setup": {
34+
"configurations": [
35+
{
36+
"name": "nodistro",
37+
"description": "OpenEmbedded 'nodistro'",
38+
"setup-dir-name": "oe-nodistro-master-meta-riscv",
39+
"bb-layers": ["openembedded-core/meta", "meta-riscv"],
40+
"bb-env-passthrough-additions": ["DL_DIR", "SSTATE_DIR"],
41+
"oe-fragments-one-of": {
42+
"machine": {
43+
"description": "Target machines",
44+
"options" : [
45+
{ "name": "machine/bananapi-f3", "description": "BananaPi BPI-F3" },
46+
{ "name": "machine/beaglev-ahead", "description": "BeagleV Ahead" },
47+
{ "name": "machine/beaglev-starlight-jh7100", "description": "BeagleV" },
48+
{ "name": "machine/eswin-ebc77", "description": "ESWIN EBC77 (Vendor Kernel)" },
49+
{ "name": "machine/freedom-u540", "description": "Freedom U540" },
50+
{ "name": "machine/mangopi-mq-pro", "description": "MangoPi MQ Pro" },
51+
{ "name": "machine/milkv-duo", "description": "Milk-V Duo" },
52+
{ "name": "machine/milkv-megrez", "description": "Milk-V Megrez" },
53+
{ "name": "machine/eswin-ebc77-mainline", "description": "ESWIN EBC77 (Mainline Kernel)" },
54+
{ "name": "machine/muse-pi-pro", "description": "SpacemiT Muse Pi Pro" },
55+
{ "name": "machine/nezha-allwinner-d1", "description": "Nezha D1-H" },
56+
{ "name": "machine/orangepi-r2s", "description": "OrangePi R2S" },
57+
{ "name": "machine/orangepi-rv2", "description": "OrangePi RV2 (Vendor Kernel)" },
58+
{ "name": "machine/orangepi-rv2-mainline", "description": "OrangePi RV2 (Mainline Kernel)" },
59+
{ "name": "machine/star64", "description": "PINE64 Star64" },
60+
{ "name": "machine/visionfive", "description": "StarFive VisionFive" },
61+
{ "name": "machine/visionfive2", "description": "x86_64 (64-bit) PCs and servers" }
62+
]
63+
}
64+
}
65+
}
66+
]
67+
},
68+
"version": "1.0"
69+
}
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
{
2+
"description": "meta-riscv master with Poky reference distro",
3+
"sources": {
4+
"bitbake": {
5+
"git-remote": {
6+
"uri": "https://git.openembedded.org/bitbake",
7+
"branch": "master",
8+
"rev": "master"
9+
}
10+
},
11+
"openembedded-core": {
12+
"git-remote": {
13+
"uri": "https://git.openembedded.org/openembedded-core",
14+
"branch": "master",
15+
"rev": "master"
16+
}
17+
},
18+
"meta-yocto": {
19+
"git-remote": {
20+
"uri": "https://git.yoctoproject.org/meta-yocto",
21+
"branch": "master",
22+
"rev": "master"
23+
}
24+
},
25+
"yocto-docs": {
26+
"git-remote": {
27+
"uri": "https://git.yoctoproject.org/yocto-docs",
28+
"branch": "master",
29+
"rev": "master"
30+
}
31+
},
32+
"meta-riscv": {
33+
"git-remote": {
34+
"uri": "https://github.com/riscv/meta-riscv.git",
35+
"branch": "master",
36+
"rev": "master"
37+
}
38+
}
39+
},
40+
"bitbake-setup": {
41+
"configurations": [
42+
{
43+
"bb-layers": ["openembedded-core/meta","meta-yocto/meta-yocto-bsp","meta-yocto/meta-poky", "meta-riscv"],
44+
"bb-env-passthrough-additions": ["DL_DIR", "SSTATE_DIR"],
45+
"setup-dir-name": "$distro-master-meta-riscv",
46+
"oe-fragments-one-of": {
47+
"machine": {
48+
"description": "Target machines",
49+
"options" : [
50+
{ "name": "machine/bananapi-f3", "description": "BananaPi BPI-F3" },
51+
{ "name": "machine/beaglev-ahead", "description": "BeagleV Ahead" },
52+
{ "name": "machine/beaglev-starlight-jh7100", "description": "BeagleV" },
53+
{ "name": "machine/eswin-ebc77", "description": "ESWIN EBC77 (Vendor Kernel)" },
54+
{ "name": "machine/freedom-u540", "description": "Freedom U540" },
55+
{ "name": "machine/mangopi-mq-pro", "description": "MangoPi MQ Pro" },
56+
{ "name": "machine/milkv-duo", "description": "Milk-V Duo" },
57+
{ "name": "machine/milkv-megrez", "description": "Milk-V Megrez" },
58+
{ "name": "machine/eswin-ebc77-mainline", "description": "ESWIN EBC77 (Mainline Kernel)" },
59+
{ "name": "machine/muse-pi-pro", "description": "SpacemiT Muse Pi Pro" },
60+
{ "name": "machine/nezha-allwinner-d1", "description": "Nezha D1-H" },
61+
{ "name": "machine/orangepi-r2s", "description": "OrangePi R2S" },
62+
{ "name": "machine/orangepi-rv2", "description": "OrangePi RV2 (Vendor Kernel)" },
63+
{ "name": "machine/orangepi-rv2-mainline", "description": "OrangePi RV2 (Mainline Kernel)" },
64+
{ "name": "machine/star64", "description": "PINE64 Star64" },
65+
{ "name": "machine/visionfive", "description": "StarFive VisionFive" },
66+
{ "name": "machine/visionfive2", "description": "x86_64 (64-bit) PCs and servers" }
67+
]
68+
},
69+
"distro": {
70+
"description": "Target distributions",
71+
"options" : [
72+
{ "name": "distro/poky", "description": "Yocto Project Reference Distro" },
73+
{ "name": "distro/poky-altcfg", "description": "Poky alternative with systemd as init manager" },
74+
{ "name": "distro/poky-tiny", "description": "Poky alternative optimized for size" }
75+
]
76+
}
77+
},
78+
"configurations": [
79+
{
80+
"name": "poky",
81+
"description": "Poky - The Yocto Project testing distribution"
82+
},
83+
{
84+
"name": "poky-with-sstate",
85+
"description": "Poky - The Yocto Project testing distribution with internet sstate acceleration. Use with caution as it requires a completely robust local network with sufficient bandwidth.",
86+
"oe-fragments": ["core/yocto/sstate-mirror-cdn"]
87+
}
88+
]
89+
}
90+
]
91+
},
92+
"version": "1.0"
93+
}

0 commit comments

Comments
 (0)