[U-Boot-Users] extending u-boot

Hi, u-boot (boot loader) size is limited by the size of the first sectors.
I want to extend u-boot - say i would like to have my own tests that need to be executed when i give command.
There are ONLY 2 ways of doing it - AFAIK
1) include the test code (commands) as a part of u-boot 2) Download the test cases as a part of an app and run it using tftpboot or serial port download.
If i try to include all the test cases as part of u-boot. the size becomes a concern if the number of tests are more.
If we take the second case, can this app access the serial port/drivers.
How can this be achieved?.
if yes, What will be the state of u-boot when this app is running. wont it also try to read from the serial port?.
Is there any example of such an application?.
Regards, Jo

In message 3634de740607170601w324b8ceu604cab95f7a480f4@mail.gmail.com you wrote:
There are ONLY 2 ways of doing it - AFAIK
- include the test code (commands) as a part of u-boot
- Download the test cases as a part of an app and run it using
tftpboot or serial port download.
Of course you can also store such standaloine applications in flash (NOR or NAND), or on external storage like CompactFlash or USB Mass Storage devices - assuming your ardware upports this.
If we take the second case, can this app access the serial port/drivers.
See doc/README.standalone
if yes, What will be the state of u-boot when this app is running. wont it also try to read from the serial port?.
No. U-Boot is strictly single-tasking.
Is there any example of such an application?.
Guess what the examples/ directory contains?
Best regards,
Wolfgang Denk
participants (2)
-
Maximus
-
Wolfgang Denk