public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Production und U-boot
@ 2004-01-29 11:45 Matias Sundman
  2004-01-31  7:25 ` Robert Schwebel
  0 siblings, 1 reply; 3+ messages in thread
From: Matias Sundman @ 2004-01-29 11:45 UTC (permalink / raw)
  To: u-boot

Hi all,
I would like to have your views on how U-boot is used in production.

We will have Boards that has U-boot as the bootloader. U-boot will be burned in flash by means of JTAG.
Later the boards will be put in a subrack for parallel SW download and Flashing.

Now what I am thinking of is to program U-boot to recognize a pin in the backplane, if the pin is set
the board is in a production facility - BOOTP and a TFTP download of the flash image shall be done, and burned in flash ( by U-boot ). The pin is set by production staff.

If it is not set U-boot shall start a Image from flash ( Containing Linux and a Rootfile system ) since it is in a "sharp" environment.

Any other ideas?

Cheers // Matias

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] Production und U-boot
@ 2004-01-30  7:31 Matias Sundman
  0 siblings, 0 replies; 3+ messages in thread
From: Matias Sundman @ 2004-01-30  7:31 UTC (permalink / raw)
  To: u-boot


Im trying once again, my mail from yesterday seems lost...
>  -----Original Message-----
> From: 	Matias Sundman (AL/EAB)  
> Sent:	den 29 januari 2004 12:45
> To:	U-Boot-Users
> Subject:	Production und U-boot
> 
> 
> Hi all,
> I would like to have your views on how U-boot is used in production.
> 
> We will have Boards that has U-boot as the bootloader. U-boot will be burned in flash by means of JTAG.
> Later the boards will be put in a subrack for parallel SW download and Flashing.
> 
> Now what I am thinking of is to program U-boot to recognize a pin in the backplane, if the pin is set
> the board is in a production facility - BOOTP and a TFTP download of the flash image shall be done, and burned in flash ( by U-boot ). The pin is set by production staff.
> 
> If it is not set U-boot shall start a Image from flash ( Containing Linux and a Rootfile system ) since it is in a "sharp" environment.
> 
> Any other ideas?
> 
> Cheers // Matias
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] Production und U-boot
  2004-01-29 11:45 [U-Boot-Users] Production und U-boot Matias Sundman
@ 2004-01-31  7:25 ` Robert Schwebel
  0 siblings, 0 replies; 3+ messages in thread
From: Robert Schwebel @ 2004-01-31  7:25 UTC (permalink / raw)
  To: u-boot

On Thu, Jan 29, 2004 at 12:45:17PM +0100, Matias Sundman (AL/EAB) wrote:
> Now what I am thinking of is to program U-boot to recognize a pin in
> the backplane, if the pin is set the board is in a production facility
> - BOOTP and a TFTP download of the flash image shall be done, and
> burned in flash ( by U-boot ). The pin is set by production staff.

I've done similar things with our boards, mostly by setting a
bootcmd_foobar variable in the environment (from misc_init_r()) when the
pin is set and setting bootcmd to 'run bootcmd_foobar' in that case;
this way you can test your scenario by running it manually from the
command line.  

> If it is not set U-boot shall start a Image from flash ( Containing
> Linux and a Rootfile system ) since it is in a "sharp" environment.

The other thing I'm currently implementing is to setup a generic
scripting mechanism which tests and flashed boards with an "expect"
script - this works pretty well and you can also perform some test cases
with U-Boot and Linux while setting up the board, including
autogenerated test reports. 

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hornemannstra?e 12,  31137 Hildesheim, Germany
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-01-31  7:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-29 11:45 [U-Boot-Users] Production und U-boot Matias Sundman
2004-01-31  7:25 ` Robert Schwebel
  -- strict thread matches above, loose matches on Subject: below --
2004-01-30  7:31 Matias Sundman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox