u-boot support for winCE on OSK board
Hi Naveen!
Quoted 3 lines
Hi,
Does the u-boot supports winCE?
not officially at the moment (of course, Wolfgang correct me if I'm wrong.. ;-)
Quoted 1 line
If i have to support winCE using u-boot, how can i start my work?
from the patch below, for example (BTW.. I think it has been removed from the site now..)
it should be a good start point to boot WinCE .bin images.
This patch adds a u-boot command (bootwince) which can handle WinCE images.
Quoted 7 lines
I am using u-boot-1.1.2.
I downloaded a patch from the following location.http://www.dave-tech.it/download/misc/sw/zefeer/zwck/u-boot-zwck-0.9.0-cmdbin.patch
But it is not working on my OSK board. Could any one suggest how to do it myself.
What do you mean by "not working"?
Do you have patch problems, build problems or runtime problems? please give me more details
and maybe I can help you somehow..
IIRC you have to take care at least of loading address..
Best Regards,
Andrea Scian
Quoted 4 lines · In message <[email protected]> you wrote:
Quoted 2 lines
Does the u-boot supports winCE?
not officially at the moment (of course, Wolfgang correct me if I'm wrong.. ;-)
Wince? What's that?
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The more we disagree, the more chance there is that at least one of us is right.
Hi,
When I applied the patch to my u-boot sources, it gave me an error. So i carried out the changes manually and compiled the u-boot.
Then i used the new u-boot as the bootloader.
After downloading the NK.bin source on to the SDRAM using tftp, i gave the following command.
# bootm 0x10000000
But it prompted that "Invalid file format".
Even i tried with the NK.bn0 which is a raw binary file in winCE, but i got the same error.
On the same OSK board if i have to support the lcd display in the u-boot itself what are the things that i have to take care?
Thanks in advance,
Naveen
Quoted 29 lines · Wolfgang Denk
Quoted 4 lines · In message <[email protected]> you wrote:
Quoted 2 lines
Does the u-boot supports winCE?
not officially at the moment (of course, Wolfgang correct me if I'm wrong.. ;-)
Wince? What's that?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The more we disagree, the more chance there is that at least one of us is right.-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
Hi Naveen,
Quoted 4 lines
Hi,
When I applied the patch to my u-boot sources, it gave me an error. So i carried out the changes manually and compiled the u-boot.
In my experience it's preatty hard to have a patch that works "out of the box"! ;-)
Quoted 6 lines
Then i used the new u-boot as the bootloader.
After downloading the NK.bin source on to the SDRAM using tftp, i gave the following command.# bootm 0x10000000But it prompted that "Invalid file format".
This is normal.. NK.bin it's not in "u-boot format" (required by bootm) you should use
bootwince command:
# bootwince 0x10000000
Quoted 2 lines
Even i tried with the NK.bn0 which is a raw binary file in winCE, but i got the same error.
Same as above. NK.nb0 is a plain binary file, ready to be executed (with the only requirement
that it should be loaded at the right address).
You should just run WinCE from NK.nb0 by executing:
# go 0x10000000 [or whatever your address is..]
Quoted 2 lines
On the same OSK board if i have to support the lcd display in the u-boot itself what are the things that i have to take care?
Sorry.. I cannot help you here! :-)
Best Regards,
Andrea Scian
DAVE Srl - Electronics System House
Quoted 2 lines
Thanks in advance,
Naveen
Hi Naveen,
Quoted 8 lines
Hi,
I tried even this.
# bootwince 0x10000000But it prompted "unknown command".
Is there anything else that i have to do, to get it working with the winCE images.
You just forget to add CFG_CMD_BIN to your board's CONFIG_COMMANDS definition. Try something like:
#define CONFIG_COMMANDS (CONFIG_CMD_DFL | CFG_CMD_BIN)
(or whatever is needed for you board). This should fix the "unknown command" problem.
Best Regards,
Andrea Scian
Quoted 50 lines
Thanks in advance,
NaveenQuoted 46 lines · Andrea Scian
Hi Naveen,
Quoted 4 lines
Hi,
When I applied the patch to my u-boot sources, it gave me an error. So i carried out the changes manually and compiled the u-boot.
In my experience it's preatty hard to have a patch that works "out of the box"! ;-)
Quoted 6 lines
Then i used the new u-boot as the bootloader.
After downloading the NK.bin source on to the SDRAM using tftp, i gave the following command.# bootm 0x10000000But it prompted that "Invalid file format".
This is normal.. NK.bin it's not in "u-boot format" (required by bootm) you should use
bootwince command:# bootwince 0x10000000Quoted 2 lines
Even i tried with the NK.bn0 which is a raw binary file in winCE, but i got the same error.
Same as above. NK.nb0 is a plain binary file, ready to be executed (with the only requirement
that it should be loaded at the right address).
You should just run WinCE from NK.nb0 by executing:# go 0x10000000 [or whatever your address is..]Quoted 2 lines
On the same OSK board if i have to support the lcd display in the u-boot itself what are the things that i have to take care?
Sorry.. I cannot help you here! :-)
Best Regards,
Andrea Scian
DAVE Srl - Electronics System HouseQuoted 2 lines
Thanks in advance,
Naveen