Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Getting momentics on neutrino 6.4.1 sdp: (11 Items)
   
Getting momentics on neutrino 6.4.1 sdp  
Hey guys, 
Im having some trouble actually getting momentics on the neutrino OS, like its not even there the whole momentics suite.


Any ideas?

Thanks heaps
Much appreciated.
RE: Getting momentics on neutrino 6.4.1 sdp  
If you mean the IDE, it isn't included on self-hosted Neutrino machines.
You need to (or get to) use the command-line tools instead.


Steve Reid (stever@qnx.com)
Technical Editor
QNX Software Systems 
 

> -----Original Message-----
> From: Avantha Jayawickreme [mailto:community-noreply@qnx.com] 
> Sent: Wednesday, May 12, 2010 9:48 AM
> To: momenticsgs-community
> Subject: Getting momentics on neutrino 6.4.1 sdp
> 
> Hey guys, 
> Im having some trouble actually getting momentics on the 
> neutrino OS, like its not even there the whole momentics suite.
> 
> Any ideas?
> 
> Thanks heaps
> Much appreciated.
> 
> 
> 
> _______________________________________________
> 
> QNX Momentics Getting Started
> http://community.qnx.com/sf/go/post54327
> 
> 
Re: RE: Getting momentics on neutrino 6.4.1 sdp  
Hi,
thanks for the quick reply, yeh the IDE.
Oh so there is no way at all to get it on the neutrino machines?
Re: RE: Getting momentics on neutrino 6.4.1 sdp  
1) You can port Sun J2SE 1.5 on neutrino, because that is what latest needs 
2) You can use IDE 4.0 from previous versions, but nobody tested it
Re: RE: Getting momentics on neutrino 6.4.1 sdp  
This is last ever posted IDE neutrino package was here:
http://community.qnx.com/sf/go/projects.ide/frs.ide_integration_builds.ide_tau_20080717

note: it was discontinued and not supported by any means
Re: RE: Getting momentics on neutrino 6.4.1 sdp  
On Wed, May 12, 2010 at 11:59:25AM -0400, Elena Laskavaia wrote:
> 1) You can port Sun J2SE 1.5 on neutrino, because that is what latest needs 

Would openjdk7 suffice?

-seanb
Re: Getting momentics on neutrino 6.4.1 sdp  
Sean just volunteered, I think :-)

On 10-05-12 12:57 PM, Sean Boudreau wrote:
> On Wed, May 12, 2010 at 11:59:25AM -0400, Elena Laskavaia wrote:
>    
>> 1) You can port Sun J2SE 1.5 on neutrino, because that is what latest needs
>>      
> Would openjdk7 suffice?
>
> -seanb
>
>
>
> _______________________________________________
>
> QNX Momentics Getting Started
> http://community.qnx.com/sf/go/post54379
>
>    

-- 
cburgess@qnx.com
Re: Getting momentics on neutrino 6.4.1 sdp  
Hey guys, thanks heaps for the help!
Figured out how to make neutrino compile and build .c files!
Now need to figure out how to make the build file i made actually run a c program i made
i created a executable by doing 
'qcc -Vgcc_ntox86 -o myfile myfile.c'
just trying to figure out how to make the boot image run the 'myfile' application i looked up in the 'building embedded 
systems' document it said the following:

"There’s nothing special required to run your applications. Generally, they’ll be placed
in the script file after all the other drivers have started. If you require a particular
driver to be present and “ready,” you would typically use the waitfor command in
the script.
Here’s an example. An application called peelmaster needs to wait for a driver (let’s
call it driver-spud) to be ready before it should start. The following sequence is
typical:

driver-spud &
waitfor /dev/spud
peelmaster
"

the file im trying to run outputs to console and i have the console running i can open the file manually after boot up 
but want it to open automatically tried to do

wait for/dev/con
myfile

and it doesnt open the file any ideas?

Thanks heaps again


this is the build file.

