mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Compare commits
436 Commits
v25.5.0-tr
...
coderabbit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9852b3afcf | ||
|
|
3844ef919f | ||
|
|
fc8fef06b2 | ||
|
|
99d23b8190 | ||
|
|
923dc8d7e8 | ||
|
|
8062795c00 | ||
|
|
057681b37d | ||
|
|
4d953d0b83 | ||
|
|
6eb849b60e | ||
|
|
a1168c2635 | ||
|
|
989f25533a | ||
|
|
ae9c66bc0d | ||
|
|
a4551ec75d | ||
|
|
ce02695915 | ||
|
|
4f69047bcd | ||
|
|
5921322e6a | ||
|
|
e9b20c3ed5 | ||
|
|
b39b03b5a5 | ||
|
|
d5fb671349 | ||
|
|
bc6e97caa9 | ||
|
|
15407330c6 | ||
|
|
0e388bb514 | ||
|
|
214e3ec224 | ||
|
|
998542060f | ||
|
|
a4f8def161 | ||
|
|
609110ac10 | ||
|
|
0aed5abe02 | ||
|
|
c9bbbbb0c6 | ||
|
|
3188743b1a | ||
|
|
65af1b843b | ||
|
|
6a60311cb1 | ||
|
|
f2f71b9588 | ||
|
|
d08fea5232 | ||
|
|
32aeb71980 | ||
|
|
8cfd540d0d | ||
|
|
b743487194 | ||
|
|
ddfe4f4106 | ||
|
|
18ddabe25f | ||
|
|
7968bd4a43 | ||
|
|
0a001ec1d1 | ||
|
|
13536bf932 | ||
|
|
abe8102669 | ||
|
|
93a09536aa | ||
|
|
a7785c8ab7 | ||
|
|
f29414a0ea | ||
|
|
06b32ab619 | ||
|
|
2151ca5d7f | ||
|
|
4a4e0e262b | ||
|
|
c0ac2574ac | ||
|
|
189c0ad2ec | ||
|
|
c66fbec4e2 | ||
|
|
22b0414b91 | ||
|
|
f1354108fb | ||
|
|
fb8f189130 | ||
|
|
66cc1f04d4 | ||
|
|
aa5526a918 | ||
|
|
c0da65087a | ||
|
|
54dbbe2785 | ||
|
|
7282020937 | ||
|
|
b571ceb46f | ||
|
|
8762476502 | ||
|
|
699816ddf2 | ||
|
|
c2d1479fa6 | ||
|
|
28ae76b468 | ||
|
|
e03b1b543c | ||
|
|
c8baf1c888 | ||
|
|
0f4303651f | ||
|
|
826309f7bc | ||
|
|
cc4cb72d40 | ||
|
|
cdf71df4b8 | ||
|
|
08c19c021f | ||
|
|
acc79288f4 | ||
|
|
217149cb01 | ||
|
|
dcc9d91b94 | ||
|
|
f149a11b4b | ||
|
|
166b786fc9 | ||
|
|
b84e431565 | ||
|
|
a55e510628 | ||
|
|
81d65b09b9 | ||
|
|
6a825a4446 | ||
|
|
85e5e238eb | ||
|
|
557457e4cc | ||
|
|
d824a53b58 | ||
|
|
4150cd4ac8 | ||
|
|
fcfdfeba06 | ||
|
|
b2fd69b34d | ||
|
|
a268b2dd69 | ||
|
|
39fef63e73 | ||
|
|
d4945ec071 | ||
|
|
26e253b4ad | ||
|
|
faac26177a | ||
|
|
fb1ac8cb1d | ||
|
|
9a971ded79 | ||
|
|
03c47689cb | ||
|
|
10570df804 | ||
|
|
fa0d9ab820 | ||
|
|
793d0eea41 | ||
|
|
99afe10bed | ||
|
|
abe1fb8b7e | ||
|
|
ec28db9f0f | ||
|
|
0fbc9e4c6b | ||
|
|
fa6e4bb2d8 | ||
|
|
c25d079a93 | ||
|
|
f4f14832f5 | ||
|
|
c70ab6079c | ||
|
|
560e299512 | ||
|
|
bf2f058d60 | ||
|
|
21a9d0c3c8 | ||
|
|
6e67114ced | ||
|
|
151d4fcbc9 | ||
|
|
70eb10e1f5 | ||
|
|
2a5e2073ee | ||
|
|
b8dc3cf4a5 | ||
|
|
a8587217fc | ||
|
|
50b3a594ed | ||
|
|
8c9de18898 | ||
|
|
c2b9d6edb4 | ||
|
|
53e72aae25 | ||
|
|
0fbaf8dcd3 | ||
|
|
76e3e203a9 | ||
|
|
96b9fad8c3 | ||
|
|
cb3094f9ee | ||
|
|
dfa51aecfc | ||
|
|
858bb113e6 | ||
|
|
3a4f484714 | ||
|
|
ef8fcc0dc6 | ||
|
|
061e71d26a | ||
|
|
18f6660230 | ||
|
|
36033f660e | ||
|
|
7bd6c1c66c | ||
|
|
e77eabcf23 | ||
|
|
0cfdb8c7e4 | ||
|
|
8ca6cac1ef | ||
|
|
fb82052e99 | ||
|
|
6acb600061 | ||
|
|
83dadd281b | ||
|
|
5815951516 | ||
|
|
0a90f25707 | ||
|
|
3ec4a4cdf0 | ||
|
|
e5c6a97d1d | ||
|
|
5cf5eba923 | ||
|
|
5c90963092 | ||
|
|
5d21ca9b79 | ||
|
|
1bf37853b1 | ||
|
|
fd60028551 | ||
|
|
c3d6eebc31 | ||
|
|
3d56fa93cd | ||
|
|
ad3fa9fd35 | ||
|
|
a160029eb0 | ||
|
|
4ad0fe50b4 | ||
|
|
d0f708df8b | ||
|
|
df6a133a14 | ||
|
|
000c787edd | ||
|
|
9555f7ef62 | ||
|
|
384daea694 | ||
|
|
cbb0343d20 | ||
|
|
56237de5ef | ||
|
|
3bab66e90d | ||
|
|
e528cfb0a7 | ||
|
|
5216e732cd | ||
|
|
ff1fcf5632 | ||
|
|
2ab821a786 | ||
|
|
37107d416a | ||
|
|
2bc330845e | ||
|
|
ddb8089a96 | ||
|
|
302803cc47 | ||
|
|
8baef8c231 | ||
|
|
4219f9e13c | ||
|
|
fb4b91a169 | ||
|
|
468871e561 | ||
|
|
9eaa276457 | ||
|
|
23d6043df0 | ||
|
|
d027115712 | ||
|
|
dc9a1fcea0 | ||
|
|
a5fd439a48 | ||
|
|
a5808ff60b | ||
|
|
4aea37cb98 | ||
|
|
c53c0e344e | ||
|
|
4dc9b00fb0 | ||
|
|
3213bcb570 | ||
|
|
0e75df7921 | ||
|
|
0f304fc14e | ||
|
|
c897044aeb | ||
|
|
c693018ebf | ||
|
|
d965e2ac7b | ||
|
|
719bae4246 | ||
|
|
61fd41333c | ||
|
|
6e3ad9bca3 | ||
|
|
e8894a787d | ||
|
|
e8f1b81285 | ||
|
|
c8588b596c | ||
|
|
6e985c3d67 | ||
|
|
141e23b302 | ||
|
|
58dbffba9e | ||
|
|
0018d29734 | ||
|
|
25b887f34f | ||
|
|
7529927844 | ||
|
|
9ff15f7896 | ||
|
|
834de5f4fa | ||
|
|
df450bf30c | ||
|
|
29a6a7351d | ||
|
|
97321a8c3e | ||
|
|
9ab14ce717 | ||
|
|
9713086027 | ||
|
|
2afc0d783f | ||
|
|
4a8199b992 | ||
|
|
76470b1dad | ||
|
|
9f37e55980 | ||
|
|
2d5eee1560 | ||
|
|
b3e5f01042 | ||
|
|
ec34878cf8 | ||
|
|
723d5f0d6f | ||
|
|
de99717c68 | ||
|
|
0e1e0dbbda | ||
|
|
23085db3fb | ||
|
|
055bf79abb | ||
|
|
66c57bd6c9 | ||
|
|
aeaf329162 | ||
|
|
2d73b5830a | ||
|
|
9c5eddffaa | ||
|
|
528e7e5ace | ||
|
|
67549541ed | ||
|
|
c4013438d8 | ||
|
|
e7e55d54cc | ||
|
|
34fa6db522 | ||
|
|
521e956df4 | ||
|
|
3a64aa1883 | ||
|
|
babe06665e | ||
|
|
ba3097e1af | ||
|
|
20d163ee44 | ||
|
|
5194e0f35a | ||
|
|
161ac1b4ee | ||
|
|
7a46d099bb | ||
|
|
55ed3d4b2d | ||
|
|
47a73d027c | ||
|
|
a4b1eddf94 | ||
|
|
f4783ec733 | ||
|
|
cae5701a22 | ||
|
|
59e6206f58 | ||
|
|
094a90562c | ||
|
|
3af4354151 | ||
|
|
c75632b05e | ||
|
|
7828ae4f48 | ||
|
|
810ea3eefe | ||
|
|
b83ed148ce | ||
|
|
16e38f9daf | ||
|
|
84447a0e7e | ||
|
|
dc41c7de51 | ||
|
|
76229701ca | ||
|
|
1c0e3c9b0d | ||
|
|
5b6d5b9da1 | ||
|
|
f365339980 | ||
|
|
204c646cc6 | ||
|
|
e2b0922d69 | ||
|
|
11c285872e | ||
|
|
00674806d5 | ||
|
|
b115bf1548 | ||
|
|
58a3d74eec | ||
|
|
e2b5c430e6 | ||
|
|
cdf8eb8a57 | ||
|
|
ab6587ac05 | ||
|
|
a73e79a73f | ||
|
|
b10d00d30e | ||
|
|
61ad7cea8b | ||
|
|
c01912967a | ||
|
|
83d866af09 | ||
|
|
c5fc8be5e7 | ||
|
|
f61dc0c13e | ||
|
|
481b407b6b | ||
|
|
f2c4d417cd | ||
|
|
c1290520ed | ||
|
|
17b9545a20 | ||
|
|
1469fdad98 | ||
|
|
c93edf5b4e | ||
|
|
554580ae34 | ||
|
|
1d9c78a0b3 | ||
|
|
d181d02f32 | ||
|
|
63362ec932 | ||
|
|
f47934f327 | ||
|
|
49055f433d | ||
|
|
def9e161c5 | ||
|
|
faf34f006b | ||
|
|
ca1f302ec6 | ||
|
|
88ab0c5ad0 | ||
|
|
aa952daa87 | ||
|
|
692b1363d6 | ||
|
|
56d867fe25 | ||
|
|
488f0d04ea | ||
|
|
4eb31d281f | ||
|
|
7c7272654a | ||
|
|
4d66a92623 | ||
|
|
9335f08cd3 | ||
|
|
e251d84a42 | ||
|
|
66dd52354a | ||
|
|
484aac7df2 | ||
|
|
9e5ca480d2 | ||
|
|
5d712c242a | ||
|
|
52f11d4351 | ||
|
|
89eae213a7 | ||
|
|
6a86fd7def | ||
|
|
1684d06eb1 | ||
|
|
5795f7202a | ||
|
|
d40c922086 | ||
|
|
99888eb5e2 | ||
|
|
0b8d7ffa32 | ||
|
|
2b48f5c535 | ||
|
|
863a369302 | ||
|
|
ff6050e6c7 | ||
|
|
1dfb077e15 | ||
|
|
9b7b35bf56 | ||
|
|
813e5ba567 | ||
|
|
47ac70fb27 | ||
|
|
7c640ba198 | ||
|
|
5a5fd2d14e | ||
|
|
6f76bdaf4e | ||
|
|
09b0af1cdd | ||
|
|
748e04ed20 | ||
|
|
332d300fd8 | ||
|
|
1177443baf | ||
|
|
c8a2c6d8db | ||
|
|
cc7df28a64 | ||
|
|
8d08098c2e | ||
|
|
8e6fd84fe1 | ||
|
|
cefdde835a | ||
|
|
ac49262510 | ||
|
|
1e8f4746da | ||
|
|
736537517f | ||
|
|
d4b1021b45 | ||
|
|
879c3642ce | ||
|
|
0b1dd1815c | ||
|
|
19dff4d9df | ||
|
|
594579f370 | ||
|
|
fc86a15517 | ||
|
|
0ca157ac0a | ||
|
|
95b8c4cc8c | ||
|
|
3612c5bf09 | ||
|
|
451547b0d4 | ||
|
|
4aa306c740 | ||
|
|
454c49626d | ||
|
|
abcc92edce | ||
|
|
34427fb28b | ||
|
|
477ef8e5c6 | ||
|
|
e0ef86c777 | ||
|
|
15fb8f2178 | ||
|
|
32bc8218a6 | ||
|
|
9c206d0175 | ||
|
|
bd5bf38593 | ||
|
|
f029ab11c4 | ||
|
|
756dff9912 | ||
|
|
fc536db511 | ||
|
|
5c391f0e05 | ||
|
|
a322285cfb | ||
|
|
322f86ff69 | ||
|
|
b513a20d22 | ||
|
|
1ebec53080 | ||
|
|
a0c35c73a6 | ||
|
|
49714857c6 | ||
|
|
e8e47f9f5d | ||
|
|
9cb56ff599 | ||
|
|
9b1771a428 | ||
|
|
c20fba9908 | ||
|
|
5a86eede01 | ||
|
|
8f1b441dfc | ||
|
|
885fb7f49f | ||
|
|
33db940373 | ||
|
|
d19cc80175 | ||
|
|
56b773cf8a | ||
|
|
e4c7d24229 | ||
|
|
eb62028fa0 | ||
|
|
b9d3931dd5 | ||
|
|
7c55b4fce9 | ||
|
|
e6856186cb | ||
|
|
62ffa66cc8 | ||
|
|
12f6e7c2d1 | ||
|
|
eec8d3c92f | ||
|
|
c71d75d48d | ||
|
|
bf6c48acda | ||
|
|
7df7e12d96 | ||
|
|
b169370888 | ||
|
|
6b74df6f2c | ||
|
|
94bab3bb81 | ||
|
|
3777676009 | ||
|
|
4b3d168dbf | ||
|
|
abb682b95a | ||
|
|
fbf5e9f23b | ||
|
|
cd6f7087cf | ||
|
|
5e44aa9b04 | ||
|
|
835ecdbcaf | ||
|
|
5bc21fccae | ||
|
|
4c65fbfb6b | ||
|
|
ff5470d6d8 | ||
|
|
e9db9581c6 | ||
|
|
19a6e2a08a | ||
|
|
deb0c7d5e2 | ||
|
|
dea159a596 | ||
|
|
1ee5216a69 | ||
|
|
1aca28571b | ||
|
|
86ea59c378 | ||
|
|
5e8ab3ae8b | ||
|
|
838ac68460 | ||
|
|
437aee59ff | ||
|
|
896a8090c1 | ||
|
|
40bb8a22af | ||
|
|
809a289c25 | ||
|
|
dfb816077a | ||
|
|
9cab6163f1 | ||
|
|
24f1135961 | ||
|
|
ed87b1d3f1 | ||
|
|
89e66f4606 | ||
|
|
7d1fb049d5 | ||
|
|
bb6c41e221 | ||
|
|
7553fdae73 | ||
|
|
eb14fbdc83 | ||
|
|
b7f8bf1ee2 | ||
|
|
00f2587858 | ||
|
|
ad9c7c9d43 | ||
|
|
f86ebbf8a8 | ||
|
|
01d98b3a42 | ||
|
|
577c460017 | ||
|
|
0b56b29317 | ||
|
|
09267e3b5d | ||
|
|
d8ac1f21af | ||
|
|
11407a68a7 | ||
|
|
f2378ad85e | ||
|
|
96defadfd0 | ||
|
|
49e7d58ecf | ||
|
|
e9708b8c33 | ||
|
|
15cc3d3f1e | ||
|
|
288e5216bc | ||
|
|
5a4e9bac66 | ||
|
|
6246fc4911 | ||
|
|
d9d363d549 | ||
|
|
15b33de5b6 | ||
|
|
152cf012b8 | ||
|
|
a3dd3f97f8 | ||
|
|
2ccb87d387 |
72
.github/CODEOWNERS
vendored
72
.github/CODEOWNERS
vendored
@@ -27,12 +27,12 @@ config/boards/ayn-odin2.csc @FantasyGmm
|
||||
config/boards/bananapi.conf @DylanHP @janprunk
|
||||
config/boards/bananapicm4io.conf @pyavitz
|
||||
config/boards/bananapif3.conf @pyavitz
|
||||
config/boards/bananapim2plus.csc @leggewie
|
||||
config/boards/bananapim2plus.conf @leggewie
|
||||
config/boards/bananapim2pro.conf @igorpecovnik
|
||||
config/boards/bananapim2s.conf @jeanrhum @pyavitz
|
||||
config/boards/bananapim2zero.csc @mhawkins-consultant
|
||||
config/boards/bananapim3.csc @AaronNGray
|
||||
config/boards/bananapim4berry.wip @The-going
|
||||
config/boards/bananapim4berry.conf @The-going
|
||||
config/boards/bananapim4zero.conf @pyavitz
|
||||
config/boards/bananapim5.conf @igorpecovnik
|
||||
config/boards/bananapim64.csc @devdotnetorg
|
||||
@@ -51,10 +51,11 @@ config/boards/firefly-itx-3588j.csc @SeeleVolleri
|
||||
config/boards/fxblox-rk1.csc @mahdichi
|
||||
config/boards/gateway-gz80x.conf @pyavitz
|
||||
config/boards/h96-tvbox-3566.tvb @hqnicolas
|
||||
config/boards/helios4.csc @Heisath
|
||||
config/boards/helios4.conf @Heisath
|
||||
config/boards/helios64.conf @prahal
|
||||
config/boards/hinlink-h28k.csc @sputnik2019
|
||||
config/boards/hinlink-ht2.csc @hoochiwetech
|
||||
config/boards/imb3588.conf @JackHuang021
|
||||
config/boards/indiedroid-nova.csc @lanefu
|
||||
config/boards/inovato-quadra.conf @NicoD-SBC
|
||||
config/boards/jethubj100.conf @adeepn
|
||||
@@ -77,16 +78,16 @@ config/boards/lubancat2.csc @andyshrk
|
||||
config/boards/mangopi-m28k.csc @sputnik2019
|
||||
config/boards/mba8mpxl-ras314.conf @schmiedelm
|
||||
config/boards/mba8mpxl.conf @schmiedelm
|
||||
config/boards/mekotronics-r58-minipc.csc @monkaBlyat
|
||||
config/boards/mekotronics-r58-minipc.conf @monkaBlyat
|
||||
config/boards/mekotronics-r58x-4g.csc @monkaBlyat
|
||||
config/boards/mekotronics-r58x.csc @monkaBlyat
|
||||
config/boards/mekotronics-r58x.conf @monkaBlyat
|
||||
config/boards/mixtile-blade3.csc @rpardini
|
||||
config/boards/mksklipad50.conf @torte71
|
||||
config/boards/mkspi.csc @redrathnure
|
||||
config/boards/nanopct6-lts.conf @SuperKali @Tonymac32
|
||||
config/boards/nanopct6.conf @SuperKali @Tonymac32
|
||||
config/boards/nanopi-m6.conf @efectn
|
||||
config/boards/nanopi-r4s.conf @Manouchehri
|
||||
config/boards/nanopi-r3s-lts.conf @pyavitz
|
||||
config/boards/nanopi-r5s.csc @utlark
|
||||
config/boards/nanopi-r6c.csc @ColorfulRhino
|
||||
config/boards/nanopi-r6s.conf @efectn
|
||||
@@ -122,14 +123,16 @@ config/boards/orangepizeroplus.csc @schwar3kat
|
||||
config/boards/phytiumpi.conf @chainsx
|
||||
config/boards/pine64.conf @PanderMusubi
|
||||
config/boards/pinebook-pro.csc @TRSx80 @ahoneybun
|
||||
config/boards/pocketbeagle2.csc @Grippy98
|
||||
config/boards/pocketbeagle2.conf @Grippy98
|
||||
config/boards/pocketchip-sd.csc @TheSnowfield
|
||||
config/boards/qcom-robotics-rb5.conf @FantasyGmm
|
||||
config/boards/qemu-uboot-arm64.csc @rpardini
|
||||
config/boards/qemu-uboot-x86.csc @rpardini
|
||||
config/boards/qemu-uefi-x86.conf @davidandreoletti
|
||||
config/boards/radxa-e20c.csc @mattx433
|
||||
config/boards/radxa-e25.csc @krachlatte
|
||||
config/boards/radxa-e52c.conf @amazingfate
|
||||
config/boards/radxa-nio-12l.conf @HeyMeco
|
||||
config/boards/radxa-zero.conf @clee @engineer-80
|
||||
config/boards/radxa-zero2.csc @monkaBlyat
|
||||
config/boards/recore.csc @eliasbakken
|
||||
@@ -168,6 +171,7 @@ config/boards/tritium-h3.conf @Tonymac32
|
||||
config/boards/tritium-h5.conf @Tonymac32
|
||||
config/boards/uefi-arm64.conf @rpardini
|
||||
config/boards/uefi-x86.conf @rpardini
|
||||
config/boards/visionfive2.csc @libiunc
|
||||
config/boards/wsl2-arm64.csc @rpardini
|
||||
config/boards/wsl2-x86.csc @rpardini
|
||||
config/boards/x96-mate.tvb @Ressetkk
|
||||
@@ -177,6 +181,7 @@ config/boards/youyeetoo-r1-v3.csc @SuperKali
|
||||
config/boards/yy3568.csc @hqnicolas
|
||||
config/kernel/linux-arm64-*.config @PeterChrz @rpardini
|
||||
config/kernel/linux-bcm2711-*.config @PanderMusubi @teknoid
|
||||
config/kernel/linux-genio-*.config @HeyMeco
|
||||
config/kernel/linux-k3-*.config @Grippy98 @glneo
|
||||
config/kernel/linux-k3-beagle-*.config @Grippy98
|
||||
config/kernel/linux-meson-*.config @hzyitc @juanlufont
|
||||
@@ -185,12 +190,13 @@ config/kernel/linux-meson64-*.config @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @
|
||||
config/kernel/linux-mvebu-*.config @Heisath
|
||||
config/kernel/linux-odroidxu4-*.config @joekhoobyar
|
||||
config/kernel/linux-phytium-embedded-*.config @chainsx
|
||||
config/kernel/linux-rk35xx-*.config @CodeChenL @ColorfulRhino @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @lanefu @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @vamzii
|
||||
config/kernel/linux-rk35xx-*.config @CodeChenL @ColorfulRhino @HeyMeco @JackHuang021 @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @andyshrk @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @lanefu @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @vamzii
|
||||
config/kernel/linux-rockchip-*.config @paolosabatino
|
||||
config/kernel/linux-rockchip64-*.config @150balbes @ColorfulRhino @HeyMeco @JohnTheCoolingFan @Manouchehri @SuperKali @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @alexl83 @amazingfate @andyshrk @brentr @catalinii @clee @efectn @fridtjof @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @lanefu @linhz0hz @mlegenovic @paolosabatino @prahal @redrathnure @rpardini @schwar3kat @sicXnull @tdleiyao @torte71 @utlark @vamzii
|
||||
config/kernel/linux-sm8250-*.config @amazingfate
|
||||
config/kernel/linux-rockchip64-*.config @150balbes @ColorfulRhino @HeyMeco @JohnTheCoolingFan @SuperKali @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @alexl83 @amazingfate @andyshrk @brentr @catalinii @clee @efectn @fridtjof @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @lanefu @linhz0hz @mlegenovic @paolosabatino @prahal @pyavitz @redrathnure @rpardini @schwar3kat @sicXnull @tdleiyao @torte71 @utlark @vamzii
|
||||
config/kernel/linux-sm8250-*.config @FantasyGmm @amazingfate
|
||||
config/kernel/linux-sm8550-*.config @FantasyGmm
|
||||
config/kernel/linux-spacemit-*.config @pyavitz
|
||||
config/kernel/linux-starfive2-*.config @libiunc
|
||||
config/kernel/linux-sun55iw3-syterkit-*.config @chainsx
|
||||
config/kernel/linux-sunxi-*.config @1ubuntuuser @AaronNGray @DylanHP @Janmcha @StephenGraf @TheSnowfield @Tonymac32 @janprunk @lbmendes @leggewie @mhawkins-consultant @sgjava @spendist
|
||||
config/kernel/linux-sunxi64-*.config @AGM1968 @IsMrX @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @The-going @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @krachlatte @pyavitz @schwar3kat @sicXnull @spendist @teknoid
|
||||
@@ -202,12 +208,13 @@ config/kernel/linux-wsl2-arm64-*.config @rpardini
|
||||
config/kernel/linux-wsl2-x86-*.config @rpardini
|
||||
patch/atf/atf-arm64/ @PeterChrz @rpardini
|
||||
patch/atf/atf-bcm2711/ @PanderMusubi @teknoid
|
||||
patch/atf/atf-imx8m/ @schmiedelm
|
||||
patch/atf/atf-genio/ @HeyMeco
|
||||
patch/atf/atf-imx8/ @schmiedelm
|
||||
patch/atf/atf-k3-beagle/ @Grippy98
|
||||
patch/atf/atf-k3/ @Grippy98 @glneo
|
||||
patch/atf/atf-phytium-embedded/ @chainsx
|
||||
patch/atf/atf-rockchip64/ @ColorfulRhino @TRSx80 @ahoneybun @andyshrk @clee @joekhoobyar @paolosabatino @prahal
|
||||
patch/atf/atf-sm8250/ @amazingfate
|
||||
patch/atf/atf-rockchip64/ @ColorfulRhino @SuperKali @TRSx80 @Tonymac32 @ahoneybun @andyshrk @clee @joekhoobyar @paolosabatino @prahal
|
||||
patch/atf/atf-sm8250/ @FantasyGmm @amazingfate
|
||||
patch/atf/atf-sm8550/ @FantasyGmm
|
||||
patch/atf/atf-spacemit/ @pyavitz
|
||||
patch/atf/atf-sun55iw3-syterkit/ @chainsx
|
||||
@@ -223,8 +230,8 @@ patch/kernel/archive/meson64-*/ @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @clee
|
||||
patch/kernel/archive/mvebu-*/ @Heisath
|
||||
patch/kernel/archive/odroidxu4-*/ @joekhoobyar
|
||||
patch/kernel/archive/rockchip-*/ @paolosabatino
|
||||
patch/kernel/archive/rockchip64-*/ @150balbes @ColorfulRhino @HeyMeco @JohnTheCoolingFan @Manouchehri @SuperKali @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @alexl83 @amazingfate @andyshrk @brentr @catalinii @clee @efectn @fridtjof @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @lanefu @linhz0hz @mlegenovic @paolosabatino @prahal @redrathnure @rpardini @schwar3kat @sicXnull @tdleiyao @torte71 @utlark @vamzii
|
||||
patch/kernel/archive/sm8250-*/ @amazingfate
|
||||
patch/kernel/archive/rockchip64-*/ @150balbes @ColorfulRhino @HeyMeco @JohnTheCoolingFan @SuperKali @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @alexl83 @amazingfate @andyshrk @brentr @catalinii @clee @efectn @fridtjof @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @lanefu @linhz0hz @mlegenovic @paolosabatino @prahal @pyavitz @redrathnure @rpardini @schwar3kat @sicXnull @tdleiyao @torte71 @utlark @vamzii
|
||||
patch/kernel/archive/sm8250-*/ @FantasyGmm @amazingfate
|
||||
patch/kernel/archive/sm8550-*/ @FantasyGmm
|
||||
patch/kernel/archive/spacemit-*/ @pyavitz
|
||||
patch/kernel/archive/sunxi-*/ @1ubuntuuser @AGM1968 @AaronNGray @DylanHP @IsMrX @Janmcha @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @StephenGraf @The-going @TheSnowfield @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @janprunk @krachlatte @lbmendes @leggewie @mhawkins-consultant @pyavitz @schwar3kat @sgjava @sicXnull @spendist @teknoid
|
||||
@@ -232,8 +239,10 @@ patch/kernel/archive/uefi-arm64-*/ @PeterChrz @rpardini
|
||||
patch/kernel/archive/uefi-x86-*/ @davidandreoletti @rpardini
|
||||
patch/kernel/archive/wsl2-arm64-*/ @rpardini
|
||||
patch/kernel/archive/wsl2-x86-*/ @rpardini
|
||||
patch/kernel/genio-1200-*/ @HeyMeco
|
||||
patch/kernel/phytium-embedded-*/ @chainsx
|
||||
patch/kernel/rk35xx-vendor-*/ @CodeChenL @ColorfulRhino @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @lanefu @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @vamzii
|
||||
patch/kernel/rk35xx-vendor-*/ @CodeChenL @ColorfulRhino @HeyMeco @JackHuang021 @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @andyshrk @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @lanefu @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @vamzii
|
||||
patch/kernel/starfive2-*/ @libiunc
|
||||
patch/kernel/sun55iw3-syterkit-*/ @chainsx
|
||||
patch/kernel/thead-*/ @chainsx
|
||||
patch/kernel/wsl2-arm64-*/ @rpardini
|
||||
@@ -241,7 +250,7 @@ patch/u-boot/legacy/ @chainsx @joekhoobyar @juanlufont @lanefu
|
||||
patch/u-boot/legacy/u-boot-clearfog/ @Heisath
|
||||
patch/u-boot/legacy/u-boot-helios4/ @Heisath
|
||||
patch/u-boot/legacy/u-boot-khadas-edge2-rk3588/ @efectn
|
||||
patch/u-boot/legacy/u-boot-radxa-rk35xx/ @CodeChenL @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @tdleiyao @vamzii
|
||||
patch/u-boot/legacy/u-boot-radxa-rk35xx/ @CodeChenL @HeyMeco @JackHuang021 @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @tdleiyao @vamzii
|
||||
patch/u-boot/legacy/u-boot-spacemit-k1/ @pyavitz
|
||||
patch/u-boot/u-boot-beagle/ @Grippy98
|
||||
patch/u-boot/u-boot-k3-beagle/ @Grippy98
|
||||
@@ -249,8 +258,8 @@ patch/u-boot/u-boot-k3/ @Grippy98 @glneo
|
||||
patch/u-boot/u-boot-meson-s4t7/ @adeepn @rpardini @viraniac
|
||||
patch/u-boot/u-boot-qemu-arm64/ @rpardini
|
||||
patch/u-boot/u-boot-qemu-x86/ @rpardini
|
||||
patch/u-boot/u-boot-rockchip64-v2022.04/ @Manouchehri @TRSx80 @TheSnowfield @ahoneybun @paolosabatino
|
||||
patch/u-boot/u-boot-rockchip64/ @Tonymac32 @andyshrk @clee @igorpecovnik @paolosabatino @prahal @redrathnure @sicXnull
|
||||
patch/u-boot/u-boot-rockchip64-v2022.04/ @TRSx80 @ahoneybun @paolosabatino
|
||||
patch/u-boot/u-boot-rockchip64/ @Tonymac32 @andyshrk @clee @igorpecovnik @prahal @redrathnure @sicXnull
|
||||
patch/u-boot/u-boot-sunxi-crust/ @AGM1968 @Kreyren @NicoD-SBC @PanderMusubi @Tonymac32 @devdotnetorg @schwar3kat @spendist @teknoid
|
||||
patch/u-boot/u-boot-sunxi/ @1ubuntuuser @AGM1968 @DylanHP @Janmcha @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @StephenGraf @TheSnowfield @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @janprunk @krachlatte @lbmendes @leggewie @mhawkins-consultant @schwar3kat @sgjava @sicXnull @spendist @teknoid
|
||||
patch/u-boot/u-boot-sunxi/board_bananapim3/ @AaronNGray
|
||||
@@ -260,22 +269,22 @@ patch/u-boot/v2022.07/ @Tonymac32 @igorpecovnik
|
||||
patch/u-boot/v2022.10/ @NicoD-SBC
|
||||
patch/u-boot/v2023.07.02/ @clee @engineer-80
|
||||
patch/u-boot/v2023.10/ @adeepn
|
||||
patch/u-boot/v2024.01/ @IsMrX @NicoD-SBC @Tonymac32 @rpardini
|
||||
patch/u-boot/v2024.01/ @Tonymac32 @rpardini
|
||||
patch/u-boot/v2024.01/board_orangepi5/ @efectn
|
||||
patch/u-boot/v2024.04-rock5b-radxa/ @amazingfate @linhz0hz
|
||||
patch/u-boot/v2024.04/ @Tonymac32 @chraac @igorpecovnik @pyavitz @utlark
|
||||
patch/u-boot/v2024.04/ @Tonymac32 @chraac @pyavitz @utlark
|
||||
patch/u-boot/v2024.07-coolpi-cm5/ @andyshrk
|
||||
patch/u-boot/v2024.07/ @adeepn @andyshrk @igorpecovnik @monkaBlyat @paolosabatino
|
||||
patch/u-boot/v2024.07/ @adeepn @igorpecovnik @monkaBlyat
|
||||
patch/u-boot/v2024.07/board_station-m1/ @150balbes
|
||||
patch/u-boot/v2024.10/ @HeyMeco @alexl83 @brentr @fridtjof @paolosabatino
|
||||
patch/u-boot/v2024.10/ @HeyMeco @alexl83 @brentr @fridtjof @pyavitz
|
||||
patch/u-boot/v2024.10/board_bigtreetech-cb2/ @JohnTheCoolingFan
|
||||
patch/u-boot/v2025-sunxi/ @The-going
|
||||
patch/u-boot/v2025.01-rc3-coolpi-cm5/ @andyshrk
|
||||
patch/u-boot/v2025.01/ @ColorfulRhino @SuperKali @ZazaBR @amazingfate @catalinii @efectn @jeanrhum @joekhoobyar @paolosabatino @pyavitz @rpardini @torte71 @vamzii
|
||||
patch/u-boot/v2025.01/board_bananapim4berry/ @The-going
|
||||
patch/u-boot/v2025.01/ @ColorfulRhino @efectn @jeanrhum @joekhoobyar @paolosabatino @pyavitz @rpardini @torte71
|
||||
patch/u-boot/v2025.01/board_h96-tvbox-3566/ @hqnicolas
|
||||
patch/u-boot/v2025.04-rc2/ @mlegenovic
|
||||
patch/u-boot/v2025.04/ @SuperKali @Tonymac32
|
||||
patch/u-boot/v2025.04/ @IsMrX @NicoD-SBC @SuperKali @TheSnowfield @Tonymac32 @ZazaBR @amazingfate @andyshrk @catalinii @igorpecovnik @mlegenovic @pyavitz @rpardini @vamzii
|
||||
sources/families/bcm2711.conf @PanderMusubi @teknoid
|
||||
sources/families/genio.conf @HeyMeco
|
||||
sources/families/imx8m.conf @schmiedelm
|
||||
sources/families/jethub.conf @adeepn
|
||||
sources/families/k3.conf @Grippy98 @glneo
|
||||
@@ -290,13 +299,14 @@ sources/families/meson8b.conf @hzyitc @juanlufont
|
||||
sources/families/mvebu.conf @Heisath
|
||||
sources/families/odroidxu4.conf @joekhoobyar
|
||||
sources/families/phytium-embedded.conf @chainsx
|
||||
sources/families/rk35xx.conf @CodeChenL @ZazaBR @amazingfate @andyshrk @catalinii @hoochiwetech @hqnicolas @krachlatte @mattx433 @sputnik2019 @tdleiyao @vamzii
|
||||
sources/families/rockchip-rk3588.conf @ColorfulRhino @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @alexl83 @amazingfate @andyshrk @chainsx @efectn @fridtjof @ginkage @lanefu @linhz0hz @mahdichi @monkaBlyat @prahal @rpardini @schwar3kat
|
||||
sources/families/rk35xx.conf @CodeChenL @ZazaBR @amazingfate @andyshrk @catalinii @hoochiwetech @hqnicolas @krachlatte @mattx433 @pyavitz @sputnik2019 @tdleiyao @vamzii
|
||||
sources/families/rockchip-rk3588.conf @ColorfulRhino @HeyMeco @JackHuang021 @SeeleVolleri @SuperKali @Tonymac32 @alexl83 @amazingfate @andyshrk @chainsx @efectn @fridtjof @ginkage @lanefu @linhz0hz @mahdichi @monkaBlyat @prahal @rpardini @schwar3kat
|
||||
sources/families/rockchip.conf @paolosabatino
|
||||
sources/families/rockchip64.conf @150balbes @JohnTheCoolingFan @Manouchehri @TRSx80 @TheSnowfield @Tonymac32 @ahoneybun @andyshrk @brentr @clee @hqnicolas @igorpecovnik @joekhoobyar @mlegenovic @paolosabatino @prahal @redrathnure @rpardini @sicXnull @torte71 @utlark
|
||||
sources/families/sm8250.conf @amazingfate
|
||||
sources/families/rockchip64.conf @150balbes @JohnTheCoolingFan @TRSx80 @TheSnowfield @Tonymac32 @ahoneybun @andyshrk @brentr @clee @hqnicolas @igorpecovnik @joekhoobyar @mlegenovic @paolosabatino @prahal @redrathnure @rpardini @sicXnull @torte71 @utlark
|
||||
sources/families/sm8250.conf @FantasyGmm @amazingfate
|
||||
sources/families/sm8550.conf @FantasyGmm
|
||||
sources/families/spacemit.conf @pyavitz
|
||||
sources/families/starfive2.conf @libiunc
|
||||
sources/families/sun50iw1.conf @Kreyren @PanderMusubi @devdotnetorg @eliasbakken
|
||||
sources/families/sun50iw2.conf @AGM1968 @Tonymac32 @schwar3kat @spendist @teknoid
|
||||
sources/families/sun50iw6.conf @NicoD-SBC
|
||||
|
||||
2
.github/ISSUE_TEMPLATE/config.yml
vendored
2
.github/ISSUE_TEMPLATE/config.yml
vendored
@@ -16,7 +16,7 @@ contact_links:
|
||||
url: https://bugzilla.kernel.org/
|
||||
about: If you are using upstream Linux kernel
|
||||
- name: Issue with armbian-config
|
||||
url: https://github.com/armbian/config/issues/new
|
||||
url: https://github.com/armbian/configng/issues/new
|
||||
about: Utility for configuring your board, adjusting services and installing applications.
|
||||
- name: Issue with infrastructure
|
||||
url: https://github.com/armbian/mirror/issues/new
|
||||
|
||||
11
.github/workflows/adjust-maintainers.yml
vendored
11
.github/workflows/adjust-maintainers.yml
vendored
@@ -6,8 +6,6 @@ name: "Sync maintainers status"
|
||||
# spdx-id: GPL-2.0-or-later
|
||||
# copyright-owner: @igorpecovnik
|
||||
|
||||
# Dependencies: lftp, jq
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 * * * *"
|
||||
@@ -36,16 +34,11 @@ jobs:
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS_ARMBIAN_UPLOAD }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: "Install dependencies"
|
||||
run: |
|
||||
|
||||
sudo apt-get -y -qq install jq
|
||||
|
||||
- name: "Download JSON file"
|
||||
run: |
|
||||
|
||||
# download json that is prepared for this action in another cron job
|
||||
rsync -e "ssh -p ${{ secrets.HOST_UPLOAD_PORT }}" -arvc ${{ secrets.HOST_UPLOAD_USER }}@${{ secrets.HOST_UPLOAD }}:/incoming/json/armbian_maintainers.json /tmp/
|
||||
# download json that is prepared in https://github.com/armbian/armbian.github.io
|
||||
curl -o /tmp/armbian_maintainers.json https://github.armbian.com/maintainers.json
|
||||
|
||||
- name: "Update maintainers"
|
||||
run: |
|
||||
|
||||
11
.github/workflows/issue-welcome-first-time.yml
vendored
11
.github/workflows/issue-welcome-first-time.yml
vendored
@@ -15,10 +15,13 @@ jobs:
|
||||
with:
|
||||
labels: "Good first issue"
|
||||
issue-opened-msg: |
|
||||
### Hey @{fc-author} !
|
||||
### Hey @{fc-author}! 👋
|
||||
|
||||
Looks like it's your first time interacting with Armbian here on GitHub.
|
||||
Thanks for opening your first issue with the Armbian project — we’re glad to have you here! 🧡
|
||||
Your input doesn’t just help us improve the project — it benefits everyone who uses Armbian.
|
||||
|
||||
Welcome and thank you for taking the time to report an issue :heart:.
|
||||
If you'd like to stay informed about project updates or collaborate more closely with the team,
|
||||
you can optionally share some personal contact preferences at [armbian.com/update-data](https://www.armbian.com/update-data/).
|
||||
This helps us keep in touch without relying solely on GitHub notifications.
|
||||
|
||||
Don't forget to star :star: the repo.
|
||||
Also, don’t forget to ⭐ star the repo to support the work — and welcome aboard! 🚀
|
||||
|
||||
95
.github/workflows/pr-auto-labeler.yml
vendored
95
.github/workflows/pr-auto-labeler.yml
vendored
@@ -1,54 +1,69 @@
|
||||
name: Automatic Pull Request Labeling
|
||||
|
||||
# Sets labels automatically based on:
|
||||
# - PR size (job: label-size)
|
||||
# - File categories using .github/labeler config (job: label-category)
|
||||
# - PR creation date for quarterly tracking (job: label-by-date)
|
||||
# - Removes "Ready to merge" label on PR update (job: label-remove)
|
||||
|
||||
run-name: 'Set labels - PR #${{ github.event.pull_request.number }} ("${{ github.event.pull_request.title }}")'
|
||||
#
|
||||
# Set labels for pull requests automatically based on size (modified via job 'label-size') and file categories (modified via .github/labeler)
|
||||
#
|
||||
|
||||
on: pull_request_target
|
||||
|
||||
# Grant required permissions globally
|
||||
permissions:
|
||||
contents: read # Required for checking changed files
|
||||
pull-requests: write # Required for labeling PRs
|
||||
issues: write # Required for adding/removing labels
|
||||
|
||||
jobs:
|
||||
label-remove:
|
||||
permissions:
|
||||
contents: read # for pascalgn/size-label-action to determine modified files
|
||||
pull-requests: write # for pascalgn/size-label-action to add labels to PRs
|
||||
name: "Remove Ready to merge"
|
||||
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize' }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: PauMAVA/add-remove-label-action@v1.0.3
|
||||
- name: Checkout the pull request
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Check for label using GH CLI
|
||||
id: check
|
||||
run: |
|
||||
gh pr view ${{ github.event.pull_request.number }} --json labels -q '.labels[].name' | grep -q 'Ready to merge' && echo "has_label=true" >> $GITHUB_OUTPUT || echo "has_label=false" >> $GITHUB_OUTPUT
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Remove "Ready to merge" label
|
||||
if: steps.check.outputs.has_label == 'true'
|
||||
uses: PauMAVA/add-remove-label-action@v1.0.3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
add: ""
|
||||
remove: "Ready to merge"
|
||||
|
||||
label-category:
|
||||
permissions:
|
||||
contents: read # for actions/labeler to determine modified files
|
||||
pull-requests: write # for actions/labeler to add labels to PRs
|
||||
|
||||
name: "Category labels"
|
||||
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize' }}
|
||||
name: "Category Labels"
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize' }}
|
||||
|
||||
steps:
|
||||
# Checks out the repository to read files for matching with labeler config
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
# Applies labels based on the .github/labeler.yml config
|
||||
- uses: actions/labeler@v5
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
||||
label-size:
|
||||
permissions:
|
||||
contents: read # for pascalgn/size-label-action to determine modified files
|
||||
pull-requests: write # for pascalgn/size-label-action to add labels to PRs
|
||||
|
||||
name: "Size label"
|
||||
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize' }}
|
||||
name: "Size Label"
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize' }}
|
||||
|
||||
steps:
|
||||
- name: size-label
|
||||
uses: "pascalgn/size-label-action@v0.5.5"
|
||||
# Automatically adds size labels based on total changed lines
|
||||
- name: Label by size
|
||||
uses: pascalgn/size-label-action@v0.5.5
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
with:
|
||||
@@ -58,3 +73,41 @@ jobs:
|
||||
"50": "medium",
|
||||
"250": "large"
|
||||
}
|
||||
|
||||
label-by-date:
|
||||
name: "Date label (Quarters)"
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize' }}
|
||||
|
||||
steps:
|
||||
# Determines the label (02, 05, 08, 11) based on PR creation month
|
||||
- name: Determine quarter label
|
||||
env:
|
||||
PR_CREATED_AT: ${{ github.event.pull_request.created_at }}
|
||||
run: |
|
||||
echo "PR created at: $PR_CREATED_AT"
|
||||
|
||||
# Extract the numeric month (e.g., 04 for April)
|
||||
MONTH=$(date -d "$PR_CREATED_AT" +%m | sed 's/^0*//')
|
||||
echo "Month extracted: $MONTH"
|
||||
|
||||
# Determine quarter-end label based on month
|
||||
if [ "$MONTH" -le 2 ] || [ "$MONTH" -eq 12 ]; then
|
||||
LABEL="02"
|
||||
elif [ "$MONTH" -le 5 ]; then
|
||||
LABEL="05"
|
||||
elif [ "$MONTH" -le 8 ]; then
|
||||
LABEL="08"
|
||||
else
|
||||
LABEL="11"
|
||||
fi
|
||||
|
||||
# Set as environment variable for next step
|
||||
echo "LABEL=${LABEL}" >> $GITHUB_ENV
|
||||
|
||||
# Adds the quarter label to the PR
|
||||
- name: Add quarter label
|
||||
uses: PauMAVA/add-remove-label-action@v1.0.3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
add: "${{ env.LABEL }}"
|
||||
|
||||
@@ -1,27 +1,11 @@
|
||||
name: Kernel Hardening Analysis
|
||||
run-name: 'Check kernel security options - PR #${{ github.event.pull_request.number }} ("${{ github.event.pull_request.title }}")'
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# This workflow analyzes Linux kernel configuration files to check for
|
||||
# security hardening options using the kernel-hardening-checker tool.
|
||||
#
|
||||
# ⚠️ Important:
|
||||
# Modifying security parameters may impact system performance and
|
||||
# functionality of userspace software.
|
||||
# Check the Linux kernel options against security hardening
|
||||
#
|
||||
# More info:
|
||||
# https://github.com/a13xp0p0v/kernel-hardening-checker
|
||||
#
|
||||
# Triggers:
|
||||
# - Manually via workflow_dispatch
|
||||
# - On pull request events: ready_for_review, opened, reopened, or synchronized
|
||||
#
|
||||
# Features:
|
||||
# - Runs only for PRs targeting the 'Armbian' repository
|
||||
# - Validates kernel `.config` files for security best practices
|
||||
# - Skips RISC-V configurations due to known compatibility issues
|
||||
# - Provides a formatted security report in GitHub Actions summary
|
||||
# -----------------------------------------------------------------------------
|
||||
# Attention! Changing security parameters may also affect system performance and functionality of userspace software!
|
||||
# More info:
|
||||
# https://github.com/a13xp0p0v/kernel-hardening-checker
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@@ -33,7 +17,7 @@ permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: pipeline-security-${{ github.event.pull_request.number }}
|
||||
group: pipeline-security-${{github.event.pull_request.number}}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
@@ -49,23 +33,22 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Get changed files
|
||||
id: files
|
||||
uses: UplandJacob/retrieve-changed-files@v4
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@d52d20fa3f981cb852b861fd8f55308b5fe29637 # v46.0.3
|
||||
|
||||
- name: Checkout kernel-hardening-checker
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: a13xp0p0v/kconfig-hardened-check
|
||||
path: kconfig-hardened-check
|
||||
|
||||
- name: Run kernel security analysis
|
||||
- name: Check kernel config for security issues
|
||||
# Run kernel-hardening-checker for each kernel config file excluding RISC-V configs, since they are not supported yet.
|
||||
# See https://github.com/a13xp0p0v/kernel-hardening-checker/issues/56
|
||||
# sed explanation: 1) Put spaces in front of every line 2) replace colored output with emojis since GitHub Actions job summaries don't support colored output
|
||||
run: |
|
||||
for file in ${{ steps.files.outputs.all }}; do
|
||||
# Process only kernel configuration files and skip RISC-V configs
|
||||
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
|
||||
if [[ "${file}" = config/kernel/*.config && ! $(head -n 10 "${file}" | grep -q "riscv") ]]; then
|
||||
# Run security checks and format output for GitHub Actions summary
|
||||
kconfig-hardened-check/bin/kernel-hardening-checker -m show_fail -c $file \
|
||||
| sed 's/^/ /; s/\x1b\[32m/✅ /; s/\x1b\[31m/❌ /; s/\x1b\[0m//' \
|
||||
>> $GITHUB_STEP_SUMMARY
|
||||
kconfig-hardened-check/bin/kernel-hardening-checker -m show_fail -c $file | sed 's/^/ /; s/\x1b\[32m/✅ /; s/\x1b\[31m/❌ /; s/\x1b\[0m//' >> $GITHUB_STEP_SUMMARY
|
||||
fi
|
||||
done
|
||||
|
||||
6
.github/workflows/pr-label-on-approved.yml
vendored
6
.github/workflows/pr-label-on-approved.yml
vendored
@@ -1,5 +1,11 @@
|
||||
on: pull_request_review
|
||||
name: Label approved pull requests
|
||||
|
||||
permissions:
|
||||
contents: read # Required for checking changed files
|
||||
pull-requests: write # Required for labeling PRs
|
||||
issues: write # Required for adding/removing labels
|
||||
|
||||
jobs:
|
||||
labelWhenApproved:
|
||||
if: ${{ github.repository_owner == 'armbian' }}
|
||||
|
||||
47
.github/workflows/pr-lint-scripts.yml
vendored
47
.github/workflows/pr-lint-scripts.yml
vendored
@@ -1,21 +1,8 @@
|
||||
name: Lint on Scripts
|
||||
run-name: 'ShellCheck - PR #${{ github.event.pull_request.number }} ("${{ github.event.pull_request.title }}")'
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# This workflow runs ShellCheck on all relevant shell scripts in the repository
|
||||
# to ensure code quality, best practices, and prevent common scripting errors.
|
||||
# It generates a linting report and provides feedback for pull requests.
|
||||
run-name: 'Shellcheck - PR #${{ github.event.pull_request.number }} ("${{ github.event.pull_request.title }}")'
|
||||
#
|
||||
# Triggers:
|
||||
# - Manually via workflow_dispatch
|
||||
# - On pull request events: opened, reopened, or synchronized with new commits
|
||||
# Run ShellCheck on all scripts and generate report as build artifact
|
||||
#
|
||||
# Features:
|
||||
# - Runs only for PRs targeting the 'Armbian' repository
|
||||
# - Checks only modified shell scripts while ignoring non-shell files
|
||||
# - Ensures accurate analysis by leveraging framework-specific mechanisms
|
||||
# - Uses concurrency control to prevent redundant executions
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@@ -26,7 +13,7 @@ permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: pipeline-lint-${{ github.event.pull_request.number }}
|
||||
group: pipeline-lint-${{github.event.pull_request.number}}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
@@ -42,25 +29,31 @@ jobs:
|
||||
fetch-depth: 2
|
||||
|
||||
- name: Get changed files
|
||||
id: files
|
||||
uses: UplandJacob/retrieve-changed-files@v4
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@d52d20fa3f981cb852b861fd8f55308b5fe29637 # v46.0.3
|
||||
|
||||
- name: List and analyze changed shell scripts
|
||||
- name: List all changed files
|
||||
run: |
|
||||
# Utilize the framework's internal mechanism to check `lib/` and `extensions/` scripts.
|
||||
# This ensures correct context resolution, avoiding false positives in variable usage.
|
||||
|
||||
# Use framework internal mechanism for checking `lib` and `extensions` code only one file is passed,
|
||||
# and source's are followed, thus the whole project is "understood" by shellcheck.
|
||||
# For example, when checking individual files, one variable might be thought "unused" because it
|
||||
# is only used in another file, which does not happen when done properly.
|
||||
|
||||
bash lib/tools/shellcheck.sh
|
||||
|
||||
ret=0
|
||||
|
||||
for file in ${{ steps.files.outputs.all }}; do
|
||||
# Ignore non-shell files
|
||||
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
|
||||
|
||||
if [[ ! "${file}" =~ lib/|extensions/|.py|.service|.rules|.network|.netdev ]]; then
|
||||
# Check if the file has a bash shebang and run ShellCheck
|
||||
if grep -qE "^#\!/.*bash" "$file"; then
|
||||
shellcheck --severity=error "$file" || ret=$?
|
||||
if grep -qE "^#\!/.*bash" $file; then
|
||||
|
||||
shellcheck --severity=error $file || ret=$?
|
||||
|
||||
fi
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
exit $ret
|
||||
exit $ret
|
||||
|
||||
11
.github/workflows/pr-welcome-first-time.yml
vendored
11
.github/workflows/pr-welcome-first-time.yml
vendored
@@ -14,10 +14,13 @@ jobs:
|
||||
- uses: plbstl/first-contribution@v3
|
||||
with:
|
||||
pr-opened-msg: |
|
||||
### Hey @{fc-author} !
|
||||
### Hey @{fc-author}! 👋
|
||||
|
||||
Looks like it's your first pull reqests to Armbian codebase.
|
||||
Thanks for submitting your first pull request to the Armbian project — we're excited to have you contributing! 🧡
|
||||
Your effort doesn’t just improve Armbian — it benefits the entire community of users and developers.
|
||||
|
||||
Welcome and thank you for contributing :heart: :heart: :heart:.
|
||||
If you'd like to stay informed about project updates or collaborate more closely with the team,
|
||||
you can optionally share some personal contact preferences at [armbian.com/update-data](https://www.armbian.com/update-data/).
|
||||
This helps us keep in touch without relying solely on GitHub notifications.
|
||||
|
||||
Don't forget to star :star: the repo.
|
||||
Also, don’t forget to ⭐ star the repo if you haven’t already — and welcome aboard! 🚀
|
||||
|
||||
4
.github/workflows/scorecard.yml
vendored
4
.github/workflows/scorecard.yml
vendored
@@ -33,7 +33,7 @@ jobs:
|
||||
persist-credentials: false
|
||||
|
||||
- name: "Run analysis"
|
||||
uses: ossf/scorecard-action@v2.4.1
|
||||
uses: ossf/scorecard-action@v2.4.2
|
||||
with:
|
||||
results_file: results.sarif
|
||||
results_format: sarif
|
||||
@@ -52,7 +52,7 @@ jobs:
|
||||
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
|
||||
# format to the repository Actions tab.
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
with:
|
||||
name: SARIF file
|
||||
path: results.sarif
|
||||
|
||||
22
README.md
22
README.md
@@ -19,14 +19,14 @@
|
||||
|
||||
### Requirements for self hosted
|
||||
|
||||
- x86_64 / aarch64 machine
|
||||
- at least 2GB of memory and ~35GB of disk space for VM, container or bare metal installation
|
||||
- [Armbian / Ubuntu Jammy 22.04.x](https://github.com/armbian/sdk) for native building or any Docker capable Linux for containerised
|
||||
- Windows 10/11 with WSL2 subsystem running Ubuntu Jammy 22.04.x
|
||||
- x86_64 / aarch64 / riscv64 machine
|
||||
- at least 8GB (less for non-[BTF](https://docs.kernel.org/bpf/btf.html) builds) of memory and ~50GB of disk space for VM, container, or bare-metal installation
|
||||
- **Armbian / Ubuntu Jammy 22.04.x** for native building or any Docker capable Linux for containerised
|
||||
- **Windows 10/11 with WSL2 subsystem** running Armbian / Ubuntu Jammy 22.04.x
|
||||
- Superuser rights (configured sudo or root access).
|
||||
- Make sure your system is up-to-date! Outdated Docker binaries, for example, can cause trouble.
|
||||
- Make sure your system is up-to-date! Outdated Docker binaries, for example, can cause trouble
|
||||
|
||||
For stable branch use `--branch=v24.11`
|
||||
For stable branch use `--branch=v25.05`
|
||||
|
||||
```bash
|
||||
apt-get -y install git
|
||||
@@ -55,7 +55,7 @@ Build minimal CLI Armbian Jammy for Bananapi M5 with LTS kernel:
|
||||
./compile.sh \
|
||||
BOARD=bananapim5 \
|
||||
BRANCH=current \
|
||||
RELEASE=jammy \
|
||||
RELEASE=noble \
|
||||
BUILD_MINIMAL=yes \
|
||||
BUILD_DESKTOP=no \
|
||||
KERNEL_CONFIGURE=no
|
||||
@@ -69,12 +69,12 @@ on:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
build-armbian:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-24.04-arm # use ubuntu-24.04 when building x86 or riscv64
|
||||
steps:
|
||||
- uses: armbian/build@main
|
||||
with:
|
||||
armbian_token: "${{ secrets.GITHUB_TOKEN }}" # GitHub token
|
||||
armbian_release: "jammy" # userspace
|
||||
armbian_release: "noble" # userspace
|
||||
armbian_target: "build" # build=image, kernel=kernel
|
||||
armbian_board: "bananapim5" # build target
|
||||
```
|
||||
@@ -184,10 +184,10 @@ Function | Armbian | Yocto | Buildroot |
|
||||
| └── u-boot-family For entire kernel family
|
||||
├── tools Tools for dealing with kernel patches and configs
|
||||
└── userpatches User: configuration patching area
|
||||
├── lib.config User: framework common config/override file
|
||||
├── config-default.conf User: default user config file
|
||||
├── config-example.conf User: example user config file
|
||||
├── customize-image.sh User: script will execute just before closing the image
|
||||
├── atf User: ARM trusted firmware
|
||||
├── extensions User: Extend build system with specific functionality
|
||||
├── kernel User: Linux kernel per kernel family
|
||||
├── misc User: various
|
||||
└── u-boot User: universal boot loader patches
|
||||
|
||||
@@ -147,7 +147,9 @@ runs:
|
||||
# copy os userpatches and custom
|
||||
mkdir -pv build/userpatches
|
||||
rsync -av os/userpatches/. build/userpatches/
|
||||
[[ -d custom/userpatches ]] && rsync -av custom/userpatches/. build/userpatches/
|
||||
if [[ -d custom/userpatches ]]; then
|
||||
rsync -av custom/userpatches/. build/userpatches/
|
||||
fi
|
||||
|
||||
- shell: bash
|
||||
run: |
|
||||
@@ -170,6 +172,10 @@ runs:
|
||||
# go to build folder
|
||||
cd build
|
||||
|
||||
# default build command below doesn't prepare host dependencies
|
||||
sudo ./compile.sh requirements
|
||||
sudo chown -R $USER:$USER .
|
||||
|
||||
# execute build command
|
||||
./compile.sh "${{ inputs.armbian_target }}" \
|
||||
REVISION="${{ env.ARMBIAN_VERSION }}" \
|
||||
|
||||
26
config/boards/bananapim4berry.conf
Normal file
26
config/boards/bananapim4berry.conf
Normal file
@@ -0,0 +1,26 @@
|
||||
# Allwinner H618 quad core 2/4GB RAM 8GB eMMC SoC WiFi\Bt HDMI SPI USB-C
|
||||
BOARD_NAME="BananaPi M4 Berry"
|
||||
BOARDFAMILY="sun50iw9-bpi"
|
||||
BOARD_MAINTAINER="The-going"
|
||||
BOOTCONFIG="bananapi_m4_berry_defconfig"
|
||||
|
||||
BOOTPATCHDIR="v2025-sunxi"
|
||||
BOOTBRANCH_BOARD="tag:v2025.04"
|
||||
|
||||
OVERLAY_PREFIX="sun50i-h616"
|
||||
BOOT_FDT_FILE="sun50i-h618-bananapi-m4-berry.dtb"
|
||||
BOOT_LOGO="desktop"
|
||||
KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
|
||||
PACKAGE_LIST_BOARD="rfkill bluetooth bluez bluez-tools hostapd"
|
||||
|
||||
function post_family_tweaks_bsp__bananapi_module_conf() {
|
||||
|
||||
mkdir -p "${destination}"/etc/modprobe.d/
|
||||
display_alert "$BOARD" "Configuring rtl8821cu wifi module" "info"
|
||||
|
||||
cp -f "${SRC}"/packages/bsp/wifi-rtl8821cu/etc/modprobe.d/8821cu.conf \
|
||||
"${destination}"/etc/modprobe.d/8821cu.conf
|
||||
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
# Allwinner H618 quad core 2/4GB RAM 8GB eMMC SoC WiFi\Bt HDMI SPI USB-C
|
||||
BOARD_NAME="BananaPi M4 Berry"
|
||||
BOARDFAMILY="sun50iw9-bpi"
|
||||
BOARD_MAINTAINER="The-going"
|
||||
BOOTCONFIG="bananapi_m4_berry_defconfig"
|
||||
|
||||
BOOTPATCHDIR="v2025.01/board_bananapim4berry"
|
||||
BOOTBRANCH_BOARD="tag:v2025.01"
|
||||
|
||||
OVERLAY_PREFIX="sun50i-h616"
|
||||
BOOT_FDT_FILE="sun50i-h618-bananapi-m4-berry.dtb"
|
||||
BOOT_LOGO="desktop"
|
||||
KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
|
||||
PACKAGE_LIST_BOARD="rfkill bluetooth bluez bluez-tools"
|
||||
|
||||
function post_family_tweaks_bsp__bananapi_firmware() {
|
||||
if [[ -d "$SRC/packages/bsp/bananapi/brcm" ]] && [[ -d "$SRC/packages/bsp/bananapi/rtl_bt" ]]; then
|
||||
mkdir -p "${destination}"/lib/firmware/updates/brcm
|
||||
mkdir -p "${destination}"/lib/firmware/updates/rtl_bt
|
||||
display_alert "$BOARD" "Installing upstream firmware" "info"
|
||||
cp -fr $SRC/packages/bsp/bananapi/brcm/* "${destination}"/lib/firmware/updates/brcm/
|
||||
cp -fr $SRC/packages/bsp/bananapi/rtl_bt/* "${destination}"/lib/firmware/updates/rtl_bt/
|
||||
fi
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
# Rockchip RK3588 octa core 8-32GB RAM SoC 2*2.5GBe eMMC USB3 NvME WIFI
|
||||
source "${SRC}/config/boards/armsom-sige7.csc"
|
||||
BOARD_NAME="Banana Pi M7"
|
||||
BOARD_MAINTAINER="amazingfate"
|
||||
|
||||
@@ -16,3 +16,5 @@ KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
SERIALCON="ttyS2"
|
||||
ATF_BOARD="generic"
|
||||
OPTEE_ARGS=""
|
||||
OPTEE_PLATFORM="k3-j721e"
|
||||
|
||||
@@ -15,3 +15,5 @@ KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
SERIALCON="ttyS2"
|
||||
ATF_BOARD="lite"
|
||||
OPTEE_ARGS="CFG_TEE_CORE_LOG_LEVEL=1"
|
||||
OPTEE_PLATFORM="k3-am62x"
|
||||
|
||||
@@ -13,6 +13,8 @@ KERNEL_TARGET="current"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
SERIALCON="ttyS2"
|
||||
ATF_BOARD="lite"
|
||||
OPTEE_ARGS=""
|
||||
OPTEE_PLATFORM="k3-am62x"
|
||||
|
||||
# Use these branches until BeagleY-AI goes upstream
|
||||
function post_family_config_branch_current__beagley_ai_use_beagle_kernel_uboot() {
|
||||
|
||||
107
config/boards/cainiao-cniot-core.csc
Normal file
107
config/boards/cainiao-cniot-core.csc
Normal file
@@ -0,0 +1,107 @@
|
||||
# Amlogic A311D 2GB RAM 16GB eMMC GBE USB3 RTL8822CS WiFi/BT
|
||||
BOARD_NAME="CAINIAO CNIoT-CORE"
|
||||
BOARDFAMILY="meson-g12b"
|
||||
BOARD_MAINTAINER=""
|
||||
BOOTCONFIG="cainiao-cniot-core_defconfig"
|
||||
KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
MODULES_BLACKLIST="simpledrm" # SimpleDRM conflicts with Panfrost on the CAINIAO CNIoT-CORE
|
||||
FULL_DESKTOP="yes"
|
||||
SERIALCON="ttyAML0"
|
||||
BOOT_LOGO="desktop"
|
||||
BOOT_FDT_FILE="amlogic/meson-g12b-a311d-cainiao-cniot-core.dtb"
|
||||
PACKAGE_LIST_BOARD="alsa-ucm-conf" # Contain ALSA UCM top-level configuration file
|
||||
|
||||
BOOTBRANCH_BOARD="tag:v2025.04"
|
||||
BOOTPATCHDIR="v2025.04" # This has a patch that adds support for CAINIAO CNIoT-CORE.
|
||||
|
||||
function post_family_config__use_repacked_fip() {
|
||||
declare -g UBOOT_TARGET_MAP="u-boot.bin"
|
||||
unset write_uboot_platform
|
||||
|
||||
function write_uboot_platform() {
|
||||
dd if="$1/u-boot.bin" of="$2" bs=512 seek=1 conv=fsync 2>&1
|
||||
}
|
||||
}
|
||||
|
||||
function fetch_sources_tools__get_vendor_fip_and_gxlimg_source() {
|
||||
fetch_from_repo "https://github.com/retro98boy/cainiao-cniot-core-linux.git" "cainiao-cniot-core-linux" "commit:30273c25aeabf75f609cff2c4fa7264335c295a8"
|
||||
fetch_from_repo "https://github.com/repk/gxlimg.git" "gxlimg" "commit:0d0e5ba9cf396d1338067e8dc37a8bcd2e6874f1"
|
||||
}
|
||||
|
||||
function build_host_tools__install_gxlimg() {
|
||||
# Compile and install only if git commit hash changed
|
||||
cd "${SRC}/cache/sources/gxlimg" || exit
|
||||
# need to check if /usr/local/bin/gxlimg to detect new Docker containers with old cached sources
|
||||
if [[ ! -f .commit_id || $(git rev-parse @ 2> /dev/null) != $(< .commit_id) || ! -f /usr/local/bin/gxlimg ]]; then
|
||||
display_alert "Compiling" "gxlimg" "info"
|
||||
run_host_command_logged make distclean
|
||||
run_host_command_logged make
|
||||
install -Dm0755 gxlimg /usr/local/bin/gxlimg
|
||||
git rev-parse @ 2> /dev/null > .commit_id
|
||||
fi
|
||||
}
|
||||
|
||||
function post_uboot_custom_postprocess__repack_vendor_fip_with_mainline_uboot() {
|
||||
display_alert "${BOARD}" "Repacking vendor FIP with mainline u-boot.bin" "info"
|
||||
|
||||
BLOBS_DIR="${SRC}/cache/sources/cainiao-cniot-core-linux"
|
||||
EXTRACT_DIR="${BLOBS_DIR}/extract"
|
||||
AML_ENCRYPT="${SRC}/cache/sources/amlogic-boot-fip/khadas-vim3/aml_encrypt_g12b"
|
||||
|
||||
if [ ! -f "$AML_ENCRYPT" ]; then
|
||||
display_alert "${BOARD}" "amlogic-boot-fip/khadas-vim3/aml_encrypt_g12b not exist" "err"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mv u-boot.bin raw-u-boot.bin
|
||||
rm -f "${EXTRACT_DIR}/bl33.enc"
|
||||
# The current version of gxlimg has a problem with the handling of bl3x,
|
||||
# which may cause the produced fip to fail to boot.
|
||||
# see https://github.com/repk/gxlimg/issues/19
|
||||
# run_host_command_logged gxlimg -t bl3x -s raw-u-boot.bin "${EXTRACT_DIR}/bl33.enc"
|
||||
run_host_x86_binary_logged "$AML_ENCRYPT" --bl3sig \
|
||||
--input raw-u-boot.bin \
|
||||
--output "${EXTRACT_DIR}/bl33.enc" \
|
||||
--level v3 --type bl33
|
||||
run_host_command_logged gxlimg \
|
||||
-t fip \
|
||||
--bl2 "${EXTRACT_DIR}/bl2.sign" \
|
||||
--ddrfw "${EXTRACT_DIR}/ddr4_1d.fw" \
|
||||
--ddrfw "${EXTRACT_DIR}/ddr4_2d.fw" \
|
||||
--ddrfw "${EXTRACT_DIR}/ddr3_1d.fw" \
|
||||
--ddrfw "${EXTRACT_DIR}/piei.fw" \
|
||||
--ddrfw "${EXTRACT_DIR}/lpddr4_1d.fw" \
|
||||
--ddrfw "${EXTRACT_DIR}/lpddr4_2d.fw" \
|
||||
--ddrfw "${EXTRACT_DIR}/diag_lpddr4.fw" \
|
||||
--ddrfw "${EXTRACT_DIR}/aml_ddr.fw" \
|
||||
--ddrfw "${EXTRACT_DIR}/lpddr3_1d.fw" \
|
||||
--bl30 "${EXTRACT_DIR}/bl30.enc" \
|
||||
--bl31 "${EXTRACT_DIR}/bl31.enc" \
|
||||
--bl33 "${EXTRACT_DIR}/bl33.enc" \
|
||||
--rev v3 u-boot.bin
|
||||
|
||||
if [ ! -s u-boot.bin ]; then
|
||||
display_alert "${BOARD}" "FIP repack produced empty u-boot.bin" "err"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
function post_family_tweaks_bsp__cainiao-cniot-core() {
|
||||
display_alert "${BOARD}" "Installing ALSA UCM configuration files" "info"
|
||||
|
||||
# Use ALSA UCM via GUI: Install a desktop environment such as GNOME, PipeWire, and WirePlumber.
|
||||
|
||||
# Use ALSA UCM via CLI: alsactl init && alsaucm set _verb "HiFi" set _enadev "HDMI" set _enadev "Speaker"
|
||||
# playback via HDMI: aplay -D plughw:cainiaocniotcor,0 /usr/share/sounds/alsa/Front_Center.wav
|
||||
# playback via internal speaker: aplay -D plughw:cainiaocniotcor,1 /usr/share/sounds/alsa/Front_Center.wav
|
||||
|
||||
install -Dm644 "${SRC}/packages/bsp/cainiao-cniot-core/cainiao-cniot-core-HiFi.conf" "${destination}/usr/share/alsa/ucm2/Amlogic/axg-sound-card/cainiao-cniot-core-HiFi.conf"
|
||||
install -Dm644 "${SRC}/packages/bsp/cainiao-cniot-core/cainiao-cniot-core.conf" "${destination}/usr/share/alsa/ucm2/Amlogic/axg-sound-card/cainiao-cniot-core.conf"
|
||||
|
||||
if [ ! -d "${destination}/usr/share/alsa/ucm2/conf.d/axg-sound-card" ]; then
|
||||
mkdir -p "${destination}/usr/share/alsa/ucm2/conf.d/axg-sound-card"
|
||||
fi
|
||||
ln -sfv /usr/share/alsa/ucm2/Amlogic/axg-sound-card/cainiao-cniot-core.conf \
|
||||
"${destination}/usr/share/alsa/ucm2/conf.d/axg-sound-card/cainiao-cniot-core.conf"
|
||||
}
|
||||
@@ -6,6 +6,6 @@ BOOT_LOGO="desktop"
|
||||
KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current,edge" # in case different then kernel target
|
||||
FORCE_BOOTSCRIPT_UPDATE="yes"
|
||||
BOOTBRANCH_BOARD="tag:v2024.01"
|
||||
BOOTPATCHDIR="v2024.01"
|
||||
BOOTBRANCH_BOARD="tag:v2025.04"
|
||||
BOOTPATCHDIR="v2025.04"
|
||||
BOARD_MAINTAINER="IsMrX"
|
||||
|
||||
@@ -5,7 +5,7 @@ BOARD_MAINTAINER="andyshrk"
|
||||
BOARD_FIRMWARE_INSTALL="-full"
|
||||
BOOT_SOC="rk3588"
|
||||
BOOTCONFIG="coolpi-cm5-genbook-rk3588_defconfig"
|
||||
KERNEL_TARGET="edge"
|
||||
KERNEL_TARGET="edge,vendor"
|
||||
FULL_DESKTOP="yes"
|
||||
BOOT_LOGO="desktop"
|
||||
BOOT_FDT_FILE="rockchip/rk3588-coolpi-cm5-genbook.dtb"
|
||||
@@ -15,13 +15,13 @@ BOOT_SPI_RKSPI_LOADER="yes"
|
||||
IMAGE_PARTITION_TABLE="gpt"
|
||||
|
||||
# Mainline U-Boot
|
||||
function post_family_config_branch_edge__coolpi-genbook_use_mainline_uboot() {
|
||||
function post_family_config__coolpi-genbook_use_mainline_uboot() {
|
||||
display_alert "$BOARD" "mainline (next branch) u-boot overrides for $BOARD / $BRANCH" "info"
|
||||
|
||||
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # Mainline U-Boot
|
||||
unset BOOTBRANCH
|
||||
declare -g BOOTPATCHDIR="v2025.01-rc3-coolpi-cm5"
|
||||
declare -g BOOTBRANCH_BOARD="tag:v2025.01"
|
||||
declare -g BOOTBRANCH_BOARD="tag:v2025.04"
|
||||
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
|
||||
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already
|
||||
|
||||
|
||||
@@ -1,14 +1,15 @@
|
||||
# Rockchip RK3588j Octa core 4GB-32GB eMMC GBE HDMI HDMI-IN PCIe SATA USB3 WiFi 4G 5G
|
||||
BOARD_NAME="Firefly ITX-3588J"
|
||||
BOARDFAMILY="rockchip-rk3588"
|
||||
BOOT_SOC="rk3588"
|
||||
BOARD_MAINTAINER="SeeleVolleri"
|
||||
BOOTCONFIG="rock-5b-rk3588_defconfig"
|
||||
KERNEL_TARGET="vendor"
|
||||
BOOTCONFIG="rk3588_defconfig"
|
||||
BOOT_FDT_FILE="rockchip/rk3588-firefly-itx-3588j.dtb"
|
||||
BOOT_LOGO="desktop"
|
||||
FULL_DESKTOP="yes"
|
||||
BOOT_LOGO="desktop"
|
||||
BOOT_SCENARIO="spl-blobs"
|
||||
IMAGE_PARTITION_TABLE="gpt"
|
||||
declare -g UEFI_EDK2_BOARD_ID="firefly-itx-3588j" # This _only_ used for uefi-edk2-rk3588 extension
|
||||
|
||||
function post_family_tweaks_bsp__firefly_itx_3588j() {
|
||||
display_alert "$BOARD" "Installing rk3588-bluetooth.service" "info"
|
||||
|
||||
@@ -5,8 +5,8 @@ BOARD_MAINTAINER="pyavitz"
|
||||
BOOTCONFIG="amper_gateway_am-gz80x_defconfig"
|
||||
KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
BOOTBRANCH_BOARD="tag:v2025.01"
|
||||
BOOTPATCHDIR="v2025.01"
|
||||
BOOTBRANCH_BOARD="tag:v2024.10"
|
||||
BOOTPATCHDIR="v2024.10"
|
||||
BOOT_FDT_FILE="amlogic/meson-axg-amper-gateway-am-gz80x.dtb"
|
||||
SRC_EXTLINUX="yes"
|
||||
SRC_CMDLINE="console=ttyAML0,115200n8 clk_ignore_unused loglevel=7"
|
||||
|
||||
17
config/boards/helios4.conf
Normal file
17
config/boards/helios4.conf
Normal file
@@ -0,0 +1,17 @@
|
||||
# Marvell Armada 388 2GB ECC RAM SoC 4xSATA 2xUSB3.0 GBE SPI
|
||||
BOARD_NAME="Helios4"
|
||||
BOARDFAMILY="mvebu"
|
||||
BOARD_MAINTAINER="Heisath"
|
||||
BOOTCONFIG="helios4_defconfig"
|
||||
BOOTCONFIG_NEXT="helios4_defconfig"
|
||||
MODULES_LEGACY="marvell_cesa lm75"
|
||||
MODULES_CURRENT="marvell_cesa lm75"
|
||||
HAS_VIDEO_OUTPUT="no"
|
||||
FORCE_BOOTSCRIPT_UPDATE="yes"
|
||||
KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
|
||||
function post_family_config__helios4_extra_packages() {
|
||||
add_packages_to_image "fancontrol"
|
||||
add_packages_to_image "ethtool"
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
# Marvell Armada 388 2GB ECC RAM SoC 4xSATA 2xUSB3.0 GBE SPI
|
||||
BOARD_NAME="Helios4"
|
||||
BOARDFAMILY="mvebu"
|
||||
BOARD_MAINTAINER="Heisath"
|
||||
BOOTCONFIG="helios4_defconfig"
|
||||
BOOTCONFIG_NEXT="helios4_defconfig"
|
||||
MODULES_LEGACY="marvell_cesa lm75"
|
||||
MODULES_CURRENT="marvell_cesa lm75"
|
||||
HAS_VIDEO_OUTPUT="no"
|
||||
FORCE_BOOTSCRIPT_UPDATE="yes"
|
||||
KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
14
config/boards/imb3588.conf
Normal file
14
config/boards/imb3588.conf
Normal file
@@ -0,0 +1,14 @@
|
||||
# Rockchip RK3588 SoC with 4/8/16GB RAM, 16GBB/32GB/64GB/128GB EMMC, m.2 SATA, USB3, USB2, 2xGbE, WIFI6, BT5.1, LCDS, MIPI, eDP, HDMI
|
||||
BOARD_NAME="IMB3588"
|
||||
BOARDFAMILY="rockchip-rk3588"
|
||||
BOARD_MAINTAINER="JackHuang021"
|
||||
BOOTCONFIG="imb3588_defconfig"
|
||||
BOOT_SOC="rk3588"
|
||||
KERNEL_TARGET="vendor"
|
||||
FULL_DESKTOP="yes"
|
||||
BOOT_LOGO="desktop"
|
||||
BOOT_FDT_FILE="rockchip/rk3588-yx-imb3588.dtb"
|
||||
BOOT_SCENARIO="spl-blobs"
|
||||
BOOT_SUPPORT_SPI="yes"
|
||||
BOOT_SPI_RKSPI_LOADER="yes"
|
||||
IMAGE_PARTITION_TABLE="gpt"
|
||||
@@ -33,7 +33,7 @@ function post_family_config__uboot_kedge2() {
|
||||
display_alert "$BOARD" "Configuring ($BOARD) u-boot" "info"
|
||||
|
||||
declare -g BOOTSOURCE='https://github.com/khadas/u-boot.git'
|
||||
declare -g BOOTBRANCH='branch:khadas-edges-v2017.09'
|
||||
declare -g BOOTBRANCH="commit:df276095a29a02f8e7ce4f451770c06486106594"
|
||||
declare -g BOOTPATCHDIR="legacy/u-boot-khadas-edge2-rk3588"
|
||||
declare -g BOOTCONFIG="khadas-edge2-rk3588s_defconfig"
|
||||
declare -g SRC_EXTLINUX="yes" # For now, use extlinux. Thanks Monka
|
||||
|
||||
@@ -12,8 +12,8 @@ BOOT_LOGO="desktop"
|
||||
BOOT_FDT_FILE="amlogic/meson-g12b-a311d-khadas-vim3.dtb" # there is also a s922x dtb, but vim3 is a311d only
|
||||
ASOUND_STATE="asound.state.khadas-vim3"
|
||||
|
||||
BOOTBRANCH_BOARD="tag:v2024.01"
|
||||
BOOTPATCHDIR="v2024.01" # this has 'board_khadas-vim3' which has a patch to boot USB/NVMe/SCSI first
|
||||
BOOTBRANCH_BOARD="tag:v2025.04"
|
||||
BOOTPATCHDIR="v2025.04" # this has 'board_khadas-vim3' which has a patch to boot USB/NVMe/SCSI first
|
||||
|
||||
declare -g KHADAS_OOWOW_BOARD_ID="VIM3" # for use with EXT=output-image-oowow
|
||||
|
||||
@@ -53,6 +53,12 @@ function post_config_uboot_target__extra_configs_for_khadas_vim3() {
|
||||
display_alert "u-boot for ${BOARD}" "u-boot: enable gpio LED support" "info"
|
||||
run_host_command_logged scripts/config --enable CONFIG_LED
|
||||
run_host_command_logged scripts/config --enable CONFIG_LED_GPIO
|
||||
display_alert "u-boot for ${BOARD}" "u-boot: enable more cmdline commands" "info" # for extra compat with eg HAOS
|
||||
run_host_command_logged scripts/config --enable CONFIG_CMD_SQUASHFS
|
||||
run_host_command_logged scripts/config --enable CONFIG_CMD_SETEXPR
|
||||
run_host_command_logged scripts/config --enable CONFIG_CMD_FILEENV # added via cmd-fileenv-read-string-from-file-into-env.patch
|
||||
run_host_command_logged scripts/config --enable CONFIG_CMD_CAT
|
||||
run_host_command_logged scripts/config --enable CONFIG_CMD_XXD
|
||||
display_alert "u-boot for ${BOARD}" "u-boot: enable networking cmds" "info"
|
||||
run_host_command_logged scripts/config --enable CONFIG_CMD_NFS
|
||||
run_host_command_logged scripts/config --enable CONFIG_CMD_WGET
|
||||
|
||||
@@ -16,8 +16,8 @@ function post_family_config_branch_edge__lubancat_2_use_mainline_uboot() {
|
||||
display_alert "$BOARD" "Using mainline U-Boot for $BOARD / $BRANCH" "info"
|
||||
|
||||
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ Mainline U-Boot
|
||||
declare -g BOOTBRANCH="tag:v2024.07"
|
||||
declare -g BOOTPATCHDIR="v2024.07"
|
||||
declare -g BOOTBRANCH="tag:v2025.04"
|
||||
declare -g BOOTPATCHDIR="v2025.04"
|
||||
# Don't set BOOTDIR, allow shared U-Boot source directory for disk space efficiency
|
||||
|
||||
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin"
|
||||
|
||||
@@ -12,8 +12,13 @@ declare -g UEFI_EDK2_BOARD_ID="blade3" # This _only_ used for uefi-edk2-rk3588 e
|
||||
|
||||
# Vendor u-boot; use the default family (rockchip-rk3588) u-boot. See config/sources/families/rockchip-rk3588.conf
|
||||
function post_family_config__vendor_uboot_mekotronics() {
|
||||
display_alert "$BOARD" "Configuring $BOARD vendor u-boot" "info"
|
||||
display_alert "$BOARD" "Configuring $BOARD vendor u-boot (using Radxa's older next-dev-v2024.03)" "info"
|
||||
declare -g BOOTDELAY=1 # build injects this into u-boot config. we can then get into UMS mode and avoid the whole rockusb/rkdeveloptool thing
|
||||
|
||||
# Override the stuff from rockchip-rk3588 family; Meko's have a patch for stable MAC address that breaks with Radxa's next-dev-v2024.10+
|
||||
declare -g BOOTSOURCE='https://github.com/radxa/u-boot.git'
|
||||
declare -g BOOTBRANCH='branch:next-dev-v2024.03' # NOT next-dev-v2024.10
|
||||
declare -g BOOTPATCHDIR="legacy/u-boot-radxa-rk35xx"
|
||||
}
|
||||
|
||||
function post_family_config_branch_edge__different_dtb_for_edge() {
|
||||
|
||||
@@ -7,3 +7,4 @@ BOARD_MAINTAINER="SuperKali Tonymac32"
|
||||
BOOT_FDT_FILE="rockchip/rk3588-nanopc-t6-lts.dtb" # As opposed to "rockchip/rk3588-nanopc-t6.dtb" for the non-LTS version
|
||||
KERNEL_TARGET="current,edge,vendor"
|
||||
KERNEL_TEST_TARGET="vendor,current"
|
||||
declare -g GRUB_FDT_FILE="${BOOT_FDT_FILE}" # u-boot autodetects, but grub needs to know; store it here so we can unset later
|
||||
|
||||
@@ -13,7 +13,8 @@ BOOT_SCENARIO="spl-blobs"
|
||||
BOOT_SUPPORT_SPI="yes"
|
||||
BOOT_SPI_RKSPI_LOADER="yes"
|
||||
IMAGE_PARTITION_TABLE="gpt"
|
||||
declare -g UEFI_EDK2_BOARD_ID="nanopc-t6" # This _only_ used for uefi-edk2-rk3588 extension
|
||||
declare -g UEFI_EDK2_BOARD_ID="nanopc-t6" # This _only_ used for uefi-edk2-rk3588 extension
|
||||
declare -g GRUB_FDT_FILE="${BOOT_FDT_FILE}" # u-boot autodetects, but grub needs to know; store it here so we can unset later
|
||||
|
||||
function post_family_tweaks__nanopct6_naming_audios() {
|
||||
display_alert "$BOARD" "Renaming nanopct6 audio" "info"
|
||||
@@ -29,16 +30,22 @@ function post_family_tweaks__nanopct6_naming_audios() {
|
||||
}
|
||||
|
||||
# Mainline u-boot
|
||||
function post_family_config_branch_edge__nanopct6_use_mainline_uboot() {
|
||||
display_alert "$BOARD" "mainline (next branch) u-boot overrides for $BOARD / $BRANCH" "info"
|
||||
function post_family_config__nanopct6_use_mainline_uboot() {
|
||||
[[ "${BRANCH}" == "vendor" ]] && return 0 # Not for 'vendor' branch, which uses 2017.09 vendor u-boot from Radxa
|
||||
|
||||
display_alert "$BOARD" "u-boot overrides for $BOARD / $BRANCH" "info"
|
||||
|
||||
# To reuse ATF code in rockchip64_common, let's change the BOOT_SCENARIO and call prepare_boot_configuration() again
|
||||
BOOT_SCENARIO="tpl-blob-atf-mainline"
|
||||
prepare_boot_configuration
|
||||
|
||||
declare -g BOOTCONFIG="nanopc-t6-rk3588_defconfig"
|
||||
declare -g BOOTDELAY=1 # Wait for UART interrupt to enter UMS/RockUSB mode etc
|
||||
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ Mainline
|
||||
declare -g BOOTBRANCH="tag:v2025.04-rc1"
|
||||
declare -g BOOTBRANCH="tag:v2025.04"
|
||||
declare -g BOOTPATCHDIR="v2025.04"
|
||||
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
|
||||
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
|
||||
declare -g UBOOT_TARGET_MAP="BL31=bl31.elf ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
|
||||
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already
|
||||
|
||||
# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go
|
||||
@@ -54,12 +61,13 @@ function post_family_config_branch_edge__nanopct6_use_mainline_uboot() {
|
||||
# U-boot 2025.04+ can detect and set fdtfile automatically across T6 and T6-LTS boards.
|
||||
# So if using mainline u-boot, unset BOOT_FDT_FILE to let u-boot handle it.
|
||||
# That way, both variants can boot from the same image; lets keep the -lts board file for vendor kernel/u-boot.
|
||||
function post_family_config_branch_edge__t6_and_t6_lts_auto_dtb_name_via_uboot_detection() {
|
||||
function post_family_config__t6_and_t6_lts_auto_dtb_name_via_uboot_detection() {
|
||||
[[ "${BRANCH}" == "vendor" ]] && return 0 # Not for 'vendor' branch, which uses 2017.09 vendor u-boot from Radxa
|
||||
unset BOOT_FDT_FILE
|
||||
}
|
||||
|
||||
function pre_config_uboot_target__nanoptc6_patch_uboot_dtsi_for_ums() {
|
||||
[[ "${BRANCH}" != "edge" ]] && return 0
|
||||
[[ "${BRANCH}" == "vendor" ]] && return 0 # Not for 'vendor' branch, which uses 2017.09 vendor u-boot from Radxa
|
||||
|
||||
display_alert "u-boot for ${BOARD}" "u-boot: add to u-boot dtsi for UMS" "info" # avoid a patch, just append to the dtsi file
|
||||
cat <<- EOD >> arch/arm/dts/rk3588-nanopc-t6-u-boot.dtsi # Append to the t6 u-boot dtsi file with stuff for enabling gadget/otg/peripheral mode
|
||||
@@ -68,6 +76,9 @@ function pre_config_uboot_target__nanoptc6_patch_uboot_dtsi_for_ums() {
|
||||
&usbdp_phy0 { status = "okay"; };
|
||||
&usb_host0_xhci { dr_mode = "peripheral"; maximum-speed = "high-speed"; status = "okay"; };
|
||||
EOD
|
||||
# Append to the t6 u-boot dtsi file with stuff for enabling gadget/otg/peripheral mode
|
||||
# Append to the t6 u-boot dtsi file with stuff for enabling gadget/otg/peripheral mode
|
||||
# Append to the t6 u-boot dtsi file with stuff for enabling gadget/otg/peripheral mode
|
||||
|
||||
}
|
||||
|
||||
@@ -84,7 +95,7 @@ function pre_config_uboot_target__nanopct6_patch_rockchip_common_boot_order() {
|
||||
}
|
||||
|
||||
function post_config_uboot_target__extra_configs_for_nanopct6_mainline_environment_in_spi() {
|
||||
[[ "${BRANCH}" != "edge" ]] && return 0
|
||||
[[ "${BRANCH}" == "vendor" ]] && return 0 # Not for 'vendor' branch, which uses 2017.09 vendor u-boot from Radxa
|
||||
|
||||
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable board-specific configs (env in SPI)" "info"
|
||||
run_host_command_logged scripts/config --enable CONFIG_DM_PMIC_FAN53555
|
||||
@@ -133,7 +144,7 @@ function post_config_uboot_target__extra_configs_for_nanopct6_mainline_environme
|
||||
# Include fw_setenv, configured to point to the correct spot on the SPI Flash
|
||||
PACKAGE_LIST_BOARD="libubootenv-tool" # libubootenv-tool provides fw_printenv and fw_setenv, for talking to U-Boot environment
|
||||
function post_family_tweaks__config_nanopct6_fwenv() {
|
||||
[[ "${BRANCH}" != "edge" ]] && return 0
|
||||
[[ "${BRANCH}" == "vendor" ]] && return 0 # Not for 'vendor' branch, which uses 2017.09 vendor u-boot from Radxa
|
||||
display_alert "Configuring fw_printenv and fw_setenv" "for ${BOARD} and u-boot ${BOOTBRANCH}" "info"
|
||||
# Addresses below come from CONFIG_ENV_OFFSET and CONFIG_ENV_SIZE in defconfig
|
||||
cat <<- 'FW_ENV_CONFIG' > "${SDCARD}"/etc/fw_env.config
|
||||
|
||||
15
config/boards/nanopi-r2s-plus.csc
Normal file
15
config/boards/nanopi-r2s-plus.csc
Normal file
@@ -0,0 +1,15 @@
|
||||
# Rockchip RK3328 quad core 1GB 2 x GBE USB2
|
||||
BOARD_NAME="Nanopi R2S Plus"
|
||||
BOARDFAMILY="rockchip64"
|
||||
BOARD_MAINTAINER=""
|
||||
BOOTBRANCH="tag:v2025.01"
|
||||
BOOTPATCHDIR="v2025.01"
|
||||
BOOTCONFIG="nanopi-r2s-plus-rk3328_defconfig"
|
||||
KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
DEFAULT_CONSOLE="serial"
|
||||
MODULES="g_serial"
|
||||
MODULES_BLACKLIST="rockchipdrm analogix_dp dw_mipi_dsi dw_hdmi gpu_sched lima hantro_vpu"
|
||||
SERIALCON="ttyS2:1500000,ttyGS0"
|
||||
HAS_VIDEO_OUTPUT="no"
|
||||
BOOT_FDT_FILE="rockchip/rk3328-nanopi-r2s-plus-rev00.dtb"
|
||||
30
config/boards/nanopi-r3s-lts.conf
Normal file
30
config/boards/nanopi-r3s-lts.conf
Normal file
@@ -0,0 +1,30 @@
|
||||
# Rockchip RK3566 quad core 2GB RAM eMMC 2x GbE USB3 HDMI
|
||||
BOARD_NAME="NanoPi R3S LTS"
|
||||
BOARDFAMILY="rk35xx"
|
||||
BOARD_MAINTAINER="pyavitz"
|
||||
BOOTCONFIG="nanopi-r3s-lts-rk3566_defconfig"
|
||||
KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current,edge"
|
||||
BOOT_FDT_FILE="rockchip/rk3566-nanopi-r3s-lts.dtb"
|
||||
IMAGE_PARTITION_TABLE="gpt"
|
||||
BOOT_SCENARIO="spl-blobs"
|
||||
|
||||
|
||||
function post_family_config__use_mainline_uboot() {
|
||||
if [[ "$BRANCH" != "current" && "$BRANCH" != "edge" ]]; then
|
||||
return 0
|
||||
fi
|
||||
unset BOOTFS_TYPE # mainline u-boot can boot ext4 directly
|
||||
BOOTCONFIG="nanopi-r3s-lts-rk3566_defconfig"
|
||||
BOOTSOURCE="https://github.com/u-boot/u-boot"
|
||||
BOOTBRANCH="tag:v2025.04"
|
||||
BOOTPATCHDIR="v2025.04"
|
||||
|
||||
UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB ROCKCHIP_TPL=$RKBIN_DIR/$DDR_BLOB;;u-boot-rockchip.bin"
|
||||
|
||||
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd
|
||||
|
||||
function write_uboot_platform() {
|
||||
dd if=$1/u-boot-rockchip.bin of=$2 seek=64 conv=notrunc status=none
|
||||
}
|
||||
}
|
||||
@@ -11,37 +11,16 @@ IMAGE_PARTITION_TABLE="gpt"
|
||||
BOOT_SCENARIO="spl-blobs"
|
||||
|
||||
|
||||
function post_family_config_branch_edge__use_mainline_dtb_name() {
|
||||
function post_family_config__use_mainline_uboot() {
|
||||
if [[ "$BRANCH" != "current" && "$BRANCH" != "edge" ]]; then
|
||||
return 0
|
||||
fi
|
||||
unset BOOT_FDT_FILE # boot.scr will use whatever u-boot detects and sets 'fdtfile' to
|
||||
unset BOOTFS_TYPE # mainline u-boot can boot ext4 directly
|
||||
}
|
||||
|
||||
function post_family_config_branch_current__use_mainline_dtb_name() {
|
||||
unset BOOT_FDT_FILE # boot.scr will use whatever u-boot detects and sets 'fdtfile' to
|
||||
unset BOOTFS_TYPE # mainline u-boot can boot ext4 directly
|
||||
}
|
||||
|
||||
|
||||
function post_family_config_branch_current__nanopi-r3s_use_mainline_uboot() {
|
||||
BOOTCONFIG="nanopi-r3s-rk3566_defconfig"
|
||||
BOOTSOURCE="https://github.com/u-boot/u-boot"
|
||||
BOOTBRANCH="tag:v2024.10"
|
||||
BOOTPATCHDIR="v2024.10"
|
||||
|
||||
UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB ROCKCHIP_TPL=$RKBIN_DIR/$DDR_BLOB;;u-boot-rockchip.bin"
|
||||
|
||||
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd
|
||||
|
||||
function write_uboot_platform() {
|
||||
dd if=$1/u-boot-rockchip.bin of=$2 seek=64 conv=notrunc status=none
|
||||
}
|
||||
}
|
||||
|
||||
function post_family_config_branch_edge__nanopi-r3s_use_mainline_uboot() {
|
||||
BOOTCONFIG="nanopi-r3s-rk3566_defconfig"
|
||||
BOOTSOURCE="https://github.com/u-boot/u-boot"
|
||||
BOOTBRANCH="tag:v2025.01"
|
||||
BOOTPATCHDIR="v2025.01"
|
||||
BOOTBRANCH="tag:v2025.04"
|
||||
BOOTPATCHDIR="v2025.04"
|
||||
|
||||
UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB ROCKCHIP_TPL=$RKBIN_DIR/$DDR_BLOB;;u-boot-rockchip.bin"
|
||||
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
# Rockchip RK3399 hexa core 1GB/4GB RAM SoC 2 x GBE USB3 USB-C
|
||||
BOARD_NAME="NanoPi R4S"
|
||||
BOARDFAMILY="rockchip64" # Used to be rk3399
|
||||
BOARD_MAINTAINER="Manouchehri"
|
||||
BOOTCONFIG="nanopi-r4s-rk3399_defconfig"
|
||||
KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
DEFAULT_CONSOLE="serial"
|
||||
MODULES_BLACKLIST="rockchipdrm analogix_dp dw_mipi_dsi dw_hdmi gpu_sched lima hantro_vpu panfrost"
|
||||
HAS_VIDEO_OUTPUT="no"
|
||||
BOOTBRANCH_BOARD="tag:v2022.04"
|
||||
BOOTPATCHDIR="u-boot-rockchip64-v2022.04"
|
||||
12
config/boards/nanopi-r4s.csc
Normal file
12
config/boards/nanopi-r4s.csc
Normal file
@@ -0,0 +1,12 @@
|
||||
# Rockchip RK3399 hexa core 1GB/4GB RAM SoC 2 x GBE USB3 USB-C
|
||||
BOARD_NAME="NanoPi R4S"
|
||||
BOARDFAMILY="rockchip64" # Used to be rk3399
|
||||
BOARD_MAINTAINER=""
|
||||
BOOTCONFIG="nanopi-r4s-rk3399_defconfig"
|
||||
KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
DEFAULT_CONSOLE="serial"
|
||||
MODULES_BLACKLIST="rockchipdrm analogix_dp dw_mipi_dsi dw_hdmi gpu_sched lima hantro_vpu panfrost"
|
||||
HAS_VIDEO_OUTPUT="no"
|
||||
BOOTBRANCH_BOARD="tag:v2022.04"
|
||||
BOOTPATCHDIR="u-boot-rockchip64-v2022.04"
|
||||
@@ -2,7 +2,7 @@
|
||||
BOARD_NAME="Odroid HC4"
|
||||
BOARDFAMILY="meson-sm1"
|
||||
BOARD_MAINTAINER="igorpecovnik"
|
||||
BOOTCONFIG="odroid-c4_defconfig" # for the SD card; but also 'odroid-hc4_defconfig', see below at pre_config_uboot_target
|
||||
BOOTCONFIG="odroid-hc4_defconfig"
|
||||
KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
MODULES_BLACKLIST="simpledrm" # SimpleDRM conflicts with Panfrost
|
||||
@@ -12,8 +12,8 @@ BOOT_FDT_FILE="amlogic/meson-sm1-odroid-hc4.dtb"
|
||||
PACKAGE_LIST_BOARD="lm-sensors fancontrol" # SPI, sensors, manual fan control via 'pwmconfig'
|
||||
|
||||
# Newer u-boot for the HC4. There's patches in `board_odroidhc4` for the defconfigs used in the UBOOT_TARGET_MAP below.
|
||||
BOOTBRANCH_BOARD="tag:v2024.04"
|
||||
BOOTPATCHDIR="v2024.04"
|
||||
BOOTBRANCH_BOARD="tag:v2025.04"
|
||||
BOOTPATCHDIR="v2025.04"
|
||||
|
||||
# We build u-boot twice: C4 config for SD cards, and HC4 (with SATA/PCI/SPI) config for SPI.
|
||||
UBOOT_TARGET_MAP="
|
||||
@@ -39,22 +39,6 @@ function post_uboot_custom_postprocess__odroid_hc4_uboot() {
|
||||
uboot_g12_postprocess "${SRC}"/cache/sources/amlogic-boot-fip/odroid-hc4 g12a
|
||||
}
|
||||
|
||||
# switch defconfig according to target, so we can still use the same post_config_uboot_target for both.
|
||||
function pre_config_uboot_target__odroidhc4_defconfig_per_target() {
|
||||
case "${target_make}" in
|
||||
"armbian_target=spi "*)
|
||||
BOOTCONFIG="odroid-hc4_defconfig"
|
||||
;;
|
||||
"armbian_target=sd "*)
|
||||
BOOTCONFIG="odroid-c4_defconfig"
|
||||
;;
|
||||
*)
|
||||
exit_with_error "Unknown target_make: '${target_make}', unknown BOOTCONFIG."
|
||||
;;
|
||||
esac
|
||||
display_alert "setting BOOTCONFIG for target" "${target_make}: '${BOOTCONFIG}'" "info"
|
||||
}
|
||||
|
||||
# Enable extra u-boot .config options, this way we avoid patching defconfig
|
||||
function post_config_uboot_target__extra_configs_for_odroid_hc4() {
|
||||
display_alert "u-boot for ${BOARD}" "u-boot: enable preboot & pci+usb start in preboot" "info"
|
||||
|
||||
@@ -10,9 +10,9 @@ IMAGE_PARTITION_TABLE="gpt"
|
||||
FULL_DESKTOP="no"
|
||||
BOOT_LOGO="yes"
|
||||
|
||||
BOOTBRANCH_BOARD="tag:v2025.04-rc2"
|
||||
BOOTBRANCH_BOARD="tag:v2025.04-rc5"
|
||||
BOOTBRANCH="${BOOTBRANCH_BOARD}"
|
||||
BOOTPATCHDIR="v2025.04-rc2"
|
||||
BOOTPATCHDIR="v2025.04"
|
||||
|
||||
BOOTCONFIG="odroid-m2-rk3588s_defconfig"
|
||||
BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
|
||||
|
||||
@@ -13,8 +13,8 @@ MODULES_EDGE="sprdbt_tty sprdwl_ng"
|
||||
FULL_DESKTOP="yes"
|
||||
ASOUND_STATE="asound.state.rk3399"
|
||||
BOOT_LOGO="desktop"
|
||||
BOOTBRANCH_BOARD="tag:v2024.10"
|
||||
BOOTPATCHDIR="v2024.10"
|
||||
BOOTBRANCH_BOARD="tag:v2025.01"
|
||||
BOOTPATCHDIR="v2025.01"
|
||||
BOOT_SCENARIO="binman"
|
||||
|
||||
function post_family_tweaks_bsp__OPi4lts() {
|
||||
|
||||
@@ -5,7 +5,7 @@ BOARD_MAINTAINER=""
|
||||
BOOTCONFIG="orangepi-5-max-rk3588_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
|
||||
BOOT_SOC="rk3588"
|
||||
KERNEL_TARGET="vendor,current,edge"
|
||||
KERNEL_TEST_TARGET="vendor,current,edge"
|
||||
KERNEL_TEST_TARGET="vendor,edge"
|
||||
FULL_DESKTOP="yes"
|
||||
BOOT_LOGO="desktop"
|
||||
BOOT_FDT_FILE="rockchip/rk3588-orangepi-5-max.dtb"
|
||||
@@ -16,6 +16,29 @@ IMAGE_PARTITION_TABLE="gpt"
|
||||
enable_extension "bcmdhd"
|
||||
BCMDHD_TYPE="sdio"
|
||||
|
||||
# Mainline U-Boot for edge kernel
|
||||
function post_family_config_branch_edge__orangepi5max_use_mainline_uboot() {
|
||||
display_alert "$BOARD" "Mainline U-Boot overrides for $BOARD - $BRANCH" "info"
|
||||
unset BOOT_FDT_FILE # boot.scr will use whatever u-boot detects and sets 'fdtfile' to
|
||||
declare -g BOOTCONFIG="orangepi-5-max-rk3588_defconfig" # override the default for the board/family
|
||||
declare -g BOOTDELAY=1 # Wait for UART interrupt to enter UMS/RockUSB mode etc
|
||||
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ mainline U-Boot
|
||||
declare -g BOOTBRANCH="tag:v2025.04"
|
||||
declare -g BOOTPATCHDIR="v2025.04"
|
||||
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
|
||||
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
|
||||
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already
|
||||
|
||||
# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go
|
||||
function write_uboot_platform() {
|
||||
dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none
|
||||
}
|
||||
|
||||
function write_uboot_platform_mtd() {
|
||||
flashcp -v -p "$1/u-boot-rockchip-spi.bin" /dev/mtd0
|
||||
}
|
||||
}
|
||||
|
||||
function post_family_tweaks__orangepi5max_naming_audios() {
|
||||
display_alert "$BOARD" "Renaming orangepi5max audios" "info"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Rockchip RK3588 octa core whatever fixme
|
||||
# Rockchip RK3588 octa core 4/8/16GB RAM SoC SPI NVMe 2x USB2 2x USB3 HDMI HDMI-in
|
||||
BOARD_NAME="Orange Pi 5 Ultra"
|
||||
BOARDFAMILY="rockchip-rk3588"
|
||||
BOARD_MAINTAINER=""
|
||||
@@ -16,15 +16,6 @@ IMAGE_PARTITION_TABLE="gpt"
|
||||
#enable_extension "bcmdhd"
|
||||
BCMDHD_TYPE="sdio"
|
||||
|
||||
# for testing purpose only. needs adaption to mainline once this makes it into 6.15 or .16
|
||||
function post_family_config_branch_edge__orangepi5-ultra_use_custom_source() {
|
||||
KERNEL_MAJOR_MINOR="6.14" # Major and minor versions of this kernel.
|
||||
KERNELSOURCE='https://github.com/jimmyhon/linux.git'
|
||||
KERNELBRANCH='branch:integrate-6.15'
|
||||
KERNELPATCHDIR='integrate-6.15'
|
||||
EXTRAWIFI=no # due to absence of our own fixups 3rd party wifi drivers break
|
||||
}
|
||||
|
||||
function post_family_tweaks__orangepi5ultra_naming_audios() {
|
||||
display_alert "$BOARD" "Renaming orangepi5ultra audios" "info"
|
||||
|
||||
|
||||
57
config/boards/orangepi5b.csc
Normal file
57
config/boards/orangepi5b.csc
Normal file
@@ -0,0 +1,57 @@
|
||||
# Rockchip RK3588S octa core 4/8/16GB RAM SoC eMMC USB3 USB-C GbE
|
||||
BOARD_NAME="Orange Pi 5B"
|
||||
BOARDFAMILY="rockchip-rk3588"
|
||||
BOARD_MAINTAINER=""
|
||||
BOOTCONFIG="orangepi-5b-rk3588s_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
|
||||
BOOT_SOC="rk3588"
|
||||
KERNEL_TARGET="edge,vendor"
|
||||
KERNEL_TEST_TARGET="vendor,edge"
|
||||
FULL_DESKTOP="yes"
|
||||
BOOT_LOGO="desktop"
|
||||
BOOT_FDT_FILE="rockchip/rk3588s-orangepi-5b.dtb"
|
||||
BOOT_SCENARIO="spl-blobs"
|
||||
IMAGE_PARTITION_TABLE="gpt"
|
||||
|
||||
declare -g BLUETOOTH_HCIATTACH_PARAMS="-s 115200 /dev/ttyS9 bcm43xx 1500000" # For the bluetooth-hciattach extension
|
||||
enable_extension "bluetooth-hciattach" # Enable the bluetooth-hciattach extension
|
||||
|
||||
function post_family_tweaks_bsp__orangepi5b_copy_usb2_service() {
|
||||
if [[ $BRANCH == "edge" || $BRANCH == "current" ]]; then
|
||||
return
|
||||
fi
|
||||
|
||||
display_alert "Installing BSP firmware and fixups"
|
||||
|
||||
# Add USB2 init service. Otherwise, USB2 and TYPE-C won't work by default
|
||||
cp $SRC/packages/bsp/orangepi5/orangepi5-usb2-init.service $destination/lib/systemd/system/
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
function post_family_tweaks__orangepi5b_enable_usb2_service() {
|
||||
if [[ $BRANCH == "edge" || $BRANCH == "current" ]]; then
|
||||
return
|
||||
fi
|
||||
|
||||
display_alert "$BOARD" "Installing board tweaks" "info"
|
||||
|
||||
# enable usb2 init service
|
||||
chroot $SDCARD /bin/bash -c "systemctl --no-reload enable orangepi5-usb2-init.service >/dev/null 2>&1"
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
function post_family_tweaks__orangepi5b_naming_audios() {
|
||||
if [[ $BRANCH == "edge" || $BRANCH == "current" ]]; then
|
||||
return
|
||||
fi
|
||||
|
||||
display_alert "$BOARD" "Renaming orangepi5b audios" "info"
|
||||
|
||||
mkdir -p $SDCARD/etc/udev/rules.d/
|
||||
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi0-sound", ENV{SOUND_DESCRIPTION}="HDMI0 Audio"' > $SDCARD/etc/udev/rules.d/90-naming-audios.rules
|
||||
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-dp0-sound", ENV{SOUND_DESCRIPTION}="DP0 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
|
||||
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-es8388-sound", ENV{SOUND_DESCRIPTION}="ES8388 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
|
||||
|
||||
return 0
|
||||
}
|
||||
@@ -53,5 +53,5 @@ function post_uboot_custom_postprocess__create_sata_spi_image() {
|
||||
function post_family_config__orangepi5pro_use_vendor_uboot() {
|
||||
BOOTSOURCE='https://github.com/orangepi-xunlong/u-boot-orangepi.git'
|
||||
BOOTBRANCH='branch:v2017.09-rk3588'
|
||||
BOOTPATCHDIR="legacy/u-boot-orangepi5-rk3588"
|
||||
BOOTPATCHDIR="legacy"
|
||||
}
|
||||
|
||||
31
config/boards/pocketbeagle2.conf
Normal file
31
config/boards/pocketbeagle2.conf
Normal file
@@ -0,0 +1,31 @@
|
||||
#Texas Instruments AM62 dual core 1GB USB2 DDR4
|
||||
|
||||
BOARD_NAME="PocketBeagle 2"
|
||||
BOARDFAMILY="k3"
|
||||
BOARD_MAINTAINER="Grippy98"
|
||||
BOOTCONFIG="am6232_pocketbeagle2_a53_defconfig"
|
||||
BOOTFS_TYPE="fat"
|
||||
TIBOOT3_BOOTCONFIG="am6232_pocketbeagle2_r5_defconfig"
|
||||
TIBOOT3_FILE="tiboot3-am62x-hs-fs-evm.bin"
|
||||
DEFAULT_CONSOLE="serial"
|
||||
KERNEL_TARGET="edge"
|
||||
KERNEL_TEST_TARGET="edge"
|
||||
SERIALCON="ttyS2"
|
||||
ATF_BOARD="lite"
|
||||
SRC_EXTLINUX="yes"
|
||||
SRC_CMDLINE="root=/dev/mmcblk1p2 rootwait console=ttyS2,115200n8"
|
||||
BOOT_FDT_FILE="ti/k3-am6232-pocketbeagle2.dtb"
|
||||
OPTEE_PLATFORM="k3-am62x"
|
||||
|
||||
#Until PB2 goes upstream, use this branch
|
||||
function post_family_config_branch_edge__pocketbeagle2_use_beagle_kernel_uboot() {
|
||||
display_alert "$BOARD" " beagleboard (next branch) u-boot and kernel overrides for $BOARD / $BRANCH" "info"
|
||||
|
||||
declare -g KERNELSOURCE="https://github.com/beagleboard/linux" # BeagleBoard kernel
|
||||
declare -g KERNEL_MAJOR_MINOR="6.12"
|
||||
declare -g KERNELBRANCH="branch:v6.12.24-ti-arm64-r42"
|
||||
declare -g LINUXFAMILY="k3-beagle" # Separate kernel package from the regular `k3` family
|
||||
|
||||
declare -g BOOTSOURCE="https://github.com/beagleboard/u-boot" # BeagleBoard u-boot
|
||||
declare -g BOOTBRANCH="branch:v2025.04-pocketbeagle2"
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
#Texas Instruments AM62 dual core 1GB USB2 DDR4
|
||||
|
||||
BOARD_NAME="PocketBeagle 2"
|
||||
BOARDFAMILY="k3"
|
||||
BOARD_MAINTAINER="Grippy98"
|
||||
BOOTCONFIG="am6232_pocketbeagle2_a53_defconfig"
|
||||
BOOTFS_TYPE="fat"
|
||||
BOOT_FDT_FILE="k3-am6232-pocketbeagle2.dts"
|
||||
TIBOOT3_BOOTCONFIG="am6232_pocketbeagle2_r5_defconfig"
|
||||
TIBOOT3_FILE="tiboot3-am62x-hs-fs-evm.bin"
|
||||
DEFAULT_CONSOLE="serial"
|
||||
KERNEL_TARGET="edge"
|
||||
KERNEL_TEST_TARGET="edge"
|
||||
SERIALCON="ttyS2"
|
||||
ATF_BOARD="lite"
|
||||
|
||||
#Until PB2 goes upstream, use this branch
|
||||
function post_family_config_branch_edge__pocketbeagle2_use_beagle_kernel_uboot() {
|
||||
display_alert "$BOARD" " beagleboard (next branch) u-boot and kernel overrides for $BOARD / $BRANCH" "info"
|
||||
|
||||
declare -g KERNELSOURCE="https://github.com/beagleboard/linux" # BeagleBoard kernel
|
||||
declare -g KERNEL_MAJOR_MINOR="6.12"
|
||||
declare -g KERNELBRANCH="branch:v6.12.13-ti-arm64-r24"
|
||||
declare -g LINUXFAMILY="k3-beagle" # Separate kernel package from the regular `k3` family
|
||||
|
||||
declare -g BOOTSOURCE="https://github.com/beagleboard/u-boot" # BeagleBoard u-boot
|
||||
declare -g BOOTBRANCH="branch:v2025.01-pocketbeagle2"
|
||||
}
|
||||
117
config/boards/qcom-robotics-rb5.conf
Normal file
117
config/boards/qcom-robotics-rb5.conf
Normal file
@@ -0,0 +1,117 @@
|
||||
# Qualcomm Robotics RB5 Configuration
|
||||
declare -g BOARD_NAME="Qualcomm Robotics RB5"
|
||||
declare -g BOARD_MAINTAINER="FantasyGmm"
|
||||
declare -g BOARDFAMILY="sm8250"
|
||||
declare -g KERNEL_TARGET="current,edge"
|
||||
declare -g KERNEL_TEST_TARGET="edge"
|
||||
declare -g EXTRAWIFI="no"
|
||||
declare -g BOOTCONFIG="none"
|
||||
declare -g IMAGE_PARTITION_TABLE="gpt"
|
||||
# declare -g -a ABL_DTB_LIST=("qrb5165-rb5")
|
||||
|
||||
# Use the full firmware, complete linux-firmware plus Armbian's (for qcom/a650_sqe.fw)
|
||||
declare -g BOARD_FIRMWARE_INSTALL="-full"
|
||||
|
||||
declare -g SERIALCON="${SERIALCON:-tty1}"
|
||||
declare -g GRUB_CMDLINE_LINUX_DEFAULT="clk_ignore_unused pd_ignore_unused arm64.nopauth efi=noruntime console=ttyMSM0,115200n8 pcie_pme=nomsi"
|
||||
declare -g BOOT_FDT_FILE="qcom/qrb5165-rb5.dtb"
|
||||
declare -g UEFI_PART_ALIGN="4096"
|
||||
enable_extension "grub"
|
||||
enable_extension "grub-with-dtb" # important, puts the whole DTB handling in place.
|
||||
|
||||
function qcom-robotics-rb5_is_userspace_supported() {
|
||||
[[ "${RELEASE}" == "bookworm" ]] && return 0
|
||||
[[ "${RELEASE}" == "jammy" ]] && return 0
|
||||
[[ "${RELEASE}" == "noble" ]] && return 0
|
||||
[[ "${RELEASE}" == "trixie" ]] && return 0
|
||||
return 1
|
||||
}
|
||||
|
||||
function post_family_tweaks_bsp__qcom-robotics-rb5_add_services() {
|
||||
if ! qcom-robotics-rb5_is_userspace_supported; then
|
||||
if [[ "${RELEASE}" != "" ]]; then
|
||||
display_alert "Missing userspace for ${BOARD}" "${RELEASE} does not have the userspace necessary to support the ${BOARD}" "warn"
|
||||
fi
|
||||
return 0
|
||||
fi
|
||||
|
||||
display_alert "$BOARD" "Add services" "info"
|
||||
|
||||
# Bluetooth MAC addr setup service
|
||||
mkdir -p $destination/usr/local/bin/
|
||||
mkdir -p $destination/usr/lib/systemd/system/
|
||||
install -Dm655 $SRC/packages/bsp/generate-bt-mac-addr/bt-fixed-mac.sh $destination/usr/local/bin/
|
||||
install -Dm644 $SRC/packages/bsp/generate-bt-mac-addr/bt-fixed-mac.service $destination/usr/lib/systemd/system/
|
||||
}
|
||||
|
||||
function post_family_tweaks__qcom-robotics-rb5_enable_services() {
|
||||
if ! qcom-robotics-rb5_is_userspace_supported; then
|
||||
if [[ "${RELEASE}" != "" ]]; then
|
||||
display_alert "Missing userspace for ${BOARD}" "${RELEASE} does not have the userspace necessary to support the ${BOARD}" "warn"
|
||||
fi
|
||||
return 0
|
||||
fi
|
||||
|
||||
display_alert "$BOARD" "Enable services" "info"
|
||||
|
||||
chroot_sdcard systemctl enable bt-fixed-mac.service
|
||||
return 0
|
||||
}
|
||||
|
||||
function post_family_tweaks__qcom-robotics-rb5_extra_packages() {
|
||||
if ! qcom-robotics-rb5_is_userspace_supported; then
|
||||
if [[ "${RELEASE}" != "" ]]; then
|
||||
display_alert "Missing userspace for ${BOARD}" "${RELEASE} does not have the userspace necessary to support the ${BOARD}" "warn"
|
||||
fi
|
||||
return 0
|
||||
fi
|
||||
|
||||
if [[ "${RELEASE}" == "jammy" ]] || [[ "${RELEASE}" == "noble" ]]; then
|
||||
display_alert "Adding qcom-mainline PPA" "${BOARD}" "info"
|
||||
do_with_retries 3 chroot_sdcard add-apt-repository ppa:liujianfeng1994/qcom-mainline --yes --no-update
|
||||
fi
|
||||
|
||||
if [[ "${RELEASE}" == "noble" ]]; then
|
||||
display_alert "Adding Mesa PPA For Ubuntu " "${BOARD}" "info"
|
||||
do_with_retries 3 chroot_sdcard add-apt-repository ppa:oibaf/graphics-drivers --yes --no-update
|
||||
fi
|
||||
|
||||
do_with_retries 3 chroot_sdcard_apt_get_update
|
||||
do_with_retries 3 chroot_sdcard_apt_get_install vulkan-tools mesa-vulkan-drivers btop mtools zstd
|
||||
|
||||
if [[ "${RELEASE}" == "noble" ]]; then
|
||||
do_with_retries 3 chroot_sdcard_apt_get_install qbootctl
|
||||
fi
|
||||
|
||||
if [[ "${DESKTOP_ENVIRONMENT}" == "kde-plasma" ]]; then
|
||||
display_alert "Adding Extra KDE Package" "${BOARD}" "info"
|
||||
do_with_retries 3 chroot_sdcard_apt_get_install plasma-workspace-wayland plasma-desktop plasma-systemmonitor plasma-nm kde-standard kde-spectacle kinfocenter kscreen krfb kfind filelight \
|
||||
dolphin clinfo vulkan-tools wayland-utils
|
||||
fi
|
||||
|
||||
if [[ "${RELEASE}" == "noble" ]]; then
|
||||
chroot_sdcard systemctl enable qbootctl.service
|
||||
fi
|
||||
chroot_sdcard systemctl enable bt-fixed-mac.service
|
||||
|
||||
# No driver support for suspend
|
||||
chroot_sdcard systemctl mask suspend.target
|
||||
}
|
||||
|
||||
function post_family_tweaks_bsp__qcom-robotics-rb5_bsp_firmware_in_initrd() {
|
||||
display_alert "Adding to bsp-cli" "${BOARD}: firmware in initrd" "info"
|
||||
declare file_added_to_bsp_destination # Will be filled in by add_file_from_stdin_to_bsp_destination
|
||||
# Using Elish's firmware for now
|
||||
add_file_from_stdin_to_bsp_destination "/etc/initramfs-tools/hooks/qcom-robotics-rb5-firmware" <<- 'FIRMWARE_HOOK'
|
||||
#!/bin/bash
|
||||
[[ "$1" == "prereqs" ]] && exit 0
|
||||
. /usr/share/initramfs-tools/hook-functions
|
||||
for f in /lib/firmware/qcom/sm8250/Thundercomm/RB5/* ; do
|
||||
add_firmware "${f#/lib/firmware/}"
|
||||
done
|
||||
add_firmware "qcom/sm8250/a650_zap.mbn" # Extra one for dpu
|
||||
add_firmware "qcom/a650_sqe.fw" # Extra one for dpu
|
||||
add_firmware "qcom/a650_gmu.bin" # Extra one for gpu
|
||||
FIRMWARE_HOOK
|
||||
run_host_command_logged chmod -v +x "${file_added_to_bsp_destination}"
|
||||
}
|
||||
@@ -16,9 +16,9 @@ function post_family_config__quartz64_a_use_mainline_uboot() {
|
||||
display_alert "$BOARD" "Using mainline U-Boot for $BOARD / $BRANCH" "info"
|
||||
|
||||
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ Mainline U-Boot
|
||||
declare -g BOOTBRANCH="tag:v2024.07"
|
||||
declare -g BOOTPATCHDIR="v2024.07/board_${BOARD}"
|
||||
# Don't set BOOTDIR, allow shared U-Boot source directory for disk space efficiency
|
||||
declare -g BOOTBRANCH="tag:v2025.04"
|
||||
declare -g BOOTPATCHDIR="v2025.04"
|
||||
declare -g BOOTDELAY=1 # Wait for UART interrupt to enter UMS/RockUSB mode etc
|
||||
|
||||
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin"
|
||||
|
||||
@@ -30,3 +30,65 @@ function post_family_config__quartz64_a_use_mainline_uboot() {
|
||||
dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none
|
||||
}
|
||||
}
|
||||
|
||||
# Quartz64a's OTG port is the BLACK one, on top of the USB3 port. Use an USB-A cable; not all cables work.
|
||||
function pre_config_uboot_target__quartz64a_patch_uboot_dtsi_for_ums() {
|
||||
display_alert "u-boot for ${BOARD}" "u-boot: add to u-boot dtsi for UMS" "info" # avoid a patch, just append to the dtsi file
|
||||
cat <<- UBOOT_BOARD_DTSI_OTG >> arch/arm/dts/rk3566-quartz64-a-u-boot.dtsi
|
||||
&usb_host0_xhci { dr_mode = "otg"; };
|
||||
UBOOT_BOARD_DTSI_OTG
|
||||
}
|
||||
|
||||
# "rockchip-common: boot SD card first, then NVMe, then SATA, then USB, then mmc"
|
||||
# On quartz64a, mmc0 is the eMMC, mmc1 is the SD card slot
|
||||
function pre_config_uboot_target__quartz64a_patch_rockchip_common_boot_order() {
|
||||
declare -a rockchip_uboot_targets=("mmc1" "nvme" "scsi" "usb" "mmc0" "pxe" "dhcp" "spi") # for future make-this-generic delight
|
||||
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: adjust boot order to '${rockchip_uboot_targets[*]}'" "info"
|
||||
sed -i -e "s/#define BOOT_TARGETS.*/#define BOOT_TARGETS \"${rockchip_uboot_targets[*]}\"/" include/configs/rockchip-common.h
|
||||
regular_git diff -u include/configs/rockchip-common.h || true
|
||||
}
|
||||
|
||||
# A better equivalent to patching a defconfig, do changes to .config via code.
|
||||
# For UMS/RockUSB to work in u-boot, &usb_host0_xhci { dr_mode = "otg" } is required. See 0002-board-rockchip-ODROID-M1-override-kernel-DT-for-xhci-otg-dr_mode.patch
|
||||
function post_config_uboot_target__extra_configs_for_quartz64a() {
|
||||
[[ "${BRANCH}" == "edge" || "${BRANCH}" == "current" ]] || return 0
|
||||
|
||||
display_alert "u-boot for ${BOARD}" "u-boot: enable preboot & flash leds in preboot" "info"
|
||||
run_host_command_logged scripts/config --enable CONFIG_USE_PREBOOT
|
||||
run_host_command_logged scripts/config --set-str CONFIG_PREBOOT "'echo armbian leds; led diy-led on; led work-led on; sleep 0.1; led diy-led off; led work-led off; sleep 0.1; led diy-led on;'" # double quote
|
||||
|
||||
display_alert "u-boot for ${BOARD}" "u-boot: enable EFI debugging command" "info"
|
||||
run_host_command_logged scripts/config --enable CMD_EFIDEBUG
|
||||
run_host_command_logged scripts/config --enable CMD_NVEDIT_EFI
|
||||
|
||||
display_alert "u-boot for ${BOARD}" "u-boot: enable more compression support" "info"
|
||||
run_host_command_logged scripts/config --enable CONFIG_LZO
|
||||
run_host_command_logged scripts/config --enable CONFIG_BZIP2
|
||||
run_host_command_logged scripts/config --enable CONFIG_ZSTD
|
||||
|
||||
display_alert "u-boot for ${BOARD}" "u-boot: enable gpio LED support" "info"
|
||||
run_host_command_logged scripts/config --enable CONFIG_LED
|
||||
run_host_command_logged scripts/config --enable CONFIG_LED_GPIO
|
||||
|
||||
display_alert "u-boot for ${BOARD}" "u-boot: enable networking cmds" "info"
|
||||
run_host_command_logged scripts/config --enable CONFIG_CMD_NFS
|
||||
run_host_command_logged scripts/config --enable CONFIG_CMD_WGET
|
||||
run_host_command_logged scripts/config --enable CONFIG_CMD_DNS
|
||||
run_host_command_logged scripts/config --enable CONFIG_PROT_TCP
|
||||
run_host_command_logged scripts/config --enable CONFIG_PROT_TCP_SACK
|
||||
|
||||
display_alert "u-boot for ${BOARD}" "u-boot: enable more cmdline commands" "info" # for extra compat with eg HAOS
|
||||
run_host_command_logged scripts/config --enable CONFIG_CMD_SQUASHFS
|
||||
run_host_command_logged scripts/config --enable CONFIG_CMD_SETEXPR
|
||||
run_host_command_logged scripts/config --enable CONFIG_CMD_FILEENV # added via cmd-fileenv-read-string-from-file-into-env.patch
|
||||
run_host_command_logged scripts/config --enable CONFIG_CMD_CAT
|
||||
run_host_command_logged scripts/config --enable CONFIG_CMD_XXD
|
||||
|
||||
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enabling UMS/RockUSB Gadget functionality" "info"
|
||||
declare -a enable_configs=("CONFIG_CMD_USB_MASS_STORAGE" "CONFIG_USB_GADGET" "USB_GADGET_DOWNLOAD" "CONFIG_USB_FUNCTION_ROCKUSB" "CONFIG_USB_FUNCTION_ACM" "CONFIG_CMD_ROCKUSB" "CONFIG_CMD_USB_MASS_STORAGE")
|
||||
for config in "${enable_configs[@]}"; do
|
||||
run_host_command_logged scripts/config --enable "${config}"
|
||||
done
|
||||
# Auto-enabled by the above, force off...
|
||||
run_host_command_logged scripts/config --disable USB_FUNCTION_FASTBOOT
|
||||
}
|
||||
|
||||
@@ -9,3 +9,35 @@ BOOT_LOGO="desktop"
|
||||
BOOT_FDT_FILE="rockchip/rk3528-radxa-e20c.dtb"
|
||||
BOOT_SCENARIO="spl-blobs"
|
||||
IMAGE_PARTITION_TABLE="gpt"
|
||||
|
||||
function post_family_tweaks_bsp__enable_leds_radxa-e20c() {
|
||||
display_alert "Creating board support LEDs config for $BOARD"
|
||||
cat <<- EOF > "${destination}"/etc/armbian-leds.conf
|
||||
[/sys/class/leds/lan-led]
|
||||
trigger=netdev
|
||||
interval=50
|
||||
brightness=1
|
||||
link=1
|
||||
tx=1
|
||||
rx=1
|
||||
device_name=end1
|
||||
|
||||
[/sys/class/leds/mmc1::]
|
||||
trigger=mmc1
|
||||
brightness=1
|
||||
|
||||
[/sys/class/leds/sys-led]
|
||||
trigger=heartbeat
|
||||
brightness=1
|
||||
invert=0
|
||||
|
||||
[/sys/class/leds/wan-led]
|
||||
trigger=netdev
|
||||
interval=50
|
||||
brightness=1
|
||||
link=1
|
||||
tx=1
|
||||
rx=1
|
||||
device_name=enp1s0
|
||||
EOF
|
||||
}
|
||||
|
||||
25
config/boards/radxa-nio-12l.conf
Normal file
25
config/boards/radxa-nio-12l.conf
Normal file
@@ -0,0 +1,25 @@
|
||||
# Mediatek MT8395 quad core 4GB 8GB 16GB
|
||||
BOARD_NAME="Radxa Nio 12L"
|
||||
BOARDFAMILY="genio"
|
||||
BOARD_MAINTAINER="HeyMeco"
|
||||
KERNEL_TARGET="collabora"
|
||||
KERNEL_TEST_TARGET="collabora"
|
||||
BOOT_FDT_FILE="mediatek/mt8395-radxa-nio-12l.dtb"
|
||||
enable_extension "grub-with-dtb"
|
||||
HAS_VIDEO_OUTPUT="yes"
|
||||
|
||||
# Post-config function for vendor branch
|
||||
function post_family_config__nio12l_vendor_setup() {
|
||||
if [[ "${BRANCH}" == "vendor" ]]; then
|
||||
display_alert "Setting up Genio-Firmware package for ${BOARD}" "${RELEASE}///${BOARD}" "info"
|
||||
add_packages_to_image "linux-firmware-mediatek-genio" "ubuntu-dev-tools" "ubuntu-desktop"
|
||||
fi
|
||||
}
|
||||
|
||||
# Post-config function for collabora branch
|
||||
function post_family_config__nio12l_collabora_setup() {
|
||||
if [[ "${BRANCH}" == "collabora" ]]; then
|
||||
display_alert "Setting up Firmware-Full for ${BOARD}" "${RELEASE}///${BOARD}" "info"
|
||||
declare -g BOARD_FIRMWARE_INSTALL="-full"
|
||||
fi
|
||||
}
|
||||
@@ -3,7 +3,7 @@ BOARD_NAME="Radxa ZERO 3"
|
||||
BOARDFAMILY="rk35xx"
|
||||
BOARD_MAINTAINER=""
|
||||
BOOTCONFIG="radxa-zero3-rk3566_defconfig"
|
||||
KERNEL_TARGET="vendor,edge"
|
||||
KERNEL_TARGET="vendor,current,edge"
|
||||
KERNEL_TEST_TARGET="vendor"
|
||||
FULL_DESKTOP="yes"
|
||||
BOOT_LOGO="desktop"
|
||||
@@ -12,13 +12,33 @@ IMAGE_PARTITION_TABLE="gpt"
|
||||
BOOT_SCENARIO="spl-blobs"
|
||||
BOOTFS_TYPE="fat" # Only for vendor/legacy
|
||||
|
||||
function post_family_config_branch_edge__use_mainline_dtb_name() {
|
||||
|
||||
AIC8800_TYPE="sdio"
|
||||
enable_extension "radxa-aic8800"
|
||||
|
||||
function post_family_config__use_mainline_uboot_except_vendor() {
|
||||
# use mainline u-boot for _current_ and _edge_
|
||||
if [[ "$BRANCH" != "current" && "$BRANCH" != "edge" ]]; then
|
||||
return 0
|
||||
fi
|
||||
unset BOOT_FDT_FILE # boot.scr will use whatever u-boot detects and sets 'fdtfile' to
|
||||
unset BOOTFS_TYPE # mainline u-boot can boot ext4 directly
|
||||
BOOTCONFIG="radxa-zero-3-rk3566_defconfig"
|
||||
BOOTSOURCE="https://github.com/u-boot/u-boot"
|
||||
BOOTBRANCH="tag:v2025.04"
|
||||
BOOTPATCHDIR="v2025.04"
|
||||
|
||||
UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB ROCKCHIP_TPL=$RKBIN_DIR/$DDR_BLOB;;u-boot-rockchip.bin"
|
||||
|
||||
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd
|
||||
|
||||
function write_uboot_platform() {
|
||||
dd if=$1/u-boot-rockchip.bin of=$2 seek=64 conv=notrunc status=none
|
||||
}
|
||||
}
|
||||
|
||||
# Override family config for this board; let's avoid conditionals in family config.
|
||||
function post_family_config__radxa-zero3_use_vendor_uboot() {
|
||||
function post_family_config_branch_vendor__radxa-zero3_use_vendor_uboot() {
|
||||
BOOTSOURCE='https://github.com/radxa/u-boot.git'
|
||||
BOOTBRANCH='branch:rk35xx-2024.01'
|
||||
BOOTPATCHDIR="u-boot-radxa-latest"
|
||||
@@ -30,19 +50,4 @@ function post_family_config__radxa-zero3_use_vendor_uboot() {
|
||||
function write_uboot_platform() {
|
||||
dd if=$1/u-boot-rockchip.bin of=$2 seek=64 conv=notrunc status=none
|
||||
}
|
||||
}
|
||||
|
||||
function post_family_config_branch_edge__radxa-zero3_use_mainline_uboot() {
|
||||
BOOTCONFIG="radxa-zero-3-rk3566_defconfig"
|
||||
BOOTSOURCE="https://github.com/u-boot/u-boot"
|
||||
BOOTBRANCH="tag:v2024.10"
|
||||
BOOTPATCHDIR="v2024.10"
|
||||
|
||||
UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB ROCKCHIP_TPL=$RKBIN_DIR/$DDR_BLOB;;u-boot-rockchip.bin"
|
||||
|
||||
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd
|
||||
|
||||
function write_uboot_platform() {
|
||||
dd if=$1/u-boot-rockchip.bin of=$2 seek=64 conv=notrunc status=none
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,7 +5,7 @@ BOARD_MAINTAINER="ZazaBR amazingfate catalinii vamzii"
|
||||
BOOTCONFIG="rock-3a-rk3568_defconfig"
|
||||
BOOTCONFIG_SATA="rock-3a-sata-rk3568_defconfig"
|
||||
KERNEL_TARGET="current,edge,vendor"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
KERNEL_TEST_TARGET="current,vendor"
|
||||
FULL_DESKTOP="yes"
|
||||
BOOT_LOGO="desktop"
|
||||
BOOT_FDT_FILE="rockchip/rk3568-rock-3a.dtb"
|
||||
@@ -15,14 +15,24 @@ BOOT_SPI_RKSPI_LOADER="yes"
|
||||
IMAGE_PARTITION_TABLE="gpt"
|
||||
BOOTFS_TYPE="fat"
|
||||
|
||||
function post_family_config_branch_edge__rock-3a_use_mainline_uboot() {
|
||||
function post_family_config__rock-3a_use_mainline_uboot_except_vendor_and_add_sata_target() {
|
||||
display_alert "$BOARD" "Configuring ($BOARD) standard and sata uboot target map" "info"
|
||||
UBOOT_TARGET_MAP="
|
||||
BL31=$RKBIN_DIR/$BL31_BLOB $BOOTCONFIG spl/u-boot-spl.bin u-boot.dtb u-boot.itb;;idbloader.img u-boot.itb rkspi_loader.img
|
||||
BL31=$RKBIN_DIR/$BL31_BLOB $BOOTCONFIG_SATA spl/u-boot-spl.bin u-boot.dtb u-boot.itb;; rkspi_loader_sata.img"
|
||||
|
||||
# use mainline uboot for _current_ and _edge_
|
||||
if [[ "$BRANCH" != "current" && "$BRANCH" != "edge" ]]; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
display_alert "$BOARD" "Mainline U-Boot overrides for $BOARD - $BRANCH" "info"
|
||||
unset BOOTFS_TYPE # fixes armbian-install and unneeded for modern uboot anyway
|
||||
declare -g BOOTCONFIG="rock-3a-rk3568_defconfig"
|
||||
declare -g BOOTDELAY=1
|
||||
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot"
|
||||
declare -g BOOTBRANCH="tag:v2025.01"
|
||||
declare -g BOOTPATCHDIR="v2025.01"
|
||||
declare -g BOOTBRANCH="tag:v2025.04"
|
||||
declare -g BOOTPATCHDIR="v2025.04"
|
||||
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
|
||||
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
|
||||
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already
|
||||
@@ -37,16 +47,7 @@ function post_family_config_branch_edge__rock-3a_use_mainline_uboot() {
|
||||
}
|
||||
}
|
||||
|
||||
function post_family_config__rock3a_uboot_add_sata_target() {
|
||||
display_alert "$BOARD" "Configuring ($BOARD) standard and sata uboot target map" "info"
|
||||
|
||||
UBOOT_TARGET_MAP="
|
||||
BL31=$RKBIN_DIR/$BL31_BLOB $BOOTCONFIG spl/u-boot-spl.bin u-boot.dtb u-boot.itb;;idbloader.img u-boot.itb rkspi_loader.img
|
||||
BL31=$RKBIN_DIR/$BL31_BLOB $BOOTCONFIG_SATA spl/u-boot-spl.bin u-boot.dtb u-boot.itb;; rkspi_loader_sata.img"
|
||||
}
|
||||
|
||||
function post_uboot_custom_postprocess__create_sata_spi_image() {
|
||||
|
||||
display_alert "$BOARD" "Create rkspi_loader_sata.img" "info"
|
||||
|
||||
dd if=/dev/zero of=rkspi_loader_sata.img bs=1M count=0 seek=16
|
||||
|
||||
@@ -2,15 +2,14 @@
|
||||
BOARD_NAME="Rock 4SE"
|
||||
BOARDFAMILY="rockchip64"
|
||||
BOARD_MAINTAINER=""
|
||||
BOOTBRANCH_BOARD="tag:v2023.10-rc2"
|
||||
#BOOTCONFIG="rock-4se-rk3399_defconfig" ## irony being we chose mainline uboot because of support for this board but its broken
|
||||
BOOTCONFIG="rock-pi-4-rk3399_defconfig"
|
||||
BOOTPATCHDIR='v2023.10-rc2'
|
||||
BOOTPATCHDIR="v2025.04"
|
||||
BOOTBRANCH_BOARD="tag:v2025.04"
|
||||
BOOTCONFIG="rock-4se-rk3399_defconfig"
|
||||
KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
FULL_DESKTOP="yes"
|
||||
BOOT_LOGO="desktop"
|
||||
BOOT_FDT_FILE="rockchip/rk3399-rock-pi-4b.dtb"
|
||||
BOOT_FDT_FILE="rockchip/rk3399-rock-4se.dtb"
|
||||
BOOT_SCENARIO="spl-blobs"
|
||||
BOOT_SUPPORT_SPI="yes"
|
||||
BL31_BLOB="rk33/rk3399_bl31_v1.36.elf"
|
||||
|
||||
@@ -8,3 +8,7 @@ KERNEL_TEST_TARGET="current"
|
||||
DEFAULT_CONSOLE="serial"
|
||||
MODULES_BLACKLIST="rockchipdrm analogix_dp dw_mipi_dsi dw_hdmi gpu_sched lima"
|
||||
HAS_VIDEO_OUTPUT="no"
|
||||
BOOTBRANCH_BOARD="tag:v2025.01"
|
||||
BOOTPATCHDIR="v2025.01"
|
||||
BOOT_SCENARIO="binman"
|
||||
|
||||
|
||||
@@ -11,11 +11,11 @@ KERNEL_TARGET="current"
|
||||
BOOT_FDT_FILE="rockchip/rk3308-sakurapi-rk3308b.dtb"
|
||||
MODULES_BLACKLIST="analogix_dp dw_mipi_dsi dw_hdmi gpu_sched lima hantro_vpu panfrost"
|
||||
HAS_VIDEO_OUTPUT="no"
|
||||
BOOTBRANCH_BOARD="tag:v2022.04"
|
||||
BOOTPATCHDIR="u-boot-rockchip64-v2022.04"
|
||||
BOOTBRANCH_BOARD="tag:v2025.04"
|
||||
BOOTPATCHDIR="v2025.04"
|
||||
IMAGE_PARTITION_TABLE="gpt"
|
||||
|
||||
BOOT_SCENARIO="only-blobs"
|
||||
BOOT_SCENARIO="binman"
|
||||
BL31_BLOB="rk33/rk3308_bl31_v2.26.elf"
|
||||
DDR_BLOB="rk33/rk3308_ddr_589MHz_uart2_m1_v1.30.bin"
|
||||
MINILOADER_BLOB="rk33/rk3308_miniloader_sd_nand_v1.13.bin"
|
||||
|
||||
@@ -13,3 +13,5 @@ KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
SERIALCON="ttyS2"
|
||||
ATF_BOARD="lite"
|
||||
OPTEE_ARGS="CFG_TEE_CORE_LOG_LEVEL=1"
|
||||
OPTEE_PLATFORM="k3-am62x"
|
||||
|
||||
@@ -14,3 +14,5 @@ KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
SERIALCON="ttyS2"
|
||||
ATF_BOARD="lite"
|
||||
OPTEE_ARGS=""
|
||||
OPTEE_PLATFORM="k3-am64x"
|
||||
|
||||
@@ -14,3 +14,5 @@ KERNEL_TEST_TARGET="current"
|
||||
SERIALCON="ttyS2"
|
||||
ATF_BOARD="generic"
|
||||
ATF_K3_USART_OFFSET="K3_USART=0x8"
|
||||
OPTEE_ARGS="CFG_CONSOLE_UART=0x8"
|
||||
OPTEE_PLATFORM="k3-j784s4"
|
||||
|
||||
@@ -14,3 +14,5 @@ KERNEL_TEST_TARGET="current"
|
||||
SERIALCON="ttyS2"
|
||||
ATF_BOARD="j784s4"
|
||||
ATF_K3_USART_OFFSET="K3_USART=0x8"
|
||||
OPTEE_ARGS="CFG_CONSOLE_UART=0x8"
|
||||
OPTEE_PLATFORM="k3-j784s4"
|
||||
|
||||
@@ -16,3 +16,5 @@ KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
SERIALCON="ttyS2"
|
||||
ATF_BOARD="generic"
|
||||
OPTEE_ARGS=""
|
||||
OPTEE_PLATFORM="k3-j721e"
|
||||
|
||||
17
config/boards/smart-am40.csc
Normal file
17
config/boards/smart-am40.csc
Normal file
@@ -0,0 +1,17 @@
|
||||
# Rockchip RK3399 hexa core 4GB SoC eMMC GBE USB3 WiFi/BT
|
||||
BOARD_NAME="SMART AM40"
|
||||
BOARDFAMILY="rockchip64"
|
||||
BOARD_MAINTAINER=""
|
||||
BOOTCONFIG="am40-rk3399_defconfig"
|
||||
KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
MODULES_CURRENT="extcon-usbc-virtual-pd"
|
||||
MODULES_EDGE="extcon-usbc-virtual-pd"
|
||||
FULL_DESKTOP="yes"
|
||||
BOOT_LOGO="desktop"
|
||||
BOOT_FDT_FILE="rockchip/rk3399-am40.dtb"
|
||||
BOOTBRANCH_BOARD="tag:v2025.04"
|
||||
BOOTPATCHDIR="v2025.04"
|
||||
BOOT_SCENARIO="binman"
|
||||
SRC_EXTLINUX="yes"
|
||||
SRC_CMDLINE="console=ttyS2,1500000 console=tty0"
|
||||
@@ -15,7 +15,6 @@ function post_family_tweaks__station_m1() {
|
||||
display_alert "$BOARD" "Installing board tweaks" "info"
|
||||
|
||||
cp -R $SRC/packages/blobs/rtl8723bt_fw/* $SDCARD/lib/firmware/rtl_bt/
|
||||
cp -R $SRC/packages/blobs/station/firmware/* $SDCARD/lib/firmware/
|
||||
}
|
||||
|
||||
# Mainline U-Boot
|
||||
|
||||
@@ -12,14 +12,6 @@ BOOT_SOC="rk3588"
|
||||
IMAGE_PARTITION_TABLE="gpt"
|
||||
declare -g UEFI_EDK2_BOARD_ID="station-m3" # This _only_ used for uefi-edk2-rk3588 extension
|
||||
|
||||
function post_family_tweaks__station_m3() {
|
||||
display_alert "$BOARD" "Installing board tweaks" "info"
|
||||
|
||||
cp -R $SRC/packages/blobs/rtl8723bt_fw/* $SDCARD/lib/firmware/rtl_bt/
|
||||
cp -R $SRC/packages/blobs/station/firmware/* $SDCARD/lib/firmware/
|
||||
return 0
|
||||
}
|
||||
|
||||
function post_family_tweaks__station-m3_naming_audios() {
|
||||
display_alert "$BOARD" "Renaming station-m3 audios" "info"
|
||||
|
||||
|
||||
@@ -13,12 +13,3 @@ BOOT_SCENARIO="tpl-spl-blob"
|
||||
SRC_EXTLINUX="yes"
|
||||
SRC_CMDLINE="console=ttyS2,1500000 console=tty0"
|
||||
ASOUND_STATE="asound.state.station-p1"
|
||||
|
||||
function post_family_tweaks__station_p1() {
|
||||
display_alert "$BOARD" "Installing board tweaks" "info"
|
||||
|
||||
cp -R $SRC/packages/blobs/rtl8723bt_fw/* $SDCARD/lib/firmware/rtl_bt/
|
||||
cp -R $SRC/packages/blobs/station/firmware/* $SDCARD/lib/firmware/
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
BOARD_NAME="Station P2"
|
||||
BOARDFAMILY="rockchip64"
|
||||
BOOT_SOC="rk3568"
|
||||
BOOTCONFIG="roc-pc-rk3568_defconfig"
|
||||
BOARD_MAINTAINER=""
|
||||
KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
@@ -11,23 +12,6 @@ BOOT_FDT_FILE="rockchip/rk3568-roc-pc.dtb"
|
||||
ASOUND_STATE="asound.state.station-p2"
|
||||
IMAGE_PARTITION_TABLE="gpt"
|
||||
|
||||
# Mainline U-Boot
|
||||
function post_family_config__station_p2_use_mainline_uboot() {
|
||||
display_alert "$BOARD" "Using mainline U-Boot for $BOARD / $BRANCH" "info"
|
||||
|
||||
declare -g BOOTCONFIG="generic-rk3568_defconfig" # Use generic defconfig which should boot all RK3568 boards
|
||||
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ Mainline U-Boot
|
||||
declare -g BOOTBRANCH="tag:v2024.07"
|
||||
declare -g BOOTPATCHDIR="v2024.07/board_${BOARD}"
|
||||
# Don't set BOOTDIR, allow shared U-Boot source directory for disk space efficiency
|
||||
|
||||
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin"
|
||||
|
||||
# Disable stuff from rockchip64_common; we're using binman here which does all the work already
|
||||
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd
|
||||
|
||||
# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go
|
||||
function write_uboot_platform() {
|
||||
dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none
|
||||
}
|
||||
}
|
||||
BOOT_SCENARIO="binman"
|
||||
BOOTBRANCH_BOARD="tag:v2025.04"
|
||||
BOOTPATCHDIR="v2025.04"
|
||||
|
||||
@@ -27,8 +27,8 @@ enable_extension "grub-with-dtb" # important, puts the whole DTB handling in pla
|
||||
declare -g BOARD_FIRMWARE_INSTALL="-full"
|
||||
|
||||
function post_family_config_branch_sc8280xp__jhovolds_wip_kernel() {
|
||||
declare -g KERNEL_MAJOR_MINOR="6.13" # Major and minor versions of this kernel.
|
||||
declare -g KERNELBRANCH='branch:wip/sc8280xp-6.13' # @TODO: this is down to 23 patches, from hundreds back in the day. Considering merging this with default arm64 uefi kernel
|
||||
declare -g KERNEL_MAJOR_MINOR="6.15" # Major and minor versions of this kernel.
|
||||
declare -g KERNELBRANCH='branch:wip/sc8280xp-6.15' # @TODO: this is up to 47 patches, from 28 around 6.13; wait a bit until speculating about merging with uefi-arm64
|
||||
declare -g KERNELSOURCE='https://github.com/jhovold/linux.git'
|
||||
declare -g LINUXCONFIG="linux-${ARCH}-${BRANCH}" # for this board: linux-arm64-sc8280xp
|
||||
display_alert "Set up jhovold's kernel ${KERNELBRANCH} for" "${BOARD}" "info"
|
||||
|
||||
@@ -9,8 +9,8 @@ FULL_DESKTOP="yes"
|
||||
BOOT_LOGO="desktop"
|
||||
BOOT_FDT_FILE="rockchip/rk3399-tinker-2.dtb"
|
||||
SERIALCON="ttyS2"
|
||||
BOOT_SCENARIO="spl-blobs" # 'blobless' also works; but some RAM issues found; see rk33/rk3399_ddr_800MHz_v1.27.bin in rockchip64_common.inc
|
||||
BOOT_SCENARIO="binman" # 'blobless' also works; but some RAM issues found; see rk33/rk3399_ddr_800MHz_v1.27.bin in rockchip64_common.inc
|
||||
BOARD_FIRMWARE_INSTALL="-full" # Install full firmware, for rtl8822ce firmware and others
|
||||
BOOTBRANCH="tag:v2021.07" # v2021.07 ...
|
||||
BOOTBRANCH="tag:v2025.04" # v2025.04 ...
|
||||
BOOTPATCHDIR='legacy/u-boot-tinkerboard2' # ... with _only_ the patches we need for TB2, not the default rockchip64
|
||||
DDR_BLOB="rk33/rk3399_ddr_800MHz_v1.27.bin" # Different blob for TB2
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
declare -g BOARD_NAME="UEFI x86"
|
||||
declare -g BOARDFAMILY="uefi-x86"
|
||||
declare -g BOARD_MAINTAINER="rpardini"
|
||||
declare -g KERNEL_TARGET="legacy,current,edge"
|
||||
declare -g KERNEL_TARGET="legacy,current,edge,cloud"
|
||||
declare -g KERNEL_TEST_TARGET="current"
|
||||
declare -g SERIALCON="tty1"
|
||||
declare -g BOOT_LOGO=desktop
|
||||
|
||||
35
config/boards/visionfive2.csc
Normal file
35
config/boards/visionfive2.csc
Normal file
@@ -0,0 +1,35 @@
|
||||
# RISC-V StarFive Visionfive V2
|
||||
BOARD_NAME="VisionFive2"
|
||||
BOARDFAMILY="starfive2"
|
||||
BOARD_MAINTAINER="libiunc"
|
||||
KERNEL_TARGET="vendor"
|
||||
BOOT_FDT_FILE="starfive/jh7110-starfive-visionfive-2-v1.3b.dtb"
|
||||
SRC_EXTLINUX="yes"
|
||||
SRC_CMDLINE="console=ttyS0,115200n8 console=tty0 earlycon=sbi rootflags=data=writeback stmmaceth=chain_mode:1 rw"
|
||||
BOOTCONFIG=none
|
||||
|
||||
function post_family_tweaks__visionfive2_uenv() {
|
||||
# rpardini: uEnv.txt is needed to re-enable distroboot-like behaviour on the board's SPI u-boot
|
||||
display_alert "$BOARD" "creating uEnv.txt" "info"
|
||||
cat <<- UENV_SCRIPT_HEADER > "${SDCARD}/boot/uEnv.txt"
|
||||
fdt_high=0xffffffffffffffff
|
||||
initrd_high=0xffffffffffffffff
|
||||
|
||||
kernel_addr_r=0x44000000
|
||||
kernel_comp_addr_r=0x90000000
|
||||
kernel_comp_size=0x10000000
|
||||
|
||||
fdt_addr_r=0x48000000
|
||||
ramdisk_addr_r=0x48100000
|
||||
|
||||
# Move distro to first boot to speed up booting
|
||||
boot_targets=distro mmc1 dhcp
|
||||
|
||||
distro_bootpart=1
|
||||
|
||||
# Fix missing bootcmd
|
||||
bootcmd=run bootcmd_distro
|
||||
UENV_SCRIPT_HEADER
|
||||
|
||||
return 0
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
# RISC-V StarFive Visionfive V2
|
||||
BOARD_NAME="VisionFive2"
|
||||
BOARDFAMILY="starfive2"
|
||||
BOARD_MAINTAINER=""
|
||||
KERNEL_TARGET="edge"
|
||||
BOOT_FDT_FILE="starfive/jh7110-visionfive-v2.dtb"
|
||||
SRC_EXTLINUX="yes"
|
||||
SRC_CMDLINE="console=ttyS0,115200n8 console=tty0 earlycon=sbi rootflags=data=writeback stmmaceth=chain_mode:1 rw"
|
||||
BOOTCONFIG=none
|
||||
|
||||
function post_family_tweaks__visionfive2_uenv() {
|
||||
# rpardini: uEnv.txt is needed to re-enable distroboot-like behaviour on the board's SPI u-boot
|
||||
display_alert "$BOARD" "creating uEnv.txt" "info"
|
||||
cat <<- UENV_SCRIPT_HEADER > "${SDCARD}/boot/uEnv.txt"
|
||||
fdt_high=0xffffffffffffffff
|
||||
initrd_high=0xffffffffffffffff
|
||||
|
||||
kernel_addr_r=0x44000000
|
||||
kernel_comp_addr_r=0x90000000
|
||||
kernel_comp_size=0x10000000
|
||||
|
||||
fdt_addr_r=0x48000000
|
||||
ramdisk_addr_r=0x48100000
|
||||
|
||||
# Move distro to first boot to speed up booting
|
||||
boot_targets=distro mmc1 dhcp
|
||||
|
||||
distro_bootpart=1
|
||||
|
||||
# Fix missing bootcmd
|
||||
bootcmd=run bootcmd_distro
|
||||
UENV_SCRIPT_HEADER
|
||||
|
||||
return 0
|
||||
}
|
||||
@@ -2,9 +2,10 @@
|
||||
BOARD_NAME="Youyeetoo R1 v3"
|
||||
BOARDFAMILY="rockchip-rk3588"
|
||||
BOARD_MAINTAINER="SuperKali"
|
||||
BOOTCONFIG="generic-rk3588_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
|
||||
BOOTCONFIG="youyeetoo-r1-rk3588s_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
|
||||
BOOT_SOC="rk3588"
|
||||
KERNEL_TARGET="current,edge,vendor"
|
||||
KERNEL_TARGET="vendor,current,edge"
|
||||
KERNEL_TEST_TARGET="vendor,edge"
|
||||
FULL_DESKTOP="yes"
|
||||
BOOT_LOGO="desktop"
|
||||
IMAGE_PARTITION_TABLE="gpt"
|
||||
@@ -34,11 +35,11 @@ function post_family_tweaks__youyeetoo_r1_naming_udev_network_interfaces() {
|
||||
function post_family_config__youyeetoo_r1_use_mainline_uboot() {
|
||||
display_alert "$BOARD" "Using mainline (next branch) U-Boot for $BOARD / $BRANCH" "info"
|
||||
|
||||
declare -g BOOTCONFIG="generic-rk3588_defconfig" # Use generic defconfig which should boot all RK3588 boards
|
||||
declare -g BOOTCONFIG="youyeetoo-r1-rk3588s_defconfig" # Use generic defconfig which should boot all RK3588 boards
|
||||
declare -g BOOTDELAY=1 # Wait for UART interrupt to enter UMS/RockUSB mode etc
|
||||
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ Mainline U-Boot
|
||||
declare -g BOOTBRANCH="tag:v2025.01"
|
||||
declare -g BOOTPATCHDIR="v2025.01"
|
||||
declare -g BOOTBRANCH="tag:v2025.04"
|
||||
declare -g BOOTPATCHDIR="v2025.04"
|
||||
# Don't set BOOTDIR, allow shared U-Boot source directory for disk space efficiency
|
||||
|
||||
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin"
|
||||
|
||||
@@ -3,80 +3,539 @@
|
||||
# Please edit /boot/armbianEnv.txt to set supported parameters
|
||||
#
|
||||
|
||||
setenv load_addr "0x300000"
|
||||
# default values
|
||||
setenv overlay_error "false"
|
||||
setenv rootdev "/dev/mmcblk0p1"
|
||||
setenv rootfstype "ext4"
|
||||
setenv verbosity "1"
|
||||
# NOTE
|
||||
# If you intend to use 'outside' of 'global' variables from U-Boot, make sure that you do not change them!
|
||||
# The boot logic will attempt a list of 'boot_targets' that all might rely on (environment) variables that
|
||||
# have been set by U-Boot, either compile-time or as part of U-Boot's default 'bootcmd'.
|
||||
# Any variable that this bootscript uses needs to be set explicitly and not conflict with any pre-set variables.
|
||||
# Variables that we might change will be saved in preset_x and variables we use will be copied into l_x.
|
||||
|
||||
# default environment variables
|
||||
setenv align_overlap_oboe_avoidance "on"
|
||||
setenv align_to "0x00001000"
|
||||
setenv console "both"
|
||||
setenv docker_optimizations "on"
|
||||
setenv earlycon "off"
|
||||
setenv emmc_fix "off"
|
||||
setenv spi_workaround "off"
|
||||
setenv ethaddr "00:50:43:84:fb:2f"
|
||||
setenv eth1addr "00:50:43:25:fb:84"
|
||||
setenv eth2addr "00:50:43:84:25:2f"
|
||||
setenv eth3addr "00:50:43:0d:19:18"
|
||||
setenv ethaddr "00:50:43:84:fb:2f"
|
||||
setenv exit_on_critical_errors "on"
|
||||
setenv fdt_extrasize "0x00010000"
|
||||
setenv kver
|
||||
setenv load_addr_calc
|
||||
setenv overlay_error "false"
|
||||
setenv preset_fdtdir "${fdtdir}"
|
||||
setenv preset_fdtfile "${fdtfile}"
|
||||
setenv preset_kernel_comp_addr_r "${kernel_comp_addr_r}"
|
||||
setenv preset_kernel_comp_size "${kernel_comp_size}"
|
||||
setenv rootdev "/dev/mmcblk${devnum}p${distro_bootpart}"
|
||||
setenv rootfstype "ext4"
|
||||
setenv spi_workaround "off"
|
||||
setenv vendor "marvell"
|
||||
setenv verbosity "1"
|
||||
|
||||
echo "Boot script loaded from ${devtype}"
|
||||
# load addresses
|
||||
setenv load_addr "0x00300000"
|
||||
setenv fdt_addr_r "0x02040000" # max size 256 KiB (=dtb+dto+fdt_extrasize)
|
||||
setenv kernel_addr_r "0x02080000" # max size 16 MiB
|
||||
setenv ramdisk_addr_r "0x03080000"
|
||||
|
||||
if load ${devtype} ${devnum} ${load_addr} ${prefix}armbianEnv.txt; then
|
||||
env import -t ${load_addr} ${filesize}
|
||||
# environment run variables
|
||||
setenv func_align_addr_next '
|
||||
test "${align_overlap_oboe_avoidance}" = "on" && setexpr l_addr_next ${l_addr_next} + 1 ;
|
||||
setexpr modulo ${l_addr_next} % ${align_to} ;
|
||||
if itest ${modulo} -gt 0 ; then
|
||||
setexpr l_addr_next ${l_addr_next} / ${align_to} ;
|
||||
setexpr l_addr_next ${l_addr_next} + 1 ;
|
||||
setexpr l_addr_next ${l_addr_next} * ${align_to} ;
|
||||
fi'
|
||||
setenv func_inform 'test "${verbosity}" = "" || itest ${verbosity} -gt 0 && echo "${l_message}"'
|
||||
setenv func_warn 'echo "** WARNING: ${l_message}"'
|
||||
setenv func_critical_error '
|
||||
echo "!! CRITICAL: ${l_message}" ;
|
||||
if test "${exit_on_critical_errors}" = "on" ; then
|
||||
false ;
|
||||
else
|
||||
true ;
|
||||
fi'
|
||||
|
||||
# set some defaults in case there are no pre-sets
|
||||
if test "${envfile}" = "" ; then
|
||||
setenv l_envfile 'armbianEnv.txt'
|
||||
else
|
||||
setenv l_envfile "${envfile}"
|
||||
fi
|
||||
|
||||
setenv bootargs "console=ttyS0,115200 root=${rootdev} rootwait rootfstype=${rootfstype} ubootdev=${devtype} scandelay loglevel=${verbosity} usb-storage.quirks=${usbstoragequirks} ${extraargs}"
|
||||
echo "Boot script loaded from ${devtype} ${devnum}:${distro_bootpart}."
|
||||
|
||||
load ${devtype} ${devnum} ${fdt_addr_r} ${prefix}dtb/${fdtfile}
|
||||
load ${devtype} ${devnum} ${ramdisk_addr_r} ${prefix}uInitrd
|
||||
load ${devtype} ${devnum} ${kernel_addr_r} ${prefix}zImage
|
||||
# load (merge) on-disk environment
|
||||
setenv l_file "${prefix}${l_envfile}"
|
||||
if test -e ${devtype} ${devnum}:${distro_bootpart} ${l_file} ; then
|
||||
if load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${l_file} ; then
|
||||
if env import -t ${load_addr} ${filesize} ; then
|
||||
setenv l_message "Loaded/imported environment ${l_file} to/from ${load_addr}."
|
||||
run func_inform
|
||||
else
|
||||
setenv l_message "Could not import environment ${l_file} - using default environment!"
|
||||
run func_warn
|
||||
fi
|
||||
else
|
||||
setenv l_message "Could not load environment ${l_file} - using default environment!"
|
||||
run func_warn
|
||||
fi
|
||||
fi
|
||||
|
||||
fdt addr ${fdt_addr_r}
|
||||
fdt resize 65536
|
||||
for overlay_file in ${overlays}; do
|
||||
if load ${devtype} ${devnum} ${load_addr} ${prefix}dtb/overlay/${overlay_prefix}-${overlay_file}.dtbo; then
|
||||
echo "Applying kernel provided DT overlay ${overlay_prefix}-${overlay_file}.dtbo"
|
||||
fdt apply ${load_addr} || setenv overlay_error "true"
|
||||
fi
|
||||
done
|
||||
for overlay_file in ${user_overlays}; do
|
||||
if load ${devtype} ${devnum} ${load_addr} ${prefix}overlay-user/${overlay_file}.dtbo; then
|
||||
echo "Applying user provided DT overlay ${overlay_file}.dtbo"
|
||||
fdt apply ${load_addr} || setenv overlay_error "true"
|
||||
fi
|
||||
done
|
||||
if test "${overlay_error}" = "true"; then
|
||||
echo "Error applying DT overlays, restoring original DT"
|
||||
load ${devtype} ${devnum} ${fdt_addr_r} ${prefix}dtb/${fdtfile}
|
||||
# compose kernel commandline options (bootargs)
|
||||
setenv consoleargs
|
||||
if test "${console}" = "display" || test "${console}" = "both" ; then
|
||||
setenv consoleargs "console=tty1"
|
||||
fi
|
||||
if test "${console}" = "serial" || test "${console}" = "both" ; then
|
||||
setenv consoleargs "console=ttyS0,115200 ${consoleargs}"
|
||||
fi
|
||||
if test "${earlycon}" = "on" ; then
|
||||
setenv consoleargs "earlycon ${consoleargs}"
|
||||
fi
|
||||
if test "${bootlogo}" = "true" ; then
|
||||
setenv consoleargs "splash plymouth.ignore-serial-consoles ${consoleargs}"
|
||||
else
|
||||
if test -e ${devtype} ${devnum} ${prefix}dtb/overlay/${overlay_prefix}-fixup.scr; then
|
||||
load ${devtype} ${devnum} ${load_addr} ${prefix}dtb/overlay/${overlay_prefix}-fixup.scr
|
||||
echo "Applying kernel provided DT fixup script (${overlay_prefix}-fixup.scr)"
|
||||
source ${load_addr}
|
||||
setenv consoleargs "splash=verbose ${consoleargs}"
|
||||
fi
|
||||
|
||||
part uuid ${devtype} ${devnum}:${distro_bootpart} l_ubootpart
|
||||
|
||||
setenv bootargs "root=${rootdev} rootfstype=${rootfstype} rootwait ${consoleargs} consoleblank=0 loglevel=${verbosity} ubootpart=${l_ubootpart} usb-storage.quirks=${usbstoragequirks} ${extraargs} ${extraboardargs}"
|
||||
|
||||
if test "${docker_optimizations}" = "on" ; then
|
||||
setenv bootargs "${bootargs} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory"
|
||||
fi
|
||||
|
||||
if test "${vendor}" = "allwinner" ; then
|
||||
if test "${disp_mem_reserves}" = "off" ; then
|
||||
setenv bootargs "${bootargs} sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16"
|
||||
fi
|
||||
if test -e ${devtype} ${devnum} ${prefix}fixup.scr; then
|
||||
load ${devtype} ${devnum} ${load_addr} ${prefix}fixup.scr
|
||||
echo "Applying user provided fixup script (fixup.scr)"
|
||||
source ${load_addr}
|
||||
fi
|
||||
if test "${vendor}" = "marvell" ; then
|
||||
# nothing here yet
|
||||
fi
|
||||
if test "${vendor}" = "rockchip" ; then
|
||||
# nothing here yet
|
||||
fi
|
||||
|
||||
# check if we are requested (or are able to) use load address calculation
|
||||
if test "${load_addr_calc}" = "" ; then
|
||||
if setexpr load_addr_calc 1 + 1 ; then
|
||||
setenv load_addr_calc 'on'
|
||||
else
|
||||
setenv load_addr_calc 'off'
|
||||
fi
|
||||
fi
|
||||
if test "${load_addr_calc}" != "on" ; then
|
||||
setenv load_addr_calc 'off'
|
||||
|
||||
setenv l_message "Using fixed load addresses."
|
||||
run func_inform
|
||||
setenv l_message " fdt_addr_r: ${fdt_addr_r}"
|
||||
run func_inform
|
||||
setenv l_message " kernel_addr_r: ${kernel_addr_r}"
|
||||
run func_inform
|
||||
setenv l_message " ramdisk_addr_r: ${ramdisk_addr_r}"
|
||||
run func_inform
|
||||
fi
|
||||
|
||||
if test "${kver}" != "" ; then
|
||||
setenv l_message "Using version override ${kver} for image loading."
|
||||
run func_inform
|
||||
fi
|
||||
|
||||
# set a default kernel image type in case 'setexpr' not available
|
||||
if test "${cpu}" = "armv8" ; then
|
||||
# aarch64 uses a flat kernel image
|
||||
setenv l_kernel_image_type "flat"
|
||||
setenv l_bootfile "Image${kver}"
|
||||
else
|
||||
if test "${cpu}" = "armv7" ; then
|
||||
# aarch32 mostly uses compressed kernel image
|
||||
setenv l_kernel_image_type "compressed"
|
||||
setenv l_bootfile "zImage${kver}"
|
||||
else
|
||||
# per default use compressed kernel image
|
||||
setenv l_kernel_image_type "compressed"
|
||||
setenv l_bootfile "zImage${kver}"
|
||||
fi
|
||||
fi
|
||||
|
||||
setenv l_ramdiskfile "uInitrd${kver}"
|
||||
|
||||
# $fdtdir:
|
||||
# some boards use "${prefix}dtb/" others use "${prefix}dtb/${vendor}/" as base location for the DT files
|
||||
# user can also override by specifying an fdtdir=... in armbianEnv.txt
|
||||
# try any U-Boot built-in (or pre-set) fdtdir as last resort
|
||||
# $fdtfile:
|
||||
# some boards use a "filename.dts" others use "${vendor}/filename.dts"
|
||||
# user can also override by specifying an fdtfile=... in armbianEnv.txt
|
||||
# strip any leading path components and try any U-Boot built-in (or pre-set) fdtfile as last resort
|
||||
|
||||
setenv l_fdtfile_basename
|
||||
setexpr l_fdtfile_basename sub ".*/" "" "${fdtfile}"
|
||||
if test "${l_fdtfile_basename}" = "" ; then
|
||||
setenv l_fdtfile_basename "${fdtfile}"
|
||||
fi
|
||||
|
||||
setenv l_fdtdir "${fdtdir}"
|
||||
setenv l_fdtfile "${l_fdtfile_basename}"
|
||||
if test -e ${devtype} ${devnum}:${distro_bootpart} "${l_fdtdir}/${l_fdtfile}" ; then
|
||||
true
|
||||
else
|
||||
setenv l_fdtdir "${prefix}dtb${kver}/${vendor}"
|
||||
setenv l_fdtfile "${l_fdtfile_basename}"
|
||||
if test -e ${devtype} ${devnum}:${distro_bootpart} "${l_fdtdir}/${l_fdtfile}" ; then
|
||||
true
|
||||
else
|
||||
setenv l_fdtdir "${prefix}dtb${kver}"
|
||||
setenv l_fdtfile "${l_fdtfile_basename}"
|
||||
if test -e ${devtype} ${devnum}:${distro_bootpart} "${l_fdtdir}/${l_fdtfile}" ; then
|
||||
true
|
||||
else
|
||||
setenv l_fdtdir "${fdtdir}"
|
||||
setenv l_fdtfile "${fdtfile}"
|
||||
if test -e ${devtype} ${devnum}:${distro_bootpart} "${l_fdtdir}/${l_fdtfile}" ; then
|
||||
true
|
||||
else
|
||||
setenv l_fdtdir "${preset_fdtdir}"
|
||||
setenv l_fdtfile "${preset_fdtfile}"
|
||||
if test -e ${devtype} ${devnum}:${distro_bootpart} "${l_fdtdir}/${l_fdtfile}" ; then
|
||||
true
|
||||
else
|
||||
false
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if itest $? -ne 0 ; then
|
||||
setenv l_message "Cannot find DT!"
|
||||
run func_critical_error || exit
|
||||
fi
|
||||
|
||||
# load the device tree blob
|
||||
setenv l_file "${l_fdtdir}/${l_fdtfile}"
|
||||
if load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${l_file} ; then
|
||||
setenv l_message "Loaded DT ${l_file} to ${fdt_addr_r}."
|
||||
run func_inform
|
||||
|
||||
setenv l_fdt_filesize ${filesize}
|
||||
fdt addr ${fdt_addr_r}
|
||||
fdt resize ${fdt_extrasize}
|
||||
else
|
||||
setenv l_message "Could not load DT ${l_file}!"
|
||||
run func_critical_error || exit
|
||||
fi
|
||||
|
||||
# process "overlays=..." from $l_envfile
|
||||
if test "${overlays}" != "" ; then
|
||||
setenv l_message "Loading kernel provided DT overlay(s) from ${l_fdtdir}/overlay to ${load_addr} .."
|
||||
run func_inform
|
||||
|
||||
# as some families offer overlays with different (or no) prefixes, try to guess the most commonly seen ones
|
||||
# just changing overlay_prefix= will not work for all available overlays, as some have prefixes and some do not
|
||||
|
||||
setenv each_overlay
|
||||
for each_overlay in ${overlays} ; do
|
||||
setenv l_overlay_prefix "${overlay_prefix}"
|
||||
setenv l_file "${l_fdtdir}/overlay/${l_overlay_prefix}-${each_overlay}.dtbo"
|
||||
if test -e ${devtype} ${devnum}:${distro_bootpart} ${l_file} ; then
|
||||
true
|
||||
else
|
||||
setenv l_overlay_prefix "${vendor}"
|
||||
setenv l_file "${l_fdtdir}/overlay/${l_overlay_prefix}-${each_overlay}.dtbo"
|
||||
if test -e ${devtype} ${devnum}:${distro_bootpart} ${l_file} ; then
|
||||
setenv l_message "Found DT overlay ${l_overlay_prefix}-${each_overlay} instead of ${overlay_prefix}-${each_overlay} in ${l_fdtdir}/overlay!"
|
||||
run func_warn
|
||||
setenv l_message "Consider setting overlay_prefix=${l_overlay_prefix} in your ${l_envfile}."
|
||||
run func_inform
|
||||
true
|
||||
else
|
||||
setenv l_overlay_prefix "${vendor}-${soc}"
|
||||
setenv l_file "${l_fdtdir}/overlay/${l_overlay_prefix}-${each_overlay}.dtbo"
|
||||
if test -e ${devtype} ${devnum}:${distro_bootpart} ${l_file} ; then
|
||||
setenv l_message "Found DT overlay ${l_overlay_prefix}-${each_overlay} instead of ${overlay_prefix}-${each_overlay} in ${l_fdtdir}/overlay!"
|
||||
run func_warn
|
||||
setenv l_message "Consider setting overlay_prefix=${l_overlay_prefix} in your ${l_envfile}."
|
||||
run func_inform
|
||||
true
|
||||
else
|
||||
false
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if itest $? -eq 0 ; then
|
||||
if load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${l_file} ; then
|
||||
if fdt apply ${load_addr} ; then
|
||||
setenv l_message "Applied DT overlay ${each_overlay} (${l_file})."
|
||||
run func_inform
|
||||
else
|
||||
setenv overlay_error "true"
|
||||
setenv l_message "Could NOT apply DT overlay ${each_overlay} (${l_file})!"
|
||||
run func_warn
|
||||
fi
|
||||
else
|
||||
setenv l_message "Could NOT load DT overlay ${each_overlay} (${l_file})!"
|
||||
run func_warn
|
||||
fi
|
||||
else
|
||||
setenv l_message "Could NOT find DT overlay ${each_overlay}!"
|
||||
run func_warn
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# process "user_overlays=..." from $l_envfile
|
||||
if test "${user_overlays}" != "" ; then
|
||||
setenv l_message "Loading user provided DT overlay(s) from ${prefix}overlay-user to ${load_addr} .."
|
||||
run func_inform
|
||||
|
||||
setenv each_user_overlay
|
||||
for each_user_overlay in ${user_overlays} ; do
|
||||
setenv l_file "${prefix}overlay-user/${each_user_overlay}.dtbo"
|
||||
if test -e ${devtype} ${devnum}:${distro_bootpart} ${l_file} ; then
|
||||
if load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${l_file} ; then
|
||||
if fdt apply ${load_addr} ; then
|
||||
setenv l_message "Applied user DT overlay ${each_user_overlay} (${l_file})."
|
||||
run func_inform
|
||||
else
|
||||
setenv overlay_error "true"
|
||||
setenv l_message "Could NOT apply user DT overlay ${each_user_overlay} (${l_file})!"
|
||||
run func_warn
|
||||
fi
|
||||
else
|
||||
setenv l_message "Could NOT load user DT overlay ${each_user_overlay} (${l_file})!"
|
||||
run func_warn
|
||||
fi
|
||||
else
|
||||
setenv l_message "Could NOT find user DT overlay ${each_user_overlay} (${l_file})!"
|
||||
run func_warn
|
||||
fi
|
||||
done
|
||||
fi
|
||||
if test "${overlay_error}" = "true" ; then
|
||||
setenv l_message "Could not apply DT overlays!"
|
||||
run func_warn
|
||||
|
||||
setenv l_file "${l_fdtdir}/${l_fdtfile}"
|
||||
if load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${l_file} ; then
|
||||
setenv l_message "Loaded original DT ${l_file} to ${fdt_addr_r}."
|
||||
run func_inform
|
||||
|
||||
setenv l_fdt_filesize ${filesize}
|
||||
fdt addr ${fdt_addr_r}
|
||||
fdt resize ${fdt_extrasize}
|
||||
else
|
||||
setenv l_message "Could not load original DT ${l_file}!"
|
||||
run func_critical_error || exit
|
||||
fi
|
||||
else
|
||||
# process any available DT fixup scripts
|
||||
setenv l_fixup_scripts "${prefix}fixup.scr"
|
||||
if test "${overlay_prefix}" != "" ; then
|
||||
setenv l_fixup_scripts "${l_fdtdir}/overlay/${overlay_prefix}-fixup.scr ${l_fixup_scripts}"
|
||||
fi
|
||||
if test "${vendor}" != "" ; then
|
||||
if test "${vendor}" != "${overlay_prefix}" ; then
|
||||
setenv l_fixup_scripts "${l_fdtdir}/overlay/${vendor}-fixup.scr ${l_fixup_scripts}"
|
||||
fi
|
||||
fi
|
||||
|
||||
setenv each_fixup_script
|
||||
for each_fixup_script in ${l_fixup_scripts} ; do
|
||||
if test -e ${devtype} ${devnum}:${distro_bootpart} ${each_fixup_script} ; then
|
||||
if load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${each_fixup_script} ; then
|
||||
if source ${load_addr} ; then
|
||||
setenv l_message "Loaded/sourced fixup script ${each_fixup_script} to/at ${load_addr}."
|
||||
run func_inform
|
||||
else
|
||||
setenv l_message "Fixup script ${each_fixup_script} returned an error!"
|
||||
run func_warn
|
||||
fi
|
||||
else
|
||||
setenv l_message "Could not load fixup script ${each_fixup_script}!"
|
||||
run func_warn
|
||||
fi
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# eMMC fix
|
||||
if test "${emmc_fix}" = "on"; then
|
||||
echo "Applying eMMC compatibility fix to the DT"
|
||||
echo "Applying eMMC compatibility fix to the DT."
|
||||
fdt rm /soc/internal-regs/sdhci@d8000/ cd-gpios
|
||||
fdt set /soc/internal-regs/sdhci@d8000/ non-removable
|
||||
fi
|
||||
|
||||
# SPI - SATA workaround
|
||||
if test "${spi_workaround}" = "on"; then
|
||||
echo "Applying SPI workaround to the DT"
|
||||
fdt addr ${fdt_addr}
|
||||
fdt resize
|
||||
echo "Applying SPI workaround to the DT."
|
||||
fdt set /soc/internal-regs/sata@e0000 status "disabled"
|
||||
fdt set /soc/internal-regs/sata@a8000 status "disabled"
|
||||
fdt set /soc/spi@10680 status "okay"
|
||||
fdt set /soc/spi@10680/spi-flash@0 status "okay"
|
||||
fi
|
||||
|
||||
bootz ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
|
||||
# resize (trim) device tree after all overlays have been applied and fixup scripts have been run
|
||||
fdt resize
|
||||
|
||||
# determine the load address for the kernel image
|
||||
if test "${load_addr_calc}" = "on" ; then
|
||||
# get the total size of the DT
|
||||
setenv l_fdt_totalsize
|
||||
fdt header get l_fdt_totalsize totalsize
|
||||
|
||||
if test "${l_fdt_totalsize}" = "" ; then
|
||||
# could not get the total size of the DT so calculate it instead
|
||||
setenv l_message "Calculating DT size."
|
||||
run func_inform
|
||||
|
||||
# 'fdt resize' will align upwards to 4k address boundary
|
||||
setexpr l_fdt_totalsize ${l_fdt_filesize} / 0x1000
|
||||
setexpr l_fdt_totalsize ${l_fdt_totalsize} + 1
|
||||
setexpr l_fdt_totalsize ${l_fdt_totalsize} * 0x1000
|
||||
if test "${fdt_extrasize}" != "" ; then
|
||||
setexpr l_fdt_totalsize ${l_fdt_totalsize} + ${fdt_extrasize}
|
||||
fi
|
||||
fi
|
||||
|
||||
setexpr l_addr_next ${fdt_addr_r} + ${l_fdt_totalsize}
|
||||
run func_align_addr_next
|
||||
|
||||
setenv l_kernel_addr_r ${l_addr_next}
|
||||
else
|
||||
setenv l_kernel_addr_r ${kernel_addr_r}
|
||||
fi
|
||||
|
||||
setenv l_file "${prefix}${l_bootfile}"
|
||||
if load ${devtype} ${devnum}:${distro_bootpart} ${l_kernel_addr_r} ${l_file} ; then
|
||||
if test "${load_addr_calc}" = "on" ; then
|
||||
setenv kernel_comp_size ${filesize}
|
||||
fi
|
||||
|
||||
setenv l_message "Loaded ${l_kernel_image_type} kernel image ${l_file} to ${l_kernel_addr_r}."
|
||||
run func_inform
|
||||
else
|
||||
if test "${load_addr_calc}" = "on" ; then
|
||||
setenv kernel_comp_addr_r "${preset_kernel_comp_addr_r}"
|
||||
setenv kernel_comp_size "${preset_kernel_comp_size}"
|
||||
fi
|
||||
setenv l_message "Could not load ${l_kernel_image_type} kernel image ${l_file}!"
|
||||
run func_critical_error || exit
|
||||
fi
|
||||
|
||||
# determine the load address for the initial ramdisk
|
||||
if test "${load_addr_calc}" = "on" ; then
|
||||
# vmlinux image + 0x38 contain magic (le-double) 'ARMd'
|
||||
setexpr l_ptr ${l_kernel_addr_r} + 0x00000038
|
||||
setexpr.w l_magic_lsw *${l_ptr}
|
||||
|
||||
setexpr l_ptr ${l_kernel_addr_r} + 0x0000003a
|
||||
setexpr.w l_magic_msw *${l_ptr}
|
||||
|
||||
if test "${l_magic_msw}${l_magic_lsw}" != "" && itest "${l_magic_msw}${l_magic_lsw}" -eq 0x644d5241 ; then
|
||||
setenv l_kernel_image_type "flat"
|
||||
else
|
||||
setenv l_kernel_image_type "compressed"
|
||||
fi
|
||||
|
||||
if test "${l_kernel_image_type}" = "flat" ; then
|
||||
# vmlinux image + 0x10 contains image_size
|
||||
setexpr l_ptr ${l_kernel_addr_r} + 0x00000010
|
||||
setexpr.l l_image_size *${l_ptr}
|
||||
|
||||
setenv l_message "Using ${l_kernel_image_type} kernel image image_size 0x${l_image_size} bytes to calculate initial ramdisk load address."
|
||||
run func_inform
|
||||
|
||||
# vmlinux image + 0x08 contains text_offset
|
||||
setexpr l_ptr ${l_kernel_addr_r} + 0x00000008
|
||||
setexpr.l l_text_offset *${l_ptr}
|
||||
|
||||
setenv l_message "Using ${l_kernel_image_type} kernel image text_offset 0x${l_text_offset} bytes to offset initial ramdisk load address."
|
||||
run func_inform
|
||||
|
||||
setexpr l_addr_next ${l_kernel_addr_r} + ${l_image_size}
|
||||
run func_align_addr_next
|
||||
|
||||
# take into account that U-Boot's booti_setup() might relocate the kernel image
|
||||
setexpr l_addr_next ${l_addr_next} + ${l_text_offset}
|
||||
else
|
||||
setexpr l_addr_next ${l_kernel_addr_r} + ${filesize}
|
||||
run func_align_addr_next
|
||||
|
||||
setenv l_message "Using ${l_kernel_image_type} kernel image filesize 0x${filesize} bytes to calculate initial ramdisk load address."
|
||||
run func_inform
|
||||
fi
|
||||
|
||||
setenv l_ramdisk_addr_r ${l_addr_next}
|
||||
else
|
||||
setenv l_ramdisk_addr_r ${ramdisk_addr_r}
|
||||
fi
|
||||
|
||||
setenv l_file "${prefix}${l_ramdiskfile}"
|
||||
if load ${devtype} ${devnum}:${distro_bootpart} ${l_ramdisk_addr_r} ${l_file} ; then
|
||||
if test "${load_addr_calc}" = "on" ; then
|
||||
setexpr l_addr_next ${l_ramdisk_addr_r} + ${filesize}
|
||||
run func_align_addr_next
|
||||
|
||||
setenv kernel_comp_addr_r ${l_addr_next}
|
||||
fi
|
||||
|
||||
setenv l_message "Loaded initial ramdisk ${l_file} to ${l_ramdisk_addr_r}."
|
||||
run func_inform
|
||||
else
|
||||
if test "${load_addr_calc}" = "on" ; then
|
||||
setenv kernel_comp_addr_r "${preset_kernel_comp_addr_r}"
|
||||
setenv kernel_comp_size "${preset_kernel_comp_size}"
|
||||
fi
|
||||
setenv l_message "Could not load initial ramdisk ${l_file}!"
|
||||
run func_critical_error || exit
|
||||
fi
|
||||
|
||||
# attempt to prepare for kernel address space randomization
|
||||
if kaslrseed ; then
|
||||
else
|
||||
setenv l_message "Not able to prepare for KASLR."
|
||||
run func_inform
|
||||
fi
|
||||
|
||||
setenv l_message "Kernel commandline arguments:"
|
||||
run func_inform
|
||||
|
||||
setenv each_bootarg
|
||||
for each_bootarg in ${bootargs} ; do
|
||||
setenv l_message " ${each_bootarg}"
|
||||
run func_inform
|
||||
done
|
||||
|
||||
if test "${l_kernel_image_type}" = "flat" ; then
|
||||
booti ${l_kernel_addr_r} ${l_ramdisk_addr_r} ${fdt_addr_r}
|
||||
else
|
||||
if test "${l_kernel_image_type}" = "compressed" ; then
|
||||
bootz ${l_kernel_addr_r} ${l_ramdisk_addr_r} ${fdt_addr_r}
|
||||
else
|
||||
# default booting command
|
||||
bootz ${l_kernel_addr_r} ${l_ramdisk_addr_r} ${fdt_addr_r}
|
||||
fi
|
||||
fi
|
||||
|
||||
# booting failed, restore environment variables that are not unique
|
||||
# to this bootmeth
|
||||
if test "${load_addr_calc}" = "on" ; then
|
||||
# restore original presets
|
||||
setenv kernel_comp_addr_r "${preset_kernel_comp_addr_r}"
|
||||
setenv kernel_comp_size "${preset_kernel_comp_size}"
|
||||
fi
|
||||
|
||||
setenv l_message "Could not boot kernel!"
|
||||
run func_critical_error || exit
|
||||
|
||||
# Recompile with:
|
||||
# mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr
|
||||
|
||||
@@ -10,7 +10,7 @@ echo "INITRD LOAD ADDRESS: ramdisk_addr_r: ${ramdisk_addr_r}"
|
||||
echo "FDT LOAD ADDRESS : fdt_addr : ${fdt_addr}"
|
||||
|
||||
# /vmlinuz and /initrd.img are standard Debian symlinks to the "latest installed kernel"
|
||||
load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} /vmlinuz
|
||||
load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} ${prefix}vmlinuz
|
||||
# Attention, this is uInitrd for uboot/ARM; there's a symlink put there by Armbian hooks
|
||||
load ${devtype} ${devnum}:${distro_bootpart} ${ramdisk_addr_r} ${prefix}uInitrd
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
bookworm
|
||||
@@ -0,0 +1,4 @@
|
||||
# install optimized browser configurations
|
||||
cp "${SRC}"/packages/blobs/desktop/chromium.conf "${destination}"/etc/armbian
|
||||
cp "${SRC}"/packages/blobs/desktop/firefox.conf "${destination}"/etc/armbian
|
||||
cp -R "${SRC}"/packages/blobs/desktop/chromium "${destination}"/etc/armbian
|
||||
12
config/desktop/trixie/appgroups/browsers/debian/postinst
Normal file
12
config/desktop/trixie/appgroups/browsers/debian/postinst
Normal file
@@ -0,0 +1,12 @@
|
||||
# overwrite stock chromium configuration
|
||||
if [ -d /etc/chromium-browser/ ]; then ln -sf /etc/armbian/chromium.conf /etc/chromium-browser/default; fi
|
||||
if [ -d /etc/chromium.d/ ]; then ln -sf /etc/armbian/chromium.conf /etc/chromium.d/chromium.conf; fi
|
||||
cp -R /etc/armbian/chromium /usr/share
|
||||
|
||||
# overwrite stock firefox configuration
|
||||
if [ -d /etc/firefox/ ]; then ln -sf /etc/armbian/firefox.conf /etc/firefox/syspref.js; fi
|
||||
if [ -d /usr/lib/firefox-esr/ ]; then
|
||||
ln -sf /etc/armbian/firefox.conf /usr/lib/firefox-esr/mozilla.cfg
|
||||
echo 'pref("general.config.obscure_value", 0);' > /usr/lib/firefox-esr/defaults/pref/local-settings.js
|
||||
echo 'pref("general.config.filename", "mozilla.cfg");' >> /usr/lib/firefox-esr/defaults/pref/local-settings.js
|
||||
fi
|
||||
2
config/desktop/trixie/appgroups/browsers/packages
Normal file
2
config/desktop/trixie/appgroups/browsers/packages
Normal file
@@ -0,0 +1,2 @@
|
||||
firefox-esr
|
||||
chromium
|
||||
1
config/desktop/trixie/appgroups/chat
Symbolic link
1
config/desktop/trixie/appgroups/chat
Symbolic link
@@ -0,0 +1 @@
|
||||
../../common/appgroups/chat
|
||||
1
config/desktop/trixie/appgroups/desktop_tools
Symbolic link
1
config/desktop/trixie/appgroups/desktop_tools
Symbolic link
@@ -0,0 +1 @@
|
||||
../../common/appgroups/desktop_tools
|
||||
1
config/desktop/trixie/appgroups/editors
Symbolic link
1
config/desktop/trixie/appgroups/editors
Symbolic link
@@ -0,0 +1 @@
|
||||
../../common/appgroups/editors
|
||||
2
config/desktop/trixie/appgroups/internet/packages
Normal file
2
config/desktop/trixie/appgroups/internet/packages
Normal file
@@ -0,0 +1,2 @@
|
||||
filezilla
|
||||
putty
|
||||
1
config/desktop/trixie/appgroups/multimedia
Symbolic link
1
config/desktop/trixie/appgroups/multimedia
Symbolic link
@@ -0,0 +1 @@
|
||||
../../common/appgroups/multimedia
|
||||
1
config/desktop/trixie/appgroups/office
Symbolic link
1
config/desktop/trixie/appgroups/office
Symbolic link
@@ -0,0 +1 @@
|
||||
../../common/appgroups/office
|
||||
4
config/desktop/trixie/appgroups/programming/packages
Normal file
4
config/desktop/trixie/appgroups/programming/packages
Normal file
@@ -0,0 +1,4 @@
|
||||
build-essential
|
||||
clang
|
||||
meld
|
||||
regexxer
|
||||
1
config/desktop/trixie/appgroups/remote_desktop
Symbolic link
1
config/desktop/trixie/appgroups/remote_desktop
Symbolic link
@@ -0,0 +1 @@
|
||||
../../common/appgroups/remote_desktop
|
||||
1
config/desktop/trixie/environments/budgie/architectures
Normal file
1
config/desktop/trixie/environments/budgie/architectures
Normal file
@@ -0,0 +1 @@
|
||||
arm64, amd64
|
||||
164
config/desktop/trixie/environments/budgie/armbian/create_desktop_package.sh
Executable file
164
config/desktop/trixie/environments/budgie/armbian/create_desktop_package.sh
Executable file
@@ -0,0 +1,164 @@
|
||||
# install lightdm greeter
|
||||
cp -R "${SRC}"/packages/blobs/desktop/lightdm "${destination}"/etc/armbian
|
||||
|
||||
# install default desktop settings
|
||||
mkdir -p "${destination}"/etc/skel
|
||||
cp -R "${SRC}"/packages/blobs/desktop/skel/. "${destination}"/etc/skel
|
||||
|
||||
#install cinnamon desktop bar icons
|
||||
mkdir -p "${destination}"/usr/share/icons/armbian
|
||||
cp "${SRC}"/packages/blobs/desktop/desktop-icons/*.png "${destination}"/usr/share/icons/armbian
|
||||
|
||||
# install wallpapers
|
||||
mkdir -p "${destination}"/usr/share/backgrounds/armbian/
|
||||
cp "${SRC}"/packages/blobs/desktop/desktop-wallpapers/*.jpg "${destination}"/usr/share/backgrounds/armbian
|
||||
|
||||
# install wallpapers
|
||||
mkdir -p "${destination}"/usr/share/backgrounds/armbian-lightdm/
|
||||
cp "${SRC}"/packages/blobs/desktop/lightdm-wallpapers/*.jpg "${destination}"/usr/share/backgrounds/armbian-lightdm
|
||||
|
||||
# install logo for login screen
|
||||
mkdir -p "${destination}"/usr/share/pixmaps/armbian
|
||||
cp "${SRC}"/packages/blobs/desktop/icons/armbian.png "${destination}"/usr/share/pixmaps/armbian
|
||||
|
||||
#generate wallpaper list for background changer
|
||||
mkdir -p "${destination}"/usr/share/cinnamon-background-properties
|
||||
cat <<EOF > "${destination}"/usr/share/cinnamon-background-properties/armbian.xml
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE wallpapers SYSTEM "cinnamon-wp-list.dtd">
|
||||
<wallpapers>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian black-pyscho</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-black-psycho.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian bluie-circle</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-blue-circle.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian blue-monday</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-blue-monday.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian blue-penguin</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-blue-penguin.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian gray-resultado</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-gray.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian green-penguin</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-green-penguin.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian green-retro</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-green-retro.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian green-wall-penguin</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-green-wall-penguin.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian 4k-neglated</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-neglated.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian neon-gray-penguin</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-neon-gray-penguin.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian plastic-love</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-plastic-love.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian purple-penguine</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-purple-penguine.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian purplepunk-resultado</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-purplepunk.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian red-penguin-dark</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-red-penguin-dark.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian red-penguin</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-red-penguin.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian light</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian18-Dre0x-Minum-light-3840x2160.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian dark</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian03-Dre0x-Minum-dark-3840x2160.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian uc</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-full-under-construction-3840-2160.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian clear</name>
|
||||
<filename>/usr/share/backgrounds/armbian/Armbian-clear-rounded-bakcground-3840-2160.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
</wallpapers>
|
||||
EOF
|
||||
156
config/desktop/trixie/environments/budgie/config_base/packages
Normal file
156
config/desktop/trixie/environments/budgie/config_base/packages
Normal file
@@ -0,0 +1,156 @@
|
||||
anacron
|
||||
apt-config-auto-update
|
||||
blueman
|
||||
bluez
|
||||
bluez-cups
|
||||
bluez-tools
|
||||
brltty
|
||||
brltty-x11
|
||||
budgie-app-launcher-applet
|
||||
budgie-applications-menu-applet
|
||||
budgie-brightness-controller-applet
|
||||
budgie-clockworks-applet
|
||||
budgie-countdown-applet
|
||||
budgie-desktop
|
||||
budgie-desktop-doc
|
||||
budgie-dropby-applet
|
||||
budgie-extras-common
|
||||
budgie-extras-daemon
|
||||
budgie-fuzzyclock-applet
|
||||
budgie-hotcorners-applet
|
||||
budgie-indicator-applet
|
||||
budgie-kangaroo-applet
|
||||
budgie-keyboard-autoswitch-applet
|
||||
budgie-network-manager-applet
|
||||
budgie-previews
|
||||
budgie-quickchar
|
||||
budgie-quicknote-applet
|
||||
budgie-recentlyused-applet
|
||||
budgie-rotation-lock-applet
|
||||
budgie-showtime-applet
|
||||
budgie-takeabreak-applet
|
||||
budgie-trash-applet
|
||||
budgie-visualspace-applet
|
||||
budgie-wallstreet
|
||||
budgie-weathershow-applet
|
||||
budgie-window-shuffler
|
||||
budgie-workspace-stopwatch-applet
|
||||
cifs-utils
|
||||
colord
|
||||
cups
|
||||
cups-bsd
|
||||
cups-client
|
||||
cups-filters
|
||||
dbus-x11
|
||||
dictionaries-common
|
||||
doc-base
|
||||
evince
|
||||
evince-common
|
||||
fontconfig
|
||||
fontconfig-config
|
||||
fonts-noto-mono
|
||||
fonts-ubuntu
|
||||
foomatic-db-compressed-ppds
|
||||
gdebi
|
||||
ghostscript-x
|
||||
gist
|
||||
gnome-screenshot
|
||||
gnome-disk-utility
|
||||
gnome-system-monitor
|
||||
gnome-terminal
|
||||
gstreamer1.0-packagekit
|
||||
gstreamer1.0-plugins-base-apps
|
||||
gstreamer1.0-pulseaudio
|
||||
gtk2-engines
|
||||
gtk2-engines-murrine
|
||||
gtk2-engines-pixbuf
|
||||
gvfs-backends
|
||||
inputattach
|
||||
inxi
|
||||
keyutils
|
||||
laptop-detect
|
||||
libatk-adaptor
|
||||
libcvc0
|
||||
libfont-afm-perl
|
||||
libfontconfig1
|
||||
libfontembed1
|
||||
libfontenc1
|
||||
libgail-common
|
||||
libgl1-mesa-dri
|
||||
libgsettings-qt1
|
||||
libgtk2.0-bin
|
||||
libnotify-bin
|
||||
libplank1
|
||||
libplank-common
|
||||
libproxy1-plugin-gsettings
|
||||
libwmf0.2-7-gtk
|
||||
libxapp1
|
||||
libxcursor1
|
||||
gdm3
|
||||
mesa-utils
|
||||
mousepad
|
||||
mousetweaks
|
||||
nemo
|
||||
nemo-data
|
||||
nemo-fileroller
|
||||
nemo-font-manager
|
||||
nemo-gtkhash
|
||||
numix-gtk-theme
|
||||
numix-icon-theme
|
||||
numix-icon-theme-circle
|
||||
openprinting-ppds
|
||||
p7zip-full
|
||||
pamix
|
||||
pasystray
|
||||
pavucontrol
|
||||
pavucontrol-qt
|
||||
pavumeter
|
||||
plank
|
||||
polkitd
|
||||
pkexec
|
||||
printer-driver-all
|
||||
profile-sync-daemon
|
||||
pulseaudio-module-bluetooth
|
||||
redshift
|
||||
samba
|
||||
smbclient
|
||||
software-properties-gtk
|
||||
spice-vdagent
|
||||
system-config-printer
|
||||
system-config-printer-common
|
||||
terminator
|
||||
tracker-extract
|
||||
tracker-miner-fs
|
||||
tree
|
||||
update-inetd
|
||||
viewnior
|
||||
wamerican
|
||||
wbrazilian
|
||||
wbritish
|
||||
wfrench
|
||||
witalian
|
||||
wportuguese
|
||||
wspanish
|
||||
wswiss
|
||||
x11-apps
|
||||
x11-utils
|
||||
x11-xserver-utils
|
||||
xapps-common
|
||||
xarchiver
|
||||
xbacklight
|
||||
xcursor-themes
|
||||
xdg-user-dirs
|
||||
xdg-user-dirs-gtk
|
||||
xfonts-100dpi
|
||||
xfonts-75dpi
|
||||
xfonts-base
|
||||
xfonts-encodings
|
||||
xfonts-scalable
|
||||
xfonts-utils
|
||||
xorg-docs-core
|
||||
xscreensaver
|
||||
xserver-xorg
|
||||
xserver-xorg-video-fbdev
|
||||
xauth
|
||||
xwallpaper
|
||||
|
||||
88
config/desktop/trixie/environments/budgie/debian/postinst
Executable file
88
config/desktop/trixie/environments/budgie/debian/postinst
Executable file
@@ -0,0 +1,88 @@
|
||||
# overwrite stock lightdm greeter configuration
|
||||
if [ -d /etc/armbian/lightdm ]; then cp -R /etc/armbian/lightdm /etc/; fi
|
||||
#if [ -f /etc/lightdm/slick-greeter.conf ]; then sed -i 's/armbian03-Dre0x-Minum-dark-blurred-3840x2160.jpg/armbian-4k-purplepunk-gauss.jpg/g' /etc/lightdm/slick-greeter.conf; fi
|
||||
|
||||
# Disable Pulseaudio timer scheduling which does not work with sndhdmi driver
|
||||
if [ -f /etc/pulse/default.pa ]; then sed "s/load-module module-udev-detect$/& tsched=0/g" -i /etc/pulse/default.pa; fi
|
||||
|
||||
##dconf desktop settings
|
||||
keys=/etc/dconf/db/local.d/00-desktop
|
||||
profile=/etc/dconf/profile/user
|
||||
|
||||
install -Dv /dev/null $keys
|
||||
install -Dv /dev/null $profile
|
||||
|
||||
# gather dconf settings
|
||||
# deconf dump org/nemo/ > nemo_backup
|
||||
# deconf dump org/budgie/ > budgie_desktop_backup
|
||||
|
||||
echo "[org/nemo/desktop]
|
||||
desktop-layout='true::false'
|
||||
font='Noto Sans UI 11'
|
||||
|
||||
[org/nemo/list-view]
|
||||
default-visible-columns=['name', 'size', 'type', 'date_modified', 'owner', 'permissions']
|
||||
|
||||
[org/nemo/preferences]
|
||||
quick-renames-with-pause-in-between=true
|
||||
show-advanced-permissions=true
|
||||
show-compact-view-icon-toolbar=false
|
||||
show-full-path-titles=true
|
||||
show-hidden-files=true
|
||||
show-home-icon-toolbar=true
|
||||
show-icon-view-icon-toolbar=false
|
||||
show-image-thumbnails='never'
|
||||
show-list-view-icon-toolbar=false
|
||||
show-new-folder-icon-toolbar=true
|
||||
show-open-in-terminal-toolbar=true
|
||||
|
||||
[org/nemo/window-state]
|
||||
geometry='800x550+550+244'
|
||||
maximized=false
|
||||
sidebar-bookmark-breakpoint=5
|
||||
|
||||
[org/gnome/desktop/background]
|
||||
color-shading-type='solid'
|
||||
picture-options='stretched'
|
||||
picture-uri='file:////usr/share/backgrounds/armbian/armbian03-Dre0x-Minum-dark-3840x2160.jpg'
|
||||
primary-color='#008094'
|
||||
|
||||
[org/gnome/desktop/interface]
|
||||
cursor-theme='DMZ-White'
|
||||
document-font-name='Noto Sans UI 11'
|
||||
font-name='Noto Sans UI 11'
|
||||
gtk-im-module='gtk-im-context-simple'
|
||||
gtk-theme='Numix'
|
||||
icon-theme='LoginIcons'
|
||||
monospace-font-name='Noto Mono 11'
|
||||
toolkit-accessibility=false
|
||||
|
||||
[org/gnome/desktop/screensaver]
|
||||
picture-uri='file:///usr/share/backgrounds/armbian-lightdm/armbian03-Dre0x-Minum-dark-blurred-3840x2160.jpg'
|
||||
|
||||
[org/cinnamon/desktop/applications/terminal]
|
||||
exec='/usr/bin/terminator'
|
||||
|
||||
[org/cinnamon/desktop/default-applications/terminal]
|
||||
exec='/usr/bin/terminator'
|
||||
|
||||
[org/gnome/settings-daemon/plugins/power]
|
||||
sleep-inactive-ac-timeout='0'
|
||||
|
||||
[org/gnome/desktop/wm/preferences]
|
||||
button-layout='appmenu:minimize,maximize,close'
|
||||
num-workspaces=2
|
||||
theme='Plata-Compact'
|
||||
titlebar-font='Noto Sans UI Bold 11'
|
||||
|
||||
[org/ubuntubudgie/budgie-wpreviews]
|
||||
allworkspaces=true
|
||||
enable-previews=true" >> $keys
|
||||
|
||||
echo "user-db:user
|
||||
system-db:local" >> $profile
|
||||
|
||||
dconf update
|
||||
|
||||
#re-compile schemas
|
||||
if [ -d /usr/share/glib-2.0/schemas ]; then glib-compile-schemas /usr/share/glib-2.0/schemas; fi
|
||||
1
config/desktop/trixie/environments/budgie/support
Normal file
1
config/desktop/trixie/environments/budgie/support
Normal file
@@ -0,0 +1 @@
|
||||
eos
|
||||
@@ -0,0 +1 @@
|
||||
arm64, amd64
|
||||
164
config/desktop/trixie/environments/cinnamon/armbian/create_desktop_package.sh
Executable file
164
config/desktop/trixie/environments/cinnamon/armbian/create_desktop_package.sh
Executable file
@@ -0,0 +1,164 @@
|
||||
# install default lightdm greeter settings
|
||||
cp -R "${SRC}"/packages/blobs/desktop/lightdm "${destination}"/etc/armbian
|
||||
|
||||
# install default desktop settings
|
||||
mkdir -p "${destination}"/etc/skel
|
||||
cp -R "${SRC}"/packages/blobs/desktop/skel/. "${destination}"/etc/skel
|
||||
|
||||
# install cinnamon desktop bar icons
|
||||
mkdir -p "${destination}"/usr/share/icons/armbian
|
||||
cp "${SRC}"/packages/blobs/desktop/desktop-icons/*.png "${destination}"/usr/share/icons/armbian
|
||||
|
||||
# install wallpapers
|
||||
mkdir -p "${destination}"/usr/share/backgrounds/armbian/
|
||||
cp "${SRC}"/packages/blobs/desktop/desktop-wallpapers/*.jpg "${destination}"/usr/share/backgrounds/armbian
|
||||
|
||||
# install lightdm wallpapers
|
||||
mkdir -p "${destination}"/usr/share/backgrounds/armbian-lightdm/
|
||||
cp "${SRC}"/packages/blobs/desktop/lightdm-wallpapers/*.jpg "${destination}"/usr/share/backgrounds/armbian-lightdm
|
||||
|
||||
# install startup icons
|
||||
mkdir -p "${destination}"/usr/share/pixmaps/armbian
|
||||
cp "${SRC}"/packages/blobs/desktop/icons/armbian.png "${destination}"/usr/share/pixmaps/armbian
|
||||
|
||||
# generate wallpaper list for background changer
|
||||
mkdir -p "${destination}"/usr/share/cinnamon-background-properties
|
||||
cat <<EOF > "${destination}"/usr/share/cinnamon-background-properties/armbian.xml
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE wallpapers SYSTEM "cinnamon-wp-list.dtd">
|
||||
<wallpapers>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian black-pyscho</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-black-psycho.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian bluie-circle</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-blue-circle.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian blue-monday</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-blue-monday.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian blue-penguin</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-blue-penguin.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian gray-resultado</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-gray.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian green-penguin</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-green-penguin.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian green-retro</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-green-retro.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian green-wall-penguin</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-green-wall-penguin.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian 4k-neglated</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-neglated.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian neon-gray-penguin</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-neon-gray-penguin.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian plastic-love</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-plastic-love.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian purple-penguine</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-purple-penguine.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian purplepunk-resultado</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-purplepunk.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian red-penguin-dark</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-red-penguin-dark.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian red-penguin</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-4k-red-penguin.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian light</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian18-Dre0x-Minum-light-3840x2160.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian dark</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian03-Dre0x-Minum-dark-3840x2160.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian uc</name>
|
||||
<filename>/usr/share/backgrounds/armbian/armbian-full-under-construction-3840-2160.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
<wallpaper deleted="false">
|
||||
<name>Armbian clear</name>
|
||||
<filename>/usr/share/backgrounds/armbian/Armbian-clear-rounded-bakcground-3840-2160.jpg</filename>
|
||||
<options>zoom</options>
|
||||
<pcolor>#ffffff</pcolor>
|
||||
<scolor>#000000</scolor>
|
||||
</wallpaper>
|
||||
</wallpapers>
|
||||
EOF
|
||||
118
config/desktop/trixie/environments/cinnamon/config_base/packages
Normal file
118
config/desktop/trixie/environments/cinnamon/config_base/packages
Normal file
@@ -0,0 +1,118 @@
|
||||
anacron
|
||||
blueman
|
||||
bluez
|
||||
bluez-cups
|
||||
bluez-tools
|
||||
brltty
|
||||
brltty-x11
|
||||
cifs-utils
|
||||
cinnamon
|
||||
cinnamon-common
|
||||
cinnamon-control-center
|
||||
cinnamon-control-center-data
|
||||
cinnamon-core
|
||||
cinnamon-desktop-data
|
||||
cinnamon-screensaver
|
||||
cinnamon-session
|
||||
cinnamon-session-common
|
||||
cinnamon-settings-daemon
|
||||
colord
|
||||
cups
|
||||
cups-bsd
|
||||
cups-client
|
||||
cups-filters
|
||||
dbus-x11
|
||||
dconf-cli
|
||||
evince
|
||||
evince-common
|
||||
fontconfig
|
||||
fontconfig-config
|
||||
fonts-noto-cjk
|
||||
fonts-ubuntu
|
||||
fonts-ubuntu-console
|
||||
foomatic-db-compressed-ppds
|
||||
gdebi
|
||||
ghostscript-x
|
||||
gir1.2-cinnamondesktop-3.0
|
||||
gir1.2-cmenu-3.0
|
||||
gir1.2-cvc-1.0
|
||||
gnome-screenshot
|
||||
gnome-disk-utility
|
||||
gnome-system-monitor
|
||||
gnome-terminal
|
||||
gstreamer1.0-packagekit
|
||||
gstreamer1.0-plugins-base-apps
|
||||
gstreamer1.0-pulseaudio
|
||||
gtk2-engines
|
||||
gtk2-engines-murrine
|
||||
gtk2-engines-pixbuf
|
||||
gvfs-backends
|
||||
inxi
|
||||
inputattach
|
||||
keyutils
|
||||
laptop-detect
|
||||
libatk-adaptor
|
||||
libcinnamon-desktop4
|
||||
libcinnamon-menu-3-0
|
||||
libcvc0
|
||||
libgl1-mesa-dri
|
||||
libgsettings-qt1
|
||||
libgtk2.0-bin
|
||||
libnotify-bin
|
||||
libxcursor1
|
||||
lightdm
|
||||
lm-sensors
|
||||
lxtask
|
||||
mesa-utils
|
||||
mousepad
|
||||
mousetweaks
|
||||
nemo
|
||||
nemo-data
|
||||
nemo-fileroller
|
||||
nemo-font-manager
|
||||
nemo-gtkhash
|
||||
numix-gtk-theme
|
||||
numix-icon-theme
|
||||
numix-icon-theme-circle
|
||||
openprinting-ppds
|
||||
p7zip-full
|
||||
pamix
|
||||
pasystray
|
||||
polkitd
|
||||
pkexec
|
||||
#printer-driver-all
|
||||
profile-sync-daemon
|
||||
pulseaudio
|
||||
pulseaudio-module-bluetooth
|
||||
redshift
|
||||
slick-greeter
|
||||
smbclient
|
||||
software-properties-gtk
|
||||
spice-vdagent
|
||||
synaptic
|
||||
system-config-printer
|
||||
system-config-printer-common
|
||||
terminator
|
||||
viewnior
|
||||
x11-apps
|
||||
x11-utils
|
||||
x11-xserver-utils
|
||||
xapps-common
|
||||
xarchiver
|
||||
xbacklight
|
||||
xcursor-themes
|
||||
xdg-user-dirs
|
||||
xdg-user-dirs-gtk
|
||||
xfonts-100dpi
|
||||
xfonts-75dpi
|
||||
xfonts-base
|
||||
xfonts-encodings
|
||||
xfonts-scalable
|
||||
xfonts-utils
|
||||
xorg-docs-core
|
||||
xscreensaver
|
||||
xsensors
|
||||
xserver-xorg
|
||||
xserver-xorg-video-fbdev
|
||||
xauth
|
||||
xwallpaper
|
||||
@@ -0,0 +1,2 @@
|
||||
gnome-software
|
||||
gnome-keyring
|
||||
133
config/desktop/trixie/environments/cinnamon/debian/postinst
Executable file
133
config/desktop/trixie/environments/cinnamon/debian/postinst
Executable file
@@ -0,0 +1,133 @@
|
||||
# overwrite stock lightdm greeter configuration
|
||||
if [ -d /etc/armbian/lightdm ]; then cp -R /etc/armbian/lightdm /etc/; fi
|
||||
|
||||
# disable Pulseaudio timer scheduling which does not work with sndhdmi driver
|
||||
if [ -f /etc/pulse/default.pa ]; then sed "s/load-module module-udev-detect$/& tsched=0/g" -i /etc/pulse/default.pa; fi
|
||||
|
||||
##dconf desktop settings
|
||||
keys=/etc/dconf/db/local.d/00-desktop
|
||||
profile=/etc/dconf/profile/user
|
||||
|
||||
install -Dv /dev/null $keys
|
||||
install -Dv /dev/null $profile
|
||||
|
||||
# gather dconf settings
|
||||
# deconf dump org/nemo/ > nemo_backup
|
||||
# deconf dump org/cinnamon/ > cinnamon_desktop_backup
|
||||
|
||||
echo "[org/nemo/list-view]
|
||||
default-visible-columns=['name', 'size', 'type', 'date_modified', 'owner', 'permissions']
|
||||
|
||||
[org/nemo/preferences]
|
||||
quick-renames-with-pause-in-between=true
|
||||
show-advanced-permissions=true
|
||||
show-compact-view-icon-toolbar=false
|
||||
show-full-path-titles=true
|
||||
show-hidden-files=true
|
||||
show-home-icon-toolbar=true
|
||||
show-icon-view-icon-toolbar=false
|
||||
show-image-thumbnails='never'
|
||||
show-list-view-icon-toolbar=false
|
||||
show-new-folder-icon-toolbar=true
|
||||
show-open-in-terminal-toolbar=true
|
||||
|
||||
[org/nemo/window-state]
|
||||
geometry='800x550+550+244'
|
||||
maximized=false
|
||||
sidebar-bookmark-breakpoint=5
|
||||
|
||||
[org/cinnamon]
|
||||
desklet-decorations=0
|
||||
desktop-effects=false
|
||||
enabled-applets=['panel1:left:0:menu@cinnamon.org:0', 'panel1:left:1:show-desktop@cinnamon.org:1', 'panel1:left:2:grouped-window-list@cinnamon.org:2', 'panel1:right:0:systray@cinnamon.org:3', 'panel1:right:1:xapp-status@cinnamon.org:4', 'panel1:right:2:notifications@cinnamon.org:5', 'panel1:right:3:printers@cinnamon.org:6', 'panel1:right:4:removable-drives@cinnamon.org:7', 'panel1:right:5:keyboard@cinnamon.org:8', 'panel1:right:6:favorites@cinnamon.org:9', 'panel1:right:7:network@cinnamon.org:10', 'panel1:right:8:sound@cinnamon.org:11', 'panel1:right:9:power@cinnamon.org:12', 'panel1:right:10:calendar@cinnamon.org:13']
|
||||
enabled-desklets=@as []
|
||||
next-applet-id=14
|
||||
panels-height=['1:33']
|
||||
panels-resizable=['1:true']
|
||||
startup-animation=false
|
||||
|
||||
[org/cinnamon/desktop/a11y/applications]
|
||||
screen-keyboard-enabled=false
|
||||
screen-reader-enabled=false
|
||||
|
||||
[org/cinnamon/desktop/a11y/mouse]
|
||||
dwell-click-enabled=false
|
||||
dwell-threshold=10
|
||||
dwell-time=1.2
|
||||
secondary-click-enabled=false
|
||||
secondary-click-time=1.2
|
||||
|
||||
[org/cinnamon/desktop/background]
|
||||
picture-options='zoom'
|
||||
picture-uri='file:///usr/share/backgrounds/armbian/armbian03-Dre0x-Minum-dark-3840x2160.jpg'
|
||||
primary-color='#456789'
|
||||
secondary-color='#FFFFFF'
|
||||
|
||||
[org/cinnamon/desktop/applications/terminal]
|
||||
exec='/usr/bin/terminator'
|
||||
|
||||
[org/cinnamon/desktop/default-applications/terminal]
|
||||
exec='/usr/bin/terminator'
|
||||
|
||||
[org/cinnamon/desktop/interface]
|
||||
clock-show-date=true
|
||||
cursor-theme='whiteglass'
|
||||
gtk-theme='Numix'
|
||||
icon-theme='Numix'
|
||||
scaling-factor=uint32 0
|
||||
toolkit-accessibility=false
|
||||
|
||||
[org/cinnamon/desktop/media-handling]
|
||||
autorun-never=false
|
||||
|
||||
[org/cinnamon/desktop/screensaver]
|
||||
picture-options='zoom'
|
||||
picture-uri='file:///usr/share/backgrounds/armbian-lightdm/armbian03-Dre0x-Minum-dark-3840x2160'
|
||||
primary-color='#456789'
|
||||
secondary-color='#FFFFFF'
|
||||
|
||||
[org/cinnamon/desktop/wm/preferences]
|
||||
num-workspaces=2
|
||||
theme='Numix'
|
||||
|
||||
[org/cinnamon/settings-daemon/peripherals/touchpad]
|
||||
disable-while-typing=true
|
||||
horiz-scroll-enabled=false
|
||||
motion-acceleration=5.4820717131474108
|
||||
motion-threshold=2
|
||||
natural-scroll=false
|
||||
scroll-method='two-finger-scrolling'
|
||||
three-finger-click=2
|
||||
two-finger-click=3
|
||||
|
||||
[org/cinnamon/settings-daemon/plugins/power]
|
||||
button-power='interactive'
|
||||
critical-battery-action='hibernate'
|
||||
idle-brightness=30
|
||||
idle-dim-time=90
|
||||
lid-close-ac-action='nothing'
|
||||
lid-close-battery-action='nothing'
|
||||
sleep-display-ac=600
|
||||
sleep-display-battery=600
|
||||
sleep-inactive-ac-timeout=0
|
||||
sleep-inactive-battery-timeout=0
|
||||
|
||||
[org/cinnamon/settings-daemon/plugins/xsettings]
|
||||
buttons-have-icons=true
|
||||
menus-have-icons=true
|
||||
|
||||
[org/cinnamon/sounds]
|
||||
login-enabled=false
|
||||
logout-enabled=false
|
||||
plug-enabled=false
|
||||
switch-enabled=false
|
||||
tile-enabled=false
|
||||
unplug-enabled=false" >> $keys
|
||||
|
||||
echo "user-db:user
|
||||
system-db:local" >> $profile
|
||||
|
||||
dconf update
|
||||
|
||||
#re-compile schemas
|
||||
if [ -d /usr/share/glib-2.0/schemas ]; then glib-compile-schemas /usr/share/glib-2.0/schemas; fi
|
||||
1
config/desktop/trixie/environments/cinnamon/support
Normal file
1
config/desktop/trixie/environments/cinnamon/support
Normal file
@@ -0,0 +1 @@
|
||||
supported
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user