do i have any chance of booting a vxworks 5.5.2 image with u-boot?
i know u-boot has a "bootvx" command for booting vxworks images,
but from what i read here:
http://stackoverflow.com/questions/24114948/vxworks-portingdm8168
it's only vxworks 7 that supports u-boot as its bootloader. i know precious little about vxworks, i was just handed a version 5.5.2 image and asked whether it was possible for u-boot to boot it.
do i have any chance whatsoever? any guidance would be useful.
rday
Quoted 10 lines · Robert P. J. Day
i know u-boot has a "bootvx" command for booting vxworks images,
but from what i read here:http://stackoverflow.com/questions/24114948/vxworks-portingdm8168
it's only vxworks 7 that supports u-boot as its bootloader. i know precious little about vxworks, i was just handed a version 5.5.2 image and asked whether it was possible for u-boot to boot it.
do i have any chance whatsoever? any guidance would be useful.
Well, I think there's two parts to this answer. The first is that (on PowerPC), VxWorks has been supported for practically forever. The second is that as the answers there say, you may have to deal with and fix some disagreements about what software (U-Boot or VxWorks) did or did not do what initalization. You may also, frankly, want to start out with a U-Boot of that vintage, see if that works, and if so (and it'd be great to see results and patches if needed) if things still work in mainline today.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160202/50b95b69/attachment.sig>
Quoting Tom Rini <[email protected]>:
Quoted 13 lines · Robert P. J. Day
Quoted 11 lines
i know u-boot has a "bootvx" command for booting vxworks images,
but from what i read here:http://stackoverflow.com/questions/24114948/vxworks-portingdm8168
it's only vxworks 7 that supports u-boot as its bootloader. i know precious little about vxworks, i was just handed a version 5.5.2 image and asked whether it was possible for u-boot to boot it.
do i have any chance whatsoever? any guidance would be useful.
Quoted 8 lines
Well, I think there's two parts to this answer. The first is that (on PowerPC), VxWorks has been supported for practically forever. The second is that as the answers there say, you may have to deal with and fix some disagreements about what software (U-Boot or VxWorks) did or did not do what initalization. You may also, frankly, want to start out with a U-Boot of that vintage, see if that works, and if so (and it'd be great to see results and patches if needed) if things still work in mainline today.
i'm certainly willing to put in the time to do this -- i have the
hardware and the appropriate build environment so give me a day or two to finish something, and i can pretty much concentrate on this and submit any patches that eventually get this to work.
rday
Quoted 24 lines · Robert P. J. Day
Quoting Tom Rini <[email protected]>:
Quoted 13 lines · Robert P. J. Day
Quoted 11 lines
i know u-boot has a "bootvx" command for booting vxworks images,
but from what i read here:http://stackoverflow.com/questions/24114948/vxworks-portingdm8168
it's only vxworks 7 that supports u-boot as its bootloader. i know precious little about vxworks, i was just handed a version 5.5.2 image and asked whether it was possible for u-boot to boot it.
do i have any chance whatsoever? any guidance would be useful.
Quoted 8 lines
Well, I think there's two parts to this answer. The first is that (on PowerPC), VxWorks has been supported for practically forever. The second is that as the answers there say, you may have to deal with and fix some disagreements about what software (U-Boot or VxWorks) did or did not do what initalization. You may also, frankly, want to start out with a U-Boot of that vintage, see if that works, and if so (and it'd be great to see results and patches if needed) if things still work in mainline today.
Quoted 6 lines
i'm certainly willing to put in the time to do this -- i have the
hardware and the appropriate build environment so give me a day or two to finish something, and i can pretty much concentrate on this and submit any patches that eventually get this to work.rday
Hi Robert, Tom,
bootvx also boots some vxWorks 6.9.x in my case.
Before i've used the bootvx command i simply fired the vxworks image with go <loadaddr>
The kernel-configuration of the vxworks Image has a define called RUNTIME_LOW_ADDRS, load your
image to this address and give a go on this address.
your vxWorks kernel should boot.
I've stripped the vxWorks build output with "objcopyarm -O binary --binary-without-bss"
You don't have a bootline initialization at this time.
If you want some initalization of it, the bootvx command is the right way.
Have a look to the B&R kwb board in uboot (kwb.h)
Feel free to ask if something doesn't work.
best regards,
Hannes