Thanks so much again im going crazy :(


[virtual=x86,bios +compress] boot = {
	startup-bios -s64k
	PATH=/proc/boot procnto
}

[+script] startup-script = {
	# To save memory, make everyone use the libc in the boot
    # image! For speed (fewer symbolic lookups), we point to
    # libc.so.3 instead of libc.so.
	procmgr_symlink ../../proc/boot/libc.so.3 /usr/lib/ldqnx.so.2

    display_msg Welcome to QNX NeutriNo
ooooooooooooo
	procmgr_symlink ../../proc/boot/libc.so.3 /usr/lib/ldqnx.so.2	
    devc-con  &
    reopen dev/con1

    # Start the PCI server
    seedres
    pci-bios &
    waitfor /dev/pci
    

    # Start IDE and mount the flash disk in /usr/hdd
    devb-eide blk automount=hd0t77:/usr/hdd &

    
   # Some common servers
    pipe &
    mqueue &
    devc-ser8250 &
    devc-pty &

    # Start a debug server for debugging programs
    waitfor /dev/ser1
    [+session] pdebug /dev/ser1 &

    # These env variables inherited by all the programs which follow
    SYSNAME=nto
    TERM=qansi

    # Start the main shell
    reopen /dev/con1
    [+session] sh
   
}

# Make the /temp point to the shared memory area
[type=link] /tmp=/dev/shmem

# Programs require the runtime linker (ldqnx.so) to be at a fixed location
[type=link] /usr/lib/ldqnx.so.2=/proc/boot/libc.so

libc.so.2
libc.so
libhiddi.so
libusbdi.so
#devn-smc9118.so
devnp-shim.so
libsocket.so

[type=link] /lib/stdc++.so.2.2.10.0=/proc/boot/libstdc++.so
[type=link] /lib/libm.so.2=/proc/boot/libm.so

libm.so

[data=c]
#devc-sersci
setconf
# Executables must currently be below this line

# Include a console driver
devc-con

# Include pci server
pci-bios
seedres

# Network related items

libsocket.so
/etc/termcap=/etc/termcap
/etc/hosts=/etc/hosts
/etc/resolv.conf=/etc/resolv.conf

# Use the "public domain korn shell" as the default shell "sh"
sh=ksh

# Other executables
libcam.so
io-blk.so
cam-disk.so
fs-qnx4.so


pdebug
pipe
mqueue
devc-ser8250
devc-pty
devb-eide

ls
cat
ps
pidin
uname
/sbin/ifconfig
/sbin/route
/usr/bin/telnet
/usr/bin/ftp
/usr/bin/ping
/usr/sbin/qconn

# Include all the files for the default filesystems

libcam.so
io-blk.so
cam-disk.so
fs-qnx4.so
fs-dos.so
fs-ext2.so
cam-cdrom.so
fs-udf.so


# These programs need to be run only once from the boot image.
# "data=uip" will waste less memory as the RAM from the boot
# image will be used directly without making a copy of the data
# (i.e. as the default "data=cpy" does). When they have been
# run once, they will be unlinked from...
View Full Message
Re: Getting momentics on neutrino 6.4.1 sdp  
> the file im trying to run outputs to console and i have the console running i 
> can open the file manually after boot up but want it to open automatically 
> tried to do
> 
> wait for/dev/con
> myfile
> 
> and it doesnt open the file any ideas?
> 

It's not "wait for" but "waitfor"

also it's not "/dev/con" but "/dev/con1"

have you tried without the waitfor - it should just work! Or you could try a sleep 1 instead of the waitfor.

What do you mean when you say "it doesn't open the file". It doesn't run it? What happens instead, does it just hang?

- Malte
Re: Getting momentics on neutrino 6.4.1 sdp  
Does anyone know if it would suffice here?

-seanb

On Wed, May 12, 2010 at 12:58:20PM -0400, Colin Burgess wrote:
> Sean just volunteered, I think :-)
> 
> On 10-05-12 12:57 PM, Sean Boudreau wrote:
> > On Wed, May 12, 2010 at 11:59:25AM -0400, Elena Laskavaia wrote:
> >    
> >> 1) You can port Sun J2SE 1.5 on neutrino, because that is what latest needs
> >>      
> > Would openjdk7 suffice?
> >
> > -seanb
> >
> >
> >
> > _______________________________________________
> >
> > QNX Momentics Getting Started
> > http://community.qnx.com/sf/go/post54379
> >
> >    
> 
> -- 
> cburgess@qnx.com
> 
> 
> 
> 
> _______________________________________________
> 
> QNX Momentics Getting Started
> http://community.qnx.com/sf/go/post54380
> 
Re: Getting momentics on neutrino 6.4.1 sdp  
Yes to run it (jre should support 1.5 java)
We may also have issues with swt (eclipse graphic library) port to 
neutrino (photon), because last time it was tested it was 6.3.2.
If you happened to have openjdk ported to neutrino let me know please.

Sean Boudreau wrote:
> Does anyone know if it would suffice here?
>
> -seanb
>
> On Wed, May 12, 2010 at 12:58:20PM -0400, Colin Burgess wrote:
>   
>> Sean just volunteered, I think :-)
>>
>> On 10-05-12 12:57 PM, Sean Boudreau wrote:
>>     
>>> On Wed, May 12, 2010 at 11:59:25AM -0400, Elena Laskavaia wrote:
>>>    
>>>       
>>>> 1) You can port Sun J2SE 1.5 on neutrino, because that is what latest needs
>>>>      
>>>>         
>>> Would openjdk7 suffice?
>>>
>>> -seanb
>>>
>>>
>>>
>>> _______________________________________________
>>>
>>> QNX Momentics Getting Started
>>> http://community.qnx.com/sf/go/post54379
>>>
>>>    
>>>       
>> -- 
>> cburgess@qnx.com
>>
>>
>>
>>
>> _______________________________________________
>>
>> QNX Momentics Getting Started
>> http://community.qnx.com/sf/go/post54380
>>
>>     
>
>
>
> _______________________________________________
>
> QNX Momentics Getting Started
> http://community.qnx.com/sf/go/post55396
>
>