public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: R&D4 <r&d4@dave-tech.it>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] U-Boot WinCE booting support?
Date: Thu, 07 Feb 2008 17:57:29 +0100	[thread overview]
Message-ID: <47AB3879.70301@dave-tech.it> (raw)
In-Reply-To: <200802071728.12984.sr@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 

  reply	other threads:[~2008-02-07 16:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-07 16:22 [U-Boot-Users] U-Boot WinCE booting support? R&D4
2008-02-07 16:28 ` Stefan Roese
2008-02-07 16:57   ` R&D4 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-02-07 15:59 Stefan Roese
2008-04-18 22:35 ` Ken.Fuchs at bench.com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47AB3879.70301@dave-tech.it \
    --to=r&d4@dave-tech.it \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox