@ -3992,15 +3992,15 @@ U-Boot Porting Guide:
list, October 2002]
list, October 2002]
int main (int argc, char *argv[])
int main(int argc, char *argv[])
{
{
sighandler_t no_more_time;
sighandler_t no_more_time;
signal (SIGALRM, no_more_time);
signal(SIGALRM, no_more_time);
alarm (PROJECT_DEADLINE - toSec (3 * WEEK));
alarm(PROJECT_DEADLINE - toSec (3 * WEEK));
if (available_money > available_manpower) {
if (available_money > available_manpower) {
p ay consultant to port U-Boot;
P ay consultant to port U-Boot;
return 0;
return 0;
}
}
@ -4008,35 +4008,47 @@ int main (int argc, char *argv[])
Subscribe to u-boot mailing list;
Subscribe to u-boot mailing list;
if (clueless) {
if (clueless)
email ("Hi, I am new to U-Boot, how do I get started?");
email("Hi, I am new to U-Boot, how do I get started?");
}
while (learning) {
while (learning) {
Read the README file in the top level directory;
Read the README file in the top level directory;
Read http://www.denx.de/twiki/bin/view/DULG/Manual ;
Read http://www.denx.de/twiki/bin/view/DULG/Manual;
Read applicable doc/*.README;
Read the source, Luke;
Read the source, Luke;
/* find . -name "*.[chS]" | xargs grep -i <keyword> */
}
}
if (available_money > toLocalCurrency ($2500)) {
if (available_money > toLocalCurrency ($2500))
Buy a BDI2 000;
Buy a BDI3 000;
} else {
else
Add a lot of aggravation and time;
Add a lot of aggravation and time;
}
Create your own board support subdirectory;
Create your own board config file;
if (a similar board exists) { /* hopefully... */
cp -a board/<similar> board/<myboard>
while (!running) {
cp include/configs/<similar>.h include/configs/<myboard>.h
do {
} else {
Add / modify source code;
Create your own board support subdirectory;
} until (compiles);
Create your own board include/configs/<myboard>.h file;
Debug;
}
if (clueless)
Edit new board/<myboard> files
email ("Hi, I am having problems...");
Edit new include/configs/<myboard>.h
while (!accepted) {
while (!running) {
do {
Add / modify source code;
} until (compiles);
Debug;
if (clueless)
email("Hi, I am having problems...");
}
Send patch file to the U-Boot email list;
if (reasonable critiques)
Incorporate improvements from email list code review;
else
Defend code as written;
}
}
Send patch file to Wolfgang;
return 0;
return 0;
}
}