EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: vxworks boot problem
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: whitetiger1123 <holyeongbaeg at gmail.com>, "Wang, Lin" <wanglin at ihep.ac.cn>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Sat, 12 Nov 2022 14:13:46 +0000
It seems that a VxWorks5.5.1 bootrom is used for downloading VxWorks6.9 image, I am not sure if they are compatible. >
> Typically, the procedure should be first build and flash the VxWorks6.9 bootrom, then build and download VxWorks6.9 image.

At the APS beamlines we are typically using a 5.4.2 bootroom and vxWorks 6.9.4.1 image, and it works fine:

                            VxWorks System Boot
Copyright 1984-1998  Wind River Systems, Inc.
CPU: Motorola MVME5100-0161 - MPC 750
Version: 5.4.2
BSP version: 1.2/2-test
Creation date: Jan 22 2004, 15:40:26


ioc13lab> version
VxWorks (for Motorola MVME5100-0161 - MPC 750) version 6.9.4.1.
Kernel: WIND version 2.13.
Made on Jun 15 2022 18:29:17.
Boot line:
fei(0,0)corvette:/usr/local/vw/VX6941/mv5100-dev7 e=164.54.160.73:ffffff00 h=164.54.160.82 u=iocboot tn=ioc13lab s=/home/epics/devel/CARS/iocBoot/ioc13lab/st.cmd
value = 173 = 0xad

Mark


From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Wang, Lin via Tech-talk <tech-talk at aps.anl.gov>
Sent: Saturday, November 12, 2022 7:53 AM
To: whitetiger1123 <holyeongbaeg at gmail.com>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: vxworks boot problem
 
Hello,


>Now I want to use TFTP to load the vxWorks image at MVME6100

>When I am trying to boot and load vxWorks image file but its not loading image and throwing error.

>Following is the log of error on boot:

As Andrew already pointed out, TFTP is used for flashing VxWorks bootrom and FTP is used for downloading VxWorks image. The FTP server should be tested using a FTP client before downloading VxWorks image.

In addition, if there is a firewall running in the Linux system, sometimes the VxWorks image downloading may also be blocked.

 

>CPU: Motorola MVME6100-0173 – MPC 7457

>Version : VxWorks5.5.1

>BSP  version : 1.2/5

>Creation data : Nov 4 2008, 16:13:29

It seems that a VxWorks5.5.1 bootrom is used for downloading VxWorks6.9 image, I am not sure if they are compatible. Typically, the procedure should be first build and flash the VxWorks6.9 bootrom, then build and download VxWorks6.9 image.



Regards,

Lin




-----Original Messages-----
From:"whitetiger1123 via Tech-talk" <tech-talk at aps.anl.gov>
Sent Time:2022-11-11 23:16:47 (Friday)
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Cc:
Subject: [SPAM] vxworks boot problem

Hi,

 

We are trying to put EPICS on target running vxWorks 6.9.

 

We could build EPICS Base 3-15-6 for

CROSS_COMPILER_TARGET_ARCHS =vxWorks-ppc32

 

Now I want to use TFTP to load the vxWorks image at MVME6100

When I am trying to boot and load vxWorks image file but its not loading image and throwing error.

Following is the log of error on boot:

 

CPU: Motorola MVME6100-0173 – MPC 7457

Version : VxWorks5.5.1

BSP  version : 1.2/5

Creation data : Nov 4 2008, 16:13:29

 

Press any key to stop auto-boot…

6

[VxWorks Boot]: @

Boot device : geisc0

Unit number : 0

Processor number : 0

Host name : host

File name : /tftpboot/vxWorks

Inet on etherenet : 10.4.49.69:ffffff00

Host inet : 10.4.49.170

Gateway inet : 10.4.49.99

User : test

ftp password : test

flags : 0x0

 

Attached TCP/IP interface to geisc0.

Attaching network interface lo0… done.

Loading..

Error loading file : errno = 0x3d.

 

“User: test” is my ubuntu server’s user name and ftp password is ubuntu server’s password.

Is it wrong?

Do I have to check ~/WindRiver/vxworks-6.9/target/config/all/configAll.h file?

 

This is configAll.h file

/*Default Boot Parameter*/

#define HOST_NAME_DEFAULT “bootHost”  /*host name*/

#define TARGET_NAME_DEFAULT “vxTarget”  /*target name(tn)*/

#define HOST_USER_DEFAULT “target”  /*user (u)*/

#define HOST_PASSWORD_DEFAULT “ “  /*password*/

#define SCRIPT_DEFAULT “ “  /*startup script (s)*/

#define other_default “ “     /*other (0)*/

 

Are those(“bootHost”, “target”.. etcs) my vxworks boot parameters? I’d like to know how can I set vxworks boot parameters(user , ftp password , host name)

 

I hope you understand Iam new to the world of RTOS. Casual I’ve been trying to understand them for a week. From there to before he knew nothing of them.

I hope you can help.

 

Thanks and regards.

 

 

 

 

 


References:
vxworks boot problem whitetiger1123 via Tech-talk
Re: vxworks boot problem Wang, Lin via Tech-talk

Navigate by Date:
Prev: Re: vxworks boot problem Wang, Lin via Tech-talk
Next: Phoebus: Find/Replace and Write XML file 吴煊 via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: Re: vxworks boot problem Wang, Lin via Tech-talk
Next: asynPortDriver nDevices? Heinz Junkes via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
ANJ, 13 Nov 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·