From mboxrd@z Thu Jan 1 00:00:00 1970 From: R&D4 Date: Thu, 07 Feb 2008 17:57:29 +0100 Subject: [U-Boot-Users] U-Boot WinCE booting support? In-Reply-To: <200802071728.12984.sr@denx.de> References: <47AB303B.5040402@dave-tech.it> <200802071728.12984.sr@denx.de> Message-ID: <47AB3879.70301@dave-tech.it> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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