Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 07-24-2011, 08:27 PM   #1
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 628

Rep: Reputation: 144Reputation: 144
possible vxworks issue

My problem: I work for an overseas company which supplies terminals to industry. Older terminals use vxworks. We are a satellite of this company so getting support on vxworks is difficult. FYI I have a linux/unix background but no vxworks.

When a PCI card becomes suspect I simply flash the firmware back onto the card using a burner attached to a PC. I am not sure which OS the PC is booting into - it has *nix type features. (I think) I have stuffed up the script which supervises the process.

Can anyone identify the OS and help me to fault find?
  • During boot I see "Vxld 1.2" which suggests to me it is booting into vxworks
  • After booting I get a prompt "->" (my quotes)
  • To get into the correct directory I type "cd /abc/bin"
  • To initiate the script I type "<"
  • I got nosy and typed "cat"
  • Since this point, "<" simply returns a blank line and back to the command prompt

I am loath to type anything more based on the problems I (may) have created. If this is vxworks can anyone suggest how to dump the file and/or edit it?

that's my needle in a haystack. Any help appreciated.
Old 07-25-2011, 01:33 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,053
Blog Entries: 14

Rep: Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226
Is a symbolic link to another file? If so maybe you have to find the other file and work on it.

Does "file" work? That should tell you what kind of file it is.

Does "strings" work? That should show you any ascii characters contained in the file that may be masked by control characters.

Barring those, you may be able to see it using the od (octal dump) command.
Old 07-27-2011, 05:47 AM   #3
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 628

Original Poster
Rep: Reputation: 144Reputation: 144
Thanks MensaWater but it looks like I have deleted the file/removed the symbolic link. I don't know what I did so I think I will quit while I am only a little behind. Hopefully a colleague will simply pass across the files so I can restore them
Old 07-29-2011, 03:15 PM   #4
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
The syntax you show is consistent with a vxWorks shell. None of the commands mentioned by MensaWater are on any vxWorks system I've used. From what media does your PC boot (I've only ever used tftp to boot vxWorks across a network)? I think vxWorks recognizes FAT filesystems. You might be able to mount the media on a Linux host and find a '~backup copy' of the file. I don't know what 'cat' might have done. In the vxWorks shell, any filename arguments (most command arguments) have to be enclosed in "double quotes".

--- rod.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
vxWorks login issues akshay_satish Linux - General 4 10-27-2011 05:23 AM
how to download VxWorks vijaya_svk Linux - Software 1 02-03-2008 08:41 AM
VxWorks and ftp nigelc Linux - Networking 2 02-23-2007 02:13 AM
Are there Redhat subroutines = VxWorks? alipscomb Programming 4 04-03-2006 01:50 PM
is scandir() function available in VxWorks? fssengg Programming 0 08-25-2005 10:05 AM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 04:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration