In message <[EMAIL PROTECTED]> you wrote:
> 
> >> Added the 'fdtcmd' environment variable as a way to provide 'fdt'  
> >> commands
> >> that the user can supply to manipulate the device tree after  
> >> ft_board_setup()
> >> and before the tree is handled to the kernel.
> >
> > Where exactly is the needed, i. e. which spoecific situation  do  you
> > have  in  mind  where  this function cannot be implemented as part of
> > either a "preboot" or a standard "bootcmd" command sequence?
> 
> The situation is if we are fixing up or adding properties or nodes via  
> the ft_board_setup() how do I go about modifying that before the  
> device tree is handed to the kernel.
> 
> An example would be if we start adding the i2c node via code in u-boot  
> and after we have done that we want to add a frequency property at  
> runtime w/o changing the u-boot code.

So just run the needed commands before you run "bootm" as part of your
boot command sequence.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
One difference between a man and a machine is that a machine is quiet
when well oiled.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to