Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Uboot and vxWorks SMP

352 views
Skip to first unread message

BabboNakele

unread,
Sep 6, 2011, 10:51:05 AM9/6/11
to
Hi everyone.

I'm having troubles trying to make a vxWorks VIP run in SMP on a p2020
processor (ppc, dual core) starting from uboot.

I have a couple of demo board in which vxWorks can run SMP if I start it
through bootrom, but when I try to start it using u-boot core 1 is
always dozing or faulting.

I've found a patch for u-boot that leaves core 1 in reset (cores are set
to have core 0 up and running and core 1 enabled via software. Patch
does not initialize core 1 at all), but vxWorks can't make core 1 up.
Using bootrom compiled without SMP support, vxWorks starts both cores.

I tried to look at the TLB, changing the boot page, copying the sysInit
at the right address, but nothing changed. Core 1 still does not want to
get up if we use uboot.

Looking around it's impossible to get any information, tip or advise.

Any idea on what I should look at? some documentation, guides, or similar.

Thanks in advance


Posted using www.webuse.net

ramakris...@agiliad.com

unread,
Oct 3, 2012, 3:02:05 AM10/3/12
to
Hi,
I have been using u-boot on p2020 but with Linux. i dont have any problem as u said in SMP/AMP configuration. i think this can reproduced same for vxworks when we make sure vxworks image does the same as linux does.
there are couple of things to be taken care of.
1) make sure u have right u-boot which supports multicore
2) I think there must be care taken what vxworks image intializes during boot. u have to make sure image does not reconfigure LAWs which u-boot has already done. generally vxworks image rewrites all configuration done by boot loader, which u dont want especially with multiocore.

if u have already solved the problem , let me know coz am going to try this :-)

young...@gmail.com

unread,
Dec 8, 2012, 8:40:53 PM12/8/12
to
在 2011年9月6日星期二UTC+8下午10时51分05秒,BabboNakele写道:
0 new messages