public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Hannes Schmelzer <hannes@schmelzer.or.at>
To: u-boot@lists.denx.de
Subject: [U-Boot] do i have any chance of booting a vxworks 5.5.2 image with u-boot?
Date: Thu, 04 Feb 2016 12:43:08 +0100	[thread overview]
Message-ID: <56B3394C.4060504@schmelzer.or.at> (raw)
In-Reply-To: <20160203061605.15936k5akefuydc0@crashcourse.ca>

On 02/03/2016 12:16 PM, Robert P. J. Day wrote:
> Quoting Tom Rini <trini@konsulko.com>:
>
>> On Mon, Feb 01, 2016 at 05:20:16PM -0500, Robert P. J. Day wrote:
>>
>>>   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.
>
>   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

      reply	other threads:[~2016-02-04 11:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-01 22:20 [U-Boot] do i have any chance of booting a vxworks 5.5.2 image with u-boot? Robert P. J. Day
2016-02-02 17:36 ` Tom Rini
2016-02-03 11:16   ` Robert P. J. Day
2016-02-04 11:43     ` Hannes Schmelzer [this message]

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=56B3394C.4060504@schmelzer.or.at \
    --to=hannes@schmelzer.or.at \
    --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