[U-Boot-Users] testing hardware

Hi, I would like test my hardware (arm926ejs). One way of doing it is having a POST tests which are part of u-boot code and executed everytime it is powered on.
am thinking of something like a client-server.
client is located on a PC with GUI and allows the user to execute the specific test.
The server - which could be part of u-boot or which is downloaed by u-boot and launched (into RAM) waits for command from the client. It executes the command and relays back the results which is then stored in the database by the client.
Can this be in done in u-boot. if i want to use u-boot what changes do u think i need to do?.
Please Advice,
Regards, sriram

Dear Ram!
Ram schrieb:
Can this be in done in u-boot. if i want to use u-boot what changes do u think i need to do?.
Yes, this can be done. The client just has to generate commands for the U-Boot command line. Unfortunately this means that the client also must have access to the serial console port.
If you only want a network connection between client und target, you either have to use netnonsole (doc/README.NetConsole) or write your own application. Probably you would like to use U-Boot's netconsole code as a reference implementation.
Keep in mind that U-Boot is not a multi-tasking OS so it is not possible to let such a test server run in the backgroud. U-Boot doesn't use interrupts (on most platforms).
With best regards Andreas Schweigstill

Hi, Thanks for your response.
I understand from you that we can download an image onto some location and execute that image.
can that image (or executable) is using the serial/ethernet? and act as a iterative server.
and once the end of all commands is sent will the u-boot get the control?.
Please advice,
Regards, sriram
On 7/7/06, Andreas Schweigstill andreas@schweigstill.de wrote:
Dear Ram!
Ram schrieb:
Can this be in done in u-boot. if i want to use u-boot what changes do u think i need to do?.
Yes, this can be done. The client just has to generate commands for the U-Boot command line. Unfortunately this means that the client also must have access to the serial console port.
If you only want a network connection between client und target, you either have to use netnonsole (doc/README.NetConsole) or write your own application. Probably you would like to use U-Boot's netconsole code as a reference implementation.
Keep in mind that U-Boot is not a multi-tasking OS so it is not possible to let such a test server run in the backgroud. U-Boot doesn't use interrupts (on most platforms).
With best regards Andreas Schweigstill
-- Dipl.-Phys. Andreas Schweigstill Schweigstill IT | Embedded Systems Schauenburgerstraße 116, D-24118 Kiel, Germany Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436 Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&da... _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users

In message 8bf247760607092332x2a59535cj6711590d3c95f3a5@mail.gmail.com you wrote:
I understand from you that we can download an image onto some location and execute that image.
You can either boot an OS (or some other application), where "boot" means that the only way back into U-Boot is through a systemn reset; or you can load and start a "standalone application", which returns to U-Boot after execution.
can that image (or executable) is using the serial/ethernet? and act
Yes, it can (depending on the exported U-Boot functions). See the docs.
as a iterative server.
Define "iterative server"!
and once the end of all commands is sent will the u-boot get the control?.
In case of a stndalone application: yes (unless you crash the system).
Best regards,
Wolfgang Denk
participants (3)
-
Andreas Schweigstill
-
Ram
-
Wolfgang Denk