[U-Boot] Starting WindowsCE

Hello,
I use U-Boot with a Marvell PXA270 CPU. And now I will start WindowsCE with it. I have loaded the nk.bin image via TFTP to the RAM but I need the entry point of the image. And I don't know anything about starting WinCE at the moment. Has anybody experience with starting WinCE or has anybody done this with U-Boot?
Thank you,
Andreas
______________________________________________________________
Andreas Geisreiter
Entwicklung
DH electronics GmbH - Am Anger 8 - 83346 Bergen - Germany
HRB Traunstein 9602 - Ust ID Nr.: DE 174 205 805
Geschäftsführung Dipl.-Ing. Stefan Daxenberger, Dipl.-Ing. Helmut Henschke
Email: mailto:ageisreiter@dh-electronics.de
Web: www.dh-electronics.de

On 09:44 Thu 30 Oct , A. Geisreiter wrote:
Hello,
I use U-Boot with a Marvell PXA270 CPU. And now I will start WindowsCE with it. I have loaded the nk.bin image via TFTP to the RAM but I need the entry point of the image. And I don't know anything about starting WinCE at the moment. Has anybody experience with starting WinCE or has anybody done this with U-Boot?
Take a look on this patch fro; Ryan CHEN
Aug22 Ryan CHEN [U-Boot] [PATCH] Add WinCE image load/boot cmd
Best Regards, J.

Andreas Geisreiter wrote:
I use U-Boot with a Marvell PXA270 CPU. And now I will start WindowsCE with it. I have loaded the nk.bin image via TFTP to the RAM but I need the entry point of the image. And I don't know anything about starting WinCE at the moment. Has anybody experience with starting WinCE or has anybody done this with U-Boot?
It is quite easy to use U-Boot to chainload Eboot which boots the CE kernel NK. The easiest way to do this (prior to the patch that supports the NK.bin image) is using nb0 (raw executable) images, namely Eboot.nb0 and NK.nb0. Use U-Boot to download these images into SDRAM and modify Eboot to use the NK.nb0 image previously loaded into SDRAM by U-Boot. An extra bonus for booting CE via both U-Boot and Eboot is using U-Boot's image (bootm with the boot feature disabled) decompression features. For large CE kernels, booting a gz compressed NK.nb0 could be significantly faster than booting an NK.bin image, because the gz image can be about 1/3 the size of the NK.bin image. Trivially changes to the Eboot and even NK sources may be required to make this work.
Look also into the U-Boot patches that support NK.bin directly. These patches may be faster than the approach I described above. The 2008-Aug-22 06:43 UTC patch by Ryan Chen has already been mentioned. There is also a much earlier patch by R&D4 dated 2008-Feb-02 16:57 UTC. (Not sure whether or not the patch by Chen is based on the patch by R&D4.)
Sincerely,
Ken Fuchs
participants (3)
-
A. Geisreiter
-
Jean-Christophe PLAGNIOL-VILLARD
-
Ken.Fuchs@bench.com