Improve U-Boot Porting Guide in the README
Update for... * BDI2000 -> BDI3000 (BDI2000 is obsolete). * Add a line to read the doc/README.* files * Fix coding standard violations Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
This commit is contained in:
parent
7d4450a977
commit
6c3fef28b9
32
README
32
README
@ -4000,7 +4000,7 @@ int main (int argc, char *argv[])
|
||||
alarm(PROJECT_DEADLINE - toSec (3 * WEEK));
|
||||
|
||||
if (available_money > available_manpower) {
|
||||
pay consultant to port U-Boot;
|
||||
Pay consultant to port U-Boot;
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -4008,26 +4008,33 @@ int main (int argc, char *argv[])
|
||||
|
||||
Subscribe to u-boot mailing list;
|
||||
|
||||
if (clueless) {
|
||||
if (clueless)
|
||||
email("Hi, I am new to U-Boot, how do I get started?");
|
||||
}
|
||||
|
||||
while (learning) {
|
||||
Read the README file in the top level directory;
|
||||
Read http://www.denx.de/twiki/bin/view/DULG/Manual;
|
||||
Read applicable doc/*.README;
|
||||
Read the source, Luke;
|
||||
/* find . -name "*.[chS]" | xargs grep -i <keyword> */
|
||||
}
|
||||
|
||||
if (available_money > toLocalCurrency ($2500)) {
|
||||
Buy a BDI2000;
|
||||
} else {
|
||||
if (available_money > toLocalCurrency ($2500))
|
||||
Buy a BDI3000;
|
||||
else
|
||||
Add a lot of aggravation and time;
|
||||
}
|
||||
|
||||
if (a similar board exists) { /* hopefully... */
|
||||
cp -a board/<similar> board/<myboard>
|
||||
cp include/configs/<similar>.h include/configs/<myboard>.h
|
||||
} else {
|
||||
Create your own board support subdirectory;
|
||||
Create your own board include/configs/<myboard>.h file;
|
||||
}
|
||||
Edit new board/<myboard> files
|
||||
Edit new include/configs/<myboard>.h
|
||||
|
||||
Create your own board config file;
|
||||
|
||||
while (!accepted) {
|
||||
while (!running) {
|
||||
do {
|
||||
Add / modify source code;
|
||||
@ -4036,7 +4043,12 @@ int main (int argc, char *argv[])
|
||||
if (clueless)
|
||||
email("Hi, I am having problems...");
|
||||
}
|
||||
Send patch file to Wolfgang;
|
||||
Send patch file to the U-Boot email list;
|
||||
if (reasonable critiques)
|
||||
Incorporate improvements from email list code review;
|
||||
else
|
||||
Defend code as written;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user