[U-Boot-Users] U-Boot WinCE booting support?

R&D4 r&d4 at dave-tech.it
Thu Feb 7 17:57:29 CET 2008


Here it is Stefan!

There is only one main changes:

* add common/cmd_bin.c for adding 'bootwince' command. This command 
accept only one argument which is the base address of .bin image. The 
command should also handle .nk (raw) images, but I have never tried it 
so much (.nk are quite huge and useless)
It also calls build_bin_image_parameters() (if defined) to build 
"platform dependent" parameters (e.g. command line, EDBG setup and so on)
* obvious changes to cmd_confdefs.h and Makefile

The "real" patch (as it's used on our platform) also:

* add two platform dependent file (drv_glob.h and halether.h) taken from 
WinCE BSP (don't know if this can be added due licence restrictions) to 
have C struct to pass info to the kernel (DRIVER_GLOBALS as called 
withing WinCE BSP).
* add build_bin_image_parameters() to pass command line and "BSP 
dependent" info to the WinCE kernel.

I think that this can be useful too, if you want I can give you a 
separate "platform dependent" patch.

I think that the patch needs only to adjust .bin base address and entry 
point which is now platform dependent. It can be made platform 
independet by playing with WinCE .bib parameters...

HTH!

Best Regards,

-- 

Andrea

DAVE Srl - Electronics System House
e-mail address: r&d4 at dave-tech.it



Stefan Roese wrote:
> 
> Yes, please send me the patch. Perhaps we will clean it up and integrate it 
> into the common source.
> 
> Thanks.
> 
> Best regards,
> Stefan
> 
> =====================================================================

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: u-boot-bootwince.patch
Url: http://lists.denx.de/pipermail/u-boot/attachments/20080207/70e82f56/attachment.txt 


More information about the U-Boot mailing list