Compare commits
5148 Commits
Author | SHA1 | Date | |
---|---|---|---|
ae317695e3 | |||
0db6e7569d | |||
d552acac1d | |||
02592ec291 | |||
25fcdce7d4 | |||
ef0c2265d7 | |||
0f718312f1 | |||
a260215a64 | |||
ba0a3930d6 | |||
0bbb0fcf5f | |||
1d3489445b | |||
ad4641024a | |||
0feb983a1a | |||
c52078fd01 | |||
b30a47b841 | |||
fa0ef81d15 | |||
5865e3c4e1 | |||
7cfe68d965 | |||
52f3bd158a | |||
d92137adab | |||
6e66b4e820 | |||
4c33a3aaa3 | |||
78107939de | |||
589eff7e47 | |||
73c405ae30 | |||
f208f4a123 | |||
368ade72ea | |||
cacecefb27 | |||
55471147e5 | |||
c76bfac088 | |||
8950cfb66f | |||
4af4e7f06e | |||
28dc7dce83 | |||
4323d26247 | |||
73d560a71a | |||
463fca4362 | |||
2af2f2c8ca | |||
6752b61514 | |||
9153271368 | |||
5affcaae35 | |||
8881d57531 | |||
2c7d184885 | |||
7815c074b4 | |||
23af8bac72 | |||
4f8b108288 | |||
44443696af | |||
4593d66a20 | |||
b944516f66 | |||
715d60abce | |||
1557a67c83 | |||
275f2e22a1 | |||
5033d6ce51 | |||
3c19382367 | |||
c14eb3b950 | |||
1bc578ac45 | |||
38c3ff7b6e | |||
f2ac013756 | |||
ed52e3dd9c | |||
6feb4dadd8 | |||
83d6a8a30c | |||
f44f331e16 | |||
b8302110b8 | |||
af62855ac4 | |||
9b0f933472 | |||
8a6174d6e8 | |||
9310ff4b3d | |||
a9bf88b883 | |||
198c2e63ac | |||
7ed704d73d | |||
d472c4f01e | |||
f5202a640b | |||
cc8e992fc3 | |||
23c923ba72 | |||
d3ce8c8442 | |||
ec933135ce | |||
cac0231615 | |||
96d8e43178 | |||
6eccc99b9c | |||
89463e333e | |||
00ec563342 | |||
83ea46b933 | |||
b56224408e | |||
9fe5dde68d | |||
270bb0a4c4 | |||
67d2a52214 | |||
d9642c3a64 | |||
e99c1985d5 | |||
31af70dd96 | |||
19398245b4 | |||
d06828da98 | |||
fd5d788f5e | |||
328c8bbd23 | |||
0921962e44 | |||
7fbed223c7 | |||
3b50c05bb2 | |||
8b9a3ec93a | |||
237f1789e3 | |||
3c2e287b7c | |||
f6410baaab | |||
8a77454e33 | |||
b4905625eb | |||
09e2f6e1ba | |||
d1c1c9a76e | |||
d4e140dae7 | |||
55b7263ed8 | |||
3555389a8c | |||
8417485f95 | |||
0c4ed4bd7e | |||
276d46ac05 | |||
56352e1f80 | |||
b14f3b8b0b | |||
aae7552b24 | |||
ac14a40d0e | |||
98d19572b1 | |||
e2f39e23e8 | |||
ff3c9647c3 | |||
129bc4c0e0 | |||
ab275f0915 | |||
c19d6a6ce5 | |||
8da51ca2c3 | |||
b16fda22a4 | |||
e211b9ed59 | |||
b62c1e392b | |||
6c7857411c | |||
1f21a96c84 | |||
badbcde542 | |||
e13a65c5ff | |||
447badd1cf | |||
ff423f749a | |||
125b48d1d5 | |||
c5651568ea | |||
a17242577a | |||
69d73e4d75 | |||
489c722dcc | |||
145748bf25 | |||
20cfc87ca0 | |||
565b0aada9 | |||
1ceac4efcf | |||
b8501c7c5f | |||
10a9432cc2 | |||
5b9948140f | |||
15947182fd | |||
967f862e47 | |||
3dbaf4f336 | |||
2e31ea05bb | |||
509f46953e | |||
71c6c1725e | |||
808440e6b2 | |||
ad1456f0d7 | |||
e29a6ac16a | |||
5ccce7cdc7 | |||
975a7e3ba3 | |||
64fb4a32e0 | |||
b3af349284 | |||
bd4ad6e630 | |||
6665da81ef | |||
0d9f4e9277 | |||
fd10f773db | |||
571b7b2118 | |||
eac7023f84 | |||
f08f266aa2 | |||
f94aed8773 | |||
8261d67ae7 | |||
b28b6b53cc | |||
76c4386699 | |||
c6b152a976 | |||
517546aaab | |||
8abf66e4e0 | |||
4d372c7353 | |||
328d42f2d8 | |||
8f076f2be8 | |||
60012ac64e | |||
9265f89f4e | |||
cb587a2522 | |||
df29d23ee3 | |||
45564050ec | |||
674bb3bf65 | |||
a3121b0b2f | |||
aadd1d0eaf | |||
b429c5be15 | |||
92185e373e | |||
3fcea0dfad | |||
cca6e00868 | |||
fbdeb4af75 | |||
26210fa040 | |||
b14aedc3ad | |||
f2a66d2b0c | |||
c804f31a13 | |||
f8c3442df0 | |||
af15d040e1 | |||
3076deb391 | |||
c2f6c1d544 | |||
78561f481e | |||
eb5e47dd94 | |||
142258c2f6 | |||
2d58bf6a03 | |||
96e0ce30db | |||
b592917dcf | |||
f2a2137ae2 | |||
4177bedd65 | |||
f2ba2d9421 | |||
3c2305f162 | |||
57f2188d86 | |||
6faccd1f00 | |||
e2e8ccefd7 | |||
609305fa76 | |||
729d5971d2 | |||
a711e9c44d | |||
37bec0b397 | |||
598af2e2c2 | |||
fffc9f3b9d | |||
b72b5d9528 | |||
3a2660e489 | |||
5526e68f15 | |||
21f1ccce9c | |||
ebdafdb1a7 | |||
87fe418172 | |||
142b10ee1f | |||
b29da7f79e | |||
451ef598e6 | |||
0478037e11 | |||
9eac4c9dda | |||
a913b3df90 | |||
db6c3f25f0 | |||
8d7d98166e | |||
490b1d3b94 | |||
78025f6c5c | |||
fcfa35670a | |||
e458bcd099 | |||
5ee4c12ebb | |||
4f61f56be1 | |||
65f03b7c42 | |||
c32ccb779c | |||
c764fb2012 | |||
b19946cc62 | |||
7b2a88901f | |||
903b40a8a4 | |||
9c0e14e7c4 | |||
dace2498ec | |||
367497486d | |||
70b421f3bd | |||
6e2d0c1b90 | |||
8f23b5d434 | |||
2874330828 | |||
04d025cf50 | |||
8560db6116 | |||
6044be7f9e | |||
762621f27c | |||
57c9bb0a97 | |||
9df03a168f | |||
a392b00131 | |||
7997f1ff88 | |||
fa4a74b098 | |||
19ea016910 | |||
7e5a2660bc | |||
bc4c903c1f | |||
30cf155168 | |||
5e4a26a76e | |||
810e566c80 | |||
a8dc3f58a9 | |||
2020cbb6ed | |||
19476c34b0 | |||
84133b161c | |||
593d1cf817 | |||
eda20b677f | |||
275f7ba5ac | |||
d19fa78ae7 | |||
848e30daa1 | |||
914e6b44bb | |||
bf2c693f89 | |||
9d0b7b9021 | |||
4d4a13f797 | |||
63f98f2304 | |||
7803e487bd | |||
0476332161 | |||
79a2f4767d | |||
4d543b5aa6 | |||
414d5d8698 | |||
a88921e2b0 | |||
1c9bd9ce61 | |||
328d2e2a7d | |||
3b34ef29b3 | |||
328b77a5e9 | |||
ad23778d23 | |||
c645ae069b | |||
778c8a77c1 | |||
d7e3ead835 | |||
070e79ea92 | |||
1f33762d77 | |||
5f672636d6 | |||
360035ee5b | |||
5c354b9979 | |||
76378b3c01 | |||
fb49379ed2 | |||
8c9be43271 | |||
a19b07fec1 | |||
c1b7e8a60b | |||
c796a8f238 | |||
24e52659a3 | |||
1430b3995f | |||
02b1e20f00 | |||
595d926bc2 | |||
36cc664bc7 | |||
b6b5e7fb45 | |||
a449290ca2 | |||
3891d272a0 | |||
40dc75efcb | |||
6bdaaefb30 | |||
86dbe0f307 | |||
ab0ab966f5 | |||
ce4d39d2d7 | |||
c22ebc9339 | |||
464f4d6ee2 | |||
f77f7cdf89 | |||
d10680bbbf | |||
93064ff7cd | |||
70f6d82614 | |||
8a443b9ade | |||
09bf63eacf | |||
e5845bfb2d | |||
85d3b40a19 | |||
16a70c3d40 | |||
479637d8a2 | |||
6033bdca8d | |||
7eb009a2ef | |||
e06e9197b8 | |||
efc39cbec7 | |||
7be4f30c5a | |||
096fd0a64b | |||
5399f80848 | |||
2bf6a301d3 | |||
b91b173f3d | |||
e6a491e782 | |||
804a0433e0 | |||
1b35295ec2 | |||
eb20320d7b | |||
80604cdf03 | |||
6f7f39e96b | |||
755a0131be | |||
c8db633852 | |||
b4a1981289 | |||
2ae3f51fa0 | |||
23e1202e35 | |||
c32a92e5a0 | |||
88164787ee | |||
3b42683790 | |||
8b040c0730 | |||
bc15cc3e86 | |||
393c71c213 | |||
2d6ed31cbd | |||
fd666ed0b5 | |||
c6b44cd7ce | |||
741000d31b | |||
9ab80a33a5 | |||
5e3b92a924 | |||
5ada0023d1 | |||
42c44c2f83 | |||
e56fb89e7c | |||
b1e6654d86 | |||
3280aa7df2 | |||
b874ef4925 | |||
361f6fff5f | |||
2195f7af23 | |||
b847779746 | |||
6f9fcc64a1 | |||
09b103a955 | |||
8272405abb | |||
78fa372ec9 | |||
d26844ce82 | |||
e2d152c118 | |||
db86a35ab6 | |||
ffbc3b5f5f | |||
c469712166 | |||
51ff9e8415 | |||
f0cbb09a62 | |||
e56bf31824 | |||
d5a11ed6c8 | |||
8d2ec86c5e | |||
e1d57f7610 | |||
84b5aa3f50 | |||
0f6b51b2de | |||
fcbb3c5747 | |||
3f17c3b33f | |||
b3c344b8b8 | |||
42b7b77571 | |||
b8f65ad68a | |||
16ad2d70ca | |||
3d5bb2a5df | |||
b6d6739b40 | |||
5e45053d52 | |||
c6ba36f069 | |||
23df47724d | |||
80f3ac63f2 | |||
21b0b1adec | |||
fec4206299 | |||
2855a0c14d | |||
b379f1964e | |||
735ddc930f | |||
2ea1c9b29e | |||
09ccd418f4 | |||
fb626dcd78 | |||
319f0370bf | |||
1a86cda6db | |||
d97591c345 | |||
7d881b5189 | |||
f69c96dd8d | |||
493d36684c | |||
09c31d557f | |||
8de6cb975f | |||
49bfc0e9e0 | |||
44245693ec | |||
97642c28f6 | |||
3c3f836d7e | |||
019a253b34 | |||
6beaef983a | |||
4821a0e135 | |||
a6a396ddb6 | |||
3286848a7a | |||
e951e8ec7f | |||
5778f772b5 | |||
d309f5b8e2 | |||
4c7979a241 | |||
e07eb5f173 | |||
eb1dea8faf | |||
f371b051b0 | |||
3970a9d964 | |||
f70cb8bf96 | |||
bf1da4b449 | |||
fd54acf098 | |||
6d7564cdfe | |||
c82d7e76d5 | |||
2c0ecc1f83 | |||
4c0d5cbb87 | |||
04326aabcd | |||
7c05d2a641 | |||
e621d8f11a | |||
f6317b4892 | |||
aa5e8e099e | |||
37fedc0414 | |||
fbeec122c0 | |||
026be3d76f | |||
89b1753c22 | |||
4b47e5a851 | |||
10494c497f | |||
a2c6a09985 | |||
8d83c662c3 | |||
adc3235eb7 | |||
283b438f5c | |||
c166071beb | |||
1ba0da17c8 | |||
b53427156c | |||
561e11d6f8 | |||
77b3a91bba | |||
698d83a7c8 | |||
176670e31a | |||
31755adc5a | |||
19cbe03534 | |||
86d8c4279d | |||
532e0c74e1 | |||
b6bcb6cc8f | |||
a06cd6c29e | |||
c10af299ae | |||
863853cd2d | |||
e48be35bca | |||
b09de70eda | |||
685b377e7e | |||
ba5f318736 | |||
0c5666828d | |||
f957201cf0 | |||
1264d64a74 | |||
ce2b2bad77 | |||
3f347a1379 | |||
b79a04c716 | |||
22230687aa | |||
ca70593d0f | |||
fab13583b5 | |||
e625d07106 | |||
ac7eee4051 | |||
c6a584182e | |||
9d98e5ae0d | |||
7752645041 | |||
b90739d73d | |||
ce0c5334a0 | |||
7407210a67 | |||
816aaba399 | |||
21c5d43d72 | |||
a9c1a5f1f8 | |||
b0bbafe5ad | |||
917420f7e8 | |||
15110f12cb | |||
d0bd54486a | |||
5326ad7d11 | |||
f20bf92bd5 | |||
db43afa836 | |||
913d8b5e45 | |||
0fd4f50572 | |||
9b7e990d18 | |||
9065657957 | |||
01c83a2e99 | |||
14774769da | |||
d3c5544bec | |||
a533a8d3f5 | |||
64e668051c | |||
2f5abf058e | |||
6f75154656 | |||
8c03542f92 | |||
a360d9a6bf | |||
d844431af0 | |||
e94335e9fd | |||
74d22d4030 | |||
5fa1469af5 | |||
fb5a83df3c | |||
8cf8a6375e | |||
7c369c1e45 | |||
3bf4e28fb8 | |||
30645bff5e | |||
d203bc95d2 | |||
b31f49b911 | |||
cc48009631 | |||
6440cb6945 | |||
6ff848aaf8 | |||
de666dc9b8 | |||
7945f75417 | |||
27ca962058 | |||
a2455b2967 | |||
24f73d4f53 | |||
7c1e1428ad | |||
ef79fccf4e | |||
e5b05d61df | |||
6302203fb4 | |||
90f750bbf0 | |||
5e5167ed04 | |||
a0368a0950 | |||
3d152ac388 | |||
8a70918b8a | |||
2973d1e478 | |||
702d2364bd | |||
58ed173a2c | |||
4e0ec59255 | |||
ba50e4885f | |||
b5bea526ec | |||
70ca84d6e7 | |||
87dcd0061a | |||
deb99af8a1 | |||
913437e8a2 | |||
b5962a934a | |||
2395917adf | |||
1cf5ea5f1d | |||
f4035bffb1 | |||
127a55e91d | |||
99e45ceb35 | |||
1b7f99bd6b | |||
381c35c7f9 | |||
8dcf24fcbf | |||
092fa8bba8 | |||
34846ad6ba | |||
cd980abe18 | |||
0d4f95be46 | |||
66bcc3101e | |||
45b137eab0 | |||
b8a0ceb87c | |||
9c561c9b1f | |||
4b8f5a3517 | |||
2ee8fe0094 | |||
a427ff0f50 | |||
51b2fd82d3 | |||
94cdec686e | |||
35abe73e48 | |||
2cdb65d663 | |||
343e13489e | |||
e4c09d9137 | |||
7f9f3d0cf3 | |||
a34b78c981 | |||
7775d67218 | |||
c145e54f69 | |||
c1c60601ee | |||
3c8c81b1ac | |||
1044ebaa06 | |||
55c5777170 | |||
1a65017a50 | |||
5d2e1d8023 | |||
08462ce590 | |||
59fbe89530 | |||
3f89da8d65 | |||
5b9e05501f | |||
960964f093 | |||
a887c1b15b | |||
e1780e9047 | |||
aa67defafd | |||
25e5401cdd | |||
19cae7c891 | |||
af159d4416 | |||
26307c7385 | |||
ec63a7140a | |||
43c26cb07f | |||
4ee83b2f94 | |||
3ce0360592 | |||
6ab5ed3b66 | |||
eceaa97b27 | |||
251d305e73 | |||
eb5b0d05a7 | |||
21bfc9f99b | |||
1f12772d19 | |||
05284b64d0 | |||
f972322368 | |||
fa36c6c3ee | |||
5eb81bed2e | |||
fefe7afeb0 | |||
846f8c0ced | |||
1aac543a7a | |||
1583fcd13f | |||
43b6e2ed71 | |||
d622507450 | |||
d3a73280cc | |||
c53665ce55 | |||
2ba303e49d | |||
742df5ad34 | |||
fbf380abac | |||
06cfb21e24 | |||
13539d2f9d | |||
37e957f334 | |||
1b05479a7f | |||
12f0e42cb4 | |||
2dbc095677 | |||
ec017590e5 | |||
086149eb32 | |||
ad5467d202 | |||
59b6542bbc | |||
0e9116f0a1 | |||
0d74653bd4 | |||
6d5695fac5 | |||
fbec63d15f | |||
f36d53c653 | |||
6702b68a79 | |||
73eaec8168 | |||
9636a106d4 | |||
fca7c4d614 | |||
a99ed13e33 | |||
3cae9afbf9 | |||
b2709ae0ae | |||
ef1ab4d6d4 | |||
8a2056cac4 | |||
317cbd6f02 | |||
9995418166 | |||
10ed374d7d | |||
4b55935173 | |||
920bab553e | |||
c6d503fb81 | |||
6b7171b32c | |||
95794693cb | |||
99f1d50335 | |||
4be1f8a2f6 | |||
156936b771 | |||
1a7623bc1a | |||
19cb6c9980 | |||
9c8895fd88 | |||
fa1f7216ce | |||
10ed868d19 | |||
2deb5fb3b0 | |||
62ddc491cf | |||
ce8eebd3b7 | |||
8bbad6c818 | |||
51dc5ea735 | |||
c345570acc | |||
6681f05373 | |||
f7f90f7c3f | |||
7da638c20e | |||
38b7445ad2 | |||
d44d4f0f4e | |||
60a0a3d629 | |||
2e6c3c8936 | |||
ec93be5208 | |||
d1b99d2bbf | |||
bfd23ce87b | |||
0da3a8a91b | |||
a82f991122 | |||
a2c219a91d | |||
c82acf5931 | |||
2761847f90 | |||
f3510cbe36 | |||
cdc459e66a | |||
a66c9b8bf4 | |||
7fa3d5673c | |||
a1d0928b00 | |||
695da71e61 | |||
d64f889972 | |||
10490b98e2 | |||
2b99a01e0d | |||
9b5e8c1718 | |||
a95a6bf646 | |||
e39db681df | |||
27d02d8286 | |||
ab89edbccf | |||
51401c3050 | |||
5fd93e0582 | |||
bd1683da29 | |||
b12ece98b0 | |||
62c0b61bed | |||
543be8d367 | |||
a998e28016 | |||
23cb12b040 | |||
56e2d7d21a | |||
73ac12196c | |||
1ac5ecbfd1 | |||
e955fa33f6 | |||
68999a8b86 | |||
3f4a987bee | |||
5b922726e1 | |||
bdcb4d3750 | |||
924463d1a5 | |||
348a44ecae | |||
342d3180d7 | |||
57448845ff | |||
6336ee6df9 | |||
2bb432ece6 | |||
64fb5aa9c3 | |||
3d90d3bfce | |||
75c20157ab | |||
ea6dd747e8 | |||
a5eed800f3 | |||
3d6ccd0489 | |||
4a402feebf | |||
9456d60f65 | |||
84e22e37e8 | |||
6e11908128 | |||
00295aa8a6 | |||
8a1b94ccbe | |||
6d6945b807 | |||
87c4f11c64 | |||
1bffc4bda3 | |||
edbcd057e6 | |||
702f838977 | |||
c30e59051f | |||
b80d1324d3 | |||
23fbd052b9 | |||
ab032b841c | |||
1470c7367b | |||
9637856b53 | |||
48b2adae1c | |||
63cba976b1 | |||
9e5b06297d | |||
3b4d0e060c | |||
07db5fcec1 | |||
d8f56a9b29 | |||
81e9b8ee67 | |||
97c7c6bbb6 | |||
b66ee5507c | |||
548f33a9f4 | |||
608d73e4c5 | |||
16d635c82c | |||
1f925b15ae | |||
7ae606f57f | |||
82882288c9 | |||
d3872fcad9 | |||
99e578e3c1 | |||
c752c500fb | |||
a6f9ee3906 | |||
43f6d9d716 | |||
e20d6095ae | |||
d1d4f937ec | |||
ec85e2f55d | |||
c6918f99d7 | |||
35f9507b08 | |||
3dbfb2bef9 | |||
502008d5dc | |||
f0a576595a | |||
7a5d4e2b4a | |||
fa82e0db64 | |||
2e1fea408d | |||
3d84038d57 | |||
2803346b27 | |||
ddf2bc5081 | |||
b7fe7a1a8e | |||
c72dc05acc | |||
298afb3140 | |||
9742ae1d11 | |||
4b688ab3fe | |||
b4222a65ad | |||
55fffa29c2 | |||
7687617d00 | |||
0e0c7a3dd8 | |||
83339ab3eb | |||
f00d37342c | |||
0c89c1c05e | |||
ce83f3103c | |||
3d23890c65 | |||
dedf66ecdf | |||
e0b9aea7be | |||
a5ea3a271b | |||
b3f852fba3 | |||
66c77c2dc9 | |||
2b6da7f326 | |||
e8e92d60c4 | |||
e6afab12e2 | |||
84b8f90bba | |||
239b13ce38 | |||
f41afde6c2 | |||
c58e3bd90a | |||
15588b03b3 | |||
24302633a5 | |||
bb41aba0d8 | |||
1835bf0fd4 | |||
7006458777 | |||
ba44a27f7f | |||
402fe20e3e | |||
fa40e82270 | |||
d93531bcc8 | |||
fa6233daeb | |||
1caa3143d6 | |||
8ef2a45bb9 | |||
9b0d8e7a1f | |||
b6ee05692d | |||
be291e8abf | |||
f91344cd07 | |||
7196be433e | |||
b461865577 | |||
b19de28c98 | |||
a172228b7a | |||
b7f27abb3b | |||
ae8301fddb | |||
b79d2dee2b | |||
40a85f85c6 | |||
1dda496a74 | |||
7f8a57e96a | |||
03180212b7 | |||
86fa2792b9 | |||
365cb144c8 | |||
ddbf2c4af0 | |||
334e8360ef | |||
cf041d8c83 | |||
0c89ed93d7 | |||
97ae7430a8 | |||
76a8f9e29f | |||
dd5fa02426 | |||
abdc9bc8c8 | |||
8ef6732b94 | |||
686b539949 | |||
bd96a84300 | |||
cc8665eacc | |||
1eeb94ff4a | |||
2e585a12a2 | |||
811a51ac67 | |||
20989630c4 | |||
232113e7cd | |||
c1b77c1391 | |||
7576bd7f42 | |||
fc46ad8a8b | |||
ef179ab07b | |||
aa2157430f | |||
6eaa78144c | |||
46340d076a | |||
9beb52a17c | |||
f85f2f8746 | |||
997207d9a6 | |||
6aca7e6bec | |||
a1e9eefa40 | |||
bf7435087e | |||
25b35d317e | |||
d939183719 | |||
f295d8f113 | |||
d8cd2e9c37 | |||
bc674765a9 | |||
2e8188aa13 | |||
ce2c1cb742 | |||
f42344a389 | |||
69486cac74 | |||
e1909eea5c | |||
6644a75b0e | |||
48b6be81a5 | |||
dce10f8f92 | |||
7aeeb48390 | |||
8b7a161452 | |||
274dabd7a0 | |||
45b79be9c0 | |||
5bc493a8a2 | |||
65209de411 | |||
caae269032 | |||
e43972474c | |||
4d56a06255 | |||
5bb15f1a4d | |||
56f768774a | |||
724c66c88f | |||
807803afa2 | |||
18b51b7315 | |||
caef7f837a | |||
111f9a9bcd | |||
2968c9d6c7 | |||
0d4200fef3 | |||
72f6fbb1bc | |||
dcfff3739b | |||
9a8c5e7ac0 | |||
df85bf7918 | |||
29150c83df | |||
cd51d7ced5 | |||
d1ad37847d | |||
97e9e5622d | |||
325865db56 | |||
cadc70f797 | |||
57459dbeac | |||
55cb5f8de5 | |||
795fda0336 | |||
c15e600490 | |||
e429d86655 | |||
11a5b6b577 | |||
8dd518969c | |||
0c22d2fe46 | |||
9005071c5f | |||
5709e03613 | |||
59b4255c63 | |||
44105942df | |||
60ab1d8c52 | |||
2f0bbbfe9f | |||
ef9e85bbfd | |||
dbc787d13d | |||
a75440739d | |||
7528f83444 | |||
2cb399625e | |||
a20e59da15 | |||
f2d173a554 | |||
ac6bf7dc12 | |||
554e55b0f0 | |||
cb6f6a10b3 | |||
9d6f645908 | |||
9c90609331 | |||
4fbd22e38d | |||
2be617b58b | |||
9bb0461fbd | |||
e091d0efc4 | |||
095c931cf1 | |||
a6d401c193 | |||
772a154d39 | |||
47953d0ae0 | |||
a029b3f4a4 | |||
f77eb44433 | |||
2be0b50be5 | |||
2d7a52c784 | |||
7e893a02c0 | |||
7bc9036d16 | |||
1159a163cd | |||
4249348735 | |||
998dc17f52 | |||
a73e5a75b1 | |||
ef7d89cabe | |||
939bfccb3d | |||
f36fcdf2ab | |||
9646cfe989 | |||
c9f6bd9085 | |||
9d9ce62ae9 | |||
1360b9a73f | |||
bddfa59f1d | |||
2de7af0c39 | |||
32b9a99e16 | |||
8ed01a0e31 | |||
1119428693 | |||
4feaf6b7b8 | |||
d5d89c8a55 | |||
643daed6b5 | |||
24047fefda | |||
2eb89c8b14 | |||
5923d67cfd | |||
9e8cf3cc86 | |||
0a433db22c | |||
c7817bc128 | |||
b3ddb29c36 | |||
49df54a1dc | |||
976e3e9ae6 | |||
b4b9efcfdd | |||
b435d4405d | |||
753c225c2c | |||
6ac87c4986 | |||
5de4771360 | |||
fe80bf2fd1 | |||
62bc1cb88b | |||
2521211753 | |||
2dc00fab7c | |||
1d3b3c3c09 | |||
052163236c | |||
d694f6e21b | |||
f5b9369720 | |||
bd7739f3aa | |||
ac24d3c311 | |||
1a93058448 | |||
3ba380797b | |||
d7d0b04d3a | |||
551a75923e | |||
30bc9f415d | |||
3c0d23b6ab | |||
0ebdf2ac75 | |||
feb50f15cc | |||
85f0b051ba | |||
ec562161cd | |||
f98f8ebb8c | |||
9b5b9e46b9 | |||
66318aad07 | |||
99e836c843 | |||
16895c529c | |||
a842d3ee6a | |||
66b35bad88 | |||
1bc7b6e135 | |||
ba092a9ab6 | |||
0de835d52e | |||
0c0a9810c7 | |||
8c0acc5515 | |||
1a6b5c23a1 | |||
45b824d694 | |||
0a7543db2d | |||
b4951c92a1 | |||
a06fa32daf | |||
78b58a4996 | |||
6629b4bbf8 | |||
7f1e9dbf3a | |||
e59ae107c2 | |||
1bc04e3c3e | |||
e09caf6428 | |||
c4ab50cdde | |||
7c712bbb6c | |||
9d3fa7a229 | |||
6a4a026e13 | |||
32f48a2d56 | |||
fb0fa7643e | |||
5471be69b9 | |||
4998becda3 | |||
72a9091a0e | |||
0dd6b55a7e | |||
b75f493ed7 | |||
3fe7c44d50 | |||
939440c48b | |||
95f8884c95 | |||
683e77e479 | |||
85b2ed5438 | |||
43fc38943d | |||
42065f8f94 | |||
29a1a0857a | |||
73c312fce5 | |||
e6bf51fb22 | |||
a88041c043 | |||
bd0b51c0be | |||
101098c41a | |||
61309e39b3 | |||
fd7440d231 | |||
8c99a4859e | |||
b242de5bfc | |||
aa0929d101 | |||
82d73e2d5a | |||
c0fe0b28a9 | |||
7a3e46d767 | |||
32851c6df7 | |||
4d6cfc82ed | |||
42f9f14a61 | |||
ffb83bee26 | |||
67524b57af | |||
83fe4c4e47 | |||
5489341e63 | |||
ff9104eae3 | |||
d32a493091 | |||
43a3c513f8 | |||
7144702f83 | |||
37b26261cc | |||
4c8726574c | |||
517eda5ca4 | |||
13bfd04a99 | |||
22e605c2c0 | |||
6672bd8e6b | |||
2b8789bb3b | |||
345d202d66 | |||
46c5807d29 | |||
5db9871a5e | |||
d07048a7f9 | |||
363b77177e | |||
d45f33804d | |||
82d4642805 | |||
b559b3c785 | |||
cee06c458a | |||
3d96f60409 | |||
d95425c51a | |||
4114aa8375 | |||
053de0d812 | |||
9a1d057f5f | |||
c426be6ae2 | |||
5806665059 | |||
5a69491a01 | |||
da79f5c91d | |||
f81c589ad2 | |||
3391a31cf9 | |||
c126084bc5 | |||
91ead42f4b | |||
c056729bfd | |||
bac27d5ebb | |||
a1b187ab29 | |||
d3d41b348d | |||
cb42f4d467 | |||
e54c15aa72 | |||
e7168edeb8 | |||
a2e7ee729e | |||
76e70675d9 | |||
44c6cf67c3 | |||
c3385070d6 | |||
9df72e0471 | |||
3be4c7ba64 | |||
56d66ae854 | |||
a11553dabd | |||
74f9fe6e58 | |||
5417c84f7d | |||
d84e20b33c | |||
6ee9ee4cab | |||
05c0455699 | |||
d5d433e07f | |||
f4ed5dc7f4 | |||
a4a9ad58ba | |||
358ec83d03 | |||
0f49dd26ad | |||
d768e919ae | |||
73b0136fa3 | |||
7391fd8084 | |||
478a1212ef | |||
5849b14705 | |||
0987e43aa0 | |||
c60a830e44 | |||
40dee3d506 | |||
4d99b27018 | |||
131134288b | |||
77fb3632a4 | |||
bb4759c15d | |||
97f8029ad4 | |||
1a1fe6e384 | |||
389f927751 | |||
18060d7d92 | |||
d228c1ef32 | |||
dcb2eef582 | |||
9f3aa702a9 | |||
29035f3c36 | |||
f9c9fa2df8 | |||
8725e5f639 | |||
283fdcfbc2 | |||
c323963bed | |||
4b766393e2 | |||
3ee485741b | |||
27fbbcffc5 | |||
39c3d3951a | |||
e28fa4049d | |||
19fcc89fe0 | |||
d61c5ea7f5 | |||
00dbf449c9 | |||
c5d734b3f9 | |||
31438f73c0 | |||
c58525ee46 | |||
3c61304a9f | |||
01912201a4 | |||
d6d6771b97 | |||
420d7e009d | |||
d893a2635f | |||
63bc18e328 | |||
6e512c4d7a | |||
ba851170fb | |||
e98a751823 | |||
3717256d5a | |||
f5e8b29be6 | |||
0556f6132b | |||
34564ed154 | |||
da9302a2c4 | |||
78fbe3d831 | |||
5f28639a93 | |||
b1f4d52580 | |||
095c2617a3 | |||
cd4fe0f718 | |||
351e3e520b | |||
20eaef024c | |||
7118701e96 | |||
7a50554e29 | |||
6f5225c7e0 | |||
21f9b3ecd7 | |||
b524dfca40 | |||
89d4a601f5 | |||
f4af723fd8 | |||
52cb8a7fec | |||
8b784004d3 | |||
6b6dc6eddd | |||
7f1a0e6b4c | |||
69eae2762f | |||
e3f5f2155a | |||
c94ba798d6 | |||
1db39a4466 | |||
77d5e7481b | |||
8e646e74b3 | |||
c4772b9fd7 | |||
0800194f95 | |||
6d3b7e6f62 | |||
b328209330 | |||
4c15ea5bab | |||
6cd9e631b0 | |||
5397f194cc | |||
75380d3a16 | |||
e8d8d9492d | |||
8f70267607 | |||
64a6bcaa4e | |||
395f1e328d | |||
357e552562 | |||
fc5a3c949d | |||
10ea93c334 | |||
83ad5a998d | |||
f3ea181d98 | |||
b34de93153 | |||
91237d29c9 | |||
1c968c135c | |||
db3f0e3ebd | |||
45d4b17f5e | |||
cbf27fd899 | |||
5c1fadbf0f | |||
0873e27720 | |||
0a9be33a8a | |||
26c43b7a77 | |||
a76e6542d1 | |||
250dfc0256 | |||
a432f38e81 | |||
e2f0a5f76c | |||
ad0b48222f | |||
41dad286d8 | |||
79f92910eb | |||
59a407349b | |||
e8367c0c5e | |||
52b0ba22e9 | |||
a4e5236e89 | |||
43bb6554a2 | |||
2efee9df85 | |||
ed23fed3f3 | |||
425e75a2db | |||
a3caa2d3bb | |||
0168639b9a | |||
1ae592b468 | |||
6d569163ab | |||
459df6697a | |||
c47eda0e6b | |||
cef9879c3d | |||
237baa1433 | |||
29368167b5 | |||
aea9871a62 | |||
55208409bc | |||
09b01de336 | |||
9007118f32 | |||
8f6f3ac199 | |||
5c76ed66b8 | |||
8110f46fcc | |||
31eac4d869 | |||
1385b7dd10 | |||
dd11810367 | |||
693709bbec | |||
b217baa4ee | |||
7fc25c013b | |||
67d630945b | |||
f74f6cbde5 | |||
94d61ecab0 | |||
e05fe3166e | |||
4577cd2403 | |||
7fd1845991 | |||
0043a3db20 | |||
a751445de4 | |||
ae0fb762a2 | |||
482eec0e1b | |||
38dbd68920 | |||
f028604718 | |||
5de93e9011 | |||
d18a0cbfc1 | |||
1e742217e6 | |||
bff6dc7b8c | |||
4a5f7ece3f | |||
bcd23b05c1 | |||
0de2fa0a62 | |||
18c1b6b240 | |||
f5b76fe9e9 | |||
651d8dd4f6 | |||
e0c181d487 | |||
cc86d8921b | |||
61d365fafd | |||
15589b4e56 | |||
fc5b80943b | |||
835ca8ee64 | |||
5ce1698138 | |||
baa070a81f | |||
d727fb5035 | |||
c4f3972f2e | |||
44ad93e970 | |||
8c11d05a3e | |||
8f7a53a968 | |||
e732773c74 | |||
1dde7ccfa8 | |||
3d25430b84 | |||
b70c77691b | |||
0decccb666 | |||
42660cdda7 | |||
a12e9b0666 | |||
7935b4a89b | |||
83bb2d44b5 | |||
8bd5c996ab | |||
db3ba1bc18 | |||
a2b7be7496 | |||
84743a178a | |||
4318a978a7 | |||
7eb8eed460 | |||
d2cdfff63b | |||
bf0970e762 | |||
161eafb0fb | |||
add76f91d5 | |||
2452c8414d | |||
16a1181615 | |||
0220d1e46a | |||
0de6c50744 | |||
0bec504642 | |||
de08ae1080 | |||
407a279461 | |||
e75cb331df | |||
d371cf3336 | |||
bac21f5b13 | |||
b0fe89d31b | |||
b866610156 | |||
b4a4036306 | |||
2e2fe3cc91 | |||
2c63017ca3 | |||
e8fb3dfa6c | |||
81cd0b0aab | |||
654d7b5e0b | |||
0828d03de2 | |||
e8c655dd1b | |||
c10fed0743 | |||
c76409ca35 | |||
e556f716e4 | |||
b80ae90b6e | |||
3eebb16c05 | |||
0a4dcee75f | |||
622a28d22b | |||
74dec7f51d | |||
28def8b5a0 | |||
6d9c131061 | |||
b197808852 | |||
274613303e | |||
eb7720e00a | |||
c41b0e8ea3 | |||
51c8532c6b | |||
17fa9deef1 | |||
9b545df90b | |||
b6d91753fc | |||
988ac294c7 | |||
9993b6f0b5 | |||
cd429a8b0c | |||
df2dbbc817 | |||
847289d49e | |||
dffa8d05e3 | |||
690d27faa7 | |||
eb789f0b79 | |||
28fa33ccbc | |||
009e6cbf84 | |||
06d0705834 | |||
92f2853e53 | |||
9f11629495 | |||
e447aec904 | |||
1855329fba | |||
6a9d2f9899 | |||
0f57a2bb97 | |||
242c9d9f24 | |||
31354676d0 | |||
13f5360724 | |||
69cc491c3f | |||
dd3cffdb0c | |||
1d94849e74 | |||
f84c103825 | |||
cc7cdb19b1 | |||
e2ac5b7a36 | |||
9d4a169532 | |||
0aa1f9e905 | |||
60aaac7ad0 | |||
68890b9d59 | |||
39f9fbc57a | |||
9bc9da9d7e | |||
7458629de3 | |||
fde7c317c2 | |||
a02161c41e | |||
cd23f7f6c7 | |||
0fdc0b6b25 | |||
f5cf60f25b | |||
12724d6ad6 | |||
5f0f045da8 | |||
2e1f65545f | |||
f7f41a663f | |||
51bbdac7d5 | |||
ed6996f2ba | |||
e651e01518 | |||
ea4c7d0719 | |||
0ef562feee | |||
78134b0ccd | |||
413f5208f0 | |||
a7a2387456 | |||
4e11bff0cf | |||
5d1f9a0096 | |||
2de19038be | |||
c53e6ed62f | |||
99625b0cd8 | |||
837f655291 | |||
2d22d335dc | |||
ee45280439 | |||
dbd313280a | |||
4074ce0cc7 | |||
346d201d73 | |||
cf32fd1729 | |||
10f5ccf9cb | |||
6f5dacae13 | |||
fd159550b8 | |||
b7daf7e8fa | |||
c912f76486 | |||
42a66fb721 | |||
f71792f8c9 | |||
c325fa1312 | |||
5eeee58ca2 | |||
25200327d9 | |||
0ea04f5853 | |||
b618b04992 | |||
d096a64bcd | |||
321bce4a3f | |||
a9506dbaf4 | |||
9c8044bdcd | |||
0146bce262 | |||
2ec5015f02 | |||
e5eb2decd0 | |||
b08906b240 | |||
7169450310 | |||
0097f5589e | |||
caa85f249d | |||
00bb441ba4 | |||
15ccbf042d | |||
9514d47d3c | |||
4a0f07166f | |||
6520ec0650 | |||
abe2f27acf | |||
ceb89fb454 | |||
fb83ff1a8b | |||
ca9eb1a73f | |||
f6940886f9 | |||
5a38572fd9 | |||
774d41495e | |||
32346f0aa2 | |||
a9273b5015 | |||
a1e22b8192 | |||
0eb4db185c | |||
0dd80aab25 | |||
4dfd8d690d | |||
52d79fbc6e | |||
14e826f3f8 | |||
8d0f59935d | |||
55fb6b4d0d | |||
8a83282795 | |||
b0f4456aed | |||
6662cb3dc2 | |||
b55df4f1a8 | |||
b0158e0b14 | |||
b55cd54d1b | |||
1217af5e1a | |||
03c60a5054 | |||
28b38cd365 | |||
b1434fce01 | |||
d0e218384f | |||
717050d1d2 | |||
ef75cca0e1 | |||
4da8d8d7fe | |||
6bee0cee20 | |||
918fc00fb4 | |||
20e75878a8 | |||
ad5e0a8e65 | |||
bd74aaf534 | |||
ade13f03e1 | |||
22add8ea30 | |||
08caa792e6 | |||
9b1ae44b28 | |||
bfe4a59bc9 | |||
0f681dc5e6 | |||
51ffa7e810 | |||
d2894f690a | |||
d889508f16 | |||
3449fafec3 | |||
19a37d6420 | |||
a436877573 | |||
af39c82a36 | |||
c563cf3030 | |||
313d53f6d3 | |||
09abb879a4 | |||
25eb2bceb8 | |||
2b4ba5105c | |||
695f7249a4 | |||
1a27b0bc38 | |||
217ca36377 | |||
41483c9dff | |||
ebd8a4f90c | |||
4663f45caa | |||
34cf5619f9 | |||
74aa99a543 | |||
4b7202e250 | |||
5926ae24a6 | |||
0e3f7d4780 | |||
ada45a3148 | |||
2c8243cf6d | |||
6e401cf7e6 | |||
90a96c77a9 | |||
a29d866f1c | |||
ff7e5ea401 | |||
af8471c2b6 | |||
725369fd0c | |||
02bd77379b | |||
d004dac7f6 | |||
e1498c3803 | |||
9330b25b6f | |||
301d47fdd6 | |||
ffea237038 | |||
a3f643a3c0 | |||
9421727c70 | |||
eed64473fd | |||
374c04aaec | |||
0bcee88298 | |||
6b8a29e8b9 | |||
3af6aa10f7 | |||
125c9cf98c | |||
3e41b9b22e | |||
4886cfc50a | |||
c3de6203a7 | |||
38e27c3e92 | |||
2ee720ca45 | |||
fa861eea30 | |||
59bd2318dd | |||
9e8da22828 | |||
96a437f4aa | |||
fb19974ae9 | |||
b6e8a0d8f7 | |||
f69f27c7e7 | |||
bc07224da5 | |||
1115f631dc | |||
fedb36e3c8 | |||
423adfb0d3 | |||
7418464c06 | |||
5c19009ec7 | |||
8296fdd979 | |||
11949990a8 | |||
285ae69e51 | |||
d21495549b | |||
6b2e436995 | |||
b603fdc462 | |||
5517246a0d | |||
e5869f8ae0 | |||
e183429bd2 | |||
18d6b0c926 | |||
484efffa58 | |||
a3c655b6ec | |||
31f9631548 | |||
ebac8c772f | |||
52331ba4f7 | |||
abc5130108 | |||
0515ceb9a9 | |||
44a597787a | |||
d244f6ca46 | |||
8d8ceade60 | |||
d9a5779a0e | |||
1ddccbf2d2 | |||
9d712bcc4f | |||
e4cb23c682 | |||
be11236a4d | |||
51120435f5 | |||
d29ed4ac45 | |||
ef7a326787 | |||
cd49cce7b7 | |||
b3a8cc54db | |||
9276fe4089 | |||
eb2fa5cd39 | |||
91b027a351 | |||
5fe77af206 | |||
0f8547e2ce | |||
8e3b842b8b | |||
f4491e73ca | |||
2847e1e714 | |||
4f42eead36 | |||
34508cd9ac | |||
553967256f | |||
ba5ae5bf20 | |||
fdd3564765 | |||
2d4e836f11 | |||
ae546422ed | |||
eab2a29c8b | |||
b431833c12 | |||
c7b8357786 | |||
496ef1a9e9 | |||
55f0a1409d | |||
67bbb6db41 | |||
dbc7095b4c | |||
dbae632fec | |||
2794a86b1b | |||
8e0dca05fb | |||
a378c22f77 | |||
0e02ce83a1 | |||
6cdafd9608 | |||
67d868d04b | |||
8a45a4dc3f | |||
239286ca44 | |||
c38c0c91aa | |||
c9b7d1fb57 | |||
7a732b4781 | |||
46e6852062 | |||
9126169419 | |||
b063cbeffe | |||
3397386399 | |||
89989cf61f | |||
c2209e4bef | |||
f8edeffe6b | |||
6bdfc8027b | |||
4e8dee51e3 | |||
0c590f064e | |||
57b4ec6bd3 | |||
93d6ba0889 | |||
b697c90a4c | |||
c77ebc60cf | |||
503d3247e4 | |||
e079e5ccc2 | |||
ad7758ca52 | |||
6fefdfd106 | |||
e459a89f0f | |||
c8b4d217d0 | |||
24b000a160 | |||
9e3c30283f | |||
6d81b15bbe | |||
d60cc97526 | |||
175aa69639 | |||
c8aed48127 | |||
e5861828ee | |||
49a4450563 | |||
44b4ec740d | |||
65200f0746 | |||
9497fcb742 | |||
7362768c50 | |||
1368244d48 | |||
2785290989 | |||
626ba097a2 | |||
b27fb330c4 | |||
8a95c6c48d | |||
80b0c6458a | |||
7c2b50894c | |||
3ee8b750f4 | |||
3855c01e0a | |||
3695593794 | |||
13f66507af | |||
065857ee7f | |||
bdaec07a85 | |||
3e6913b389 | |||
e132d5711d | |||
71a652c774 | |||
57d5e47694 | |||
48532ee3c4 | |||
cf8094cabb | |||
e0a0c63e09 | |||
088d2a3dad | |||
59e5c80237 | |||
80505a6fef | |||
2796b242b2 | |||
ee69f73dbf | |||
4708612061 | |||
6c36642c07 | |||
b4f57bb3ca | |||
59ae2ef4c4 | |||
8ee161daab | |||
44206e38bf | |||
62b4b44961 | |||
3a42c88510 | |||
78d1432698 | |||
00ad8dfa18 | |||
92b5296a7b | |||
268744306a | |||
a7967eea16 | |||
a1601136f2 | |||
2d0fe4ff22 | |||
97445f20ed | |||
65b514c645 | |||
49aaff799f | |||
3b29acaffa | |||
5aa0e925bc | |||
f1b58b7835 | |||
44e89af6e6 | |||
ff79341a80 | |||
f288b396bc | |||
0d4de2a477 | |||
c3d03b3197 | |||
45e295b973 | |||
a37a1a65a7 | |||
ddbdf9a0fb | |||
411a8b7a66 | |||
c6d672fe1d | |||
fa011db6f0 | |||
805bd10ede | |||
8997f67cf0 | |||
255f35c2d2 | |||
9348413c61 | |||
3e8504a325 | |||
b28025a434 | |||
c60c3269ec | |||
5ec1d24974 | |||
08087a3e8a | |||
c570a0e713 | |||
1083a4d232 | |||
ec6d07a330 | |||
4829af17e3 | |||
620e0f3f22 | |||
64b82be3e3 | |||
67a489fdb0 | |||
a198c9d732 | |||
47d46d0a18 | |||
7bdae06170 | |||
035876c4dd | |||
7ba14406c3 | |||
17387f67ad | |||
db9e9ac30d | |||
ba8af5807c | |||
e87bdbba29 | |||
3361120bc8 | |||
97278939ff | |||
e613d704d1 | |||
7132f259bf | |||
40f65425e4 | |||
b47c633c31 | |||
ec645cb086 | |||
ba482d3972 | |||
8aadab7e96 | |||
e64c25ca1a | |||
51749b2766 | |||
ce529b6318 | |||
2201da3a8b | |||
ac8c60e011 | |||
b134368942 | |||
2352a507af | |||
3986d39471 | |||
a86e401c0e | |||
f8f2e8c39e | |||
7bbed26ca9 | |||
967edec254 | |||
6220f8d833 | |||
d569845964 | |||
747154074c | |||
db561e6e39 | |||
bd660e2338 | |||
38b6ccfed9 | |||
da7ffb48b2 | |||
66f9a09916 | |||
bacd57dfaf | |||
749fe1eef9 | |||
e2af9b8481 | |||
f0a9128424 | |||
b94ecc4e69 | |||
99850600d0 | |||
a213ed659a | |||
47b9e457fa | |||
423d03c163 | |||
d35a4811db | |||
87abccdd89 | |||
f606a2f5e6 | |||
128bb2a7ca | |||
d8e55350f1 | |||
3647e5c151 | |||
ab9f64d011 | |||
b92853ed56 | |||
26905f70b7 | |||
71c0a94987 | |||
ab77008395 | |||
d6f71d03f1 | |||
2223cbf7de | |||
180ac500fc | |||
4185de5ff7 | |||
eb503296fc | |||
3ba6caf81e | |||
7e0dea6317 | |||
314b5c370b | |||
d1dfba4a1a | |||
c98e36fec5 | |||
4323175818 | |||
460c2c2483 | |||
9e21b2dbd7 | |||
187e4c4474 | |||
69a9565339 | |||
16a41ccaa1 | |||
26071aaadf | |||
94ad37619f | |||
16d05daffa | |||
c55934db61 | |||
2f7d0543ff | |||
3cce7a0311 | |||
d01a995cd3 | |||
5620b10546 | |||
31b4eb6c4a | |||
0a186ca8a9 | |||
55e3a6ae09 | |||
0fa793ccb0 | |||
22ba205f70 | |||
4d60d96497 | |||
71da5fe5e9 | |||
47924a297e | |||
ba269fd77e | |||
34745f613f | |||
04aae87da7 | |||
c94631718b | |||
0790030735 | |||
993f68ab5a | |||
6275e34523 | |||
cd7873a28a | |||
2cb7de09b2 | |||
23e3013830 | |||
eb84337344 | |||
c3c9afbdf1 | |||
d432e367c1 | |||
4f40b0a117 | |||
1e411a6402 | |||
67100b4147 | |||
3ce88e1fa0 | |||
358cbb3a30 | |||
1db2346e3f | |||
3233cf44ec | |||
50baa88184 | |||
e90b632e97 | |||
7340a499fb | |||
fe1b40b1dd | |||
a5cc0cfbf5 | |||
c93d4abb99 | |||
8ca2af1c0d | |||
223ddc298a | |||
1ac2ad0fbe | |||
783be13495 | |||
dc8679cefe | |||
04de23214e | |||
391709154c | |||
ccb53e1817 | |||
9c790a2fdc | |||
272804ff01 | |||
485937fd4f | |||
05383287a1 | |||
122457058e | |||
e7705f2df1 | |||
85ea91ae3c | |||
32bc1dc531 | |||
883d821503 | |||
3bb8c244f2 | |||
f1690f0ec1 | |||
c8464748cd | |||
025c575750 | |||
e0f3400547 | |||
91be00ef1b | |||
97b30d8659 | |||
1a8387eaba | |||
61e18ebdf1 | |||
e2286782c3 | |||
7ea4e02de6 | |||
7e8bad4daa | |||
1653cc7079 | |||
fdd0519761 | |||
51579edc60 | |||
b09e5001f3 | |||
540a664045 | |||
f751aee926 | |||
33ab29fd7c | |||
4c7eee2744 | |||
4dba4975b4 | |||
5edbea02d4 | |||
85e9f28461 | |||
a8eb477c2e | |||
79cc577ba2 | |||
ce1a9289b5 | |||
b2566f207e | |||
2d8aff3d93 | |||
8fd78a653f | |||
06e33226b3 | |||
b1c57d1beb | |||
c9e33573c1 | |||
8ab1752070 | |||
0d25e5ac67 | |||
f14445c145 | |||
5349dd14d6 | |||
cf39eea2f8 | |||
57fead75ba | |||
a00518a3c4 | |||
8b9768effe | |||
7bfdf5be63 | |||
8a41f4b71e | |||
5b14116a04 | |||
371f04811e | |||
06ea8f9b9a | |||
c043408ec5 | |||
eeedf83bcd | |||
8da24f156f | |||
c3aa832bc3 | |||
19bad30c75 | |||
f813b84486 | |||
98ce3f8dad | |||
fa9c6f13d2 | |||
667108199a | |||
a1024ac933 | |||
8c905a82f5 | |||
d5c458f98a | |||
498f1cc1f3 | |||
9e366b4e0b | |||
2aaf169cbe | |||
0c152cf1bb | |||
a08765d287 | |||
86d2afb86b | |||
6527b1acc7 | |||
12431d6eef | |||
d37c2c2318 | |||
0b75679cbb | |||
eaf83489f6 | |||
946fa5f941 | |||
2bc892cf56 | |||
b567977075 | |||
0226789dcc | |||
3b0eb602b9 | |||
1bde3124b4 | |||
e51c951799 | |||
32a414f64a | |||
7f80c0cf07 | |||
8fe2d5403f | |||
838e8375a3 | |||
1615ad67b5 | |||
7bb9a4f98b | |||
0cd9366df1 | |||
4e3141f19a | |||
4a2558b6d8 | |||
8312df4173 | |||
dff29e0c65 | |||
4929f43619 | |||
08258881ed | |||
4bbe8df1dc | |||
f30123b739 | |||
cc68c01bec | |||
aa4d9b94fd | |||
53229425c7 | |||
5aba3a2c06 | |||
8b400b8c64 | |||
06fff376a6 | |||
6bbc8d8050 | |||
8d010db58e | |||
0065b6974f | |||
da9aa6ddd7 | |||
721c8b457b | |||
d7e5f4b7c5 | |||
279afdc24b | |||
8a64b6fbdb | |||
ad62b9af65 | |||
fc63b8bbc0 | |||
f56249ba0b | |||
aaac678e80 | |||
286a0ab143 | |||
5b23002799 | |||
2b2325ef87 | |||
cff6a1df3b | |||
45ad4f041b | |||
f88208e0ac | |||
909be6a7d8 | |||
820dcfceb3 | |||
c47d43a8af | |||
73916defba | |||
718d185f1e | |||
c01a505282 | |||
757571eec1 | |||
fb7a1a420c | |||
eb722282da | |||
3f559d960c | |||
c6c4d00182 | |||
003fdcbda2 | |||
cd69259e0c | |||
50e060ea40 | |||
a05f8a96b4 | |||
bcd84fe149 | |||
d053f393c4 | |||
1f83e9d592 | |||
b5b135ccd7 | |||
9a4beb429d | |||
a35904b29c | |||
19f5201463 | |||
9204355b4d | |||
05532260ae | |||
ab92f26a13 | |||
168f046d71 | |||
76c7688f63 | |||
b40e193948 | |||
9ca43191ab | |||
ddf84986d5 | |||
67be491458 | |||
1c105b0c8a | |||
fced3fe170 | |||
e81f334c59 | |||
91160e19bb | |||
ec31d1ac76 | |||
11af74be00 | |||
fff2ad9926 | |||
f7fd9b145e | |||
1e504f7811 | |||
e6a03e0b1b | |||
b251c02460 | |||
9871b04183 | |||
3e88b18bb6 | |||
06ca4c5209 | |||
c1bf8ccdbc | |||
e990577d05 | |||
619f2b102d | |||
de3ace0629 | |||
cfa435a0ff | |||
90cc7e24b0 | |||
d12530cb83 | |||
251514d986 | |||
9e946079e8 | |||
faa3d4680c | |||
3f888ef845 | |||
6afeef829f | |||
6dda1e0556 | |||
36ced10364 | |||
daeaa772a2 | |||
df3064227f | |||
595202c304 | |||
3b0667dd2a | |||
7060b5d7fe | |||
acb6e138b2 | |||
d731a24ff1 | |||
b58e99dfa5 | |||
d3fa7fa5d8 | |||
3452eca26d | |||
2ef569a405 | |||
175778f059 | |||
3f7fd58823 | |||
b8c107c7b8 | |||
dacf083c2f | |||
a6450d7b76 | |||
769c309e3d | |||
cf2b72f951 | |||
b933495229 | |||
5e96399789 | |||
f131fc7f37 | |||
26bc3282f6 | |||
52b5b587f1 | |||
38e40414d2 | |||
57aa8b6a2b | |||
49c0e6416a | |||
83a127a189 | |||
d2abe9314e | |||
b32347415d | |||
e583dd3d51 | |||
a31872c615 | |||
2bbffc0442 | |||
ff28371521 | |||
062fdf13b8 | |||
d19f4e50aa | |||
053ea60682 | |||
15b570b716 | |||
2f66c709f4 | |||
ab1227226e | |||
c2540a958b | |||
016ef9e9bc | |||
b2e610011c | |||
2b27e236b5 | |||
c4427393c5 | |||
cff4507289 | |||
0b5d2e0f0b | |||
ab0a77453c | |||
267684f10e | |||
44e9c37f35 | |||
514363541f | |||
fc707892de | |||
6225a67740 | |||
3748aae7d6 | |||
533bc0a7ef | |||
a402a9e7ab | |||
20f71369d9 | |||
c3e9ba03b6 | |||
dce3927f20 | |||
df7aecd926 | |||
845a96dfd6 | |||
7701376cca | |||
7e6946a74c | |||
d6c15d0c8c | |||
893edeebc6 | |||
c38d543feb | |||
a2dcf735e4 | |||
957511cd92 | |||
4c2ce72341 | |||
5449007425 | |||
2b218e3e51 | |||
747eeaf3aa | |||
b91b0ccfc6 | |||
3f689ca24a | |||
8adbec26be | |||
b3f2323e84 | |||
1a9034cca6 | |||
75ebb6c5df | |||
01f96d78ff | |||
6f86ff3ac8 | |||
300b25a910 | |||
6e44d7c452 | |||
03f654c8ee | |||
dfb5a58d8e | |||
77bcc92936 | |||
84fdda3812 | |||
c82950bf79 | |||
f266932836 | |||
6336d4c48d | |||
ea415b335f | |||
4865fe97d9 | |||
2aa3b16a2b | |||
1d19127330 | |||
b28d8b68ba | |||
83e915e943 | |||
f34d003c15 | |||
54fe9f62fc | |||
e4fcc3ba2c | |||
ec576d1c97 | |||
0a656f033b | |||
d78a202843 | |||
6b239d8e08 | |||
5513c0a216 | |||
31eeda1c44 | |||
2ea99da49d | |||
69f6fd4589 | |||
edbf5d9138 | |||
d30894b835 | |||
2c64a806ee | |||
034e5e6fa5 | |||
da02719462 | |||
6d4c1f5f43 | |||
f9f5093644 | |||
afe15f0a34 | |||
b3a1a44ee2 | |||
b6fa7a28a4 | |||
ca62334d76 | |||
1b252fc37a | |||
6541956e97 | |||
07b6f16063 | |||
cd97982e2e | |||
2dfa53f80e | |||
72812fa516 | |||
1e7d69944d | |||
9cb2da45d8 | |||
cf2783882f | |||
e6e5ecb7e8 | |||
7bbe3bb9f0 | |||
d5292bf9a5 | |||
81b6f9b8ab | |||
87930b349f | |||
5e44252735 | |||
dc8fd37966 | |||
60132a43a6 | |||
d266710d2c | |||
dc666f50c7 | |||
82b8c3d1b0 | |||
d1215269a7 | |||
e371d42113 | |||
49bfdb35f4 | |||
7ace555cc1 | |||
d44fd0d04d | |||
2c89923ec5 | |||
0535804729 | |||
cc394d4d37 | |||
c3e75b42a4 | |||
314094fea6 | |||
b82afce18a | |||
ac1a5a8218 | |||
8d9780f6c2 | |||
2be9911c92 | |||
7ac3149b5d | |||
f5b346c912 | |||
bd294425c8 | |||
a6be58fece | |||
1ed36f9ce9 | |||
d4a12ec822 | |||
37d4ffb0a5 | |||
760970fb38 | |||
872b42486a | |||
4ebdf34e13 | |||
07cbd7684f | |||
41169def5c | |||
c896e92eaa | |||
e97e90959c | |||
0dbce4042f | |||
d6e00546a4 | |||
5c29daa150 | |||
f86baf3e90 | |||
65ca24c02e | |||
d13b2d0508 | |||
59de870aa3 | |||
51122920e8 | |||
90af720d4e | |||
1e2676bf1b | |||
5ce4c342a0 | |||
8bb2ed82bb | |||
19e7273ec2 | |||
0feaa85233 | |||
bae03a5195 | |||
a649310ea4 | |||
6085d39bdb | |||
e77d6dc852 | |||
3ef017c4d4 | |||
3d3152eec7 | |||
bbd237702a | |||
c27776dbaf | |||
109a58a852 | |||
76f5b225e2 | |||
841b2c8baa | |||
3126964d96 | |||
1d748c5346 | |||
c69c8ddc2b | |||
e124fa5a9d | |||
ec3c8b552d | |||
da44e34743 | |||
786a1fec27 | |||
48bf712d35 | |||
25176ef022 | |||
cb5323415e | |||
c6ff1ac29e | |||
b31aee9973 | |||
8cf6d4d7d6 | |||
2fbb6773e3 | |||
b318be2218 | |||
91600a3182 | |||
e49b2f088f | |||
522a1b526b | |||
e23245517b | |||
7b42811fa5 | |||
aa6d388597 | |||
95c021b63a | |||
79131f8323 | |||
7d9016931c | |||
24aea52e29 | |||
f40f209c15 | |||
51769b2f92 | |||
7515cd0d04 | |||
d06d5256e2 | |||
8a1cbf00aa | |||
2db6e6806b | |||
4902a802c8 | |||
3c3351306c | |||
1d4f936f61 | |||
e2c4a3518e | |||
c2c1dc9c76 | |||
15b83da39a | |||
4e008c699b | |||
744d6bd638 | |||
8c1258ab8b | |||
6627795289 | |||
67618dd250 | |||
0377a369b9 | |||
34856579f8 | |||
95b3ba5264 | |||
f9154c5cc6 | |||
3afb84a245 | |||
64925b5128 | |||
dd217362d4 | |||
5ce73e9836 | |||
e0368b434e | |||
da8c12b54f | |||
804adaa1f1 | |||
c6bf74ec75 | |||
a706ad5444 | |||
2dbe51a17c | |||
835f5cf23a | |||
ef62994b94 | |||
20c294884f | |||
934156694f | |||
43997b7aa3 | |||
22521ab2e6 | |||
4b2553eea5 | |||
75292a139e | |||
8712aa107f | |||
82a4e27341 | |||
7bc4dc5648 | |||
e7184b0ad0 | |||
a2333c3935 | |||
3f6e32a4b3 | |||
f3e50fc681 | |||
13f58e47ed | |||
61b22cb930 | |||
0421ea277c | |||
313e791385 | |||
6c19cb53ee | |||
6390c50703 | |||
f5a57a883b | |||
ab4eb2afc3 | |||
f5ca922c87 | |||
cda27c2492 | |||
ec558682fc | |||
2dce923524 | |||
7d1a948fbb | |||
e8b5c31f2c | |||
879e98d1aa | |||
dfd4ec2dbb | |||
a96e66a76f | |||
3910c4e488 | |||
993bc7098c | |||
611a5f821d | |||
e9fc8fd9b6 | |||
646edd18e6 | |||
cd26f08d94 | |||
7e48b47185 | |||
e81880dd0d | |||
3f88d7fd29 | |||
6fffd70435 | |||
4513020064 | |||
907bd5d44e | |||
9747f886db | |||
638dcf9a69 | |||
0bc3e3d590 | |||
26a52f492b | |||
cb10346cd5 | |||
909870aba6 | |||
8c70dd66da | |||
eaea9c987c | |||
e55e61f889 | |||
cae7944fc3 | |||
e11aeab132 | |||
55012d149a | |||
8601a16c9e | |||
3da1b0d439 | |||
b9499024c7 | |||
0eb9c57049 | |||
ad80e7f118 | |||
d3d82e09fc | |||
c641f7ed9f | |||
ee2e936f40 | |||
6267f5dd11 | |||
79a7ad6dda | |||
d25109905a | |||
458297c8ba | |||
d0b7adac7a | |||
ef2ac9b14c | |||
db866ba200 | |||
a6ce5d3faa | |||
3c86293dc1 | |||
b6fe048910 | |||
b544c00056 | |||
438f861663 | |||
5bd926428e | |||
954ed5500c | |||
4cc9b6c78d | |||
930d96e1b6 | |||
e7dd3ca405 | |||
5493b4543d | |||
a3a2ffbe57 | |||
aae963732c | |||
08618bd2ab | |||
e414a4e5b5 | |||
0f8b8d920c | |||
f212cf3506 | |||
844eda0f3b | |||
a70ed00bc2 | |||
9faae2b939 | |||
d2f678d3bd | |||
adc4753a8d | |||
085a226808 | |||
89393d633d | |||
796bd74d63 | |||
63649d24fd | |||
a144e4d6fa | |||
e7377556cc | |||
c70eed1e62 | |||
54efaae701 | |||
a2046b29ef | |||
53feeb0f1a | |||
d4cb736c31 | |||
2822d66238 | |||
71a743e961 | |||
de7f0736a1 | |||
1de326460e | |||
4ad7f5b1a4 | |||
33ff44c37c | |||
153ff207ad | |||
8803b21bbb | |||
f112f9f912 | |||
ee7e1300f4 | |||
bf2d227135 | |||
b30e2bfe34 | |||
21c60fa2b2 | |||
6bc6c5548e | |||
651f4d231c | |||
af9e459d12 | |||
228746b346 | |||
af39e0ebc1 | |||
c9394017db | |||
58954d2bf3 | |||
8052fe459c | |||
0571afe5d2 | |||
c0b1be0ba1 | |||
a2cfe9e900 | |||
d482c7dace | |||
1db4e3a358 | |||
a79b3f1c63 | |||
9e7ac6b034 | |||
031dc67a61 | |||
109b8589ca | |||
782341dd3a | |||
98a917443e | |||
ad7674ed00 | |||
e3682b6c1c | |||
f9e47cc4c2 | |||
4139c15276 | |||
d1584fb250 | |||
aedb1dfbbb | |||
c859f10eec | |||
768cd37bc3 | |||
dff185a28d | |||
cd36634994 | |||
d0cc3bc5ce | |||
66ee65f036 | |||
4d15d2fc12 | |||
7b78a805da | |||
6202d1b51a | |||
0afc41e865 | |||
66b462dd4f | |||
b03e994233 | |||
a6fe456cb5 | |||
68dc36c9b3 | |||
5ff742c740 | |||
334be3289d | |||
05b7524156 | |||
09a5323480 | |||
fff243461c | |||
7bcd062c01 | |||
4f73d930fe | |||
029f8eae7e | |||
b42899c1f7 | |||
9dd0f6f9f2 | |||
632bc24a03 | |||
245afa8955 | |||
5aee981ece | |||
055d4f25d1 | |||
f50bd6d82d | |||
d80607da4d | |||
30348c2058 | |||
df90c626e0 | |||
1ccf83c971 | |||
bde39e3738 | |||
e16c9df454 | |||
e2c653e049 | |||
12992f62c0 | |||
9d75e87428 | |||
637bef2037 | |||
09f7382935 | |||
126c27da06 | |||
a9fadb007d | |||
2e658f8edf | |||
2d324cafd8 | |||
3f3d6b3e27 | |||
5c1f178075 | |||
581383aaed | |||
3521e260e3 | |||
fb25f9fa05 | |||
d7892bc391 | |||
1c10590307 | |||
3ba79b319e | |||
a75ab2c46d | |||
05a7ffa25b | |||
44095c1edc | |||
8e9921178d | |||
94bb9a9f5f | |||
f0a017fe82 | |||
9895177517 | |||
c5d367b4d3 | |||
cf65627ffa | |||
bc896cd8a9 | |||
78824238b9 | |||
8ae5418853 | |||
fba0320842 | |||
69b6c56909 | |||
14df1b0eeb | |||
2bf28e52ee | |||
6ece0adf8c | |||
2ea751a588 | |||
dea45c1060 | |||
2cc351da5f | |||
680ed1f632 | |||
337afb0567 | |||
322f76dfbf | |||
d3f01b21fa | |||
c54d52d67d | |||
b3591f3982 | |||
c21df03ab6 | |||
3736127c97 | |||
3c0c3619bc | |||
8f537442d5 | |||
3b1a42f95d | |||
afc63844e2 | |||
acaa581a47 | |||
049ad67f76 | |||
04a7ce728d | |||
656015c258 | |||
6aaae1c893 | |||
0dfda74408 | |||
3a167f56f4 | |||
7592c3a317 | |||
43b8155352 | |||
87efe24cce | |||
3534c1e42d | |||
ba5e70e967 | |||
2397bafec5 | |||
f661b4df3b | |||
9981df3dde | |||
6d772bc6c3 | |||
cbc561f64a | |||
a26b02466e | |||
409dc3b2c0 | |||
3f4ed7a40b | |||
56db59c91a | |||
e1700fc832 | |||
2fe81b2810 | |||
4b85d46170 | |||
09e7b99837 | |||
6bb563f29c | |||
74e0390e74 | |||
513a1a81f7 | |||
8616442150 | |||
e4aadd323c | |||
769fc2768e | |||
bb3d01a249 | |||
7ec8d4b8f0 | |||
d6782f60f5 | |||
a28befdf8a | |||
2ac52e2a82 | |||
7f9be4206e | |||
55d2e72f71 | |||
14df2ef729 | |||
e956255509 | |||
57f70a10dd | |||
5ef8e6ebd1 | |||
250f01e7e3 | |||
3b2305eed9 | |||
35c8dcf992 | |||
fa13a6437e | |||
84601e468f | |||
6d8e0cdeab | |||
368598198d | |||
42d1660e4e | |||
f9aed65785 | |||
c5ad267a37 | |||
6f01f4307c | |||
096833fef4 | |||
79da216a56 | |||
146fe6da09 | |||
a2faaa9a27 | |||
7f520c8fe6 | |||
cb76069e87 | |||
0ca3a0792d | |||
d652a92a6a | |||
817994c1be | |||
990c84db9d | |||
ad55df9874 | |||
f04e76bcf0 | |||
ab5890d498 | |||
54e80cec9f | |||
47d6663bba | |||
43825e8960 | |||
9bf1d8f276 | |||
21046a33ef | |||
565bebe0b3 | |||
f7fdc3a5ab | |||
a86c198cd5 | |||
9622024a95 | |||
3f6891108b | |||
286c6dfd1b | |||
5ff460fc2e | |||
a86bbea04d | |||
58363b4a3b | |||
f3d8580cce | |||
c9add14629 | |||
ecf25fda86 | |||
7d81718cb8 | |||
a1e46aea79 | |||
f1a3503459 | |||
7ac4096450 | |||
3509138476 | |||
3ef7449392 | |||
6b2c9b1751 | |||
ba8202948a | |||
fd02ff0375 | |||
8fc49096f9 | |||
dcc249e295 | |||
ed7780d353 | |||
40a69f3935 | |||
7182b477eb | |||
21c8f9cab3 | |||
19ea62e19d | |||
17115156b0 | |||
1f4cb326fa | |||
af2d6dceab | |||
6e0044dbf2 | |||
ae75400ae3 | |||
4e21dee863 | |||
bbaae959bd | |||
dca74c16a3 | |||
84eb41d74c | |||
afd40b2e2f | |||
da24535309 | |||
e5e85e24f7 | |||
472d68b066 | |||
bb071c1283 | |||
586f24dab4 | |||
0c0208b590 | |||
2ad59714dd | |||
fb11c0dcc6 | |||
0766c98aaf | |||
05653ca256 | |||
a9492a6169 | |||
e5a1a4c5d6 | |||
74427cc554 | |||
1fb7dd076f | |||
726adde879 | |||
018a9af4d5 | |||
46275faf50 | |||
05400b7a2f | |||
6b867b8aa8 | |||
85a8169b61 | |||
45e6c82e68 | |||
7ccb2821d2 | |||
3080fe0a0c | |||
0907aa0fe6 | |||
969ed357f8 | |||
a914152fa6 | |||
c650d6c5bb | |||
c4d55e4397 | |||
a355b16eb0 | |||
c092222c39 | |||
18c1923e13 | |||
7980d85a13 | |||
ad8478f643 | |||
31f2b5aaba | |||
befa72b208 | |||
78c919bdc8 | |||
5d7f5bc973 | |||
674c62bbee | |||
64c9f1584c | |||
6217e9beff | |||
28e8ae5385 | |||
1c88cd6c2b | |||
d613da80ce | |||
9f49b66f46 | |||
53b08c347f | |||
e3110b8620 | |||
4ba64c99e3 | |||
82d6f90c5f | |||
303a4bfd4a | |||
d2c02420e2 | |||
1672b6c22c | |||
331dfaff70 | |||
2d92b1a3b1 | |||
4cdb2b9b75 | |||
b81dcc6c4d | |||
2b5067b2c7 | |||
0655761b67 | |||
781ae4aeb7 | |||
493233c4fd | |||
e775a90a30 | |||
9373e59bb2 | |||
df47e1c3e5 | |||
2b35780a27 | |||
fd1557f28e | |||
025a03f616 | |||
1a1f00cf41 | |||
f63c3f6448 | |||
c81f0b6433 | |||
3a2aa45eeb | |||
ffe4aededf | |||
b1baa980ea | |||
f1126a8c14 | |||
2ae61712ea | |||
b0c726b683 | |||
0050390102 | |||
8f64759326 | |||
78ca711338 | |||
968a23d2e0 | |||
6ee37ef59d | |||
500d81a95a | |||
baa4c07ed4 | |||
1dcd8dbf76 | |||
012ef7735d | |||
d2226060aa | |||
4afefd648b | |||
695f2feaf8 | |||
8440bf7114 | |||
56dd2d6ff1 | |||
6a5b53bef8 | |||
bd5233eb3d | |||
4f4322dd68 | |||
d88cf5f037 | |||
6648e4ec8c | |||
42d090a2ce | |||
c438bcd590 | |||
4af2add608 | |||
571477b514 | |||
8bed5efad7 | |||
b02452b490 | |||
03f05cff2f | |||
822ffe1ef0 | |||
ad41f55123 | |||
378ec8b0de | |||
8ce51cde94 | |||
6a9e6cd89e | |||
c3a27dffe9 | |||
0b344eea4d | |||
7012a59fc7 | |||
6880a7a18b | |||
97ca02cb17 | |||
042772a6bd | |||
0688ab8d95 | |||
3a065f1a76 | |||
d5d20d03fe | |||
f6cfbf3804 | |||
4ff7921753 | |||
90cca5422d | |||
9fca297ca4 | |||
d61839c3ea | |||
8b04dc730d | |||
dbcf293211 | |||
15f917e227 | |||
134c30761e | |||
497becf1f1 | |||
ad1e49afac | |||
46f3fa825f | |||
86b3a3b38c | |||
b0a0c6cab7 | |||
e1eca1d91c | |||
1e64d2386a | |||
11340e5e1e | |||
221ebdc6e5 | |||
833a3a879d | |||
bfb001d1a0 | |||
98d7de7ea9 | |||
106a0823c9 | |||
be1907a513 | |||
24c0b6abd6 | |||
4c14ca836f | |||
e68042f021 | |||
84227611d5 | |||
b94c867bb1 | |||
45b8465602 | |||
57f22f6ffe | |||
f6ce6030b9 | |||
d08c730198 | |||
a09c2e1624 | |||
44d2c8541a | |||
fb444b0d20 | |||
e736015fff | |||
cebf9e6f38 | |||
7b3029acb9 | |||
628a3c557d | |||
967b1963c8 | |||
3556ac539f | |||
de60e5b84f | |||
34fb497383 | |||
e24d7953bb | |||
2c5ea145a4 | |||
142940de79 | |||
3384904d06 | |||
b1343daac3 | |||
90fd0727c7 | |||
6fe488b45f | |||
8a34795e66 | |||
63626b1a4a | |||
32ceed8f26 | |||
09fc6342d2 | |||
f39e0f9318 | |||
c4ce11b8bf | |||
b3ffc323c0 | |||
6e0b96715a | |||
d6c3cd8ca3 | |||
e6f7c8e8cd | |||
0486458c73 | |||
4d2d171f02 | |||
c679b1f333 | |||
ab72fc24be | |||
6902203ce6 | |||
3b552759b8 | |||
0f8436cc91 | |||
de6bda63d9 | |||
4c65bfc3e8 | |||
cf3076eff1 | |||
6af3e6f4ff | |||
009518e79b | |||
66c22508c7 | |||
8885529e15 | |||
aaced4a932 | |||
cf9fc1ddfe | |||
c9c5e84d6f | |||
0ac555e8fb | |||
f7d1c8d1eb | |||
1a9efe3b28 | |||
a783305072 | |||
cf80cda7ce | |||
04008a9c14 | |||
c54d14f5b4 | |||
8afc1352f0 | |||
46551573b4 | |||
c22ad581c8 | |||
2af17af829 | |||
aea00f496b | |||
48418757cb | |||
f1d6883a99 | |||
94473afcd2 | |||
b59da487e1 | |||
7bc0ba211e | |||
a1ee8838a8 | |||
fcdbce2dec | |||
f5b974e4b7 | |||
95370e1f04 | |||
5c9237fd5f | |||
f04aedac27 | |||
8f05527485 | |||
6df3b64c77 | |||
1a5ce95815 | |||
a94a153477 | |||
36a4a9d414 | |||
5407e89d7b | |||
23b1afe4be | |||
a6db8f3cc3 | |||
ac4865c05f | |||
497b880701 | |||
01cb55b691 | |||
2e690eeaf2 | |||
e102c5d54b | |||
78d0256f1d | |||
5d8f02f3ef | |||
f0c5be2a4f | |||
4fbefc5282 | |||
37d5f004ab | |||
8541edec3d | |||
1e008e0e0e | |||
13e2a32639 | |||
d379840333 | |||
3c6d9e1879 | |||
ef05dc8a50 | |||
1c329a05de | |||
190e5bee4a | |||
624195e454 | |||
dcf52c87a6 | |||
7ed3fe2b47 | |||
d97eb646e7 | |||
f01a15952a | |||
ad19c2f58b | |||
e143243c1c | |||
e3c2391fca | |||
5ebcea3aaa | |||
8f6af1cc52 | |||
e07bb69f71 | |||
07e6499b48 | |||
14711d2b66 | |||
31312b21d1 | |||
516f06e0fb | |||
b878c19810 | |||
e911158d3e | |||
4f22f2f0e8 | |||
3a14338625 | |||
13415333fe | |||
0c273ae208 | |||
92d7017a04 | |||
e547bfc0af | |||
a5d6717494 | |||
6ff71c4574 | |||
f728852b56 | |||
00d0ddb62b | |||
63445298ac | |||
5949c238ae | |||
ae2cf49508 | |||
c529f5b7f2 | |||
3e8eb32fba | |||
47ed269251 | |||
6c3912f0bf | |||
015b3dc124 | |||
ccd7cd8c39 | |||
c88828daeb | |||
327205dc2a | |||
630a418fea | |||
8f95edcf9b | |||
d971e7670c | |||
016cc4296e | |||
9df0440c6c | |||
a6634f1f78 | |||
a9068aa4e0 | |||
48fa9225ca | |||
9651058c42 | |||
501956750f | |||
f385e9d253 | |||
386b084ee1 | |||
caf6d0bc52 | |||
b3070a5f1b | |||
4b2c12f093 | |||
802f43d67f | |||
2f1ef98bdc | |||
6e8692e184 | |||
6b522c31aa | |||
697faf0d5f | |||
26361862bd | |||
52c58929fd | |||
6d19a20f5f | |||
e7207593ec | |||
8fb453e6f5 | |||
387f3e5ff9 | |||
5a03ddcd91 | |||
d67edcae6e | |||
3032d76778 | |||
4041bcf629 | |||
2fd2923aeb | |||
bbf1df76a6 | |||
deed1e3c63 | |||
613da18fec | |||
166cbdec5b | |||
ada7fd6fe9 | |||
d3799d3326 | |||
9c71596493 | |||
7db270c25c | |||
5df5ade696 | |||
0a495eb658 | |||
f13a6f9e05 | |||
26d706bb33 | |||
dd4ef173f1 | |||
755db95d1a | |||
7470c902d8 | |||
c14ad8a84d | |||
ef676b143e | |||
3a903426de | |||
1018be2852 | |||
0cca6e24b7 | |||
15209ce39a | |||
5ba184000b | |||
f2af702df9 | |||
ef169d6cc6 | |||
2aef7f3cec | |||
3eb720c36e | |||
87ca3898f9 | |||
c1fa44091e | |||
977778f9f0 | |||
3313a78e36 | |||
0b8aefc656 | |||
a29498f599 | |||
0ce41f1a11 | |||
16f9bf83e0 | |||
371a6674ac | |||
b2b3ab7c43 | |||
47df66d765 | |||
d4b89091d2 | |||
94b761c8ed | |||
1abbf0e91d | |||
54788655f7 | |||
5716b4c358 | |||
7ec15c82f4 | |||
5a61cc5d22 | |||
0115606286 | |||
e0e98eb11d | |||
68aed91eb9 | |||
8ad5a62de9 | |||
990db2213f | |||
c2e4941367 | |||
15316e2321 | |||
bf2710e849 | |||
79152f3c81 | |||
28114ae71b | |||
0acb28a9c0 | |||
98485de881 | |||
36c1719143 | |||
40b41826e1 | |||
a5f5790c93 | |||
8a5283ab1b | |||
55d6238fa6 | |||
52fdc05013 | |||
9b1cbe040b | |||
9b731b5c08 | |||
3693294112 | |||
b2632cec0e | |||
7696290004 | |||
80fde629cd | |||
a4266691e3 | |||
9d917f67fe | |||
134da98a51 | |||
88fa156544 | |||
16e136795a | |||
a6508a4510 | |||
316c9a36d8 | |||
25c27b5595 | |||
3cdf353323 | |||
4d25f96504 | |||
414779db10 | |||
1c2ad45ec4 | |||
4e3cd74449 | |||
ab1b83d5a4 | |||
d3d0f07fd5 | |||
f765d4f275 | |||
e9a0130879 | |||
ead574ed02 | |||
be11d9369b | |||
49abfca717 | |||
1e8c9ad54f | |||
b8a7f04267 | |||
21fdd89b0c | |||
73bbcee932 | |||
a0f29312b4 | |||
395cbb4f97 | |||
fd7fe58e60 | |||
978f47add8 | |||
674ed24075 | |||
271b8a5f81 | |||
509d99ca6b | |||
b59c1f4345 | |||
bc0c364ea3 | |||
9eb4d0a069 | |||
dee0f8845b | |||
5f82433206 | |||
6c52c0b2ac | |||
bd3568aea1 | |||
c1efec7f16 | |||
9b8fa7214f | |||
036ccd73a3 | |||
017b5c453a | |||
b6892969cb | |||
5ac4b8552a | |||
2a244c682e | |||
75bdd43eb1 | |||
eeabd199f3 | |||
9fefd19071 | |||
528a1c40f7 | |||
15aad88404 | |||
c9826d7934 | |||
d72d52a7e4 | |||
c10fb3b9a2 | |||
19651a20e2 | |||
c62b477b6e | |||
e874df9e0b | |||
62a27385fd | |||
89bd4892b3 | |||
0cadafaac9 | |||
2e5d6a8153 | |||
cca1f371d2 | |||
07bc08c299 | |||
25b387a50b | |||
98456f4ee6 | |||
6efa5c3846 | |||
d913d490b5 | |||
0dd913510a | |||
92332635bf | |||
670cd70164 | |||
aece006b38 | |||
1af8923709 | |||
7665aefb0a | |||
b9d2589ca4 | |||
81dd52b7eb | |||
d2b9ec1362 | |||
a9a1913d4d | |||
5d6929772c | |||
adc7d8e6ec | |||
3a499725f0 | |||
fe7367801c | |||
c27ce827dc | |||
4946804f0b | |||
04ea73ee78 | |||
d985cdc763 | |||
bcbcecd38f | |||
98689df18f | |||
cd40ddfad8 | |||
0d6349ee0d | |||
69d5ef9d14 | |||
c0a1625df1 | |||
d2c2f83964 | |||
890788eb63 | |||
97fda101e3 | |||
01797b1737 | |||
771328f7df | |||
05b7cab1d7 | |||
50c11607a1 | |||
2df5abc53b | |||
26072787e0 | |||
488f03bca8 | |||
446082946a | |||
6bb72e4ab9 | |||
cede791d4f | |||
dac7f53a8b | |||
a558ca9aae | |||
de462804e1 | |||
a9473ecbb1 | |||
f33e835a06 | |||
523d669153 | |||
230639b620 | |||
e28d39180d | |||
1e6a889752 | |||
e673e5c09e | |||
e05fa66b24 | |||
eaba51015c | |||
b66907ac16 | |||
ce3d8c2bae | |||
29eeeceb2d | |||
4cec6b6d93 | |||
9eac039f59 | |||
e510f21319 | |||
84672a9639 | |||
e0af8aa34f | |||
6b93112545 | |||
f19a07b2e4 | |||
c8ed32ed52 | |||
3de0ac3651 | |||
6d7f3133fb | |||
c77660916e | |||
f76acba3bf | |||
87f883959d | |||
0d0ebb6be9 | |||
a29d4d2908 | |||
21e23480cc | |||
2b7cd1d0d4 | |||
c92ecaa4d6 | |||
ccd174686e | |||
bd48b235fc | |||
69b18f0b68 | |||
85376bfd9b | |||
63952e1060 | |||
5132570845 | |||
55a972236e | |||
d840e2b3f0 | |||
d13b41124b | |||
98a68ada47 | |||
b93796d624 | |||
dd477e9ba3 | |||
b133c61a91 | |||
c8767058e4 | |||
2c64a2c649 | |||
9d3b1b206c | |||
28e0cb4b23 | |||
715cb40963 | |||
0f14df46aa | |||
40a1966400 | |||
9f25e9d480 | |||
7ca21c1024 | |||
6c36d151a8 | |||
392d699570 | |||
fe701ee398 | |||
f41cb17fe2 | |||
4fe4355377 | |||
1a5f1c89d7 | |||
d35c7fe1bf | |||
c4ba0f4cbd | |||
ae4eee17dd | |||
22e0c560bb | |||
26f725efc2 | |||
7c9540ea1d | |||
c85f9c5897 | |||
3b6624b88e | |||
1156b35a23 | |||
19f5ba81be | |||
54f942499b | |||
2a1c4302d1 | |||
07065edd5e | |||
407f512cfe | |||
c7267631e2 | |||
5c568e00a5 | |||
42adb29853 | |||
96631f941d | |||
7a70b664c4 | |||
931a579a2e | |||
558602ff40 | |||
db48f7ea48 | |||
f95b4a708e | |||
51f2f2eba1 | |||
78d29bff72 | |||
159656b661 | |||
d385624ee6 | |||
d48a3a3b7f | |||
23012a0dff | |||
49e0510d57 | |||
167a512d84 | |||
98fb1bfa90 | |||
32664fd323 | |||
1a73eb08e7 | |||
fdf907e440 | |||
ba8ead817d | |||
655ef61937 | |||
f3127d4af7 | |||
22f97009ad | |||
3ffbc7c8e2 | |||
4817012e93 | |||
4587f84757 | |||
76ab2b7a8a | |||
946d3f9309 | |||
9a085745f1 | |||
eb38fa7e95 | |||
9e4fa330ef | |||
c4e4193715 | |||
1956a00953 | |||
3424f38ae6 | |||
29f2b258c8 | |||
f5d688a5a2 | |||
e52840a9ed | |||
4af38d440d | |||
a802be2910 | |||
ea98b40efe | |||
3fbe1949b1 | |||
d978174d1d | |||
421a962cc6 | |||
b29e2d58f2 | |||
2f954921b8 | |||
b0bf280be4 | |||
5f6f1dab7d | |||
21dde8b25f | |||
370123e1a3 | |||
718c6faff4 | |||
30cf14ff3f | |||
5220aeab6e | |||
b3c27f0a24 | |||
2257a35862 | |||
7129cbf2f1 | |||
b0817b0fe5 | |||
8a643703b8 | |||
50f2e4ccec | |||
d80884ea5a | |||
41baf0c3ff | |||
58bf3e7632 | |||
e63a5f1e7f | |||
61322d7ad2 | |||
dfbe6bd5c3 | |||
b06f8ddfe8 | |||
1ed082bc8b | |||
d4ab5bbc82 | |||
bb7f41d85a | |||
3d8e53f85a | |||
46fc684783 | |||
bf00401e8a | |||
6cc937e687 | |||
9b83f760cd | |||
8950706169 | |||
82b1e019a5 | |||
84bf089f6a | |||
c5f4a8c8f0 | |||
c6382cd4bf | |||
40b0fc3f8b | |||
5a5f6a76ec | |||
1effaca4e7 | |||
037ceda63d | |||
296164e0fe | |||
3c37b5a682 | |||
e9e08ceb3c | |||
3ee54bbf94 | |||
bb7f4c7a4f | |||
0f5d7b9daf | |||
c308554c10 | |||
de332f35da | |||
bb49bfce67 | |||
8c614f2017 | |||
b66757fc58 | |||
ac6a5080ec | |||
b87ad06d2d | |||
156a63881f | |||
cf04c61170 | |||
74258d789c | |||
76118a7d19 | |||
d522db048b | |||
cf2941aec2 | |||
e19d61b4e8 | |||
48c24ce5ee | |||
78d338ccb9 | |||
17ad4598e9 | |||
794f56bdf5 | |||
00fa4f01e4 | |||
75a7862c47 | |||
6d2f7d24ef | |||
888af331fe | |||
1d93b88af2 | |||
c5d0a2ea1f | |||
3487095304 | |||
2ce56f1523 | |||
a342f3937e | |||
9856892297 | |||
a419fd3728 | |||
2c2650a3c2 | |||
2c36889437 | |||
4881b045e4 | |||
1ef2c5303b | |||
e7864ceabc | |||
88030b722d | |||
fa5c69ff85 | |||
5797b2eb05 | |||
39315985e8 | |||
7187758038 | |||
3b43c01bba | |||
6dc7748551 | |||
9df62b04ff | |||
e20dd19dde | |||
f4181052af | |||
3e1b3b1f4f | |||
68dd00d634 | |||
f677d17ab3 | |||
45022ae056 | |||
33fcaf91ff | |||
73c11194b0 | |||
8ba7023cf8 | |||
96d3378dde | |||
c6fe265f68 | |||
496fb23c5d | |||
e8791361b5 | |||
4f32b64e4f | |||
076ce2f4d9 | |||
93faff84cb | |||
80496f0967 | |||
eaab80efaf | |||
d1be92ce07 | |||
aceaa71531 | |||
8f45bf2be7 | |||
4fe0cbac97 | |||
d50cf23e43 | |||
253cd5a7e6 | |||
dc4fceb59a | |||
4ebf9d359d | |||
d5a8155f1b | |||
967b84d5ea | |||
0b5b44e004 | |||
62e61c76b7 | |||
7d89a452d5 | |||
9937a063d4 | |||
660389ef9e | |||
38f1d13a75 | |||
32ca3cd246 | |||
26cf00ab49 | |||
c2ef1029fa | |||
91a580308c | |||
2c5652d72b | |||
39db144743 | |||
400ce55566 | |||
e64a585374 | |||
6205221a73 | |||
e7e01116e7 | |||
d5f23cecd9 | |||
dbd9ea070e | |||
63405dacb7 | |||
543e01a29c | |||
ff4f80bc4b | |||
bdd272a951 | |||
d46bb6bdf0 | |||
585210ad58 | |||
9706359fd8 | |||
0ccfc0cc53 | |||
9b7ae2f3fc | |||
84fbc30e92 | |||
2653cdbe0c | |||
521e48c87d | |||
e26c4a4611 | |||
da5491a626 | |||
92433c2878 | |||
71ae582f71 | |||
b2c136d960 | |||
223434644a | |||
6d88a5d588 | |||
15eb58d77b | |||
10d7845f09 | |||
773cc1b413 | |||
900fcb50f4 | |||
e1de6482d0 | |||
9814f8f037 | |||
6c96542a3e | |||
5ac643362b | |||
a71b6b3b4c | |||
af89f49b83 | |||
f7b57d0b78 | |||
ac4819de70 | |||
0f79a92bb6 | |||
43fcec67e5 | |||
5f7910d220 | |||
7f922b0f6a | |||
1541256f22 | |||
6db1b2fc24 | |||
b1ba6624cd | |||
de82ac7735 | |||
8ddd7d1e5e | |||
672d5ad20b | |||
d453081a57 | |||
afaedc96c8 | |||
fdff6c25a1 | |||
ba8751fc72 | |||
c366f90a2e | |||
1a6fd0b538 | |||
6539e10c4f | |||
f3aa6e9319 | |||
1bfda7293a | |||
5c0e72ff99 | |||
ca52a25882 | |||
e1b1ec7154 | |||
edba21e4a6 | |||
d1aa8eba72 | |||
bba0439d09 | |||
fdefe96503 | |||
8db8432cf5 | |||
1548458efd | |||
ecce847606 | |||
10509c6f19 | |||
ba748cc7c0 | |||
6985c90ff4 | |||
8dcfcb3106 | |||
374b937a25 | |||
419bfbc1f1 | |||
603963e1ba | |||
de5d04011c | |||
f9735dc760 | |||
eb75f7c360 | |||
83bd46e5e5 | |||
ce1064edd6 | |||
39363744cc | |||
4356e09235 | |||
a08475e9ab | |||
a07efab72a | |||
806ad196f3 | |||
d3037bdf64 | |||
a85951fb2f | |||
3c60375c57 | |||
1e69b0a863 | |||
99d258afcb | |||
d5325ddcc2 | |||
4b6f262ead | |||
fe66a0760c | |||
6ae7a2a101 | |||
d74df17eb4 | |||
5401aa207c | |||
309210c980 | |||
9baff96e0e | |||
022f76b0d3 | |||
38dc00bed1 | |||
49c8de74ee | |||
c8a842b708 | |||
a0729899d7 | |||
50cdce9575 | |||
ee941635e6 | |||
7cf9862657 | |||
819b143925 | |||
46caf09598 | |||
1f33a0c799 | |||
3087bf5283 | |||
56dceb2e1a | |||
e3c05c4a3f | |||
fa6ff60c8c | |||
dd14029457 | |||
d44221f9c8 | |||
834543c0c7 | |||
f7cc469139 | |||
9360feaf51 | |||
88607a4b10 | |||
d9169f826a | |||
82aa8f8d7b | |||
ef20ecc92b | |||
6f027ff28a | |||
17856b720b | |||
fd29ff3555 | |||
50b74b2a27 | |||
5fba1ea5bc | |||
6bedbd6116 | |||
2c343386df | |||
1f878fc67a | |||
778065146c | |||
999b916015 | |||
6fb0448187 | |||
84f2c63590 | |||
31bff01a72 | |||
3b6bddafe7 | |||
645064a59e | |||
4f6eccdcac | |||
f97ff0cd50 | |||
7aa44522f2 | |||
eec0d9b8dc | |||
fca506d579 | |||
cc335c7567 | |||
00b539452b | |||
4e6b7907de | |||
19c0ae540e | |||
5fdd201c17 | |||
33d4f73eef | |||
0425b0a4bb | |||
0b9896f328 | |||
a5072af67d | |||
2b59c610d0 | |||
0fa007be13 | |||
59e923d757 | |||
44d89f526d | |||
ad37763a5f | |||
b025de0ddb | |||
06125ebe87 | |||
2488bea1aa | |||
742c6fedbd | |||
8e8ca5c9b1 | |||
5ed02e11b1 | |||
6a7f5845e7 | |||
8b6f8cc1ac | |||
3cb0e278e5 | |||
917b400bc0 | |||
aeb7f0511b | |||
723e736db9 | |||
a8da35440b | |||
8ded4ce1aa | |||
0d61f3fcde | |||
2fd4907a4d | |||
da6ad0bc50 | |||
2d1d47bf3e | |||
6dff3fdd40 | |||
02820ca186 | |||
0562c1e758 | |||
3f59f082e3 | |||
ecf6531c47 | |||
d5de063dff | |||
0612f8d7d5 | |||
d17c4cbf29 | |||
bc94aeaac8 | |||
c831fb8b89 | |||
7d8c0c2c58 | |||
cac2217c93 | |||
205d5ab208 | |||
d1ccfc37bb | |||
4530af217a | |||
1fea734e54 | |||
d5a70bdfd5 | |||
c733540bc9 | |||
2930a72797 | |||
ff5d66836a | |||
fdb846ddf2 | |||
cb2b70b3d2 | |||
9c5dc1fd44 | |||
14331fdae6 | |||
b77c76c271 | |||
1d9a46ba9a | |||
d61e347bff | |||
fc458cdc53 | |||
87471366e4 | |||
339ae162b6 | |||
1e67f0773b | |||
15d8405584 | |||
3d1d966dd8 | |||
ffe6d54151 | |||
e180825080 | |||
8c678cf46a | |||
7de4bb5172 | |||
61452a11e2 | |||
6fe2937770 | |||
4496a2e277 | |||
0a7b6202a5 | |||
55ad8c3af0 | |||
7717725bfa | |||
884dfb6d3d | |||
174ca43583 | |||
0c392b3cfc | |||
a57447da08 | |||
dc20a7d45d | |||
1d900935df | |||
4586ccdfe6 | |||
200262c87d | |||
b269f873b0 | |||
80346d0490 | |||
5b2a2d008f | |||
66038c87da | |||
7e15e87ecc | |||
899e2ce6ce | |||
e6e84f1ea9 | |||
aa69e2859d | |||
8ac6a19155 | |||
0fb58f32c4 | |||
ae91cdabf6 | |||
bdebc8918c | |||
4fe3ba1ea8 | |||
256dd1198c | |||
d4c5b211d5 | |||
cc16ec13ef | |||
dfaff4d18a | |||
ce8763fb13 | |||
534b564345 | |||
19b885943d | |||
3debb1fe87 | |||
8383d3205b | |||
cfab6f69b6 | |||
1f42a38e0f | |||
ea525006a5 | |||
4f4151abdb | |||
b60920df52 | |||
dd35e2c8a9 | |||
ae7bd1eb23 | |||
8165583ed9 | |||
dd9b1d1dd5 | |||
e072247e6e | |||
a5fbd140d0 | |||
e391cbff7f | |||
5b5656565b | |||
eaca95eaf4 | |||
b7d2a6fbf5 | |||
951d9f6f96 | |||
83e7324969 | |||
dc03528355 | |||
756a0bd2fe | |||
a92b73f389 | |||
3d0af855d0 | |||
3a7e7c1998 | |||
62bafca159 | |||
0f416d6874 | |||
4658a98a63 | |||
e2d76a15d1 | |||
27d3f71f1d | |||
1f64e6aa85 | |||
d1d3e62f92 | |||
4ae44fce56 | |||
06c14d0962 | |||
338c8002d2 | |||
c423d7d8f1 | |||
63da206146 | |||
985a4fc96c | |||
6af5d81209 | |||
843b994163 | |||
e209b96e53 | |||
c80ff8437d | |||
2beadeec35 | |||
7e56626b0a | |||
063e1567d8 | |||
1a22d3bc7e | |||
ca0c8e75f9 | |||
5a0b252ded | |||
5ef3460d49 | |||
638bd13a65 | |||
892af1801f | |||
d34a785b49 | |||
2e3c880739 | |||
3a618dd214 | |||
c3f5293da7 | |||
6b3038efc0 | |||
fcc2950a60 | |||
54fcb7862d | |||
4a13126393 | |||
e1e455bc96 | |||
27667a2c0b | |||
8ce59d522b | |||
de028789fd | |||
c703beb31d | |||
1b25f1b47c | |||
99416035fa | |||
66a1e8d4e3 | |||
88900dce0a | |||
b7b085dc65 | |||
b0c6cffb09 | |||
f2c3d8076e | |||
d91b5cf5c9 | |||
1c54985bb0 | |||
0f8bf022fc | |||
ee8780eb78 | |||
03626c0094 | |||
c48d883d8b | |||
b4be50c9ca | |||
936dbe1d06 | |||
c1dc7932b5 | |||
8db79c1386 | |||
fa61f5aa55 | |||
f89c56a54d | |||
f349672966 | |||
6f7db07102 | |||
f47682e586 | |||
4e7a47350d | |||
7c5acd494a | |||
b159d5ba8f | |||
c75f2d8119 | |||
ded91fffb8 | |||
694d18a641 | |||
9ef07d8623 | |||
03eb8a8515 | |||
33fa95cd35 | |||
f26a7c7687 | |||
6b0102db76 | |||
9ce59742b7 | |||
bb0ab9e531 | |||
26036d9db3 | |||
2326a284ac | |||
2912e8e5dc | |||
86b8d176e8 | |||
df5e6f64b6 | |||
91595724e7 | |||
95c331b94b | |||
374d992fc8 | |||
c014ef5919 | |||
199b75f58a | |||
31dbfbc405 | |||
688eec1b97 | |||
fa80dfd34f | |||
69acbbfd56 | |||
211ceb5976 | |||
75a62e7648 | |||
cf9ea55473 | |||
bdd866e38a | |||
18764a328d | |||
7524400242 | |||
3e51d53064 | |||
392e886552 | |||
cde835e39e | |||
a52016cc46 | |||
ef8b95745f | |||
9fc7b8e973 | |||
370c116ca5 | |||
d63627fb84 | |||
24ae85c3ff | |||
ac8ebd0e73 | |||
3d398ad37a | |||
803cf02801 | |||
15192da7c7 | |||
8c4561d2ef | |||
9a32c41c03 | |||
f0de242df0 | |||
63ebb5bde1 | |||
05b1cb8be3 | |||
e0568595ee | |||
2cf9990ec8 | |||
7f60d24fbd | |||
ea81928e94 | |||
3b8ef2b01d | |||
b2e56c1160 | |||
cda59b56ba | |||
aa5f821ee3 | |||
2e38dbe5f1 | |||
0370bcf40c | |||
261d626669 | |||
ef250c47e4 | |||
f47ccbdd47 | |||
80d5c19590 | |||
28cee59ca2 | |||
c4b0fd0a86 | |||
41979d862a | |||
dce4d465a6 | |||
7160766ebf | |||
653f760b13 | |||
64e1fcaaf9 | |||
e1bd38bec5 | |||
0b4a1e220a | |||
4b0f6fa156 | |||
bb7f1b41e7 | |||
1d8d369dad | |||
44705c6e5e | |||
991467da4d | |||
03b99772f7 | |||
fad5395879 | |||
dd5411a8b1 | |||
2d602098f9 | |||
401f8c59bd | |||
1c8f699758 | |||
e781856af1 | |||
013ebbfa58 | |||
79b990d965 | |||
6f70d51fac | |||
55597ff279 | |||
adfaea5400 | |||
6fbd874391 | |||
8e5e9cf1a8 | |||
fd39f915f5 | |||
05b1bac072 | |||
c76e53ce30 | |||
6d569e0c6b | |||
c36e8bf24f | |||
11f7298249 | |||
3e3bae03cf | |||
4ba7b26019 | |||
0fc76910d6 | |||
21ed107958 | |||
384e9aed8c | |||
ce1af8b0bf | |||
ee0f225e3a | |||
87282737a8 | |||
8600893017 | |||
fe68ab9fd1 | |||
9569ebeab8 | |||
3b5351d044 | |||
33354ddaa8 | |||
fb758d420b | |||
a5b265bb0c | |||
0186912f9e | |||
b7c0b8c8ee | |||
6688f466a8 | |||
f87627c25b | |||
77ad581ce9 | |||
5cc9ef414f | |||
f585141cb9 | |||
274925f153 | |||
3dd4953ac1 | |||
672f56166d | |||
ce7bc17149 | |||
e27c096b7f | |||
aef592d9b6 | |||
d145c95208 | |||
0e788c985c | |||
b69ae97ada | |||
6635b3d9a1 | |||
8120759d90 | |||
0805cbe6ae | |||
9b08a18966 | |||
58344fc2e7 | |||
661907cdb4 | |||
6bbfb3bfd6 | |||
4cafc88619 | |||
78f2343aa2 | |||
903c9764a1 | |||
5dff396bef | |||
216345dd24 | |||
f3122426b8 | |||
990d825196 | |||
fdcc0b3915 | |||
3762e99893 | |||
2436349a3b | |||
446e4d73cb | |||
8fda8f4ac3 | |||
3db0198358 | |||
7bb53aa386 | |||
75db596654 | |||
403458e7ec | |||
24ad29e83c | |||
90b3149deb | |||
328ff7dee0 | |||
6b5c3c2953 | |||
0c87b55266 | |||
fcd70085c2 | |||
982c7555ad | |||
993869e3fc | |||
c3e5dd4cd8 | |||
5e90ef8c35 | |||
79f99f640c | |||
65bba289ee | |||
4c7349cf85 | |||
837e3387e5 | |||
7a5f0a9817 | |||
478f430182 | |||
4b2d865820 | |||
5d4cf36044 | |||
8abf6ae757 | |||
4ddd47697e | |||
f9ea7edea8 | |||
93a51766aa | |||
f2592f9bce | |||
56508967d8 | |||
c5cca15cce | |||
a1ccaed126 | |||
073d22b8ab | |||
d54f825ed1 | |||
289e6ce252 | |||
4d5616bf40 | |||
24151963f3 | |||
16ebc9831f | |||
9116eb660e | |||
31a4700ce9 | |||
70866e9f38 | |||
0a7d6908bf | |||
240eaaad28 | |||
58a7e397a1 | |||
cf79c8344d | |||
052b5317da | |||
fcca617eaf | |||
651b11be2d | |||
ab36e26caa | |||
1b564556e9 | |||
0e1a526242 | |||
053851f283 | |||
eb2fc04c97 | |||
a2c0cf5dfe | |||
c5ee35ff86 | |||
e166ea4d2a | |||
e6c8f7ec20 | |||
db2f91b1f7 | |||
c65a600b8e | |||
b74e399c7d | |||
e6809907e7 | |||
a07366c9f9 | |||
44cff7a897 | |||
5846d5727a | |||
8f560d9b9c | |||
84258db5d5 | |||
fa1a07bf50 | |||
19e4f74fc4 | |||
24efe73dfd | |||
4d2af9df7c | |||
e155e78a47 | |||
7200638b6d | |||
eb6f2f55ff | |||
015339fbf0 | |||
1f6369e333 | |||
38eb0ecca5 | |||
3388fdecf2 | |||
0e596ae760 | |||
cc11c97b70 | |||
b54d15487a | |||
5d790e3f52 | |||
20df17cc65 | |||
c1cb6da816 | |||
1950ed9ee3 | |||
9084c3c31b | |||
9557a34abe | |||
afa07f7ae4 | |||
55a8d8a772 | |||
bb0cf01911 | |||
7dff726b78 | |||
5251ff7204 | |||
bfae9a861a | |||
64efbe20bf | |||
3a9d222c1e | |||
2de750b141 | |||
08c9a7ce1f | |||
15e6469ef9 | |||
eac84ca35c | |||
ddcf5a05e3 | |||
e051dc07f5 | |||
74ab031ba1 | |||
b0622de878 | |||
6e89d3bc52 | |||
532e8a9bf5 | |||
5d6593a43c | |||
2d22cda32c | |||
89af71c7dd | |||
9010140c6d | |||
84978674e3 | |||
108bf29516 | |||
24462e6507 | |||
e17ec3e2e8 | |||
4ae02818fc | |||
1faa11ed39 | |||
4988fe2986 | |||
b425bc8cd0 | |||
e37d771001 | |||
b6f2e7bd4c | |||
bad8fbb22c | |||
9b56ef05cc | |||
bc2a2a0a26 | |||
632b2321eb | |||
dfffcad66f | |||
12f6d91a98 | |||
885d963391 | |||
0b13397d15 | |||
068253c369 | |||
fe124925ad | |||
97c8089430 | |||
cc68034ee9 | |||
f716f2ac1a | |||
c3f9d7a4c3 | |||
6bbfc5e7dd | |||
c1cefba150 | |||
1d0de7874d | |||
0d9b441385 | |||
01b6ea4126 | |||
e4d46689b3 | |||
d8b34e41dc | |||
c26c93887a | |||
ea6a3c7d24 | |||
d7decb8244 | |||
b4be7aa093 | |||
acffb2cdd9 | |||
8cf059ae06 | |||
ed365412b2 | |||
ec6d01579b | |||
fb09693ab6 | |||
d820f4b8fb | |||
7c1e959ff6 | |||
a5ac91c256 | |||
cac468c834 | |||
b3e15a2895 | |||
cea31ea5eb | |||
75b1f768d8 | |||
8954395039 | |||
06fd881ed9 | |||
0f3609b3a2 | |||
d64b940801 | |||
dfc9917080 | |||
8bd25abc05 | |||
b75a08b199 | |||
eceba31c7f | |||
cdb9b0c9b5 | |||
6f9c84dc88 | |||
e08ffa615e | |||
b3138821f2 | |||
6cfa4f763d | |||
2919f7f703 | |||
8113083cdf | |||
1002b443b1 | |||
d2113154d3 | |||
a4797aa9f6 | |||
fd9f4f702c | |||
65bb5434f6 | |||
870f69e221 | |||
2527648d8c | |||
e308cc6186 | |||
348b79f057 | |||
995b99d996 | |||
60915b3157 | |||
8da2fa06f8 | |||
afa5ec8d5f | |||
e7cacb1a84 | |||
487f7f24a5 | |||
72b2022b31 | |||
9fb8e22ffa | |||
d7d376b726 | |||
c210d0e31a | |||
1efe2578c0 | |||
4cb8ac234b | |||
2dd7b6b2f9 | |||
7130ca0ce0 | |||
736b124136 | |||
31c2ccacf6 | |||
217ecd112b | |||
0005aabe2f | |||
9315a045cb | |||
128b0cf66e | |||
9ed805cc76 | |||
0f3574e9b6 | |||
fbd6f3995c | |||
654289993b | |||
9cd65cd4b5 | |||
c3cbbe6a78 | |||
19ab8139e8 | |||
11d0c32e69 | |||
617fcf3934 | |||
6cf9402ebb | |||
4b95fa277a | |||
ff23d21e33 | |||
17ce00d288 | |||
c1433f77f3 | |||
bf5ccfd05f | |||
545ed7ab3b | |||
52acef175e | |||
eead87961f | |||
3fca4ed45e | |||
6539edef41 | |||
3d45000c9c | |||
1895838e7a | |||
5cdd9aab34 | |||
940bb4ea42 | |||
dfc30130e9 | |||
fb03dd6043 | |||
fc19ab5f34 | |||
e819c85760 | |||
0c5f61a01c | |||
73be9dd82c | |||
af7f9eeddf | |||
3b1987b6be | |||
042b53ad65 | |||
bb7424f30c | |||
43bd594af9 | |||
ece26961b9 | |||
394ec02298 | |||
58d5df778a | |||
f0a58df785 | |||
1ec76447c0 | |||
08fc8fff25 | |||
2f79eb3fd5 | |||
64f6b71af5 | |||
bc0ec507f2 | |||
809aeeed98 | |||
6de6571f1c | |||
089b685761 | |||
d87a9b8e67 | |||
5e9785d6e4 | |||
b1299c7aab | |||
569711a4ff | |||
cc9b3348d2 | |||
cb5304bc0a | |||
60828b7fa9 | |||
79ab843edf | |||
4cc0126188 | |||
2fdbe0caf7 | |||
ea45ecfb89 | |||
248c60a672 | |||
486df4612d | |||
8346a44dd1 | |||
cc6dc90f30 | |||
8c38a8b191 | |||
3f61949294 | |||
790534104a | |||
74473ec65b | |||
f9a63c0a84 | |||
2e49cf129a | |||
bd4a3f8cd9 | |||
e13dd172b1 | |||
bddd157ea1 | |||
b388c0e557 | |||
9a30c7289f | |||
577e41c06e | |||
3f16a0f113 | |||
38ad45c893 | |||
d3131e4164 | |||
2b68cb08a8 | |||
c7b23e9dc8 | |||
94e2ec7253 | |||
b47b6e9f28 | |||
90f025b276 | |||
c49ab459bc | |||
27bb066b9e | |||
0d22614f46 | |||
1758e73ee6 | |||
fcba427229 | |||
fb10ceb8a7 | |||
efc71c8059 | |||
509e5fd4c0 | |||
2b26baa625 | |||
3870dd9be4 | |||
bb95731dad | |||
8aee7f7fad | |||
c14307e50a | |||
f5fd9a3e59 | |||
6b0fc80ff2 | |||
c024381f8f | |||
a8b4b75d24 | |||
54bb0ce17c | |||
11f016063f | |||
351655cfd0 | |||
3d1bd1f042 | |||
bd6f00f7a3 | |||
0d8d4c642a | |||
9ea7762e79 | |||
b978b61b4a | |||
bb18b43065 | |||
cea8493285 | |||
3a2f900cfe | |||
f83d80bfe8 | |||
22ca8cb415 | |||
752cdbc132 | |||
04be2dd757 | |||
29a9c0718d | |||
6837769a90 | |||
a4432f469a | |||
6838aaebf9 | |||
bce49c2304 | |||
0a0340e42e | |||
62431a7224 | |||
2d5f9cace5 | |||
921a4cfa3f | |||
66da032891 | |||
8f731b847e | |||
19961a4b1b | |||
ad691ad65d | |||
4505ab2a1f | |||
b3587a60ab | |||
59962f3015 | |||
4c1b6b31c0 | |||
3638a52a64 | |||
177f343bcc | |||
32912997bc | |||
302e7bc5de | |||
cc7a411fc5 | |||
8cd17eae2f | |||
4af5d9a94a | |||
f56ac33f3b | |||
60c44e2578 | |||
5745456343 | |||
c9f0732cf1 | |||
404962f32c | |||
eb7940d8b0 | |||
0aa52739dd | |||
73b723d7db | |||
6444d7df0b | |||
ed219ae306 | |||
09fbaaaff7 | |||
3044af7adc | |||
9fe248fbec | |||
ff22b6aca6 | |||
b9c049a368 | |||
07bc3251a9 | |||
ee09878f45 | |||
70627775f2 | |||
9cf1dd280f | |||
f9b826ac37 | |||
b802c0772e | |||
2463aa9117 | |||
fe68a775d5 | |||
8908931f1e | |||
15e1b39e6e | |||
c6e13b6690 | |||
17041207f2 | |||
bf7ad3775c | |||
aae6b88748 | |||
38f3ffad3f | |||
44a1ab2d05 | |||
c9c954f681 | |||
785dee005b | |||
781693f211 | |||
d945621b5d | |||
5b7c6f52e6 | |||
7a98591a1d | |||
4e71436d5f | |||
4665c593ef | |||
d30201feaf | |||
7108107fa2 | |||
90b2cca81f | |||
432575c5d3 | |||
aade90e68d | |||
6cd2c2f6ff | |||
06f818c932 | |||
e8d0c0092a | |||
dbf5a5d0f8 | |||
e67f626664 | |||
a28eb8b2f4 | |||
baea5994d8 | |||
2dc63895eb | |||
ecb2399ab8 | |||
5d3707bbc3 | |||
2e90ee38e7 | |||
9b7e096073 | |||
8928bc0d63 | |||
b89bd788be | |||
1be16f08f2 | |||
0d3915714c | |||
2276d4f4a8 | |||
4f9ff53e42 | |||
d091cd1fc1 | |||
e81b2e4712 | |||
448f5abaf0 | |||
5cdaa3305e | |||
e15556ed3a | |||
520149dc63 | |||
cd62cac9e1 | |||
791ba97d1d | |||
f849972f65 | |||
405a0f5230 | |||
86b299ab35 | |||
00d2b913c3 | |||
0ea7471eec | |||
2ee7f483b1 | |||
dc515b5aed | |||
7a3458432c | |||
2bb3cdfb9f | |||
55823c3d36 | |||
b9267f0cec | |||
a662777b6f | |||
f2ec648fcb | |||
66ce18c508 | |||
708cf4b34e | |||
4dc6646f53 | |||
df1a065215 | |||
660dd00079 | |||
48b24252f6 | |||
d31d1f8bd1 | |||
fa1f6ff09e | |||
f18dc5c72c | |||
ef8c559e53 | |||
9e1b9b5a7e | |||
74203de851 | |||
2a7be5bf30 | |||
030ba1bff3 | |||
6dcb6c2fa4 | |||
bd21f2844b | |||
6bffc5c269 | |||
8689a239f9 | |||
ed3242e338 | |||
853bb4dc11 | |||
7d7c631066 | |||
e830513def | |||
131ff8ccec | |||
9faa584cc9 | |||
86d0d6e2cf | |||
9d6523c7db | |||
a93d22dd58 | |||
c864958a48 | |||
1d9199c60e | |||
dd770a8460 | |||
2cc81dc4b7 | |||
ce31521611 | |||
0a144fa583 | |||
06a41f1f60 | |||
4a12a56cdf | |||
e7f4780137 | |||
2fcc034705 | |||
a0dabd1848 | |||
8c2852420c | |||
e75bac3a00 | |||
968ac7914d | |||
5af2deae92 | |||
652c491917 | |||
8ba9e8cf63 | |||
ed6d1e6dcc | |||
de690a30a4 | |||
4c2f26c9fc | |||
3d00f7798c | |||
03e9cb9b35 | |||
4c067c8550 | |||
0545166485 | |||
5eb2115c3d | |||
c9297c6780 | |||
d308ed37bc | |||
d1b482c716 | |||
9c462c617e | |||
d7b88dcbcd | |||
e3816b4bc9 | |||
db70f3bb4d | |||
b009ac49c8 | |||
5ee9bc1840 | |||
8c85880236 | |||
a2c49b0299 | |||
552bc70c65 | |||
bbc3094441 | |||
8ac8ac635c | |||
72d77a9a0c | |||
770b0346ff | |||
e750b38e48 | |||
6b27c38f4a | |||
fefd8e7fde | |||
bba1ee070d | |||
ec975b0a4f | |||
19e7060d7f | |||
57dd073369 | |||
4966a8c136 | |||
9ae150a591 | |||
9990943782 | |||
ae3aaeb045 | |||
987d42da1d | |||
234eabaa8d | |||
21e09b1c15 | |||
fbc87b638a | |||
c8e974f063 | |||
8583a716bc | |||
333ad475fa | |||
edf51d2352 | |||
3f4f5a34ed | |||
de4410c51f | |||
367956d58e | |||
f63422aac0 | |||
b7ff886f0e | |||
e98f305abd | |||
61c3b593e4 | |||
8cbe3528dc | |||
d391754108 | |||
f59a052ee8 | |||
357ea55f45 | |||
39f3c7e184 | |||
0b9cfe60b2 | |||
86669939ea | |||
113f670baa | |||
71955a5b3f | |||
109faa6719 | |||
f71f1796ce | |||
71d227b108 | |||
ccb62960db | |||
c430ecec9e | |||
5ef51edd4c | |||
5254104b46 | |||
a8fa25138b | |||
4a6477ed64 | |||
31fb846c59 | |||
f281b6d175 | |||
6b7178aa10 | |||
60eca531df | |||
94d79a338b | |||
390fb506cc | |||
d0c6797e79 | |||
02c0814764 | |||
4e2f95b789 | |||
fe98e90671 | |||
5348512451 | |||
b082670234 | |||
a302e7f46b | |||
202e7d4f3c | |||
eeb83b6b53 | |||
ebde659503 | |||
e577168ae3 | |||
82eb80cc8c | |||
35da319b72 | |||
3a1a956286 | |||
faca0bc2fa | |||
b0d868e8fe | |||
c40275bce0 | |||
3a59174cf0 | |||
6d4a060bba | |||
9911d64b9e | |||
ad417c9c7b | |||
cdeb41482a | |||
52a022f680 | |||
1b43ad7149 | |||
5fed693a52 | |||
745e58a5ee | |||
f17a0df112 | |||
80961af4b6 | |||
d29c81d513 | |||
c534a066d8 | |||
e73e81d029 | |||
812a839744 | |||
51962d3f13 | |||
30b7c31547 | |||
125506e6fb | |||
780114fb07 | |||
bb11232210 | |||
239e435739 | |||
4461613119 | |||
2531865f13 | |||
06528d97a9 | |||
de8e68917f | |||
8247f3df67 | |||
290c445911 | |||
ee03dc2644 | |||
f3dc659516 | |||
fce1d38054 | |||
85aec31c14 | |||
c9ed3ee8d8 | |||
517c4c1563 | |||
cff16b6f9d | |||
50a2a86832 | |||
8fdc9162d9 | |||
8aef4f57f8 | |||
acad6212c8 | |||
46255f7ee4 | |||
457253cdc6 | |||
fb87e413bd | |||
7fd1e4b9b1 | |||
8919ac726b | |||
8d0fd5d7d3 | |||
ded0c77d48 | |||
f4d81e0385 | |||
679d624fae | |||
3ec008bf40 | |||
6e3cc8855b | |||
a4fc7bef7f | |||
34510c377e | |||
a353d054ae | |||
13367490b0 | |||
4d98916721 | |||
3130a93bfa | |||
0738d2a00d | |||
60e1fcb07f | |||
17180af69a | |||
bb684e0c8d | |||
0eb92dfbc7 | |||
c645a5aac4 | |||
1a26a30a7f | |||
cef673759e | |||
387417be03 | |||
654a45d2ad | |||
209a1bf8ca | |||
88f81af1ef | |||
ae15fec0b8 | |||
bbfeb586a6 | |||
d0dcf877e4 | |||
06c7d64be9 | |||
8cbd569f74 | |||
03d3142733 | |||
251279c537 | |||
39303d5d49 | |||
fd051dc018 | |||
95bca33efa | |||
c92f5f218f | |||
b0b0c8c60a | |||
6c9737b1ac | |||
2106638ec2 | |||
f1114d8918 | |||
01d2e46ddb | |||
18c4e26ede | |||
842253b242 | |||
69a835d311 | |||
8889e0106d | |||
12f0b4c80e | |||
3419bf639d | |||
f81f62a6c1 | |||
29b258ccc0 | |||
a5a124c188 | |||
ece7d0cfea | |||
145ef87b32 | |||
cf243657e7 | |||
afc74cab6e | |||
7d48ac5c7d | |||
d837e66007 | |||
0be6cee817 | |||
be6958ede4 | |||
9839eff60a | |||
4f2b558aad | |||
ab96ce6659 | |||
ab6583ece0 | |||
9efe426cc4 | |||
26475572a7 | |||
54c2cc1b29 | |||
3d76725c41 | |||
1619a38475 | |||
fafc11f2f5 | |||
e3e3f4f4ed | |||
21b71ce66b | |||
10b65dcfc7 | |||
4ad1446b83 | |||
eafb31be30 | |||
9abc3fe970 | |||
5b05823388 | |||
6756c16e82 | |||
1299dc107d | |||
118fb60b3a | |||
85c34750cf | |||
5da002980b | |||
0423a2bd1a | |||
2fc1a37c04 | |||
108fb8a37e | |||
58f68e80ec | |||
e78af97349 | |||
d0a5deb46a | |||
e1416fd58f | |||
f86c3fc017 | |||
6459e427e8 | |||
bac90c00b1 | |||
0a36c2ce15 | |||
cbe73ea28b | |||
7866d497ad | |||
a6b3b4dd8f | |||
d426c54c27 | |||
cbc012318c | |||
abe62be81d | |||
a8a9f34e9b | |||
e798e6a0b9 | |||
b1d26f0e92 | |||
1ce225b5a3 | |||
11f8c9d9be | |||
8bffebee3d | |||
ede8f2673b | |||
c06ee50d3d | |||
418c2bb29b | |||
ebc1e2163f | |||
0ea93cdc35 | |||
7bea0846db | |||
1b25c8efca | |||
35cb7851ab | |||
5ccc73145f | |||
eb5d76a510 | |||
f78f97e156 | |||
bc10d72887 | |||
d940050897 | |||
c08e62d7d4 | |||
9554b26f9f | |||
7837c203d6 | |||
210b351df3 | |||
ebee0d4369 | |||
a00c7774d8 | |||
14e8f20edc | |||
344ed02a74 | |||
e18e5ab5fa | |||
871156898c | |||
0140541f50 | |||
dd549e1175 | |||
c57a273d4c | |||
06c373d162 | |||
7875dbd981 | |||
ce9f422b51 | |||
c3bc6cbe9d | |||
a8c0cb3512 | |||
e0058e89ab | |||
a98b5bf89b | |||
905e1e763e | |||
1da5fb67b0 | |||
095db339f7 | |||
d1d85e8849 | |||
c83e70eed2 | |||
ef73cb88dc | |||
8fb9f23d51 | |||
5f187dbe63 | |||
c1072f2fc7 | |||
1dc188fad0 | |||
4f16049f17 | |||
57ccb9c5e8 | |||
0be087deee | |||
50ddc0bb28 | |||
27efc501d1 | |||
f241998352 | |||
3ff98ca858 | |||
39ac797eda | |||
f0c50b0e4b | |||
510758826d | |||
e1d5facea2 | |||
fb7eaa5beb | |||
04d2601426 | |||
59790dded6 | |||
1bf411c743 | |||
a7e925027f | |||
65ddbb720b | |||
fe2510764d | |||
1d23eb6d37 | |||
b61c219a38 | |||
918ff858cf | |||
50a7fca1d7 | |||
d9bbbe3ca4 | |||
ace395b96a | |||
be073dacb0 | |||
1f6e3294f8 | |||
95278a59bd | |||
76a1f49f74 | |||
9700e91b10 | |||
d5018a8f78 | |||
f699c14c03 | |||
b775a62bb9 | |||
e66b10f3e1 | |||
7fe9e8edea | |||
90d3b2b0c0 | |||
2e464cf3b0 | |||
8d0e88db34 | |||
1f2ae91074 | |||
58a8953793 | |||
4dfb5f1055 | |||
35282a0f1b | |||
cd7dfaf3b0 | |||
26a4b9d063 | |||
bb10ec3d41 | |||
28cdd4c8d3 | |||
91b76f19f4 | |||
881ff66183 | |||
63b6fea5c9 | |||
4cdd2f8ce1 | |||
de31587a3a | |||
97bdb9aa31 | |||
4c6dfbc2c1 | |||
53dabc29f2 | |||
e96a6d26a6 | |||
1fdb76945a | |||
126ce5c28b | |||
e750198528 | |||
5bf6347cf8 | |||
d4475fc6f9 | |||
e5a9e60fc5 | |||
7000f5a0c1 | |||
371e7d95aa | |||
4d991550b3 | |||
faad9684a9 | |||
d4d1ef8189 | |||
0f0e4e6c66 | |||
a892cde653 | |||
8c986ab263 | |||
a45e9f8106 | |||
59b8f275c2 | |||
635e512be3 | |||
7b8fff1d86 | |||
29558af3da | |||
a7835c462e | |||
aea8eecded | |||
546990710c | |||
5bc46d8318 | |||
54d6a288df | |||
82112b22a2 | |||
847f12b031 | |||
d37a5bc29e | |||
df946b8696 | |||
76f7b79fb8 | |||
3711479c27 | |||
0d42a2c421 | |||
cf45830982 | |||
7ee05eddf1 | |||
31ff06a2da | |||
56dfc93751 | |||
faa5f9869d | |||
5e2ac2c079 | |||
e73a85c5a5 | |||
17fd13a4a7 | |||
27929bd0b0 | |||
2abde07b9d | |||
e8093054d3 | |||
1ce4bf9717 | |||
7345a17a43 | |||
5a9dbde59c | |||
0602ce67a6 | |||
b0f1988f89 | |||
68c851bcd7 | |||
c8a649c08f | |||
846b4941fe | |||
d3b8393310 | |||
f0afb3e335 | |||
fc7cc42813 | |||
9d0950f154 | |||
2b69b21c2d | |||
c38960d7f3 | |||
79d26c7a83 | |||
31e0d42a1d | |||
1dc5ce31ce | |||
3414f6035b | |||
58175c7010 | |||
c4be175bdc | |||
c150a57d29 | |||
10b52e0f22 | |||
669ba23710 | |||
7a2a29d0e1 | |||
16c77f72ca | |||
364f2e10cb | |||
de39fc7160 | |||
93459d6278 | |||
572f4988dd | |||
9b05af367f | |||
29cc33181a | |||
873b4e70bc | |||
f1eff68ef5 | |||
24681f188a | |||
e9147bdf11 | |||
4f51b0f7fe | |||
d022718001 | |||
43fc1aee4d | |||
db693b44aa | |||
446f77daad | |||
d8214d7e0e | |||
cfd8929ac6 | |||
3ddf57e24e | |||
88d3ec222b | |||
1d3fde4693 | |||
f061a73ab9 | |||
3b7668325b | |||
9e53db4dc3 | |||
1d017363c4 | |||
653d5d3b12 | |||
b855f7e402 | |||
b250b2349f | |||
b4cf849333 | |||
a48433d39b | |||
3e70690f2a | |||
0a2e39d260 | |||
abe73975f0 | |||
575f1d7784 | |||
4b73fa97ce | |||
5cb876cc1f | |||
7a5f77142f | |||
91b7cb1b7a | |||
1cedc7e40f | |||
4ca3a8abfa | |||
931982600d | |||
7398deda2b | |||
b8a05e29ac | |||
c24e4a456f | |||
78e09f9622 | |||
6985a7b7d6 | |||
82e8c69a56 | |||
c8cf591ee8 | |||
5ad79cdf2f | |||
f2dd0499b6 | |||
b00bac707f | |||
de5e4c9982 | |||
95cb1e72d7 | |||
1313244ae7 | |||
9cd99a1524 | |||
6994bfefb5 | |||
2819a40ed3 | |||
07a803db77 | |||
cd27b8d511 | |||
b892f1ac5d | |||
4a00ccc748 | |||
5ce400178a | |||
c57eeb9c8c | |||
9101608e85 | |||
aefbc46a05 | |||
6e25feff70 | |||
362a734091 | |||
4c8d4872a5 | |||
f42db110d0 | |||
794284ff0e | |||
9829b6f408 | |||
f8b54b6315 | |||
4bdfebd4d8 | |||
e07df9d783 | |||
a16cffe480 | |||
f6d14773b2 | |||
20c893e82c | |||
64af41d3db | |||
e99a718e83 | |||
06e9816191 | |||
bb000cf07a | |||
651614930e | |||
8af4fff278 | |||
7225a366bd | |||
ec151f0924 | |||
58d6ff1330 | |||
730df3cc43 | |||
42e422ed66 | |||
58eef23dcf | |||
7904e720d5 | |||
d30c129ad4 | |||
39d0e2a2cf | |||
280bc30346 | |||
d59b1460c0 | |||
e3be9c05d5 | |||
528448e3fc | |||
088f09dc2f | |||
69e9e715a6 | |||
5c61fa851f | |||
e62836b7d6 | |||
9ab6d92e96 | |||
c4986eb7f4 | |||
f513cebd8b | |||
19cd07f2a0 | |||
b41ae259d9 | |||
2c373d6989 | |||
e9d3b9c0f6 | |||
b72ab9e4d7 | |||
c56ae2ffa1 | |||
369e1f074f | |||
a9b642999b | |||
a0cc5a697c | |||
79e8412665 | |||
a51ff0712c | |||
986d5c90a5 | |||
925ea51e4c | |||
ce23d4c6f1 | |||
a0ad6e7873 | |||
13a500a404 | |||
64aa881263 | |||
88af0f38eb | |||
02b13fd8cd | |||
6fcd7b8eb1 | |||
c2ccc9782d | |||
dd4d895136 | |||
3a4edb6ea8 | |||
4ff675ebd0 | |||
aa7cf5597b | |||
2dcc3a5c68 | |||
3aa9adba67 | |||
7a8205ba35 | |||
711fb811ac | |||
c07f8fbe6f | |||
961d31bdb3 | |||
e0e1e64855 | |||
56dd2d26b5 | |||
89011bec6a | |||
1e96ea1a09 | |||
d5f91e41c3 | |||
3664647a25 | |||
02c997122f | |||
93ffe83ec2 | |||
c724ac1f3c | |||
d5b9ce926c | |||
05498a254d | |||
e7f4beca19 | |||
f9ae706521 | |||
b44266996b | |||
0111533416 | |||
f3ca88b7ed | |||
610d46506e | |||
012e7a4ebd | |||
1f4b5eff37 | |||
5e0a2c2da4 | |||
9d75957116 | |||
0d8f1dac9e | |||
5bd5a9ae01 | |||
b9585c5cc8 | |||
5bc61dafd1 | |||
1d446349ae | |||
39b4707fec | |||
37ca75117a | |||
4c2ec08bf7 | |||
885749db2d | |||
846a43eb6b | |||
58b9eeca32 | |||
ca3405ff32 | |||
fe67951fa7 | |||
cd5f2b500d | |||
60d7348a36 | |||
c0dbd65d0c | |||
7bbcb4c424 | |||
808fc8ef87 | |||
5e4b8ad5a7 | |||
6284c7e6de | |||
b262293607 | |||
39a1809349 | |||
35e106ce7e | |||
ea5195271a | |||
0b6b09a374 | |||
54ec7c8216 | |||
868f74aaa6 | |||
b088dc6ea8 | |||
a854534d90 | |||
d54e859ace | |||
7c073979e6 | |||
07662a6bac | |||
489406e465 | |||
da2001c4e9 | |||
448d9fb431 | |||
7154ef2fe1 | |||
a418414a58 | |||
564c2191ab | |||
1bad4ce421 | |||
2d7825b0fc | |||
975da840d0 | |||
4ff2233ddf | |||
2bf1d417c5 | |||
c32c85308f | |||
11fcb2bcc6 | |||
a59333941b | |||
2463533833 | |||
ca74f8fe0e | |||
6ea6775fa3 | |||
089b9089c1 | |||
36ec3e9ba1 | |||
b5211ef2e7 | |||
0863f0be89 | |||
4aa181e712 | |||
965955edde | |||
2a5f6cb351 | |||
df3de64b37 | |||
6ec87da84f | |||
f369e60329 | |||
2ec4183c3c | |||
143fb46d47 | |||
06e8315292 | |||
b13fac37eb | |||
15a487a576 | |||
509edac717 | |||
4aec34005d | |||
dfe8d64459 | |||
6e6b36ac68 | |||
46fb8b6f05 | |||
067d38a7af | |||
22e6018b28 | |||
8bd5c5f42e | |||
3bad8c42ae | |||
a50b1f9dd0 | |||
e36a00af71 | |||
3e893bbed5 | |||
6a8ce0d250 | |||
8168046432 | |||
4c0e277e4e | |||
717b6e3151 | |||
9e69c87317 | |||
bdad9a8e72 | |||
b28f466a7b | |||
550fa21776 | |||
64b29990dc | |||
2d124ec16d | |||
e307343b9e | |||
3c8b5d00c3 | |||
040aff2745 | |||
4f41336fd8 | |||
e098c8a593 | |||
39130a4f1e | |||
1f3135427b | |||
1a5b7c6540 | |||
9bd6015843 | |||
2ad7ea07b8 | |||
9022b9d2aa | |||
f743728e9f | |||
ae2cb2d3bf | |||
1f5ebf7c8b | |||
9aaf59aa6d | |||
a89b9cd493 | |||
7731932937 | |||
ecb4491899 | |||
405eb44fdb | |||
9593e973fa | |||
654cc2fe10 | |||
6197b76988 | |||
b4953a93aa | |||
c51df93ccf | |||
cea7e8bdef | |||
ef3f94a5db | |||
5ceaf7bf5f | |||
f99fa1058d | |||
e99f0390b9 | |||
ec953bc2f9 | |||
7182ccef24 | |||
6dcedfaaef | |||
82d7609ea9 | |||
d840eb5719 | |||
4979ffc5cb | |||
1740230ace | |||
f054a4bf3d | |||
8251fa0eb0 | |||
f8307c3bb4 | |||
5486786495 | |||
9110c17668 | |||
f6081c2deb | |||
ddb2a77511 | |||
438b463a8f | |||
e462585c94 | |||
b81362a82e | |||
5474eb15ef | |||
ebace9f250 | |||
c515898b33 | |||
6b1ceacb9b | |||
60e084b7d3 | |||
a34b5bc6ed | |||
14604dad4e | |||
b433d26ef1 | |||
da8e2ca32e | |||
dc3910cfd7 | |||
89a82371e8 | |||
adb176b81a | |||
4702914e34 | |||
696545db7b | |||
d6cd255321 | |||
3fcb218565 | |||
90f515a14b | |||
facc08c47a | |||
98376b8459 | |||
8173ad1ed7 | |||
06bc4d712c | |||
2db06bba0f | |||
2aa13eff9d | |||
fbc508fbb8 | |||
e3011451cc | |||
e8620146d9 | |||
59326f35a9 | |||
7c670695fa | |||
12173feef8 | |||
f55c3c2eb9 | |||
c6c897280e | |||
b6fdd22456 | |||
9b26127a45 | |||
c3e7416b1b | |||
2df1c124c4 | |||
f6a4344c5b | |||
81ec9c0500 | |||
160fbe5cc2 | |||
44ffb5dedf | |||
659f40bb34 | |||
17a3ceb2fe | |||
148b1db9c9 | |||
8aa50730aa | |||
1a8c1df55b | |||
ac350f82cd | |||
688d004c4f | |||
6308e0e92f | |||
21fa51475d | |||
bb748c5f92 | |||
963500fe0b | |||
f7741d7964 | |||
d644a2788f | |||
87027645e0 | |||
1607406b7c | |||
2202a12d05 | |||
5b3bf4ad27 | |||
57d71c8278 | |||
219bacccb5 | |||
b130a78257 | |||
0d284959dc | |||
3fa103a602 | |||
b4a78045d5 | |||
b5170c3e92 | |||
f1287266ab | |||
9129f1aae9 | |||
7094f4ea61 | |||
20d7c876bd | |||
ed70c18975 | |||
2526fd4a3d | |||
ee8ce8d208 | |||
9d5f9f2671 | |||
5eec229d96 | |||
ab3a24ba2e | |||
6fcf7de925 | |||
17da4f423a | |||
dbee8aea32 | |||
514bd56af9 | |||
2e8b770a9e | |||
0f5957a960 | |||
777ccd4396 | |||
532001ae73 | |||
a211c1bf94 | |||
f129aed5c2 | |||
ccb950265a | |||
90ac7365ad | |||
d88cd70877 | |||
e2c2a4c42b | |||
b5ad535d5d | |||
ba959ad2db | |||
8c4b526fd2 | |||
006114bbe0 | |||
66faf0c286 | |||
17c59f5da5 | |||
5af546c5e4 | |||
ee3158fd6c | |||
2626ecdf50 | |||
1613e25be1 | |||
7a604bbccd | |||
e348066bd8 | |||
9966703776 | |||
cbcdb3e754 | |||
4ccb23fe27 | |||
b7482219e8 | |||
a397089259 | |||
e490a87582 | |||
86c92ba042 | |||
04864c7fd0 | |||
3d38695e5d | |||
a305afb62c | |||
fceac7ed5d | |||
466841e723 | |||
3dee6d1555 | |||
e153101b9a | |||
3a314658af | |||
9641a92b11 | |||
8f25a6680e | |||
99f4683adf | |||
9123449734 | |||
12574dd72b | |||
1ca26664e6 | |||
88f4e08acf | |||
55b3081b89 | |||
045cc899c9 | |||
e4988ccf06 | |||
1c56f2fe77 | |||
1df39c3aca | |||
bcb124e009 | |||
ec41dae245 | |||
674f9c451f | |||
d9edab5102 | |||
d0f3e17bfe | |||
f854822fe0 | |||
39733a065d | |||
8aafbd8252 | |||
315b239c35 | |||
f29a6898ec | |||
7f55810cf0 | |||
7a4d41aa2d | |||
d5c4aa7a0a | |||
2c8bd0df63 | |||
08f4fb07da | |||
dda0fc4c13 | |||
0bc06ab4b1 | |||
b11d4e3ea4 | |||
1cbe19f2d8 | |||
8349cb58de | |||
59b8e4f511 | |||
e58a782c11 | |||
ee87885343 | |||
dfa51259ad | |||
67403ed6e4 | |||
c32c054cc4 | |||
185202c469 | |||
0b71cf164b | |||
035ee6a668 | |||
e51d731abc | |||
ee424e5941 | |||
0d7c7a84e7 | |||
a93e754c36 | |||
ddfccb4b9a | |||
d9ef546269 | |||
1a4abb73cd | |||
4a027e6e95 | |||
c4b614ca15 | |||
36c601b17b | |||
757a246ccd | |||
cbdbf01807 | |||
967ed213dc | |||
8a25caee05 | |||
e66600ee4f | |||
8f567320ba | |||
549080b8b3 | |||
3abdeb0af0 | |||
e8604b8da6 | |||
283b01db40 | |||
32bdffaf54 | |||
bf713b04b6 | |||
4721f43390 | |||
8ccf59a947 | |||
4021a5acb3 | |||
dc71e25494 | |||
0e9bbcc905 | |||
65cbbe77ac | |||
892e9f6030 | |||
152f1c918f | |||
97e8b754bf | |||
be841404cc | |||
77f7a6e386 | |||
93323b303f | |||
ea83e3e9fe | |||
6e09b3bde9 | |||
a613ccd18b | |||
09b883f352 | |||
5c3452b800 | |||
735b9a0d1c | |||
b77cbbe1b0 | |||
1c9d8632fa | |||
13f8998026 | |||
eeb4e20b2f | |||
71327fbad8 | |||
d8ec973fd2 | |||
faafbfb81e | |||
aeb50d20c7 | |||
c6d134988c | |||
77a30af41c | |||
532b8d5f25 |
@ -17,6 +17,9 @@
|
||||
--ignore CONFIG_DESCRIPTION
|
||||
--ignore MISSING_SPACE
|
||||
--ignore CORRUPTED_PATCH
|
||||
--ignore SPDX_LICENSE_TAG
|
||||
--ignore UNDOCUMENTED_DT_STRING
|
||||
--ignore PRINTK_WITHOUT_KERN_LEVEL
|
||||
|
||||
# FILE_PATH_CHANGES seems to not be working correctly. It will
|
||||
# choke on added / deleted files even if the MAINTAINERS file
|
||||
|
@ -1,10 +1,21 @@
|
||||
BasedOnStyle: LLVM
|
||||
Language: Cpp
|
||||
IndentWidth: 8
|
||||
UseTab: Always
|
||||
BreakBeforeBraces: Linux
|
||||
AllowShortIfStatementsOnASingleLine: false
|
||||
IndentCaseLabels: false
|
||||
SortIncludes: false
|
||||
ContinuationIndentWidth: 8
|
||||
ColumnLimit: 80
|
||||
BasedOnStyle: LLVM
|
||||
Language: Cpp
|
||||
IndentWidth: 8
|
||||
UseTab: Always
|
||||
BreakBeforeBraces: Linux
|
||||
AllowShortIfStatementsOnASingleLine: false
|
||||
IndentCaseLabels: false
|
||||
SortIncludes: false
|
||||
ContinuationIndentWidth: 8
|
||||
ColumnLimit: 96
|
||||
AlwaysBreakBeforeMultilineStrings: true
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
AllowShortFunctionsOnASingleLine: false
|
||||
AlignEscapedNewlinesLeft: false
|
||||
AlignTrailingComments: true
|
||||
AllowAllParametersOfDeclarationOnNextLine: false
|
||||
AlignAfterOpenBracket: true
|
||||
SpaceAfterCStyleCast: false
|
||||
MaxEmptyLinesToKeep: 2
|
||||
BreakBeforeBinaryOperators: NonAssignment
|
||||
BreakStringLiterals: false
|
||||
|
19
.gitignore
vendored
@ -16,6 +16,7 @@ payloads/coreinfo/lp.config*
|
||||
payloads/external/depthcharge/depthcharge/
|
||||
payloads/external/FILO/filo/
|
||||
payloads/external/GRUB2/grub2/
|
||||
payloads/external/LinuxBoot/linuxboot/
|
||||
payloads/external/SeaBIOS/seabios/
|
||||
payloads/external/tianocore/tianocore/
|
||||
payloads/external/tint/tint/
|
||||
@ -86,6 +87,7 @@ util/archive/archive
|
||||
util/bimgtool/bimgtool
|
||||
util/bincfg/bincfg
|
||||
util/board_status/board-status
|
||||
util/bucts/bucts
|
||||
util/cbfstool/cbfs-compression-tool
|
||||
util/cbfstool/cbfstool
|
||||
util/cbfstool/fmaptool
|
||||
@ -99,7 +101,6 @@ util/futility/futility
|
||||
util/genprof/genprof
|
||||
util/getpir/getpir
|
||||
util/ifdtool/ifdtool
|
||||
util/ifdfake/ifdfake
|
||||
util/intelmetool/intelmetool
|
||||
util/inteltool/.dependencies
|
||||
util/inteltool/inteltool
|
||||
@ -122,16 +123,12 @@ util/autoport/autoport
|
||||
util/kbc1126/kbc1126_ec_dump
|
||||
util/kbc1126/kbc1126_ec_insert
|
||||
|
||||
documentation/*.aux
|
||||
documentation/*.idx
|
||||
documentation/*.log
|
||||
documentation/*.toc
|
||||
documentation/*.out
|
||||
documentation/*.pdf
|
||||
documentation/cpukconfig.tex
|
||||
documentation/mainboardkconfig.tex
|
||||
documentation/skconfig.tex
|
||||
documentation/socketfkconfig.tex
|
||||
Documentation/*.aux
|
||||
Documentation/*.idx
|
||||
Documentation/*.log
|
||||
Documentation/*.toc
|
||||
Documentation/*.out
|
||||
Documentation/*.pdf
|
||||
Documentation/_build
|
||||
|
||||
doxygen/*
|
||||
|
13
.gitmodules
vendored
@ -21,3 +21,16 @@
|
||||
[submodule "libgfxinit"]
|
||||
path = 3rdparty/libgfxinit
|
||||
url = ../libgfxinit.git
|
||||
[submodule "3rdparty/fsp"]
|
||||
path = 3rdparty/fsp
|
||||
url = ../fsp.git
|
||||
update = none
|
||||
ignore = dirty
|
||||
[submodule "opensbi"]
|
||||
path = 3rdparty/opensbi
|
||||
url = ../opensbi.git
|
||||
[submodule "intel-microcode"]
|
||||
path = 3rdparty/intel-microcode
|
||||
url = ../intel-microcode.git
|
||||
update = none
|
||||
ignore = dirty
|
||||
|
2
3rdparty/blobs
vendored
2
3rdparty/chromeec
vendored
1
3rdparty/fsp
vendored
Submodule
1
3rdparty/intel-microcode
vendored
Submodule
2
3rdparty/libgfxinit
vendored
2
3rdparty/libhwbase
vendored
1
3rdparty/opensbi
vendored
Submodule
2
3rdparty/vboot
vendored
@ -1,162 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Galileo Implementation Status</title>
|
||||
</title>
|
||||
<body>
|
||||
<h1>Galileo Implementation Status<br>2016/07/08 06:51:34 PDT</h1>
|
||||
<table>
|
||||
<tr><td colspan=2><b>Legend</b></td></tr>
|
||||
<tr><td bgcolor="#ffc0c0">Red</td><td>Required - To-be-implemented</td></tr>
|
||||
<tr><td bgcolor="#ffffc0">Yellow</td><td>Optional</td></tr>
|
||||
<tr><td bgcolor="#c0ffc0">Green</td><td>Implemented</td></tr>
|
||||
</table>
|
||||
<table>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<table border=1>
|
||||
<tr><th colspan=2>bootblock: 100% Done</th></tr>
|
||||
<tr><th>Type</th><th>Routine</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>bootblock_c_entry</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>bootblock_main_with_timestamp</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>bootblock_mainboard_early_init</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>bootblock_mainboard_init</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>bootblock_pre_c_entry</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>bootblock_protected_mode_entry</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>bootblock_soc_early_init</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>bootblock_soc_init</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>tsc_freq_mhz</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>uart_init</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width=5> </td>
|
||||
<td>
|
||||
<table border=1>
|
||||
<tr><th colspan=2>romstage: 67% Done</th></tr>
|
||||
<tr><th>Type</th><th>Routine</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>arch_segment_loaded</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>backup_top_of_ram</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>boot_device_init</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>car_mainboard_post_console_init</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>car_mainboard_pre_console_init</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>car_soc_post_console_init</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>car_soc_pre_console_init</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>car_stage_entry</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>cbfs_master_header_locator</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>cbmem_fail_resume</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>clear_recovery_mode_switch</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>cpu_smi_handler</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>fill_power_state</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>get_sw_write_protect_state</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>get_top_of_ram</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>gpio_acpi_path</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>init_timer</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>mainboard_add_dimm_info</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>mainboard_check_ec_image</td></tr>
|
||||
<tr bgcolor=#ffc0c0><td>Required</td><td>mainboard_fill_spd_data</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>mainboard_io_trap_handler</td></tr>
|
||||
<tr bgcolor=#ffc0c0><td>Required</td><td>mainboard_memory_init_params</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>mainboard_post</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>mainboard_romstage_entry</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>mainboard_save_dimm_info</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>mainboard_smi_apmc</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>mainboard_smi_gpi</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>mainboard_smi_sleep</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>map_oprom_vendev</td></tr>
|
||||
<tr bgcolor=#ffc0c0><td>Required</td><td>migrate_power_state</td></tr>
|
||||
<tr bgcolor=#ffc0c0><td>Required</td><td>mrc_cache_get_current_with_version</td></tr>
|
||||
<tr bgcolor=#ffc0c0><td>Required</td><td>mrc_cache_stash_data_with_version</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>platform_prog_run</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>platform_segment_loaded</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>print_fsp_info</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>raminit</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>ramstage_cache_invalid</td></tr>
|
||||
<tr bgcolor=#ffc0c0><td>Required</td><td>report_memory_config</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>romstage_common</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>save_chromeos_gpios</td></tr>
|
||||
<tr bgcolor=#ffc0c0><td>Required</td><td>set_max_freq</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>setup_stack_and_mtrrs</td></tr>
|
||||
<tr bgcolor=#ffc0c0><td>Required</td><td>smm_region</td></tr>
|
||||
<tr bgcolor=#ffc0c0><td>Required</td><td>smm_region_size</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>soc_after_ram_init</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>soc_display_memory_init_params</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>soc_display_mtrrs</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>soc_get_variable_mtrr_count</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>soc_memory_init_params</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>soc_pre_ram_init</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>southbridge_smi_handler</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>stage_cache_add</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>stage_cache_load_stage</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>timestamp_get</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>tsc_freq_mhz</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>vb2ex_hwcrypto_digest_extend</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>vb2ex_hwcrypto_digest_finalize</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>vb2ex_hwcrypto_digest_init</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>vboot_platform_prepare_reboot</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>verstage_mainboard_init</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width=5> </td>
|
||||
<td>
|
||||
<table border=1>
|
||||
<tr><th colspan=2>ramstage: 60% Done</th></tr>
|
||||
<tr><th>Type</th><th>Routine</td></tr>
|
||||
<tr bgcolor=#ffc0c0><td>Required</td><td>acpi_create_serialio_ssdt</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>arch_segment_loaded</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>backup_top_of_ram</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>boot_device_init</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>cbfs_master_header_locator</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>cbmem_fail_resume</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>clear_recovery_mode_switch</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>cpu_smi_handler</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>fw_cfg_acpi_tables</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>get_sw_write_protect_state</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>get_top_of_ram</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>gpio_acpi_path</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>init_timer</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>lb_board</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>lb_framebuffer</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>mainboard_add_dimm_info</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>mainboard_io_trap_handler</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>mainboard_post</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>mainboard_silicon_init_params</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>mainboard_smi_apmc</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>mainboard_smi_gpi</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>mainboard_smi_sleep</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>mainboard_suspend_resume</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>map_oprom_vendev</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>mirror_payload</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>northbridge_smi_handler</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>nvm_mmio_to_flash_offset</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>platform_prog_run</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>platform_segment_loaded</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>save_chromeos_gpios</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>smbios_mainboard_bios_version</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>smbios_mainboard_manufacturer</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>smbios_mainboard_product_name</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>smbios_mainboard_serial_number</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>smbios_mainboard_set_uuid</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>smbios_mainboard_version</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>smm_disable_busmaster</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>soc_after_silicon_init</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>soc_display_silicon_init_params</td></tr>
|
||||
<tr bgcolor=#ffc0c0><td>Required</td><td>soc_fill_acpi_wake</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>soc_silicon_init_params</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>soc_skip_ucode_update</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>southbridge_smi_handler</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>stage_cache_add</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>stage_cache_load_stage</td></tr>
|
||||
<tr bgcolor=#ffc0c0><td>Required</td><td>timestamp_get</td></tr>
|
||||
<tr bgcolor=#ffc0c0><td>Required</td><td>timestamp_tick_freq_mhz</td></tr>
|
||||
<tr bgcolor=#c0ffc0><td>Required</td><td>tsc_freq_mhz</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>vb2ex_hwcrypto_digest_extend</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>vb2ex_hwcrypto_digest_finalize</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>vb2ex_hwcrypto_digest_init</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>wifi_regulatory_domain</td></tr>
|
||||
<tr bgcolor=#ffffc0><td>Optional</td><td>write_smp_table</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width=5> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
@ -17,7 +17,6 @@
|
||||
<li><a target="_blank" href="../SoC/soc.html">SoC</a> support</li>
|
||||
<li><a target="_blank" href="../fsp1_1.html">FSP 1.1</a> integration</li>
|
||||
<li><a target="_blank" href="board.html">Board</a> support</li>
|
||||
<li><a target="_blank" href="Galileo_checklist.html">Implementation Checklist</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -1,74 +0,0 @@
|
||||
# Intel Common Code Block Publishing EFI_MP_SERVICES_PPI
|
||||
|
||||
## Introduction
|
||||
|
||||
This documentation is intended to document the purpose for creating EFI service
|
||||
Interface inside coreboot space to perform CPU feature programming on Application
|
||||
Processors for Intel 9th Gen (Cannon Lake) and beyond CPUs.
|
||||
|
||||
Today coreboot is capable enough to handle multi-processor initialization on IA platforms.
|
||||
|
||||
The multi-processor initialization code has to take care of lots of duties:
|
||||
|
||||
1 Bringing all cores out of reset
|
||||
2 Load latest microcode on all cores
|
||||
3 Sync latest MTRR snapshot between BSP and APs
|
||||
4 Perform sets of CPU feature programming
|
||||
* CPU Power & Thermal Management
|
||||
* Overclocking
|
||||
* Intel Trusted Execution Technology
|
||||
* Intel Software Guard Extensions
|
||||
* Intel Processor Trace etc.
|
||||
|
||||
This above CPU feature programming lists are expected to grow with current and future
|
||||
CPU complexity and there might be some cases where certain feature programming mightbe
|
||||
closed source in nature.
|
||||
|
||||
Platform code might need to compromise on those closed source nature of CPU programming
|
||||
if we don't plan to provide an alternate interface which can be used by coreboot to
|
||||
get-rid of such close source CPU programming.
|
||||
|
||||
## Proposal
|
||||
|
||||
As coreboot is doing CPU multi-processor initialization for IA platform before FSP-S
|
||||
initialization and having all possible information about cores in terms of maximum number
|
||||
of cores, APIC ids, stack size etc. It’s also possible for coreboot to extend its own
|
||||
support model and create a sets of APIs which later can be used by FSP to run CPU feature
|
||||
programming using coreboot published APIs.
|
||||
|
||||
Due to the fact that FSP is using EFI infrastructure and need to relying on install/locate
|
||||
PPI to perform certain API call, hence coreboot has to created MP services APIs known as
|
||||
EFI_MP_SERVICES_PPI as per PI specification volume 1, section 8.3.9.
|
||||
More details here: http://www.uefi.org/sites/default/files/resources/PI_Spec_1_6.pdf
|
||||
|
||||
### coreboot to publish EFI_MP_SERVICES_PPI APIs
|
||||
| API | Description |
|
||||
|------------------------------|------------------------------------------------------------------|
|
||||
| PeiGetNumberOfProcessors | Get the number of CPU's. |
|
||||
| PeiGetProcessorInfo | Get information on a specific CPU. |
|
||||
| PeiStartupAllAPs | Activate all of the application processors. |
|
||||
| PeiStartupThisAP | Activate a specific application processor. |
|
||||
| PeiSwitchBSP | Switch the boot strap processor. |
|
||||
| PeiEnableDisableAP | Enable or disable an application processor. |
|
||||
| PeiWhoAmI | Identify the currently executing processor. |
|
||||
|------------------------------|------------------------------------------------------------------|
|
||||
|
||||
|
||||
## Code Flow
|
||||
|
||||
Here is proposed design flow with coreboot has implemented EFI_MP_SERVICES_PPI API and FSP will make
|
||||
use of the same to perform some CPU feature programming.
|
||||
|
||||
** coreboot-FSP MP init flow **
|
||||
![alt text][coreboot_publish_mp_service_api]
|
||||
|
||||
[coreboot_publish_mp_service_api]: coreboot_publish_mp_service_api.png "coreboot-fsp mp init flow"
|
||||
|
||||
## Benefits
|
||||
1. coreboot was using SkipMpInit=1 which will skip entire FSP CPU feature programming.
|
||||
With proposed model, coreboot will make use of SkipMpInit=0 which will allow to run all
|
||||
Silicon recommended CPU programming.
|
||||
2. CPU feature programming inside FSP will be more transparent than before as it’s using
|
||||
coreboot interfaces to execute those programming.
|
||||
3. coreboot will have more control over running those feature programming as API optimization
|
||||
handled by coreboot.
|
@ -1,135 +0,0 @@
|
||||
# Sandy Bridge Raminit
|
||||
|
||||
## Introduction
|
||||
|
||||
This documentation is intended to document the closed source memory controller
|
||||
hardware for Intel 2nd Gen (Sandy Bride) and 3rd Gen (Ivy Bridge) core-i CPUs.
|
||||
|
||||
The memory initialization code has to take care of lots of duties:
|
||||
1. Selection of operating frequency
|
||||
* Selection of common timings
|
||||
* Applying frequency specific compensation values
|
||||
* Read training of all populated channels
|
||||
* Write training of all populated channels
|
||||
* Adjusting delay networks of address and command signals
|
||||
* DQS training of all populated channels
|
||||
* Programming memory map
|
||||
* Report DRAM configuration
|
||||
* Error handling
|
||||
|
||||
## Definitions
|
||||
```eval_rst
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| Symbol | Description | Units | Valid region |
|
||||
+=========+===================================================================+============+==============+
|
||||
| SCK | DRAM system clock cycle time | s | |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| tCK | DRAM system clock cycle time | 1/256th ns | |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| DCK | Data clock cycle time: The time between two SCK clock edges | s | |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| timA | IO phase: The phase delay of the IO signals | 1/64th DCK | [0-512) |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| SPD | Manufacturer set memory timings located on an EEPROM on every DIMM| bytes | |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| REFCK | Reference clock, either 100 or 133 | Mhz | 100, 133 |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| MULT | DRAM PLL multiplier | | [3-12] |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| XMP | Extreme Memory Profiles | | |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
```
|
||||
|
||||
## (Inoffical) register documentation
|
||||
- [Sandy Bride - Register documentation](SandyBridge_registers.md)
|
||||
|
||||
## Frequency selection
|
||||
- [Sandy Bride - Frequency selection](Sandybridge_freq.md)
|
||||
|
||||
## Read training
|
||||
- [Sandy Bride - Read training](Sandybridge_read.md)
|
||||
|
||||
### SMBIOS type 17
|
||||
The SMBIOS specification allows to report the memory configuration in use.
|
||||
On GNU/Linux you can run `# dmidecode -t 17` to view it.
|
||||
Example output of dmidecode:
|
||||
|
||||
```
|
||||
Handle 0x0045, DMI type 17, 34 bytes
|
||||
Memory Device
|
||||
Array Handle: 0x0042
|
||||
Error Information Handle: Not Provided
|
||||
Total Width: 64 bits
|
||||
Data Width: 64 bits
|
||||
Size: 8192 MB
|
||||
Form Factor: DIMM
|
||||
Set: None
|
||||
Locator: ChannelB-DIMM0
|
||||
Bank Locator: BANK 2
|
||||
Type: DDR3
|
||||
Type Detail: Synchronous
|
||||
Speed: 933 MHz
|
||||
Manufacturer: 0420
|
||||
Serial Number: 00000000
|
||||
Asset Tag: 9876543210
|
||||
Part Number: F3-1866C9-8GSR
|
||||
Rank: 2
|
||||
Configured Clock Speed: 933 MHz
|
||||
```
|
||||
The memory frequency printed by dmidecode is the active memory frequency. It's
|
||||
**not** the double datarate and it's **not** the one encoded maximum frequency
|
||||
in each DIMM's SPD.
|
||||
|
||||
> **Note:** This feature is available since coreboot 4.4
|
||||
|
||||
### MRC cache
|
||||
The name *MRC cache* might be missleading as in case of *Native ram init*
|
||||
there's no MRC, but for historical reasons it's still named *MRC cache*.
|
||||
The MRC cache is part of flash memory that is writeable by coreboot.
|
||||
At the end of the boot process coreboot will write the RAM training results to
|
||||
flash for future use, as RAM training is time intensive. Storing the results
|
||||
allows to boot faster on normal boot and allows to support S3 resume,
|
||||
as the RAM training results can't be stored in RAM (you need to configure
|
||||
the memory controller first to access RAM).
|
||||
|
||||
The MRC cache needs to be invalidated in case the memory configuration has
|
||||
been changed. To detect a changed memory configuration the CRC16 of each DIMM
|
||||
is stored to MRC cache.
|
||||
> **Note:** This feature is available since coreboot 4.4
|
||||
|
||||
### Error handling
|
||||
As of writing the only supported error handling is to disable the failing
|
||||
channel and restart the memory training sequence. It's very likely to succeed,
|
||||
as memory channels operate independent of each other.
|
||||
In case no DIMM could be initilized coreboot will halt. The screen will stay
|
||||
black until you power of your device. On some platforms there's additional
|
||||
feedback to indicate such an event.
|
||||
|
||||
If you find `dmidecode -t 17` to report only half of the memory installed,
|
||||
it's likely that a fatal memory init failure had happened.
|
||||
It is assumed, that a working board with less physical memory, is much better,
|
||||
than a board that doesn't boot at all.
|
||||
|
||||
> **Note:** This feature is available since coreboot 4.5
|
||||
|
||||
Try to swap memory modules and or try to use a different vendor. If nothing
|
||||
helps you could have a look at capter [Debuggin] or report a ticket
|
||||
at [ticket.coreboot.org]. Please provide a full RAM init log,
|
||||
that has been captured using EHCI debug.
|
||||
|
||||
To enable extensive RAM training logging enable the Kconfig option
|
||||
`DEBUG_RAM_SETUP`
|
||||
#### Lenovo Thinkpads
|
||||
Lenovo Thinkpads do have an additional feature to indicate that RAM init has
|
||||
failed and coreboot has died (it calls die() on fatal error, thus the name).
|
||||
The Kconfig options
|
||||
`H8_BEEP_ON_DEATH`
|
||||
`H8_FLASH_LEDS_ON_DEATH`
|
||||
enable blinking LEDs and enable a beep to indicate death.
|
||||
|
||||
> **Note:** This feature is available since coreboot 4.7
|
||||
|
||||
## Debugging
|
||||
It's recommended to use an external debugger, such as serial or EHCI debug
|
||||
dongle. In case of failing memory init the board might not boot at all,
|
||||
preventing you from using CBMEM.
|
@ -1,165 +0,0 @@
|
||||
# Frequency selection
|
||||
|
||||
## Introduction
|
||||
This chapter explains the frequency selection done on Sandybride and Ivybridge.
|
||||
|
||||
## Definitions
|
||||
```eval_rst
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| Symbol | Description | Units | Valid region |
|
||||
+=========+===================================================================+============+==============+
|
||||
| SCK | DRAM system clock cycle time | s | |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| tCK | DRAM system clock cycle time | 1/256th ns | |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| DCK | Data clock cycle time: The time between two SCK clock edges | s | |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| SPD | Manufacturer set memory timings located on an EEPROM on every DIMM| bytes | |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| REFCK | Reference clock, either 100 or 133 | MHz | 100, 133 |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| MULT | DRAM PLL multiplier | | [3-12] |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| XMP | Extreme Memory Profiles | | |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
```
|
||||
## SPD
|
||||
The [SPD](https://de.wikipedia.org/wiki/Serial_Presence_Detect "Serial Presence Detect")
|
||||
located on every DIMM is factory program with various timings. One of them
|
||||
specifies the maximum clock frequency the DIMM should be used with. The
|
||||
operating frequency is stores as fixed point value (tCK), rounded to the next
|
||||
smallest supported operating frequency. Some
|
||||
[SPD](https://de.wikipedia.org/wiki/Serial_Presence_Detect "Serial Presence Detect")
|
||||
contains additional and optional
|
||||
[XMP](https://de.wikipedia.org/wiki/Extreme_Memory_Profile "Extreme Memory Profile")
|
||||
data, that stores so called "performance" modes, that advertises higher clock
|
||||
frequencies.
|
||||
|
||||
## XMP profiles
|
||||
At time of writing coreboot's raminit is able to parse XMP profile 1 and 2.
|
||||
Only **XMP profile 1** is being used in case it advertises:
|
||||
* 1.5V operating voltage
|
||||
* The channel's installed DIMM count doesn't exceed the XMP coded limit
|
||||
|
||||
In case the XMP profile doesn't fullfill those limits, the regular SPD will be
|
||||
used.
|
||||
> **Note:** XMP Profiles are supported since coreboot 4.4.
|
||||
|
||||
It is possible to ignore the max DIMM count limit set by XMP profiles.
|
||||
By activating Kconfig option `NATIVE_RAMINIT_IGNORE_XMP_MAX_DIMMS` it is
|
||||
possible to install two DIMMs per channel, even if XMP tells you not to do.
|
||||
|
||||
> **Note:** Ignoring XMP Profiles limit is supported since coreboot 4.7.
|
||||
|
||||
## Soft fuses
|
||||
Every board manufacturer does program "soft" fuses to indicate the maximum
|
||||
DRAM frequency supported. However, those fuses don't set a limit in hardware
|
||||
and thus are called "soft" fuses, as it is possible to ignore them.
|
||||
|
||||
> **Note:** Ignoring the fuses might cause system instability !
|
||||
|
||||
On Sandy Bride *CAPID0_A* is being read, and on Ivybridge *CAPID0_B* is being
|
||||
read. coreboot reads those registers and honors the limit in case the Kconfig
|
||||
option `CONFIG_NATIVE_RAMINIT_IGNORE_MAX_MEM_FUSES` wasn't set.
|
||||
Power users that want to let their RAM run at DRAM's "stock" frequency need to
|
||||
enable the Kconfig symbol.
|
||||
|
||||
It is possible to override the soft fuses limit by using a board-specific
|
||||
[devicetree](#devicetree) setting.
|
||||
|
||||
> **Note:** Ignoring max mem freq. fuses is supported since coreboot 4.7.
|
||||
|
||||
## <a name="hard_fuses"></a> Hard fuses
|
||||
"Hard" fuses are programmed by Intel and limit the maximum frequency that can
|
||||
be used on a given CPU/board/chipset. At time of writing there's no register
|
||||
to read this limit, before trying to set a given DRAM frequency. The memory PLL
|
||||
won't lock, indicating that the chosen memory multiplier isn't available. In
|
||||
this case coreboot tries the next smaller memory multiplier until the PLL will
|
||||
lock.
|
||||
|
||||
## <a name="devicetree"></a> Devicetree
|
||||
The devicetree register ```max_mem_clock_mhz``` overrides the "soft" fuses set
|
||||
by the board manufacturer.
|
||||
|
||||
By using this register it's possible to force a minimum operating frequency.
|
||||
|
||||
## Reference clock
|
||||
While Sandybride supports 133 MHz reference clock (REFCK), Ivy Bridge also
|
||||
supports 100 MHz reference clock. The reference clock is multiplied by the DRAM
|
||||
multiplier to select the DRAM frequency (SCK) by the following formula:
|
||||
|
||||
REFCK * MULT = 1 / DCK
|
||||
|
||||
> **Note:** Since coreboot 4.6 Ivy Bridge supports 100MHz REFCK.
|
||||
|
||||
## Sandy Bride's supported frequencies
|
||||
```eval_rst
|
||||
+------------+-----------+------------------+-------------------------+---------------+
|
||||
| SCK [Mhz] | DDR [Mhz] | Mutiplier (MULT) | Reference clock (REFCK) | Comment |
|
||||
+============+===========+==================+=========================+===============+
|
||||
| 400 | DDR3-800 | 3 | 133 MHz | |
|
||||
+------------+-----------+------------------+-------------------------+---------------+
|
||||
| 533 | DDR3-1066 | 4 | 133 MHz | |
|
||||
+------------+-----------+------------------+-------------------------+---------------+
|
||||
| 666 | DDR3-1333 | 5 | 133 MHz | |
|
||||
+------------+-----------+------------------+-------------------------+---------------+
|
||||
| 800 | DDR3-1600 | 6 | 133 MHz | |
|
||||
+------------+-----------+------------------+-------------------------+---------------+
|
||||
| 933 | DDR3-1866 | 7 | 133 MHz | |
|
||||
+------------+-----------+------------------+-------------------------+---------------+
|
||||
| 1066 | DDR3-2166 | 8 | 133 MHz | |
|
||||
+------------+-----------+------------------+-------------------------+---------------+
|
||||
```
|
||||
|
||||
## Ivybridge's supported frequencies
|
||||
```eval_rst
|
||||
+------------+-----------+------------------+-------------------------+---------------+
|
||||
| SCK [Mhz] | DDR [Mhz] | Mutiplier (MULT) | Reference clock (REFCK) | Comment |
|
||||
+============+===========+==================+=========================+===============+
|
||||
| 400 | DDR3-800 | 3 | 133 MHz | |
|
||||
+------------+-----------+------------------+-------------------------+---------------+
|
||||
| 533 | DDR3-1066 | 4 | 133 MHz | |
|
||||
+------------+-----------+------------------+-------------------------+---------------+
|
||||
| 666 | DDR3-1333 | 5 | 133 MHz | |
|
||||
+------------+-----------+------------------+-------------------------+---------------+
|
||||
| 800 | DDR3-1600 | 6 | 133 MHz | |
|
||||
+------------+-----------+------------------+-------------------------+---------------+
|
||||
| 933 | DDR3-1866 | 7 | 133 MHz | |
|
||||
+------------+-----------+------------------+-------------------------+---------------+
|
||||
| 1066 | DDR3-2166 | 8 | 133 MHz | |
|
||||
+------------+-----------+------------------+-------------------------+---------------+
|
||||
| 700 | DDR3-1400 | 7 | 100 MHz | '1 |
|
||||
+------------+-----------+------------------+-------------------------+---------------+
|
||||
| 800 | DDR3-1600 | 8 | 100 MHz | '1 |
|
||||
+------------+-----------+------------------+-------------------------+---------------+
|
||||
| 900 | DDR3-1800 | 9 | 100 MHz | '1 |
|
||||
+------------+-----------+------------------+-------------------------+---------------+
|
||||
| 1000 | DDR3-2000 | 10 | 100 MHz | '1 |
|
||||
+------------+-----------+------------------+-------------------------+---------------+
|
||||
| 1100 | DDR3-2200 | 11 | 100 MHz | '1 |
|
||||
+------------+-----------+------------------+-------------------------+---------------+
|
||||
| 1200 | DDR3-2400 | 12 | 100 MHz | '1 |
|
||||
+------------+-----------+------------------+-------------------------+---------------+
|
||||
```
|
||||
> '1: since coreboot 4.6
|
||||
|
||||
## Multiplier selection
|
||||
coreboot select the maximum frequency to operate at by the following formula:
|
||||
```
|
||||
if devicetree's max_mem_clock_mhz > 0:
|
||||
freq_max := max_mem_clock_mhz
|
||||
else:
|
||||
freq_max := soft_fuse_max_mhz
|
||||
|
||||
for i in SPDs:
|
||||
freq_max := MIN(freq_max, ddr_spd_max_mhz[i])
|
||||
```
|
||||
|
||||
As you can see, by using DIMMs with different maximum DRAM frequencies, the
|
||||
slowest DIMMs' frequency will be selected, to prevent over-clocking it.
|
||||
|
||||
The selected frequency gives the PLL multiplier to operate at. In case the PLL
|
||||
locks (see Take me to [Hard fuses](#hard_fuses)) the frequency will be used for
|
||||
all DIMMs. At this point it's not possible to change the multiplier again,
|
||||
until the system has been powered off. In case the PLL doesn't lock, the next
|
||||
smaller multiplier will be used until a working multiplier will be found.
|
@ -1,153 +0,0 @@
|
||||
# Read training
|
||||
|
||||
## Introduction
|
||||
|
||||
This chapter explains the read training sequence done on Sandy Bride and
|
||||
Ivy Bridge memory initialization.
|
||||
|
||||
Read training is done to compensate the skew between DQS and SCK and to find
|
||||
the smallest supported roundtrip delay.
|
||||
|
||||
Every board does have a vendor depended routing topology, and can be equip
|
||||
with any combination of DDR3 memory modules, that introduces different
|
||||
skew between the memory lanes. With DDR3 a "Fly-By" routing topology
|
||||
has been introduced, that makes the biggest part of DQS-SCK skew.
|
||||
The memory code measures the actual skew and actives delay gates,
|
||||
that will "compensate" the skew.
|
||||
|
||||
When in read training the DRAM and the controller are placed in a special mode.
|
||||
On every read instruction the DRAM outputs a predefined pattern and the memory
|
||||
controller samples the DQS after a given delay. As the pattern is known, the
|
||||
actual delay of every lane can be measured.
|
||||
|
||||
The values programmed in read training effect DRAM-to-MC transfers only !
|
||||
|
||||
## Definitions
|
||||
```eval_rst
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| Symbol | Description | Units | Valid region |
|
||||
+=========+===================================================================+============+==============+
|
||||
| SCK | DRAM system clock cycle time | s | |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| tCK | DRAM system clock cycle time | 1/256th ns | |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| DCK | Data clock cycle time: The time between two SCK clock edges | s | |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| timA | IO phase: The phase delay of the IO signals | 1/64th DCK | [0-512) |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| SPD | Manufacturer set memory timings located on an EEPROM on every DIMM| bytes | |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| REFCK | Reference clock, either 100 or 133 | MHz | 100, 133 |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| MULT | DRAM PLL multiplier | | [3-12] |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| XMP | Extreme Memory Profiles | | |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
| DQS | Data Strobe signal used to sample all lane's DQ signals | | |
|
||||
+---------+-------------------------------------------------------------------+------------+--------------+
|
||||
```
|
||||
## Hardware
|
||||
The hardware does have delay logic blocks that can delay the DQ / DQS of a
|
||||
lane/rank by one or multiple clock cylces and it does have delay logic blocks
|
||||
that can delay the signal by a multiple of 1/64th DCK per lane.
|
||||
|
||||
All delay values can be controlled via software by writing registers in the
|
||||
MCHBAR.
|
||||
|
||||
## IO phase
|
||||
|
||||
The IO phase can be adjusted in [0-512) * 1/64th DCK. Incrementing it by 64 is
|
||||
the same as Incrementing IO delay by 1.
|
||||
|
||||
## IO delay
|
||||
Delays the DQ / DQS signal by one or multiple clock cycles.
|
||||
|
||||
### Roundtrip time
|
||||
The roundtrip time is the time the memory controller waits for data arraving
|
||||
after a read has been issued. Due to clock-domain crossings, multiple
|
||||
delay instances and phase interpolators, the signal runtime to DRAM and back
|
||||
to memory controller defaults to 55 DCKs. The real roundtrip time has to be
|
||||
measured.
|
||||
|
||||
After a read command has been issued, a counter counts down until zero has been
|
||||
reached and activates the input buffers.
|
||||
|
||||
The following pictures shows the relationship between those three values.
|
||||
The picture was generated from 16 IO delay values times 64 timA values.
|
||||
The highest IO delay was set on the right-hand side, while the last block
|
||||
on the left-hand side has zero IO delay.
|
||||
|
||||
#### roundtrip 55 DCKs
|
||||
![alt text][timA_lane0-3_rt55]
|
||||
|
||||
[timA_lane0-3_rt55]: timA_lane0-3_rt55.png "timA for lane0 - lane3, roundtrip 55"
|
||||
|
||||
#### roundtrip 54 DCKs
|
||||
![alt text][timA_lane0-3_rt54]
|
||||
|
||||
[timA_lane0-3_rt54]: timA_lane0-3_rt54.png "timA for lane0 - lane3, roundtrip 54"
|
||||
|
||||
|
||||
#### roundtrip 53 DCKs
|
||||
![alt text][timA_lane0-3_rt53]
|
||||
|
||||
[timA_lane0-3_rt53]: timA_lane0-3_rt53.png "timA for lane0 - lane3, roundtrip 53"
|
||||
|
||||
As you can see the signal has some jitter as every sample was taken in a
|
||||
different loop iteration. The result register only contains a single bit per
|
||||
lane.
|
||||
|
||||
## Algorithm
|
||||
### Steps
|
||||
The algorithm finds the roundtrip time, IO delay and IO phase. The IO phase
|
||||
will be adjusted to match the falling edge of the preamble of each lane.
|
||||
The roundtrip time is adjusted to an minimal value, that still includes the
|
||||
preamble.
|
||||
|
||||
### Synchronize to data phase
|
||||
|
||||
The first measurement done in read-leveling samples all DQS values for one
|
||||
phase [0-64) * 1/64th DCK. It then searches for the middle of the low data
|
||||
symbol and adjusts timA to the found phase and thus the following measurements
|
||||
will be aligned to the low data symbol.
|
||||
The code assumes that the initial roundtrip time causes the measurement to be
|
||||
in the alternating pattern data phase.
|
||||
|
||||
### Finding the preamble
|
||||
After adjusting the IO phase to the middle of one data symbol the preamble will
|
||||
be located. Unlike the data phase, which is an alternating pattern (010101...),
|
||||
the preamble consists of two high data cycles.
|
||||
|
||||
The code decrements the IO delay/RTT and samples the DQS signal with timA
|
||||
untouched. As it has been positioned in the middle of the data symbol, it'll
|
||||
read as either "low" or "high".
|
||||
|
||||
If it's "low" we are still in the data phase.
|
||||
If it's "high" we have found the preamble.
|
||||
|
||||
The roundtrip time and IO delay will be adjusted until all lanes are aligned.
|
||||
The resulting IO delay is visible in the picture below.
|
||||
|
||||
** roundtrip time: 49 DCKs, IO delay (at blue point): 6 DCKs **
|
||||
![alt text][timA_lane0-3_discover_420x]
|
||||
|
||||
[timA_lane0-3_discover_420x]: timA_lane0-3_discover_420x.png "timA for lane0 - lane3, finding minimum roundtrip time"
|
||||
|
||||
** Note: The sampled data has been shifted by timA. The preamble is now
|
||||
in phase. **
|
||||
|
||||
## Fine adjustment
|
||||
|
||||
As timA still points the middle of the data symbol an offset of 32 is added.
|
||||
It now points the falling edge of the preamble.
|
||||
The fine adjustment is to reduce errors introduced by jitter. The phase is
|
||||
adjusted from `timA - 25` to `timA + 25` and the DQS signal is sampled 100
|
||||
times. The fine adjustment finds the middle of each rising edge (it's actual
|
||||
the falling edge of the preamble) to get the final IO phase. You can see the
|
||||
result in the picture below.
|
||||
|
||||
![alt text][timA_lane0-3_adjust_fine]
|
||||
|
||||
[timA_lane0-3_adjust_fine]: timA_lane0-3_adjust_fine.png "timA for lane0 - lane3, fine adjustment"
|
||||
|
||||
Lanes 0 - 2 will be adjusted by a phase of -10, while lane 3 is already correct.
|
@ -234,8 +234,6 @@ Use the following steps to locate the FSP binary:
|
||||
<a target="_blank" href="https://review.coreboot.org/gitweb?p=coreboot.git;a=blob;f=src/drivers/intel/fsp1_1/cache_as_ram.inc">src/drivers/intel/fsp1_1/cache_as_ram.inc</a>
|
||||
</li>
|
||||
<li>Add "select SOC_INTEL_COMMON" to enable the use of the files from src/soc/intel/common
|
||||
specifically building
|
||||
<a target="_blank" href="https://review.coreboot.org/gitweb?p=coreboot.git;a=blob;f=src/soc/intel/common/util.c">util.c</a>
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
@ -516,7 +514,7 @@ Use the following steps to debug the call to TempRamInit:
|
||||
a "struct pci_operations" that specifies a routine to set the subsystem
|
||||
IDs for the device. The routine might look something like this:
|
||||
</p>
|
||||
<pre><code>static void pci_set_subsystem(device_t dev, unsigned vendor, unsigned device)
|
||||
<pre><code>static void pci_set_subsystem(struct device *dev, unsigned vendor, unsigned device)
|
||||
{
|
||||
if (!vendor || !device) {
|
||||
vendor = pci_read_config32(dev, PCI_VENDOR_ID);
|
||||
@ -538,7 +536,7 @@ Use the following steps to debug the call to TempRamInit:
|
||||
The memory map is built by the various PCI device drivers during the
|
||||
BS_DEV_RESOURCES state of ramstage. The northcluster driver will typically
|
||||
specify the DRAM resources while the other drivers will typically specify
|
||||
the IO resources. These resources are hung off the device_t data structure by
|
||||
the IO resources. These resources are hung off the struct device *data structure by
|
||||
src/device/device_util.c/<a target="_blank" href="https://review.coreboot.org/gitweb?p=coreboot.git;a=blob;f=src/device/device_util.c;hb=HEAD#l448">new_resource</a>.
|
||||
</p>
|
||||
<p>
|
||||
|
@ -264,7 +264,7 @@
|
||||
<ul>
|
||||
<li>MemoryInit UPD values are correct</li>
|
||||
<li>MemoryInit returns 0 (success) and</li>
|
||||
<li>The the message "ERROR - coreboot's requirements not met by FSP binary!"
|
||||
<li>The message "ERROR - coreboot's requirements not met by FSP binary!"
|
||||
is not displayed
|
||||
</li>
|
||||
</ul>
|
||||
@ -324,7 +324,7 @@
|
||||
<ul>
|
||||
<li>MemoryInit UPD values are correct</li>
|
||||
<li>MemoryInit returns 0 (success) and</li>
|
||||
<li>The the message "ERROR - coreboot's requirements not met by FSP binary!"
|
||||
<li>The message "ERROR - coreboot's requirements not met by FSP binary!"
|
||||
is not displayed
|
||||
</li>
|
||||
</ul>
|
||||
@ -374,4 +374,4 @@
|
||||
<hr>
|
||||
<p>Modified: 4 March 2016</p>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
@ -29,7 +29,6 @@
|
||||
</li>
|
||||
<li><a target="_blank" href="SoC/soc.html">SoC</a> support</li>
|
||||
<li><a target="_blank" href="Board/board.html">Board</a> support</li>
|
||||
<li><a target="_blank" href="vboot.html">Verified Boot (vboot)</a> support</li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
@ -1,402 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>vboot - Verified Boot Support</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>vboot - Verified Boot Support</h1>
|
||||
|
||||
<p>
|
||||
Google's verified boot support consists of:
|
||||
</p>
|
||||
<ul>
|
||||
<li>A root of trust</li>
|
||||
<li>Special firmware layout</li>
|
||||
<li>Firmware verification</li>
|
||||
<li>Firmware measurements</li>
|
||||
<li>A firmware update mechanism</li>
|
||||
<li>Specific build flags</li>
|
||||
<li>Signing the coreboot image</li>
|
||||
</ul>
|
||||
|
||||
Google's vboot verifies the firmware and places measurements
|
||||
within the TPM.
|
||||
|
||||
<hr>
|
||||
<h2>Root of Trust</h2>
|
||||
<p>
|
||||
When using vboot, the root-of-trust is basically the read-only portion of the
|
||||
SPI flash. The following items factor into the trust equation:
|
||||
</p>
|
||||
<ul>
|
||||
<li>The GCC compiler must reliably translate the code into machine code
|
||||
without inserting any additional code (virus, backdoor, etc.)
|
||||
</li>
|
||||
<li>The CPU must reliably execute the reset sequence and instructions as
|
||||
documented by the CPU manufacturer.
|
||||
</li>
|
||||
<li>The SPI flash must provide only the code programmed into it to the CPU
|
||||
without providing any alternative reset vector or code sequence.
|
||||
</li>
|
||||
<li>The SPI flash must honor the write-protect input and protect the
|
||||
specified portion of the SPI flash from all erase and write accesses.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
The firmware is typically protected using the write-protect pin on the SPI
|
||||
flash part and setting some of the write-protect bits in the status register
|
||||
during manufacturing. The protected area is platform specific and for x86
|
||||
platforms is typically 1/4th of the SPI flash
|
||||
part size. Because this portion of the SPI flash is hardware write protected,
|
||||
it is not possible to update this portion of the SPI flash in the field,
|
||||
without altering the system to eliminate the ground connection to the SPI flash
|
||||
write-protect pin. Without hardware modifications, this portion of the SPI
|
||||
flash maintains the manufactured state during the system's lifetime.
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
<h2>Firmware Layout</h2>
|
||||
<p>
|
||||
Several sections are added to the firmware layout to support vboot:
|
||||
</p>
|
||||
<ul>
|
||||
<li>Read-only section</li>
|
||||
<li>Google Binary Blob (GBB) area</li>
|
||||
<li>Read/write section A</li>
|
||||
<li>Read/write section B</li>
|
||||
</ul>
|
||||
<p>
|
||||
The following sections describe the various portions of the flash layout.
|
||||
</p>
|
||||
|
||||
<h3>Read-Only Section</h3>
|
||||
<p>
|
||||
The read-only section contains a coreboot file system (CBFS) that contains all
|
||||
of the boot firmware necessary to perform recovery for the system. This
|
||||
firmware is typically protected using the write-protect pin on the SPI flash
|
||||
part and setting some of the write-protect bits in the status register during
|
||||
manufacturing. The protected area is typically 1/4th of the SPI flash part
|
||||
size and must cover the entire read-only section which consists of:
|
||||
</p>
|
||||
<ul>
|
||||
<li>Vital Product Data (VPD) area</li>
|
||||
<li>Firmware ID area</li>
|
||||
<li>Google Binary Blob (GBB) area</li>
|
||||
<li>coreboot file system containing read-only recovery firmware</li>
|
||||
</ul>
|
||||
|
||||
<h3>Google Binary Blob (GBB) Area</h3>
|
||||
<p>
|
||||
The GBB area is part of the read-only section. This area contains a 4096 or
|
||||
8192 bit public root RSA key that is used to verify the VBLOCK area to obtain
|
||||
the firmware signing key.
|
||||
</p>
|
||||
|
||||
<h3>Recovery Firmware</h3>
|
||||
<p>
|
||||
The recovery firmware is contained within a coreboot file system and consists
|
||||
of:
|
||||
</p>
|
||||
<ul>
|
||||
<li>reset vector</li>
|
||||
<li>bootblock</li>
|
||||
<li>verstage</li>
|
||||
<li>romstage</li>
|
||||
<li>postcar</li>
|
||||
<li>ramstage</li>
|
||||
<li>payload</li>
|
||||
<li>flash map file</li>
|
||||
<li>config file</li>
|
||||
<li>processor specific files:
|
||||
<ul>
|
||||
<li>Microcode</li>
|
||||
<li>fspm.bin</li>
|
||||
<li>fsps.bin</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
The recovery firmware is written during manufacturing and typically contains
|
||||
code to write the storage device (eMMC device or hard disk). The recovery
|
||||
image is usually contained on a socketed device such as a USB flash drive or
|
||||
an SD card. Depending upon the payload firmware doing the recovery, it may
|
||||
be possible for the user to interact with the system to specify the recovery
|
||||
image path. Part of the recovery is also to write the A and B areas of the
|
||||
SPI flash device to boot the system.
|
||||
</p>
|
||||
|
||||
|
||||
<h3>Read/Write Section</h3>
|
||||
|
||||
<p>
|
||||
The read/write sections contain an area which contains the firmware signing
|
||||
key and signature and an area containing a coreboot file system with a subset
|
||||
of the firmware. The firmware files in FW_MAIN_A and FW_MAIN_B are:
|
||||
</p>
|
||||
<ul>
|
||||
<li>romstage</li>
|
||||
<li>postcar</li>
|
||||
<li>ramstage</li>
|
||||
<li>payload</li>
|
||||
<li>config file</li>
|
||||
<li>processor specific files:
|
||||
<ul>
|
||||
<li>Microcode</li>
|
||||
<li>fspm.bin</li>
|
||||
<li>fsps.bin</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
The firmware subset enables most issues to be fixed in the field with firmware
|
||||
updates. The firmware files handle memory and most of silicon initialization.
|
||||
These files also produce the tables which get passed to the operating system.
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
<h2>Firmware Updates</h2>
|
||||
<p>
|
||||
The read/write sections exist in one of three states:
|
||||
</p>
|
||||
<ul>
|
||||
<li>Invalid</li>
|
||||
<li>Ready to boot</li>
|
||||
<li>Successfully booted</li>
|
||||
</ul>
|
||||
|
||||
<table border="1">
|
||||
<tr bgcolor="#ffc0c0">
|
||||
<td>
|
||||
Where is this state information written?
|
||||
<br/>CMOS?
|
||||
<br/>RW_NVRAM?
|
||||
<br/>RW_FWID_*
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
Firmware updates are handled by the operating system by writing any read/write
|
||||
section that is not in the "successfully booted" state. Upon the next reboot,
|
||||
vboot determines the section to boot. If it finds one in the "ready to boot"
|
||||
state then it attempts to boot using that section. If the boot fails then
|
||||
vboot marks the section as invalid and attempts to fall back to a read/write
|
||||
section in the "successfully booted" state. If vboot is not able to find a
|
||||
section in the "successfully booted" state then vboot enters recovery mode.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Only the operating system is able to transition a section from the "ready to
|
||||
boot" state to the "successfully booted" state. The transition is typically
|
||||
done after the operating system has been running for a while indicating
|
||||
that successful boot was possible and the operating system is stable.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Note that as long as the SPI write protection is in place then the system is
|
||||
always recoverable. If the flash update fails then the system will continue
|
||||
to boot using the previous read/write area. The same is true if coreboot
|
||||
passes control to the payload or the operating system and then the boot fails.
|
||||
In the worst case, the SPI flash gets totally corrupted in which case vboot
|
||||
fails the signature checks and enters recovery mode. There are no times where
|
||||
the SPI flash is exposed and the reset vector or part of the recovery firmware
|
||||
gets corrupted.
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
<h2>Build Flags</h2>
|
||||
<p>
|
||||
The following Kconfig values need to be selected to enable vboot:
|
||||
</p>
|
||||
<ul>
|
||||
<li>COLLECT_TIMESTAMPS</li>
|
||||
<li>VBOOT</li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
The starting stage needs to be specified by selecting either
|
||||
VBOOT_STARTS_IN_BOOTBLOCK or VBOOT_STARTS_IN_ROMSTAGE.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
If vboot starts in bootblock then vboot may be built as a separate stage by
|
||||
selecting VBOOT_SEPARATE_VERSTAGE. Additionally, if static RAM is too small
|
||||
to fit both verstage and romstage then selecting VBOOT_RETURN_FROM_VERSTAGE
|
||||
enables bootblock to reuse the RAM occupied by verstage for romstage.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Non-volatile flash is needed for vboot operation. This flash area may be in
|
||||
CMOS, the EC, or in a read/write area of the SPI flash device. Select one of
|
||||
the following:
|
||||
</p>
|
||||
<ul>
|
||||
<li>VBOOT_VBNV_CMOS</li>
|
||||
<li>VBOOT_VBNV_EC</li>
|
||||
<li>VBOOT_VBNV_FLASH</li>
|
||||
</ul>
|
||||
<p>
|
||||
More non-volatile storage features may be found in src/vboot/Kconfig.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
A TPM is also required for vboot operation. TPMs are available in
|
||||
drivers/i2c/tpm and drivers/pc80/tpm.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
In addition to adding the coreboot files into the read-only region, enabling
|
||||
vboot causes the build script to add the read/write files into coreboot file
|
||||
systems in FW_MAIN_A and FW_MAIN_B.
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
<h2>Signing the coreboot Image</h2>
|
||||
<p>
|
||||
The following command script is an example of how to sign the coreboot image file.
|
||||
This script is used on the Intel Galileo board and creates the GBB area and
|
||||
inserts it into the coreboot image. It also updates the VBLOCK areas with the
|
||||
firmware signing key and the signature for the FW_MAIN firmware. More details
|
||||
are available in 3rdparty/vboot/README.
|
||||
</p>
|
||||
|
||||
<pre><code>#!/bin/sh
|
||||
#
|
||||
# The necessary tools were built and installed using the following commands:
|
||||
#
|
||||
# pushd 3rdparty/vboot
|
||||
# make
|
||||
# sudo make install
|
||||
# popd
|
||||
#
|
||||
# The keys were made using the following command
|
||||
#
|
||||
# 3rdparty/vboot/scripts/keygeneration/create_new_keys.sh \
|
||||
# --4k --4k-root --output $PWD/keys
|
||||
#
|
||||
#
|
||||
# The "magic" numbers below are derived from the GBB section in
|
||||
# src/mainboard/intel/galileo/vboot.fmd.
|
||||
#
|
||||
# GBB Header Size: 0x80
|
||||
# GBB Offset: 0x611000, 4KiB block number: 1553 (0x611)
|
||||
# GBB Length: 0x7f000, 4KiB blocks: 127 (0x7f)
|
||||
# COREBOOT Offset: 0x690000, 4KiB block number: 1680 (0x690)
|
||||
# COREBOOT Length: 0x170000, 4KiB blocks: 368 (0x170)
|
||||
#
|
||||
# 0x7f000 (GBB Length) = 0x80 + 0x100 + 0x1000 + 0x7ce80 + 0x1000
|
||||
#
|
||||
# Create the GBB area blob
|
||||
# Parameters: hwid_size,rootkey_size,bmpfv_size,recoverykey_size
|
||||
#
|
||||
gbb_utility -c 0x100,0x1000,0x7ce80,0x1000 gbb.blob
|
||||
|
||||
#
|
||||
# Copy from the start of the flash to the GBB region into the signed flash
|
||||
# image.
|
||||
#
|
||||
# 1553 * 4096 = 0x611 * 0x1000 = 0x611000, size of area before GBB
|
||||
#
|
||||
dd conv=fdatasync ibs=4096 obs=4096 count=1553 \
|
||||
if=build/coreboot.rom of=build/coreboot.signed.rom
|
||||
|
||||
#
|
||||
# Append the empty GBB area to the coreboot.rom image.
|
||||
#
|
||||
# 1553 * 4096 = 0x611 * 0x1000 = 0x611000, offset to GBB
|
||||
#
|
||||
dd conv=fdatasync obs=4096 obs=4096 seek=1553 if=gbb.blob \
|
||||
of=build/coreboot.signed.rom
|
||||
|
||||
#
|
||||
# Append the rest of the read-only region into the signed flash image.
|
||||
#
|
||||
# 1680 * 4096 = 0x690 * 0x1000 = 0x690000, offset to COREBOOT area
|
||||
# 368 * 4096 = 0x170 * 0x1000 = 0x170000, length of COREBOOT area
|
||||
#
|
||||
dd conv=fdatasync ibs=4096 obs=4096 skip=1680 seek=1680 count=368 \
|
||||
if=build/coreboot.rom of=build/coreboot.signed.rom
|
||||
|
||||
#
|
||||
# Insert the HWID and public root and recovery RSA keys into the GBB area.
|
||||
#
|
||||
gbb_utility \
|
||||
--set --hwid='Galileo' \
|
||||
-r $PWD/keys/recovery_key.vbpubk \
|
||||
-k $PWD/keys/root_key.vbpubk \
|
||||
build/coreboot.signed.rom
|
||||
|
||||
#
|
||||
# Sign the read/write firmware areas with the private signing key and update
|
||||
# the VBLOCK_A and VBLOCK_B regions.
|
||||
#
|
||||
3rdparty/vboot/scripts/image_signing/sign_firmware.sh \
|
||||
build/coreboot.signed.rom \
|
||||
$PWD/keys \
|
||||
build/coreboot.signed.rom
|
||||
</code></pre>
|
||||
|
||||
<hr>
|
||||
<h2>Boot Flow</h2>
|
||||
<p>
|
||||
The reset vector exist in the read-only area and points to the bootblock entry
|
||||
point. The only copy of the bootblock exists in the read-only area of the SPI
|
||||
flash. Verstage may be part of the bootblock or a separate stage. If separate
|
||||
then the bootblock loads verstage from the read-only area and transfers control
|
||||
to it.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Upon first boot, verstage attempts to verify the read/write section A. It gets
|
||||
the public root key from the GBB area and uses that to verify the VBLOCK area
|
||||
in read-write section A. If the VBLOCK area is valid then it extracts the
|
||||
firmware signing key (1024-8192 bits) and uses that to verify the FW_MAIN_A
|
||||
area of read/write section A. If the verification is successful then verstage
|
||||
instructs coreboot to use the coreboot file system in read/write section A for
|
||||
the contents of the remaining boot firmware (romstage, postcar, ramstage and
|
||||
the payload).
|
||||
</p>
|
||||
|
||||
<p>
|
||||
If verification fails for the read/write area and the other read/write area is
|
||||
not valid vboot falls back to the read-only area to boot into system recovery.
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
<h2>Chromebook Special Features</h2>
|
||||
<p>
|
||||
Google's Chromebooks have some special features:
|
||||
</p>
|
||||
<ul>
|
||||
<li>Developer mode</li>
|
||||
<li>Write-protect screw</li>
|
||||
</ul>
|
||||
|
||||
<h3>Developer Mode</h3>
|
||||
<p>
|
||||
Developer mode allows the user to use coreboot to boot another operating system.
|
||||
This may be a another (beta) version of Chrome OS, or another flavor of
|
||||
GNU/Linux. Use of developer mode does not void the system warranty. Upon
|
||||
entry into developer mode, all locally saved data on the system is lost.
|
||||
This prevents someone from entering developer mode to subvert the system
|
||||
security to access files on the local system or cloud.
|
||||
</p>
|
||||
|
||||
<h3>Write Protect Screw</h3>
|
||||
<p>
|
||||
Chromebooks have a write-protect screw which provides the ground to the
|
||||
write-protect pin of the SPI flash. Google specifically did this to allow
|
||||
the manufacturing line and advanced developers to re-write the entire SPI flash
|
||||
part. Once the screw is removed, any firmware may be placed on the device.
|
||||
However, accessing this screw requires opening the case and voids the system
|
||||
warranty!
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
<p>Modified: 2 May 2017</p>
|
||||
</body>
|
||||
</html>
|
@ -1,480 +0,0 @@
|
||||
\documentclass[10pt,letterpaper]{article}
|
||||
\usepackage[latin1]{inputenc}
|
||||
\usepackage{amsmath}
|
||||
\usepackage{amsfonts}
|
||||
\usepackage{amssymb}
|
||||
\author{Ron Minnich}
|
||||
\title{Kconfig usage in coreboot v2}
|
||||
\begin{document}
|
||||
\section{Introduction}
|
||||
This document describes how to use Kconfig in v2. We describe our usage of Kconfig files, Makefile.inc files, when and where to use them, how to use them, and, interestingly, when and where not to use them.
|
||||
\section{Kconfig variations}
|
||||
Most Kconfig files set variables, which can be set as part of the Kconfig dialog. Not all Kconfig variables are set by the user, however; some are too dangerous. These are merely enabled by the mainboard.
|
||||
|
||||
For variables set by the user, see src/console/Kconfig.
|
||||
|
||||
For variables not set by the user, see src/mainboard/amd/serengeti\_cheetah/Kconfig. Users should never set such variables as the cache as RAM base. These are highly mainboard dependent.
|
||||
|
||||
Kconfig files use the source command to include subdirectories. In most cases, save for limited cases described below, subdirectories have Kconfig files. They are always sourced unconditionally.
|
||||
|
||||
\section{Makefile and Makefile.inc}
|
||||
There is only one Makefile, at the top level. All other makefiles are included as Makefile.inc. All the next-level Makefile.inc files are selected in the top level Makefile. Directories that are platform-independent are in BUILD-y; platform-dependent (e.g. Makefile.inc's that depend on architecture) are included in PLATFORM-y.
|
||||
|
||||
Make is not recursive. There is only one make process.
|
||||
\subsection{subdirs usage}
|
||||
Further includes of Makefile.inc, if needed, are done via subdirs-y commands. As in Linux, the subdirs can be conditional or unconditional. Conditional includes are done via subdirs-\$(CONFIG\_VARIABLE) usage; unconditional are done via subdirs-y.
|
||||
|
||||
We define the common rules for which variation to use below.
|
||||
\subsection{object file specification}
|
||||
There are several different types of objects specified in the tree. They are:
|
||||
\begin{description}
|
||||
\item[obj]objects for the RAM part of the code
|
||||
\item[driver]drivers for the RAM part. Drivers are not represented in the device tree but do have a driver struct attached in the driver section.
|
||||
\item[initobj]seperately-compiled code for the ROM section of coreboot
|
||||
\end{description}
|
||||
These items are specified via the -y syntax as well. Conditional object inclusion is done via the -\$(CONFIG\_VARIABLE) syntax.
|
||||
|
||||
\section{Example: AMD serengeti cheetah}
|
||||
\subsection{mainboard/Kconfig}
|
||||
Defines Vendor variables. Currently defined variables are:
|
||||
Sources all Kconfig files in the vendor directories.
|
||||
\input{ mainboardkconfig.tex}
|
||||
\subsection{mainboard/Makefile.inc}
|
||||
There is none at this time.
|
||||
\subsection{mainboard/$<$vendor$>$/Kconfig}
|
||||
We use the amd as a model. The only action currently taken is to source all Kconfig's in the
|
||||
subdirectories.
|
||||
\subsection{mainboard/$<$vendor$>$/Makefile.inc}
|
||||
We use amd as a model. There is currently no Makefile.inc at this level.
|
||||
\subsection{mainboard/$<$vendor$>$/$<$board$>$/Kconfig}
|
||||
The mainboard Kconfig and Makefile.inc are designed to be the heart of the build. The defines
|
||||
and rules in here determine everything about how a mainboard target is built.
|
||||
We will use serengeti\_cheetah as a model. It defines these variables.
|
||||
\input{ mainboardkconfig.tex}
|
||||
\subsection{mainboard/$<$vendor$>$/$<$board$>$/Makefile.inc}
|
||||
This is a fairly complex Makefile.inc. Because this is such a critical component, we are going to excerpt and take it piece by piece.
|
||||
Note that this is the mainboard as of August, 2009, and it may change over time.
|
||||
\subsubsection{objects}
|
||||
We define objects in the first part. The mainbard itself is a driver and included unconditionally. Other objects are conditional:
|
||||
\begin{verbatim}
|
||||
driver-y += mainboard.o
|
||||
|
||||
#needed by irq_tables and mptable and acpi_tables
|
||||
obj-y += get_bus_conf.o
|
||||
obj-$(CONFIG_HAVE_MP_TABLE) += mptable.o
|
||||
obj-$(CONFIG_HAVE_PIRQ_TABLE) += irq_tables.o
|
||||
obj-$(CONFIG_HAVE_ACPI_TABLES) += dsdt.o
|
||||
obj-$(CONFIG_HAVE_ACPI_TABLES) += acpi_tables.o
|
||||
obj-$(CONFIG_HAVE_ACPI_TABLES) += fadt.o
|
||||
|
||||
#./ssdt.o is in northbridge/amd/amdk8/Config.lb
|
||||
obj-$(CONFIG_ACPI_SSDTX_NUM) += ssdt2.o
|
||||
obj-$(CONFIG_ACPI_SSDTX_NUM) += ssdt3.o
|
||||
obj-$(CONFIG_HAVE_ACPI_TABLES) += ssdt4.o
|
||||
driver-y += ../../../drivers/i2c/i2cmux/i2cmux.o
|
||||
|
||||
# This is part of the conversion to init-obj and away from included code.
|
||||
|
||||
initobj-y += crt0.o
|
||||
\end{verbatim}
|
||||
\subsubsection{romcc legacy support}
|
||||
We hope to move away from romcc soon, but for now, if one is using romcc, the Makefile.inc must define
|
||||
crt0 include files (assembly code for startup, usually); and several ldscripts. These are taken directly from the
|
||||
old Config.lb. Note that these use the -y syntax and can use the ability to be included conditionally.
|
||||
\begin{verbatim}
|
||||
crt0-y += ../../../../src/cpu/x86/16bit/entry16.inc
|
||||
crt0-y += ../../../../src/cpu/x86/32bit/entry32.inc
|
||||
crt0-y += ../../../../src/cpu/x86/16bit/reset16.inc
|
||||
crt0-y += ../../../../src/arch/i386/lib/id.inc
|
||||
crt0-y += ../../../../src/cpu/amd/car/cache_as_ram.inc
|
||||
crt0-y += auto.inc
|
||||
|
||||
ldscript-y += ../../../../src/arch/i386/init/ldscript_fallback_cbfs.lb
|
||||
ldscript-y += ../../../../src/cpu/x86/16bit/entry16.lds
|
||||
ldscript-y += ../../../../src/cpu/x86/16bit/reset16.lds
|
||||
ldscript-y += ../../../../src/arch/i386/lib/id.lds
|
||||
ldscript-y += ../../../../src/arch/i386/lib/failover.lds
|
||||
|
||||
\end{verbatim}
|
||||
\subsubsection{POST\_EVALUATION}
|
||||
POST\_EVALUATION rules should be placed after this section:
|
||||
\begin{verbatim}
|
||||
ifdef POST_EVALUATION
|
||||
\end{verbatim}
|
||||
to ensure that the values of variables are correct.
|
||||
Here are the post-evaluation rules for this mainboard:
|
||||
\begin{verbatim}
|
||||
$(obj)/dsdt.c: $(src)/mainboard/$(MAINBOARDDIR)/dsdt.asl
|
||||
iasl -p dsdt -tc $(src)/mainboard/$(MAINBOARDDIR)/dsdt.asl
|
||||
mv dsdt.hex $@
|
||||
|
||||
$(obj)/mainboard/$(MAINBOARDDIR)/dsdt.o: $(obj)/dsdt.c
|
||||
$(CC) $(DISTRO_CFLAGS) $(CFLAGS) $(CPPFLAGS) $(DEBUG_CFLAGS) -I$(src) -I. -c $< -o $@
|
||||
|
||||
$(obj)/ssdt2.c: $(src)/mainboard/$(MAINBOARDDIR)/dx/pci2.asl
|
||||
iasl -p $(CURDIR)/pci2 -tc $(CONFIG_MAINBOARD)/dx/pci2.asl
|
||||
perl -pi -e 's/AmlCode/AmlCode_ssdt2/g' pci2.hex
|
||||
mv pci2.hex ssdt2.c
|
||||
|
||||
$(obj)/ssdt3.c: $(src)/mainboard/$(MAINBOARDDIR)/dx/pci3.asl"
|
||||
iasl -p $(CURDIR)/pci3 -tc $(CONFIG_MAINBOARD)/
|
||||
perl -pi -e 's/AmlCode/AmlCode_ssdt3/g' pci3.hex
|
||||
mv pci3.hex ssdt3.c
|
||||
|
||||
$(obj)/ssdt4.c: $(src)/mainboard/$(MAINBOARDDIR)/dx/pci4.asl"
|
||||
iasl -p $(CURDIR)/pci4 -tc $(CONFIG_MAINBOARD)/dx/pci4.asl
|
||||
perl -pi -e 's/AmlCode/AmlCode_ssdt4/g' pci4.hex
|
||||
mv pci4.hex ssdt4.c
|
||||
|
||||
$(obj)/mainboard/$(MAINBOARDDIR)/auto.inc: $(src)/mainboard/$(MAINBOARDDIR)/rom.c $(obj)/option_table.h
|
||||
$(CC) $(DISTRO_CFLAGS) $(CFLAGS) $(CPPFLAGS) $(DEBUG_CFLAGS) -I$(src) -I. -c -S $(src)/mainboard/$(MAINBOARDDIR)/rom.c -o $@
|
||||
perl -e 's/\.rodata/.rom.data/g' -pi $@
|
||||
perl -e 's/\.text/.section .rom.text/g' -pi $@
|
||||
|
||||
\end{verbatim}
|
||||
The last rule is for romcc, and, again, we hope to eliminate romcc usage and this rule soon. The first set of rules concern ACPI tables.
|
||||
\subsubsection{devicetree.cb}
|
||||
Most of the old Config.lb is gone, but one piece remains: the device tree specification. This tree is still required to build a mainboard
|
||||
properly, as it defines topology and chips that can be defined no other way.
|
||||
Let's go through the tree.
|
||||
\begin{verbatim}
|
||||
chip northbridge/amd/amdk8/root_complex
|
||||
device cpu_cluster 0 on
|
||||
chip cpu/amd/socket_F
|
||||
device lapic 0 on end
|
||||
end
|
||||
end
|
||||
\end{verbatim}
|
||||
This topology is always somewhat confusing to newcomers, and even to coreboot veterans.
|
||||
|
||||
We root the tree at the pci-e {\it root complex}. There is always the question of how and where to root the tree. Over the years we
|
||||
have found that the one part that never goes away is the root complex. CPU sockets may be empty or full; but there is always a northbridge
|
||||
somewhere, since it runs memory.
|
||||
|
||||
|
||||
What is the APIC? Northbridges always have an Advanced Programmable Interrupt Controller, and that {\it APIC cluster} is a topological connection to the
|
||||
CPU socket. So the tree is rooted at the northbridge, which has a link to a CPU cluster, and then the CPU. The CPU contains
|
||||
its own APIC, and will define any parameters needed. In this case, we have a northbridge of type
|
||||
{\it northbridge/amd/amdk8/root\_complex}, with its own cpu\_cluster device which we turn on,
|
||||
which connects to a {\it cpu/amd/socket\_F},
|
||||
which has a local apic, which is on.
|
||||
|
||||
Note that we do not enumerate all CPUs, even on this SMP mainboard. The reason is they may not all be there. The CPU we define here
|
||||
is the so-called Boot Strap Processor, or BSP; the other CPUs will come along later, as the are discovered. We do not require (unlike many
|
||||
BIOSes) that the BSP be CPU 0; any CPU will do.
|
||||
\begin{verbatim}
|
||||
device domain 0 on
|
||||
chip northbridge/amd/amdk8
|
||||
device pci 18.0 on # northbridge
|
||||
# devices on link 0, link 0 == LDT 0
|
||||
\end{verbatim}
|
||||
Here begins the pci domain, which usually starts with 0. Then there is the northbridge, which bridges to the PCI bus. On
|
||||
Opterons, certain CPU control registers are managed in PCI config space in device 18.0 (BSP), 19.0 (AP), and up.
|
||||
\begin{verbatim}
|
||||
chip southbridge/amd/amd8132
|
||||
# the on/off keyword is mandatory
|
||||
device pci 0.0 on end
|
||||
device pci 0.1 on end
|
||||
device pci 1.0 on end
|
||||
device pci 1.1 on end
|
||||
end
|
||||
\end{verbatim}
|
||||
This is the 8132, a bridge to a secondary PCI bus.
|
||||
\begin{verbatim}
|
||||
chip southbridge/amd/amd8111
|
||||
# this "device pci 0.0" is the parent the next one
|
||||
# PCI bridge
|
||||
device pci 0.0 on
|
||||
device pci 0.0 on end
|
||||
device pci 0.1 on end
|
||||
device pci 0.2 off end
|
||||
device pci 1.0 off end
|
||||
end
|
||||
\end{verbatim}
|
||||
The 8111 is a bridge to other busses and to the legacy ISA devices such as superio.
|
||||
\begin{verbatim}
|
||||
device pci 1.0 on
|
||||
chip superio/winbond/w83627hf
|
||||
device pnp 2e.0 off # Floppy
|
||||
io 0x60 = 0x3f0
|
||||
irq 0x70 = 6
|
||||
drq 0x74 = 2
|
||||
end
|
||||
device pnp 2e.1 off # Parallel Port
|
||||
io 0x60 = 0x378
|
||||
irq 0x70 = 7
|
||||
end
|
||||
device pnp 2e.2 on # Com1
|
||||
io 0x60 = 0x3f8
|
||||
irq 0x70 = 4
|
||||
end
|
||||
device pnp 2e.3 off # Com2
|
||||
io 0x60 = 0x2f8
|
||||
irq 0x70 = 3
|
||||
end
|
||||
device pnp 2e.5 on # Keyboard
|
||||
io 0x60 = 0x60
|
||||
io 0x62 = 0x64
|
||||
irq 0x70 = 1
|
||||
irq 0x72 = 12
|
||||
end
|
||||
device pnp 2e.6 off # CIR
|
||||
io 0x60 = 0x100
|
||||
end
|
||||
device pnp 2e.7 off # GAME_MIDI_GIPO1
|
||||
io 0x60 = 0x220
|
||||
io 0x62 = 0x300
|
||||
irq 0x70 = 9
|
||||
end
|
||||
device pnp 2e.8 off end # GPIO2
|
||||
device pnp 2e.9 off end # GPIO3
|
||||
device pnp 2e.a off end # ACPI
|
||||
device pnp 2e.b on # HW Monitor
|
||||
io 0x60 = 0x290
|
||||
irq 0x70 = 5
|
||||
end
|
||||
end
|
||||
end
|
||||
\end{verbatim}
|
||||
The pnp refers to the many Plug N Play devices on a superio. 2e refers to the base I/O address of the superio, and the number following the
|
||||
2e (i.e. 2e.1) is the Logical Device Number, or LDN. Each LDN has a common configuration (base, irq, etc.) and these are set by the statements under the LDN.
|
||||
\begin{verbatim}
|
||||
device pci 1.1 on end
|
||||
device pci 1.2 on end
|
||||
\end{verbatim}
|
||||
More devices. These statements set up placeholders in the device tree.
|
||||
\begin{verbatim}
|
||||
device pci 1.3 on
|
||||
chip drivers/i2c/i2cmux # pca9556 smbus mux
|
||||
device i2c 18 on #0 pca9516 1
|
||||
chip drivers/generic/generic #dimm 0-0-0
|
||||
device i2c 50 on end
|
||||
end
|
||||
chip drivers/generic/generic #dimm 0-0-1
|
||||
device i2c 51 on end
|
||||
end
|
||||
chip drivers/generic/generic #dimm 0-1-0
|
||||
device i2c 52 on end
|
||||
end
|
||||
chip drivers/generic/generic #dimm 0-1-1
|
||||
device i2c 53 on end
|
||||
end
|
||||
end
|
||||
device i2c 18 on #1 pca9516 2
|
||||
chip drivers/generic/generic #dimm 1-0-0
|
||||
device i2c 50 on end
|
||||
end
|
||||
chip drivers/generic/generic #dimm 1-0-1
|
||||
device i2c 51 on end
|
||||
end
|
||||
chip drivers/generic/generic #dimm 1-1-0
|
||||
device i2c 52 on end
|
||||
end
|
||||
chip drivers/generic/generic #dimm 1-1-1
|
||||
device i2c 53 on end
|
||||
end
|
||||
chip drivers/generic/generic #dimm 1-2-0
|
||||
device i2c 54 on end
|
||||
end
|
||||
chip drivers/generic/generic #dimm 1-2-1
|
||||
device i2c 55 on end
|
||||
end
|
||||
chip drivers/generic/generic #dimm 1-3-0
|
||||
device i2c 56 on end
|
||||
end
|
||||
chip drivers/generic/generic #dimm 1-3-1
|
||||
device i2c 57 on end
|
||||
end
|
||||
end
|
||||
end
|
||||
end # acpi
|
||||
\end{verbatim}
|
||||
These are the i2c devices.
|
||||
\begin{verbatim}
|
||||
device pci 1.5 off end
|
||||
device pci 1.6 off end
|
||||
\end{verbatim}
|
||||
More placeholders.
|
||||
\begin{verbatim}
|
||||
register "ide0_enable" = "1"
|
||||
register "ide1_enable" = "1"
|
||||
end
|
||||
end # device pci 18.0
|
||||
|
||||
\end{verbatim}
|
||||
These "register" commands set controls in the southbridge.
|
||||
\begin{verbatim}
|
||||
device pci 18.0 on end
|
||||
device pci 18.0 on end
|
||||
\end{verbatim}
|
||||
These are the other two hypertransport links.
|
||||
\begin{verbatim}
|
||||
device pci 18.1 on end
|
||||
device pci 18.2 on end
|
||||
device pci 18.3 on end
|
||||
\end{verbatim}
|
||||
The 18.1 devices are, again, northbridge control for various k8 functions.
|
||||
\begin{verbatim}
|
||||
end
|
||||
\end{verbatim}
|
||||
That's it for the BSP I/O and HT busses. Now we begin the AP busses. Not much here.
|
||||
\begin{verbatim}
|
||||
chip northbridge/amd/amdk8
|
||||
device pci 19.0 on # northbridge
|
||||
chip southbridge/amd/amd8151
|
||||
# the on/off keyword is mandatory
|
||||
device pci 0.0 on end
|
||||
device pci 1.0 on end
|
||||
end
|
||||
end # device pci 19.0
|
||||
|
||||
device pci 19.0 on end
|
||||
device pci 19.0 on end
|
||||
device pci 19.1 on end
|
||||
device pci 19.2 on end
|
||||
device pci 19.3 on end
|
||||
end
|
||||
|
||||
|
||||
\end{verbatim}
|
||||
|
||||
\subsection{cpu socket}
|
||||
The CPU socket is the key link from mainboard to its CPUs. Since many models of CPU can go in a socket, the mainboard mentions only
|
||||
the socket, and the socket, in turn, references the various model CPUs which can be plugged into it. The socket is thus the focus
|
||||
of all defines and Makefile controls for building the CPU components of a board.
|
||||
|
||||
\subsubsection{ cpu/Kconfig}
|
||||
Defines variables. Current variables are:
|
||||
\input{cpukconfig.tex}
|
||||
Sources all Kconfig files in the vendor directories.
|
||||
\subsubsection{ cpu/Makefile.inc}
|
||||
Unconditionally sources all Makefile.inc in the vendor directories.
|
||||
|
||||
\subsection{cpu/$<$vendor$>$/Kconfig}
|
||||
The only action currently taken is to source all Kconfig's in the
|
||||
subdirectories.
|
||||
\subsection{cpu/$<$vendor$>$/Makefile.inc}
|
||||
{\em Conditionally} source the socket directories.
|
||||
Example:
|
||||
\begin{verbatim}
|
||||
subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += socket_F
|
||||
\end{verbatim}
|
||||
.
|
||||
CONFIG\_CPU\_AMD\_SOCKET\_F is set in a mainboard file.
|
||||
|
||||
\subsection{cpu/$<$vendor$>$/$<$socket$>$/Kconfig}
|
||||
Set variables that relate to this {\em socket}, and {\em any models that plug into this socket}. Note that
|
||||
the socket, as much as possible, should control the models, because the models may plug into many sockets.
|
||||
Socket\_F currently sets:
|
||||
\input{socketfkconfig.tex}
|
||||
|
||||
It sources only those Kconfigs that relate to this particular socket, i.e. not all possible models are sourced.
|
||||
|
||||
\subsection{cpu/$<$vendor$>$/$<$model$>$/Kconfig}
|
||||
CPU Model Kconfigs only set variables, We do not expect that they will source any other Kconfig. The socket Kconfig should do that
|
||||
if needed.
|
||||
\subsection{cpu/$<$vendor$>$/$<$model$>$/Makefile.inc}
|
||||
The Makefile.inc {\em unconditionally} specifies drivers and objects to be included in the build. There is no conditional
|
||||
compilation at this point. IF a socket is included, it includes the models. If a model is included, it should include {em all}
|
||||
objects, because it is not possible to determine at build time what options may be needed for a given model CPU.
|
||||
This Makefile.inc includes no other Makefile.inc files; any inclusion should be done in the socket Makefile.inc.
|
||||
|
||||
\subsection{northbridge}
|
||||
\subsubsection{northbridge/Kconfig}
|
||||
No variables. Source all vendor directory Kconfigs.
|
||||
\subsubsection{northbridge/Makefile.inc}
|
||||
No variables. unconditionally include all vendor Makefile.inc
|
||||
\subsubsection{northbridge/$<$vendor$>$/Kconfig}
|
||||
No variables. Source all chip directory Kconfigs.
|
||||
\subsubsection{northbridge/$<$vendor$>$/Makefile.inc}
|
||||
No variables. {\em Conditionally} include all chipset Makefile.inc. The variable
|
||||
is the name of the part, e.g.
|
||||
\begin{verbatim}
|
||||
subdirs-$(CONFIG_NORTHBRIDGE_AMD_AMDK8) += amdk8
|
||||
\end{verbatim}
|
||||
.
|
||||
\subsubsection{northbridge/$<$vendor$>$/$<$chip$>$/Kconfig}
|
||||
Typically a small number of variables. One defines the part name. Here is an example
|
||||
of the variables defined for the K8.
|
||||
\begin{verbatim}
|
||||
config NORTHBRIDGE_AMD_AMDK8
|
||||
bool
|
||||
default n
|
||||
|
||||
config AGP_APERTURE_SIZE
|
||||
hex
|
||||
default 0x4000000
|
||||
\end{verbatim}
|
||||
\subsubsection{northbridge/$<$vendor$>$/$<$chip$>$/Makefile.inc}
|
||||
Typically very small set of rules, and very simple.
|
||||
Since this file is already conditionally included,
|
||||
we don't need to test for the chipset CONFIG variable. We
|
||||
can therefore test other variables (which is part of the reason
|
||||
we set up conditional inclusion of this file, instead
|
||||
of unconditionally including it). Here is an example from AMD K8.
|
||||
Note that we can make a variable conditional on the ACPI tables.
|
||||
\begin{verbatim}
|
||||
driver-y += northbridge.o
|
||||
driver-y += misc_control.o
|
||||
obj-y += get_sblk_pci1234.o
|
||||
obj-$(CONFIG_HAVE_ACPI_TABLES) += amdk8_acpi.o
|
||||
\end{verbatim}
|
||||
|
||||
\subsection{southbridge}
|
||||
\subsubsection{southbridge/Kconfig}
|
||||
No variables. Source all vendor directory Kconfigs.
|
||||
\subsubsection{southbridge/Makefile.inc}
|
||||
No variables. {\em Unconditionally} include all vendor Makefile.inc
|
||||
\subsubsection{southbridge/$<$vendor$>$/Kconfig}
|
||||
No variables. Source all chip directory Kconfigs.
|
||||
\subsubsection{southbridge/$<$vendor$>$/Makefile.inc}
|
||||
No variables. {\em Conditionally} include all chipset Makefile.inc. The variable
|
||||
is the name of the part, e.g.
|
||||
\begin{verbatim}
|
||||
subdirs-$(CONFIG_SOUTHBRIDGE_AMD_AMD8111) += amd8111
|
||||
\end{verbatim}
|
||||
.
|
||||
\subsubsection{southbridge/$<$vendor$>$/$<$chip$>$/Kconfig}
|
||||
Typically a small number of variables. One defines the part name. Here is an example
|
||||
of the variables defined for the K8.
|
||||
\begin{verbatim}
|
||||
config SOUTHBRIDGE_AMD_AMD8111
|
||||
bool
|
||||
default n
|
||||
|
||||
\end{verbatim}
|
||||
\subsubsection{southbridge/$<$vendor$>$/$<$chip$>$/Makefile.inc}
|
||||
Typically very small set of rules, and very simple.
|
||||
Since this file is already conditionally included,
|
||||
we don't need to test for the chipset CONFIG variable. We
|
||||
can therefore test other variables (which is part of the reason
|
||||
we set up conditional inclusion of this file, instead
|
||||
of unconditionally including it). Here is an example from AMD 8111.
|
||||
No conditionals in this one yet.
|
||||
\begin{verbatim}
|
||||
driver-y += amd8111.o
|
||||
driver-y += amd8111_usb.o
|
||||
driver-y += amd8111_lpc.o
|
||||
driver-y += amd8111_ide.o
|
||||
driver-y += amd8111_acpi.o
|
||||
driver-y += amd8111_usb2.o
|
||||
driver-y += amd8111_ac97.o
|
||||
driver-y += amd8111_nic.o
|
||||
driver-y += amd8111_pci.o
|
||||
driver-y += amd8111_smbus.o
|
||||
obj-y += amd8111_reset.o
|
||||
\end{verbatim}
|
||||
|
||||
\subsubsection{vendor and part}
|
||||
\subsection{southbridge}
|
||||
\subsubsection{vendor and part}
|
||||
\subsection{superio}
|
||||
\subsection{drivers/i2c}
|
||||
This is a rather special case. There are no Kconfig files or Makefile.inc files here. They are not needed.
|
||||
To compile in one of these files, name the .o directory. E.g. in serengeti\_cheetah we have:
|
||||
\begin{verbatim}
|
||||
\end{verbatim}
|
||||
|
||||
\subsubsection{vendor and part}
|
||||
|
||||
\end{document}
|
@ -1,281 +0,0 @@
|
||||
# coreboot Lesson 2: Submitting a patch to coreboot.org
|
||||
|
||||
## Part 1: Setting up an account at coreboot.org
|
||||
|
||||
If you already have an account, skip to Part 2.
|
||||
|
||||
Otherwise, go to <https://review.coreboot.org> in your preferred web browser.
|
||||
Select **Register** in the upper right corner.
|
||||
|
||||
Select the appropriate sign-in. For example, if you have a Google account,
|
||||
select **Google OAuth2** (gerrit-oauth-provider plugin)".**Note:** Your
|
||||
username for the account will be the username of the account you used to
|
||||
sign-in with. (ex. your Google username).
|
||||
|
||||
## Part 2a: Set up RSA Private/Public Key
|
||||
|
||||
If you prefer to use an HTTP password instead, skip to Part 2b.
|
||||
|
||||
For the most up-to-date instructions on how to set up SSH keys with Gerrit go to
|
||||
<https://gerrit-documentation.storage.googleapis.com/Documentation/2.14.2/user-upload.html#configure_ssh)>
|
||||
and follow the instructions there. Then, skip to Part 3.
|
||||
|
||||
Additionally, that section of the Web site provides explanation on starting
|
||||
an ssh-agent, which may be particularly helpful for those who anticipate
|
||||
frequently uploading changes.
|
||||
|
||||
If you instead prefer to have review.coreboot.org specific instructions,
|
||||
follow the steps below. Note that this particular section may have the
|
||||
most up-to-date instructions.
|
||||
|
||||
If you do not have an RSA key set up on your account already (as is the case
|
||||
with a newly created account), follow the instructions below; otherwise,
|
||||
doing so could overwrite an existing key.
|
||||
|
||||
In the upper right corner, select your name and click on **Settings**.
|
||||
Select **SSH Public Keys** on the left-hand side.
|
||||
|
||||
In a terminal, run "ssh-keygen" and confirm the default path ".ssh/id_rsa".
|
||||
|
||||
Make a passphrase -- remember this phrase. It will be needed whenever you use
|
||||
this RSA Public Key. **Note:** You might want to use a short password, or
|
||||
forego the password altogether as you will be using it very often.
|
||||
|
||||
Open "id_rsa.pub", copy all contents and paste into the textbox under
|
||||
"Add SSH Public Key" in the https://review.coreboot.org webpage.
|
||||
|
||||
## Part 2b: Setting up an HTTP Password
|
||||
|
||||
Alternatively, instead of using SSH keys, you can use an HTTP password. To do so,
|
||||
after you select your name and click on **Settings** on the left-hand side, rather
|
||||
than selecting **SSH Public Keys**, select **HTTP Password**.
|
||||
|
||||
Click **Generate Password**. This should fill the "Password" box with a password. Copy
|
||||
the password, and add the following to your $HOME/.netrc file:
|
||||
|
||||
machine review.coreboot.org login YourUserNameHere password YourPasswordHere
|
||||
|
||||
where YourUserNameHere is your username, and YourPasswordHere is the password you
|
||||
just generated.
|
||||
|
||||
## Part 3: Clone coreboot and configure it for submitting patches
|
||||
|
||||
Go to the **Projects** tab in the upper left corner and select **List**.
|
||||
From the dropdown menu that appears, select "coreboot".
|
||||
|
||||
If you are using SSH keys, select **ssh** from the tabs under "Project coreboot"
|
||||
and run the command that appears. This should prompt you for your id_rsa passphrase,
|
||||
if you previously set one.
|
||||
|
||||
If you are using HTTP, instead, select **http** from the tabs under "Project coreboot"
|
||||
and run the command that appears
|
||||
|
||||
After it finishes cloning, "cd coreboot" will take you into the local
|
||||
git repository. Run "make gitconfig" to set up the hooks and configurations.
|
||||
For example, you will be asked to run the following commands to set your
|
||||
username and email.
|
||||
|
||||
git config --global user.name "Your Name"
|
||||
git config --global user.email "Your Email"
|
||||
|
||||
## Part 4: Submit a commit
|
||||
|
||||
An easy first commit to make is fixing existing checkpatch errors and warnings
|
||||
in the source files. To see errors that are already present, build the files in
|
||||
the repository by running 'make lint' in the coreboot directory. Alternatively,
|
||||
if you want to run 'make lint' on a specific directory, run:
|
||||
|
||||
for file in $(git ls-files | grep src/amd/quadcore); do \
|
||||
util/lint/checkpatch.pl --file $file --terse; done
|
||||
|
||||
where <filepath> is the filepath of the directory (ex. src/cpu/amd/car).
|
||||
|
||||
Any changes made to files under the src directory are made locally,
|
||||
and can be submitted for review.
|
||||
|
||||
Once you finish making your desired changes, use the command line to stage
|
||||
and submit your changes. An alternative and potentially easier way to stage
|
||||
and submit commits is to use git cola, a graphical user interface for git. For
|
||||
instructions on how to do so, skip to Part 4b.
|
||||
|
||||
## Part 4a: Using the command line to stage and submit a commit
|
||||
|
||||
To use the command line to stage a commit, run
|
||||
|
||||
git add <filename>
|
||||
|
||||
where `filename` is the name of your file.
|
||||
|
||||
To commit the change, run
|
||||
|
||||
git commit -s
|
||||
|
||||
**Note:** The -s adds a signed-off-by line by the committer. Your commit should be
|
||||
signed off with your name and email (i.e. **Your Name** **<Your Email>**, based on
|
||||
what you set with git config earlier).
|
||||
|
||||
Running git commit first checks for any errors and warnings using lint. If
|
||||
there are any, you must go back and fix them before submitting your commit.
|
||||
You can do so by making the necessary changes, and then staging your commit again.
|
||||
|
||||
When there are no errors or warnings, your default text editor will open.
|
||||
This is where you will write your commit message.
|
||||
|
||||
The first line of your commit message is your commit summary. This is a brief
|
||||
one-line description of what you changed in the files using the template
|
||||
below:
|
||||
|
||||
<filepath>: Short description
|
||||
*ex. cpu/amd/pi/00630F01: Fix checkpatch warnings and errors*
|
||||
**Note:** It is good practice to use present tense in your descriptions
|
||||
and do not punctuate your summary.
|
||||
|
||||
Then hit Enter. The next paragraph should be a more in-depth explanation of the
|
||||
changes you've made to the files. Again, it is good practice to use present
|
||||
tense.
|
||||
*ex. Fix space prohibited between function name and open parenthesis,
|
||||
line over 80 characters, unnecessary braces for single statement blocks,
|
||||
space required before open brace errors and warnings.*
|
||||
|
||||
When you have finished writing your commit message, save and exit the text
|
||||
editor. You have finished committing your change. If, after submitting your
|
||||
commit, you wish to make changes to it, running "git commit --amend" allows
|
||||
you to take back your commit and amend it.
|
||||
|
||||
When you are done with your commit, run 'git push' to push your commit to
|
||||
coreboot.org. **Note:** To submit as a draft, use
|
||||
'git push origin HEAD:refs/drafts/master' Submitting as a draft means that
|
||||
your commit will be on coreboot.org, but is only visible to those you add
|
||||
as reviewers.
|
||||
|
||||
## Part 4b: Using git cola to stage and submit a commit
|
||||
|
||||
If git cola is not installed on your machine, see
|
||||
https://git-cola.github.io/downloads.html for download instructions.
|
||||
|
||||
After making some edits to src files, rather than run "git add," run
|
||||
'git cola' from the command line. You should see all of the files
|
||||
edited under "Modified".
|
||||
|
||||
In the textbox labeled "Commit summary" provide a brief one-line
|
||||
description of what you changed in the files according to the template
|
||||
below:
|
||||
|
||||
<filepath>: Short description
|
||||
*ex. cpu/amd/pi/00630F01: Fix checkpatch warnings and errors*
|
||||
**Note:** It is good practice to use present tense in your descriptions
|
||||
and do not punctuate your short description.
|
||||
|
||||
In the larger text box labeled 'Extended description...' provide a more
|
||||
in-depth explanation of the changes you've made to the files. Again, it
|
||||
is good practice to use present tense.
|
||||
*ex. Fix space prohibited between function name and open parenthesis,
|
||||
line over 80 characters, unnecessary braces for single statement blocks,
|
||||
space required before open brace errors and warnings.*
|
||||
|
||||
Then press Enter two times to move the cursor to below your description.
|
||||
To the left of the text boxes, there is an icon with an downward arrow.
|
||||
Press the arrow and select "Sign Off." Make sure that you are signing off
|
||||
with your name and email (i.e. **Your Name** **<Your Email>**, based on what
|
||||
you set with git config earlier).
|
||||
|
||||
Now, review each of your changes and mark either individual changes or
|
||||
an entire file as Ready to Commit by marking it as 'Staged'. To do
|
||||
this, select one file from the 'Modified' list. If you only want to
|
||||
submit particular changes from each file, then highlight the red and
|
||||
green lines for your changes, right click and select 'Stage Selected
|
||||
Lines'. Alternatively, if an entire file is ready to be committed, just
|
||||
double click on the file under 'Modified' and it will be marked as
|
||||
Staged.
|
||||
|
||||
Once the descriptions are done and all the edits you would like to
|
||||
commit have been staged, press 'Commit' on the right of the text
|
||||
boxes.
|
||||
|
||||
If the commit fails due to persisting errors, a text box will appear
|
||||
showing the errors. You can correct these errors within 'git cola' by
|
||||
right-clicking on the file in which the error occurred and selecting
|
||||
'Launch Diff Tool'. Make necessary corrections, close the Diff Tool and
|
||||
'Stage' the corrected file again. It might be necessary to refresh
|
||||
'git cola' in order for the file to be shown under 'Modified' again.
|
||||
Note: Be sure to add any other changes that haven't already been
|
||||
explained in the extended description.
|
||||
|
||||
When ready, select 'Commit' again. Once all errors have been satisfied
|
||||
and the commit succeeds, move to the command line and run 'git push'.
|
||||
**Note:** To submit as a draft, use 'git push origin HEAD:refs/drafts/master'
|
||||
Submitting as a draft means that your commit will be on coreboot.org, but is
|
||||
only visible to those you add as reviewers.
|
||||
|
||||
## Part 5: Getting your commit reviewed
|
||||
|
||||
Your commits can now be seen on review.coreboot.org if you select “My”
|
||||
and click on “Changes” and can be reviewed by others. Your code will
|
||||
first be reviewed by build bot (Jenkins), which will either give you a warning
|
||||
or verify a successful build; if so, your commit will receive a +1. Other
|
||||
users may also give your commit +1. For a commit to be merged, it needs
|
||||
to receive a +2.**Note:** A +1 and a +1 does not make a +2. Only certain users
|
||||
can give a +2.
|
||||
|
||||
## Part 6 (optional): bash-git-prompt
|
||||
|
||||
To help make it easier to understand the state of the git repository
|
||||
without running 'git status' or 'git log', there is a way to make the
|
||||
command line show the status of the repository at every point. This
|
||||
is through bash-git-prompt.
|
||||
|
||||
Instructions for installing this are found at:
|
||||
https://github.com/magicmonty/bash-git-prompt
|
||||
**Note:** Feel free to search for different versions of git prompt,
|
||||
as this one is specific to bash.
|
||||
|
||||
Alternatively, follow the instructions below:
|
||||
Run the following two commands in the command line:
|
||||
|
||||
cd
|
||||
git clone https://github.com/magicmonty/bash-git-prompt.git .bash-git-prompt --depth=1
|
||||
|
||||
**Note:** cd will change your directory to your home directory, so the
|
||||
git clone command will be run there.
|
||||
|
||||
Finally, open the ~/.bashrc file and append the following two lines:
|
||||
|
||||
GIT_PROMPT_ONLY_IN_REPO=1
|
||||
source ~/.bash-git-prompt/gitprompt.sh
|
||||
|
||||
Now, whenever you are in a git repository, it will continuously display
|
||||
its state.
|
||||
|
||||
There also are additional configurations that you can change depending on your
|
||||
preferences. If you wish to do so, look at the "All configs for .bashrc" section
|
||||
on https://github.com/magicmonty/bash-git-prompt. Listed in that section are
|
||||
various lines that you can copy, uncomment and add to your .bashrc file to
|
||||
change the configurations. Example configurations include avoid fetching remote
|
||||
status, and supporting versions of Git older than 1.7.10.
|
||||
|
||||
## Appendix: Miscellaneous Advice
|
||||
|
||||
### Updating a commit after running git push:
|
||||
|
||||
Suppose you would like to update a commit that has already been pushed to the
|
||||
remote repository. If the commit you wish to update is the most recent
|
||||
commit you have made, after making your desired changes, stage the files
|
||||
(either using git add or in git cola), and amend the commit. To do so,
|
||||
if you are using the command line, run "git commit --amend." If you are
|
||||
using git cola, click on the gear icon located on the upper left side under
|
||||
**Commit** and select **Amend Last Commit** in the drop down menu. Then, stage
|
||||
the files you have changed, commit the changes, and run git push to push the
|
||||
changes to the remote repository. Your change should be reflected in Gerrit as
|
||||
a new patch set.
|
||||
|
||||
If, however, the commit you wish to update is not the most recent commit you
|
||||
have made, you will first need to checkout that commit. To do so, find the
|
||||
URL of the commit on <https://review.coreboot.org> and go to that page; if
|
||||
the commit is one that you previously pushed, it can be found by selecting
|
||||
**My** and then **Changes** in the upper left corner. To checkout this commit,
|
||||
in the upper right corner, click on **Download**, and copy the command listed
|
||||
next to checkout by clicking **Copy to clipboard**. Then, run the copied
|
||||
command in your coreboot repository. Now, the last commit should be the most
|
||||
recent commit to that patch; to update it, make your desired changes, stage
|
||||
the files, then amend and push the commit using the instructions in the above
|
||||
paragraph.
|
@ -7,7 +7,7 @@ PDFLATEX=pdflatex -t a4
|
||||
|
||||
FIGS=codeflow.pdf hypertransport.pdf
|
||||
|
||||
all: corebootPortingGuide.pdf Kconfig.pdf
|
||||
all: corebootPortingGuide.pdf
|
||||
|
||||
SVG2PDF=$(shell which svg2pdf)
|
||||
INKSCAPE=$(shell which inkscape)
|
||||
@ -39,30 +39,6 @@ corebootPortingGuide.toc: $(FIGS) corebootBuildingGuide.tex
|
||||
corebootPortingGuide.pdf: $(FIGS) corebootBuildingGuide.tex corebootPortingGuide.toc
|
||||
$(PDFLATEX) corebootBuildingGuide.tex
|
||||
|
||||
Kconfig.pdf: Kconfig.tex mainboardkconfig.tex cpukconfig.tex socketfkconfig.tex
|
||||
$(PDFLATEX) $<
|
||||
|
||||
# quick, somebody! make me a macro!
|
||||
mainboardkconfig.tex: ../src/mainboard/Kconfig
|
||||
cat beginverbatim.tex > $@
|
||||
grep '^config' $< | awk '{print $2}' >>$@
|
||||
cat endverbatim.tex >> $@
|
||||
|
||||
skconfig.tex: ../src/mainboard/amd/serengeti_cheetah/Kconfig
|
||||
cat beginverbatim.tex > $@
|
||||
grep '^config' $< | awk '{print $2}' >>$@
|
||||
cat endverbatim.tex >> $@
|
||||
|
||||
cpukconfig.tex: ../src/cpu/Kconfig
|
||||
cat beginverbatim.tex > $@
|
||||
grep '^config' $< | awk '{print $2}' >>$@
|
||||
cat endverbatim.tex >> $@
|
||||
|
||||
socketfkconfig.tex: ../src/cpu/amd/socket_F/Kconfig
|
||||
cat beginverbatim.tex > $@
|
||||
grep '^config' $< | awk '{print $2}' >>$@
|
||||
cat endverbatim.tex >> $@
|
||||
|
||||
sphinx:
|
||||
$(MAKE) -f Makefile.sphinx html
|
||||
|
||||
@ -70,7 +46,10 @@ clean-sphinx:
|
||||
$(MAKE) -f Makefile.sphinx clean
|
||||
|
||||
clean: clean-sphinx
|
||||
rm -f *.aux *.idx *.log *.toc *.out $(FIGS) mainboardkconfig.tex skconfig.tex cpukconfig.tex socketfkconfig.tex
|
||||
rm -f *.aux *.idx *.log *.toc *.out $(FIGS)
|
||||
|
||||
distclean: clean
|
||||
rm -f corebootPortingGuide.pdf Kconfig.pdf
|
||||
rm -f corebootPortingGuide.pdf
|
||||
|
||||
livesphinx:
|
||||
$(MAKE) -f Makefile.sphinx livehtml SPHINXOPTS="$(SPHINXOPTS)"
|
||||
|
@ -2,10 +2,11 @@
|
||||
#
|
||||
|
||||
# You can set these variables from the command line.
|
||||
SPHINXOPTS =
|
||||
SPHINXBUILD = sphinx-build
|
||||
PAPER =
|
||||
BUILDDIR = _build
|
||||
SPHINXOPTS =
|
||||
SPHINXBUILD = sphinx-build
|
||||
SPHINXAUTOBUILD = sphinx-autobuild
|
||||
PAPER =
|
||||
BUILDDIR = _build
|
||||
|
||||
# Internal variables.
|
||||
PAPEROPT_a4 = -D latex_paper_size=a4
|
||||
@ -46,7 +47,7 @@ help:
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf $(BUILDDIR)/*
|
||||
rm -rf $(BUILDDIR)
|
||||
|
||||
.PHONY: html
|
||||
html:
|
||||
@ -54,6 +55,13 @@ html:
|
||||
@echo
|
||||
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
|
||||
|
||||
.PHONY: livehtml
|
||||
livehtml:
|
||||
@echo "Starting sphinx-autobuild. The HTML pages are in $(BUILDDIR)."
|
||||
@echo "Press Ctrl-C to stop."
|
||||
@echo
|
||||
$(SPHINXAUTOBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)
|
||||
|
||||
.PHONY: dirhtml
|
||||
dirhtml:
|
||||
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
|
||||
|
@ -16,6 +16,12 @@ This is an (incomplete) list of POST codes emitted by coreboot v4.
|
||||
0x66 Devices have been enumerated
|
||||
0x88 Devices have been configured
|
||||
0x89 Devices have been enabled
|
||||
0xe0 Boot media (e.g. SPI ROM) is corrupt
|
||||
0xe1 Resource stored within CBFS is corrupt
|
||||
0xe2 Vendor binary (e.g. FSP) generated a fatal error
|
||||
0xe3 RAM could not be initialized
|
||||
0xe4 Critical hardware component could not initialize
|
||||
0xe5 Video subsystem failed to initialize
|
||||
0xf8 Entry into elf boot
|
||||
0xf3 Jumping to payload
|
||||
|
||||
|
@ -119,8 +119,8 @@ addaction ::= 'addaction' PATH ``ACTION''
|
||||
statement ::=
|
||||
option
|
||||
| default
|
||||
| cpu
|
||||
| arch
|
||||
| cpu
|
||||
| arch
|
||||
| northbridge
|
||||
| southbridge
|
||||
| superio
|
||||
|
11
Documentation/arch/index.md
Normal file
@ -0,0 +1,11 @@
|
||||
# Architecture-specific documentation
|
||||
|
||||
This section contains documentation about coreboot on specific CPU
|
||||
architectures.
|
||||
|
||||
## RISC-V
|
||||
|
||||
- [RISC-V documentation](riscv/index.md)
|
||||
|
||||
## x86
|
||||
- [x86 documentation](x86/index.md)
|
46
Documentation/arch/riscv/index.md
Normal file
@ -0,0 +1,46 @@
|
||||
# RISC-V architecture documentation
|
||||
|
||||
This section contains documentation about coreboot on RISC-V architecture.
|
||||
|
||||
## Mode usage
|
||||
All stages run in M mode.
|
||||
|
||||
Payloads have a choice of managing M mode activity: they can control
|
||||
everything or nothing.
|
||||
|
||||
Payloads run from the romstage (i.e. rampayloads) are started in M mode.
|
||||
The payload must, for example, prepare and install its own SBI.
|
||||
|
||||
Payloads run from the ramstage are started in S mode, and trap delegation
|
||||
will have been done. These payloads rely on the SBI and can not replace it.
|
||||
|
||||
## Stage handoff protocol
|
||||
On entry to a stage or payload (including SELF payloads),
|
||||
* all harts are running.
|
||||
* A0 is the hart ID.
|
||||
* A1 is the pointer to the Flattened Device Tree (FDT).
|
||||
|
||||
## Additional payload handoff requirements
|
||||
The location of cbmem should be placed in a node in the FDT.
|
||||
|
||||
## Trap delegation
|
||||
Traps are delegated in the ramstage.
|
||||
|
||||
## SMP within a stage
|
||||
At the beginning of each stage, all harts save 0 are spinning in a loop on
|
||||
a semaphore. At the end of the stage harts 1..max are released by changing
|
||||
the semaphore.
|
||||
|
||||
A possible way to do this is to have a pointer to a struct containing
|
||||
variables, e.g.
|
||||
|
||||
```c
|
||||
struct blocker {
|
||||
void (*fn)(); // never returns
|
||||
}
|
||||
```
|
||||
|
||||
The hart blocks until fn is non-null, and then calls it. If fn returns, we
|
||||
will panic if possible, but behavior is largely undefined.
|
||||
|
||||
Only hart 0 runs through most of the code in each stage.
|
44
Documentation/arch/x86/index.md
Normal file
@ -0,0 +1,44 @@
|
||||
# x86 architecture documentation
|
||||
|
||||
This section contains documentation about coreboot on x86 architecture.
|
||||
|
||||
* [x86 PAE support](pae.md)
|
||||
|
||||
## State of x86_64 support
|
||||
At the moment there's no single board that supports x86_64 or to be exact
|
||||
`ARCH_RAMSTAGE_X86_64` and `ARCH_ROMSTAGE_X86_64`.
|
||||
|
||||
In order to add support for x86_64 the following assumptions are made:
|
||||
* The CPU supports long mode
|
||||
* All memory returned by malloc must be below 4GiB in physical memory
|
||||
* All code that is to be run must be below 4GiB in physical memory
|
||||
* The high dword of pointers is always zero
|
||||
* The reference implementation is qemu
|
||||
* The CPU supports 1GiB hugepages
|
||||
|
||||
## Assuptions for ARCH_ROMSTAGE_X86_64 reference implementation
|
||||
* 0-4GiB are identity mapped using 1GiB huge-pages
|
||||
* Memory above 4GiB isn't accessible
|
||||
* pagetables reside in _pagetables
|
||||
* Romstage must install new pagetables in CBMEM after RAMINIT
|
||||
|
||||
## Assuptions for ARCH_RAMSTAGE_X86_64 reference implementation
|
||||
* Romstage installed pagetables according to memory layout
|
||||
* Memory above 4GiB is accessible
|
||||
|
||||
## Steps to add basic support for x86_64
|
||||
* Add x86_64 toolchain support - *DONE*
|
||||
* Fix compilation errors - *DONE*
|
||||
* Fix linker errors - *TODO*
|
||||
* Add x86_64 rmodule support - *ONGERRIT*
|
||||
* Add x86_64 exception handlers - *TODO*
|
||||
* Setup page tables for long mode - *TODO*
|
||||
* Add assembly code for long mode - *TODO*
|
||||
* Add assembly code to return to protected mode - *TODO*
|
||||
* Implement reference code for mainboard `emulation/qemu-q35` - *TODO*
|
||||
|
||||
## Porting other boards
|
||||
* Fix compilation errors
|
||||
* Test how well CAR works with x86_64 and paging
|
||||
* Improve mode switches
|
||||
* Test libgfxinit / VGA Option ROMs / FSP
|
15
Documentation/arch/x86/pae.md
Normal file
@ -0,0 +1,15 @@
|
||||
# x86_32 PAE documentation
|
||||
|
||||
Due to missing x86_64 support it's required to use PAE enabled x86_32 code.
|
||||
The corresponding functions can be found in ``src/cpu/x86/pae/``.
|
||||
|
||||
## Memory clearing helper functions
|
||||
|
||||
To clear all DRAM on request of the
|
||||
[Security API](../../security/memory_clearing.md), a helper function can be used
|
||||
called `memset_pae`.
|
||||
The function has additional requirements in contrast to `memset`, and has more
|
||||
overhead as it uses virtual memory to access memory above 4GiB.
|
||||
Memory is cleared in 2MiB chunks, which might take a while.
|
||||
|
||||
Make sure to enable caches through MTRRs, otherwise `memset_pae` will be slow!
|
@ -174,7 +174,7 @@ with
|
||||
regards to the erase block sizes on the ROM - allowing one to replace a
|
||||
component at runtime without disturbing the others.
|
||||
|
||||
'offset' is the offset of the the first CBFS component (from the start of
|
||||
'offset' is the offset of the first CBFS component (from the start of
|
||||
the ROM). This is to allow for arbitrary space to be left at the beginning
|
||||
of the ROM for things like embedded controller firmware.
|
||||
|
||||
@ -384,7 +384,7 @@ PAYLOAD_SEGMENT_BSS 0x20535342 The memory specified by the segment
|
||||
PAYLOAD_SEGMENT_PARAMS 0x41524150 The segment contains information for
|
||||
the payload
|
||||
PAYLOAD_SEGMENT_ENTRY 0x52544E45 The segment contains the entry point
|
||||
for the payload
|
||||
for the payload
|
||||
|
||||
'compression' is the compression scheme for the segment. Each segment can
|
||||
be independently compressed. There are three compression types defined by
|
||||
|
@ -98,10 +98,10 @@
|
||||
<g>
|
||||
<g>
|
||||
<polygon fill="#FFFFFF" stroke="#231F20" stroke-width="0.3876" points="113.028,31.246 130.359,46.62 132.854,44.7
|
||||
132.027,51.206 131.201,57.711 124.701,56.845 118.201,55.98 120.608,54.127 110.178,33.439 "/>
|
||||
132.027,51.206 131.201,57.711 124.701,56.845 118.201,55.98 120.608,54.127 110.178,33.439 "/>
|
||||
</g>
|
||||
<polygon fill="#231F20" points="131.101,57.636 132.228,59.101 133.828,45.178 133.062,44.181 "/>
|
||||
<polygon fill="#231F20" points="131.152,57.643 132.28,59.108 118.41,57.093 117.644,56.096 "/>
|
||||
<polygon fill="#231F20" points="131.101,57.636 132.228,59.101 133.828,45.178 133.062,44.181 "/>
|
||||
<polygon fill="#231F20" points="131.152,57.643 132.28,59.108 118.41,57.093 117.644,56.096 "/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
@ -118,10 +118,10 @@
|
||||
<g>
|
||||
<g>
|
||||
<polygon fill="#FFFFFF" stroke="#231F20" stroke-width="0.3876" points="113.028,81.246 130.359,96.62 132.854,94.7
|
||||
132.027,101.206 131.201,107.711 124.701,106.845 118.201,105.98 120.608,104.127 110.178,83.439 "/>
|
||||
132.027,101.206 131.201,107.711 124.701,106.845 118.201,105.98 120.608,104.127 110.178,83.439 "/>
|
||||
</g>
|
||||
<polygon fill="#231F20" points="131.101,107.636 132.228,109.101 133.828,95.178 133.062,94.181 "/>
|
||||
<polygon fill="#231F20" points="131.152,107.643 132.28,109.108 118.41,107.093 117.644,106.096 "/>
|
||||
<polygon fill="#231F20" points="131.101,107.636 132.228,109.101 133.828,95.178 133.062,94.181 "/>
|
||||
<polygon fill="#231F20" points="131.152,107.643 132.28,109.108 118.41,107.093 117.644,106.096 "/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
@ -138,10 +138,10 @@
|
||||
<g>
|
||||
<g>
|
||||
<polygon fill="#FFFFFF" stroke="#231F20" stroke-width="0.3876" points="113.028,151.586 130.359,166.961 132.854,165.041
|
||||
132.027,171.546 131.201,178.052 124.701,177.186 118.201,176.321 120.608,174.468 110.178,153.78 "/>
|
||||
132.027,171.546 131.201,178.052 124.701,177.186 118.201,176.321 120.608,174.468 110.178,153.78 "/>
|
||||
</g>
|
||||
<polygon fill="#231F20" points="131.101,177.977 132.228,179.442 133.828,165.519 133.062,164.522 "/>
|
||||
<polygon fill="#231F20" points="131.152,177.983 132.28,179.449 118.41,177.434 117.644,176.437 "/>
|
||||
<polygon fill="#231F20" points="131.101,177.977 132.228,179.442 133.828,165.519 133.062,164.522 "/>
|
||||
<polygon fill="#231F20" points="131.152,177.983 132.28,179.449 118.41,177.434 117.644,176.437 "/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
@ -158,10 +158,10 @@
|
||||
<g>
|
||||
<g>
|
||||
<polygon fill="#FFFFFF" stroke="#231F20" stroke-width="0.3876" points="113.028,227.013 130.359,242.387 132.854,240.467
|
||||
132.027,246.973 131.201,253.478 124.701,252.612 118.201,251.747 120.608,249.894 110.178,229.207 "/>
|
||||
132.027,246.973 131.201,253.478 124.701,252.612 118.201,251.747 120.608,249.894 110.178,229.207 "/>
|
||||
</g>
|
||||
<polygon fill="#231F20" points="131.101,253.403 132.228,254.868 133.828,240.945 133.062,239.948 "/>
|
||||
<polygon fill="#231F20" points="131.152,253.41 132.28,254.875 118.41,252.86 117.644,251.863 "/>
|
||||
<polygon fill="#231F20" points="131.101,253.403 132.228,254.868 133.828,240.945 133.062,239.948 "/>
|
||||
<polygon fill="#231F20" points="131.152,253.41 132.28,254.875 118.41,252.86 117.644,251.863 "/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
@ -178,10 +178,10 @@
|
||||
<g>
|
||||
<g>
|
||||
<polygon fill="#FFFFFF" stroke="#231F20" stroke-width="0.3876" points="113.028,303.013 130.359,318.388 132.854,316.468
|
||||
132.027,322.973 131.201,329.479 124.701,328.612 118.201,327.747 120.607,325.895 110.178,305.207 "/>
|
||||
132.027,322.973 131.201,329.479 124.701,328.612 118.201,327.747 120.607,325.895 110.178,305.207 "/>
|
||||
</g>
|
||||
<polygon fill="#231F20" points="131.101,329.404 132.228,330.868 133.829,316.945 133.062,315.948 "/>
|
||||
<polygon fill="#231F20" points="131.152,329.41 132.28,330.876 118.41,328.86 117.643,327.864 "/>
|
||||
<polygon fill="#231F20" points="131.101,329.404 132.228,330.868 133.829,316.945 133.062,315.948 "/>
|
||||
<polygon fill="#231F20" points="131.152,329.41 132.28,330.876 118.41,328.86 117.643,327.864 "/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
@ -198,10 +198,10 @@
|
||||
<g>
|
||||
<g>
|
||||
<polygon fill="#FFFFFF" stroke="#231F20" stroke-width="0.3876" points="113.028,395.872 130.359,411.247 132.854,409.327
|
||||
132.027,415.833 131.201,422.338 124.701,421.473 118.201,420.606 120.608,418.754 110.178,398.066 "/>
|
||||
132.027,415.833 131.201,422.338 124.701,421.473 118.201,420.606 120.608,418.754 110.178,398.066 "/>
|
||||
</g>
|
||||
<polygon fill="#231F20" points="131.101,422.264 132.228,423.728 133.828,409.805 133.062,408.808 "/>
|
||||
<polygon fill="#231F20" points="131.152,422.27 132.28,423.735 118.41,421.72 117.644,420.724 "/>
|
||||
<polygon fill="#231F20" points="131.101,422.264 132.228,423.728 133.828,409.805 133.062,408.808 "/>
|
||||
<polygon fill="#231F20" points="131.152,422.27 132.28,423.735 118.41,421.72 117.644,420.724 "/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
@ -218,10 +218,10 @@
|
||||
<g>
|
||||
<g>
|
||||
<polygon fill="#FFFFFF" stroke="#231F20" stroke-width="0.3876" points="113.028,452.152 130.359,467.528 132.854,465.608
|
||||
132.027,472.113 131.201,478.619 124.701,477.753 118.201,476.888 120.607,475.035 110.178,454.347 "/>
|
||||
132.027,472.113 131.201,478.619 124.701,477.753 118.201,476.888 120.607,475.035 110.178,454.347 "/>
|
||||
</g>
|
||||
<polygon fill="#231F20" points="131.101,478.545 132.228,480.009 133.829,466.085 133.062,465.089 "/>
|
||||
<polygon fill="#231F20" points="131.152,478.551 132.28,480.017 118.41,478.001 117.643,477.004 "/>
|
||||
<polygon fill="#231F20" points="131.101,478.545 132.228,480.009 133.829,466.085 133.062,465.089 "/>
|
||||
<polygon fill="#231F20" points="131.152,478.551 132.28,480.017 118.41,478.001 117.643,477.004 "/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
938
Documentation/coding_style.md
Normal file
@ -0,0 +1,938 @@
|
||||
# Coding Style
|
||||
|
||||
This is a short document describing the preferred coding style for the
|
||||
coreboot project. It is in many ways exactly the same as the Linux
|
||||
kernel coding style. In fact, most of this document has been copied from
|
||||
the [Linux kernel coding style](http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/Documentation/CodingStyle?id=HEAD)
|
||||
|
||||
Please at least consider the points made here.
|
||||
|
||||
First off, I'd suggest printing out a copy of the GNU coding standards,
|
||||
and NOT read it. Burn them, it's a great symbolic gesture.
|
||||
|
||||
Anyway, here goes:
|
||||
|
||||
## Indentation
|
||||
|
||||
Tabs are 8 characters, and thus indentations are also 8 characters.
|
||||
There are heretic movements that try to make indentations 4 (or even 2!)
|
||||
characters deep, and that is akin to trying to define the value of PI to
|
||||
be 3.
|
||||
|
||||
Rationale: The whole idea behind indentation is to clearly define where
|
||||
a block of control starts and ends. Especially when you've been looking
|
||||
at your screen for 20 straight hours, you'll find it a lot easier to
|
||||
see how the indentation works if you have large indentations.
|
||||
|
||||
Now, some people will claim that having 8-character indentations makes
|
||||
the code move too far to the right, and makes it hard to read on a
|
||||
80-character terminal screen. The answer to that is that if you need
|
||||
more than 3 levels of indentation, you're screwed anyway, and should
|
||||
fix your program.
|
||||
|
||||
In short, 8-char indents make things easier to read, and have the added
|
||||
benefit of warning you when you're nesting your functions too deep.
|
||||
Heed that warning.
|
||||
|
||||
The preferred way to ease multiple indentation levels in a switch
|
||||
statement is to align the "switch" and its subordinate "case" labels
|
||||
in the same column instead of "double-indenting" the "case" labels.
|
||||
E.g.:
|
||||
|
||||
```c
|
||||
switch (suffix) {
|
||||
case 'G':
|
||||
case 'g':
|
||||
mem <<= 30;
|
||||
break;
|
||||
case 'M':
|
||||
case 'm':
|
||||
mem <<= 20;
|
||||
break;
|
||||
case 'K':
|
||||
case 'k':
|
||||
mem <<= 10;
|
||||
/* fall through */
|
||||
default:
|
||||
break;
|
||||
}
|
||||
```
|
||||
|
||||
Don't put multiple statements on a single line unless you have
|
||||
something to hide:
|
||||
|
||||
```c
|
||||
if (condition) do_this;
|
||||
do_something_everytime;
|
||||
```
|
||||
|
||||
Don't put multiple assignments on a single line either. Kernel coding
|
||||
style is super simple. Avoid tricky expressions.
|
||||
|
||||
Outside of comments, documentation and except in Kconfig, spaces are
|
||||
never used for indentation, and the above example is deliberately
|
||||
broken.
|
||||
|
||||
Get a decent editor and don't leave whitespace at the end of lines.
|
||||
|
||||
## Breaking long lines and strings
|
||||
|
||||
Coding style is all about readability and maintainability using commonly
|
||||
available tools.
|
||||
|
||||
The limit on the length of lines is 80 columns and this is a strongly
|
||||
preferred limit.
|
||||
|
||||
Statements longer than 80 columns will be broken into sensible chunks,
|
||||
unless exceeding 80 columns significantly increases readability and does
|
||||
not hide information. Descendants are always substantially shorter than
|
||||
the parent and are placed substantially to the right. The same applies
|
||||
to function headers with a long argument list. However, never break
|
||||
user-visible strings such as printk messages, because that breaks the
|
||||
ability to grep for them.
|
||||
|
||||
## Placing Braces and Spaces
|
||||
|
||||
The other issue that always comes up in C styling is the placement of
|
||||
braces. Unlike the indent size, there are few technical reasons to
|
||||
choose one placement strategy over the other, but the preferred way, as
|
||||
shown to us by the prophets Kernighan and Ritchie, is to put the opening
|
||||
brace last on the line, and put the closing brace first, thusly:
|
||||
|
||||
```c
|
||||
if (x is true) {
|
||||
we do y
|
||||
}
|
||||
```
|
||||
|
||||
This applies to all non-function statement blocks (if, switch, for,
|
||||
while, do). E.g.:
|
||||
|
||||
```c
|
||||
switch (action) {
|
||||
case KOBJ_ADD:
|
||||
return "add";
|
||||
case KOBJ_REMOVE:
|
||||
return "remove";
|
||||
case KOBJ_CHANGE:
|
||||
return "change";
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
```
|
||||
|
||||
However, there is one special case, namely functions: they have the
|
||||
opening brace at the beginning of the next line, thus:
|
||||
|
||||
```c
|
||||
int function(int x)
|
||||
{
|
||||
body of function
|
||||
}
|
||||
```
|
||||
|
||||
Heretic people all over the world have claimed that this inconsistency
|
||||
is ... well ... inconsistent, but all right-thinking people know that
|
||||
(a) K&R are _right_ and (b) K&R are right. Besides, functions are
|
||||
special anyway (you can't nest them in C).
|
||||
|
||||
Note that the closing brace is empty on a line of its own, _except_ in
|
||||
the cases where it is followed by a continuation of the same statement,
|
||||
ie a "while" in a do-statement or an "else" in an if-statement, like
|
||||
this:
|
||||
|
||||
```c
|
||||
do {
|
||||
body of do-loop
|
||||
} while (condition);
|
||||
```
|
||||
|
||||
and
|
||||
|
||||
```c
|
||||
if (x == y) {
|
||||
..
|
||||
} else if (x > y) {
|
||||
...
|
||||
} else {
|
||||
....
|
||||
}
|
||||
```
|
||||
|
||||
Rationale: K&R.
|
||||
|
||||
Also, note that this brace-placement also minimizes the number of empty
|
||||
(or almost empty) lines, without any loss of readability. Thus, as the
|
||||
supply of new-lines on your screen is not a renewable resource (think
|
||||
25-line terminal screens here), you have more empty lines to put
|
||||
comments on.
|
||||
|
||||
Do not unnecessarily use braces where a single statement will do.
|
||||
|
||||
```c
|
||||
if (condition)
|
||||
action();
|
||||
```
|
||||
|
||||
and
|
||||
|
||||
```c
|
||||
if (condition)
|
||||
do_this();
|
||||
else
|
||||
do_that();
|
||||
```
|
||||
|
||||
This does not apply if only one branch of a conditional statement is a
|
||||
single statement; in the latter case use braces in both branches:
|
||||
|
||||
```c
|
||||
if (condition) {
|
||||
do_this();
|
||||
do_that();
|
||||
} else {
|
||||
otherwise();
|
||||
}
|
||||
```
|
||||
|
||||
### Spaces
|
||||
|
||||
Linux kernel style for use of spaces depends (mostly) on
|
||||
function-versus-keyword usage. Use a space after (most) keywords. The
|
||||
notable exceptions are sizeof, typeof, alignof, and __attribute__,
|
||||
which look somewhat like functions (and are usually used with
|
||||
parentheses in Linux, although they are not required in the language, as
|
||||
in: "sizeof info" after "struct fileinfo info;" is declared).
|
||||
|
||||
So use a space after these keywords:
|
||||
|
||||
```
|
||||
if, switch, case, for, do, while
|
||||
```
|
||||
|
||||
but not with sizeof, typeof, alignof, or __attribute__. E.g.,
|
||||
|
||||
```c
|
||||
s = sizeof(struct file);
|
||||
```
|
||||
|
||||
Do not add spaces around (inside) parenthesized expressions. This
|
||||
example is
|
||||
|
||||
- bad*:
|
||||
|
||||
```c
|
||||
s = sizeof( struct file );
|
||||
```
|
||||
|
||||
When declaring pointer data or a function that returns a pointer type,
|
||||
the preferred use of '*' is adjacent to the data name or function
|
||||
name and not adjacent to the type name. Examples:
|
||||
|
||||
```c
|
||||
char *linux_banner;
|
||||
unsigned long long memparse(char *ptr, char **retptr);
|
||||
char *match_strdup(substring_t *s);
|
||||
```
|
||||
|
||||
Use one space around (on each side of) most binary and ternary
|
||||
operators, such as any of these:
|
||||
|
||||
```
|
||||
= + - < > * / % | & ^ <= >= == != ? :
|
||||
```
|
||||
|
||||
but no space after unary operators:
|
||||
|
||||
```
|
||||
& * + - ~ ! sizeof typeof alignof __attribute__ defined
|
||||
```
|
||||
|
||||
no space before the postfix increment & decrement unary operators:
|
||||
|
||||
```
|
||||
++ --
|
||||
```
|
||||
|
||||
no space after the prefix increment & decrement unary operators:
|
||||
|
||||
```
|
||||
++ --
|
||||
```
|
||||
|
||||
and no space around the '.' and "->" structure member operators.
|
||||
|
||||
Do not leave trailing whitespace at the ends of lines. Some editors with
|
||||
"smart" indentation will insert whitespace at the beginning of new
|
||||
lines as appropriate, so you can start typing the next line of code
|
||||
right away. However, some such editors do not remove the whitespace if
|
||||
you end up not putting a line of code there, such as if you leave a
|
||||
blank line. As a result, you end up with lines containing trailing
|
||||
whitespace.
|
||||
|
||||
Git will warn you about patches that introduce trailing whitespace, and
|
||||
can optionally strip the trailing whitespace for you; however, if
|
||||
applying a series of patches, this may make later patches in the series
|
||||
fail by changing their context lines.
|
||||
|
||||
### Naming
|
||||
|
||||
C is a Spartan language, and so should your naming be. Unlike Modula-2
|
||||
and Pascal programmers, C programmers do not use cute names like
|
||||
ThisVariableIsATemporaryCounter. A C programmer would call that variable
|
||||
"tmp", which is much easier to write, and not the least more difficult
|
||||
to understand.
|
||||
|
||||
HOWEVER, while mixed-case names are frowned upon, descriptive names for
|
||||
global variables are a must. To call a global function "foo" is a
|
||||
shooting offense.
|
||||
|
||||
GLOBAL variables (to be used only if you _really_ need them) need to
|
||||
have descriptive names, as do global functions. If you have a function
|
||||
that counts the number of active users, you should call that
|
||||
"count_active_users()" or similar, you should _not_ call it
|
||||
"cntusr()".
|
||||
|
||||
Encoding the type of a function into the name (so-called Hungarian
|
||||
notation) is brain damaged - the compiler knows the types anyway and can
|
||||
check those, and it only confuses the programmer. No wonder MicroSoft
|
||||
makes buggy programs.
|
||||
|
||||
LOCAL variable names should be short, and to the point. If you have some
|
||||
random integer loop counter, it should probably be called "i". Calling
|
||||
it "loop_counter" is non-productive, if there is no chance of it
|
||||
being mis-understood. Similarly, "tmp" can be just about any type of
|
||||
variable that is used to hold a temporary value.
|
||||
|
||||
If you are afraid to mix up your local variable names, you have another
|
||||
problem, which is called the function-growth-hormone-imbalance syndrome.
|
||||
See chapter 6 (Functions).
|
||||
|
||||
## Typedefs
|
||||
|
||||
Please don't use things like "vps_t".
|
||||
|
||||
It's a _mistake_ to use typedef for structures and pointers. When you
|
||||
see a
|
||||
|
||||
```c
|
||||
vps_t a;
|
||||
```
|
||||
|
||||
in the source, what does it mean?
|
||||
|
||||
In contrast, if it says
|
||||
|
||||
```c
|
||||
struct virtual_container *a;
|
||||
```
|
||||
|
||||
you can actually tell what "a" is.
|
||||
|
||||
Lots of people think that typedefs "help readability". Not so. They
|
||||
are useful only for:
|
||||
|
||||
(a) totally opaque objects (where the typedef is actively used to
|
||||
_hide_ what the object is).
|
||||
|
||||
Example: "pte_t" etc. opaque objects that you can only access using
|
||||
the proper accessor functions.
|
||||
|
||||
NOTE! Opaqueness and "accessor functions" are not good in themselves.
|
||||
The reason we have them for things like pte_t etc. is that there really
|
||||
is absolutely _zero_ portably accessible information there.
|
||||
|
||||
(b) Clear integer types, where the abstraction _helps_ avoid confusion
|
||||
whether it is "int" or "long".
|
||||
|
||||
u8/u16/u32 are perfectly fine typedefs, although they fit into category
|
||||
(d) better than here.
|
||||
|
||||
NOTE! Again - there needs to be a _reason_ for this. If something is
|
||||
"unsigned long", then there's no reason to do
|
||||
|
||||
```c
|
||||
typedef unsigned long myflags_t;
|
||||
```
|
||||
|
||||
but if there is a clear reason for why it under certain circumstances
|
||||
might be an "unsigned int" and under other configurations might be
|
||||
"unsigned long", then by all means go ahead and use a typedef.
|
||||
|
||||
(c) when you use sparse to literally create a _new_ type for
|
||||
type-checking.
|
||||
|
||||
(d) New types which are identical to standard C99 types, in certain
|
||||
exceptional circumstances.
|
||||
|
||||
Although it would only take a short amount of time for the eyes and
|
||||
brain to become accustomed to the standard types like 'uint32_t',
|
||||
some people object to their use anyway.
|
||||
|
||||
Therefore, the Linux-specific 'u8/u16/u32/u64' types and their signed
|
||||
equivalents which are identical to standard types are permitted --
|
||||
although they are not mandatory in new code of your own.
|
||||
|
||||
When editing existing code which already uses one or the other set of
|
||||
types, you should conform to the existing choices in that code.
|
||||
|
||||
(e) Types safe for use in userspace.
|
||||
|
||||
In certain structures which are visible to userspace, we cannot require
|
||||
C99 types and cannot use the 'u32' form above. Thus, we use __u32
|
||||
and similar types in all structures which are shared with userspace.
|
||||
|
||||
Maybe there are other cases too, but the rule should basically be to
|
||||
NEVER EVER use a typedef unless you can clearly match one of those
|
||||
rules.
|
||||
|
||||
In general, a pointer, or a struct that has elements that can reasonably
|
||||
be directly accessed should _never_ be a typedef.
|
||||
|
||||
## Functions
|
||||
|
||||
Functions should be short and sweet, and do just one thing. They should
|
||||
fit on one or two screenfuls of text (the ISO/ANSI screen size is 80x24,
|
||||
as we all know), and do one thing and do that well.
|
||||
|
||||
The maximum length of a function is inversely proportional to the
|
||||
complexity and indentation level of that function. So, if you have a
|
||||
conceptually simple function that is just one long (but simple)
|
||||
case-statement, where you have to do lots of small things for a lot of
|
||||
different cases, it's OK to have a longer function.
|
||||
|
||||
However, if you have a complex function, and you suspect that a
|
||||
less-than-gifted first-year high-school student might not even
|
||||
understand what the function is all about, you should adhere to the
|
||||
maximum limits all the more closely. Use helper functions with
|
||||
descriptive names (you can ask the compiler to in-line them if you think
|
||||
it's performance-critical, and it will probably do a better job of it
|
||||
than you would have done).
|
||||
|
||||
Another measure of the function is the number of local variables. They
|
||||
shouldn't exceed 5-10, or you're doing something wrong. Re-think the
|
||||
function, and split it into smaller pieces. A human brain can generally
|
||||
easily keep track of about 7 different things, anything more and it gets
|
||||
confused. You know you're brilliant, but maybe you'd like to
|
||||
understand what you did 2 weeks from now.
|
||||
|
||||
In source files, separate functions with one blank line. If the function
|
||||
is exported, the EXPORT* macro for it should follow immediately after
|
||||
the closing function brace line. E.g.:
|
||||
|
||||
```c
|
||||
int system_is_up(void)
|
||||
{
|
||||
return system_state == SYSTEM_RUNNING;
|
||||
}
|
||||
EXPORT_SYMBOL(system_is_up);
|
||||
```
|
||||
|
||||
In function prototypes, include parameter names with their data types.
|
||||
Although this is not required by the C language, it is preferred in
|
||||
Linux because it is a simple way to add valuable information for the
|
||||
reader.
|
||||
|
||||
## Centralized exiting of functions
|
||||
|
||||
Albeit deprecated by some people, the equivalent of the goto statement
|
||||
is used frequently by compilers in form of the unconditional jump
|
||||
instruction.
|
||||
|
||||
The goto statement comes in handy when a function exits from multiple
|
||||
locations and some common work such as cleanup has to be done. If there
|
||||
is no cleanup needed then just return directly.
|
||||
|
||||
The rationale is:
|
||||
|
||||
- unconditional statements are easier to understand and follow
|
||||
- nesting is reduced
|
||||
- errors by not updating individual exit points when making
|
||||
modifications are prevented
|
||||
- saves the compiler work to optimize redundant code away ;)
|
||||
|
||||
```c
|
||||
int fun(int a)
|
||||
{
|
||||
int result = 0;
|
||||
char *buffer = kmalloc(SIZE);
|
||||
|
||||
if (buffer == NULL)
|
||||
return -ENOMEM;
|
||||
|
||||
if (condition1) {
|
||||
while (loop1) {
|
||||
...
|
||||
}
|
||||
result = 1;
|
||||
goto out;
|
||||
}
|
||||
...
|
||||
out:
|
||||
kfree(buffer);
|
||||
return result;
|
||||
}
|
||||
```
|
||||
|
||||
## Commenting
|
||||
|
||||
Comments are good, but there is also a danger of over-commenting. NEVER
|
||||
try to explain HOW your code works in a comment: it's much better to
|
||||
write the code so that the _working_ is obvious, and it's a waste of
|
||||
time to explain badly written code.
|
||||
|
||||
Generally, you want your comments to tell WHAT your code does, not HOW.
|
||||
Also, try to avoid putting comments inside a function body: if the
|
||||
function is so complex that you need to separately comment parts of it,
|
||||
you should probably go back to chapter 6 for a while. You can make small
|
||||
comments to note or warn about something particularly clever (or ugly),
|
||||
but try to avoid excess. Instead, put the comments at the head of the
|
||||
function, telling people what it does, and possibly WHY it does it.
|
||||
|
||||
When commenting the kernel API functions, please use the kernel-doc
|
||||
format. See the files Documentation/kernel-doc-nano-HOWTO.txt and
|
||||
scripts/kernel-doc for details.
|
||||
|
||||
coreboot style for comments is the C89 "/* ... */" style. You may
|
||||
use C99-style "// ..." comments.
|
||||
|
||||
The preferred style for *short* (multi-line) comments is:
|
||||
|
||||
```c
|
||||
/* This is the preferred style for short multi-line
|
||||
comments in the Linux kernel source code.
|
||||
Please use it consistently. */
|
||||
```
|
||||
|
||||
The preferred style for *long* (multi-line) comments is:
|
||||
|
||||
```c
|
||||
/*
|
||||
* This is the preferred style for multi-line
|
||||
* comments in the Linux kernel source code.
|
||||
* Please use it consistently.
|
||||
*
|
||||
* Description: A column of asterisks on the left side,
|
||||
* with beginning and ending almost-blank lines.
|
||||
*/
|
||||
```
|
||||
|
||||
It's also important to comment data, whether they are basic types or
|
||||
derived types. To this end, use just one data declaration per line (no
|
||||
commas for multiple data declarations). This leaves you room for a small
|
||||
comment on each item, explaining its use.
|
||||
|
||||
## You've made a mess of it
|
||||
That's OK, we all do. You've probably been told by your long-time Unix user
|
||||
helper that "GNU emacs" automatically formats the C sources for you, and
|
||||
you've noticed that yes, it does do that, but the defaults it uses are less
|
||||
than desirable (in fact, they are worse than random typing - an infinite
|
||||
number of monkeys typing into GNU emacs would never make a good program).
|
||||
|
||||
So, you can either get rid of GNU emacs, or change it to use saner values.
|
||||
To do the latter, you can stick the following in your .emacs file:
|
||||
|
||||
```lisp
|
||||
(defun c-lineup-arglist-tabs-only (ignored)
|
||||
"Line up argument lists by tabs, not spaces"
|
||||
(let* ((anchor (c-langelem-pos c-syntactic-element))
|
||||
(column (c-langelem-2nd-pos c-syntactic-element))
|
||||
(offset (- (1+ column) anchor))
|
||||
(steps (floor offset c-basic-offset)))
|
||||
(* (max steps 1)
|
||||
c-basic-offset)))
|
||||
|
||||
(add-hook 'c-mode-common-hook
|
||||
(lambda ()
|
||||
;; Add kernel style
|
||||
(c-add-style
|
||||
"linux-tabs-only"
|
||||
'("linux" (c-offsets-alist
|
||||
(arglist-cont-nonempty
|
||||
c-lineup-gcc-asm-reg
|
||||
c-lineup-arglist-tabs-only))))))
|
||||
|
||||
(add-hook 'c-mode-hook
|
||||
(lambda ()
|
||||
(let ((filename (buffer-file-name)))
|
||||
;; Enable kernel mode for the appropriate files
|
||||
(when (and filename
|
||||
(string-match (expand-file-name "~/src/linux-trees")
|
||||
filename))
|
||||
(setq indent-tabs-mode t)
|
||||
(c-set-style "linux-tabs-only")))))
|
||||
```
|
||||
|
||||
This will make emacs go better with the kernel coding style for C files
|
||||
below ~/src/linux-trees.
|
||||
|
||||
But even if you fail in getting emacs to do sane formatting, not
|
||||
everything is lost: use "indent".
|
||||
|
||||
Now, again, GNU indent has the same brain-dead settings that GNU emacs
|
||||
has, which is why you need to give it a few command line options.
|
||||
However, that's not too bad, because even the makers of GNU indent
|
||||
recognize the authority of K&R (the GNU people aren't evil, they are
|
||||
just severely misguided in this matter), so you just give indent the
|
||||
options "-kr -i8" (stands for "K&R, 8 character indents"), or use
|
||||
"scripts/Lindent", which indents in the latest style.
|
||||
|
||||
"indent" has a lot of options, and especially when it comes to comment
|
||||
re-formatting you may want to take a look at the man page. But remember:
|
||||
"indent" is not a fix for bad programming.
|
||||
|
||||
## Kconfig configuration files
|
||||
|
||||
For all of the Kconfig* configuration files throughout the source tree,
|
||||
the indentation is somewhat different. Lines under a "config"
|
||||
definition are indented with one tab, while help text is indented an
|
||||
additional two spaces. Example:
|
||||
|
||||
```kconfig
|
||||
config AUDIT
|
||||
bool "Auditing support"
|
||||
depends on NET
|
||||
help
|
||||
Enable auditing infrastructure that can be used with another
|
||||
kernel subsystem, such as SELinux (which requires this for
|
||||
logging of avc messages output). Does not do system-call
|
||||
auditing without CONFIG_AUDITSYSCALL.
|
||||
```
|
||||
|
||||
Seriously dangerous features (such as write support for certain
|
||||
filesystems) should advertise this prominently in their prompt string:
|
||||
|
||||
```kconfig
|
||||
config ADFS_FS_RW
|
||||
bool "ADFS write support (DANGEROUS)"
|
||||
depends on ADFS_FS
|
||||
...
|
||||
```
|
||||
|
||||
For full documentation on the configuration files, see the file
|
||||
Documentation/kbuild/kconfig-language.txt.
|
||||
|
||||
Data structures
|
||||
---------------
|
||||
|
||||
Data structures that have visibility outside the single-threaded
|
||||
environment they are created and destroyed in should always have
|
||||
reference counts. In the kernel, garbage collection doesn't exist (and
|
||||
outside the kernel garbage collection is slow and inefficient), which
|
||||
means that you absolutely _have_ to reference count all your uses.
|
||||
|
||||
Reference counting means that you can avoid locking, and allows multiple
|
||||
users to have access to the data structure in parallel - and not having
|
||||
to worry about the structure suddenly going away from under them just
|
||||
because they slept or did something else for a while.
|
||||
|
||||
Note that locking is _not_ a replacement for reference counting.
|
||||
Locking is used to keep data structures coherent, while reference
|
||||
counting is a memory management technique. Usually both are needed, and
|
||||
they are not to be confused with each other.
|
||||
|
||||
Many data structures can indeed have two levels of reference counting,
|
||||
when there are users of different "classes". The subclass count counts
|
||||
the number of subclass users, and decrements the global count just once
|
||||
when the subclass count goes to zero.
|
||||
|
||||
Examples of this kind of "multi-level-reference-counting" can be found
|
||||
in memory management ("struct mm_struct": mm_users and mm_count),
|
||||
and in filesystem code ("struct super_block": s_count and
|
||||
s_active).
|
||||
|
||||
Remember: if another thread can find your data structure, and you don't
|
||||
have a reference count on it, you almost certainly have a bug.
|
||||
|
||||
Macros, Enums and RTL
|
||||
---------------------
|
||||
|
||||
Names of macros defining constants and labels in enums are capitalized.
|
||||
|
||||
```c
|
||||
#define CONSTANT 0x12345
|
||||
```
|
||||
|
||||
Enums are preferred when defining several related constants.
|
||||
|
||||
CAPITALIZED macro names are appreciated but macros resembling functions
|
||||
may be named in lower case.
|
||||
|
||||
Generally, inline functions are preferable to macros resembling
|
||||
functions.
|
||||
|
||||
Macros with multiple statements should be enclosed in a do - while
|
||||
block:
|
||||
|
||||
```c
|
||||
#define macrofun(a, b, c) \
|
||||
do { \
|
||||
if (a == 5) \
|
||||
do_this(b, c); \
|
||||
} while (0)
|
||||
```
|
||||
|
||||
Things to avoid when using macros:
|
||||
|
||||
1) macros that affect control flow:
|
||||
|
||||
```c
|
||||
#define FOO(x) \
|
||||
do { \
|
||||
if (blah(x) < 0) \
|
||||
return -EBUGGERED; \
|
||||
} while(0)
|
||||
```
|
||||
|
||||
is a *very* bad idea. It looks like a function call but exits the
|
||||
"calling" function; don't break the internal parsers of those who
|
||||
will read the code.
|
||||
|
||||
2) macros that depend on having a local variable with a magic name:
|
||||
|
||||
```c
|
||||
#define FOO(val) bar(index, val)
|
||||
```
|
||||
|
||||
might look like a good thing, but it's confusing as hell when one reads
|
||||
the code and it's prone to breakage from seemingly innocent changes.
|
||||
|
||||
3) macros with arguments that are used as l-values: FOO(x) = y; will
|
||||
bite you if somebody e.g. turns FOO into an inline function.
|
||||
|
||||
4) forgetting about precedence: macros defining constants using
|
||||
expressions must enclose the expression in parentheses. Beware of
|
||||
similar issues with macros using parameters.
|
||||
|
||||
```c
|
||||
#define CONSTANT 0x4000
|
||||
#define CONSTEXP (CONSTANT | 3)
|
||||
```
|
||||
|
||||
The cpp manual deals with macros exhaustively. The gcc internals manual
|
||||
also covers RTL which is used frequently with assembly language in the
|
||||
kernel.
|
||||
|
||||
Printing kernel messages
|
||||
------------------------
|
||||
|
||||
Kernel developers like to be seen as literate. Do mind the spelling of
|
||||
kernel messages to make a good impression. Do not use crippled words
|
||||
like "dont"; use "do not" or "don't" instead. Make the messages
|
||||
concise, clear, and unambiguous.
|
||||
|
||||
Kernel messages do not have to be terminated with a period.
|
||||
|
||||
Printing numbers in parentheses (%d) adds no value and should be
|
||||
avoided.
|
||||
|
||||
There are a number of driver model diagnostic macros in
|
||||
<linux/device.h> which you should use to make sure messages are
|
||||
matched to the right device and driver, and are tagged with the right
|
||||
level: dev_err(), dev_warn(), dev_info(), and so forth. For messages
|
||||
that aren't associated with a particular device, <linux/printk.h>
|
||||
defines pr_debug() and pr_info().
|
||||
|
||||
Coming up with good debugging messages can be quite a challenge; and
|
||||
once you have them, they can be a huge help for remote troubleshooting.
|
||||
Such messages should be compiled out when the DEBUG symbol is not
|
||||
defined (that is, by default they are not included). When you use
|
||||
dev_dbg() or pr_debug(), that's automatic. Many subsystems have
|
||||
Kconfig options to turn on -DDEBUG. A related convention uses
|
||||
VERBOSE_DEBUG to add dev_vdbg() messages to the ones already enabled
|
||||
by DEBUG.
|
||||
|
||||
Allocating memory
|
||||
-----------------
|
||||
|
||||
coreboot provides a single general purpose memory allocator: malloc()
|
||||
|
||||
The preferred form for passing a size of a struct is the following:
|
||||
|
||||
```c
|
||||
p = malloc(sizeof(*p));
|
||||
```
|
||||
|
||||
The alternative form where struct name is spelled out hurts readability
|
||||
and introduces an opportunity for a bug when the pointer variable type
|
||||
is changed but the corresponding sizeof that is passed to a memory
|
||||
allocator is not.
|
||||
|
||||
Casting the return value which is a void pointer is redundant. The
|
||||
conversion from void pointer to any other pointer type is guaranteed by
|
||||
the C programming language.
|
||||
|
||||
You should contain your memory usage to stack variables whenever
|
||||
possible. Only use malloc() as a last resort. In ramstage, you may also
|
||||
be able to get away with using static variables. Never use malloc()
|
||||
outside of ramstage.
|
||||
|
||||
Since coreboot only runs for a very short time, there is no memory
|
||||
deallocator, although a corresponding free() is offered. It is a no-op.
|
||||
Use of free() is not required though it is accepted. It is useful when
|
||||
sharing code with other codebases that make use of free().
|
||||
|
||||
The inline disease
|
||||
------------------
|
||||
|
||||
There appears to be a common misperception that gcc has a magic "make
|
||||
me faster" speedup option called "inline". While the use of inlines
|
||||
can be appropriate (for example as a means of replacing macros, see
|
||||
Chapter 12), it very often is not. Abundant use of the inline keyword
|
||||
leads to a much bigger kernel, which in turn slows the system as a whole
|
||||
down, due to a bigger icache footprint for the CPU and simply because
|
||||
there is less memory available for the pagecache. Just think about it; a
|
||||
pagecache miss causes a disk seek, which easily takes 5 milliseconds.
|
||||
There are a LOT of cpu cycles that can go into these 5 milliseconds.
|
||||
|
||||
A reasonable rule of thumb is to not put inline at functions that have
|
||||
more than 3 lines of code in them. An exception to this rule are the
|
||||
cases where a parameter is known to be a compiletime constant, and as a
|
||||
result of this constantness you *know* the compiler will be able to
|
||||
optimize most of your function away at compile time. For a good example
|
||||
of this later case, see the kmalloc() inline function.
|
||||
|
||||
Often people argue that adding inline to functions that are static and
|
||||
used only once is always a win since there is no space tradeoff. While
|
||||
this is technically correct, gcc is capable of inlining these
|
||||
automatically without help, and the maintenance issue of removing the
|
||||
inline when a second user appears outweighs the potential value of the
|
||||
hint that tells gcc to do something it would have done anyway.
|
||||
|
||||
Function return values and names
|
||||
--------------------------------
|
||||
|
||||
Functions can return values of many different kinds, and one of the most
|
||||
common is a value indicating whether the function succeeded or failed.
|
||||
Such a value can be represented as an error-code integer (-Exxx =
|
||||
failure, 0 = success) or a "succeeded" boolean (0 = failure, non-zero
|
||||
= success).
|
||||
|
||||
Mixing up these two sorts of representations is a fertile source of
|
||||
difficult-to-find bugs. If the C language included a strong distinction
|
||||
between integers and booleans then the compiler would find these
|
||||
mistakes for us... but it doesn't. To help prevent such bugs, always
|
||||
follow this convention:
|
||||
|
||||
If the name of a function is an action or an imperative command,
|
||||
the function should return an error-code integer. If the name
|
||||
is a predicate, the function should return a "succeeded" boolean.
|
||||
|
||||
For example, "add work" is a command, and the add_work() function
|
||||
returns 0 for success or -EBUSY for failure. In the same way, "PCI
|
||||
device present" is a predicate, and the pci_dev_present() function
|
||||
returns 1 if it succeeds in finding a matching device or 0 if it
|
||||
doesn't.
|
||||
|
||||
All EXPORTed functions must respect this convention, and so should all
|
||||
public functions. Private (static) functions need not, but it is
|
||||
recommended that they do.
|
||||
|
||||
Functions whose return value is the actual result of a computation,
|
||||
rather than an indication of whether the computation succeeded, are not
|
||||
subject to this rule. Generally they indicate failure by returning some
|
||||
out-of-range result. Typical examples would be functions that return
|
||||
pointers; they use NULL or the ERR_PTR mechanism to report failure.
|
||||
|
||||
Don't re-invent the kernel macros
|
||||
----------------------------------
|
||||
|
||||
The header file include/linux/kernel.h contains a number of macros that
|
||||
you should use, rather than explicitly coding some variant of them
|
||||
yourself. For example, if you need to calculate the length of an array,
|
||||
take advantage of the macro
|
||||
|
||||
```c
|
||||
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
|
||||
```
|
||||
|
||||
There are also min() and max() macros that do strict type checking if
|
||||
you need them. Feel free to peruse that header file to see what else is
|
||||
already defined that you shouldn't reproduce in your code.
|
||||
|
||||
Editor modelines and other cruft
|
||||
--------------------------------
|
||||
|
||||
Some editors can interpret configuration information embedded in source
|
||||
files, indicated with special markers. For example, emacs interprets
|
||||
lines marked like this:
|
||||
|
||||
```
|
||||
-*- mode: c -*-
|
||||
```
|
||||
|
||||
Or like this:
|
||||
|
||||
```
|
||||
/*
|
||||
Local Variables:
|
||||
compile-command: "gcc -DMAGIC_DEBUG_FLAG foo.c"
|
||||
End:
|
||||
*/
|
||||
```
|
||||
|
||||
Vim interprets markers that look like this:
|
||||
|
||||
```
|
||||
/* vim:set sw=8 noet */
|
||||
```
|
||||
|
||||
Do not include any of these in source files. People have their own
|
||||
personal editor configurations, and your source files should not
|
||||
override them. This includes markers for indentation and mode
|
||||
configuration. People may use their own custom mode, or may have some
|
||||
other magic method for making indentation work correctly.
|
||||
|
||||
Inline assembly
|
||||
---------------
|
||||
|
||||
In architecture-specific code, you may need to use inline assembly to
|
||||
interface with CPU or platform functionality. Don't hesitate to do so
|
||||
when necessary. However, don't use inline assembly gratuitously when C
|
||||
can do the job. You can and should poke hardware from C when possible.
|
||||
|
||||
Consider writing simple helper functions that wrap common bits of inline
|
||||
assembly, rather than repeatedly writing them with slight variations.
|
||||
Remember that inline assembly can use C parameters.
|
||||
|
||||
Large, non-trivial assembly functions should go in .S files, with
|
||||
corresponding C prototypes defined in C header files. The C prototypes
|
||||
for assembly functions should use "asmlinkage".
|
||||
|
||||
You may need to mark your asm statement as volatile, to prevent GCC from
|
||||
removing it if GCC doesn't notice any side effects. You don't always
|
||||
need to do so, though, and doing so unnecessarily can limit
|
||||
optimization.
|
||||
|
||||
When writing a single inline assembly statement containing multiple
|
||||
instructions, put each instruction on a separate line in a separate
|
||||
quoted string, and end each string except the last with nt to
|
||||
properly indent the next instruction in the assembly output:
|
||||
|
||||
```c
|
||||
asm ("magic %reg1, #42nt"
|
||||
"more_magic %reg2, %reg3"
|
||||
: /* outputs */ : /* inputs */ : /* clobbers */);
|
||||
```
|
||||
|
||||
References
|
||||
----------
|
||||
|
||||
The C Programming Language, Second Edition by Brian W. Kernighan and
|
||||
Dennis M. Ritchie. Prentice Hall, Inc., 1988. ISBN 0-13-110362-8
|
||||
(paperback), 0-13-110370-9 (hardback). URL:
|
||||
<http://cm.bell-labs.com/cm/cs/cbook/>
|
||||
|
||||
The Practice of Programming by Brian W. Kernighan and Rob Pike.
|
||||
Addison-Wesley, Inc., 1999. ISBN 0-201-61586-X. URL:
|
||||
<http://cm.bell-labs.com/cm/cs/tpop/>
|
||||
|
||||
GNU manuals - where in compliance with K&R and this text - for cpp, gcc,
|
||||
gcc internals and indent, all available from
|
||||
<http://www.gnu.org/manual/>
|
||||
|
||||
WG14 is the international standardization working group for the
|
||||
programming language C, URL: <http://www.open-std.org/JTC1/SC22/WG14/>
|
||||
|
||||
Kernel CodingStyle, by greg@kroah.com at OLS 2002:
|
||||
<http://www.kroah.com/linux/talks/ols_2002_kernel_codingstyle_talk/html/>
|
118
Documentation/community/code_of_conduct.md
Normal file
@ -0,0 +1,118 @@
|
||||
# Code of Conduct
|
||||
|
||||
This code of conduct outlines our rules and expectations for everybody
|
||||
participating in the coreboot community.
|
||||
|
||||
## coreboot community etiquette
|
||||
|
||||
We have a friendly and productive atmosphere on our mailing lists,
|
||||
development / code review tools, IRC chat rooms and when we meet in
|
||||
person. Our principles evolve around the following:
|
||||
|
||||
* It's not the user's fault if something goes wrong.
|
||||
* Attempt collaboration before conflict.
|
||||
* People who intentionally insult others (users, developers, corporations,
|
||||
other projects, or the coreboot project itself) will be dealt with. See
|
||||
policy below.
|
||||
* We are dealing with hardware with lots of undocumented pitfalls. It is quite
|
||||
possible that you did everything right, but coreboot or its tools still
|
||||
won't work for you.
|
||||
|
||||
Refrain from insulting anyone or the group they belong to. Remember that
|
||||
people might be sensitive to other things than you are.
|
||||
|
||||
Most of our community members are not native English speakers, thus
|
||||
misunderstandings can (and do) happen. Assume that others are friendly
|
||||
and may have picked less-than-stellar wording by accident as long as
|
||||
you possibly can.
|
||||
|
||||
## Reporting Issues
|
||||
|
||||
If you have a grievance due to conduct in this community, we're sorry
|
||||
that you have had a bad experience, and we want to hear about it so
|
||||
we can resolve the situation.
|
||||
|
||||
Please contact members of our arbitration team (listed below) promptly
|
||||
and directly, in person (if available) or by email: They will listen
|
||||
to you and react in a timely fashion.
|
||||
|
||||
If you feel uncomfortable, please don't wait it out, ask for help,
|
||||
so we can work on setting things right.
|
||||
|
||||
For transparency there is no alias or private mailing list address for
|
||||
you to reach out to, since we want to make sure that you know who will
|
||||
and who won't read your message.
|
||||
|
||||
However since people might be on travel or otherwise be unavailable
|
||||
at times, please reach out to multiple persons at once, especially
|
||||
when using email.
|
||||
|
||||
The team will treat your messages confidential as far as the law permits.
|
||||
For the purpose of knowing what law applies, the list provides the usual
|
||||
country of residence of each team member.
|
||||
|
||||
## Unacceptable Behavior
|
||||
|
||||
Unacceptable behaviors include: intimidating, harassing, abusive,
|
||||
discriminatory, derogatory or demeaning speech or actions by any
|
||||
participant in our community online, at all related events and in
|
||||
one-on-one communications carried out in the context of community
|
||||
business. Community event venues may be shared with members of the public;
|
||||
please be respectful to all patrons of these locations.
|
||||
|
||||
Examples of behaviors we do not accept in our community:
|
||||
|
||||
* harmful or prejudicial verbal or written comments related to gender,
|
||||
sexual orientation, race, religion, disability;
|
||||
* inappropriate physical contact, and unwelcome sexual advances;
|
||||
* deliberate intimidation, stalking or following;
|
||||
* harassing photography or recording;
|
||||
* sustained disruption of talks or other events.
|
||||
|
||||
Using this code of conduct aggressively against other people in the
|
||||
community might also be harassment. Be considerate when enforcing the code
|
||||
of conduct and always try to listen to both sides before passing judgment.
|
||||
|
||||
## Consequences of Unacceptable Behavior
|
||||
|
||||
Unacceptable behavior from any community member, including sponsors and
|
||||
those with decision-making authority, will not be tolerated.
|
||||
|
||||
Anyone asked to stop unacceptable behavior is expected to comply
|
||||
immediately.
|
||||
|
||||
If a community member engages in unacceptable behavior, the community
|
||||
organizers may take any action they deem appropriate, up to and including
|
||||
a temporary ban or permanent expulsion from the community without warning
|
||||
(and without refund in the case of a paid event).
|
||||
|
||||
Community organizers can be members of the arbitration team, or organizers
|
||||
of events and online communities.
|
||||
|
||||
## Addressing Grievances
|
||||
|
||||
If you feel you have been falsely or unfairly accused of violating this
|
||||
Code of Conduct, you should notify the arbitration team with a concise
|
||||
description of your grievance.
|
||||
|
||||
## Scope
|
||||
|
||||
We expect all community participants (contributors, paid or otherwise;
|
||||
sponsors; and other guests) to abide by this Code of Conduct in all
|
||||
community venues, online and in-person, as well as in all one-on-one
|
||||
communications pertaining to community business.
|
||||
|
||||
## Contact info
|
||||
|
||||
Our arbitration team consists of the following people
|
||||
* Stefan Reinauer <stefan.reinauer@coreboot.org> (USA)
|
||||
* Patrick Georgi <patrick@coreboot.org> (Germany)
|
||||
* Ronald Minnich <rminnich@coreboot.org> (USA)
|
||||
* Martin Roth <martin@coreboot.org> (USA)
|
||||
|
||||
## License and attribution
|
||||
|
||||
This Code of Conduct is distributed under
|
||||
a [Creative Commons Attribution-ShareAlike
|
||||
license](http://creativecommons.org/licenses/by-sa/3.0/). It is based
|
||||
on the [Citizen Code of Conduct](http://citizencodeofconduct.org/)
|
70
Documentation/community/conferences.md
Normal file
@ -0,0 +1,70 @@
|
||||
# Conferences
|
||||
The coreboot community is present at a number of conferences over the year,
|
||||
usually at [FOSDEM](https://fosdem.org), [OSFC](https://osfc.io), and the
|
||||
[Chaos Communication Congress](https://events.ccc.de/congress/).
|
||||
|
||||
The kind of presence differs, but there's usually a booth or other kind of
|
||||
gathering where everybody is welcome to say hello and to learn more about
|
||||
coreboot.
|
||||
|
||||
Depending on the nature of the conference, coreboot developers might bring
|
||||
their development kit with them and conduct development sessions.
|
||||
|
||||
## Talks
|
||||
|
||||
[Open Source Firmware at Facebook](https://fosdem.org/2019/schedule/event/open_source_firmware_at_facebook/) by [David Hendricks](https://github.com/dhendrix) and [Andrea Barberio](https://github.com/insomniacslk) at [FOSDEM 2019](https://fosdem.org/2019/) ([video](https://video.fosdem.org/2019/K.4.401/open_source_firmware_at_facebook.mp4)) ([slides](https://insomniac.slackware.it/static/2019_fosdem_linuxboot_at_facebook.pdf)) (2019-02-03)
|
||||
|
||||
[Open Source Firmware - A love story](https://www.youtube.com/watch?v=xfqKm190dbU) by [Philipp Deppenwiese](https://cybersecurity.9elements.com) at [35c3](https://events.ccc.de/congress/2018)
|
||||
([slides](https://cdn.media.ccc.de/congress/2018/slides-h264-hd/35c3-9778-deu-eng-Open_Source_Firmware_hd-slides.mp4)) (2018-12-27)
|
||||
|
||||
[coreboot mainboard porting with Intel FSP 2.0](https://www.youtube.com/watch?v=qUgo-AVsSCI) by Subrata Banik at OSFC 2018
|
||||
|
||||
[A tale of reusability in coreboot](https://www.youtube.com/watch?v=p2bnEYKBDpI) by Furquan Shaikh at OSFC 2018
|
||||
|
||||
[How to enable AMD IOMMU in coreboot](https://www.youtube.com/watch?v=5JoEuh9qXx0) by Piotr Król at OSFC 2018
|
||||
|
||||
[ARM Trusted Firmware for coreboot developers](https://www.youtube.com/watch?v=UC35q4OJg3k) by Julius Werner at OSFC 2018
|
||||
|
||||
[Google Secure Microcontroller and Case Closed Debugging](https://www.youtube.com/watch?v=gC-lbMNmIsg) by Vadim Bendebury at OSFC 2018
|
||||
|
||||
[coreboot rompayload](https://www.youtube.com/watch?v=ukSh1n7wjSA) by Ron Minnich at OSFC 2018
|
||||
|
||||
[Run upstream coreboot on an ARM Chromebook](https://www.youtube.com/watch?v=N7_9okzPeHo) by Paul Menzel at ECC 2017
|
||||
|
||||
[DDR3 memory initialization basics on Intel Sandybrige platforms](https://www.youtube.com/watch?v=h-Lkkg03Erk) by Patrick Rudolph at ECC 2017
|
||||
|
||||
[Let's move SMM out of firmware and into the kernel](https://www.youtube.com/watch?v=6GEaw4msq6g) by Ron Minnich at ECC 2017
|
||||
|
||||
[SINUMERIK – step ahead with coreboot](https://www.youtube.com/watch?v=tq4xSipCWEU) by Werner Zeh at ECC 2017
|
||||
|
||||
[Booting UEFI-aware OS on coreboot enabled platform](https://www.youtube.com/watch?v=nt0BkqVUu3w) by Piotr Król and Kamil Wcisło at ECC 2017
|
||||
|
||||
[Reverse engineering MT8173 PCM firmwares and ISA for a fully free bootchain](https://www.youtube.com/watch?v=9rKxfo7Gkqo) by Paul Kocialkowski at ECC 2017
|
||||
|
||||
[A Tale of six motherboards, two BSDs and coreboot](https://www.youtube.com/watch?v=jlCGzML6zF8) by Piotr Kubaj at ECC 2017
|
||||
|
||||
[Enabling TPM 2.0 on coreboot based devices](https://www.youtube.com/watch?v=Yjb9n5p3giI) by Piotr Król and Kamil Wcisło at ECC 2017
|
||||
|
||||
[Porting coreboot to the HP ProLiant MicroServer Gen8](https://www.youtube.com/watch?v=BcmUSW2J53k) by Alexander Couzens and Felix Held at ECC 2017
|
||||
|
||||
[Implementing coreboot in a ground breaking secure system: ORWL](https://www.youtube.com/watch?v=D4oQjcP6AVI) by Wim Vervoorn and Gerard Duynisveld at ECC 2017
|
||||
|
||||
[Buying trustworthy hardware for federal agencies: How open source firmware saves the day](https://www.youtube.com/watch?v=DG_wfaw4zl0) by Carl-Daniel Hailfinger at ECC 2017
|
||||
|
||||
[Verified Boot: Surviving in the Internet of Insecure Things: Randall Spangler](https://www.youtube.com/watch?v=4EvTcfcYfMY) by Randall Spangler at coreboot conference 2016
|
||||
|
||||
[coreboot on RISC-V](https://www.youtube.com/watch?v=CDNIWuf1jAk) by Ron Minnich at coreboot conference 2016
|
||||
|
||||
[An Open Source Embedded Controller](https://www.youtube.com/watch?v=hQb8waUBVSQ) by Bill Richardson at coreboot conference 2016
|
||||
|
||||
[KB9012 EC Firmware Reverse Engineering](https://www.youtube.com/watch?v=B708jdCiW7o) by Paul Kocialkowski at coreboot conference 2016
|
||||
|
||||
[coreboot on ARM](https://www.youtube.com/watch?v=z-KpAA4_afs) by Julius Werner at coreboot conference 2016
|
||||
|
||||
[Intel FSP 2.0 overview](https://www.youtube.com/watch?v=uzfiTiP9dEM) by Giri Mudusuru and Vincent Zimmer at coreboot conference 2016
|
||||
|
||||
[coreboot Internals](https://www.youtube.com/watch?v=7YUXr1MH9d4) by Aaron Durbin at coreboot conference 2016
|
||||
|
||||
[Skylake FSP to coreboot integration overview](https://www.youtube.com/watch?v=SpL8LbquSVs) by Robbie Zhang at coreboot conference 2016
|
||||
|
||||
[S3 implementation on Braswell](https://www.youtube.com/watch?v=GfwTijFnFl0) by Hannah Williams at coreboot conference 2016
|
18
Documentation/community/forums.md
Normal file
@ -0,0 +1,18 @@
|
||||
# Our forums
|
||||
|
||||
The coreboot community has various venues to help each other and discuss the
|
||||
direction of our project.
|
||||
|
||||
## Mailing list
|
||||
|
||||
The first address for coreboot related discussion is our mailing list.
|
||||
You can subscribe on its
|
||||
[information page](https://mail.coreboot.org/postorius/lists/coreboot.coreboot.org/) and
|
||||
read its
|
||||
[archives](https://mail.coreboot.org/hyperkitty/list/coreboot@coreboot.org/).
|
||||
|
||||
## IRC
|
||||
|
||||
We also have a
|
||||
[real time chat](https://webchat.freenode.net?channels=%23coreboot)
|
||||
on the Freenode IRC network's #coreboot channel.
|
@ -1,4 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import subprocess
|
||||
from recommonmark.parser import CommonMarkParser
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ['_templates']
|
||||
@ -11,17 +13,17 @@ master_doc = 'index'
|
||||
|
||||
# General information about the project.
|
||||
project = u'coreboot'
|
||||
copyright = u'the coreboot project'
|
||||
copyright = u'CC-by 4.0 the coreboot project'
|
||||
author = u'the coreboot project'
|
||||
|
||||
# The version info for the project you're documenting, acts as replacement for
|
||||
# |version| and |release|, also used in various other places throughout the
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = u'4.7'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = u'4.7' # TODO: use 'git describe'
|
||||
release = subprocess.check_output(('git', 'describe')).decode("utf-8")
|
||||
# The short X.Y version.
|
||||
version = release.split("-")[0]
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
@ -119,7 +121,7 @@ latex_documents = [
|
||||
#
|
||||
# latex_appendices = []
|
||||
|
||||
# It false, will not define \strong, \code, itleref, \crossref ... but only
|
||||
# If false, will not define \strong, \code, itleref, \crossref ... but only
|
||||
# \sphinxstrong, ..., \sphinxtitleref, ... To help avoid clash with user added
|
||||
# packages.
|
||||
#
|
||||
@ -155,9 +157,14 @@ texinfo_documents = [
|
||||
'Miscellaneous'),
|
||||
]
|
||||
|
||||
source_parsers = {
|
||||
'.md': 'recommonmark.parser.CommonMarkParser',
|
||||
}
|
||||
enable_auto_toc_tree = True
|
||||
|
||||
class MyCommonMarkParser(CommonMarkParser):
|
||||
# remove this hack once upsteam RecommonMark supports inline code
|
||||
def visit_code(self, mdnode):
|
||||
from docutils import nodes
|
||||
n = nodes.literal(mdnode.literal, mdnode.literal)
|
||||
self.current_node.append(n)
|
||||
|
||||
# Documents to append as an appendix to all manuals.
|
||||
#
|
||||
@ -175,14 +182,14 @@ source_parsers = {
|
||||
#
|
||||
# texinfo_no_detailmenu = False
|
||||
|
||||
enable_auto_toc_tree = True
|
||||
|
||||
|
||||
def setup(app):
|
||||
from recommonmark.transform import AutoStructify
|
||||
app.add_source_parser('.md', MyCommonMarkParser)
|
||||
|
||||
app.add_config_value('recommonmark_config', {
|
||||
'enable_auto_toc_tree': True,
|
||||
'enable_auto_doc_ref': True,
|
||||
'enable_auto_doc_ref': False, # broken in Sphinx 1.6+
|
||||
'enable_eval_rst': True,
|
||||
'url_resolver': lambda url: '/' + url
|
||||
}, True)
|
||||
|
203
Documentation/contributing/project_ideas.md
Normal file
@ -0,0 +1,203 @@
|
||||
# Project Ideas
|
||||
|
||||
This section collects ideas to improve coreboot and related projects and
|
||||
should serve as a pool of ideas for people who want to enter the field
|
||||
of firmware development but need some guidance what to work on.
|
||||
|
||||
These tasks can be adopted as part of programs like Google Summer of
|
||||
Code or by motivated individuals outside such programs.
|
||||
|
||||
Each entry should outline what would be done, the benefit it brings
|
||||
to the project, the pre-requisites, both in knowledge and parts. They
|
||||
should also list people interested in supporting people who want to work
|
||||
on them - since we started building this list for Google Summer of Code,
|
||||
we'll adopt its term for those people and call them mentors.
|
||||
|
||||
The requirements for each project aim for productive work on the project,
|
||||
but it's always possible to learn them "on the job". If you have any
|
||||
doubt if you can bring yourself up to speed in a required time frame
|
||||
(e.g. for GSoC), feel free to ask in the community or the mentors listed
|
||||
with the projects. We can then try together to figure out if you're a
|
||||
good match for a project, even when requirements might not all be met.
|
||||
|
||||
## Provide toolchain binaries
|
||||
Our crossgcc subproject provides a uniform compiler environment for
|
||||
working on coreboot and related projects. Sadly, building it takes hours,
|
||||
which is a bad experience when trying to build coreboot the first time.
|
||||
|
||||
Provide packages/installers of our compiler toolchain for Linux distros,
|
||||
Windows, Mac OS. For Windows, this should also include the environment
|
||||
(shell, make, ...).
|
||||
|
||||
The scripts to generate these packages should be usable on a Linux
|
||||
host, as that's what we're using for our automated build testing system
|
||||
that we could extend to provide current packages going forward. This
|
||||
might include automating some virtualization system (eg. QEMU or CrosVM) for
|
||||
non-Linux builds or Docker for different Linux distributions.
|
||||
|
||||
### Requirements
|
||||
* coreboot knowledge: Should know how to build coreboot images and where
|
||||
the compiler comes into play in our build system.
|
||||
* other knowledge: Should know how packages or installers for their
|
||||
target OS work. Knowledge of the GCC build system is a big plus
|
||||
* hardware requirements: Nothing special
|
||||
|
||||
### Mentors
|
||||
* Patrick Georgi <patrick@georgi.software>
|
||||
|
||||
## Support Power9/Power8 in coreboot
|
||||
There are some basic PPC64 stubs in coreboot, and there's open hardware
|
||||
in TALOS2 and its family. While they already have fully open source
|
||||
firmware, coreboot support adds a unified story for minimal firmware
|
||||
across architectures.
|
||||
|
||||
### Requirements
|
||||
* coreboot knowledge: Should be familiar with making chipset level
|
||||
changes to the code.
|
||||
* other knowledge: A general idea of the Power architecture, the more,
|
||||
the better
|
||||
* hardware requirements: QEMU Power bring-up exists, and even if it
|
||||
probably needs to be fixed up, that shouldn't be an exceedingly large
|
||||
task. For everything else, access to real Power8/9 hardware and recovery
|
||||
tools (e.g. for external flashing) is required.
|
||||
|
||||
### Mentors
|
||||
* Timothy Pearson <tpearson@raptorengineering.com>
|
||||
|
||||
## Support QEMU AArch64 or MIPS
|
||||
Having QEMU support for the architectures coreboot can boot helps with
|
||||
some (limited) compatibility testing: While QEMU generally doesn't need
|
||||
much hardware init, any CPU state changes in the boot flow will likely
|
||||
be quite close to reality.
|
||||
|
||||
That could be used as a baseline to ensure that changes to architecture
|
||||
code doesn't entirely break these architectures
|
||||
|
||||
### Requirements
|
||||
* coreboot knowledge: Should know the general boot flow in coreboot.
|
||||
* other knowledge: This will require knowing how the architecture
|
||||
typically boots, to adapt the coreboot payload interface to be
|
||||
appropriate and, for example, provide a device tree in the platform's
|
||||
typical format.
|
||||
* hardware requirements: since QEMU runs practically everywhere and
|
||||
needs no recovery mechanism, these are suitable projects when no special
|
||||
hardware is available.
|
||||
|
||||
### Mentors
|
||||
* Patrick Georgi <patrick@georgi.software>
|
||||
|
||||
## Add Kernel Address Sanitizer functionality to coreboot
|
||||
The Kernel Address Sanitizer (KASAN) is a runtime dynamic memory error detector.
|
||||
The idea is to check every memory access (variables) for its validity
|
||||
during runtime and find bugs like stack overflow or out-of-bounds accesses.
|
||||
Implementing this stub into coreboot like "Undefined behavior sanitizer support"
|
||||
would help to ensure code quality and make the runtime code more robust.
|
||||
|
||||
### Requirements
|
||||
* knowledge in the coreboot build system and the concept of stages
|
||||
* the KASAN feature can be improved in a way so that the memory space needed
|
||||
during runtime is not on a fixed address provided during compile time but
|
||||
determined during runtime. For this to achieve a small patch to the GCC will
|
||||
be helpful. Therefore minor GCC knowledge would be beneficial.
|
||||
* Implementation can be initially done in QEMU and improved on different
|
||||
mainboards and platforms
|
||||
|
||||
### Mentors
|
||||
* Werner Zeh <werner.zeh@gmx.net>
|
||||
|
||||
## Port payloads to ARM, AArch64, MIPS or RISC-V
|
||||
While we have a rather big set of payloads for x86 based platforms, all other
|
||||
architectures are rather limited. Improve the situation by porting a payload
|
||||
to one of the platforms, for example GRUB2, U-Boot (the UI part), Tianocore,
|
||||
yabits, FILO, or Linux-as-Payload.
|
||||
|
||||
Since this is a bit of a catch-all idea, an application to GSoC should pick a
|
||||
combination of payload and architecture to support.
|
||||
|
||||
### Requirements
|
||||
* coreboot knowledge: Should know the general boot flow in coreboot
|
||||
* other knowledge: It helps to be familiar with the architecture you want to
|
||||
work on.
|
||||
* hardware requirements: Much of this can be done in QEMU or other emulators,
|
||||
but the ability to test on real hardware is a plus.
|
||||
|
||||
### Mentors
|
||||
* Simon Glass <sjg@chromium.org> for U-Boot payload projects
|
||||
|
||||
## Fully support building coreboot with the Clang compiler
|
||||
Most coreboot code is written in C, and it would be useful to support
|
||||
a second compiler suite in addition to gcc. Clang is another popular
|
||||
compiler suite and the build system generally supports building coreboot
|
||||
with it, but firmware is a rather special situation and we need to
|
||||
adjust coreboot and Clang some more to get usable binaries out of that
|
||||
combination.
|
||||
|
||||
The goal would be to get the emulation targets to boot reliably first,
|
||||
but also to support real hardware. If you don't have hardware around,
|
||||
you likely will find willing testers for devices they own and work from
|
||||
their bug reports.
|
||||
|
||||
### Requirements
|
||||
* coreboot knowledge: Have a general concept of the build system
|
||||
* Clang knowledge: It may be necessary to apply minor modifications to Clang
|
||||
itself, but at least there will be Clang-specific compiler options etc to
|
||||
adapt, so some idea how compilers work and how to modify their behavior is
|
||||
helpful.
|
||||
* hardware requirements: If you have your own hardware that is already
|
||||
supported by coreboot that can be a good test target, but you will debug
|
||||
other people's hardware, too.
|
||||
* debugging experience: It helps if you know how to get the most out of a bug
|
||||
report, generate theories, build patches to test them and figure out what's
|
||||
going on from the resulting logs.
|
||||
|
||||
### Mentors
|
||||
* Patrick Georgi <patrick@georgi.software>
|
||||
|
||||
## Make coreboot coverity clean
|
||||
coreboot and several other of our projects are automatically tested
|
||||
using Synopsys' free "Coverity Scan" service. While some fare pretty
|
||||
good, like [em100](https://scan.coverity.com/projects/em100) at 0 known
|
||||
defects, there are still many open issues in other projects, most notably
|
||||
[coreboot](https://scan.coverity.com/projects/coreboot) itself (which
|
||||
is also the largest codebase).
|
||||
|
||||
Not all of the reports are actual issues, but the project benefits a
|
||||
lot if the list of unhandled reports is down to 0 because that provides
|
||||
a baseline when future changes reintroduce new issues: it's easier to
|
||||
triage and handle a list of 5 issues rather than more than 350.
|
||||
|
||||
This project would be going through all reports and handling them
|
||||
appropriately: Figure out if reports are valid or not and mark them
|
||||
as such. For valid reports, provide patches to fix the underlying issue.
|
||||
|
||||
### Mentors
|
||||
* Patrick Georgi <patrick@georgi.software>
|
||||
|
||||
## Extend Ghidra to support analysis of firmware images
|
||||
[Ghidra](https://ghidra-sre.org) is a recently released cross-platform
|
||||
disassembler and decompiler that is extensible through plugins. Make it
|
||||
useful for firmware related work: Automatically parse formats (eg. by
|
||||
integrating UEFITool, cbfstool, decompressors), automatically identify
|
||||
16/32/64bit code on x86/amd64, etc.
|
||||
|
||||
## Learn hardware behavior from I/O and memory access logs
|
||||
[SerialICE](https://www.serialice.com) is a tool to trace the behavior of
|
||||
executable code like firmware images. One result of that is a long log file
|
||||
containing the accesses to hardware resources.
|
||||
|
||||
It would be useful to have a tool that assists a developer-analyst in deriving
|
||||
knowledge about hardware from such logs. This likely can't be entirely
|
||||
automatic, but a tool that finds patterns and can propagate them across the
|
||||
log (incrementially raising the log from plain I/O accesses to a high-level
|
||||
description of driver behavior) would be of great use.
|
||||
|
||||
This is a research-heavy project.
|
||||
|
||||
### Requirements
|
||||
* Driver knowledge: Somebody working on this should be familiar with
|
||||
how hardware works (eg. MMIO based register access, index/data port
|
||||
accesses) and how to read data sheets.
|
||||
* Machine Learning: ML techniques may be useful to find structure in traces.
|
||||
|
||||
### Mentors
|
||||
* Ron Minnich <rminnich@google.com>
|
91
Documentation/distributions.md
Normal file
@ -0,0 +1,91 @@
|
||||
# Distributions
|
||||
|
||||
coreboot doesn't provide binaries but provides a toolbox that others can use
|
||||
to build boot firmware for all kinds of purposes. These third-parties can be
|
||||
broadly separated in two groups: Those shipping coreboot on their hardware,
|
||||
and those providing after-market firmware to extend the usefulness of devices.
|
||||
|
||||
|
||||
## Hardware shipping with coreboot
|
||||
|
||||
### Purism
|
||||
|
||||
[Purism](https://www.puri.sm) sells laptops with a focus on user privacy and
|
||||
security; part of that effort is to minimize the amount of proprietary and/or
|
||||
binary code. Their laptops ship with a blob-free OS and coreboot firmware
|
||||
with a neutralized Intel Management Engine (ME) and SeaBIOS as the payload.
|
||||
|
||||
### ChromeOS Devices
|
||||
|
||||
All ChromeOS devices ([Chromebooks](https://chromebookdb.com/), Chromeboxes,
|
||||
Chromebit, etc) released from 2012 onward use coreboot for their main system
|
||||
firmware. Additionally, starting with the 2013 Chromebook Pixel, the firmware
|
||||
running on the Embedded Controller (EC - a small microcontroller which provides
|
||||
functions like battery management, keyboard support, and sensor interfacing)
|
||||
is open source as well.
|
||||
|
||||
### Libretrend
|
||||
|
||||
[Libretrend](https://libretrend.com) sells the Librebox, a NUC-like PC which
|
||||
ships with coreboot firmware.
|
||||
|
||||
|
||||
### PC Engines APUs
|
||||
|
||||
[PC Engines](https://pcengines.ch) designs and sells embedded PC hardware that
|
||||
ships with coreboot and support upstream maintenance for the devices through a
|
||||
third party, [3mdeb](https://3mdeb.com). They provide current and tested
|
||||
firmware binaries on [GitHub](https://pcengines.github.io).
|
||||
|
||||
## After-market firmware
|
||||
|
||||
### Libreboot
|
||||
|
||||
[Libreboot](https://libreboot.org) is a downstream coreboot distribution that
|
||||
provides ready-made firmware images for supported devices: those which can be
|
||||
built entirely from source code. Their copy of the coreboot repository is
|
||||
therefore stripped of all devices that require binary components to boot.
|
||||
|
||||
### MrChromebox
|
||||
|
||||
[MrChromebox](https://mrchromebox.tech/) provides upstream coreboot firmware
|
||||
images for the vast majority of x86-based Chromebooks and Chromeboxes, using
|
||||
Tianocore as the payload to provide a modern UEFI bootloader. Why replace
|
||||
coreboot with coreboot? Mr Chromebox's images are built using upstream
|
||||
coreboot (vs Google's older, static tree/branch), include many features and
|
||||
fixes not found in the stock firmware, and offer much broader OS compatibility
|
||||
(i.e., they run Windows as well as Linux). They also offer updated CPU
|
||||
microcode, as well as firmware updates for the device's embedded controller
|
||||
(EC). This firmware "takes the training wheels off" your ChromeOS device :)
|
||||
|
||||
### John Lewis
|
||||
|
||||
[John Lewis](https://johnlewis.ie/custom-chromebook-firmware) also provides
|
||||
replacement firmware for ChromeOS devices, for the express purpose of
|
||||
running Linux on Chromebooks. John Lewis' firmware supports a much smaller
|
||||
set of devices, and uses SeaBIOS as the payload to support Legacy BIOS booting.
|
||||
His firmware images are significantly older, and not actively maintained or
|
||||
supported, but worth a look if you need Legacy Boot support and is not
|
||||
available via Mr Chromebox's firmware.
|
||||
|
||||
### Heads
|
||||
|
||||
[Heads](http://osresearch.net) is an open source custom firmware and OS
|
||||
configuration for laptops and servers that aims to provide slightly better
|
||||
physical security and protection for data on the system. Unlike
|
||||
[Tails](https://tails.boum.org/), which aims to be a stateless OS that leaves
|
||||
no trace on the computer of its presence, Heads is intended for the case where
|
||||
you need to store data and state on the computer.
|
||||
|
||||
Heads is not just another Linux distribution – it combines physical hardening
|
||||
of specific hardware platforms and flash security features with custom coreboot
|
||||
firmware and a Linux boot loader in ROM.
|
||||
|
||||
### Skulls
|
||||
|
||||
[Skulls](https://github.com/merge/skulls) provides firmware images for
|
||||
laptops like the Lenovo Thinkpad X230. It uses upstream coreboot, an easy
|
||||
to use payload like SeaBIOS and Intel's latest microcode update.
|
||||
|
||||
It simplifies installation and includes compact documentation. Skulls also
|
||||
enables easy switching to [Heads](#heads) and back.
|
7
Documentation/drivers/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
# Platform indenpendend drivers documentation
|
||||
|
||||
The drivers can be found in `src/drivers`. They are intended for onboard
|
||||
and plugin devices, significantly reducing integration complexity and
|
||||
they allow to easily reuse existing code accross platforms.
|
||||
|
||||
* [IPMI KCS](ipmi_kcs.md)
|
47
Documentation/drivers/ipmi_kcs.md
Normal file
@ -0,0 +1,47 @@
|
||||
# IPMI KCS driver
|
||||
|
||||
The driver can be found in `src/drivers/ipmi/`. It works with BMC that provide
|
||||
a KCS I/O interface as specified in the [IPMI] standard.
|
||||
|
||||
The driver detects the IPMI version, reserves the I/O space in coreboot's
|
||||
resource allocator and writes the required ACPI and SMBIOS tables.
|
||||
|
||||
## For developers
|
||||
|
||||
To use the driver, select the `IPMI_KCS` Kconfig and add the following PNP
|
||||
device under the LPC bridge device (in example for the KCS at 0xca2):
|
||||
|
||||
```
|
||||
chip drivers/ipmi
|
||||
device pnp ca2.0 on end # IPMI KCS
|
||||
end
|
||||
```
|
||||
|
||||
**Note:** The I/O base address needs to be aligned to 2.
|
||||
|
||||
The following registers can be set:
|
||||
|
||||
* `have_nv_storage`
|
||||
* Boolean
|
||||
* If true `nv_storage_device_address` will be added to SMBIOS type 38.
|
||||
* `nv_storage_device_address`
|
||||
* Integer
|
||||
* The NV storage address as defined in SMBIOS spec for type 38.
|
||||
* `bmc_i2c_address`
|
||||
* Integer
|
||||
* The i2c address of the BMC. zero if not applicable.
|
||||
* `have_apic`
|
||||
* Boolean
|
||||
* If true the `apic_interrupt` will be added to SPMI table.
|
||||
* `apic_interrupt`
|
||||
* Integer
|
||||
* The APIC interrupt used to notify about a change on the KCS.
|
||||
* `have_gpe`
|
||||
* Boolean
|
||||
* If true the `gpe_interrupt` will be added to SPMI table.
|
||||
* `gpe_interrupt`
|
||||
* Integer
|
||||
* The bit in GPE (SCI) used to notify about a change on the KCS.
|
||||
|
||||
|
||||
[IPMI]: https://www.intel.com/content/dam/www/public/us/en/documents/product-briefs/ipmi-second-gen-interface-spec-v2-rev1-1.pdf
|
28
Documentation/flash_tutorial/ext_power.md
Normal file
@ -0,0 +1,28 @@
|
||||
# Flashing firmware externally supplying direct power
|
||||
|
||||
**WARNING:** Never use a high current rated power supply, like PC ATX power
|
||||
supply. It'll literally melt your PCB traces on short circuit.
|
||||
|
||||
On some mainboards the flash IC Vcc pin is connected to a diode, which prevents
|
||||
powering the rest of the board.
|
||||
|
||||
![][flash_ic_diode]
|
||||
|
||||
Please have a look at the mainboard specific documentation for details.
|
||||
|
||||
On those boards it's safe to use a programmer and supply power externally.
|
||||
|
||||
**WARNING:** Verify that you apply the correct voltage!
|
||||
|
||||
## USB programmer
|
||||
USB programmers are usually current limited by the host USB hub. On USB 2.0
|
||||
ports the limit is 500mA, which is sufficient to power the flash. Those are
|
||||
the best choice as they are stateless and have a fast power on reset cycle.
|
||||
|
||||
## Single board computers (like BeagleBone Black / RPi)
|
||||
Be careful when connecting a flash chip, especially when using a Pomona
|
||||
test-clip. A short circuit or overcurrent (250mA) causes a brown-out reset,
|
||||
resulting in a reboot of the running operating system (and possible loss of
|
||||
remote shell).
|
||||
|
||||
[flash_ic_diode]: flash_ic_diode.svg
|
23
Documentation/flash_tutorial/ext_standalone.md
Normal file
@ -0,0 +1,23 @@
|
||||
# Flashing firmware standalone
|
||||
|
||||
If none of the other methods work, there are three possibilities:
|
||||
|
||||
## Desolder
|
||||
You must remove or desolder the flash IC before you can flash it.
|
||||
It's recommended to solder a socket in place of the flash IC.
|
||||
|
||||
When flashing the IC, always connect all input pins.
|
||||
If in doubt, pull /WP, /HOLD, /RESET and alike up towards Vcc.
|
||||
|
||||
## SPI flash emulator
|
||||
If you are a developer, you might want to use an [EM100Pro] instead, which sets
|
||||
the onboard flash on hold, and allows to run custom firmware.
|
||||
It provides a very fast development cycle without actually writing to flash.
|
||||
|
||||
## SPI flash overwrite
|
||||
It is possible to set the onboard flash on hold and use another flash chip.
|
||||
Connect all lines one-to-one, except /HOLD. Pull /HOLD of the soldered flash IC
|
||||
low, and /HOLD of your replacement flash IC high.
|
||||
|
||||
|
||||
[EM100Pro]: https://www.dediprog.com/product/EM100Pro
|
61
Documentation/flash_tutorial/flash_ic_diode.svg
Normal file
@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/PR-SVG-20010719/DTD/svg10.dtd">
|
||||
<svg width="4cm" height="3cm" viewBox="311 435 68 45" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g>
|
||||
<g>
|
||||
<rect style="fill: #ffffff" x="322.125" y="451.034" width="37.75" height="26.6444"/>
|
||||
<rect style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x="322.125" y="451.034" width="37.75" height="26.6444"/>
|
||||
<text font-size="4.51549" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:normal" x="341" y="465.734">
|
||||
<tspan x="341" y="465.734"></tspan>
|
||||
</text>
|
||||
</g>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="359.875" y1="456.784" x2="368.527" y2="456.784"/>
|
||||
<text font-size="4.51549" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="348.75" y="457.909">
|
||||
<tspan x="348.75" y="457.909">VCC</tspan>
|
||||
</text>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="359.763" y1="461.772" x2="368.652" y2="461.784"/>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="360.138" y1="466.872" x2="368.527" y2="466.909"/>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="360.277" y1="471.534" x2="368.402" y2="471.534"/>
|
||||
<text font-size="4.51549" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="345.752" y="463.247">
|
||||
<tspan x="345.752" y="463.247">HOLD</tspan>
|
||||
</text>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 0.2; stroke: #000000" x1="346.652" y1="459.159" x2="358.402" y2="459.159"/>
|
||||
<text font-size="4.51549" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="349.752" y="468.247">
|
||||
<tspan x="349.752" y="468.247">CLK</tspan>
|
||||
</text>
|
||||
<text font-size="4.51549" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="353.502" y="472.997">
|
||||
<tspan x="353.502" y="472.997">DI</tspan>
|
||||
</text>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="313.49" y1="456.922" x2="322.143" y2="456.922"/>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="313.378" y1="461.909" x2="322.268" y2="461.922"/>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="313.753" y1="467.009" x2="322.143" y2="467.047"/>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="313.893" y1="471.672" x2="322.018" y2="471.672"/>
|
||||
<text font-size="4.51549" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="323.752" y="458.372">
|
||||
<tspan x="323.752" y="458.372">CS</tspan>
|
||||
</text>
|
||||
<text font-size="4.51549" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="324.127" y="468.497">
|
||||
<tspan x="324.127" y="468.497">WP</tspan>
|
||||
</text>
|
||||
<text font-size="4.51549" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="323.752" y="472.997">
|
||||
<tspan x="323.752" y="472.997">GND</tspan>
|
||||
</text>
|
||||
<text font-size="4.51549" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="324.127" y="463.497">
|
||||
<tspan x="324.127" y="463.497">DO</tspan>
|
||||
</text>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 0.2; stroke: #000000" x1="330.852" y1="454.397" x2="323.902" y2="454.409"/>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 0.2; stroke: #000000" x1="330.802" y1="464.397" x2="323.852" y2="464.409"/>
|
||||
</g>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="368.252" y1="456.797" x2="373.902" y2="456.784"/>
|
||||
<g>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="374.027" y1="456.784" x2="374.027" y2="438.895"/>
|
||||
<polyline style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" points="375.027,439.777 374.027,437.777 373.027,439.777 "/>
|
||||
</g>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="314.277" y1="471.784" x2="314.277" y2="479.659"/>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="317.027" y1="479.659" x2="311.502" y2="479.672"/>
|
||||
<g>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1.2; stroke: #000000" x1="374.027" y1="443.284" x2="374.027" y2="447.434"/>
|
||||
<polygon style="fill: #000000" points="372.027,447.434 374.027,451.434 376.027,447.434 "/>
|
||||
<polygon style="fill: none; fill-opacity:0; stroke-width: 1.2; stroke: #000000" points="372.027,447.434 374.027,451.434 376.027,447.434 "/>
|
||||
</g>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1.2; stroke: #000000" x1="370.402" y1="452.032" x2="377.527" y2="452.032"/>
|
||||
</svg>
|
After Width: | Height: | Size: 5.0 KiB |
55
Documentation/flash_tutorial/flash_ic_no_diode.svg
Normal file
@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/PR-SVG-20010719/DTD/svg10.dtd">
|
||||
<svg width="4cm" height="3cm" viewBox="311 435 65 45" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g>
|
||||
<g>
|
||||
<rect style="fill: #ffffff" x="322.124" y="451.034" width="37.75" height="26.6444"/>
|
||||
<rect style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x="322.124" y="451.034" width="37.75" height="26.6444"/>
|
||||
<text font-size="4.51556" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:normal" x="340.999" y="465.734">
|
||||
<tspan x="340.999" y="465.734"></tspan>
|
||||
</text>
|
||||
</g>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="359.874" y1="456.784" x2="368.528" y2="456.784"/>
|
||||
<text font-size="4.51556" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="348.75" y="457.91">
|
||||
<tspan x="348.75" y="457.91">VCC</tspan>
|
||||
</text>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="359.762" y1="461.772" x2="368.652" y2="461.784"/>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="360.138" y1="466.872" x2="368.528" y2="466.91"/>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="360.278" y1="471.534" x2="368.402" y2="471.534"/>
|
||||
<text font-size="4.51556" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="345.752" y="463.246">
|
||||
<tspan x="345.752" y="463.246">HOLD</tspan>
|
||||
</text>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 0.2; stroke: #000000" x1="346.652" y1="459.16" x2="358.402" y2="459.16"/>
|
||||
<text font-size="4.51556" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="349.752" y="468.246">
|
||||
<tspan x="349.752" y="468.246">CLK</tspan>
|
||||
</text>
|
||||
<text font-size="4.51556" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="353.502" y="472.996">
|
||||
<tspan x="353.502" y="472.996">DI</tspan>
|
||||
</text>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="313.49" y1="456.922" x2="322.142" y2="456.922"/>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="313.378" y1="461.91" x2="322.268" y2="461.922"/>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="313.752" y1="467.01" x2="322.142" y2="467.046"/>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="313.892" y1="471.672" x2="322.018" y2="471.672"/>
|
||||
<text font-size="4.51556" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="323.752" y="458.372">
|
||||
<tspan x="323.752" y="458.372">CS</tspan>
|
||||
</text>
|
||||
<text font-size="4.51556" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="324.128" y="468.496">
|
||||
<tspan x="324.128" y="468.496">WP</tspan>
|
||||
</text>
|
||||
<text font-size="4.51556" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="323.752" y="472.996">
|
||||
<tspan x="323.752" y="472.996">GND</tspan>
|
||||
</text>
|
||||
<text font-size="4.51556" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="324.128" y="463.496">
|
||||
<tspan x="324.128" y="463.496">DO</tspan>
|
||||
</text>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 0.2; stroke: #000000" x1="330.852" y1="454.396" x2="323.902" y2="454.41"/>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 0.2; stroke: #000000" x1="330.802" y1="464.396" x2="323.852" y2="464.41"/>
|
||||
</g>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="368.252" y1="456.796" x2="373.902" y2="456.784"/>
|
||||
<g>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="374.028" y1="456.784" x2="374.028" y2="438.896"/>
|
||||
<polyline style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" points="375.028,439.778 374.028,437.778 373.028,439.778 "/>
|
||||
</g>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="314.278" y1="471.784" x2="314.278" y2="479.66"/>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x1="317.028" y1="479.66" x2="311.502" y2="479.672"/>
|
||||
</svg>
|
After Width: | Height: | Size: 4.5 KiB |
111
Documentation/flash_tutorial/index.md
Normal file
@ -0,0 +1,111 @@
|
||||
# Flashing firmware tutorial
|
||||
|
||||
Updating the firmware is possible using the **internal method**, where the updates
|
||||
happen from a running system, or using the **external method**, where the system
|
||||
is in a shut down state and an external programmer is attached to write into the
|
||||
flash IC.
|
||||
|
||||
## Contents
|
||||
|
||||
* [Flashing internaly](int_flashrom.md)
|
||||
* [Flashing firmware standalone](ext_standalone.md)
|
||||
* [Flashing firmware externally supplying direct power](ext_power.md)
|
||||
* [Flashing firmware externally without supplying direct power](no_ext_power.md)
|
||||
|
||||
## General advice
|
||||
|
||||
* It's recommended to only flash the BIOS region.
|
||||
* Always verify the firmware image.
|
||||
* If you flash externally and have transmission errors:
|
||||
* Use short wires
|
||||
* Reduce clock frequency
|
||||
* Check power supply
|
||||
* Make sure that there are no other bus masters (EC, ME, SoC, ...)
|
||||
|
||||
## Internal method
|
||||
|
||||
This method using [flashrom] is available on many platforms, as long as they
|
||||
aren't locked down.
|
||||
|
||||
There are various protection schemes that make it impossible to modify or
|
||||
replace a firmware from a running system. coreboot allows to disable these
|
||||
mechanisms, making it possible to overwrite (or update) the firmware from a
|
||||
running system.
|
||||
|
||||
Usually you must use the **external method** once to install a retrofitted
|
||||
coreboot and then you can use the **internal method** for future updates.
|
||||
|
||||
There are multiple ways to update the firmware:
|
||||
* Using flashrom's *internal* programmer to directly write into the firmware
|
||||
flash IC, running on the target machine itself
|
||||
* A proprietary software to update the firmware, running on the target machine
|
||||
itself
|
||||
* A UEFI firmware update capsule
|
||||
|
||||
More details on flashrom's
|
||||
* [internal programmer](int_flashrom.md)
|
||||
|
||||
## External method
|
||||
|
||||
External flashing is possible on many platforms, but requires disassembling
|
||||
the target hardware. You need to buy a flash programmer, that
|
||||
exposes the same interface as your flash IC (likely SPI).
|
||||
|
||||
Please also have a look at the mainboard-specific documentation for details.
|
||||
|
||||
After exposing the firmware flash IC, read the schematics and use one of the
|
||||
possible methods:
|
||||
|
||||
* [Flashing firmware standalone](ext_standalone.md)
|
||||
* [Flashing firmware externally supplying direct power](ext_power.md)
|
||||
* [Flashing firmware externally without supplying direct power](no_ext_power.md)
|
||||
|
||||
**WARNING:** Using the wrong method or accidentally using the wrong pinout might
|
||||
permanently damage your hardware!
|
||||
|
||||
**WARNING:** Do not rely on dots *painted* on flash ICs to orient the pins!
|
||||
Any dots painted on flash ICs may only indicate if they've been tested. Dots
|
||||
that appear in datasheets to indicate pin 1 correspond to some kind of physical
|
||||
marker, such as a drilled hole, or one side being more flat than the other.
|
||||
|
||||
## Using a layout file
|
||||
On platforms where the flash IC is shared with other components you might want
|
||||
to write only a part of the flash IC. On Intel for example there are IFD, ME and
|
||||
GBE which don't need to be updated to install coreboot.
|
||||
To make [flashrom] only write the *bios* region, leaving Intel ME and Intel IFD
|
||||
untouched, you can use a layout file, which can be created with ifdtool and a backup
|
||||
of the original firmware.
|
||||
|
||||
```bash
|
||||
ifdtool -f rom.layout backup.rom
|
||||
```
|
||||
|
||||
and looks similar to:
|
||||
|
||||
```
|
||||
00000000:00000fff fd
|
||||
00500000:00bfffff bios
|
||||
00003000:004fffff me
|
||||
00001000:00002fff gbe
|
||||
```
|
||||
|
||||
By specifying *-l* and *-i* [flashrom] writes a single region:
|
||||
```bash
|
||||
flashrom -l rom.layout -i bios -w coreboot.rom -p <programmer>
|
||||
```
|
||||
|
||||
## Using an IFD to determine the layout
|
||||
flashrom version 1.0 supports reading the layout from the IFD (first 4KiB of
|
||||
the ROM). You don't need to manually specify a layout it, but it only works
|
||||
under the following conditions:
|
||||
|
||||
* Only available on Intel ICH7+
|
||||
* There's only one flash IC when flashing externally
|
||||
|
||||
```bash
|
||||
flashrom --ifd -i bios -w coreboot.rom -p <programmer>
|
||||
```
|
||||
|
||||
**TODO** explain FMAP regions, normal/fallback mechanism, flash lock mechanisms
|
||||
|
||||
[flashrom]: https://www.flashrom.org/Flashrom
|
19
Documentation/flash_tutorial/int_flashrom.md
Normal file
@ -0,0 +1,19 @@
|
||||
# Flashing firmware internally
|
||||
|
||||
**WARNING:** If you flash a broken firmware and have no recovery mechanism, you
|
||||
must use the **external method** to flash a working firmware again.
|
||||
|
||||
## Using flashrom
|
||||
This method does only work on Linux, if it isn't locked down.
|
||||
You may also need to boot with 'iomem=relaxed' in the kernel command
|
||||
line if CONFIG_IO_STRICT_DEVMEM is set.
|
||||
|
||||
|
||||
For more details please also check [flashrom's wiki].
|
||||
Use the programmer *internal* to flash *coreboot.rom* internally:
|
||||
|
||||
```bash
|
||||
flashrom -p internal -w coreboot.rom
|
||||
```
|
||||
|
||||
[flashrom's wiki]: https://www.flashrom.org/Flashrom
|
22
Documentation/flash_tutorial/no_ext_power.md
Normal file
@ -0,0 +1,22 @@
|
||||
# Flashing firmware externally supplying no power
|
||||
|
||||
On some mainboards the flash IC's Vcc pin is connected to the internal
|
||||
power-rail, powering the entire board if the flash IC is powered externally.
|
||||
Likely it powers other chips which access the flash IC, preventing the external
|
||||
programmer from reading/writing the chip. It also violates the components'
|
||||
power sequence, bringing the ICs into an undefined state.
|
||||
|
||||
![][flash_ic_no_diode]
|
||||
|
||||
Please have a look at the mainboard specific documentation for details.
|
||||
|
||||
On those boards it's recommended to use a programmer without supplying power
|
||||
externally.
|
||||
|
||||
The key to read and write the flash IC is to put the machine into *S3* sleep-
|
||||
state or *S5* sleep-state *maybe* with Wake-On-LAN enabled.
|
||||
Another option that sometimes works is to keep the device in reset. This method requires
|
||||
knowledge of the board schematics and might require hardware modifications.
|
||||
Use a multimeter to make sure the flash IC is powered in those sleep states.
|
||||
|
||||
[flash_ic_no_diode]: flash_ic_no_diode.svg
|
105
Documentation/getting_started/architecture.md
Normal file
@ -0,0 +1,105 @@
|
||||
# coreboot architecture
|
||||
|
||||
## Overwiew
|
||||
![][architecture]
|
||||
|
||||
[architecture]: comparision_coreboot_uefi.svg
|
||||
|
||||
## Stages
|
||||
coreboot consists of multiple stages that are compiled as separate binaries and
|
||||
are inserted into the CBFS with custom compression. The bootblock usually doesn't
|
||||
have compression while the ramstage and payload are compressed with LZMA.
|
||||
|
||||
Each stage loads the next stage a given address (possibly decompressing it).
|
||||
|
||||
Some stages are relocatable and can be placed anywhere in DRAM. Those stages are
|
||||
usually cached in CBMEM for faster loading times on ACPI S3 resume.
|
||||
|
||||
Supported stage compressions:
|
||||
* none
|
||||
* LZ4
|
||||
* LZMA
|
||||
|
||||
## bootblock
|
||||
The bootblock is the first stage executed after CPU reset. It is written in
|
||||
assembly language and its main task is to set up everything for a C-environment:
|
||||
|
||||
Common tasks:
|
||||
|
||||
* Cache-As-RAM for heap and stack
|
||||
* Set stack pointer
|
||||
* Clear memory for BSS
|
||||
* Decompress and load the next stage
|
||||
|
||||
On x86 platforms that includes:
|
||||
|
||||
* Microcode updates
|
||||
* Timer init
|
||||
* Switching from 16-bit real-mode to 32-bit protected mode
|
||||
|
||||
The bootblock loads the romstage or the verstage if verified boot is enabled.
|
||||
|
||||
### Cache-As-Ram
|
||||
The *Cache-As-Ram*, also called Non-Eviction mode, or *CAR* allows to use the
|
||||
CPU cache like regular SRAM. This is particullary usefull for high level
|
||||
languages like `C`, which need RAM for heap and stack.
|
||||
|
||||
The CAR needs to be activated using vendor specific CPU instructions.
|
||||
|
||||
The following stages run when Cache-As-Ram is active:
|
||||
* bootblock
|
||||
* romstage
|
||||
* verstage
|
||||
* postcar
|
||||
|
||||
## verstage
|
||||
The verstage is where the root-of-trust starts. It's assumed that
|
||||
it cannot be overwritten in-field (together with the public key) and
|
||||
it starts at the very beginning of the boot process.
|
||||
The verstage installs a hook to verify a file before it's loaded from
|
||||
CBFS or a partition before it's accessed.
|
||||
|
||||
The verified boot mechanism allows trusted in-field firmware updates
|
||||
combined with a fail-safe recovery mode.
|
||||
|
||||
## romstage
|
||||
The romstage initializes the DRAM and prepares everything for device init.
|
||||
|
||||
Common tasks:
|
||||
|
||||
* Early device init
|
||||
* DRAM init
|
||||
|
||||
## postcar
|
||||
To leave the CAR setup and run code from regular DRAM the postcar-stage tears
|
||||
down CAR and loads the ramstage. Compared to other stages it's minimal in size.
|
||||
|
||||
## ramstage
|
||||
|
||||
The ramstage does the main device init:
|
||||
|
||||
* PCI device init
|
||||
* On-chip device init
|
||||
* TPM init (if not done by verstage)
|
||||
* Graphics init (optional)
|
||||
* CPU init (like set up SMM)
|
||||
|
||||
After initialization tables are written to inform the payload or operating system
|
||||
about the current hardware existance and state. That includes:
|
||||
|
||||
* ACPI tables (x86 specific)
|
||||
* SMBIOS tables (x86 specific)
|
||||
* coreboot tables
|
||||
* devicetree updates (ARM specific)
|
||||
|
||||
It also does hardware and firmware lockdown:
|
||||
* Write-protection of boot media
|
||||
* Lock security related registers
|
||||
* Lock SMM mode (x86 specific)
|
||||
|
||||
## payload
|
||||
The payload is the software that is run after coreboot is done. It resides in
|
||||
the CBFS and there's no possibility to choose it at runtime.
|
||||
|
||||
For more details have a look at [payloads](../payloads.md).
|
||||
|
BIN
Documentation/getting_started/comparision_coreboot_uefi.dia
Normal file
176
Documentation/getting_started/comparision_coreboot_uefi.svg
Normal file
@ -0,0 +1,176 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/PR-SVG-20010719/DTD/svg10.dtd">
|
||||
<svg width="55cm" height="28cm" viewBox="62 37 1088 559" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g>
|
||||
<rect style="fill: #ffffff" x="63.296" y="74.0258" width="1085.8" height="520.893"/>
|
||||
<rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #ffffff" x="63.296" y="74.0258" width="1085.8" height="520.893"/>
|
||||
</g>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 4; stroke: #000000" x1="242.613" y1="107.463" x2="242.698" y2="492.591"/>
|
||||
<g>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 4; stroke: #000000" x1="234.964" y1="477.053" x2="1135.15" y2="478.109"/>
|
||||
<polyline style="fill: none; fill-opacity:0; stroke-width: 4; stroke: #000000" points="1124.61,485.597 1139.62,478.114 1124.63,470.597 "/>
|
||||
</g>
|
||||
<text font-size="22.5778" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="482.342" y="58.1574">
|
||||
<tspan x="482.342" y="58.1574">Platform Initialization Firmware Phases</tspan>
|
||||
</text>
|
||||
<text font-size="16.9333" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="98.4514" y="435.714">
|
||||
<tspan x="98.4514" y="435.714">EDK II - stages</tspan>
|
||||
</text>
|
||||
<text font-size="12.8" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="1073.49" y="499.998">
|
||||
<tspan x="1073.49" y="499.998">time</tspan>
|
||||
</text>
|
||||
<text font-size="16.9333" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="82.8266" y="330.476">
|
||||
<tspan x="82.8266" y="330.476">coreboot - stages</tspan>
|
||||
</text>
|
||||
<g>
|
||||
<rect style="fill: #faff94" x="250.501" y="404.247" width="130.432" height="69.1471"/>
|
||||
<rect style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x="250.501" y="404.247" width="130.432" height="69.1471"/>
|
||||
<text font-size="12.8" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:700" x="315.718" y="434.72">
|
||||
<tspan x="315.718" y="434.72">Security</tspan>
|
||||
<tspan x="315.718" y="450.72">(SEC)</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<rect style="fill: #faff94" x="383.033" y="404.781" width="282.702" height="69"/>
|
||||
<rect style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x="383.033" y="404.781" width="282.702" height="69"/>
|
||||
<text font-size="12.8" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:700" x="524.384" y="427.181">
|
||||
<tspan x="524.384" y="427.181">Pre-EFI</tspan>
|
||||
<tspan x="524.384" y="443.181">Initialization Environment</tspan>
|
||||
<tspan x="524.384" y="459.181">(PEI)</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<rect style="fill: #faff94" x="668.027" y="405.317" width="269.244" height="69"/>
|
||||
<rect style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x="668.027" y="405.317" width="269.244" height="69"/>
|
||||
<text font-size="12.8" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:700" x="802.649" y="427.717">
|
||||
<tspan x="802.649" y="427.717">Driver Execution</tspan>
|
||||
<tspan x="802.649" y="443.717">Environment</tspan>
|
||||
<tspan x="802.649" y="459.717">(DXE)</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<rect style="fill: #faff94" x="939.541" y="405.727" width="178.75" height="69"/>
|
||||
<rect style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x="939.541" y="405.727" width="178.75" height="69"/>
|
||||
<text font-size="12.8" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:700" x="1028.92" y="436.127">
|
||||
<tspan x="1028.92" y="436.127">Boot Device Selection</tspan>
|
||||
<tspan x="1028.92" y="452.127">(BDS)</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<rect style="fill: #90c9ff" x="254.747" y="291.309" width="125.314" height="69.1471"/>
|
||||
<rect style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x="254.747" y="291.309" width="125.314" height="69.1471"/>
|
||||
<text font-size="12.8" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:700" x="317.404" y="329.782">
|
||||
<tspan x="317.404" y="329.782">bootblock</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<rect style="fill: #90c9ff" x="476.354" y="290.735" width="89.65" height="69.1471"/>
|
||||
<rect style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x="476.354" y="290.735" width="89.65" height="69.1471"/>
|
||||
<text font-size="12.8" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:700" x="521.179" y="329.209">
|
||||
<tspan x="521.179" y="329.209">romstage</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<rect style="fill: #90c9ff" x="382.317" y="291.011" width="92.1" height="69.1471"/>
|
||||
<rect style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x="382.317" y="291.011" width="92.1" height="69.1471"/>
|
||||
<text font-size="12.8" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:700" x="428.367" y="321.485">
|
||||
<tspan x="428.367" y="321.485">verstage</tspan>
|
||||
<tspan x="428.367" y="337.485">(optional)</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<rect style="fill: #90c9ff" x="567.853" y="290.99" width="98.5152" height="69.1471"/>
|
||||
<rect style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x="567.853" y="290.99" width="98.5152" height="69.1471"/>
|
||||
<text font-size="12.8" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:700" x="617.11" y="321.464">
|
||||
<tspan x="617.11" y="321.464">postcar</tspan>
|
||||
<tspan x="617.11" y="337.464">(x86 only)</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<rect style="fill: #90c9ff" x="667.529" y="281.527" width="168.747" height="37"/>
|
||||
<rect style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x="667.529" y="281.527" width="168.747" height="37"/>
|
||||
<text font-size="12.8" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:700" x="751.903" y="303.927">
|
||||
<tspan x="751.903" y="303.927">ramstage</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<rect style="fill: #90c9ff" x="667.84" y="321.487" width="167.519" height="53"/>
|
||||
<rect style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x="667.84" y="321.487" width="167.519" height="53"/>
|
||||
<text font-size="12.8" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:700" x="751.6" y="343.887">
|
||||
<tspan x="751.6" y="343.887">SMM</tspan>
|
||||
<tspan x="751.6" y="359.887">(x86 only)</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<rect style="fill: #90c9ff" x="941.841" y="283.151" width="171.98" height="69.1471"/>
|
||||
<rect style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x="941.841" y="283.151" width="171.98" height="69.1471"/>
|
||||
<text font-size="12.8" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:700" x="1027.83" y="321.624">
|
||||
<tspan x="1027.83" y="321.624">payload</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<rect style="fill: #d8e5e5" x="253.112" y="209.178" width="82.7" height="27"/>
|
||||
<rect style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x="253.112" y="209.178" width="82.7" height="27"/>
|
||||
<text font-size="12.8" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:700" x="294.462" y="226.578">
|
||||
<tspan x="294.462" y="226.578">Assembly</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<rect style="fill: #00c800" x="318.155" y="129.267" width="283.43" height="27"/>
|
||||
<rect style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x="318.155" y="129.267" width="283.43" height="27"/>
|
||||
<text font-size="12.8" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:700" x="459.87" y="146.667">
|
||||
<tspan x="459.87" y="146.667">Cache-As-RAM</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<rect style="fill: #ff8484" x="506.676" y="159.67" width="599.421" height="27"/>
|
||||
<rect style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x="506.676" y="159.67" width="599.421" height="27"/>
|
||||
<text font-size="12.8" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:700" x="806.387" y="177.07">
|
||||
<tspan x="806.387" y="177.07">DRAM</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke-dasharray: 4; stroke: #000000" x1="175.046" y1="392.926" x2="1113.82" y2="391.893"/>
|
||||
<text font-size="12.7998" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="387.045" y="241.637">
|
||||
<tspan x="387.045" y="241.637"></tspan>
|
||||
</text>
|
||||
<g>
|
||||
<rect style="fill: #ffffff" x="337.438" y="209.383" width="618.831" height="27"/>
|
||||
<rect style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x="337.438" y="209.383" width="618.831" height="27"/>
|
||||
<text font-size="12.8" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:700" x="646.853" y="226.783">
|
||||
<tspan x="646.853" y="226.783">C</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<rect style="fill: #f6c7c7" x="667.35" y="238.912" width="170.3" height="27"/>
|
||||
<rect style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x="667.35" y="238.912" width="170.3" height="27"/>
|
||||
<text font-size="12.8" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:700" x="752.5" y="256.312">
|
||||
<tspan x="752.5" y="256.312">ADA SPARK (x86 only)</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text font-size="16.9333" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="84.2481" y="233.28">
|
||||
<tspan x="84.2481" y="233.28">coreboot</tspan>
|
||||
<tspan x="84.2481" y="254.446">source languages</tspan>
|
||||
</text>
|
||||
<text font-size="16.9333" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="86.5008" y="153.786">
|
||||
<tspan x="86.5008" y="153.786">code/heap</tspan>
|
||||
<tspan x="86.5008" y="174.953">memory location </tspan>
|
||||
</text>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke-dasharray: 4; stroke: #000000" x1="175.483" y1="273.35" x2="1109.07" y2="273.582"/>
|
||||
<line style="fill: none; fill-opacity:0; stroke-width: 1; stroke-dasharray: 4; stroke: #000000" x1="176.24" y1="192.463" x2="1109.66" y2="192.132"/>
|
||||
<g>
|
||||
<rect style="fill: #90c9ff" x="838.583" y="281.963" width="100.3" height="53"/>
|
||||
<rect style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" x="838.583" y="281.963" width="100.3" height="53"/>
|
||||
<text font-size="12.8" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:700" x="888.733" y="304.363">
|
||||
<tspan x="888.733" y="304.363">BL31</tspan>
|
||||
<tspan x="888.733" y="320.363">(ARM only)</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text font-size="12.7998" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="209.772" y="508.772">
|
||||
<tspan x="209.772" y="508.772">Power on</tspan>
|
||||
</text>
|
||||
<g>
|
||||
<rect style="fill: #ffffff" x="941.939" y="210.26" width="22.4641" height="25.1384"/>
|
||||
<rect style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #ffffff" x="941.939" y="210.26" width="22.4641" height="25.1384"/>
|
||||
</g>
|
||||
<path style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" d="M 955.029 209.941 C 967.678,210.1 946.349,230.772 955.598,237.021"/>
|
||||
</svg>
|
After Width: | Height: | Size: 12 KiB |
@ -13,8 +13,8 @@ here, please discuss it in the mailing list to get this document updated.
|
||||
Don't just assume that it's okay, even if someone on IRC says it is.
|
||||
|
||||
|
||||
Summary:
|
||||
--------
|
||||
Summary
|
||||
-------
|
||||
These are the expectations for committing, reviewing, and submitting code
|
||||
into coreboot git and gerrit. While breaking individual rules may not have
|
||||
immediate consequences, the coreboot leadership may act on repeated or
|
||||
@ -33,8 +33,8 @@ addresses.
|
||||
* Don’t submit patches that you know will break other platforms.
|
||||
|
||||
|
||||
More detail:
|
||||
------------
|
||||
More detail
|
||||
-----------
|
||||
* Don't violate the licenses. If you're submitting code that you didn't
|
||||
write yourself, make sure the license is compatible with the license of the
|
||||
project you're submitting the changes to. If you’re submitting code that
|
||||
@ -98,8 +98,8 @@ must at least provide a path that will allow other platforms to continue
|
||||
working.
|
||||
|
||||
|
||||
Recommendations for gerrit activity:
|
||||
------------------------------------
|
||||
Recommendations for gerrit activity
|
||||
-----------------------------------
|
||||
These guidelines are less strict than the ones listed above. These are more
|
||||
of the “good idea” variety. You are requested to follow the below
|
||||
guidelines, but there will probably be no actual consequences if they’re
|
||||
@ -150,8 +150,8 @@ together so people can easily see the connection at the top level of
|
||||
gerrit. Topics can be set for individual patches in gerrit by going into
|
||||
the patch and clicking on the icon next to the topic line. Topics can also
|
||||
be set when you push the patches into gerrit. For example, to push a set of
|
||||
commits with the the i915-kernel-x60 set, use the command:
|
||||
git push origin HEAD:refs/for/master/i915-kernel-x60
|
||||
commits with the i915-kernel-x60 set, use the command:
|
||||
git push origin HEAD:refs/for/master%topic=i915-kernel-x60
|
||||
|
||||
* If one of your patches isn't ready to be merged, make sure it's obvious
|
||||
that you don't feel it's ready for merge yet. The preferred way to show
|
||||
@ -159,15 +159,19 @@ this is by marking in the commit message that it’s not ready until X. The
|
||||
commit message can be updated easily when it’s ready to be pushed.
|
||||
Examples of this are "WIP: title" or "[NEEDS_TEST]: title". Another way to
|
||||
mark the patch as not ready would be to give it a -1 or -2 review, but
|
||||
isn't as obvious as the commit message. These patches can also be pushed as
|
||||
drafts as shown in the next guideline.
|
||||
isn't as obvious as the commit message. These patches can also be pushed with
|
||||
the wip flag:
|
||||
git push origin HEAD:refs/for/master%wip
|
||||
|
||||
* When pushing patches that are not for submission, these should be marked
|
||||
as such. This can be done in the title ‘[DONOTSUBMIT]’, or can be pushed as
|
||||
draft commits, so that only explicitly added reviewers will see them. These
|
||||
private changes, so that only explicitly added reviewers will see them. These
|
||||
sorts of patches are frequently posted as ideas or RFCs for the community
|
||||
to look at. To push a draft, use the command:
|
||||
git push origin HEAD:refs/drafts/master
|
||||
to look at. To push a private change, use the command:
|
||||
git push origin HEAD:refs/for/master%private
|
||||
|
||||
* Multiple push options can be combined:
|
||||
git push origin HEAD:refs/for/master%private,wip,topic=experiment
|
||||
|
||||
* Respond to anyone who has taken the time to review your patches, even if
|
||||
it's just to say that you disagree. While it may seem annoying to address a
|
||||
@ -251,8 +255,8 @@ The script 'util/gitconfig/rebase.sh' can be used to help automate this.
|
||||
Other tags such as 'Commit-Queue' can simply be removed.
|
||||
|
||||
|
||||
Expectations contributors should have:
|
||||
--------------------------------------
|
||||
Expectations contributors should have
|
||||
-------------------------------------
|
||||
* Don't expect that people will review your patch unless you ask them to.
|
||||
Adding other people as reviewers is the easiest way. Asking for reviews for
|
||||
individual patches in the IRC channel, or by sending a direct request to an
|
9
Documentation/getting_started/index.md
Normal file
@ -0,0 +1,9 @@
|
||||
# Getting Started
|
||||
|
||||
* [coreboot architecture](architecture.md)
|
||||
* [Build System](build_system.md)
|
||||
* [Submodules](submodules.md)
|
||||
* [Kconfig](kconfig.md)
|
||||
* [Gerrit Guidelines](gerrit_guidelines.md)
|
||||
* [Documentation License](license.md)
|
||||
* [Writing Documentation](writing_documentation.md)
|
1233
Documentation/getting_started/kconfig.md
Normal file
164
Documentation/getting_started/license.md
Normal file
@ -0,0 +1,164 @@
|
||||
# coreboot documentation license
|
||||
|
||||
Files under Documentation/ are licensed under CC-BY 4.0 terms, printed below.
|
||||
As an exception, files under Documentation/ with a history older than 2017-05-24
|
||||
might be under different licenses (but should be cleared up ASAP).
|
||||
|
||||
## Attribution 4.0 International
|
||||
|
||||
Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible.
|
||||
|
||||
### Using Creative Commons Public Licenses
|
||||
|
||||
Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses.
|
||||
|
||||
* __Considerations for licensors:__ Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. [More considerations for licensors](http://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensors).
|
||||
|
||||
* __Considerations for the public:__ By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor’s permission is not necessary for any reason–for example, because of any applicable exception or limitation to copyright–then that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. [More considerations for the public](http://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensees).
|
||||
|
||||
## Creative Commons Attribution 4.0 International Public License
|
||||
|
||||
By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
|
||||
|
||||
### Section 1 – Definitions.
|
||||
|
||||
a. __Adapted Material__ means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.
|
||||
|
||||
b. __Adapter's License__ means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.
|
||||
|
||||
c. __Copyright and Similar Rights__ means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
|
||||
|
||||
d. __Effective Technological Measures__ means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.
|
||||
|
||||
e. __Exceptions and Limitations__ means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.
|
||||
|
||||
f. __Licensed Material__ means the artistic or literary work, database, or other material to which the Licensor applied this Public License.
|
||||
|
||||
g. __Licensed Rights__ means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.
|
||||
|
||||
h. __Licensor__ means the individual(s) or entity(ies) granting rights under this Public License.
|
||||
|
||||
i. __Share__ means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.
|
||||
|
||||
j. __Sui Generis Database Rights__ means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.
|
||||
|
||||
k. __You__ means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning.
|
||||
|
||||
### Section 2 – Scope.
|
||||
|
||||
a. ___License grant.___
|
||||
|
||||
1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:
|
||||
|
||||
A. reproduce and Share the Licensed Material, in whole or in part; and
|
||||
|
||||
B. produce, reproduce, and Share Adapted Material.
|
||||
|
||||
2. __Exceptions and Limitations.__ For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.
|
||||
|
||||
3. __Term.__ The term of this Public License is specified in Section 6(a).
|
||||
|
||||
4. __Media and formats; technical modifications allowed.__ The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.
|
||||
|
||||
5. __Downstream recipients.__
|
||||
|
||||
A. __Offer from the Licensor – Licensed Material.__ Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.
|
||||
|
||||
B. __No downstream restrictions.__ You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.
|
||||
|
||||
6. __No endorsement.__ Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i).
|
||||
|
||||
b. ___Other rights.___
|
||||
|
||||
1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.
|
||||
|
||||
2. Patent and trademark rights are not licensed under this Public License.
|
||||
|
||||
3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties.
|
||||
|
||||
### Section 3 – License Conditions.
|
||||
|
||||
Your exercise of the Licensed Rights is expressly made subject to the following conditions.
|
||||
|
||||
a. ___Attribution.___
|
||||
|
||||
1. If You Share the Licensed Material (including in modified form), You must:
|
||||
|
||||
A. retain the following if it is supplied by the Licensor with the Licensed Material:
|
||||
|
||||
i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
|
||||
|
||||
ii. a copyright notice;
|
||||
|
||||
iii. a notice that refers to this Public License;
|
||||
|
||||
iv. a notice that refers to the disclaimer of warranties;
|
||||
|
||||
v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
|
||||
|
||||
B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
|
||||
|
||||
C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.
|
||||
|
||||
2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.
|
||||
|
||||
3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.
|
||||
|
||||
4. If You Share Adapted Material You produce, the Adapter's License You apply must not prevent recipients of the Adapted Material from complying with this Public License.
|
||||
|
||||
### Section 4 – Sui Generis Database Rights.
|
||||
|
||||
Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:
|
||||
|
||||
a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database;
|
||||
|
||||
b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material; and
|
||||
|
||||
c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.
|
||||
|
||||
For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.
|
||||
|
||||
### Section 5 – Disclaimer of Warranties and Limitation of Liability.
|
||||
|
||||
a. __Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.__
|
||||
|
||||
b. __To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.__
|
||||
|
||||
c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
|
||||
|
||||
### Section 6 – Term and Termination.
|
||||
|
||||
a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.
|
||||
|
||||
b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:
|
||||
|
||||
1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or
|
||||
|
||||
2. upon express reinstatement by the Licensor.
|
||||
|
||||
For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.
|
||||
|
||||
c. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.
|
||||
|
||||
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
|
||||
|
||||
### Section 7 – Other Terms and Conditions.
|
||||
|
||||
a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.
|
||||
|
||||
b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.
|
||||
|
||||
### Section 8 – Interpretation.
|
||||
|
||||
a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.
|
||||
|
||||
b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.
|
||||
|
||||
c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.
|
||||
|
||||
d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.
|
||||
|
||||
> Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at [creativecommons.org/policies](http://creativecommons.org/policies), Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses.
|
||||
>
|
||||
> Creative Commons may be contacted at creativecommons.org
|
||||
|
124
Documentation/getting_started/writing_documentation.md
Normal file
@ -0,0 +1,124 @@
|
||||
# coreboot documentation guidelines
|
||||
|
||||
> Documentation is like sex: when it is good, it is very, very good;
|
||||
> and when it is bad, it is better than nothing.
|
||||
|
||||
That said please always try to write documentation! One problem in the
|
||||
firmware development is the missing documentation. In this document
|
||||
you will get a brief introduction how to write, submit and publish
|
||||
documenation to coreboot.
|
||||
|
||||
## Preparations
|
||||
|
||||
coreboot uses [Sphinx] documentation tool. We prefer the markdown format
|
||||
over reStructuredText so only embedded ReST is supported. Checkout the
|
||||
[Markdown Guide] for more information.
|
||||
|
||||
### Install Sphinx
|
||||
|
||||
Please follow this official [guide] to install sphinx.
|
||||
You will also need python-recommonmark for sphinx to be able to handle
|
||||
markdown documenation.
|
||||
|
||||
The recommended version is sphinx 1.7.7, sphinx_rtd_theme 0.4.1 and
|
||||
recommonmark 0.4.0.
|
||||
|
||||
### Optional
|
||||
|
||||
Install [shpinx-autobuild] for rebuilding markdown/rst sources on the fly!
|
||||
|
||||
## Basic and simple rules
|
||||
|
||||
The following rules should be followed in order to get it at least reviewed
|
||||
on [review.coreboot.org].
|
||||
|
||||
Documentation:
|
||||
|
||||
1. Must be written in **markdown** with **embedded reStructuredText**
|
||||
format.
|
||||
2. Must be written in **English**.
|
||||
3. Must be placed into **Documentation/** directory subfolder.
|
||||
4. Should follow the same directory structure as **src/** when practical.
|
||||
5. Must be referenced from within other markdown files
|
||||
6. The commit must follow the [Gerrit Guidelines].
|
||||
7. Must have all **lowercase filenames**.
|
||||
8. Running text should have a visible width of about **72 chars**.
|
||||
9. Should not **duplicate** documentation, but reference it instead.
|
||||
10. Must not include the same picture in multiple markdown files.
|
||||
11. Images should be kept small. They should be under 700px in width, as
|
||||
the current theme doesn't allow bigger images.
|
||||
12. Shouldn't cover implementation details; for details, the code is the
|
||||
reference.
|
||||
|
||||
## Referencing markdown documents
|
||||
|
||||
Starting with Sphinx 1.6 recommonmark's *auto_doc_ref* feature is broken.
|
||||
To reference documents use the TOC tree or inline RST code.
|
||||
|
||||
## Markdown and Tables
|
||||
|
||||
Under Sphinx markdown tables are not supported. Therefore you can use following
|
||||
code block to write tables in reStructuredText and embed them into the markdown:
|
||||
|
||||
```eval_rst
|
||||
+------------+------------+-----------+
|
||||
| Header 1 | Header 2 | Header 3 |
|
||||
+============+============+===========+
|
||||
| body row 1 | column 2 | column 3 |
|
||||
+------------+------------+-----------+
|
||||
| body row 2 | Cells may span columns.|
|
||||
+------------+------------+-----------+
|
||||
| body row 3 | Cells may | - Cells |
|
||||
+------------+ span rows. | - contain |
|
||||
| body row 4 | | - blocks. |
|
||||
+------------+------------+-----------+
|
||||
``` #just a code block is enough
|
||||
|
||||
## TocTree
|
||||
|
||||
To make sure that all documents are included into the final documentation, you
|
||||
must reference each document from at least one *toctree*. The *toctree* must
|
||||
only reference files in the same folder or in subfolders !
|
||||
To create a toctree, simply use a bullet list or numbered list with a single
|
||||
reference. References in regular text aren't considered as *toctree* .
|
||||
This feature is enabled by recommonmark's *enable_auto_toc_tree* .
|
||||
|
||||
**Example toctree:**
|
||||
|
||||
```
|
||||
* [Chapter 1](chapter1.md)
|
||||
* [Chapter 2](chapter2.md)
|
||||
* [Subchapter](sub/index.md)
|
||||
```
|
||||
|
||||
```
|
||||
1. [Chapter 1](chapter1.md)
|
||||
2. [Chapter 2](chapter2.md)
|
||||
```
|
||||
|
||||
If you do only reference the document, but do not include it in any toctree,
|
||||
you'll see the following warning:
|
||||
**WARNING: document isn't included in any toctree**
|
||||
|
||||
## CSV
|
||||
|
||||
You can import CSV files and let sphinx automatically convert them to human
|
||||
readable tables, using the following reStructuredText snipped:
|
||||
|
||||
```eval_rst
|
||||
.. csv-table::
|
||||
:header: "Key", "Value"
|
||||
:file: keyvalues.csv
|
||||
```
|
||||
|
||||
Of course this can only be done from a markdown file that is included in the
|
||||
TOC tree.
|
||||
|
||||
[coreboot]: https://coreboot.org
|
||||
[Documentation]: https://review.coreboot.org/cgit/coreboot.git/tree/Documentation
|
||||
[shpinx-autobuild]: https://github.com/GaretJax/sphinx-autobuild
|
||||
[guide]: http://www.sphinx-doc.org/en/stable/install.html
|
||||
[Sphinx]: http://www.sphinx-doc.org/en/master/
|
||||
[Markdown Guide]: https://www.markdownguide.org/
|
||||
[Gerrit Guidelines]: gerrit_guidelines.md
|
||||
[review.coreboot.org]: https://review.coreboot.org
|
64
Documentation/gfx/display-panel.md
Normal file
@ -0,0 +1,64 @@
|
||||
Display Panel Specifics
|
||||
=======================
|
||||
|
||||
Timing Parameters
|
||||
-----------------
|
||||
|
||||
From the binary file `edid` in the sys filesystem on Linux, the panel can be
|
||||
identified. The exact path may differ slightly. Here is an example:
|
||||
|
||||
```sh
|
||||
$ strings /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/edid
|
||||
@0 5
|
||||
LG Display
|
||||
LP140WF3-SPD1
|
||||
```
|
||||
|
||||
To figure out the timing parameters, refer to the [Intel Programmer's Reference
|
||||
Manuals](https://01.org/linuxgraphics/documentation/hardware-specification-prms)
|
||||
and try to find the datasheet of the panel using the information from `edid`.
|
||||
In the example above, you would search for `LP140WF3-SPD1`. Find a table listing
|
||||
the power sequence timing parameters, which are usually named T[N] and also
|
||||
referenced in Intel's respective registers listing. You need the values for
|
||||
`PP_ON_DELAYS`, `PP_OFF_DELAYS` and `PP_DIVISOR` for your `devicetree.cb`:
|
||||
|
||||
```eval_rst
|
||||
+-----------------------------+---------------------------------------+-----+
|
||||
| Intel docs | devicetree.cb | eDP |
|
||||
+-----------------------------+---------------------------------------+-----+
|
||||
| Power up delay | `gpu_panel_power_up_delay` | T3 |
|
||||
+-----------------------------+---------------------------------------+-----+
|
||||
| Power on to backlight on | `gpu_panel_power_backlight_on_delay` | T7 |
|
||||
+-----------------------------+---------------------------------------+-----+
|
||||
| Power Down delay | `gpu_panel_power_down_delay` | T10 |
|
||||
+-----------------------------+---------------------------------------+-----+
|
||||
| Backlight off to power down | `gpu_panel_power_backlight_off_delay` | T9 |
|
||||
+-----------------------------+---------------------------------------+-----+
|
||||
| Power Cycle Delay | `gpu_panel_power_cycle_delay` | T12 |
|
||||
+-----------------------------+---------------------------------------+-----+
|
||||
```
|
||||
|
||||
Intel GPU Tools and VBT
|
||||
-----------------------
|
||||
|
||||
The Intel GPU tools are in a package called either `intel-gpu-tools` or
|
||||
`igt-gpu-tools` in most distributions of Linux-based operating systems.
|
||||
In the coreboot `util/` directory, you can find `intelvbttool`.
|
||||
|
||||
From a running system, you can dump the register values directly:
|
||||
```sh
|
||||
$ intel_reg dump --all | grep PCH_PP
|
||||
PCH_PP_STATUS (0x000c7200): 0x80000008
|
||||
PCH_PP_CONTROL (0x000c7204): 0x00000007
|
||||
PCH_PP_ON_DELAYS (0x000c7208): 0x07d00001
|
||||
PCH_PP_OFF_DELAYS (0x000c720c): 0x01f40001
|
||||
PCH_PP_DIVISOR (0x000c7210): 0x0004af06
|
||||
```
|
||||
|
||||
You can obtain the timing values from a VBT (Video BIOS Table), which you can
|
||||
dump from a vendor UEFI image:
|
||||
```sh
|
||||
$ intel_vbt_decode data.vbt | grep T3
|
||||
Power Sequence: T3 2000 T7 10 T9 2000 T10 500 T12 5000
|
||||
T3 optimization: no
|
||||
```
|
@ -48,13 +48,16 @@ follows:
|
||||
|
||||
* `lightup_ok`: returns whether the initialization succeeded `1` or
|
||||
failed `0`. Currently, only the case that no display
|
||||
could be found counts as failure. A failure at a la-
|
||||
ter stage (e.g. failure to train a DP) is not propa-
|
||||
gated.
|
||||
could be found counts as failure. A failure at a
|
||||
later stage (e.g. failure to train a DP) is not
|
||||
propagated.
|
||||
|
||||
GMA: Per Board Configuration
|
||||
----------------------------
|
||||
|
||||
In order to set up the display panel, see the
|
||||
[display panel-specific documentation](/gfx/display-panel.md).
|
||||
|
||||
There are a few Kconfig symbols to consider. To indicate that a
|
||||
board can initialize graphics through *libgfxinit*:
|
||||
|
||||
@ -76,8 +79,11 @@ know through which interface the EDID can be queried:
|
||||
select GFX_GMA_ANALOG_I2C_HDMI_D
|
||||
|
||||
Beside Kconfig options, *libgfxinit* needs to know which ports are
|
||||
implemented on a board and should be probed for displays. Each
|
||||
board has to implement the package `GMA.Mainboard` with a list:
|
||||
implemented on a board and should be probed for displays. The mapping
|
||||
between the physical ports and these entries depends on the hardware
|
||||
implementation and can be recovered by testing or studying the output
|
||||
of `intelvbttool` or `intel_vbt_decode`.
|
||||
Each board has to implement the package `GMA.Mainboard` with a list:
|
||||
|
||||
ports : HW.GFX.GMA.Display_Probing.Port_List;
|
||||
|
||||
|
@ -1,21 +1,189 @@
|
||||
Welcome to coreboot's documentation!
|
||||
====================================
|
||||
# Welcome to the coreboot documentation
|
||||
|
||||
This is the developer documentation for [coreboot](https://coreboot.org).
|
||||
It is built from Markdown files in the
|
||||
[Documentation](https://review.coreboot.org/cgit/coreboot.git/tree/Documentation)
|
||||
directory in the source code.
|
||||
|
||||
## Purpose of coreboot
|
||||
|
||||
coreboot is a project to develop open source boot firmware for various
|
||||
architectures. Its design philosophy is to do the bare minimum necessary to
|
||||
ensure that hardware is usable and then pass control to a different program
|
||||
called the _payload_.
|
||||
|
||||
### Separation of concerns
|
||||
|
||||
The payload can then provide user interfaces, file system drivers,
|
||||
various policies etc. to load the OS. Through this separation of concerns
|
||||
coreboot maximizes reusability of the complicated and fundamental hardware
|
||||
initialization routines across many different use cases, no matter if
|
||||
they provide standard interfaces or entirely custom boot flows.
|
||||
|
||||
Popular [payloads](payloads.md) in use with coreboot are SeaBIOS,
|
||||
which provides PCBIOS services, Tianocore, which provides UEFI services,
|
||||
GRUB2, the bootloader used by many Linux distributions, or depthcharge,
|
||||
a custom boot loader used on Chromebooks.
|
||||
|
||||
### No resident services (if possible)
|
||||
|
||||
Ideally coreboot completely hands over control to the payload with no
|
||||
piece of coreboot remaining resident in the system, or even available
|
||||
for callback. Given the reality of contemporary computer design,
|
||||
there's often a small piece that survives for the whole runtime of
|
||||
the computer. It runs in a highly privileged CPU mode (e.g. SMM on x86)
|
||||
and provides some limited amount of services to the OS. But here, too,
|
||||
coreboot aims to keep everything at the minimum possible, both in scope
|
||||
(e.g. services provided) and code size.
|
||||
|
||||
### No specification of its own
|
||||
|
||||
coreboot uses a very minimal interface to the payload, and otherwise
|
||||
doesn't impose any standards on the ecosystem. This is made possible by
|
||||
separating out concerns (interfaces and resident services are delegated
|
||||
to the payload), but it's also a value that is deeply ingrained in the
|
||||
project. We fearlessly rip out parts of the architecture and remodel it
|
||||
when a better way of doing the same was identified.
|
||||
|
||||
### One tree for everything
|
||||
|
||||
Another difference to various other firmware projects is that we try
|
||||
to avoid fragmentation: the traditional development model of firmware
|
||||
is one of "set and forget" in which some code base is copied, adapted
|
||||
for the purpose at hands, shipped and only touched again if there's an
|
||||
important fix to do.
|
||||
|
||||
All newer development happens on another copy of some code base without
|
||||
flowing back to any older copy, and so normally there's a huge amount
|
||||
of fragmentation.
|
||||
|
||||
In coreboot, we try to keep everything in a single source tree, and
|
||||
lift up older devices when we change something fundamentally. That way,
|
||||
new and old devices benefit alike from new development in the common parts.
|
||||
|
||||
There's a downside to that: Some devices might have no maintainer anymore
|
||||
who could ensure that coreboot is still functional for them after a big
|
||||
rework, or maybe a rework even requires knowledge that doesn't exist
|
||||
anymore within the project (for example because the developer moved on
|
||||
to do something else).
|
||||
|
||||
In this case, we announce the deprecation of the device and defer the big
|
||||
rework until the deprecation period passed, typically 6-12 months. This
|
||||
gives interested developers a chance to step in and bring devices up to
|
||||
latest standards.
|
||||
|
||||
While without this deprecation mechanism we could inflate the number
|
||||
of supported devices (probably 300+), only a tiny fraction of them
|
||||
would even work, which helps nobody.
|
||||
|
||||
## Scope of the coreboot project
|
||||
|
||||
coreboot as a project is closer to the Linux kernel than to most
|
||||
user level programs. One place where this becomes apparent is the
|
||||
distribution mechanism: The project itself only provides source code
|
||||
and does not ship ready-to-install coreboot-based firmware binaries.
|
||||
|
||||
What the project distributes, even if - strictly speaking - it's not
|
||||
part of the project, is a collection of vendor binaries (that we call
|
||||
"blobs") that are redistributable. They cover the parts of hardware init
|
||||
that we haven't managed to open up, and while some hardware requires them,
|
||||
there's still hardware that can boot without any such binary components.
|
||||
|
||||
The build system can integrate them into the build automatically if
|
||||
required, but that requires explicit opt-in and downloads a separate
|
||||
repository to ensure that the distinction remains clear.
|
||||
|
||||
There are various [distributions](distributions.md), some shipping
|
||||
coreboot with their hardware (e.g. Purism or Chromebooks), others
|
||||
providing after-market images for various devices (e.g. Libreboot,
|
||||
MrChromebox).
|
||||
|
||||
If you want to use coreboot on your system, that's great!
|
||||
|
||||
Please note that the infrastructure around coreboot.org is built for
|
||||
development purposes. We gladly help out users through our communication
|
||||
channels, but we also expect a "firmware developer mindset": If compiling
|
||||
your own firmware and, at some point, recovering from a bad flash by
|
||||
hooking wires onto chips in your computer sounds scary to you, you're
|
||||
right, as it is.
|
||||
|
||||
If that's _way_ beyond your comfort zone, consider looking into the
|
||||
various distributions, as they typically provide pre-tested binaries
|
||||
which massively reduces the risk that the binary you write to flash is
|
||||
one that won't boot the system (with the consequence that to get it to work
|
||||
again, you'll need to attach various tools to various chips)
|
||||
|
||||
## The coreboot community
|
||||
|
||||
If you're interested in getting your hands dirty (incl. potentially wiring
|
||||
up an external flasher to your computer), you've come to the right place!
|
||||
|
||||
We have various [forums](community/forums.md) where we discuss and coordinate
|
||||
our activities, review patches, and help out each other. To
|
||||
help promote a positive atmosphere, we established a [Code of
|
||||
Conduct](community/code_of_conduct.md). We invested a lot of time
|
||||
to balance it out, so please keep it in mind when engaging with the
|
||||
coreboot community.
|
||||
|
||||
Every now and then, coreboot is present in one way or another at
|
||||
[conferences](community/conferences.md). If you're around, come and
|
||||
say hello!
|
||||
|
||||
## Getting the source code
|
||||
|
||||
coreboot is primarily developed in the
|
||||
[git](https://review.coreboot.org/cgit/coreboot.git) version control
|
||||
system, using [Gerrit](https://review.coreboot.org) to manage
|
||||
contributions and code review.
|
||||
|
||||
In general we try to keep the `master` branch in the repository functional
|
||||
for all hardware we support. So far, the only guarantee we can make is
|
||||
that the master branch will (nearly) always build for all boards in a
|
||||
standard configuration.
|
||||
|
||||
However, we're continually working on improvements to our infrastructure to
|
||||
get better in that respect, e.g. by setting up boot testing facilities. This
|
||||
is obviously more complex than regular integration testing, so progress
|
||||
is slow.
|
||||
|
||||
### What our releases mean
|
||||
|
||||
We also schedule two source code releases every year, around April and
|
||||
October. These releases see some very limited testing and mostly serve
|
||||
as synchronization points for deprecation notices and for other projects
|
||||
such as external distributions.
|
||||
|
||||
This approach and terminology differs somewhat from how other projects handle
|
||||
releases where releases are well-tested artifacts and the development
|
||||
repository tends to be unstable. The "rolling release" model of some projects,
|
||||
for example OpenBSD, is probably the closest cousin of our approach.
|
||||
|
||||
Contents:
|
||||
|
||||
* [Lesson 2: Submitting a patch to coreboot.org](Lesson2.md)
|
||||
* [Gerrit Etiquette and Guidelines](gerrit_guidelines.md)
|
||||
* [coreboot's build system](build_system.md)
|
||||
* [Kconfig in coreboot](core/Kconfig.md)
|
||||
* [Use of git submodules in coreboot](submodules.md)
|
||||
* [Timestamps](timestamp.md)
|
||||
* [Getting Started](getting_started/index.md)
|
||||
* [Rookie Guide](lessons/index.md)
|
||||
* [Coding Style](coding_style.md)
|
||||
* [Project Ideas](contributing/project_ideas.md)
|
||||
* [Code of Conduct](community/code_of_conduct.md)
|
||||
* [Community forums](community/forums.md)
|
||||
* [coreboot at conferences](community/conferences.md)
|
||||
* [Payloads](payloads.md)
|
||||
* [Distributions](distributions.md)
|
||||
* [Intel IFD Binary Extraction](Binary_Extraction.md)
|
||||
* [Dealing with Untrusted Input in SMM](technotes/2017-02-dealing-with-untrusted-input-in-smm.md)
|
||||
* [ABI data consumption](abi-data-consumption.md)
|
||||
* [GPIO toggling in ACPI AML](acpi/gpio.md)
|
||||
* [Native Graphics Initialization with libgfxinit](gfx/libgfxinit.md)
|
||||
* [Sandy Bridge Raminit](Intel/NativeRaminit/Sandybridge.md)
|
||||
* [Display panel-specific documentation](gfx/display-panel.md)
|
||||
* [Architecture-specific documentation](arch/index.md)
|
||||
* [Platform independend drivers documentation](drivers/index.md)
|
||||
* [Northbridge-specific documentation](northbridge/index.md)
|
||||
* [System on Chip-specific documentation](soc/index.md)
|
||||
* [Mainboard-specific documentation](mainboard/index.md)
|
||||
* [Payload-specific documentation](lib/payloads/index.md)
|
||||
* [Library-specific documentation](lib/index.md)
|
||||
* [Security](security/index.md)
|
||||
* [SuperIO-specific documentation](superio/index.md)
|
||||
* [Vendorcode-specific documentation](vendorcode/index.md)
|
||||
* [Utilities](util.md)
|
||||
* [Release notes for past releases](releases/index.md)
|
||||
* [Flashing firmware tutorial](flash_tutorial/index.md)
|
||||
|
4
Documentation/lessons/index.md
Normal file
@ -0,0 +1,4 @@
|
||||
# Rookie Guide
|
||||
|
||||
* [Lesson 1: Starting from scratch](lesson1.md)
|
||||
* [Lesson 2: Submitting a patch to coreboot.org](lesson2.md)
|
169
Documentation/lessons/lesson1.md
Normal file
@ -0,0 +1,169 @@
|
||||
coreboot Lesson 1: Starting from scratch
|
||||
========================================
|
||||
|
||||
From a fresh Ubuntu 16.04 or 18.04 install, here are all the steps required for
|
||||
a very basic build:
|
||||
|
||||
Download, configure, and build coreboot
|
||||
---------------------------------------
|
||||
|
||||
### Step 1 - Install tools and libraries needed for coreboot
|
||||
$ sudo apt-get install -y bison build-essential curl flex git gnat libncurses5-dev m4 zlib1g-dev
|
||||
|
||||
### Step 2 - Download coreboot source tree
|
||||
$ git clone https://review.coreboot.org/coreboot
|
||||
$ cd coreboot
|
||||
|
||||
### Step 3 - Build the coreboot toolchain
|
||||
Please note that this can take a significant amount of time
|
||||
|
||||
$ make crossgcc-i386 CPUS=$(nproc)
|
||||
|
||||
Also note that you can possibly use your system toolchain, but the results are
|
||||
not reproducible, and may have issues, so this is not recommended. See step 5
|
||||
to use your system toolchain.
|
||||
|
||||
### Step 4 - Build the payload - coreinfo
|
||||
$ make -C payloads/coreinfo olddefconfig
|
||||
$ make -C payloads/coreinfo
|
||||
|
||||
### Step 5 - Configure the build
|
||||
|
||||
##### Configure your mainboard
|
||||
$ make menuconfig
|
||||
select 'Mainboard' menu
|
||||
Beside 'Mainboard vendor' should be '(Emulation)'
|
||||
Beside 'Mainboard model' should be 'QEMU x86 i440fx/piix4'
|
||||
select < Exit >
|
||||
These should be the default selections, so if anything else was set, run
|
||||
`make distclean` to remove your old config file and start over.
|
||||
|
||||
##### Optionally use your system toolchain (Again, not recommended)
|
||||
select 'General Setup' menu
|
||||
select 'Allow building with any toolchain'
|
||||
select < Exit >
|
||||
|
||||
##### Select the payload
|
||||
select 'Payload' menu
|
||||
select 'Add a Payload'
|
||||
choose 'An Elf executable payload'
|
||||
select 'Payload path and filename'
|
||||
enter 'payloads/coreinfo/build/coreinfo.elf'
|
||||
select < Exit >
|
||||
select < Exit >
|
||||
select < Yes >
|
||||
|
||||
##### check your configuration (optional step):
|
||||
|
||||
$ make savedefconfig
|
||||
$ cat defconfig
|
||||
|
||||
There should only be two lines (or 3 if you're using the system toolchain):
|
||||
|
||||
CONFIG_PAYLOAD_ELF=y
|
||||
CONFIG_PAYLOAD_FILE="payloads/coreinfo/build/coreinfo.elf"
|
||||
|
||||
### Step 6 - build coreboot
|
||||
$ make
|
||||
|
||||
At the end of the build, you should see:
|
||||
|
||||
Build emulation/qemu-i440fx (QEMU x86 i440fx/piix4)
|
||||
|
||||
This means your build was successful. The output from the build is in the build
|
||||
directory. build/coreboot.rom is the full rom file.
|
||||
|
||||
Test the image using QEMU
|
||||
-------------------------
|
||||
|
||||
### Step 7 - Install QEMU
|
||||
$ sudo apt-get install -y qemu
|
||||
|
||||
### Step 8 - Run QEMU
|
||||
Start QEMU, and point it to the ROM you just built:
|
||||
|
||||
$ qemu-system-x86_64 -bios build/coreboot.rom -serial stdio
|
||||
|
||||
You should see the serial output of coreboot in the original console window, and
|
||||
a new window will appear running the coreinfo payload.
|
||||
|
||||
Summary
|
||||
-------
|
||||
|
||||
### Step 1 summary - Install tools and libraries needed for coreboot
|
||||
You installed the minimum additional requirements for ubuntu to download and
|
||||
build coreboot. Ubuntu already has most of the other tools that would be
|
||||
required installed by default.
|
||||
|
||||
* `build-essential` is the basic tools for doing builds. It comes pre-installed
|
||||
on some Ubuntu flavors, and not on others.
|
||||
* `git` is needed to download coreboot from the coreboot git repository.
|
||||
* `libncurses5-dev` is needed to build the menu for 'make menuconfig'
|
||||
* `m4, bison, curl, flex, zlib1g-dev, gcc, gnat` and `g++` or `clang`
|
||||
are needed to build the coreboot toolchain. `gcc` and `gnat` have to be
|
||||
of the same version.
|
||||
|
||||
If you started with a different distribution, you might need to install many
|
||||
other items which vary by distribution.
|
||||
|
||||
### Step 2 summary - Download coreboot source tree
|
||||
This will download a 'read-only' copy of the coreboot tree. This just means
|
||||
that if you made changes to the coreboot tree, you couldn't immediately
|
||||
contribute them back to the community. To pull a copy of coreboot that would
|
||||
allow you to contribute back, you would first need to sign up for an account on
|
||||
gerrit.
|
||||
|
||||
### Step 3 summary - Build the coreboot toolchain.
|
||||
This builds one of the coreboot cross-compiler toolchains for X86 platforms.
|
||||
Because of the variability of compilers and the other required tools between
|
||||
the various operating systems that coreboot can be built on, coreboot supplies
|
||||
and uses its own cross-compiler toolchain to build the binaries that end up as
|
||||
part of the coreboot ROM. The toolchain provided by the operating system (the
|
||||
'host toolchain') is used to build various tools that will run on the local
|
||||
system during the build process.
|
||||
|
||||
### Step 4 summary - Build the payload
|
||||
To actually do anything useful with coreboot, you need to build a payload to
|
||||
include in the rom. The idea behind coreboot is that it does the minimum amount
|
||||
possible before passing control of the machine to a payload. There are various
|
||||
payloads such as grub or SeaBIOS that are typically used to boot the operating
|
||||
system. Instead, we used coreinfo, a small demonstration payload that allows the
|
||||
user to look at various things such as memory and the contents of coreboot's
|
||||
cbfs - the pieces that make up the coreboot rom.
|
||||
|
||||
### Step 5 summary - Configure the build
|
||||
This step configures coreboot's build options using the menuconfig interface to
|
||||
Kconfig. Kconfig is the same configuration program used by the linux kernel. It
|
||||
allows you to enable, disable, and change various values to control the coreboot
|
||||
build process, including which mainboard(motherboard) to use, which toolchain to
|
||||
use, and how the runtime debug console should be presented and saved.
|
||||
Anytime you change mainboards in Kconfig, you should always run `make distclean`
|
||||
before running `make menuconfig`. Due to the way that Kconfig works, values will
|
||||
be kept from the previous mainboard if you skip the clean step. This leads to a
|
||||
hybrid configuration which may or may not work as expected.
|
||||
|
||||
### Step 6 summary - Build coreboot
|
||||
You may notice that a number of other pieces are downloaded at the beginning of
|
||||
the build process. These are the git submodules used in various coreboot builds.
|
||||
By default, the _blobs_ submodule is not downloaded. This git submodule may be
|
||||
required for other builds for microcode or other binaries. To enable downloading
|
||||
this submodule, select the option "Allow use of binary-only repository" in the
|
||||
"General Setup" menu of Kconfig
|
||||
This attempts to build the coreboot rom. The rom file itself ends up in the
|
||||
build directory as 'coreboot.rom'. At the end of the build process, the build
|
||||
displayed the contents of the rom file.
|
||||
|
||||
### Step 7 summary - Install QEMU
|
||||
QEMU is a processor emulator which we can use to show coreboot
|
||||
|
||||
### Step 8 summary - Run QEMU
|
||||
Here's the command line broken down:
|
||||
* `qemu-system-x86_64`
|
||||
This starts the QEMU emulator with the i440FX host PCI bridge and PIIX3 PCI to
|
||||
ISA bridge.
|
||||
* `-bios build/coreboot.rom`
|
||||
Use the bios rom image that we just built. If this is left off, the standard
|
||||
SeaBIOS image that comes with QEMU is used.
|
||||
* `-serial stdio`
|
||||
Send the serial output to the console. This allows you to view the coreboot
|
||||
debug output.
|
305
Documentation/lessons/lesson2.md
Normal file
@ -0,0 +1,305 @@
|
||||
# coreboot Lesson 2: Submitting a patch to coreboot.org
|
||||
|
||||
## Part 1: Setting up an account at coreboot.org
|
||||
|
||||
If you already have an account, skip to Part 2.
|
||||
|
||||
Otherwise, go to <https://review.coreboot.org> in your preferred web browser.
|
||||
Select **Sign in** in the upper right corner.
|
||||
|
||||
Select the appropriate sign-in. For example, if you have a Google account,
|
||||
select **Google OAuth2** (gerrit-oauth-provider plugin). **Note:** Your
|
||||
username for the account will be the username of the account you used to
|
||||
sign-in with. (ex. your Google username).
|
||||
|
||||
## Part 2a: Set up RSA Private/Public Key
|
||||
|
||||
If you prefer to use an HTTP password instead, skip to Part 2b.
|
||||
|
||||
For the most up-to-date instructions on how to set up SSH keys with Gerrit go to
|
||||
<https://gerrit-documentation.storage.googleapis.com/Documentation/2.14.2/user-upload.html#configure_ssh>
|
||||
and follow the instructions there. Then, skip to Part 3.
|
||||
|
||||
Additionally, that section of the Web site provides explanation on starting
|
||||
an ssh-agent, which may be particularly helpful for those who anticipate
|
||||
frequently uploading changes.
|
||||
|
||||
If you instead prefer to have review.coreboot.org specific instructions,
|
||||
follow the steps below. Note that this particular section may have the
|
||||
most up-to-date instructions.
|
||||
|
||||
If you do not have an RSA key set up on your account already (as is the case
|
||||
with a newly created account), follow the instructions below; otherwise,
|
||||
doing so could overwrite an existing key.
|
||||
|
||||
In the upper right corner, select your name and click on **Settings**.
|
||||
Select **SSH Public Keys** on the left-hand side.
|
||||
|
||||
In a terminal, run `ssh-keygen` and confirm the default path `.ssh/id_rsa`.
|
||||
|
||||
Make a passphrase -- remember this phrase. It will be needed whenever you use
|
||||
this RSA Public Key. **Note:** You might want to use a short password, or
|
||||
forego the password altogether as you will be using it very often.
|
||||
|
||||
Open `id_rsa.pub`, copy all contents and paste into the textbox under
|
||||
"Add SSH Public Key" in the https://review.coreboot.org webpage.
|
||||
|
||||
## Part 2b: Setting up an HTTP Password
|
||||
|
||||
Alternatively, instead of using SSH keys, you can use an HTTP password. To do so,
|
||||
after you select your name and click on **Settings** on the left-hand side, rather
|
||||
than selecting **SSH Public Keys**, select **HTTP Password**.
|
||||
|
||||
Click **Generate Password**. This should fill the "Password" box with a password. Copy
|
||||
the password, and add the following to your `$HOME/.netrc` file:
|
||||
|
||||
machine review.coreboot.org login YourUserNameHere password YourPasswordHere
|
||||
|
||||
where YourUserNameHere is your username, and YourPasswordHere is the password you
|
||||
just generated.
|
||||
|
||||
## Part 3: Clone coreboot and configure it for submitting patches
|
||||
|
||||
On Gerrit, click on the **Browse** tab in the upper left corner and select
|
||||
**Repositories**. From the listing, select the "coreboot" repo. You may have
|
||||
to click the next page arrow at the bottom a few times to find it.
|
||||
|
||||
If you are using SSH keys, select **ssh** from the tabs under "Project
|
||||
coreboot" and run the "clone with commit-msg hook" command that's provided.
|
||||
This should prompt you for your id_rsa passphrase, if you previously set one.
|
||||
|
||||
**Note:** if the **ssh** option is not showing, check that you have a username
|
||||
set. Click the profile picture at the top right and select **User Settings**,
|
||||
then set your username in the **Profile** section.
|
||||
|
||||
If you are using HTTP, instead, select **http** from the tabs under "Project coreboot"
|
||||
and run the command that appears.
|
||||
|
||||
Now is a good time to configure your global git identity, if you haven't
|
||||
already.
|
||||
|
||||
git config --global user.name "Your Name"
|
||||
git config --global user.email "Your Email"
|
||||
|
||||
Finally, enter the local git repository and set up repository specific hooks
|
||||
and other configurations.
|
||||
|
||||
cd coreboot
|
||||
make gitconfig
|
||||
|
||||
## Part 4: Submit a commit
|
||||
|
||||
An easy first commit to make is fixing existing checkpatch errors and warnings
|
||||
in the source files. To see errors that are already present, build the files in
|
||||
the repository by running `make lint` in the coreboot directory. Alternatively,
|
||||
if you want to run `make lint` on a specific directory, run:
|
||||
|
||||
for file in $(git ls-files | grep <filepath>); do \
|
||||
util/lint/checkpatch.pl --file $file --terse; done
|
||||
|
||||
where `filepath` is the filepath of the directory (ex. `src/cpu/amd/car`).
|
||||
|
||||
Any changes made to files under the src directory are made locally,
|
||||
and can be submitted for review.
|
||||
|
||||
Once you finish making your desired changes, use the command line to stage
|
||||
and submit your changes. An alternative and potentially easier way to stage
|
||||
and submit commits is to use git cola, a graphical user interface for git. For
|
||||
instructions on how to do so, skip to Part 4b.
|
||||
|
||||
## Part 4a: Using the command line to stage and submit a commit
|
||||
|
||||
To use the command line to stage a commit, run
|
||||
|
||||
git add <filename>
|
||||
|
||||
where `filename` is the name of your file.
|
||||
|
||||
To commit the change, run
|
||||
|
||||
git commit -s
|
||||
|
||||
**Note:** The -s adds a signed-off-by line by the committer. Your commit should be
|
||||
signed off with your name and email (i.e. **Your Name** **\<Your Email\>**, based on
|
||||
what you set with git config earlier).
|
||||
|
||||
Running git commit first checks for any errors and warnings using lint. If
|
||||
there are any, you must go back and fix them before submitting your commit.
|
||||
You can do so by making the necessary changes, and then staging your commit again.
|
||||
|
||||
When there are no errors or warnings, your default text editor will open.
|
||||
This is where you will write your commit message.
|
||||
|
||||
The first line of your commit message is your commit summary. This is a brief
|
||||
one-line description of what you changed in the files using the template
|
||||
below:
|
||||
|
||||
<filepath>: Short description
|
||||
|
||||
For example,
|
||||
|
||||
cpu/amd/pi/00630F01: Fix checkpatch warnings and errors
|
||||
|
||||
**Note:** It is good practice to use present tense in your descriptions
|
||||
and do not punctuate your summary.
|
||||
|
||||
Then hit Enter. The next paragraph should be a more in-depth explanation of the
|
||||
changes you've made to the files. Again, it is good practice to use present
|
||||
tense. Ex.
|
||||
|
||||
Fix space prohibited between function name and open parenthesis,
|
||||
line over 80 characters, unnecessary braces for single statement blocks,
|
||||
space required before open brace errors and warnings.
|
||||
|
||||
When you have finished writing your commit message, save and exit the text
|
||||
editor. You have finished committing your change. If, after submitting your
|
||||
commit, you wish to make changes to it, running `git commit --amend` allows
|
||||
you to take back your commit and amend it.
|
||||
|
||||
When you are done with your commit, run `git push` to push your commit to
|
||||
coreboot.org. **Note:** To submit as a draft, use
|
||||
`git push origin HEAD:refs/drafts/master`. Submitting as a draft means that
|
||||
your commit will be on coreboot.org, but is only visible to those you add
|
||||
as reviewers.
|
||||
|
||||
This has been a quick primer on how to submit a change to Gerrit for review
|
||||
using git. You may wish to review the [Gerrit code review workflow
|
||||
documentation](https://gerrit-review.googlesource.com/Documentation/intro-user.html#code-review),
|
||||
especially if you plan to work on multiple changes at the same time.
|
||||
|
||||
## Part 4b: Using git cola to stage and submit a commit
|
||||
|
||||
If git cola is not installed on your machine, see
|
||||
<https://git-cola.github.io/downloads.html> for download instructions.
|
||||
|
||||
After making some edits to src files, rather than run `git add`, run
|
||||
`git cola` from the command line. You should see all of the files
|
||||
edited under "Modified".
|
||||
|
||||
In the textbox labeled "Commit summary" provide a brief one-line
|
||||
description of what you changed in the files according to the template
|
||||
below:
|
||||
|
||||
<filepath>: Short description
|
||||
|
||||
For example,
|
||||
|
||||
cpu/amd/pi/00630F01: Fix checkpatch warnings and errors
|
||||
|
||||
**Note:** It is good practice to use present tense in your descriptions
|
||||
and do not punctuate your short description.
|
||||
|
||||
In the larger text box labeled 'Extended description...' provide a more
|
||||
in-depth explanation of the changes you've made to the files. Again, it
|
||||
is good practice to use present tense. Ex.
|
||||
|
||||
Fix space prohibited between function name and open parenthesis,
|
||||
line over 80 characters, unnecessary braces for single statement blocks,
|
||||
space required before open brace errors and warnings.
|
||||
|
||||
Then press Enter two times to move the cursor to below your description.
|
||||
To the left of the text boxes, there is an icon with an downward arrow.
|
||||
Press the arrow and select "Sign Off." Make sure that you are signing off
|
||||
with your name and email (i.e. **Your Name** **\<Your Email\>**, based on what
|
||||
you set with git config earlier).
|
||||
|
||||
Now, review each of your changes and mark either individual changes or
|
||||
an entire file as Ready to Commit by marking it as 'Staged'. To do
|
||||
this, select one file from the 'Modified' list. If you only want to
|
||||
submit particular changes from each file, then highlight the red and
|
||||
green lines for your changes, right click and select 'Stage Selected
|
||||
Lines'. Alternatively, if an entire file is ready to be committed, just
|
||||
double click on the file under 'Modified' and it will be marked as
|
||||
Staged.
|
||||
|
||||
Once the descriptions are done and all the edits you would like to
|
||||
commit have been staged, press 'Commit' on the right of the text
|
||||
boxes.
|
||||
|
||||
If the commit fails due to persisting errors, a text box will appear
|
||||
showing the errors. You can correct these errors within 'git cola' by
|
||||
right-clicking on the file in which the error occurred and selecting
|
||||
'Launch Diff Tool'. Make necessary corrections, close the Diff Tool and
|
||||
'Stage' the corrected file again. It might be necessary to refresh
|
||||
'git cola' in order for the file to be shown under 'Modified' again.
|
||||
Note: Be sure to add any other changes that haven't already been
|
||||
explained in the extended description.
|
||||
|
||||
When ready, select 'Commit' again. Once all errors have been satisfied
|
||||
and the commit succeeds, move to the command line and run `git push`.
|
||||
**Note:** To submit as a draft, use `git push origin HEAD:refs/drafts/master`.
|
||||
Submitting as a draft means that your commit will be on coreboot.org, but is
|
||||
only visible to those you add as reviewers.
|
||||
|
||||
## Part 5: Getting your commit reviewed
|
||||
|
||||
Your commits can now be seen on review.coreboot.org if you select "Your"
|
||||
and click on "Changes" and can be reviewed by others. Your code will
|
||||
first be reviewed by build bot (Jenkins), which will either give you a warning
|
||||
or verify a successful build; if so, your commit will receive a +1. Other
|
||||
users may also give your commit +1. For a commit to be merged, it needs
|
||||
to receive a +2. **Note:** A +1 and a +1 does not make a +2. Only certain users
|
||||
can give a +2.
|
||||
|
||||
## Part 6 (optional): bash-git-prompt
|
||||
|
||||
To help make it easier to understand the state of the git repository
|
||||
without running `git status` or `git log`, there is a way to make the
|
||||
command line show the status of the repository at every point. This
|
||||
is through bash-git-prompt.
|
||||
|
||||
Instructions for installing this are found at:
|
||||
<https://github.com/magicmonty/bash-git-prompt>.
|
||||
**Note:** Feel free to search for different versions of git prompt,
|
||||
as this one is specific to bash.
|
||||
|
||||
Alternatively, follow the instructions below:
|
||||
Run the following two commands in the command line:
|
||||
|
||||
cd
|
||||
git clone https://github.com/magicmonty/bash-git-prompt.git .bash-git-prompt --depth=1
|
||||
|
||||
**Note:** cd will change your directory to your home directory, so the
|
||||
git clone command will be run there.
|
||||
|
||||
Finally, open the `~/.bashrc` file and append the following two lines:
|
||||
|
||||
GIT_PROMPT_ONLY_IN_REPO=1
|
||||
source ~/.bash-git-prompt/gitprompt.sh
|
||||
|
||||
Now, whenever you are in a git repository, it will continuously display
|
||||
its state.
|
||||
|
||||
There also are additional configurations that you can change depending on your
|
||||
preferences. If you wish to do so, look at the "All configs for .bashrc" section
|
||||
on <https://github.com/magicmonty/bash-git-prompt>. Listed in that section are
|
||||
various lines that you can copy, uncomment and add to your .bashrc file to
|
||||
change the configurations. Example configurations include avoid fetching remote
|
||||
status, and supporting versions of Git older than 1.7.10.
|
||||
|
||||
## Appendix: Miscellaneous Advice
|
||||
|
||||
### Updating a commit after running git push:
|
||||
|
||||
Suppose you would like to update a commit that has already been pushed to the
|
||||
remote repository. If the commit you wish to update is the most recent
|
||||
commit you have made, after making your desired changes, stage the files
|
||||
(either using git add or in git cola), and amend the commit. To do so,
|
||||
if you are using the command line, run `git commit --amend`. If you are
|
||||
using git cola, click on the gear icon located on the upper left side under
|
||||
**Commit** and select **Amend Last Commit** in the drop down menu. Then, stage
|
||||
the files you have changed, commit the changes, and run git push to push the
|
||||
changes to the remote repository. Your change should be reflected in Gerrit as
|
||||
a new patch set.
|
||||
|
||||
If, however, the commit you wish to update is not the most recent commit you
|
||||
have made, you will first need to checkout that commit. To do so, find the
|
||||
URL of the commit on <https://review.coreboot.org> and go to that page; if
|
||||
the commit is one that you previously pushed, it can be found by selecting
|
||||
**My** and then **Changes** in the upper left corner. To checkout this commit,
|
||||
in the upper right corner, click on **Download**, and copy the command listed
|
||||
next to checkout by clicking **Copy to clipboard**. Then, run the copied
|
||||
command in your coreboot repository. Now, the last commit should be the most
|
||||
recent commit to that patch; to update it, make your desired changes, stage
|
||||
the files, then amend and push the commit using the instructions in the above
|
||||
paragraph.
|
@ -8,8 +8,9 @@ listed as consumable is subject to change without notice.
|
||||
## Background and Usage
|
||||
|
||||
coreboot passes information to downstream users using coreboot tables. These
|
||||
table definitions can be found in src/include/boot/coreboot_tables.h and
|
||||
payloads/libpayload/include/coreboot_tables.h respectively within coreboot
|
||||
table definitions can be found in
|
||||
`./src/commonlib/include/commonlib/coreboot_tables.h` and
|
||||
`./payloads/libpayload/include/coreboot_tables.h` respectively within coreboot
|
||||
and libpayload. One of the most vital and important pieces of information
|
||||
found within these tables is the memory map of the system indicating
|
||||
available and reserved memory.
|
153
Documentation/lib/flashmap.md
Normal file
@ -0,0 +1,153 @@
|
||||
# Flashmap and Flashmap Descriptor in coreboot
|
||||
|
||||
## Flashmap
|
||||
|
||||
[Flashmap](https://code.google.com/p/flashmap) (FMAP) is a binary format to
|
||||
describe partitions in a flash chip. It was added to coreboot to support the
|
||||
requirements of Chromium OS firmware but then was also used in other scenarios
|
||||
where precise placement of data in flash was necessary, or for data that is
|
||||
written to at runtime, as CBFS is considered too fragile for such situations.
|
||||
The Flashmap implementation inside coreboot is the de facto standard today.
|
||||
|
||||
Flashmap partitions the image into clearly delimited sections and some of those
|
||||
sections may be CBFSes that can hold arbitrary-length files (at least one, the
|
||||
default CBFS, called `COREBOOT`). General guidance is that everything with
|
||||
strict layout requirements (e.g. must be aligned to erase blocks or
|
||||
something else) should have its own Flashmap section, and everything else should
|
||||
normally go into CBFS.
|
||||
|
||||
The Flashmap itself starts with a header `struct fmap` and followed by a list of
|
||||
section descriptions in `strcut fmap_area`.
|
||||
|
||||
### Header
|
||||
The header `struct fmap` has following fields:
|
||||
* `signature`: 8 characters as `"__FMAP__"`.
|
||||
* `ver_major`: one byte for major version (currently only 1).
|
||||
* `ver_minor`: one byte for minor version (current value is 1).
|
||||
* `base`: 64 bit integer for the address of the firmware binary.
|
||||
* `size`: 32 bit integer for the size of firmware binary in bytes.
|
||||
* `name`: 32 characters for the name of the firmware binary.
|
||||
* `nareas`: 16 bit integer for the number of area definitions (i.e., how many
|
||||
sections are in this firmware image) following the header.
|
||||
|
||||
### Area Definition
|
||||
The section is defined by `struct fmap_area` with following fields:
|
||||
* `offset`: 32 bit integer for where the area starts (relative to `base` in
|
||||
header).
|
||||
* `size`: 32 bit integer for the size of area in bytes.
|
||||
* `name`: 32 characters for a descriptive name of this area. Should be unique to
|
||||
all sections inside same Flashmap.
|
||||
* `flags`: 16 bit integer for attributes of this area (see below).
|
||||
|
||||
### Area Flags
|
||||
Currently the defined values for `flags` in `struct fmap_area` are:
|
||||
* `FMAP_AREA_PRESERVE`: suggesting the section should be preserved when
|
||||
updating firmware, usually for product data like serial number, MAC address,
|
||||
or calibration and cache data.
|
||||
* `FMAP_AREA_STATIC`: Not really used today.
|
||||
* `FMAP_AREA_COMPRESSED`: Not really used today.
|
||||
* `FMAP_AREA_RO`: Not really used today.
|
||||
|
||||
### FMAP section
|
||||
The whole Flashmap (`struct fmap` and list of `struct fmap_area`) should be
|
||||
stored in a standalone section named as `FMAP` (which should be also described
|
||||
by the Flashmap itself in `struct fmap_area`). There's no restriction for where
|
||||
it should be located (or how large), but usually we need to do a linear or
|
||||
binary search on whole firmware binary image to find Flashmap so a properly
|
||||
aligned address would be better.
|
||||
|
||||
### COREBOOT section
|
||||
coreboot firmware images (`coreboot.rom`) should have at least one Flashmap
|
||||
section that is reserved for CBFS. Usually it is named as `COREBOOT`.
|
||||
|
||||
## Flashmap Descriptor
|
||||
|
||||
Since coreboot is starting to use a "partition" of Flashmap to describe the
|
||||
flash chip layout (both at runtime and when flashing a new image onto a
|
||||
chip), the project needs a reasonably expressive plain text format for
|
||||
representing such sections in the source tree.
|
||||
|
||||
Flashmap Descriptor (FMD) is a [language and
|
||||
compiler](https://chromium-review.googlesource.com/#/c/255031) inside coreboot
|
||||
utility folder that can be used to generate final firmware images (i.e.
|
||||
`coreboot.rom`) formatted by Flashmap.
|
||||
|
||||
The FMD implementation is in coreboot `utils/cbfstool` folder. Here's an
|
||||
informal language description:
|
||||
|
||||
```
|
||||
# <line comment>
|
||||
<image name>[@<memory-mapped address>] <image size> {
|
||||
<section name>[(flags)][@<offset from start of image>] [<section size>] [{
|
||||
<subsection name>[@<offset from start of parent section>] [<subsection size>] [{
|
||||
# Sections can be nested as deeply as desired
|
||||
<subsubsection name>[(flags)][@...] [...] [{...}]
|
||||
}]
|
||||
[<subsection name>[(flags)][@...] [...] [{...}]]
|
||||
# There can be many subsections at each level of nesting: they will be inserted
|
||||
# sequentially, and although gaps are allowed, any provided offsets are always
|
||||
# relative to the closest parent node's and must be strictly increasing with neither
|
||||
# overlapping nor degenerate-size sections.
|
||||
}]
|
||||
}
|
||||
```
|
||||
|
||||
Note that the above example contains a few symbols that are actually meta
|
||||
syntax, and therefore have neither meaning nor place in a real file. The `<.*>`s
|
||||
indicate placeholders for parameters:
|
||||
|
||||
* The names are strings, which are provided as single-word (no white space)
|
||||
groups of syntactically unimportant symbols (i.e. every thing except `@`, `{`,
|
||||
and `}`): they are not surrounded by quotes or any other form of delimiter.
|
||||
* The other fields are non-negative integers, which may be given as decimal or
|
||||
hexadecimal; in either case, a `K`, `M`, or `G` may be appended (without
|
||||
intermediate white space) as a multiplier.
|
||||
* Comments consist of anything one manages to enter, provided it doesn't start a
|
||||
new line.
|
||||
|
||||
The `[.*]`s indicate that a portion of the file could be omitted altogether:
|
||||
|
||||
* Just because something is noted as optional doesn't mean it is in every case:
|
||||
the answer might actually depend on which other information is---or
|
||||
isn't---provided.
|
||||
* The "flag" specifies the attribute or type for given section. The most
|
||||
important supported flag is "CBFS", which indicates the section will contain
|
||||
a CBFS structure.
|
||||
* In particular, it is only legal to place a (CBFS) flag on a leaf section; that
|
||||
is, choosing to add child sections excludes the possibility of putting a CBFS
|
||||
in their parent. Such flags are only used to decide where CBFS empty file
|
||||
headers should be created, and do not result in the storage of any additional
|
||||
metadata in the resulting FMAP section.
|
||||
|
||||
Additionally, it's important to note these properties of the overall file and
|
||||
its values:
|
||||
|
||||
* Other than within would-be strings and numbers, white space is ignored. It
|
||||
goes without saying that such power comes with responsibility, which is why
|
||||
this sentence is here.
|
||||
* Although the `section name` must be globally unique, one of them may (but is
|
||||
not required to) match the image name.
|
||||
* It is a syntax error to supply a number (besides 0) that begins with the
|
||||
character `0`, as there is no intention of adding octals to the mix.
|
||||
* The image's memory address should be present on (and only on) layouts for
|
||||
memory-mapped chips.
|
||||
* Although it may be evident from above, all `section` offsets are relative only
|
||||
to the immediate parent. There is no way to include an absolute offset (i.e.
|
||||
from the beginning of flash), which means that it is "safe" to reorder the
|
||||
sections within a particular level of nesting, as long as the change doesn't
|
||||
cause their positions and sizes to necessitate overlap or zero sizes.
|
||||
* A `section` with omitted offset is assumed to start at as low a position as
|
||||
possible (with no consideration of alignment) and one with omitted size is
|
||||
assumed to fill the remaining space until the next sibling or before the end
|
||||
of its parent.
|
||||
* It's fine to omit any `section`'s offset, size, or both, provided its position
|
||||
and size are still unambiguous in the context of its *sibling* sections and
|
||||
its parent's *size*. In particular, knowledge of one .*section 's children or
|
||||
the `section`s' common parent's siblings will not be used for this purpose.
|
||||
* Although `section`s are not required to have children, the flash chip as a
|
||||
whole must have at least one.
|
||||
* Though the braces after `section`s may be omitted for those that have no
|
||||
children, if they are present, they must contain at least one child.
|
||||
|
||||
To see the formal description of the language, please refer to the Lex and Yacc
|
||||
files: `fmd_scanner.l` and `fmd_scanner.y`.
|
9
Documentation/lib/index.md
Normal file
@ -0,0 +1,9 @@
|
||||
# Library-specific documentation
|
||||
|
||||
This section contains documentation about coreboot internal technical
|
||||
information and libraries.
|
||||
|
||||
## Structure and layout
|
||||
- [Flashmap and Flashmap Descriptor](flashmap.md)
|
||||
- [ABI data consumption](abi-data-consumption.md)
|
||||
- [Timestamps](timestamp.md)
|
167
Documentation/lib/payloads/fit.md
Normal file
@ -0,0 +1,167 @@
|
||||
# Flattened uImage Tree documentation
|
||||
|
||||
[uImage.FIT] is the new format used for uImage payloads developed by
|
||||
[U-boot].
|
||||
|
||||
## Supported architectures
|
||||
|
||||
* aarch64
|
||||
|
||||
## Supported FIT sections
|
||||
|
||||
The FIT can contain multiple sections, each holding a unique
|
||||
kernel, initrd or config. Out of the sections one kernel and
|
||||
one initrd is chosen, depending on the matching config.
|
||||
|
||||
The config is selected depending on the compat string.
|
||||
|
||||
The section must be named in order to be found by the FIT parser:
|
||||
|
||||
* kernel
|
||||
* fdt
|
||||
* ramdisk
|
||||
|
||||
## Architecture specifics
|
||||
|
||||
The FIT parser needs architecure support.
|
||||
### aarch64
|
||||
The source code can be found in `src/arch/arm64/fit_payload.c`.
|
||||
|
||||
On aarch64 the kernel (a section named 'kernel') must be in **Image**
|
||||
format and it needs a devicetree (a section named 'fdt') to boot.
|
||||
The kernel will be placed close to "*DRAMSTART*".
|
||||
|
||||
### Other
|
||||
Other architectures aren't supported.
|
||||
|
||||
## Supported compression
|
||||
|
||||
The FIT image has to be included uncompressed into the CBFS. The sections
|
||||
inside the FIT image can use different compression schemes.
|
||||
|
||||
Supported compression algorithms:
|
||||
* LZMA
|
||||
* LZ4
|
||||
* none
|
||||
|
||||
## Compat string
|
||||
|
||||
The config entries contain a compatible string, that is used to find a
|
||||
matching config.
|
||||
|
||||
The following mainboard specific funtions provide the BOARDID and SKUID:
|
||||
|
||||
```c
|
||||
uint32_t board_id(void);
|
||||
```
|
||||
|
||||
```c
|
||||
uint32_t sku_id(void);
|
||||
```
|
||||
|
||||
By default the following compat strings are added:
|
||||
|
||||
* *CONFIG_MAINBOARD_VENDOR*,*CONFIG_MAINBOARD_PART_NUMBER*
|
||||
* *CONFIG_MAINBOARD_VENDOR*,*CONFIG_MAINBOARD_PART_NUMBER*-rev*BOARDID*
|
||||
* *CONFIG_MAINBOARD_VENDOR*,*CONFIG_MAINBOARD_PART_NUMBER*-rev*BOARDID*-sku*SKUID*
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
cavium,cn8100_sff_evb
|
||||
```
|
||||
|
||||
If *board_id()* or *sku_id()* return invalid, the single comapt string isn't added.
|
||||
|
||||
You can add custom compat strings by calling:
|
||||
|
||||
```c
|
||||
fit_add_compat_string(const char *str);
|
||||
```
|
||||
|
||||
If no matching compat string is found, the default config is chosen.
|
||||
|
||||
## Building FIT image
|
||||
|
||||
The FIT image has to be built by calling `mkimage`. You can use
|
||||
the following example configuration:
|
||||
|
||||
```
|
||||
/*
|
||||
* Simple U-Boot uImage source file containing a single kernel and FDT blob
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
/ {
|
||||
description = "Simple image with single Linux kernel and FDT blob";
|
||||
#address-cells = <1>;
|
||||
|
||||
images {
|
||||
kernel {
|
||||
description = "Vanilla Linux kernel";
|
||||
data = /incbin/("Image.lzma");
|
||||
type = "kernel";
|
||||
arch = "arm64";
|
||||
os = "linux";
|
||||
compression = "lzma";
|
||||
load = <0x80000>;
|
||||
entry = <0x80000>;
|
||||
hash-1 {
|
||||
algo = "crc32";
|
||||
};
|
||||
};
|
||||
fdt-1 {
|
||||
description = "Flattened Device Tree blob";
|
||||
data = /incbin/("target.dtb");
|
||||
type = "flat_dt";
|
||||
arch = "arm64";
|
||||
compression = "none";
|
||||
hash-1 {
|
||||
algo = "crc32";
|
||||
};
|
||||
};
|
||||
ramdisk-1 {
|
||||
description = "Compressed Initramfs";
|
||||
data = /incbin/("initramfs.cpio.xz");
|
||||
type = "ramdisk";
|
||||
arch = "arm64";
|
||||
os = "linux";
|
||||
compression = "none";
|
||||
load = <00000000>;
|
||||
entry = <00000000>;
|
||||
hash-1 {
|
||||
algo = "sha1";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
configurations {
|
||||
default = "conf-1";
|
||||
conf-1 {
|
||||
description = "Boot Linux kernel with FDT blob";
|
||||
kernel = "kernel";
|
||||
fdt = "fdt-1";
|
||||
ramdisk = "ramdisk-1";
|
||||
};
|
||||
};
|
||||
};
|
||||
```
|
||||
|
||||
Save it as ITS file `config.its` along with the other files defined here:
|
||||
* target.dtb
|
||||
* initramfs.cpio.xz
|
||||
* Image.lzma
|
||||
|
||||
Generate the `uImage` that will be included into the CBFS by calling
|
||||
|
||||
```bash
|
||||
mkimage -f config.its uImage
|
||||
```
|
||||
|
||||
The generated file includes a compressed initrd **initramfs.cpio.xz**, which
|
||||
will be decompressed by the Linux kernel, a compressed kernel **Image.lzma**,
|
||||
which will be decompressed by the FIT loader and an uncompressed devicetree blob.
|
||||
|
||||
[uImage.FIT]: https://raw.githubusercontent.com/u-boot/u-boot/master/doc/uImage.FIT/howto.txt
|
||||
[U-Boot]: https://www.denx.de/wiki/U-Boot
|
11
Documentation/lib/payloads/index.md
Normal file
@ -0,0 +1,11 @@
|
||||
# Payload-specific documentation
|
||||
|
||||
This section contains documentation about coreboot on specific payloads.
|
||||
|
||||
Payloads are run after coreboot has initialized the hardware.
|
||||
coreboot supports multiple payloads, depending on the architecture of the
|
||||
selected mainboard.
|
||||
|
||||
## FIT
|
||||
|
||||
- [uImage.FIT support](fit.md)
|
@ -1,29 +1,5 @@
|
||||
# Timestamps
|
||||
|
||||
## Table of Contents
|
||||
|
||||
Introduction
|
||||
- Transition from cache to cbmem
|
||||
|
||||
Data structures used
|
||||
- cache_state
|
||||
- table
|
||||
- entries
|
||||
|
||||
Function APIs
|
||||
- timestamp_init
|
||||
- timestamp_add
|
||||
- timestamp_add_now
|
||||
- timestamp_sync
|
||||
|
||||
Use / Test Cases
|
||||
- Case 1: Timestamp Region Exists
|
||||
- Case 2: No timestamp region, fresh boot, cbmem_initialize called after timestamp_init
|
||||
- Case 3: No timestamp region, fresh boot, cbmem_initialize called before timestamp_init
|
||||
- Case 4: No timestamp region, resume, cbmem_initialize called after timestamp_init
|
||||
- Case 5: No timestamp region, resume, cbmem_initialize called before timestamp_init
|
||||
|
||||
|
||||
## Introduction
|
||||
|
||||
The aim of the timestamp library is to make it easier for different boards
|
||||
@ -64,7 +40,7 @@ After such a transition, timestamp_init() must not be run again.
|
||||
|
||||
The main structure that maintains information about the timestamp cache is:
|
||||
|
||||
```
|
||||
```c
|
||||
struct __packed timestamp_cache {
|
||||
uint16_t cache_state;
|
||||
struct timestamp_table table;
|
||||
@ -77,7 +53,7 @@ struct __packed timestamp_cache {
|
||||
The state of the cache is maintained by `cache_state` attribute which can
|
||||
be any one of the following:
|
||||
|
||||
```
|
||||
```c
|
||||
enum {
|
||||
TIMESTAMP_CACHE_UNINITIALIZED = 0,
|
||||
TIMESTAMP_CACHE_INITIALIZED,
|
||||
@ -107,7 +83,7 @@ anymore. Thus, the cache state is set to `CACHE_NOT_NEEDED`, which allows
|
||||
This field is represented by a structure which provides overall
|
||||
information about the entries in the timestamp area:
|
||||
|
||||
```
|
||||
```c
|
||||
struct timestamp_table {
|
||||
uint64_t base_time;
|
||||
uint32_t max_entries;
|
||||
@ -127,7 +103,7 @@ This field holds the details of each timestamp entry, upto a maximum
|
||||
of `MAX_TIMESTAMP_CACHE` which is defined as 16 entries. Each entry is
|
||||
defined by:
|
||||
|
||||
```
|
||||
```c
|
||||
struct timestamp_entry {
|
||||
uint32_t entry_id;
|
||||
uint64_t entry_stamp;
|
136
Documentation/mainboard/asrock/h110m-dvs.md
Normal file
@ -0,0 +1,136 @@
|
||||
# ASRock H110M-DVS
|
||||
|
||||
This page describes how to run coreboot on the [ASRock H110M-DVS].
|
||||
|
||||
## Required proprietary blobs
|
||||
|
||||
Mainboard is based on Intel Skylake/Kaby Lake processor and H110 Chipset.
|
||||
Intel company provides [Firmware Support Package (2.0)](../../soc/intel/fsp/index.md)
|
||||
(intel FSP 2.0) to initialize this generation silicon. Please see this
|
||||
[document](../../soc/intel/code_development_model/code_development_model.md).
|
||||
|
||||
FSP Information:
|
||||
|
||||
```eval_rst
|
||||
+-----------------------------+-------------------+-------------------+
|
||||
| FSP Project Name | Directory | Specification |
|
||||
+-----------------------------+-------------------+-------------------+
|
||||
| 7th Generation Intel® Core™ | KabylakeFspBinPkg | 2.0 |
|
||||
| processors and chipsets | | |
|
||||
| (formerly Kaby Lake) | | |
|
||||
+-----------------------------+-------------------+-------------------+
|
||||
```
|
||||
|
||||
## Building coreboot
|
||||
|
||||
The following steps set the default parameters for this board to build a
|
||||
fully working image:
|
||||
|
||||
```bash
|
||||
make distclean
|
||||
touch .config
|
||||
./util/scripts/config --enable VENDOR_ASROCK
|
||||
./util/scripts/config --enable BOARD_ASROCK_H110M_DVS
|
||||
./util/scripts/config --enable CONFIG_ADD_FSP_BINARIES
|
||||
./util/scripts/config --enable CONFIG_FSP_USE_REPO
|
||||
./util/scripts/config --set-str REALTEK_8168_MACADDRESS "xx:xx:xx:xx:xx:xx"
|
||||
make olddefconfig
|
||||
```
|
||||
|
||||
However, it is strongly advised to use `make menuconfig` afterwards
|
||||
(or instead), so that you can see all of the settings.
|
||||
|
||||
Use the following command to disable the serial console if debugging
|
||||
output is not required:
|
||||
|
||||
```bash
|
||||
./util/scripts/config --disable CONSOLE_SERIAL
|
||||
```
|
||||
|
||||
However, a more flexible method is to change the console log level from
|
||||
within an OS using `util/nvramtool`, or with the `nvramcui` payload.
|
||||
|
||||
Now, run `make` to build the coreboot image.
|
||||
|
||||
## Flashing coreboot
|
||||
|
||||
### Internal programming
|
||||
|
||||
The main SPI flash can be accessed using [flashrom]. By default, only
|
||||
the BIOS region of the flash is writable. If you wish to change any
|
||||
other region, such as the Management Engine or firmware descriptor, then
|
||||
an external programmer is required (unless you find a clever way around
|
||||
the flash protection). More information about this [here](../../flash_tutorial/index.md).
|
||||
|
||||
### External programming
|
||||
|
||||
The flash chip is a 8 MiB socketed DIP-8 chip. Specifically, it's a
|
||||
Macronix MX25L6473E, whose datasheet can be found [here][MX25L6473E].
|
||||
The chip is located to the bottom right-hand side of the board. For
|
||||
a precise location, refer to section 1.3 (Motherboard Layout) of the
|
||||
[H110M-DVS manual], where the chip is labelled "64Mb BIOS". Take note of
|
||||
the chip's orientation, remove it from its socket, and flash it with
|
||||
an external programmer. For reference, the notch in the chip should be
|
||||
facing towards the bottom of the board.
|
||||
|
||||
## Known issues
|
||||
|
||||
- The VGA port doesn't work. Discrete graphic card is used as primary
|
||||
device for display output (if CONFIG_ONBOARD_VGA_IS_PRIMARY is not
|
||||
set). Dynamic switching between iGPU and PEG is not yet supported.
|
||||
|
||||
- SuperIO GPIO pin is used to reset Realtek chip. However, since the
|
||||
Logical Device 7 (GPIO6, GPIO7, GPIO8) is not initialized, the network
|
||||
chip is in a reset state all the time.
|
||||
|
||||
## Untested
|
||||
|
||||
- parallel port
|
||||
- PS/2 keyboard
|
||||
- PS/2 mouse
|
||||
- EHCI debug
|
||||
- TPM
|
||||
- infrared module
|
||||
- chassis intrusion header
|
||||
- chassis speaker header
|
||||
|
||||
## Working
|
||||
|
||||
- integrated graphics init with libgfxinit (see [Known issues](#known-issues))
|
||||
- PCIe x1
|
||||
- PEG x16 Gen3
|
||||
- SATA
|
||||
- USB
|
||||
- serial port
|
||||
- onboard audio
|
||||
- using `me_cleaner`
|
||||
- using `flashrom`
|
||||
|
||||
## TODO
|
||||
|
||||
- NCT6791D GPIOs
|
||||
- onboard network (see [Known issues](#known-issues))
|
||||
- S3 suspend/resume
|
||||
- Wake-on-LAN
|
||||
- hardware monitor
|
||||
|
||||
## Technology
|
||||
|
||||
```eval_rst
|
||||
+------------------+--------------------------------------------------+
|
||||
| CPU | Intel Skylake/Kaby Lake (LGA1151) |
|
||||
+------------------+--------------------------------------------------+
|
||||
| PCH | Intel Sunrise Point H110 |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Super I/O | Nuvoton NCT6791D |
|
||||
+------------------+--------------------------------------------------+
|
||||
| EC | None |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Coprocessor | Intel Management Engine |
|
||||
+------------------+--------------------------------------------------+
|
||||
```
|
||||
|
||||
[ASRock H110M-DVS]: https://www.asrock.com/mb/Intel/H110M-DVS%20R2.0/
|
||||
[MX25L6473E]: http://www.macronix.com/Lists/Datasheet/Attachments/7380/MX25L6473E,%203V,%2064Mb,%20v1.4.pdf
|
||||
[flashrom]: https://flashrom.org/Flashrom
|
||||
[H110M-DVS manual]: http://asrock.pc.cdn.bitgravity.com/Manual/H110M-DVS%20R2.0.pdf
|
133
Documentation/mainboard/asrock/h81m-hds.md
Normal file
@ -0,0 +1,133 @@
|
||||
# ASRock H81M-HDS
|
||||
|
||||
This page describes how to run coreboot on the [ASRock H81M-HDS].
|
||||
|
||||
## Required proprietary blobs
|
||||
|
||||
```eval_rst
|
||||
Please see :doc:`../../northbridge/intel/haswell/mrc.bin`.
|
||||
```
|
||||
|
||||
## Building coreboot
|
||||
|
||||
A fully working image should be possible just by setting your MAC
|
||||
address and obtaining the Haswell mrc. You can set the basic config
|
||||
with the following commands. However, it is strongly advised to use
|
||||
`make menuconfig` afterwards (or instead), so that you can see all of
|
||||
the settings.
|
||||
|
||||
```bash
|
||||
make distclean # Note: this will remove your current config, if it exists.
|
||||
touch .config
|
||||
./util/scripts/config --enable VENDOR_ASROCK
|
||||
./util/scripts/config --enable BOARD_ASROCK_H81M_HDS
|
||||
./util/scripts/config --enable HAVE_MRC
|
||||
./util/scripts/config --set-str REALTEK_8168_MACADDRESS "xx:xx:xx:xx:xx:xx" # Fill this in!
|
||||
make olddefconfig
|
||||
```
|
||||
|
||||
If you don't plan on using coreboot's serial console to collect logs,
|
||||
you might want to disable it at this point (`./util/scripts/config
|
||||
--disable CONSOLE_SERIAL`). It should reduce the boot time by several
|
||||
seconds. However, a more flexible method is to change the console log
|
||||
level from within an OS using `util/nvramtool`, or with the `nvramcui`
|
||||
payload.
|
||||
|
||||
Now, run `make` to build the coreboot image.
|
||||
|
||||
## Flashing coreboot
|
||||
|
||||
### Internal programming
|
||||
|
||||
The main SPI flash can be accessed using [flashrom]. By default, only
|
||||
the BIOS region of the flash is writable. If you wish to change any
|
||||
other region, such as the Management Engine or firmware descriptor, then
|
||||
an external programmer is required (unless you find a clever way around
|
||||
the flash protection).
|
||||
|
||||
The following command may be used to flash coreboot:
|
||||
|
||||
```bash
|
||||
sudo flashrom -p internal --ifd -i bios --noverify-all -w coreboot.rom
|
||||
```
|
||||
|
||||
The use of `--noverify-all` is required since the Management Engine
|
||||
region is not readable even by the host.
|
||||
|
||||
### External programming
|
||||
|
||||
The flash chip is a 4 MiB socketed DIP-8 chip. Specifically, it's a
|
||||
Winbond W25Q32FV, whose datasheet can be found [here][W25Q32FV].
|
||||
The chip is located to the bottom right-hand side of the board. For
|
||||
a precise location, refer to section 1.4 (Motherboard Layout) of the
|
||||
[board manual], where the chip is labelled "32Mb BIOS". Take note of
|
||||
the chip's orientation, remove it from its socket, and flash it with
|
||||
an external programmer. For reference, the notch in the chip should be
|
||||
facing towards the bottom of the board.
|
||||
|
||||
## Known issues
|
||||
|
||||
- The VGA port doesn't work until the OS reinitialises the display.
|
||||
|
||||
- There is no automatic, OS-independent fan control. This is because
|
||||
the super I/O hardware monitor can only obtain valid CPU temperature
|
||||
readings from the PECI agent, but the required driver doesn't exist
|
||||
in coreboot. The `coretemp` driver can still be used for accurate CPU
|
||||
temperature readings from an OS.
|
||||
|
||||
```eval_rst
|
||||
Please also see :doc:`../../northbridge/intel/haswell/known-issues`.
|
||||
```
|
||||
|
||||
## Untested
|
||||
|
||||
- parallel port
|
||||
- PS/2 keyboard
|
||||
- EHCI debug
|
||||
- TPM
|
||||
- infrared module
|
||||
- chassis intrusion header
|
||||
- chassis speaker header
|
||||
|
||||
## Working
|
||||
|
||||
- USB
|
||||
- S3 suspend/resume
|
||||
- Gigabit Ethernet
|
||||
- integrated graphics
|
||||
- PCIe
|
||||
- SATA
|
||||
- PS/2 mouse
|
||||
- serial port
|
||||
- hardware monitor (see [Known issues](#known-issues))
|
||||
- onboard audio
|
||||
- front panel audio
|
||||
- initialisation with Haswell mrc version 1.6.1 build 2
|
||||
- graphics init with libgfxinit (see [Known issues](#known-issues))
|
||||
- flashrom under the vendor firmware
|
||||
- flashrom under coreboot
|
||||
- Wake-on-LAN
|
||||
- Using `me_cleaner`
|
||||
|
||||
## Technology
|
||||
|
||||
```eval_rst
|
||||
+------------------+--------------------------------------------------+
|
||||
| Northbridge | :doc:`../../northbridge/intel/haswell/index` |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Southbridge | Intel Lynx Point (H81) |
|
||||
+------------------+--------------------------------------------------+
|
||||
| CPU | Intel Haswell (LGA1150) |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Super I/O | Nuvoton NCT6776 |
|
||||
+------------------+--------------------------------------------------+
|
||||
| EC | None |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Coprocessor | Intel Management Engine |
|
||||
+------------------+--------------------------------------------------+
|
||||
```
|
||||
|
||||
[ASRock H81M-HDS]: https://www.asrock.com/mb/Intel/H81M-HDS/
|
||||
[W25Q32FV]: https://www.winbond.com/resource-files/w25q32fv%20revi%2010202015.pdf
|
||||
[flashrom]: https://flashrom.org/Flashrom
|
||||
[Board manual]: http://asrock.pc.cdn.bitgravity.com/Manual/H81M-HDS.pdf
|
198
Documentation/mainboard/asus/f2a85-m.md
Normal file
@ -0,0 +1,198 @@
|
||||
# ASUS F2A85-M
|
||||
|
||||
This page describes how to run coreboot on the [ASUS F2A85-M].
|
||||
|
||||
## Variants
|
||||
- ASUS F2A85-M - Working
|
||||
- ASUS F2A85-M LE - Working
|
||||
- ASUS F2A85-M PRO - Working
|
||||
- ASUS F2A85-M2 - Working
|
||||
- ASUS F2A85-M/CSM - Unsure if WIP.
|
||||
|
||||
## Technology
|
||||
|
||||
Both "Trinity" and "Richland" desktop processing units are working,
|
||||
the CPU architecture in these CPUs/APUs is [Piledriver],
|
||||
and their GPU is [TeraScale 3] (VLIW4-based).
|
||||
|
||||
```eval_rst
|
||||
+------------------+--------------------------------------------------+
|
||||
| F2A85-M | |
|
||||
+------------------+--------------------------------------------------+
|
||||
| DDR voltage IC | Nuvoton NCT3933U (AUX SMBUS 0x15) |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Network | Realtek RTL8111F |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Northbridge | Integrated into CPU with IMC and GPU (APUs only) |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Southbridge | Hudson-D4 |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Sound IC | Realtek ALC887 |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Super I/O | ITE 8603E |
|
||||
+------------------+--------------------------------------------------+
|
||||
| VRM controller | DIGI VRM ASP1106 (Rebranded RT8894A - SMBUS 0x20)|
|
||||
+------------------+--------------------------------------------------+
|
||||
```
|
||||
|
||||
```eval_rst
|
||||
+------------------+--------------------------------------------------+
|
||||
| F2A85-M LE | |
|
||||
+------------------+--------------------------------------------------+
|
||||
| DDR voltage IC | Nuvoton NCT3933U (AUX SMBUS 0x15 - unconfirmed) |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Network | Realtek RTL8111F |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Northbridge | Integrated into CPU with IMC and GPU(APUs only) |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Southbridge | Hudson-D4 |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Sound IC | Realtek ALC887 |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Super I/O | ITE 8623E |
|
||||
+------------------+--------------------------------------------------+
|
||||
| VRM controller | DIGI VRM ASP1106 (Rebranded RT8894A - SMBUS 0x20)|
|
||||
+------------------+--------------------------------------------------+
|
||||
```
|
||||
|
||||
```eval_rst
|
||||
+------------------+--------------------------------------------------+
|
||||
| F2A85-M PRO | |
|
||||
+------------------+--------------------------------------------------+
|
||||
| DDR voltage IC | Nuvoton NCT3933U (?) |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Network | Realtek RTL8111F - Not working |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Northbridge | Integrated into CPU with IMC and GPU(APUs only) |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Southbridge | Hudson-D4 |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Sound IC | Realtek ALC887 |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Super I/O | Nuvoton NCT6779D |
|
||||
+------------------+--------------------------------------------------+
|
||||
| VRM controller | DIGI VRM ASP1107 |
|
||||
+------------------+--------------------------------------------------+
|
||||
```
|
||||
|
||||
## Flashing coreboot
|
||||
|
||||
```eval_rst
|
||||
+---------------------+------------+
|
||||
| Type | Value |
|
||||
+=====================+============+
|
||||
| Socketed flash | yes |
|
||||
+---------------------+------------+
|
||||
| Model | W25Q64F |
|
||||
+---------------------+------------+
|
||||
| Size | 8 MiB |
|
||||
+---------------------+------------+
|
||||
| Package | DIP-8 |
|
||||
+---------------------+------------+
|
||||
| Write protection | no |
|
||||
+---------------------+------------+
|
||||
| Dual BIOS feature | no |
|
||||
+---------------------+------------+
|
||||
| Internal flashing | yes |
|
||||
+---------------------+------------+
|
||||
```
|
||||
|
||||
### Internal programming
|
||||
|
||||
The main SPI flash can be accessed using [flashrom].
|
||||
UEFI builds that allow flash chip access:
|
||||
> v5016 is untested, but expected to work as well
|
||||
> v5018
|
||||
> v5103
|
||||
> v5104
|
||||
> v5107
|
||||
> v5202
|
||||
> v6002
|
||||
> v6004
|
||||
> v6102
|
||||
> v6402
|
||||
> v6404 (requires downgrading to v6402 to flash coreboot)
|
||||
> v6501 (requires downgrading to v6402 to flash coreboot)
|
||||
> v6502 (requires downgrading to v6402 to flash coreboot)
|
||||
|
||||
Build v6502, v6501 and v6404 do not allow access to the flash chip.
|
||||
Fortunately it is possible to downgrade build v6502, v6501, v6404 to v6402, with EZFlash.
|
||||
Downgrading is done by downloading build v6402 from ASUS' F2A85-M download page
|
||||
and copying it to (the root directory of) a FAT32 formatted USB flash drive.
|
||||
Enter the EFI setup, switch to advanced mode if necessary,
|
||||
open the 'Tool' tab and select "ASUS EZ Flash 2 Utility".
|
||||
|
||||
## Integrated graphics
|
||||
|
||||
### Option 1: Retrieve the VGA optionrom from the vendor EFI binary by running:
|
||||
|
||||
# dd if=/dev/mem of=vgabios.bin bs=1k count=64 skip=768
|
||||
|
||||
### Option 2: Extract from the vendor binary
|
||||
|
||||
Download the BIOS from the Support section at [ASUS F2A85-M].
|
||||
Using MMTool Aptio (versions 4.5.0 and 5.0.0):
|
||||
- Load image, click on 'Extract tab'
|
||||
- Select the 'export path' and 'link present' options
|
||||
- Choose option ROM '1002,9900' and click on 'Extract'
|
||||
|
||||
This version is usable for all the GPUs.
|
||||
> 1002,9901 Trinity (Radeon HD 7660D)
|
||||
> 1002,9904 Trinity (Radeon HD 7560D)
|
||||
> 1002,990c Richland (Radeon HD 8670D)
|
||||
> 1002,990e Richland (Radeon HD 8570D)
|
||||
> 1002,9991 Trinity (Radeon HD 7540D)
|
||||
> 1002,9993 Trinity (Radeon HD 7480D)
|
||||
> 1002,9996 Richland (Radeon HD 8470D)
|
||||
> 1002,9998 Richland (Radeon HD 8370D)
|
||||
> 1002,999d Richland (Radeon HD 8550D)
|
||||
|
||||
## Known issues
|
||||
|
||||
- buggy USB 3.0 controller (works fine as 2.0 port)
|
||||
- reboot, poweroff, S3 suspend/resume (broken since 4.8.1)
|
||||
|
||||
## Known issues (untested because of non-working ACPI sleep)
|
||||
|
||||
- blink in suspend mode (GP43, program LDN7 F8=23 and blink with F9=2 for 1s blinks)
|
||||
- fix immediate resume after suspend (perhaps PCIe STS needs to be cleared)
|
||||
- fix resume with USB3.0 used (perhaps there is a bug in resume.c)
|
||||
|
||||
## Untested
|
||||
|
||||
- audio over HDMI
|
||||
- IOMMU
|
||||
- PS/2 mouse
|
||||
|
||||
## TODOs
|
||||
|
||||
- manage to use one ATOMBIOS for all the integrated GPUs
|
||||
|
||||
## Working
|
||||
|
||||
- ACPI
|
||||
- CPU frequency scaling
|
||||
- flashrom under coreboot
|
||||
- Gigabit Ethernet
|
||||
- Hardware monitor
|
||||
- Integrated graphics
|
||||
- KVM
|
||||
- Onboard audio
|
||||
- PCIe
|
||||
- PS/2 keyboard
|
||||
- SATA
|
||||
- Serial port
|
||||
- SuperIO based fan control
|
||||
- USB (XHCI is buggy)
|
||||
|
||||
## Extra resources
|
||||
|
||||
- [Board manual]
|
||||
- Flash chip datasheet [W25Q64FV]
|
||||
|
||||
[ASUS F2A85-M]: https://www.asus.com/Motherboards/F2A85M/
|
||||
[Board manual]: https://dlcdnets.asus.com/pub/ASUS/mb/SocketFM2/F2A85-M/E8005_F2A85-M.pdf
|
||||
[flashrom]: https://flashrom.org/Flashrom
|
||||
[Piledriver]: https://en.wikipedia.org/wiki/Piledriver_%28microarchitecture%29#APU_lines
|
||||
[TeraScale 3]: https://en.wikipedia.org/wiki/TeraScale_%28microarchitecture%29#TeraScale_3
|
||||
[W25Q64FV]: https://www.winbond.com/resource-files/w25q64fv%20revs%2007182017.pdf
|
111
Documentation/mainboard/asus/p8h61-m_lx.md
Normal file
@ -0,0 +1,111 @@
|
||||
# ASUS P8H61-M LX
|
||||
|
||||
This page describes how to run coreboot on the [ASUS P8H61-M LX].
|
||||
|
||||
## Flashing coreboot
|
||||
|
||||
```eval_rst
|
||||
+---------------------+------------+
|
||||
| Type | Value |
|
||||
+=====================+============+
|
||||
| Socketed flash | yes |
|
||||
+---------------------+------------+
|
||||
| Model | W25Q32BV |
|
||||
+---------------------+------------+
|
||||
| Size | 4 MiB |
|
||||
+---------------------+------------+
|
||||
| Package | DIP-8 |
|
||||
+---------------------+------------+
|
||||
| Write protection | no |
|
||||
+---------------------+------------+
|
||||
| Dual BIOS feature | no |
|
||||
+---------------------+------------+
|
||||
| Internal flashing | yes |
|
||||
+---------------------+------------+
|
||||
```
|
||||
|
||||
### Internal programming
|
||||
|
||||
The main SPI flash can be accessed using [flashrom]. By default, only
|
||||
the BIOS region of the flash is writable. If you wish to change any
|
||||
other region (Management Engine or flash descriptor), then an external
|
||||
programmer is required.
|
||||
|
||||
The following command may be used to flash coreboot:
|
||||
|
||||
```
|
||||
$ sudo flashrom --noverify-all --ifd -i bios -p internal -w coreboot.rom
|
||||
```
|
||||
|
||||
The use of `--noverify-all` is required since the Management Engine
|
||||
region is not readable even by the host.
|
||||
|
||||
## Known issues
|
||||
|
||||
- S3 suspend/resume does not work. This is the case for both coreboot
|
||||
and the vendor firmware, tested with Linux 4.9, Linux 4.17, and
|
||||
OpenBSD 6.3. Interestingly, it is possible to resume from S3 with
|
||||
Linux, but _only_ if the resume is started immediately after the
|
||||
suspend.
|
||||
|
||||
- There is no automatic, OS-independent fan control. This is because
|
||||
the super I/O hardware monitor can only obtain valid CPU temperature
|
||||
readings from the PECI agent, whose complete initialisation is not
|
||||
publicly documented. The `coretemp` driver can still be used for
|
||||
accurate CPU temperature readings.
|
||||
|
||||
## Untested
|
||||
|
||||
- PCIe graphics
|
||||
- parallel port
|
||||
- PS/2 keyboard
|
||||
- EHCI debug
|
||||
- S/PDIF audio
|
||||
|
||||
## Working
|
||||
|
||||
- USB
|
||||
- Gigabit Ethernet
|
||||
- integrated graphics
|
||||
- PCIe
|
||||
- SATA
|
||||
- PS/2 mouse
|
||||
- serial port
|
||||
- hardware monitor (see [Known issues](#known-issues) for caveats)
|
||||
- onboard audio
|
||||
- front panel audio
|
||||
- native raminit (2 x 2GB, DDR3-1333)
|
||||
- native graphics init (libgfxinit)
|
||||
- flashrom under the vendor firmware
|
||||
- flashrom under coreboot
|
||||
- Wake-on-LAN
|
||||
- Using `me_cleaner` (add `-S --whitelist EFFS,FCRS` if not using
|
||||
`me_cleaner` as part of the coreboot build process).
|
||||
|
||||
## Technology
|
||||
|
||||
```eval_rst
|
||||
+------------------+--------------------------------------------------+
|
||||
| Northbridge | :doc:`../../northbridge/intel/sandybridge/index` |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Southbridge | bd82x6x |
|
||||
+------------------+--------------------------------------------------+
|
||||
| CPU | model_206ax |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Super I/O | Nuvoton NCT6776 |
|
||||
+------------------+--------------------------------------------------+
|
||||
| EC | None |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Coprocessor | Intel Management Engine |
|
||||
+------------------+--------------------------------------------------+
|
||||
```
|
||||
|
||||
## Extra resources
|
||||
|
||||
- [Board manual]
|
||||
- [Flash chip datasheet][W25Q32BV]
|
||||
|
||||
[ASUS P8H61-M LX]: https://www.asus.com/Motherboards/P8H61M_LX/
|
||||
[W25Q32BV]: https://www.winbond.com/resource-files/w25q32bv_revi_100413_wo_automotive.pdf
|
||||
[flashrom]: https://flashrom.org/Flashrom
|
||||
[Board manual]: http://dlcdnet.asus.com/pub/ASUS/mb/LGA1155/P8H61_M_LX/E6803_P8H61-M_LX.zip
|
BIN
Documentation/mainboard/asus/p8h61-m_pro.jpg
Normal file
After Width: | Height: | Size: 68 KiB |
103
Documentation/mainboard/asus/p8h61-m_pro.md
Normal file
@ -0,0 +1,103 @@
|
||||
# ASUS P8H61-M Pro
|
||||
|
||||
This page describes how to run coreboot on the [ASUS P8H61-M Pro].
|
||||
|
||||
## Flashing coreboot
|
||||
|
||||
```eval_rst
|
||||
+---------------------+------------+
|
||||
| Type | Value |
|
||||
+=====================+============+
|
||||
| Socketed flash | yes |
|
||||
+---------------------+------------+
|
||||
| Model | W25Q32BV |
|
||||
+---------------------+------------+
|
||||
| Size | 4 MiB |
|
||||
+---------------------+------------+
|
||||
| Package | DIP-8 |
|
||||
+---------------------+------------+
|
||||
| Write protection | no |
|
||||
+---------------------+------------+
|
||||
| Dual BIOS feature | no |
|
||||
+---------------------+------------+
|
||||
| Internal flashing | yes |
|
||||
+---------------------+------------+
|
||||
```
|
||||
|
||||
The flash IC is located right next to one of the SATA ports:
|
||||

|
||||
|
||||
### Internal programming
|
||||
|
||||
The main SPI flash can be accessed using [flashrom]. By default, only
|
||||
the BIOS region of the flash is writable. If you wish to change any
|
||||
other region (Management Engine or flash descriptor), then an external
|
||||
programmer is required.
|
||||
|
||||
The following command may be used to flash coreboot:
|
||||
|
||||
```
|
||||
$ sudo flashrom --noverify-all --ifd -i bios -p internal -w coreboot.rom
|
||||
```
|
||||
|
||||
The use of `--noverify-all` is required since the Management Engine
|
||||
region is not readable even by the host.
|
||||
|
||||
## Known issues
|
||||
|
||||
- There is no automatic, OS-independent fan control. This is because
|
||||
the super I/O hardware monitor can only obtain valid CPU temperature
|
||||
readings from the PECI agent, whose complete initialisation is not
|
||||
publicly documented. The `coretemp` driver can still be used for
|
||||
accurate CPU temperature readings.
|
||||
|
||||
- me_cleaner breaks LPC bus and attached components!
|
||||
- PS/2 mouse doesn't work
|
||||
|
||||
## Untested
|
||||
|
||||
- parallel port
|
||||
- EHCI debug
|
||||
- S/PDIF audio
|
||||
|
||||
## Working
|
||||
|
||||
- PS/2 keyboard
|
||||
- PCIe graphics
|
||||
- USB
|
||||
- Gigabit Ethernet
|
||||
- Integrated graphics
|
||||
- SATA
|
||||
- Serial port
|
||||
- hardware monitor (see [Known issues](#known-issues) for caveats)
|
||||
- front panel audio
|
||||
- Native raminit (2 x 2GB, DDR3-1333)
|
||||
- Native graphics init (libgfxinit)
|
||||
- Wake-on-LAN
|
||||
- TPM on TPM-header
|
||||
|
||||
## Technology
|
||||
|
||||
```eval_rst
|
||||
+------------------+--------------------------------------------------+
|
||||
| Northbridge | :doc:`../../northbridge/intel/sandybridge/index` |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Southbridge | bd82x6x |
|
||||
+------------------+--------------------------------------------------+
|
||||
| CPU | model_206ax |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Super I/O | Nuvoton NCT6776 |
|
||||
+------------------+--------------------------------------------------+
|
||||
| EC | None |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Coprocessor | Intel Management Engine |
|
||||
+------------------+--------------------------------------------------+
|
||||
```
|
||||
|
||||
## Extra resources
|
||||
|
||||
- [Flash chip datasheet][W25Q32BV]
|
||||
|
||||
[ASUS P8H61-M Pro]: https://www.asus.com/Motherboards/P8H61M_Pro/
|
||||
[W25Q32BV]: https://www.winbond.com/resource-files/w25q32bv_revi_100413_wo_automotive.pdf
|
||||
[flashrom]: https://flashrom.org/Flashrom
|
BIN
Documentation/mainboard/asus/p8z77-m_pro.jpg
Normal file
After Width: | Height: | Size: 96 KiB |
168
Documentation/mainboard/asus/p8z77-m_pro.md
Normal file
@ -0,0 +1,168 @@
|
||||
# ASUS P8Z77-M Pro
|
||||
|
||||
This page describes how to run coreboot on the [ASUS P8Z77-M Pro]
|
||||
|
||||
## Flashing coreboot
|
||||
|
||||
```eval_rst
|
||||
+---------------------+----------------+
|
||||
| Type | Value |
|
||||
+=====================+================+
|
||||
| Socketed flash | yes |
|
||||
+---------------------+----------------+
|
||||
| Model | W25Q64FVA1Q |
|
||||
+---------------------+----------------+
|
||||
| Size | 8 MiB |
|
||||
+---------------------+----------------+
|
||||
| Package | DIP-8 |
|
||||
+---------------------+----------------+
|
||||
| Write protection | yes |
|
||||
+---------------------+----------------+
|
||||
| Dual BIOS feature | no |
|
||||
+---------------------+----------------+
|
||||
| Internal flashing | yes |
|
||||
+---------------------+----------------+
|
||||
```
|
||||
|
||||
The flash IC is located right next to one of the SATA ports:
|
||||

|
||||
|
||||
### Internal programming
|
||||
|
||||
The main SPI flash cannot be written because Asus disables BIOSWE and
|
||||
enables BLE/SMM_BWP flags in BIOS_CNTL for their latest bioses.
|
||||
An external programmer is required. You must flash standalone,
|
||||
flashing in-circuit doesn't work. The flash chip is socketed, so it's
|
||||
easy to remove and reflash.
|
||||
|
||||
## Working
|
||||
|
||||
- PS/2 keyboard with SeaBIOS & Tianocore (in Mint 18.3/19.1)
|
||||
|
||||
- Rear/front headphones connector audio & mic
|
||||
|
||||
- S3 Suspend to RAM (tested with OS installed in a HDD/SSD and also with a
|
||||
Mint 18.3/19.1 LiveUSB pendrive connected to USB3/USB2), but please
|
||||
see [Known issues]
|
||||
|
||||
- USB2 on rear (tested mouse/keyboard plugged there. Also, booting with
|
||||
a Mint 18./19.1 LiveUSB works ok)
|
||||
|
||||
- USB3 (Z77's and Asmedia's works, but please see [Known issues])
|
||||
|
||||
- Gigabit Ethernet (RTL8111F)
|
||||
|
||||
- SATA3, SATA2 and eSATA (tested on all ports, hot-swap and TCG OPAL working)
|
||||
(Blue SATA2) (Blue SATA2) (White SATA3) (Red eSATA SATA3 rear)
|
||||
port 3 port 5 port 1 port 8
|
||||
port 4 port 6 port 2 port 7
|
||||
|
||||
- NVME SSD boot on PCIe-x16/x8/4x slot using Tianocore
|
||||
(tested with M.2-to-PCIe adapter and a M.2 Samsung EVO 970 SSD)
|
||||
|
||||
- CPU Temp sensors (tested PSensor on linux + HWINFO64 on Win10)
|
||||
|
||||
- TPM on TPM-header (tested tpm-tools with Asus TPM 1.2 Infineon SLB9635TT12)
|
||||
|
||||
- Native raminit and also MRC.bin(systemagent-r6.bin) memory initialization
|
||||
(please see [Native raminit compatibility] and [MRC memory compatibility])
|
||||
|
||||
- Integrated graphics with both libgfxinit and the Intel Video BIOS OpROM
|
||||
(VGA/DVI-D/HDMI tested and working)
|
||||
|
||||
- 1x PCIe GPU in PCIe-16x/8x/4x slots (tested using Zotac GeForce GTX
|
||||
750Ti and FirePro W5100 under Mint 18.3/19.1)
|
||||
|
||||
## Known issues
|
||||
|
||||
- The rear's USB3s on bottom (closest to the PCB) have problems booting or
|
||||
being used before the OS loads. For better compatibility, please use
|
||||
the Z77's ones above the Ethernet connector or the Asmedia's top one
|
||||
|
||||
- After S3 suspend, some USB3 connectors on rear seem not to work
|
||||
|
||||
- At the moment, the power led does not blink when entering S3 state
|
||||
|
||||
- Currently, we have not setup the SuperIO's Hardware Monitor (HWM),
|
||||
so only the CPU sensors are reported
|
||||
|
||||
- If you use the MRC.bin, the NVRAM variable gfx_uma_size may be ignored
|
||||
as IGP's UMA could be reconfigured by the blob
|
||||
|
||||
- Using TianoCore + a PCIe GPU under Windows crashes with an
|
||||
ACPI_BIOS_ERROR fatal code, not sure why. Using just the IGP
|
||||
works perfectly
|
||||
|
||||
- Under Windows 10, if you experiment problems with PS/2 devices, change
|
||||
HKLM\SYSTEM\CurrentControlSet\Services\i8042prt->Start from '3' to '1'
|
||||
|
||||
## Untested
|
||||
|
||||
- EHCI debugging
|
||||
- S/PDIF audio
|
||||
- Wake-on-LAN
|
||||
- Serial port
|
||||
|
||||
## Not working
|
||||
|
||||
- PS/2 keyboard in Win10 using Tianocore (please see [Known issues])
|
||||
- PS/2 mouse using Tianocore
|
||||
- PCIe graphics card on Windows and Tianocore (throws critical ACPI_BIOS_ERROR)
|
||||
|
||||
## Native raminit compatibility
|
||||
|
||||
- GSkill F3-2133C10D-16GAB(XMP,1.60v) 2x8GB kit works at 1333Mhz instead
|
||||
of XMP 2133Mhz
|
||||
|
||||
- Team Xtreem TXD38G2133HC9NDC01(XMP,1.50v) 2x4GB kit works at 1600Mhz
|
||||
instead of XMP 2133Mhz
|
||||
|
||||
- Kingston KVR1066D3N7K2/4G(JEDEC,1.50v) 2x4GB kit works at 1066Mhz
|
||||
but the board only detects half its RAM, because those DIMMs have
|
||||
Double Sided(DS) chips and seems only Single Sided(SS) ones are
|
||||
fully detected
|
||||
|
||||
- GSkill F3-10666CL9T2-24GBRL(JEDEC,1.50v) 6x4GB kit (4 DIMMs used)
|
||||
works perfectly at full speed (1333Mhz)
|
||||
|
||||
## MRC memory compatibility
|
||||
|
||||
- GSkill F3-2133C10D-16GAB(XMP,1.60v) 2x8GB kit works at 1333Mhz
|
||||
instead of XMP 2133Mhz
|
||||
|
||||
- Team Xtreem TXD38G2133HC9NDC01(XMP,1.50v) 2x4GB kit works at
|
||||
1600Mhz instead of XMP 2133Mhz
|
||||
|
||||
- Kingston KVR1066D3N7K2/4G(JEDEC,1.50v) 2x4GB kit works at 1066Mhz
|
||||
but the board only detects half its RAM, as those DIMMs have
|
||||
Double Sided(DS) chips and seems only Single Sided(SS) ones are
|
||||
fully detected
|
||||
|
||||
- GSkill F3-10666CL9T2-24GBRL(JEDEC,1.50v) 6x4GB kit (4 DIMMs used)
|
||||
works perfectly at full speed (1333Mhz)
|
||||
|
||||
## Technology
|
||||
|
||||
```eval_rst
|
||||
+------------------+--------------------------------------------------+
|
||||
| Northbridge | :doc:`../../northbridge/intel/sandybridge/index` |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Southbridge | bd82x6x |
|
||||
+------------------+--------------------------------------------------+
|
||||
| CPU | model_206ax |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Super I/O | Nuvoton NCT6779D |
|
||||
+------------------+--------------------------------------------------+
|
||||
| EC | None |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Coprocessor | Intel Management Engine |
|
||||
+------------------+--------------------------------------------------+
|
||||
```
|
||||
|
||||
## Extra resources
|
||||
|
||||
- [Flash chip datasheet][W25Q64FVA1Q]
|
||||
|
||||
[ASUS P8Z88-M Pro]: https://www.asus.com/Motherboards/P8Z77M_PRO/
|
||||
[W25Q64FVA1Q]: https://www.winbond.com/resource-files/w25q64fv%20revs%2007182017.pdf
|
||||
[flashrom]: https://flashrom.org/Flashrom
|
BIN
Documentation/mainboard/cavium/cavium_cn81xx_sff_evb.jpg
Normal file
After Width: | Height: | Size: 148 KiB |
76
Documentation/mainboard/cavium/cn8100_sff_evb.md
Normal file
@ -0,0 +1,76 @@
|
||||
# CN81xx Evaluation-board SFF
|
||||
|
||||
## Specs
|
||||
|
||||
* 3 mini PCIe slots
|
||||
* 4 SATA ports
|
||||
* one USB3.0 A connector
|
||||
* 20Pin JTAG
|
||||
* 4 Gigabit Ethernet
|
||||
* 2 SFP+ connectors
|
||||
* PCIe x4 slot
|
||||
* UART over USB
|
||||
* eMMC Flash or MicroSD card slot for on-board storage
|
||||
* 1 Slot with DDR-4 memory with ECC support
|
||||
* SPI flash
|
||||
* MMC and uSD-card
|
||||
|
||||
## Flashing coreboot
|
||||
|
||||
```eval_rst
|
||||
+---------------------+----------------+
|
||||
| Type | Value |
|
||||
+=====================+================+
|
||||
| Socketed flash | no |
|
||||
+---------------------+----------------+
|
||||
| Model | Micron 25Q128A |
|
||||
+---------------------+----------------+
|
||||
| Size | 8 MiB |
|
||||
+---------------------+----------------+
|
||||
| In circuit flashing | no |
|
||||
+---------------------+----------------+
|
||||
| Package | SOIC-8 |
|
||||
+---------------------+----------------+
|
||||
| Write protection | No |
|
||||
+---------------------+----------------+
|
||||
| Dual BIOS feature | No |
|
||||
+---------------------+----------------+
|
||||
| Internal flashing | ? |
|
||||
+---------------------+----------------+
|
||||
```
|
||||
|
||||
## Notes about the hardware
|
||||
|
||||
1. Cavium connected *GPIO10* to a global reset line.
|
||||
It's unclear which chips are connected, but at least the PHY and SATA chips
|
||||
are connected.
|
||||
|
||||
2. The 4 QLMs can be configured using DIP switches (SW1). That means only a
|
||||
subset of of the available connectors is working at time.
|
||||
|
||||
3. The boot source can be configure using DIP switches (SW1).
|
||||
|
||||
4. The core and system clock frequency can be configured using DIP switches
|
||||
(SW3 / SW2).
|
||||
|
||||
5. The JTAG follows Cavium's own protocol. Support for it is missing in
|
||||
OpenOCD. You have to use ARMs official hardware and software.
|
||||
|
||||
## Technology
|
||||
|
||||
```eval_rst
|
||||
+---------------+----------------------------------------+
|
||||
| SoC | :doc:`../../soc/cavium/cn81xx/index` |
|
||||
+---------------+----------------------------------------+
|
||||
| CPU | Cavium ARMv8-Quadcore `CN81XX`_ |
|
||||
+---------------+----------------------------------------+
|
||||
|
||||
.. _CN81XX: https://www.cavium.com/product-octeon-tx-cn80xx-81xx.html
|
||||
|
||||
```
|
||||
|
||||
## Picture
|
||||
|
||||
![][cn81xx_board]
|
||||
|
||||
[cn81xx_board]: cavium_cn81xx_sff_evb.jpg
|
8
Documentation/mainboard/emulation/qemu-riscv.md
Normal file
@ -0,0 +1,8 @@
|
||||
# Qemu RISC-V emulator
|
||||
|
||||
## Building coreboot and running it in Qemu
|
||||
|
||||
- Configure coreboot and run `make` as usual
|
||||
- Run `util/riscv/make-spike-elf.sh build/coreboot.rom build/coreboot.elf` to
|
||||
convert coreboot to an ELF that Qemu can load
|
||||
- Run `qemu-system-riscv64 -M virt -m 1024M -nographic -kernel build/coreboot.elf`
|
23
Documentation/mainboard/emulation/spike-riscv.md
Normal file
@ -0,0 +1,23 @@
|
||||
# Spike RISC-V emulator
|
||||
|
||||
[Spike], also known as riscv-isa-sim, is a commonly used [RISC-V] emulator.
|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
- Download `riscv-fesvr` and `riscv-isa-sim` from <https://github.com/riscv/>
|
||||
- Apply the two patches in <https://github.com/riscv/riscv-isa-sim/pull/53>,
|
||||
which are necessary in order to have a serial console
|
||||
- Compile `riscv-fesvr` and then `riscv-isa-sim`
|
||||
|
||||
|
||||
## Building coreboot and running it in Spike
|
||||
|
||||
- Configure coreboot and run `make` as usual
|
||||
- Run `util/riscv/make-spike-elf.sh build/coreboot.rom build/coreboot.elf` to
|
||||
convert coreboot to an ELF that Spike can load
|
||||
- Run `spike -m1024 build/coreboot.elf`
|
||||
|
||||
|
||||
[Spike]: https://github.com/riscv/riscv-isa-sim
|
||||
[RISC-V]: https://riscv.org/
|
83
Documentation/mainboard/facebook/fbg1701.md
Normal file
@ -0,0 +1,83 @@
|
||||
# Facebook FBG-1701
|
||||
|
||||
This page describes how to run coreboot on the Facebook FBG1701.
|
||||
|
||||
FBG1701 are assembled with different onboard memory modules:
|
||||
Rev 1.0 Onboard Samsung K4B8G1646D-MYKO memory
|
||||
Rev 1.1 and 1.2 Onboard Micron MT41K512M16HA-125A memory
|
||||
|
||||
Use make menuconfig to configure `onboard memory manufacturer` in Mainboard
|
||||
menu.
|
||||
|
||||
## Required blobs
|
||||
|
||||
This board currently requires:
|
||||
fsp blob 3rdparty/fsp/BraswellFspBinPkg/FspBin/BSWFSP.fd
|
||||
Microcode Intel Braswell cpuid 1046C4 version 410
|
||||
(Used pre-build binary retrieved from Intel site)
|
||||
|
||||
## Flashing coreboot
|
||||
|
||||
### Internal programming
|
||||
|
||||
The main SPI flash can be accessed using [flashrom].
|
||||
|
||||
### External programming
|
||||
|
||||
The system has an internal flash chip which is a 8 MiB soldered SOIC-8 chip.
|
||||
This chip is located to the top middle side of the board. It's located
|
||||
between SoC and Q7 connector. Use clip (or solder wires) to program
|
||||
the chip.
|
||||
Specifically, it's a Winbond W25Q64FW (1.8V), whose datasheet can be found
|
||||
[here][W25Q64FW].
|
||||
|
||||
The system has an external flash chip which is a 8 MiB soldered SOIC-8 chip.
|
||||
This chip is located in the middle of carrier board close to the flex cable
|
||||
connection.
|
||||
Specifically, it's a Winbond W25Q64FV (3.3V), whose datasheet can be found
|
||||
[here][W25Q64FV].
|
||||
|
||||
## Known issues
|
||||
|
||||
- None
|
||||
|
||||
## Untested
|
||||
|
||||
- hardware monitor
|
||||
- SDIO
|
||||
- Full Embedded Controller support
|
||||
|
||||
## Working
|
||||
|
||||
- USB
|
||||
- Gigabit Ethernet
|
||||
- integrated graphics
|
||||
- flashrom
|
||||
- external graphics
|
||||
- PCIe
|
||||
- eMMC
|
||||
- SATA
|
||||
- serial port
|
||||
- SMBus
|
||||
- HDA
|
||||
- initialization with FSP MR2
|
||||
- SeaBIOS payload
|
||||
- Embedded Linux (Ubuntu 4.15+)
|
||||
|
||||
## Technology
|
||||
|
||||
```eval_rst
|
||||
+------------------+--------------------------------------------------+
|
||||
| SoC | Intel Atom Processor N3710 |
|
||||
+------------------+--------------------------------------------------+
|
||||
| CPU | Intel Braswell (N3710) |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Super I/O, EC | ITE8256 |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Coprocessor | Intel Management Engine |
|
||||
+------------------+--------------------------------------------------+
|
||||
```
|
||||
|
||||
[W25Q64FW]: https://www.winbond.com/resource-files/w25q64fw%20revn%2005182017%20sfdp.pdf
|
||||
[W25Q64FV]: https://www.winbond.com/resource-files/w25q64fv%20revs%2007182017.pdf
|
||||
[flashrom]: https://flashrom.org/Flashrom
|
75
Documentation/mainboard/foxconn/d41s.md
Normal file
@ -0,0 +1,75 @@
|
||||
# Foxconn D41S
|
||||
|
||||
This page describes how to run coreboot on the [FOXCONN D41S] desktop from [FOXCONN].
|
||||
The D42S, D51S, D52S are compatible boards with the difference being the CPU.
|
||||
|
||||
## Building coreboot
|
||||
|
||||
The default options for this board should result in a fully working image:
|
||||
|
||||
# echo "CONFIG_VENDOR_FOXCONN=y" > .config
|
||||
# echo "CONFIG_BOARD_FOXCONN_D41S=y" >> .config
|
||||
# make olddefconfig && make
|
||||
|
||||
|
||||
## Flashing coreboot
|
||||
|
||||
```eval_rst
|
||||
+---------------------+--------+
|
||||
| Type | Value |
|
||||
+=====================+========+
|
||||
| Socketed flash | yes |
|
||||
+---------------------+--------+
|
||||
| Model | W25X80 |
|
||||
+---------------------+--------+
|
||||
| Size | 1 MiB |
|
||||
+---------------------+--------+
|
||||
| In circuit flashing | yes |
|
||||
+---------------------+--------+
|
||||
| Package | DIP-8 |
|
||||
+---------------------+--------+
|
||||
| Write protection | No |
|
||||
+---------------------+--------+
|
||||
| Dual BIOS feature | No |
|
||||
+---------------------+--------+
|
||||
| Internal flashing | yes |
|
||||
+---------------------+--------+
|
||||
```
|
||||
|
||||
### Internal programming
|
||||
|
||||
The SPI flash can be accessed using [flashrom].
|
||||
|
||||
### External programming
|
||||
|
||||
The easiest to flash externally is to simply extract the SPI flash from its socket.
|
||||
To do this gently take the SPI flash out of its socket and flash with your programmer.
|
||||
|
||||
**NOTE: Don't forget to set the WP# AND HOLD# to 3V.**
|
||||
|
||||
**NOTE2: Make sure to reinsert it in the right direction afterward**
|
||||
|
||||
**Location and orientation of the SPI flash socket**
|
||||
![][d41s_flash]
|
||||
|
||||
[d41s_flash]: d41s_flash.jpg
|
||||
|
||||
## Technology
|
||||
|
||||
```eval_rst
|
||||
+------------------+------------------+
|
||||
| Northbridge | Intel Pinevew |
|
||||
+------------------+------------------+
|
||||
| Southbridge | Intel NM10 |
|
||||
+------------------+------------------+
|
||||
| CPU | model_106cx |
|
||||
+------------------+------------------+
|
||||
| SuperIO | ITE IT8721F |
|
||||
+------------------+------------------+
|
||||
| clockgen (CK505) | ICS 9LPRS525AGLF |
|
||||
+------------------+------------------+
|
||||
```
|
||||
|
||||
[FOXCONN D41S]: http://www.foxconnchannel.com/ProductDetail.aspx?T=motherboard&U=en-us0000481
|
||||
[FOXCONN]: http://www.foxconnchannel.com
|
||||
[Flashrom]: https://flashrom.org/Flashrom
|
BIN
Documentation/mainboard/foxconn/d41s_flash.jpg
Normal file
After Width: | Height: | Size: 126 KiB |
84
Documentation/mainboard/gigabyte/ga-h61m-s2pv.md
Normal file
@ -0,0 +1,84 @@
|
||||
# Gigabyte GA-H61M-S2PV
|
||||
|
||||
This page describes how to run coreboot on the [Gigabyte GA-H61M-S2PV] desktop
|
||||
from [Gigabyte].
|
||||
|
||||
## Flashing coreboot
|
||||
|
||||
```eval_rst
|
||||
+---------------------+------------+
|
||||
| Type | Value |
|
||||
+=====================+============+
|
||||
| Socketed flash | No |
|
||||
+---------------------+------------+
|
||||
| Model | MX25L3206E |
|
||||
+---------------------+------------+
|
||||
| Size | 4 MiB |
|
||||
+---------------------+------------+
|
||||
| In circuit flashing | Yes |
|
||||
+---------------------+------------+
|
||||
| Package | SOIC-8 |
|
||||
+---------------------+------------+
|
||||
| Write protection | No |
|
||||
+---------------------+------------+
|
||||
| Dual BIOS feature | Yes |
|
||||
+---------------------+------------+
|
||||
| Internal flashing | Yes |
|
||||
+---------------------+------------+
|
||||
```
|
||||
|
||||
### Internal programming
|
||||
|
||||
The main SPI flash can be accessed using [flashrom]. The DualBIOS backup flash
|
||||
chip is accessible as well using the `dualbiosindex` programmer parameter.
|
||||
Since the flash recovery mechanism works even with coreboot installed on the
|
||||
main flash chip (it still restores the vendor UEFI though), it is useful to
|
||||
leave the backup chip untouched.
|
||||
|
||||
### Notes about the original firmware
|
||||
|
||||
The original IFD defines the BIOS region as the whole flash chip. While this is
|
||||
not an issue if flashing a complete image, it confuses flashrom and trashes the
|
||||
flash chip's contents when using the --ifd option. However, this can be easily
|
||||
fixed by reading the IFD with flashrom, editing the correct values into it with
|
||||
ifdtool and then reflashing it.
|
||||
|
||||
Create a layout.txt with the following contents:
|
||||
|
||||
00000000:00000fff fd
|
||||
00180000:003fffff bios
|
||||
00001000:0017ffff me
|
||||
|
||||
After that, simply run:
|
||||
|
||||
```bash
|
||||
sudo flashrom -p internal --ifd -i fd -r ifd.rom
|
||||
ifdtool -n layout.txt ifd.rom
|
||||
sudo flashrom -p internal --ifd -i fd -w ifd.rom.new
|
||||
```
|
||||
|
||||
After flashing, power cycle the computer to ensure the new IFD is being used.
|
||||
If only a reboot is done, the old IFD layout is still seen by flashrom, even if
|
||||
the IFD on the flash chip is correctly defining the new region layout.
|
||||
|
||||
## Technology
|
||||
|
||||
```eval_rst
|
||||
+------------------+--------------------------------------------------+
|
||||
| Northbridge | :doc:`../../northbridge/intel/sandybridge/index` |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Southbridge | bd82x6x |
|
||||
+------------------+--------------------------------------------------+
|
||||
| CPU | model_206ax |
|
||||
+------------------+--------------------------------------------------+
|
||||
| SuperIO | ITE IT8728F |
|
||||
+------------------+--------------------------------------------------+
|
||||
| EC | None |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Coprocessor | Intel ME |
|
||||
+------------------+--------------------------------------------------+
|
||||
```
|
||||
|
||||
[Gigabyte GA-H61M-S2PV]: https://www.gigabyte.com/us/Motherboard/GA-H61M-S2PV-rev-10
|
||||
[Gigabyte]: https://www.gigabyte.com
|
||||
[flashrom]: https://flashrom.org/Flashrom
|
40
Documentation/mainboard/google/dragonegg.md
Normal file
@ -0,0 +1,40 @@
|
||||
# Google Dragonegg (Chromebook)
|
||||
|
||||
This page describes how to run coreboot on the google dragonegg board.
|
||||
|
||||
Dragonegg is based on Intel Ice Lake platform, please refer to below link to get more details
|
||||
```eval_rst
|
||||
:doc:`../../soc/intel/icelake/iceLake_coreboot_development`
|
||||
```
|
||||
|
||||
## Building coreboot
|
||||
|
||||
* Follow build instructions mentioned in Ice Lake document
|
||||
```eval_rst
|
||||
:doc:`../../soc/intel/icelake/iceLake_coreboot_development`
|
||||
```
|
||||
|
||||
* The default options for this board should result in a fully working image:
|
||||
```bash
|
||||
# echo "CONFIG_VENDOR_GOOGLE=y" > .config
|
||||
# echo "CONFIG_BOARD_GOOGLE_DRAGONEGG=y" >> .config
|
||||
# make olddefconfig && make
|
||||
```
|
||||
|
||||
## Flashing coreboot
|
||||
|
||||
```eval_rst
|
||||
+---------------------+------------+
|
||||
| Type | Value |
|
||||
+=====================+============+
|
||||
| Socketed flash | no |
|
||||
+---------------------+------------+
|
||||
| Vendor | Winbond |
|
||||
+---------------------+------------+
|
||||
| Size | 32 MiB |
|
||||
+---------------------+------------+
|
||||
| Internal flashing | yes |
|
||||
+---------------------+------------+
|
||||
| External flashing | yes |
|
||||
+---------------------+------------+
|
||||
```
|
82
Documentation/mainboard/hp/8760w.md
Normal file
@ -0,0 +1,82 @@
|
||||
# HP EliteBook 8760w
|
||||
|
||||
This page describes how to run coreboot on the [HP EliteBook 8760w].
|
||||
|
||||
## Flashing coreboot
|
||||
|
||||
```eval_rst
|
||||
+---------------------+------------+
|
||||
| Type | Value |
|
||||
+=====================+============+
|
||||
| Socketed flash | no |
|
||||
+---------------------+------------+
|
||||
| Model | W25Q64.V |
|
||||
+---------------------+------------+
|
||||
| Size | 8 MiB |
|
||||
+---------------------+------------+
|
||||
| Package | SOIC-8 |
|
||||
+---------------------+------------+
|
||||
| Write protection | no |
|
||||
+---------------------+------------+
|
||||
| Dual BIOS feature | no |
|
||||
+---------------------+------------+
|
||||
| In circuit flashing | yes |
|
||||
+---------------------+------------+
|
||||
| Internal flashing | yes |
|
||||
+---------------------+------------+
|
||||
```
|
||||
|
||||
## Required proprietary blobs
|
||||
|
||||
- Intel Firmware Descriptor, ME and GbE firmware
|
||||
- EC: please read [EliteBook Series](elitebook_series)
|
||||
|
||||
## Flashing instructions
|
||||
|
||||
HP EliteBook 8760w has an 8MB SOIC-8 flash chip on the bottom of the
|
||||
mainboard. You just need to remove the service cover, and use an SOIC-8
|
||||
clip to read and flash the chip.
|
||||
|
||||

|
||||
|
||||
## Untested
|
||||
|
||||
- dock: serial port, parallel port, ...
|
||||
- TPM
|
||||
- S3 suspend/resume
|
||||
- Gigabit Ethernet
|
||||
|
||||
## Working
|
||||
|
||||
- i7-2630QM, 0+4G+8G+0
|
||||
- i7-3720QM, 8G+8G+8G+8G
|
||||
- Arch Linux boot from SeaBIOS payload
|
||||
- EHCI debug: the port is at the right side, next to the charging port
|
||||
- SATA
|
||||
- eSATA
|
||||
- USB2 and USB3
|
||||
- keyboard, touchpad, trackpad
|
||||
- WLAN
|
||||
- WWAN
|
||||
- EC ACPI
|
||||
- Using `me_cleaner`
|
||||
|
||||
## Technology
|
||||
|
||||
```eval_rst
|
||||
+------------------+--------------------------------------------------+
|
||||
| Northbridge | :doc:`../../northbridge/intel/sandybridge/index` |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Southbridge | bd82x6x |
|
||||
+------------------+--------------------------------------------------+
|
||||
| CPU | model_206ax |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Super I/O | SMSC LPC47n217 |
|
||||
+------------------+--------------------------------------------------+
|
||||
| EC | SMSC KBC1126 |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Coprocessor | Intel Management Engine |
|
||||
+------------------+--------------------------------------------------+
|
||||
```
|
||||
|
||||
[HP EliteBook 8760w]: https://support.hp.com/us-en/product/hp-elitebook-8760w-mobile-workstation/5071180
|
BIN
Documentation/mainboard/hp/8760w_flash.jpg
Normal file
After Width: | Height: | Size: 54 KiB |
80
Documentation/mainboard/hp/compaq_8200_sff.md
Normal file
@ -0,0 +1,80 @@
|
||||
# HP Compaq 8200 Elite SFF
|
||||
|
||||
This page describes how to run coreboot on the [Compaq 8200 Elite SFF] desktop
|
||||
from [HP].
|
||||
|
||||
## TODO
|
||||
|
||||
The following things are still missing from this coreboot port:
|
||||
|
||||
- Extended HWM reporting
|
||||
- Advanced LED control
|
||||
- Advanced power configuration in S3
|
||||
|
||||
## Flashing coreboot
|
||||
|
||||
```eval_rst
|
||||
+---------------------+------------+
|
||||
| Type | Value |
|
||||
+=====================+============+
|
||||
| Socketed flash | no |
|
||||
+---------------------+------------+
|
||||
| Model | MX25L6406E |
|
||||
+---------------------+------------+
|
||||
| Size | 8 MiB |
|
||||
+---------------------+------------+
|
||||
| In circuit flashing | yes |
|
||||
+---------------------+------------+
|
||||
| Package | SOIC-8 |
|
||||
+---------------------+------------+
|
||||
| Write protection | No |
|
||||
+---------------------+------------+
|
||||
| Dual BIOS feature | No |
|
||||
+---------------------+------------+
|
||||
| Internal flashing | yes |
|
||||
+---------------------+------------+
|
||||
```
|
||||
|
||||
### Internal programming
|
||||
|
||||
The SPI flash can be accessed using [flashrom].
|
||||
|
||||
### External programming
|
||||
|
||||
External programming with an SPI adapter and [flashrom] does work, but it powers the
|
||||
whole southbridge complex. You need to supply enough current through the programming adapter.
|
||||
|
||||
If you want to use a SOIC pomona test clip, you have to cut the 2nd DRAM DIMM holder,
|
||||
as otherwise there's not enough space near the flash.
|
||||
|
||||
**Position of SOIC-8 flash IC near 2nd DIMM holder**
|
||||
![][compaq_8200_flash1]
|
||||
|
||||
[compaq_8200_flash1]: compaq_8200_sff_flash1.jpg
|
||||
|
||||
**Closeup view of SOIC-8 flash IC**
|
||||
![][compaq_8200_flash2]
|
||||
|
||||
[compaq_8200_flash2]: compaq_8200_sff_flash2.jpg
|
||||
|
||||
## Technology
|
||||
|
||||
```eval_rst
|
||||
+------------------+--------------------------------------------------+
|
||||
| Northbridge | :doc:`../../northbridge/intel/sandybridge/index` |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Southbridge | bd82x6x |
|
||||
+------------------+--------------------------------------------------+
|
||||
| CPU | model_206ax |
|
||||
+------------------+--------------------------------------------------+
|
||||
| SuperIO | :doc:`../../superio/nuvoton/npcd378` |
|
||||
+------------------+--------------------------------------------------+
|
||||
| EC | |
|
||||
+------------------+--------------------------------------------------+
|
||||
| Coprocessor | Intel ME |
|
||||
+------------------+--------------------------------------------------+
|
||||
```
|
||||
|
||||
[Compaq 8200 Elite SFF]: https://support.hp.com/us-en/document/c03414707
|
||||
[HP]: https://www.hp.com/
|
||||
[flashrom]: https://flashrom.org/Flashrom
|
BIN
Documentation/mainboard/hp/compaq_8200_sff_flash1.jpg
Normal file
After Width: | Height: | Size: 160 KiB |
BIN
Documentation/mainboard/hp/compaq_8200_sff_flash2.jpg
Normal file
After Width: | Height: | Size: 107 KiB |
111
Documentation/mainboard/hp/elitebook_series.md
Normal file
@ -0,0 +1,111 @@
|
||||
# HP EliteBook series
|
||||
|
||||
This document is about HP EliteBook series laptops up to Ivy Bridge era
|
||||
which use SMSC KBC1126 as embedded controller.
|
||||
|
||||
## EC
|
||||
|
||||
SMSC KBC1098/KBC1126 has been used in HP EliteBooks for many generations.
|
||||
They use similar EC firmware that will load other code and data from the
|
||||
SPI flash chip, so we need to put some firmware blobs to the coreboot image.
|
||||
|
||||
The following document takes EliteBook 2760p as an example.
|
||||
|
||||
First, you need to extract the blobs needed by EC firmware using util/kbc1126.
|
||||
You can extract them from your backup firmware image, or firmware update
|
||||
provided by HP with [unar] as follows:
|
||||
|
||||
```bash
|
||||
wget https://ftp.hp.com/pub/softpaq/sp79501-80000/sp79710.exe
|
||||
unar sp79710.exe
|
||||
${COREBOOT_DIR}/util/kbc1126/kbc1126_ec_dump sp79710/Rompaq/68SOU.BIN
|
||||
mv 68SOU.BIN.fw1 ${COREBOOT_DIR}/2760p-fw1.bin
|
||||
mv 68SOU.BIN.fw2 ${COREBOOT_DIR}/2760p-fw2.bin
|
||||
```
|
||||
|
||||
When you config coreboot, select:
|
||||
|
||||
```text
|
||||
Chipset --->
|
||||
[*] Add firmware images for KBC1126 EC
|
||||
(2760p-fw1.bin) KBC1126 firmware #1 path and filename
|
||||
(2760p-fw2.bin) KBC1126 filename #2 path and filename
|
||||
```
|
||||
|
||||
## Super I/O
|
||||
|
||||
EliteBook 8000 series laptops have SMSC LPC47n217 Super I/O to provide
|
||||
a serial port and a parallel port, you can debug the laptop via this
|
||||
serial port.
|
||||
|
||||
## porting
|
||||
|
||||
To port coreboot to an HP EliteBook laptop, you need to do the following:
|
||||
|
||||
- select Kconfig option `EC_HP_KBC1126`
|
||||
- select Kconfig option `SUPERIO_SMSC_LPC47N217` if there is LPC47n217 Super I/O
|
||||
- initialize EC and Super I/O in romstage
|
||||
- add EC and Super I/O support to devicetree.cb
|
||||
|
||||
To get the related values for EC in devicetree.cb, you need to extract the EFI
|
||||
module EcThermalInit from the vendor UEFI firmware with [UEFITool]. Usually,
|
||||
`ec_data_port`, `ec_cmd_port` and `ec_ctrl_reg` has the following values:
|
||||
|
||||
- For xx60 series: 0x60, 0x64, 0xca
|
||||
- For xx70 series: 0x62, 0x66, 0x81
|
||||
|
||||
You can use [radare2] and the following [r2pipe] Python script to find
|
||||
these values from the EcThermalInit EFI module:
|
||||
|
||||
```python
|
||||
#!/usr/bin/env python
|
||||
|
||||
# install radare2 and use `pip3 install --user r2pipe` to install r2pipe
|
||||
|
||||
import r2pipe
|
||||
import sys
|
||||
|
||||
if len(sys.argv) < 2:
|
||||
fn = "ecthermalinit.efi"
|
||||
else:
|
||||
fn = sys.argv[1]
|
||||
|
||||
r2 = r2pipe.open(fn)
|
||||
r2.cmd("aa")
|
||||
entryf = r2.cmdj("pdfj")
|
||||
|
||||
for insn in entryf["ops"]:
|
||||
if "lea r8" in insn["opcode"]:
|
||||
_callback = insn["ptr"]
|
||||
break
|
||||
|
||||
r2.cmd("af @ {}".format(_callback))
|
||||
callbackf_insns = r2.cmdj("pdfj @ {}".format(_callback))["ops"]
|
||||
|
||||
def find_port(addr):
|
||||
ops = r2.cmdj("pdfj @ {}".format(addr))["ops"]
|
||||
for insn in ops:
|
||||
if "lea r8d" in insn["opcode"]:
|
||||
return insn["ptr"]
|
||||
|
||||
ctrl_reg_found = False
|
||||
|
||||
for i in range(0, len(callbackf_insns)):
|
||||
if not ctrl_reg_found and "mov cl" in callbackf_insns[i]["opcode"]:
|
||||
ctrl_reg_found = True
|
||||
ctrl_reg = callbackf_insns[i]["ptr"]
|
||||
print("ec_ctrl_reg = 0x%02x" % ctrl_reg)
|
||||
cmd_port = find_port(callbackf_insns[i+1]["jump"])
|
||||
data_port = find_port(callbackf_insns[i+3]["jump"])
|
||||
print("ec_cmd_port = 0x%02x\nec_data_port = 0x%02x" % (cmd_port, data_port))
|
||||
|
||||
if "mov bl" in callbackf_insns[i]["opcode"]:
|
||||
ctrl_value = callbackf_insns[i]["ptr"]
|
||||
print("ec_fan_ctrl_value = 0x%02x" % ctrl_value)
|
||||
```
|
||||
|
||||
|
||||
[unar]: https://theunarchiver.com/command-line
|
||||
[UEFITool]: https://github.com/LongSoft/UEFITool
|
||||
[radare2]: https://radare.org/
|
||||
[r2pipe]: https://github.com/radare/radare2-r2pipe
|