diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-01-25 20:00:23 +0100 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-01-27 18:32:00 +0100 |
commit | 2af09d5ac4ccb1427d0777aabcce0f488cce652e (patch) | |
tree | 51d05e5856cb57aff2bbd0f2d6e4b703ff8e3a9f /README | |
parent | c85ee98efa8b18f151c57908884a29136812af2c (diff) | |
download | u-boot-2af09d5ac4ccb1427d0777aabcce0f488cce652e.tar.gz |
README: remove 'U-Boot Porting Guide' section
This section does not match the standards of our documentation.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'README')
-rw-r--r-- | README | 74 |
1 files changed, 0 insertions, 74 deletions
@@ -2690,80 +2690,6 @@ running from ROM, and because the code will have to be relocated to a new address in RAM. -U-Boot Porting Guide: ----------------------- - -[Based on messages by Jerry Van Baren in the U-Boot-Users mailing -list, October 2002] - - -int main(int argc, char *argv[]) -{ - sighandler_t no_more_time; - - signal(SIGALRM, no_more_time); - alarm(PROJECT_DEADLINE - toSec (3 * WEEK)); - - if (available_money > available_manpower) { - Pay consultant to port U-Boot; - return 0; - } - - Download latest U-Boot source; - - Subscribe to u-boot mailing list; - - 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 https://www.denx.de/wiki/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 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 - - 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; - } - - return 0; -} - -void no_more_time (int sig) -{ - hire_a_guru(); -} - - Contributing ============ |