Feed for discussion General in project Bazaar.Posts for Generalpost120808: TSC-Deadline modeMurat Mamanhttp://community.qnx.com/sf/go/post1208082020-06-26T09:01:00Z2020-06-26T09:01:00ZTSC-deadline mode allows the software to use the local APIC timer to signal an interrupt at an absolute time.
So, how can i use TSC-Deadline mode along with local APIC timer on the X86 platform?
Reference:
Intel 64 and IA-32 Architectures Software Developer's Manual. Section, 10.5.4.1 TSC-Deadline ModeMurat Maman2020-06-26T09:01:00Zpost120807: subscribeMurat Mamanhttp://community.qnx.com/sf/go/post1208072020-06-26T08:48:10Z2020-06-26T08:48:10ZI would like to subscribe to the channel.
Regards,
MuratMurat Maman2020-06-26T08:48:10Zpost119255: Love to learnCarrie Allen(deleted)http://community.qnx.com/sf/go/post1192552018-10-29T12:36:59Z2018-10-29T12:36:59ZPlease teach me new skillsCarrie Allen(deleted)2018-10-29T12:36:59Zpost118520: ti j6 spi errdiao yangsong(deleted)http://community.qnx.com/sf/go/post1185202018-02-06T04:44:55Z2018-02-06T04:44:55Z# ./spi_89531 R 0x0a840042 16
spi_89531 : program start
spi change io 20603E4
read addr:0a840042,mode:16
omap4430_wait: errono Connection timed out(260), status 1
[OMAP4430_MCSPI_SYS_CONFIG_STAT] = 0x00000001
[ OMAP4430_MCSPI_SYS_CONFIG] = 0x00000015
[OMAP4430_MCSPI_IRQ_STATUS_OFFS] = 0x00000001
[OMAP4430_MCSPI_IRQ_ENABLE_OFFS] = 0x00000000
[ OMAP4430_MCSPI_MODCTRL_OFFSET] = 0x00000001
[OMAP4430_MCSPI_CH1_CONFIG_OFFS] = 0x1a1603e4
[OMAP4430_MCSPI_CH1_STATUS_OFFS] = 0x0000000f
[OMAP4430_MCSPI_CH1_CTRL_OFFSET] = 0x00000001
[OMAP4430_MCSPI_XFERLEVEL_OFFSE] = 0x00000f00
OMAP4430 SPI: XFER Timeout!!!
spi_89531 : spi_cmdread wrong len:-1
omap4430_wait: errono Connection timed out(260), status 1
[OMAP4430_MCSPI_SYS_CONFIG_STAT] = 0x00000001
[ OMAP4430_MCSPI_SYS_CONFIG] = 0x00000015
[OMAP4430_MCSPI_IRQ_STATUS_OFFS] = 0x00000001
[OMAP4430_MCSPI_IRQ_ENABLE_OFFS] = 0x00000000
[ OMAP4430_MCSPI_MODCTRL_OFFSET] = 0x00000001
[OMAP4430_MCSPI_CH1_CONFIG_OFFS] = 0x1a1603e4
[OMAP4430_MCSPI_CH1_STATUS_OFFS] = 0x0000000f
[OMAP4430_MCSPI_CH1_CTRL_OFFSET] = 0x00000001
[OMAP4430_MCSPI_XFERLEVEL_OFFSE] = 0x00000f00
OMAP4430 SPI: XFER Timeout!!!
spi_89531 : spi_read wrong len
0xffff#diao yangsong(deleted)2018-02-06T04:44:55Zpost117884: Re: TIPC SupportAnnieo Lewis(deleted)http://community.qnx.com/sf/go/post1178842017-07-17T02:46:17Z2017-07-17T02:46:17ZYes,of cause [url= https://www.justvirginhair.com/milky-way-hair.htm]:)[/url]Annieo Lewis(deleted)2017-07-17T02:46:17Zpost117883: Re: TIPC SupportAnnieo Lewis(deleted)http://community.qnx.com/sf/go/post1178832017-07-17T02:44:44Z2017-07-17T02:44:44ZYes,of cause <a href="https://www.justvirginhair.com/milky-way-hair.htm">:)</a>Annieo Lewis(deleted)2017-07-17T02:44:44Zpost115692: svnmirror.rim.net decommission (switch to foundry51.qnx.com )Tina Pilibbossianhttp://community.qnx.com/sf/go/post1156922016-02-08T17:01:09Z2016-02-08T17:01:09ZDue to resources and low usage, decommissioning of svnmirror.rim.net is being planned.
There are few enough users that going against the main server at foundry51.qnx.com, won’t cause any issues. To switch from svnmirror.rim.net to foundry51.qnx.com, please consider the following commands:
$ svn switch --relocate http://svnmirror.rim.net/svn/deckard-65x/developer/branches/BB10_3_1 http://foundry51.qnx.com/svn/repos/deckard-65x/developer/branches/BB10_3_1
$ svn update
For more information please visit:
https://wikis.rim.net/display/SVN/HomeTina Pilibbossian2016-02-08T17:01:09Zpost115244: Re: Is a QNX port available for ARM for libffi (portable foreign function interface library)?Jonathan Ruiz(deleted)http://community.qnx.com/sf/go/post1152442015-12-08T19:56:38Z2015-12-08T19:56:38ZHello,
I have tried to run python 2.7.3 on QNX 6.5.0 over arm-v7. If I comment the "_reset_cache()" function I can run some tests of the ctypes module.
I get memory fault when I run callbacks and pointers tests.
I think that it is the same problem that you are talking about in the first post. Has someone solved it?
Thanks a lot,
Jonathan.Jonathan Ruiz(deleted)2015-12-08T19:56:38Zpost115109: QNX on Gumstix-Duovero boardMarc Alomar(deleted)http://community.qnx.com/sf/go/post1151092015-11-25T12:50:53Z2015-11-25T12:50:53ZI would like to use QNX on a Gumstix-Duovero board, with an OMAP4430 microprocessor. I've found a BSP for this processor, but it was written for the PandaBoard, which doesn't have the same muxing/devices. So far I've managed to launch U-Boot and to execute the startup code of the QNX image, but the kernel crashes just when the process "procnto" is launched.
I suspect that it might be an issue with the memory (RAM memory is not the same), or with the interrupt lines. Do you have any suggestions about what I should modify on the BSP? Do you think that it is necessary to modify any callouts?
Thank you in advanceMarc Alomar(deleted)2015-11-25T12:50:53Zpost115070: Freescale BLhost for QNXKevin Murray(deleted)http://community.qnx.com/sf/go/post1150702015-11-19T23:48:13Z2015-11-19T23:48:13ZI have a QNX box i want to use as a programming fixture for a freescale kl17 micro. This micro has a ROM bootloader the communicates with a Freescale program called blhost or a serial connection. There is a windows and a linux option but i am looking for a qnx version that i can send commands over qconn. Does anyone know if this exists in any way, shape, or form.Kevin Murray(deleted)2015-11-19T23:48:13Zpost114918: BUY REAL EURO/DOLLAR NOTES,PASSPORTS,ID CARDS,DL,VISAS:www.uniquedocproducers.comcurty myea(deleted)http://community.qnx.com/sf/go/post1149182015-11-06T21:47:47Z2015-11-06T21:47:47ZPurchase Best Quality Real and Novelty Passports,id cards,visas,drivers license,stamps,birth certificates,diploma ,Permits for all countries
Are you trying to change your nationality ? do you need work papers ? do you want travel ? do you need papers you cant have ?if yes , then you are in the right place at the right time
We are an independent group of specialized IT professionals and data base technicians who are specialized in the production of quality documents such as passports,drivers license,id cards,stamps,visas,diplomas of very high quality and other products
for all countries: USA, Australia,UK, Belgium, Brazil, Canada, Italian, Finland, France, Germany, Israel, Mexico, Netherlands, South Africa, Spain, Switzerland, . This list is not full.
To get the additional information and place the order just contact us via email or visit the link below
uniqueproducers@yandex.com
Skpye ID:Uniqueproducers
www.Uniquedocproducers.com
Tel:+66962685279
Canada Cards
United States Cards
Student Cards
Baptism Certificates
Birth Certificates
Death Certificates
Divorce Certificates
Marriage Certificates
Custom Certificates
High School Diplomas
University Degrees
Social Security card
Driver License Search
Invisible Ink
DMV Record Inquiry
Background Check
We also offer Top quality counterfeit bills for the following currencies;
EUR - Euro
USD - US Dollar
GBP - British Pound
INR - Indian Rupee
AUD - Australian Dollar
CAD - Canadian Dollar
AED - Emirati Dirham
ZAR - Rand
CHF - Swiss Franc
CNY - Chinese Yuan Renminbi
MYR - Malaysian Ringgit
THB - Thai Baht
uniqueproducers@yandex.com
Skpye ID:Uniqueproducers
www.Uniquedocproducers.com
Tel:+66962685279curty myea(deleted)2015-11-06T21:47:47Zpost113994: Re: Sabrelite QNX6.6 Audio:deva error at runtime. SOLVEDChristopher Olarti(deleted)http://community.qnx.com/sf/go/post1139942015-06-20T00:00:02Z2015-06-20T00:00:02ZSolved my issue by updating the ratelist within mxssi_dll.c-->ctrl_init() to include the sample rate that I am using.
ado_ctrl_dll_init_t ctrl_init;
int ctrl_init (HW_CONTEXT_T ** hw_context, ado_card_t * card, char *args)
{
...
#define NUM_RATES (sizeof(ratelist) / sizeof(ratelist[0]))
uint32_t ratelist[] = { SND_PCM_RATE_8000, SND_PCM_RATE_22050, SND_PCM_RATE_16000, SND_PCM_RATE_32000, SND_PCM_RATE_48000 };
.....
I no longer see the original error at bootup and I am able to playback and record audio.Christopher Olarti(deleted)2015-06-20T00:00:02Zpost113968: Re: Sabrelite QNX6.6 Audio:deva error at runtime.Christopher Olarti(deleted)http://community.qnx.com/sf/go/post1139682015-06-18T00:33:07Z2015-06-18T00:33:07ZThe following function calls in deva-->codecs-->sgtl5000
ado_mixer_set_reset_func (*mixer, (void *)sgtl5000_reset);
ado_mixer_set_destroy_func (*mixer, (void *)sgtl5000_destroy);
/* setup mixer controls for playback and capture */
ado_pcm_chn_mixer (pcm1,
ADO_PCM_CHANNEL_PLAYBACK, *mixer,
ado_mixer_find_element (*mixer, SND_MIXER_ETYPE_PLAYBACK1, SND_MIXER_PCM_OUT, 0),
ado_mixer_find_group (*mixer, SND_MIXER_MASTER_OUT, 0));
ado_pcm_chn_mixer (pcm1,
ADO_PCM_CHANNEL_CAPTURE, *mixer,
ado_mixer_find_element (*mixer, SND_MIXER_ETYPE_CAPTURE1, SND_MIXER_ELEMENT_CAPTURE, 0),
ado_mixer_find_group (*mixer, SND_MIXER_GRP_IGAIN, 0));
/* allow audio chip to support multiple simultaneous streams */
status = ado_pcm_sw_mix (card, pcm1, *mixer);
ado_debug(DB_LVL_DRIVER, "status from ado_pcm_sw_mix = %d", status);
One of these ado_pcm/ado_mixer functions is failing when having the MAX/MIN_SAMPLE_RATE set to 22050
Thanks.Christopher Olarti(deleted)2015-06-18T00:33:07Zpost113965: Re: Sabrelite QNX6.6 Audio:deva error at runtime.Christopher Olarti(deleted)http://community.qnx.com/sf/go/post1139652015-06-17T17:30:31Z2015-06-17T17:30:31ZI found the area that failed while initializing the audio. The issue was variant.h where I modified MIN/MAX_SAMPLE_RATE from 48000 to 22050.
After running sloginfo the following message came up
.........
Jan 01 00:00:53 1 7 0 Software Mixer re-config failed (capabilites missmatch)
Jan 01 00:00:53 1 7 0 ado_pcm_sw_mix: Failed to configure PCM software mixer
Jan 01 00:00:53 1 7 0 psw_destroy: Waiting for psw_thread to terminate...
Jan 01 00:00:53 1 7 0 psw_destroy: psw_thread termination complete
Jan 01 00:00:53 1 7 0 max98090: Failed to build software mixer
Jan 01 00:00:53 1 7 0 MX SSI: Unable to create codec mixer
Jan 01 00:00:53 1 7 0 my_detach_pulse: Deliver Exit pulse...
Jan 01 00:00:53 1 7 0 my_pulse_thread: Got Exit pulse...
Jan 01 00:00:53 1 7 0 my_detach_pulse: Deliver Exit pulse...
Jan 01 00:00:53 1 7 0 my_pulse_thread: Got Exit pulse...
Jan 01 00:00:53 1 7 0 init_card: unable to init dll deva-ctrl-mx-mx6q-sabrelite.so
Jan 01 00:00:53 1 7 0 C:/Users/olartc1/TeslaImage/logicpd_qnx660/src/hardware/deva/ctrl/../codecs/max98090/max98090.c max98090_destroy
.....
When I change the MIN/MAX_SAMPLE_RATE back to 48000, then everything works and I do not see the prior message.Christopher Olarti(deleted)2015-06-17T17:30:31Zpost113936: Sabrelite QNX6.6 Audio:deva error at runtime.Christopher Olarti(deleted)http://community.qnx.com/sf/go/post1139362015-06-08T21:28:06Z2015-06-08T21:28:06ZAfter applying patch
patch-660-4024-applypatch.tar
My workspace does compile, but at run-time I get the following error:
free malloc object that is not allocated:/builds/660_SDP/svn/lib/c/alloc/dlist.c:1121
Unable to access /dev/snd
Is there something that needs to be updated within my environment.
deva code from the following build:
BSP_freescale-imx6q-sabrelite_br-660_be-660_SVN768950_JBN294
Thanks.
Chris.
Thanks.Christopher Olarti(deleted)2015-06-08T21:28:06Zpost113657: Re: devc-serusb data loss issueMalte Mundthttp://community.qnx.com/sf/go/post1136572015-04-01T08:37:02Z2015-04-01T08:37:02ZHi Sylvain,
I'm not sure devc-serusb was ever tested with such high bitrates. I assume it is only meant to be used with bitrates up to the highest "native" serial bitrate that is common - 115kbps. But this is just my guess. Have you brought up this topic via QNX Support channels? I highly recommend a CSP (Custom Service Plan) contract with QNX, as with that one you can request QNX R&D to deliver a driver that operates within whatever parameters you specify (as long as the hardware can do it, of course ;-)).
Cheers,
- MalteMalte Mundt2015-04-01T08:37:02Zpost113590: devc-serusb data loss issueSylvain Barge(deleted)http://community.qnx.com/sf/go/post1135902015-03-24T09:45:41Z2015-03-24T09:45:41ZHi,
When using CDC-ACM ports to communicate between modem device and Nvidia Tegra AP running qnx 6.6, dev-serusb process is losing data packets sent by the modem.
We've probe the usb link with a usb serial analyser, and we see that the modem is sending data to the AP, but the data retrieved by devc-serusb are not correct. the usb driver acknowledges the data packets from the modem, but it not able to retrieve all of them, and to pass them to the devc-serusb process.
The modem data rate on this link is about 6Mbytes/s. Was such an issue observed before? Was devc-serusb ever tested with high bit rates?
Thanks for your support,
SylvainSylvain Barge(deleted)2015-03-24T09:45:41Zpost112303: Re: problem with QNX 6.5 and Beaglebone Black Rev CDennis Kelllyhttp://community.qnx.com/sf/go/post1123032014-11-09T01:30:39Z2014-11-09T01:30:39Z>>> The board keeps rebooting every time
On rev C boards, the reset is due to the watchdog circuit resetting the board after 30 seconds. It is unlikely eMMC is not the cause of the reset.
The workaround is to hold down the "S2" button while you power up the board. U-boot reads the S2 switch and performs some alternate processing which seems to defeat the watchdog firing.
You do not need to hold the S2 button if you soft reboot (QNX "shutdown" command). S2 is required only on powerup.Dennis Kellly2014-11-09T01:30:39Zpost112302: problem with QNX 6.5 and Beaglebone Black Rev CMehdi Karimi(deleted)http://community.qnx.com/sf/go/post1123022014-11-08T20:15:54Z2014-11-08T20:15:54ZWe encountered a problem getting QNX 6.5 onto a specific version of Beaglebone Black(BBB) Rev C.
It seems that there's a BOM change on the 4GB eMMC of the BeagleBone Black (BBB) Rev C.
We got two different BBB: one type with their 4GB eMMCs made by Kingston, and the other made by Mircron.
We can't get QNX running on BBBs having Kingston flash.
We suspect the problem might potentially be driver differences for eMMCs.
Attached is a file of the boot up log captured. The board keeps rebooting every time and goes through the same boot up sequence.
The image of the BBB Rev C with Kingston eMMC is attached.Mehdi Karimi(deleted)2014-11-08T20:15:54Zpost112130: Re: RE: HELP, I CAN´T INSTALL QNX 6.6Steve Reidhttp://community.qnx.com/sf/go/post1121302014-10-23T15:53:50Z2014-10-23T15:53:50ZAs Mario said, we no longer support self-hosted QNX Neutrino development systems. You have to install the QNX Software Development Platform on a Windows or Linux host, develop your Neutrino applications there, build an OS image, and transfer it to a suitable target machine. There's a VMware image of a 6.6 machine available in the Download Centre, but it's a sample runtime system that doesn't include any development tools.Steve Reid2014-10-23T15:53:50Zpost112112: RE: HELP, I CAN´T INSTALL QNX 6.6Mario Charesthttp://community.qnx.com/sf/go/post1121122014-10-22T22:31:35Z2014-10-22T22:31:35ZCan't do that anymore, it`s no longer supported.
-----Message d'origine-----
De : Bruno Becerra [mailto:community-noreply@qnx.com]
Envoyé : 22 octobre 2014 17:44
À : general-bazaar
Objet : HELP, I CAN´T INSTALL QNX 6.6
hello,
I cant install qnx on my pc, i just want install Qnx as OS, whitout windowns or Linux host, I just want install qnx on pc without OS.
Can you help me??
_______________________________________________
General
http://community.qnx.com/sf/go/post112111
To cancel your subscription to this discussion, please e-mail general-bazaar-unsubscribe@community.qnx.comMario Charest2014-10-22T22:31:35Zpost112111: HELP, I CAN´T INSTALL QNX 6.6Bruno Becerrahttp://community.qnx.com/sf/go/post1121112014-10-22T21:44:10Z2014-10-22T21:44:10Zhello,
I cant install qnx on my pc, i just want install Qnx as OS, whitout windowns or Linux host, I just want install qnx on pc without OS.
Can you help me??Bruno Becerra2014-10-22T21:44:10Zpost111926: Re: how will be password recovery?Khaled Ahmedhttp://community.qnx.com/sf/go/post1119262014-09-30T07:40:53Z2014-09-30T07:40:53ZHi Serkan,
Have you checked these links ?
http://www.qnx.com/developers/qnx4/qnx4kb/solution.html?code=5687
and
http://www.openqnx.com/phpbbforum/viewtopic.php?t=6751Khaled Ahmed2014-09-30T07:40:53Zpost111717: Re: porting QNX into p1005 TWR moduleDennis Kelllyhttp://community.qnx.com/sf/go/post1117172014-09-15T12:34:01Z2014-09-15T12:34:01ZYou need to post in BSP forum if you want anyone to see it.
http://community.qnx.com/sf/discussion/do/listTopics/projects.bsp/discussion.bspDennis Kellly2014-09-15T12:34:01Zpost111715: Re: porting QNX into p1025 TWR modulejagan N(deleted)http://community.qnx.com/sf/go/post1117152014-09-15T12:03:08Z2014-09-15T12:03:08Z> Hi,
>
> This mail with reference to porting QNX on freescale p1025 twr-module. when I
> Power ON p1025 twr-module, I could assign IP addr and server IP from
> hyperterminal for p1025 target board IP and host IP with help of uboot command
> and I could map qnx build image file also(ie, ifs-p1025twr.raw), but when I
> boot image file It shows un-read able characters. I have attached output snap
> shots for your reference...
>
> We set the value of baud rate in terminal as per standard --- 115200
> u-boot version --- UBOOT (2011.09) (p1025 TWR module).
> Serial driver starting in startup script --- devc-ser8250 –e –c384000000 –
> b115200 0xffe04500,16
>
> The freescale TWR module by default comes with U boot, we just porting QNX
> build image on top of that. If we change build file as per Qnx document for
> solving this issue will not be affect after building. The TWR module what we
> have does not have serial port, we tried to porting using by OTG USB port..
> what my understanding is what we have twr module does not have RS232 serial
> port, but we are using for qnx image porting by USB OTG port. so that when Qnx
> image start it will looks serial terminal driver execution which is not
> present in TWR module. Is this issue getting this junk characters when its
> start execution serial driver...?
>
> Best regards,
>
> Jagan N
>jagan N(deleted)2014-09-15T12:03:08Zpost111714: porting QNX into p1005 TWR modulejagan N(deleted)http://community.qnx.com/sf/go/post1117142014-09-15T11:54:57Z2014-09-15T11:54:57ZHi,
This mail with reference to porting QNX on freescale p1025 twr-module. when I Power ON p1025 twr-module, I could assign IP addr and server IP from hyperterminal for p1025 target board IP and host IP with help of uboot command and I could map qnx build image file also(ie, ifs-p1025twr.raw), but when I boot image file It shows un-read able characters. I have attached output snap shots for your reference...
We set the value of baud rate in terminal as per standard --- 115200
u-boot version --- UBOOT (2011.09) (p1025 TWR module).
Serial driver starting in startup script --- devc-ser8250 –e –c384000000 –b115200 0xffe04500,16
The freescale TWR module by default comes with U boot, we just porting QNX build image on top of that. If we change build file as per Qnx document for solving this issue will not be affect after building. The TWR module what we have does not have serial port, we tried to porting using by OTG USB port..what my understanding is what we have twr module does not have RS232 serial port, but we are using for qnx image porting by USB OTG port. so that when Qnx image start it will looks serial terminal driver execution which is not present in TWR module. Is this issue getting this junk characters when its start execution serial driver...?
Best regards,
Jagan Njagan N(deleted)2014-09-15T11:54:57Zpost110693: Re: how will be password recovery?Steve Reidhttp://community.qnx.com/sf/go/post1106932014-06-13T15:36:02Z2014-06-13T15:36:02ZThere are some suggestions in the Managing User Accounts chapter of the Neutrino User's Guide:
http://www.qnx.com/developers/docs/6.5.0_sp1/topic/com.qnx.doc.neutrino_user_guide/accounts.html?cp=13_12_3_2_1#ForgotPasswordSteve Reid2014-06-13T15:36:02Zpost110692: how will be password recovery?serkan sahin(deleted)http://community.qnx.com/sf/go/post1106922014-06-13T14:45:50Z2014-06-13T14:45:50Zhi
I have a question
if like say, root forget password. how will be recovery? or have a backdoor?
thx.serkan sahin(deleted)2014-06-13T14:45:50Zpost110396: Re: HID programming referencejanusz ruszelhttp://community.qnx.com/sf/go/post1103962014-05-20T12:45:47Z2014-05-20T12:45:47ZI am working with QNX 6.5.0 SP1.janusz ruszel2014-05-20T12:45:47Zpost110391: HID programming referencejanusz ruszelhttp://community.qnx.com/sf/go/post1103912014-05-20T00:30:10Z2014-05-20T00:30:10ZI am looking for any advice/help/guidance for simple connection to the HID manager and read touch screen data from custom application. There is no Photon running. Another words looking for libhiddi.so library reference programming guide. Hopefully i am posting to the right forum.
Thanks
Januszjanusz ruszel2014-05-20T00:30:10Zpost110324: IMX 6 Boot up timeSankarraj Saravananhttp://community.qnx.com/sf/go/post1103242014-05-14T13:57:22Z2014-05-14T13:57:22ZCan you tell me what is the QNX boot up time on IMX 6 with QNX 6.6,
IPL boot time
mmu initialization and
can initialization timeSankarraj Saravanan2014-05-14T13:57:22Zpost110234: Re: Why these core files are corrupt and not uploaded to quip server?Awais Mehmood(deleted)http://community.qnx.com/sf/go/post1102342014-05-08T20:19:47Z2014-05-08T20:19:47ZChecked these core files through VFS with no luck.Awais Mehmood(deleted)2014-05-08T20:19:47Zpost110233: Why these core files are corrupt and not uploaded to quip server?Awais Mehmood(deleted)http://community.qnx.com/sf/go/post1102332014-05-08T19:55:42Z2014-05-08T19:55:42ZUser reported to Beta that " device is completely frozen and unresponsive. The screen goes to sleep and I can wake it up, but when I wake it up I can’t tap/swipe or do anything."
I see following core files in the logs here: \\goliath\users\sbackx\BB10
\Device_Logs\cascades.core
\Device_Logs\navigator.full_core
\Device_Logs\sanitybackup\thermal.core
Out of three cores, only one is uploaded to quip server.
Navigator (Stacktrace corrupt)
Program terminated with signal 11, Segmentation fault.
#0 0x103f8596 in ?? ()
(gdb) bt full
#0 0x103f8596 in ?? ()
No symbol table info available.
#1 0x105323fe in ?? ()
No symbol table info available.
#2 0x105323fe in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
Cascade (Stacktrace corrupt)
stacktrace of cascasdes
(gdb) bt full
#0 0x4abcf528 in ?? ()
No symbol table info available.
#1 0x4abe60e4 in ?? ()
No symbol table info available.
#2 0x4abe60e4 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
For thermal Crash (I found JIRA CBSP-12333)
#0 0x015e17b8 in SignalKill () from /storage/svn/709715/developer/branches/BB10_3_0/target/qnx6/armle-v7/lib/libc.so.3
#1 0x015d0f1c in raise (signo=6) at /var/build/workspace/src/lib/c/ansi/raise.c:30
#2 0x015cf66c in abort () at /var/build/workspace/src/lib/c/ansi/abort.c:50
#3 0x107f6cfc in thermal_monitor (arg=<optimized out>) at /var/build/workspace/src/rim/thermal/framework/thermal_monitor.c:38
#4 0x015c380c in timer_settime (timerid=<optimized out>, flags=<optimized out>, value=<optimized out>, ovalue=0x0) at /var/build/workspace/src/lib/c/1b/timer_settime.c:51
#5 0x00000000 in ?? ()Awais Mehmood(deleted)2014-05-08T19:55:42Zpost109898: Re: RE: convert char to intYaroslav Stetsyk(deleted)http://community.qnx.com/sf/go/post1098982014-04-11T14:04:47Z2014-04-11T14:04:47ZHi, just do next:
char *textp;
PtArg_t arg[1];
PtSetArg( &arg[0], Pt_ARG_TEXT_STRING, *(int*)textp, 0 );
PtGetResources( ABW_PtText1, 1, arg );Yaroslav Stetsyk(deleted)2014-04-11T14:04:47Zpost108838: RE: mq_open() is not creating unique descriptorsThomas Haupthttp://community.qnx.com/sf/go/post1088382014-02-17T09:14:38Z2014-02-17T09:14:38ZHi Adlai,
this is expected. Queue descriptors (like all file descriptors) are local to the process that called open(). The mqueue server identifies the client based on the combination of process id and queue descriptor, so there's no problem.
Regards,
Thomas
-----Original Message-----
From: Adlai Shawareb [mailto:community-noreply@qnx.com]
Sent: Freitag, 14. Februar 2014 21:01
To: general-bazaar
Subject: mq_open() is not creating unique descriptors
All,
I'm calling mq_open() from separate processes on the same machine. I am givning unique queue names for each queue. However, mq_open() is returning the same queue descriptor number each time mq_open() is called. Any ideas?
Here is the call:
struct mq_attr mq_attributes_;
mq_attributes_.mq_maxmsg = 100;
mq_attributes_.mq_msgsize = 8196;
mq_open( queue_name_, O_CREAT | O_EXCL | O_RDWR, S_IRUSR | S_IWGRP, &mq_attributes_)
_______________________________________________
General
http://community.qnx.com/sf/go/post108809
To cancel your subscription to this discussion, please e-mail general-bazaar-unsubscribe@community.qnx.comThomas Haupt2014-02-17T09:14:38Zpost108809: mq_open() is not creating unique descriptorsAdlai Shawareb(deleted)http://community.qnx.com/sf/go/post1088092014-02-14T20:00:35Z2014-02-14T20:00:35ZAll,
I'm calling mq_open() from separate processes on the same machine. I am givning unique queue names for each queue. However, mq_open() is returning the same queue descriptor number each time mq_open() is called. Any ideas?
Here is the call:
struct mq_attr mq_attributes_;
mq_attributes_.mq_maxmsg = 100;
mq_attributes_.mq_msgsize = 8196;
mq_open( queue_name_, O_CREAT | O_EXCL | O_RDWR, S_IRUSR | S_IWGRP, &mq_attributes_)Adlai Shawareb(deleted)2014-02-14T20:00:35Zpost104723: how to get results from qdb databaseRagavendar Pallati(deleted)http://community.qnx.com/sf/go/post1047232013-08-31T07:58:39Z2013-08-31T07:58:39Zi tried qdb_getresults(hdl) but it is returning io error 5, the qdb_getresults returning null pointer instead of result set pointer to results .
could any one please help me out of this problem
thanks inadvanceRagavendar Pallati(deleted)2013-08-31T07:58:39Zpost104498: unable to process config file - No such file or directorysrinivas raghumandlahttp://community.qnx.com/sf/go/post1044982013-08-25T18:28:17Z2013-08-25T18:28:17Zhi,
i am new to QNX QDB .when i try to execute "qdb" command on "QNX neutrino" Terminal.i got the following error
#qdb
qdb: unable to process config file - No such file or directory
I had followed the below steps for configure the "qdb sqlite3" in QNX System.
RE: QDB server & database not found
It's looking for libsqlite3.so.1 in your LD_LIBRARY_PATH . On my QNX650 HOST for some reason it is not in the /usr/lib
directory...but you can find it in QNX_TARGET.
thor$ uname -a
QNX thor 6.5.0 2010/07/09-14:44:03EDT x86pc x86
thor$ which qdb
/usr/sbin/qdb
thor$ objdump -x /usr/sbin/qdb | grep NEEDED
NEEDED libsqlite3.so.1
NEEDED libz.so.2
NEEDED libc.so.3
thor$ which -sa libsqlite3.so.1
which: no libsqlite3.so.1 in :/proc/boot:/lib:/usr/lib:/lib/dll:/opt/lib:/usr/photon/lib:/usr/photon/dll:/usr/local/lib:
/opt/X11R6/lib:/usr/X11R6/lib:/proc/boot
:/lib:/usr/lib:/lib/dll:/opt/lib
thor$ qdb
ldd:FATAL: Could not load library libsqlite3.so.1
thor$ find /usr -name "libsql*"
/usr/qnx650/target/qnx6/ppcbe-spe/usr/lib/libsqlite3.so
/usr/qnx650/target/qnx6/ppcbe-spe/usr/lib/libsqlite3.so.1
/usr/qnx650/target/qnx6/ppcbe/usr/lib/libsqlite3.so
/usr/qnx650/target/qnx6/ppcbe/usr/lib/libsqlite3.so.1
/usr/qnx650/target/qnx6/x86/usr/lib/libsqlite3.so
/usr/qnx650/target/qnx6/x86/usr/lib/libsqlite3.so.1
/usr/qnx650/target/qnx6/armle-v7/usr/lib/libsqlite3.so
/usr/qnx650/target/qnx6/armle-v7/usr/lib/libsqlite3.so.1
/usr/qnx650/target/qnx6/armle/usr/lib/libsqlite3.so
/usr/qnx650/target/qnx6/armle/usr/lib/libsqlite3.so.1
/usr/qnx650/target/qnx6/shle/usr/lib/libsqlite3.so
/usr/qnx650/target/qnx6/shle/usr/lib/libsqlite3.so.1
thor$ ls -l */usr/lib/libsqlite3.so*
ls: No such file or directory (*/usr/lib/libsqlite3.so*)
thor$ use -i /usr/qnx650/target/qnx6/x86/usr/lib/libsqlite3.so.1
NAME=libsqlite3.so
DESCRIPTION=SQLite Library
DATE=2010/07/09-13:23:07-EDT
STATE=stable
HOST=mainbuild
USER=builder
VERSION=6.5.0
TAGID=89
thor$ echo $QNX_TARGET
/usr/qnx650/target/qnx6
thor$ echo $LD_LIBRARY_PATH
:/proc/boot:/lib:/usr/lib:/lib/dll:/opt/lib:/usr/photon/lib:/usr/photon/dll:/usr/local/lib:/opt/X11R6/lib:/usr/X11R6/lib
thor$ which -sa libsqlite3.so.1
which: no libsqlite3.so.1 in :/proc/boot:/lib:/usr/lib:/lib/dll:/opt/lib:/usr/photon/lib:/usr/photon/dll:/usr/local/l
ib:/opt/X11R6/lib:/usr/X11R6/lib:/usr/qnx650/target/qnx6/usr/lib:/proc/boot:/lib:/usr/lib:/lib/dll:/opt/lib
thor$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/qnx650/target/qnx6/x86/usr/lib
thor$ which -sa libsqlite3.so.1
/usr/qnx650/target/qnx6/x86/usr/lib/libsqlite3.so.1
thor$ qdb
qdb: must be superuser to start server
please advice me.
Thanks
Srinivas.srinivas raghumandla2013-08-25T18:28:17Zpost103738: Running QNX Neutrino 6.4.1 BSP for TI OMAP3530 from u-boot-2010.12Martin Meiboom(deleted)http://community.qnx.com/sf/go/post1037382013-07-30T13:51:46Z2013-07-30T13:51:46ZDear fellow QNX developers,
I am running QNX on different Gumstix on a Tobi-Board, since I received newer Gumstix with u-Boot 2010-12 I am not able to load the QNX image.
Here are the changes discovered so far:
In U-Boot 2010-12 the MMC is available under mmc 0 and not anymore under mmc 1.
The mmc init does not allow to load the image into the ram, since fatload doesn’t recognize the mmc. After mmc part 0 fatload is able to detect the partition.But after loading the image into the Ram the Gumstix reboots when calling the address.
The Image does boot without any Problems on a different Gumstix with u-Boot 2010-09.
Are there any sugesstions to be able to run the image, maybe without flashing a new u-Boot?
Thanks in advanceMartin Meiboom(deleted)2013-07-30T13:51:46Zpost101865: Availability of ID3 parser in QNX momentics IDEPratap singhhttp://community.qnx.com/sf/go/post1018652013-05-30T11:29:01Z2013-05-30T11:29:01ZHi All,
I am working on an application on qnx momentics IDE which needs ID3 parser package,but I am
not sure this package is supported by QNX.Can anyone tell me that QNX provides ID3 parser or not ?
If it provides,thenwhether it is available as open source or as a liscenced software?
Any help would be appreciated....
Thanks,
PratapPratap singh2013-05-30T11:29:01Zpost100802: Re: buy a really low priced Replica WatchArmin Steinhoffhttp://community.qnx.com/sf/go/post1008022013-04-23T13:26:49Z2013-04-23T13:26:49Zlooks like "rising and falling" of a QNX related forum :)Armin Steinhoff2013-04-23T13:26:49Zpost99497: buy a really low priced Replica WatchJack Chehttp://community.qnx.com/sf/go/post994972013-02-25T08:56:58Z2013-02-25T08:56:58ZI've been wanting to buy a reproduction watch for inexpensive but I could not find them anywhere. I've looked around and the one is $200. I'm maybe not likely to fork out $200 for a reproduction as a real one.Canal Street had been just bought by me rather in NYC. I live here and can help you out. What is the exact Omega type you are looking for? <br>China. In China replica anything can be got by you. Take to searching on EBay if anyone is selling any Chinese-made reproduction watches <a href="http://oris.gatewatches.com/replica-oris-artelier-chronograph.html">Replica Oris Artelier Chronograph Watch</a> to see. They're actually very good too. <br>You Can Buy A Cheap Replica Watch <a href="http://www.watchfar.com/tag-heuer-professional.html">Tag Heuer Professional watches for men</a> At Www.Ebay.Com. <br>You Can Also But A Cheap Replica Watch By likely to buy cheap replica watches () <wbr/> and writing in your informative data on the research line of Google.com <br>Source( s ): Most of them provide for approximately $25/-. <br><br>Sooner or latter an offer will come by E-mail. I get them several time a <br><br>Jack Che2013-02-25T08:56:58Zpost99055: RE: Qt running on QNX targetSeyfettin Süngerhttp://community.qnx.com/sf/go/post990552013-02-05T08:42:32Z2013-02-05T08:42:32ZDear Mahesh Kumar,
You are on wrong forum.
Please go this web site & post this topic there:
http://community.qnx.com/sf/discussion/do/listForums/projects.qt/discussion
I just wonder, how do you do the configuration for arm or other arthitecture
on Windows?
Regards,
Seyfettin SungerSeyfettin Sünger2013-02-05T08:42:32Zpost99054: QNX QT Appmahesh kumarhttp://community.qnx.com/sf/go/post990542013-02-05T05:39:41Z2013-02-05T05:39:41ZWe require appropriate MOC.exe supporting QT Version 4.8.2 to build QNX QT app. Though we were successful to build on QT Version 4.7.1, Can you please provide us the link to download appropriate versions of Moc QT 4.8.2mahesh kumar2013-02-05T05:39:41Zpost99053: Qt running on QNX targetmahesh kumarhttp://community.qnx.com/sf/go/post990532013-02-05T04:41:28Z2013-02-05T04:41:28ZHow to link with Moc_easydata.o file , moc_easydata.cpp .please let us know at the earliestmahesh kumar2013-02-05T04:41:28Zpost99044: Re: tftpd does not work in QNX Neutrino 6.5.0Jane Sun(deleted)http://community.qnx.com/sf/go/post990442013-02-04T18:17:59Z2013-02-04T18:17:59ZHi Oleg,
Yes, you are correct.
After taking out the '-s' option in /etc/inetd.conf, the tftpd on my QNX target works fine now.
tftp dgram udp wait root /usr/sbin/tftpd tftpd /tftpboot
Thank you very much for all you help and great support.
You may close this support ticket now.
Thank you and Best Regards,
JaneJane Sun(deleted)2013-02-04T18:17:59Zpost99017: Re: tftpd does not work in QNX Neutrino 6.5.0Oleg Gopov(deleted)http://community.qnx.com/sf/go/post990172013-02-02T04:05:54Z2013-02-02T04:05:54ZTypo:
tftp dgram udp wait root /usr/sbin/tftpd tftpd /tftpbootOleg Gopov(deleted)2013-02-02T04:05:54Zpost99016: Re: tftpd does not work in QNX Neutrino 6.5.0Oleg Gopov(deleted)http://community.qnx.com/sf/go/post990162013-02-02T04:04:51Z2013-02-02T04:04:51Z> Hi QNX Support,
>
> I am using QNX Neutrino 6.5.0, and the tftpd does not work.
> I have inetd running on my Neutrino 6.5.0 target, and the /etc/inetd.conf has
> following tftp setting:
>
> # ps -ef |grep inetd
> 0 344112 1 - Jan01 ? 00:00:00 inetd /etc/inetd.conf
>
> # cat /etc/inetd.conf |grep tftp
> #tftp dgram udp wait root /usr/sbin/tftpd in.tftpd
> tftp dgram udp wait root /usr/sbin/tftpd tftpd -s /tftoboot
>
Try to remove "-s" option. Your string in inetd.conf must be as:
tftp dgram udp wait root /usr/sbin/tftpd tftpd /tftobootOleg Gopov(deleted)2013-02-02T04:04:51Zpost99015: Re: tftpd does not work in QNX Neutrino 6.5.0Oleg Gopov(deleted)http://community.qnx.com/sf/go/post990152013-02-02T03:36:50Z2013-02-02T03:36:50ZBy the way , you can find tftpd sources and then find string with error you have. This solve all your problems))))Oleg Gopov(deleted)2013-02-02T03:36:50Zpost99014: Re: tftpd does not work in QNX Neutrino 6.5.0Oleg Gopov(deleted)http://community.qnx.com/sf/go/post990142013-02-02T03:35:22Z2013-02-02T03:35:22ZTry to start tftpd daemon by hand (therefore you must comment string in the inetd.conf which start tftpd).Oleg Gopov(deleted)2013-02-02T03:35:22Zpost98998: Re: tftpd does not work in QNX Neutrino 6.5.0Jane Sun(deleted)http://community.qnx.com/sf/go/post989982013-02-01T17:06:57Z2013-02-01T17:06:57ZThe following tftp command on my QNX target also fails:
# tftp localhost
tftp> get test.txt
Transfer timed out.
My Linux PC (IP=172.17.1.1) connects directly to my QNX target (IP=172.17.16.1), they are not on the real network.
I was able to ping QNX target from my Linux PC, and ssh login to QNX target from my Linux PC.
I was also able to tftp download a file from Linux PC to QNX target, but not the other way around.
So it seems like only the tftp client works on my QNX target, but not the tftpd server.Jane Sun(deleted)2013-02-01T17:06:57Zpost98979: Re: raspberry piOleg Gopov(deleted)http://community.qnx.com/sf/go/post989792013-02-01T03:10:26Z2013-02-01T03:10:26ZTry to search answer in raspberry's forums. site - http://raspberry.orgOleg Gopov(deleted)2013-02-01T03:10:26Zpost98978: Re: tftpd does not work in QNX Neutrino 6.5.0Oleg Gopov(deleted)http://community.qnx.com/sf/go/post989782013-02-01T02:59:57Z2013-02-01T02:59:57ZYour IP = 172.17.16.1. You work over NAT????????Oleg Gopov(deleted)2013-02-01T02:59:57Zpost98977: Re: tftpd does not work in QNX Neutrino 6.5.0Oleg Gopov(deleted)http://community.qnx.com/sf/go/post989772013-02-01T02:56:58Z2013-02-01T02:56:58ZTry to invoke this commands from Qnx machine.
tftp localhost
tftp> get test.txt
tftp> quit
All it normal??????
And ......... your computers in the LAN?????? Or you try to connect to Qnx machine over Internet?????????Oleg Gopov(deleted)2013-02-01T02:56:58Zpost98959: Re: raspberry piAlexei Chipovalovhttp://community.qnx.com/sf/go/post989592013-02-01T01:37:00Z2013-02-01T01:37:00Z> i would like to know if anyone knows if qnx can run on the raspberry pi?
I've been looking for it for a while, but found nothing.
I'm sure it's not a big deal to make it to those who now how.
I'm really surprised QNX community seem to have no interest in playing with Raspberry Pi?
Having QNX on MK-802 and MK-802-III would also be fun.
Why not???
And no, I can't do it myself due to the lack of required knowledge and experience.
Maybe in couple years, though.Alexei Chipovalov2013-02-01T01:37:00Zpost98956: Re: tftpd does not work in QNX Neutrino 6.5.0Jane Sun(deleted)http://community.qnx.com/sf/go/post989562013-01-31T21:27:03Z2013-01-31T21:27:03ZThank you very much for your prompt reply.
Yes, I have disabled the iptables on my Linux PC.
On my QNX target, the /etc/services has tftp port 69 enabled:
# cat /etc/services |grep tftp
tftp 69/tcp
tftp 69/udp
The netstat shows that tftp is enabled:
# netstat -a |grep tftp
udp 0 0 *.tftp *.*
But the tcpdump on QNX target shows the error of "udp port tftp unreachable":
# tcpdump -vvv -xx -e -i fec0
19:17:45.986826 00:16:e0:29:16:51 (oui Unknown) > 00:04:a3:4e:dc:d4 (oui Unknown), ethertype IPv4 (0x0
800), length 63: (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 49) 172.17.1.1.4
1084 > 172.17.16.1.tftp: [udp sum ok] 21 RRQ "inetd.pid" netascii
0x0000: 0004 a34e dcd4 0016 e029 1651 0800 4500
0x0010: 0031 0000 4000 4011 d197 ac11 0101 ac11
0x0020: 1001 a07c 0045 001d 2ebe 0001 696e 6574
0x0030: 642e 7069 6400 6e65 7461 7363 6969 00
19:17:45.986826 00:04:a3:4e:dc:d4 (oui Unknown) > 00:16:e0:29:16:51 (oui Unknown), ethertype IPv4 (0x0
800), length 70: (tos 0x0, ttl 255, id 101, offset 0, flags [none], proto ICMP (1), length 56) 172.17.
16.1 > 172.17.1.1: ICMP 172.17.16.1 udp port tftp unreachable, length 36
(tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 49) 172.17.1.1.41084 > 17
2.17.16.1.tftp: 21 [|tftp]
0x0000: 0016 e029 1651 0004 a34e dcd4 0800 4500
0x0010: 0038 0065 0000 ff01 523b ac11 1001 ac11
0x0020: 0101 0303 2d60 0000 0000 4500 0031 0000
0x0030: 4000 4011 d197 ac11 0101 ac11 1001 a07c
0x0040: 0045 001d 2ebe
Any other suggestions that I can try?
Thanks!Jane Sun(deleted)2013-01-31T21:27:03Zpost98917: Re: tftpd does not work in QNX Neutrino 6.5.0Oleg Gopov(deleted)http://community.qnx.com/sf/go/post989172013-01-31T03:30:52Z2013-01-31T03:30:52ZIf you work from Linux machine, try to kill iptables.Oleg Gopov(deleted)2013-01-31T03:30:52Zpost98916: Re: tftpd does not work in QNX Neutrino 6.5.0Oleg Gopov(deleted)http://community.qnx.com/sf/go/post989162013-01-31T03:29:11Z2013-01-31T03:29:11Ztry to invoke sniffer, for examble tcpdump, maybe you will see some intresting thingsOleg Gopov(deleted)2013-01-31T03:29:11Zpost98910: tftpd does not work in QNX Neutrino 6.5.0Jane Sun(deleted)http://community.qnx.com/sf/go/post989102013-01-30T22:34:00Z2013-01-30T22:34:00ZHi QNX Support,
I am using QNX Neutrino 6.5.0, and the tftpd does not work.
I have inetd running on my Neutrino 6.5.0 target, and the /etc/inetd.conf has following tftp setting:
# ps -ef |grep inetd
0 344112 1 - Jan01 ? 00:00:00 inetd /etc/inetd.conf
# cat /etc/inetd.conf |grep tftp
#tftp dgram udp wait root /usr/sbin/tftpd in.tftpd
tftp dgram udp wait root /usr/sbin/tftpd tftpd -s /tftoboot
Since the tftp daemon in Neutrino 6.5.0 is "tftpd" (not in.tftpd), so I replace the "in.tftp" with "tftpd" in "/etc/inetd.conf".
On my Neutrino 6.5.0 target, I have following files under /tftpboot:
# ls /tftpboot/
SDMA_MUTEX inetd.pid sshd.pid test.txt
When I try to tftp download the "test.txt" file from my Neutrino 6.5.0 target to my Linux PC, I got the tftp timeout:
Linux PC$ tftp -v 172.17.16.1
Connected to 172.17.16.1 (172.17.16.1), port 69
tftp> trace
Packet tracing on.
tftp> status
Connected to 172.17.16.1.
Mode: netascii Verbose: on Tracing: on Literal: off
Rexmt-interval: 5 seconds, Max-timeout: 25 seconds
tftp> get test.txt
getting from 172.17.16.1:test.txt to test.txt [netascii]
sent RRQ <file=test.txt, mode=netascii>
sent RRQ <file=test.txt, mode=netascii>
sent RRQ <file=test.txt, mode=netascii>
sent RRQ <file=test.txt, mode=netascii>
sent RRQ <file=test.txt, mode=netascii>
Transfer timed out.
Any suggestions?
Thanks,
Jane SunJane Sun(deleted)2013-01-30T22:34:00Zpost96017: LCM library on QNXBoris Gurenkohttp://community.qnx.com/sf/go/post960172012-10-04T08:34:04Z2012-10-04T08:34:04ZHello
I'm trying to install LCM on QNX. Has anyone tried to do that?Boris Gurenko2012-10-04T08:34:04Zpost95986: Re: f32qldr stops after 'Transfer Control...'Dennis Kelllyhttp://community.qnx.com/sf/go/post959862012-10-02T20:33:27Z2012-10-02T20:33:27ZMaybe your ifs grew too large?Dennis Kellly2012-10-02T20:33:27Zpost95984: Re: f32qldr stops after 'Transfer Control...'Adam Barberhttp://community.qnx.com/sf/go/post959842012-10-02T19:35:34Z2012-10-02T19:35:34ZI know this is an old post, but I'm having the exact same problem but no warnings are showing up for me to fix!
Any ideas on what else could be going wrong?Adam Barber2012-10-02T19:35:34Zpost94832: raspberry piJohn judgehttp://community.qnx.com/sf/go/post948322012-08-15T01:31:47Z2012-08-15T01:31:47Zi would like to know if anyone knows if qnx can run on the raspberry pi?John judge2012-08-15T01:31:47Zpost93468: Re: Unable to run simple c application(qcc not available)Suresha Ihollehttp://community.qnx.com/sf/go/post934682012-06-02T07:59:24Z2012-06-02T07:59:24ZHi pratap,
Compiler tool chain will not be there in your beagle.ifs that is the reason your not able compile your c code...
compilation on the target is possible only if you include the compiler tool chain in your target image,but including
the compiler tools in your target is very tedious process,Iam not sure how this can be done.
Regards,
Suresha iholleSuresha Iholle2012-06-02T07:59:24Zpost93029: Unable to run simple c application(qcc not available)Pratap singhhttp://community.qnx.com/sf/go/post930292012-05-11T15:00:42Z2012-05-11T15:00:42ZHi Team,
I am unable to run simple c application on QNX 6.5.0 image for Beagle Board.It is showing qcc is not there in this image.
Please let me know from which link I can download QCC.
Or any other compiler is available for QNX 6.5.0 image
Thanks,
PratapPratap singh2012-05-11T15:00:42Zpost93028: Unable to run simple c application(qcc not available)Pratap singhhttp://community.qnx.com/sf/go/post930282012-05-11T14:56:57Z2012-05-11T14:56:57ZHi Team,
I am unable to run simple c application on QNX 6.5.0 image for Beagle Board.It is showing qcc is not there in this image.
Please let me know from which link I can download QCC.
Or any other compiler is available for QNX 6.5.0 image
Thanks,
PratapPratap singh2012-05-11T14:56:57Zpost92671: Re: Socket related errorRAKESH KUMARhttp://community.qnx.com/sf/go/post926712012-04-20T13:10:09Z2012-04-20T13:10:09ZI have put that binary into the SD-CARD and have executed on the target only. Are you trying to suggest something else.
Please commentRAKESH KUMAR2012-04-20T13:10:09Zpost92668: Re: Socket related errorSean Boudreau(deleted)http://community.qnx.com/sf/go/post926682012-04-20T12:20:06Z2012-04-20T12:20:06ZYou've linked your app against that lib. You have to put it on the target.
-seanb
----- Original Message -----
From: RAKESH KUMAR [mailto:community-noreply@qnx.com]
Sent: Friday, April 20, 2012 05:21 AM
To: general-bazaar <post92661@community.qnx.com>
Subject: Socket related error
Hi QNX Team
I am getting error while running socket programs(simple client server programs in c) on 6.5.0 image on Beagle board .Following error I am getting:
ldd:FATAL: Could not load library libsocks.so.1
any explanation / insights into this is appreciated .
Thanks,
Rakesh
_______________________________________________
General
http://community.qnx.com/sf/go/post92661Sean Boudreau(deleted)2012-04-20T12:20:06Zpost92661: Socket related errorRAKESH KUMARhttp://community.qnx.com/sf/go/post926612012-04-20T09:21:47Z2012-04-20T09:21:47ZHi QNX Team
I am getting error while running socket programs(simple client server programs in c) on 6.5.0 image on Beagle board .Following error I am getting:
ldd:FATAL: Could not load library libsocks.so.1
any explanation / insights into this is appreciated .
Thanks,
RakeshRAKESH KUMAR2012-04-20T09:21:47Zpost92479: Re: New to thisIsmail Musehttp://community.qnx.com/sf/go/post924792012-04-06T03:17:50Z2012-04-06T03:17:50ZSorry but really this thing was dumped on me and I have to figure it out.
I have successfully loaded the iso on another laptop. an it is running. I logged in as "root".
Now I have the "Internet", "Utilities", "Games" ..... options.
Pls, how do I run the files I was given?Ismail Muse2012-04-06T03:17:50Zpost92478: Re: New to thisSean Boudreau(deleted)http://community.qnx.com/sf/go/post924782012-04-06T02:38:30Z2012-04-06T02:38:30ZThe latter is a native iso. It needs to either be burned to a cd and installed on a real machine (no windows), or installed as a host os in a vm (eg vmware running under windows or linux).
-seanb
----- Original Message -----
From: Ismail Muse [mailto:community-noreply@qnx.com]
Sent: Thursday, April 05, 2012 10:32 PM
To: general-bazaar <post92477@community.qnx.com>
Subject: New to this
I got this files that are supposed to be a simulator. These files I was told would run on a PC that has been configured with QNX.
Well I went to QNX site and downloaded the development enviroment package. Couldnt get things to work.
I dont know if this sufficient info to get help.
I already installed::: ------ qnxsdp-6.5.0-201007091524-win32.exe
Download ::::::------qnxsdp-6.5.0-x86-201007091524-nto.iso (Cant install it)
_______________________________________________
General
http://community.qnx.com/sf/go/post92477Sean Boudreau(deleted)2012-04-06T02:38:30Zpost92477: New to thisIsmail Musehttp://community.qnx.com/sf/go/post924772012-04-06T02:32:06Z2012-04-06T02:32:06ZI got this files that are supposed to be a simulator. These files I was told would run on a PC that has been configured with QNX.
Well I went to QNX site and downloaded the development enviroment package. Couldnt get things to work.
I dont know if this sufficient info to get help.
I already installed::: ------ qnxsdp-6.5.0-201007091524-win32.exe
Download ::::::------qnxsdp-6.5.0-x86-201007091524-nto.iso (Cant install it)Ismail Muse2012-04-06T02:32:06Zpost92283: Re: No USB Keyboard Function on QNX Native Hostsophia brownhttp://community.qnx.com/sf/go/post922832012-03-27T09:09:54Z2012-03-27T09:09:54ZYou install it once again and will it work.sophia brown2012-03-27T09:09:54Zpost92161: No USB Keyboard Function on QNX Native HostJocelyn Jensenhttp://community.qnx.com/sf/go/post921612012-03-19T11:02:55Z2012-03-19T11:02:55ZHi...I have an installation of the NX Native Host on the x86 platform.
Photon does not see my USB keyboard. No Keyboard means no
comand line tools.
Any assistance will be appreciated!
Thanks,
LynnJocelyn Jensen2012-03-19T11:02:55Zpost91264: XPT_SCSI_IOSwapna Nannapaneni(deleted)http://community.qnx.com/sf/go/post912642012-01-31T23:33:26Z2012-01-31T23:33:26ZHi QNX team,
I am looking at block device driver code for mmc driver and can understand that we can use either XPT_ DEVCTL commands from the App to talk to driver or XPT_SCSI_IO commands . I can understand devctl commands and how I can use them but could you please help us on how we can use XPT_SCSI_IO. Any sample code you can point us would be helpful.
Thank youSwapna Nannapaneni(deleted)2012-01-31T23:33:26Zpost90761: QNX Live CDYannic Hernouthttp://community.qnx.com/sf/go/post907612011-12-24T23:34:29Z2011-12-24T23:34:29Z1st) Sorry mor my english, i'm fench.
2nd) Few years ago (many many years ago it was in 2004 or 2005), i tried QNX in a Live CD and i always remember it as the best OS i have see, that's why i ask here before to search on another OS.
Today i'm looking for a boot os (live cd) that i can boot and use to browse website.
In my memory, QNX was the best : boot quickly in few seconds and have a internet browser.
So my question is : Where i can donwload a Live CD of QNX ?
I'm sorry to ask that because i'm lost with all download links is provided.
Thanks in advance and regards.
QNX was my first operating system i loved.Yannic Hernout2011-12-24T23:34:29Zpost90687: Sniffing the usb trafficHieronim Fethttp://community.qnx.com/sf/go/post906872011-12-20T00:23:04Z2011-12-20T00:23:04ZI have a task to write a driver for data acquisition device. I have written simple code that uses read()/write() to send or receive frame form device, but it doesn`t work properly. Is there any way to see what`s going on in the device file? I know cat command, but I need something that will be returning characters (in hex format)from file continously.
Thanks.Hieronim Fet2011-12-20T00:23:04Zpost90512: How do you get exact graphic resourcesbill xia(deleted)http://community.qnx.com/sf/go/post905122011-12-09T16:47:32Z2011-12-09T16:47:32Z1. Find out PID of your AP, issue "pidin -fa -p MapKit_QNX_CAR2_ccc | grep [0123456789]";
1607868564
2. Issue "#cd /dev/screen/1607868564", go into your screen resources folder;
3. Issue "ls", and go into win-nn folder;
4. List files, win-nn-1.bmp & win-nn-2.bmp are snapshot of your AP;
5. cat win-nn, get the exact informaiton of your screen resources;
# cat win-11
type = SCREEN_APPLICATION_WINDOW
autonomous = 0
status = WIN_STATUS_VISIBLE
replaced = 0
references = 1
id string =
display id = 1
plane id = 3
parent = (none)
children = (none)
window above = (none)
window below = win-6
reclip = 0
updates = 0
locked = 0
valid = 0x0000001c
class =
flags = WIN_FLAG_VISIBLE|!WIN_FLAG_STATIC|!WIN_FLAG_PREMULTIPLIED|!WIN_FLAG_FLOATING
buffer size = 1024x600bill xia(deleted)2011-12-09T16:47:32Zpost89993: General QNX querySupriya Samantahttp://community.qnx.com/sf/go/post899932011-11-10T12:45:51Z2011-11-10T12:45:51Zcan you please answer whether the below functioality are supported by QNX or not
1.Support loading IPL (Initial Program Loader) image from eMMC4.4 to internal RAM (IPL is a first execution program)
2.Support loading a software image from PC to internal RAM via USB2.0. (We will use as the software image to write into flash memory. We call flashing tool)
3.Boot function can be switched by GPIO status or internal register.
4.Support secure boot (The Mask ROM executes a program after code and data integrity verification.)
5. device boots only from Mask ROM to make the trusted root.Supriya Samanta2011-11-10T12:45:51Zpost89989: QNX system boot reated questionSupriya Samantahttp://community.qnx.com/sf/go/post899892011-11-10T11:36:55Z2011-11-10T11:36:55ZCan anyone please provide me the answer of the below questions..
1.Does QNX support oading OS image from eMMC4.4 to SDRAM (We will use the U-boot to load OS image. U-Boot is loaded by IPL or IPL include U-boot.)?
2.The image to load can be switched by key operation, parameters in NVM or parameters in internal RAM?
3.Does QNX supports secure boot?
4.Is the QNX boot function can be switched by GPIO status or internal register?Supriya Samanta2011-11-10T11:36:55Zpost89902: Porting Camera driver from Linux to QNX.sadas safdsahttp://community.qnx.com/sf/go/post899022011-11-07T14:11:35Z2011-11-07T14:11:35ZHi,
In Linux there is module V4l2 and soc-camera. How can I mapped those thing in QNX. or Is there any resource maneger which mapped those thing.What wil be the camera driver archietechture for beginer.How io-display and Graphics framework related to camera driver.
Any related information will be greatly appreciable.
Thanks,
Pranabsadas safdsa2011-11-07T14:11:35Zpost89893: Re: How can i add my binary to the BSPDennis Kelllyhttp://community.qnx.com/sf/go/post898932011-11-05T11:29:51Z2011-11-05T11:29:51Z"(2)" means "file not found". You can specify the complete path name instead of simply the application name.Dennis Kellly2011-11-05T11:29:51Zpost89892: How can i add my binary to the BSPBenoy Saha(deleted)http://community.qnx.com/sf/go/post898922011-11-05T05:23:18Z2011-11-05T05:23:18ZHello,
I am new to QNX development so i have a very basic question -
I have got a standard QNX BSP for my target board (ARM A9) from the board vendor.I want to run the basic "hello world" binary in the board.Here are the steps i have done -
1. Build a hello world application in Momentics with target type as ARM.
2. Copied the binary to the BSP's prebuild/sbin folder
3. Modified the build script to run the binary at start up
4. Rebuild the BSP to get the BSP image
5.Started the board using the image
6.In target while it is trying to execute the binary it is showing the folliwing error -
can't start "XXXXXX" (2)
here "XXXXXXX" is the name of the binary.
Can you please help on this.
Regards
BenoyBenoy Saha(deleted)2011-11-05T05:23:18Zpost89226: Bizdrive for REALTORSCarly Pavanhttp://community.qnx.com/sf/go/post892262011-10-05T06:24:42Z2011-10-05T06:24:42ZTo Real Estate Professionals please join http://www.bizdrive.biz/ to promote your business.Carly Pavan2011-10-05T06:24:42Zpost89151: RE: Where should I go for Playbook related questions?Mario Charesthttp://community.qnx.com/sf/go/post891512011-09-29T12:58:46Z2011-09-29T12:58:46Z> -----Message d'origine-----
> De : Harry Wang [mailto:community-noreply@qnx.com]
> Envoyé : 28 septembre 2011 17:22
> À : general-bazaar
> Objet : Where should I go for Playbook related questions?
>
> I have some Playbook releated technical questions, any one know where
> should I post my questions?
>
My guess is not here, most probably on some RIM forums somewhere out there ;-)
> Thanks
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post89135
>Mario Charest2011-09-29T12:58:46Zpost89135: Where should I go for Playbook related questions?Harry Wanghttp://community.qnx.com/sf/go/post891352011-09-28T21:22:01Z2011-09-28T21:22:01ZI have some Playbook releated technical questions, any one know where should I post my questions?
ThanksHarry Wang2011-09-28T21:22:01Zpost88824: Re: RE: RE: got error while reading from COM 1shakthi bhttp://community.qnx.com/sf/go/post888242011-09-14T12:44:15Z2011-09-14T12:44:15Zhi thomas,
thank you so much for your help.. successfully got output in hyperterminal when i write something in com1 using qnx code.. but now problem is it can able to read only two characters. dont why this happened?? can you clarify my doubt..
my code is :
// qnx code
/*#include<stdio.h>
#include<unistd.h>
#include<fcntl.h>
#include<errno.h>
#include<termios.h>
#include<string.h>
#include<stdlib.h>
#include<pthread.h>
#include<time.h>
#include<signal.h>
#include<sys/time.h>
//pthread_t serial_thread1;
//int serial_temp=0,serial_temp1=0;
int WriteAdrPort(char*);
//int readadrport1(char*,int);
int readadrport(char*,int);
void CloseAdrPort();
int serial_fd=0;
struct termios serial_termios;
int main(int argc,char *argv[])
{
char serial_writemsg[100];
char serial_readmsg[100];
char serial_portname[100];
int serial_portnumber;
int serial_write;
memset((void*)&serial_writemsg,'\0',sizeof(serial_writemsg));
printf("\n enter the serial port number");
scanf("%d",&serial_portnumber);
printf("OpenAdrPort port = %d \n", serial_portnumber);
sprintf(serial_portname, "/dev/ser%d", serial_portnumber);
printf("sPortName = %s\n", serial_portname);
serial_fd = open(serial_portname, O_RDWR | O_NOCTTY | O_NDELAY);
if (serial_fd < 0)
{
printf("open error %d %s\n", errno, strerror(errno));
exit(0);
}
else
{
printf("fd is %d\n",serial_fd);
tcgetattr(serial_fd, &serial_termios);
tcflush(serial_fd, TCIFLUSH);
//serial_termios.c_cflag = B9600 | CS8 |CREAD | CLOCAL | HUPCL;
cfsetispeed(&serial_termios,B9600);
cfsetospeed(&serial_termios, B9600);
tcsetattr(serial_fd, TCSANOW, &serial_termios);
}
printf("\n enter the serial port command");
scanf("%s",serial_writemsg);
serial_write=WriteAdrPort(serial_writemsg);
if(serial_write>0)
printf("\n successfully written");
else
printf("\n error in writing");
CloseAdrPort();
}
int WriteAdrPort(char *serial_writeoutmsg)
{
int serial_out;
if (serial_fd < 1)
{
printf(" port is not open\n");
exit(0);
}
serial_out = write(serial_fd,serial_writeoutmsg, strlen(serial_writeoutmsg));
if (serial_out < 0)
{
printf("write error %d %s\n", errno, strerror(errno));
}
else
{
printf("wrote %d chars: %s\n",serial_out,serial_writeoutmsg);
}
}
void CloseAdrPort()
{
if (serial_fd > 0)
{
close(serial_fd);
}
}
*/
thanks in advance,
shakthishakthi b2011-09-14T12:44:15Zpost88823: RE: RE: got error while reading from COM 1Thomas Haupthttp://community.qnx.com/sf/go/post888232011-09-14T12:14:27Z2011-09-14T12:14:27ZHi,
regarding the baud rate: Yes, of course -- the one you specified in the termios structure and cfsetospeed(), i.e., 9600 baud. It might be a good idea to also set the input baud rate explicitly, using cfsetispeed().
From what I see in the code you provided, your COM port setting should be 9600,N,8,1 (9600 baud, no parity, 8 data bits, 1 stop bit).
You could try running a second instance of 'hyperterminal' instead of VMware, to see whether the serial communication between the two serial comm. ports on your host works at all. If it does, you can advance to using VMware with QNX on one end.
Regards,
Thomas
-----Original Message-----
From: shakthi b [mailto:community-noreply@qnx.com]
Sent: Mittwoch, 14. September 2011 13:09
To: general-bazaar
Subject: Re: RE: got error while reading from COM 1
hi thomas,
thanks for your reply..my issue not resolved yet..
i dint get output and i cant able to read through hyperterminal which is running in windows..... is there any specified baudrate we should maintain while writing the code..??
thanks in advance,
shakthi
_______________________________________________
General
http://community.qnx.com/sf/go/post88818Thomas Haupt2011-09-14T12:14:27Zpost88818: Re: RE: got error while reading from COM 1shakthi bhttp://community.qnx.com/sf/go/post888182011-09-14T11:08:41Z2011-09-14T11:08:41Zhi thomas,
thanks for your reply..my issue not resolved yet..
i dint get output and i cant able to read through hyperterminal which is running in windows..... is there any specified baudrate we should maintain while writing the code..??
thanks in advance,
shakthishakthi b2011-09-14T11:08:41Zpost88740: RE: got error while reading from COM 1Thomas Haupthttp://community.qnx.com/sf/go/post887402011-09-09T08:11:49Z2011-09-09T08:11:49ZHi,
to configure a VMware player, follow the steps below. For other VMware products, the procedure should be similar:
- Shutdown QNX within in the virtual machine
- "Power off" the virtual machine ("Virtual Machine" / "Power" / "Power off"). Do NOT exit the VMware player.
- Click "Edit virtual machine settings"
- In the list on the hardware tab, select the serial port (or add a new one with default settings if there isn't any)
- Check "Connect at power on"
- Select "Use physical serial port"
- From the combo box, select the serial port you want the VM to use
- Click "Ok" and start the virtual machine. /dev/ser1 should now be connected to the configured COM port.
Regards,
Thomas
-----Original Message-----
From: shakthi b [mailto:community-noreply@qnx.com]
Sent: Freitag, 9. September 2011 08:22
To: general-bazaar
Subject: Re: got error while reading from COM 1
hi thomas,
thanks for your reply... can you tell me how to configure the VMware to use one of the serial ports like COM1(do u mean execute my code using com1 i.e. /dev/ser1 rite) .. pls help me..
thanks in advance,
shakthi
_______________________________________________
General
http://community.qnx.com/sf/go/post88739Thomas Haupt2011-09-09T08:11:49Zpost88739: Re: got error while reading from COM 1shakthi bhttp://community.qnx.com/sf/go/post887392011-09-09T06:22:21Z2011-09-09T06:22:21Zhi thomas,
thanks for your reply... can you tell me how to configure the VMware to use one of the serial ports like COM1(do u mean execute my code using com1 i.e. /dev/ser1 rite) .. pls help me..
thanks in advance,
shakthishakthi b2011-09-09T06:22:21Zpost88715: RE: RE: got error while reading from COM 1Thomas Haupthttp://community.qnx.com/sf/go/post887152011-09-08T12:53:40Z2011-09-08T12:53:40ZWell, if you have 2 physical serial ports on your host, it's easy:
- Connect the two ports using a null-modem cable (as you probably already did)
- Configure the VM to use one of the host's physical serial ports (e.g., COM1)
No matter which one you use, it should show up as /dev/ser1 under QNX.
- Run a terminal emulation (e.g., hyperterminal) on the host, and connect to
the _other_ COM port (e.g., COM2).
With that setup, you should be able to both read and write from/to the serial
port in QNX.
Regards,
Thomas
-----Original Message-----
From: shakthi b [mailto:community-noreply@qnx.com]
Sent: Donnerstag, 8. September 2011 14:26
To: general-bazaar
Subject: Re: RE: got error while reading from COM 1
hi thomas,
thanks for your reply.. but what to do now?? i dint understand what u r referring? but now am connecting com1 and com2 using female pin connector.. now i can write it in com1 using qnx and read it from com2 using qnx.. but now also am facing same problem..... do u ve any other suggestion?? or is it possible to use hyperterminal like write it to com2 using hyperterminal , so that i can read it from com2. please say ur suggestion. am ameatur in serial port in qnx...
thanks in advance,
shakthi
_______________________________________________
General
http://community.qnx.com/sf/go/post88713Thomas Haupt2011-09-08T12:53:40Zpost88713: Re: RE: got error while reading from COM 1shakthi bhttp://community.qnx.com/sf/go/post887132011-09-08T12:25:56Z2011-09-08T12:25:56Zhi thomas,
thanks for your reply.. but what to do now?? i dint understand what u r referring? but now am connecting com1 and com2 using female pin connector.. now i can write it in com1 using qnx and read it from com2 using qnx.. but now also am facing same problem..... do u ve any other suggestion?? or is it possible to use hyperterminal like write it to com2 using hyperterminal , so that i can read it from com2. please say ur suggestion. am ameatur in serial port in qnx...
thanks in advance,
shakthishakthi b2011-09-08T12:25:56Zpost88711: RE: got error while reading from COM 1Thomas Haupthttp://community.qnx.com/sf/go/post887112011-09-08T12:04:02Z2011-09-08T12:04:02ZAh, right. That'll be the next problem. AFAIK, you'll not be able to exchange data
between the host and the virtual machine in both directions. Depending on the settings
in your VMware, you'll be using:
- either an existing (hardware) COM port of your host, then you cannot use a host
application to talk to the virtual machine (you'd need to loopback the serial
port... :-)
- or a file / pipe on the host; in that case, the VM will only be able to write to
the serial port.
If you need to test bi-directional serial communication in your VM, I think there
is only one option - use a second host and a serial cable to establish a true serial
connection, and configure your VM to attach to the physical COM port.
Regards,
Thomas
-----Original Message-----
From: shakthi b [mailto:community-noreply@qnx.com]
Sent: Donnerstag, 8. September 2011 13:43
To: general-bazaar
Subject: Re: got error while reading from COM 1
hi,
thanks for your suggestion.
yes , com 1= /dev/ser1 and com2=/dev/ser2 . you are right.
i ve checked with that too.. but dint get output..... after i ve written in COM1 and i tried to read if from COM1 but cant read.... and if i use ttyp0 onli my output that is whatever written , will be display in QNX RTOS which was running in same pc ... but if i use ser1 or ser2 , nothing will be display in QNX RTOS.. and am using same pc and same COM1(for reading and writing) and VMware running in same pc.
thanks in advance,
shakthi
_______________________________________________
General
http://community.qnx.com/sf/go/post88709Thomas Haupt2011-09-08T12:04:02Zpost88709: Re: got error while reading from COM 1shakthi bhttp://community.qnx.com/sf/go/post887092011-09-08T11:42:40Z2011-09-08T11:42:40Zhi,
thanks for your suggestion.
yes , com 1= /dev/ser1 and com2=/dev/ser2 . you are right.
i ve checked with that too.. but dint get output..... after i ve written in COM1 and i tried to read if from COM1 but cant read.... and if i use ttyp0 onli my output that is whatever written , will be display in QNX RTOS which was running in same pc ... but if i use ser1 or ser2 , nothing will be display in QNX RTOS.. and am using same pc and same COM1(for reading and writing) and VMware running in same pc.
thanks in advance,
shakthishakthi b2011-09-08T11:42:40Zpost88708: Re: got error while reading from COM 1Thomas Haupthttp://community.qnx.com/sf/go/post887082011-09-08T11:36:52Z2011-09-08T11:36:52ZHi Shakti,
...without looking much further in your code:
Try opening "/dev/ser%%d" instead of "/dev/ttyp%d". The latter is a pseudo-terminal device, whereas "ser" designates serial (=COM) ports.
Cheers,
ThomasThomas Haupt2011-09-08T11:36:52Zpost88707: got error while reading from COM 1shakthi bhttp://community.qnx.com/sf/go/post887072011-09-08T11:23:23Z2011-09-08T11:23:23ZHI,
i like to read from serial port COM1 and so that i ve opened and write it successfully . but i was unable to read from it.. and am using QNX RTOS in vmware and using QNX momentics. please help me as soon as possible.i attached my code here
//code:
/*
#include<stdio.h>
#include<unistd.h>
#include<fcntl.h>
#include<errno.h>
#include<termios.h>
#include<string.h>
#include<stdlib.h>
#include<pthread.h>
#include<time.h>
#include<signal.h>
#include<sys/time.h>
//pthread_t serial_thread1;
//int serial_temp=0,serial_temp1=0;
int WriteAdrPort(char*);
//int readadrport1(char*,int);
int readadrport(char*,int);
void CloseAdrPort();
int serial_fd=0;
struct termios serial_termios;
int main(int argc,char *argv[])
{
char serial_writemsg[100];
char serial_readmsg[100];
char serial_portname[100];
int serial_portnumber;
int serial_write;
printf("\n enter the serial port number");
scanf("%d",&serial_portnumber);
printf("OpenAdrPort port = %d \n", serial_portnumber);
sprintf(serial_portname, "/dev/ttyp%d", serial_portnumber);
printf("sPortName = %s\n", serial_portname);
serial_fd = open(serial_portname, O_RDWR | O_NOCTTY | O_NDELAY);
if (serial_fd < 0)
{
printf("open error %d %s\n", errno, strerror(errno));
exit(0);
}
else
{
printf("fd is %d\n",serial_fd);
tcgetattr(serial_fd, &serial_termios);
tcflush(serial_fd, TCIFLUSH);
serial_termios.c_cflag = B9600 | CS8 |CREAD | CLOCAL | HUPCL;
cfsetospeed(&serial_termios, B9600);
tcsetattr(serial_fd, TCSANOW, &serial_termios);
}
printf("\n enter the serial port command");
scanf("%s",serial_writemsg);
serial_write=WriteAdrPort(serial_writemsg);
if(serial_write>0)
printf("\n successfully written");
else
printf("\n error in writing");
sleep(5);
if(readadrport(serial_readmsg,100)>0)
{
printf("\n the msg got from the port is %s",serial_readmsg);
}
else
printf("\n there is nothing to read");
CloseAdrPort();
}
int WriteAdrPort(char *serial_writeoutmsg)
{
int serial_out;
if (serial_fd < 1)
{
printf(" port is not open\n");
exit(0);
}
serial_out = write(serial_fd,serial_writeoutmsg, strlen(serial_writeoutmsg));
if (serial_out < 0)
{
printf("write error %d %s\n", errno, strerror(errno));
}
else
{
printf("wrote %d chars: %s\n",serial_out,serial_writeoutmsg);
}
}
int readadrport(char *serial_readoutmsg,int imax)
{
int serial_in;
serial_in = read(serial_fd,serial_readoutmsg,imax-1);
if (serial_in< 0)
{
if (errno == EAGAIN)
{
printf("\n no response from read port");
//return 0;
}
else
{
printf("read error %d %s\n", errno, strerror(errno));
}
}
else
{
printf("read %d chars: %s\n", serial_in,serial_readoutmsg);
}
return serial_in;
}
void CloseAdrPort()
{
if (serial_fd > 0)
{
close(serial_fd);
}
}
*/
thanks in advance,
shakthishakthi b2011-09-08T11:23:23Zpost88608: Re: RE: Executable FileBryan Koehttp://community.qnx.com/sf/go/post886082011-09-01T21:45:57Z2011-09-01T21:45:57ZI transferred the file from USB with a simple move
Then I proceeded to change the permissions to allow executionBryan Koe2011-09-01T21:45:57Zpost88606: RE: Executable FileMario Charesthttp://community.qnx.com/sf/go/post886062011-09-01T21:44:29Z2011-09-01T21:44:29ZHow are you transferring the file?
-----Message d'origine-----
De : Bryan Koe [mailto:community-noreply@qnx.com]
Envoyé : 1 septembre 2011 17:46
À : general-bazaar
Objet : Executable File
Hi Everybody,
I have an executable file that I just created through a makefile structure.
When I tried to run it on QNX Neutrino 6.4.0 (QNX running on VMWare), I got the follow error:
./root/project[1]: syntax error: `^A^\^S^P4t^A^A^B^F4' unexpected
can someone please help me understand why I am obtaining this issue and how I should resolve the problem?
I have already tried running the same executable on a different QNX (version 6.5.0)
Thanks,
bkoe
_______________________________________________
General
http://community.qnx.com/sf/go/post88603Mario Charest2011-09-01T21:44:29Zpost88605: RE: Executable FileBryan Koehttp://community.qnx.com/sf/go/post886052011-09-01T21:21:21Z2011-09-01T21:21:21ZYes, the executable was built for QNX Neutrino 6.4.0 and I was still seeing the same error on QNX 6.4.0
Bryan Koe
Software Engineer - Intern
Tel: +1 714-888-4255
mailto:BKoe@fiskerautomotive.com
www.fiskerautomotive.com
NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
Please consider your environmental responsibility before printing this e-mail.
-----Original Message-----
From: Dennis Kellly [mailto:community-noreply@qnx.com]
Sent: Thursday, September 01, 2011 1:50 PM
To: general-bazaar
Subject: Re: Executable File
Are you sure the executable was built for the correct cpu target? That could be related to what you are seeing..
_______________________________________________
General
http://community.qnx.com/sf/go/post88604Bryan Koe2011-09-01T21:21:21Zpost88604: Re: Executable FileDennis Kelllyhttp://community.qnx.com/sf/go/post886042011-09-01T20:50:19Z2011-09-01T20:50:19ZAre you sure the executable was built for the correct cpu target? That could be related to what you are seeing..Dennis Kellly2011-09-01T20:50:19Zpost88603: Executable FileBryan Koehttp://community.qnx.com/sf/go/post886032011-09-01T20:46:15Z2011-09-01T20:46:15ZHi Everybody,
I have an executable file that I just created through a makefile structure.
When I tried to run it on QNX Neutrino 6.4.0 (QNX running on VMWare), I got the follow error:
./root/project[1]: syntax error: `^A^\^S^P4t^A^A^B^F4' unexpected
can someone please help me understand why I am obtaining this issue and how I should resolve the problem?
I have already tried running the same executable on a different QNX (version 6.5.0)
Thanks,
bkoeBryan Koe2011-09-01T20:46:15Zpost88548: Re: General MAKE question.Patrik Lahtihttp://community.qnx.com/sf/go/post885482011-08-31T18:47:39Z2011-08-31T18:47:39ZDid you set $QCONF_OVERRIDE?
/P
On 08/31/2011 01:33 PM, Dan Bartus wrote:
>
> I am looking at the build process and I am noticing when I do a build
> ALL my LIB files that are part of my src tree are copied into QNX650
> tools directory at
>
> C:\QNX650\target\qnx6\usr\lib
>
> Any reason WHY!?!?!
>
> ---------------------------------------------------------------------
> This transmission (including any attachments) may contain confidential
> information, privileged material (including material protected by the
> solicitor-client or other applicable privileges), or constitute
> non-public information. Any use of this information by anyone other
> than the intended recipient is prohibited. If you have received this
> transmission in error, please immediately reply to the sender and
> delete this information from your system. Use, dissemination,
> distribution, or reproduction of this transmission by unintended
> recipients is not authorized and may be unlawful.
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post88541
>Patrik Lahti2011-08-31T18:47:39Zpost88541: General MAKE question.Dan Bartushttp://community.qnx.com/sf/go/post885412011-08-31T17:33:28Z2011-08-31T17:33:28ZI am looking at the build process and I am noticing when I do a build ALL my LIB files that are part of my src tree are copied into QNX650 tools directory at
C:\QNX650\target\qnx6\usr\lib
Any reason WHY!?!?!
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.Dan Bartus2011-08-31T17:33:28Zpost85607: QKCPsanthoh kumarhttp://community.qnx.com/sf/go/post856072011-05-12T11:52:29Z2011-05-12T11:52:29ZHi, I am trying QKCP with recovery option lioke following.
qkcp -r -c 26 -f /mnt/quota/mm/cktpt -h qkcp_status /mnt/quota/mm/EntServer /fs/usb0
when I try to read progress status info from shared memory(qkcp_status) it is giving 0 bytes updated to sharted memory. i.e there is no update to shared memory.
Any one pls help.santhoh kumar2011-05-12T11:52:29Zpost84510: ntp daemn at startuparun kumarhttp://community.qnx.com/sf/go/post845102011-04-01T09:56:17Z2011-04-01T09:56:17ZHi
I wanted to add ntp daemon at startup in qnx6.5 i tried ediitng the rc.local file but didnt worked. How can make it run at system startup what is the syntax to put the code in the rc.local file.
Thanks and regardsarun kumar2011-04-01T09:56:17Zpost83002: Re: fdisk shows nonQnx partitionsDennis Kelllyhttp://community.qnx.com/sf/go/post830022011-02-08T19:50:06Z2011-02-08T19:50:06Z>>>fdisk /dev/hd0t79 show
Not correct usage. "fdisk" should be passed the base device name, not a partition name as you are doing. So...
# fdisk /dev/hd0 show
will work as expected.Dennis Kellly2011-02-08T19:50:06Zpost83000: fdisk shows nonQnx partitionsSubra aryahttp://community.qnx.com/sf/go/post830002011-02-08T18:51:08Z2011-02-08T18:51:08ZHello all ,
We had the regular install on an x86 system with type 79 file system .
df utility shows
/dev/hd0
/dev/hd0t79
when we run fidsk on /dev/hd0 it shows QNX type 79
how ever when we run fdisk as
fdisk /dev/hd0t79 show
it shows some nonQNX partitions like
OS name type ...
1. nonQnx 205 ...
2. nonQNX type 88 ..
is that normal ...
any explanation / insights into this is appreciated .
thanks
SubraSubra arya2011-02-08T18:51:08Zpost82498: Re: Is a QNX port available for ARM for libffi (portable foreign function interface library)?Ji Donghttp://community.qnx.com/sf/go/post824982011-01-20T11:58:59Z2011-01-20T11:58:59Z> Hi Adrian -
>
> It's definitely doable (although painful) to build Python 2.6.2 on ARM/SH/PPC
> for QNX (6.4.X). I've done it and have it running on an ARM platform with a
> few limitations.
>
> To help you along, I'll include my "build-hooks" file (I'm assuming you know
> how to use this) along with a little README file which provides some details
> on the changes I had to make.
>
> Good luck . . . I wish QNX (are you listening?) would support Python more
> fully on all their targets (not just x86).
>
> Glenn
>
>
Hi Glenn:
Silly question to ask, I have no idea how to use build-hooks, could you explain a bit more.
and in the read me file, indicated there are 5 new files
nto-x86-o/GNUmakefile
nto-arm-le/GNUmakefile
nto-sh-le/GNUmakefile
where I can find these?Ji Dong2011-01-20T11:58:59Zpost80741: debug audio driver using gdbJerry Vanhttp://community.qnx.com/sf/go/post807412010-12-31T09:47:17Z2010-12-31T09:47:17ZHi, guys
I built a audio device driver (spdif_audio.so) for my spdif audio card, and then used "io-audio -d spdif_audio.so" in the terminal to run the library. Since the library run in the io-audio process space, so the debugger (gdb) shuould attach to the "io-audio" process. Anybody know how to make that happened? Or give me some advice to debug th e audio card driver(.so library)?
BR
JerryJerry Van2010-12-31T09:47:17Zpost80604: Re: mmap_device_io()Thomas Haupthttp://community.qnx.com/sf/go/post806042010-12-29T10:30:32Z2010-12-29T10:30:32ZHi Jerry,
Yes, multiple processes can mmap_device_io() the same range, and all can both read and write.
- ThomasThomas Haupt2010-12-29T10:30:32Zpost80599: mmap_device_io()Jerry Vanhttp://community.qnx.com/sf/go/post805992010-12-29T07:01:46Z2010-12-29T07:01:46ZHi, guys
Can two processed both map some io space to their process space using mmap_device_io()?
If yes, are the io space can be both access(write and read) by the two porcess?
BR
JerryJerry Van2010-12-29T07:01:46Zpost72631: new Variant name for a libraryGuillaume Varlethttp://community.qnx.com/sf/go/post726312010-10-27T13:45:02Z2010-10-27T13:45:02ZHello.
I'm trying to create a new variant of a library that is accessing some HW either IO or Memory mapped.
The aim is to create a lib IO mapped that will be called library_io.so
On the IDE, I have created a new variant called io on the x86 cpu variant.
I understood that if I want to have the new variant name appening at the end of the library name, I have th comment EXTRA_SILENT_VARIANTS+=io
Then when I build my variant io, the name is library-io.so
That's not so bad, but the library HAVE TO be named library_io.so.
Any chance to exchange the - by an _ ?Guillaume Varlet2010-10-27T13:45:02Zpost57255: Browser fileWaldemar KKhttp://community.qnx.com/sf/go/post572552010-06-20T11:23:50Z2010-06-20T11:23:50ZFirst I would like thank you for recently answer.
I have question, there is any widgets to choose file ? further path this file ? if isn't how can I get actually path my project in code ?
For example like below create this post choose attachment button.Waldemar KK2010-06-20T11:23:50Zpost56710: RE: convert char to intMax Feilhttp://community.qnx.com/sf/go/post567102010-06-12T22:25:22Z2010-06-12T22:25:22ZTo convert a C character string to a number, look at C library functions
atoi or strtol.
-----Original Message-----
From: Waldemar KK [mailto:community-noreply@qnx.com]
Sent: Saturday, June 12, 2010 6:17 PM
To: general-bazaar
Subject: convert char to int
Hi, I have very basic question how can I convert char to int ? a get
value from PtText and I want convert char to int.
I get this way.
char *textp;
PtArg_t arg[1];
PtSetArg( &arg[0], Pt_ARG_TEXT_STRING, &textp, 0 );
PtGetResources( ABW_PtText1, 1, arg );
Thanks for any replay.
_______________________________________________
General
http://community.qnx.com/sf/go/post56709Max Feil2010-06-12T22:25:22Zpost56709: convert char to intWaldemar KKhttp://community.qnx.com/sf/go/post567092010-06-12T22:16:37Z2010-06-12T22:16:37ZHi, I have very basic question how can I convert char to int ? a get value from PtText and I want convert char to int.
I get this way.
char *textp;
PtArg_t arg[1];
PtSetArg( &arg[0], Pt_ARG_TEXT_STRING, &textp, 0 );
PtGetResources( ABW_PtText1, 1, arg );
Thanks for any replay.Waldemar KK2010-06-12T22:16:37Zpost56337: Re: SRR message passing module based on ZMQArmin Steinhoffhttp://community.qnx.com/sf/go/post563372010-06-08T19:08:03Z2010-06-08T19:08:03Z> I have identified three issues regarding native build of zeromq-2.0.7 under
> QNX6.4.1:
>
> 1) I had to remove "crtbegin.o, -lc, -lcS, ..." stuff from the created libtool
> file
> (this seems the same issue as reported on zmq mailing list about mixed g++/QCC
> linkage)
Seems not to be necessary if you compile with qcc/QCC
> 2) -lcrypto link flag has to be added to perf/Makefile and devices/*/Makefile
OK
> 3) poll() seems not to work. addind "#define ZMQ_FORCE_SELECT 1" to plattform.
> hpp,
> as suggested on the zmq mailing list does not help for me
It works for me ... this macro must be defined before the first compilation.
I could send you a complete Archive of a working version 2.0.7 .... send a mail to
armin at steinhoff dot de
--ArminArmin Steinhoff2010-06-08T19:08:03Zpost56294: Re: SRR message passing module based on ZMQArmin Steinhoffhttp://community.qnx.com/sf/go/post562942010-06-08T15:07:18Z2010-06-08T15:07:18ZJust to make it clear ... these porting steps are OK with the previuos release of ZMQ.
The compilation of the module ctx.cpp of the version 2.0.7 terminates with a cryptic error ... it's a new module and must still be ported.
--Armin
> Piotr Trojanek wrote:
> > Yes,
> >
> > there is interest in ZMQ for QNX in my robotics team. I have seen your posts
> on the zeromq-dev mailing list...
> >
> > At the moment I am trying to make a pkgsrc build of ZMQ, but there are some
> minor linking issues...
> >
> > Best regards,
> >
> Here are my porting steps:
>
> - configure command for C bindings: "CC=qcc CXX=QCC configure --with-c --with
> -perf"
>
> - add to platform.hpp:
>
> #define rpl_malloc malloc
> #define ZMQ_FORCE_SELECT 1 // polling doesn't work
>
> - modify the LIBS specification of the Makefile located in perf to
> "LIBS = -lcpp -lcxa -lssl -lsocket"
>
> if you link the latency apps with qcc
>
> --Armin
>
>
>Armin Steinhoff2010-06-08T15:07:18Zpost56289: Re: SRR message passing module based on ZMQArmin Steinhoffhttp://community.qnx.com/sf/go/post562892010-06-08T14:22:13Z2010-06-08T14:22:13ZPiotr Trojanek wrote:
> Yes,
>
> there is interest in ZMQ for QNX in my robotics team. I have seen your posts on the zeromq-dev mailing list...
>
> At the moment I am trying to make a pkgsrc build of ZMQ, but there are some minor linking issues...
>
> Best regards,
>
Here are my porting steps:
- configure command for C bindings: "CC=qcc CXX=QCC configure --with-c --with-perf"
- add to platform.hpp:
#define rpl_malloc malloc
#define ZMQ_FORCE_SELECT 1 // polling doesn't work
- modify the LIBS specification of the Makefile located in perf to
"LIBS = -lcpp -lcxa -lssl -lsocket"
if you link the latency apps with qcc
--ArminArmin Steinhoff2010-06-08T14:22:13Zpost56275: Re: SRR message passing module based on ZMQPiotr Trojanek(deleted)http://community.qnx.com/sf/go/post562752010-06-08T13:48:57Z2010-06-08T13:48:57ZI have identified three issues regarding native build of zeromq-2.0.7 under QNX6.4.1:
1) I had to remove "crtbegin.o, -lc, -lcS, ..." stuff from the created libtool file
(this seems the same issue as reported on zmq mailing list about mixed g++/QCC linkage)
2) -lcrypto link flag has to be added to perf/Makefile and devices/*/Makefile
3) poll() seems not to work. addind "#define ZMQ_FORCE_SELECT 1" to plattform.hpp,
as suggested on the zmq mailing list does not help for me
# ./local_lat tcp://192.168.2.104:5555 1 1
Assertion failed: !(it->revents & POLLNVAL) (poll.cpp:171)
Abort (core dumped)
While (1) and (2) seems to be easy to fix in autoconf/automake I do not have idea for the (3).Piotr Trojanek(deleted)2010-06-08T13:48:57Zpost56263: Re: SRR message passing module based on ZMQPiotr Trojanek(deleted)http://community.qnx.com/sf/go/post562632010-06-08T12:54:41Z2010-06-08T12:54:41ZYes,
there is interest in ZMQ for QNX in my robotics team. I have seen your posts on the zeromq-dev mailing list...
At the moment I am trying to make a pkgsrc build of ZMQ, but there are some minor linking issues...
Best regards,Piotr Trojanek(deleted)2010-06-08T12:54:41Zpost56106: Russian Language TranslationKrishna Mothe(deleted)http://community.qnx.com/sf/go/post561062010-06-04T23:31:36Z2010-06-04T23:31:36ZHello,
Does the QNX 6.3.0 support the runnsain language? Does it need any special add-on to support russina langaue?
Regards,
KrishKrishna Mothe(deleted)2010-06-04T23:31:36Zpost55991: Re: PtSetArg & charWaldemar KKhttp://community.qnx.com/sf/go/post559912010-06-03T13:43:25Z2010-06-03T13:43:25ZThanks you for your reply.
Ok it's work but not quite.
I create thread with function which change value(bytes) pgmData for 1 second.
pgmData value = 1000
next = 0100
next = 0010
and so on ...
And i write my function which should display current value:
void *displayValue(void *arg){
args[0];
char buf[50];
while(true){
PtSet(&args[0],Pt_ARG_TEXT_STRING,buf,0);
PtSetResources(pole,1,args);
sleep(1);
}
}
pthread_create(NULL,NULL,displayValue);
It works but set only one values and next i get error "Memory fault (core dumped)"
What is wrong ? . I should run "displayValue" in new thread or maybe invoke in "main" ??Waldemar KK2010-06-03T13:43:25Zpost55984: Re: PtSetArg & charThomas Haupthttp://community.qnx.com/sf/go/post559842010-06-03T11:48:38Z2010-06-03T11:48:38ZHi,
use sprintf():
char pgmData, buf[50];
sprintf( buf, "pgmData = %d %d %d %d", pgmDatap[0], pgmDatap[1],
pgmDatap[2], pgmDatap[3] );
PtSetResource( pole, Pt_ARG_TEXT_STRING, buf, 0 );
- ThomasThomas Haupt2010-06-03T11:48:38Zpost55982: PtSetArg & charWaldemar KKhttp://community.qnx.com/sf/go/post559822010-06-03T11:38:42Z2010-06-03T11:38:42ZHi How Can I display one byte variable type char in PtText ?
char pgmData;
printf("pgmData = %d %d %d %d",pgmDatap[0],pgmDatap[1],pgmDatap[2],pgmDatap[3]);
display in console: pgmData = 0 1 0 1 ; // and it is correct
and now how can I set one byte in PtText ?
PtSetArg(&arg[0],Pt_ARG_TEXT_STRING,pgmData[0],0); //doesn;t work :/
PtSetResources(pole,1,arg);Waldemar KK2010-06-03T11:38:42Zpost53759: Re: I can't to checkout source codePatrik Lahtihttp://community.qnx.com/sf/go/post537592010-05-07T13:43:46Z2010-05-07T13:43:46ZProbably this:
http://community.qnx.com/sf/wiki/do/viewPage/projects.community/wiki/UpdatedQNXSourceAccessPolicyFAQ
/P
On 07/05/10 09:32 AM, Oleg Gopov wrote:
> Hello friends.
>
> What wrong. I can to connect to svn server by http://community.qnx.com/svn/repos/coreos_pub/trunk
>
> I input my login(that i registred in qnx.com) and my password, but unsuccessfully.
>
>
> I can't to get source code. What wrong???????
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post53757
>
>Patrik Lahti2010-05-07T13:43:46Zpost53757: I can't to checkout source codeOleg Gopov(deleted)http://community.qnx.com/sf/go/post537572010-05-07T13:32:13Z2010-05-07T13:32:13ZHello friends.
What wrong. I can to connect to svn server by http://community.qnx.com/svn/repos/coreos_pub/trunk
I input my login(that i registred in qnx.com) and my password, but unsuccessfully.
I can't to get source code. What wrong???????Oleg Gopov(deleted)2010-05-07T13:32:13Zpost52759: RE: How to connect to inn.qnx.comSteve Reidhttp://community.qnx.com/sf/go/post527592010-04-26T13:30:18Z2010-04-26T13:30:18ZThe newsgroups have been replaced by forums on Foundry27:
http://www.qnx.com/community/forums.html
Steve Reid (stever@qnx.com)
Technical Editor
QNX Software Systems
> -----Original Message-----
> From: Javier Lasa [mailto:community-noreply@qnx.com]
> Sent: Sunday, April 25, 2010 5:04 PM
> To: general-bazaar
> Subject: How to connect to inn.qnx.com
>
> I used inn.qnx.com news server to access some newsgroups some
> months ago from my email client (thunderbird). Then I didn´t
> use it but now I want to access again but my email client
> asks me username and password and when I introduce them it
> asks me again the password. ¿ Is this news server working well ?
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post52685
>Steve Reid2010-04-26T13:30:18Zpost52685: How to connect to inn.qnx.comJavier Lasa(deleted)http://community.qnx.com/sf/go/post526852010-04-25T21:03:41Z2010-04-25T21:03:41ZI used inn.qnx.com news server to access some newsgroups some months ago from my email client (thunderbird). Then I didn´t use it but now I want to access again but my email client asks me username and password and when I introduce them it asks me again the password. ¿ Is this news server working well ?Javier Lasa(deleted)2010-04-25T21:03:41Zpost51524: Re: QNX drivers source...how to?sankarraj saravananhttp://community.qnx.com/sf/go/post515242010-04-13T09:43:41Z2010-04-13T09:43:41ZThe driver is for USBsankarraj saravanan2010-04-13T09:43:41Zpost51523: QNX drivers source...how to?sankarraj saravananhttp://community.qnx.com/sf/go/post515232010-04-13T09:42:51Z2010-04-13T09:42:51ZDear all,
I would like to know how we can get the QNX driver source code-host controller driver, class drivers. Could you please give the link? Is this possible?
For QNX 6.3.2
Regards,
Sankarsankarraj saravanan2010-04-13T09:42:51Zpost49705: Re: f32qldr stops after 'Transfer Control...'Freddy Martens(deleted)http://community.qnx.com/sf/go/post497052010-03-17T09:32:06Z2010-03-17T09:32:06ZSOLVED.
The boot script given in project.bld (<bootscript type="mkifs" inline="false">) did not match the one given in the boot image properties. The warning dialog did show an error about a file that could not be found at an absolute position. Resolving this warning caused a update of project.bld. The update also caused an update of the <bootscript type="mkifs" inline="false"> element. It held the correct file after the update.
Is there a way to get warnings shown when building the bootimage. It appears that it is using the file present in project.bld and not the file shown in the properties of the System Builder bootimage.
FreddyFreddy Martens(deleted)2010-03-17T09:32:06Zpost49701: Re: f32qldr stops after 'Transfer Control...'Freddy Martens(deleted)http://community.qnx.com/sf/go/post497012010-03-17T08:30:06Z2010-03-17T08:30:06ZHi Dennis,
Here is the 'failing' System builder project.
FreddyFreddy Martens(deleted)2010-03-17T08:30:06Zpost49698: Re: f32qldr stops after 'Transfer Control...'Freddy Martens(deleted)http://community.qnx.com/sf/go/post496982010-03-17T08:12:51Z2010-03-17T08:12:51ZHi Dennis,
Here are my findings:
1) Your suggestion did not work also. A line and a half of dots and then nothing.
2) q32qldr v1.01 or v1.00 have the same result
3) It all happens with a bootimage of 1596604 bytes
4) Using q32ldr v1.00 or v1.01with a bootimage of 1793144 bytes results in a normal boot.
Regards,
FreddyFreddy Martens(deleted)2010-03-17T08:12:51Zpost49551: Re: f32qldr stops after 'Transfer Control...'Dennis Kelllyhttp://community.qnx.com/sf/go/post495512010-03-15T22:32:35Z2010-03-15T22:32:35ZDoes the .ifs image boot if you use a qnx4 filesystem? (Sorry, have to check.) You can use the attached utils to make the qnx4 usbkey from windows. (Read usbstick.txt)
Looks like your are using version 1.01 since the ###'s end in '.' Not aware of any other issues if the .ifs boots on qnx4 filesystem.Dennis Kellly2010-03-15T22:32:35Zpost49546: f32qldr stops after 'Transfer Control...'Freddy Martens(deleted)http://community.qnx.com/sf/go/post495462010-03-15T22:05:44Z2010-03-15T22:05:44ZHi all,
I created a boot image with the system image builder. Named it boot.ifs and copied it to an USB stick prepared with DriveKey.
The following is shown on screen:
f32qldr Version 1.00 (but 1.01 too)
Filename /BOOT.IFS
#############################################.
Image read to address 0x00110000
Transfer control...
Is there something special I need to do with the boot image? The bootimage size is 1.592.236 bytes and 1.593.344 bytes on disk.
Regards,
FreddyFreddy Martens(deleted)2010-03-15T22:05:44Zpost49321: QNX on Twitter, YouTube, and Facebook?Arystor Limitedhttp://community.qnx.com/sf/go/post493212010-03-11T20:42:59Z2010-03-11T20:42:59Zadios 3 Amigos!
does QNX have a presence on Twitter, YouTube, and Facebook? usually Tech Corps(es) use Facebook, not MySpace. YouTube is an excellent source of educational videos.
QNX Quickstart (English) Part [1-3] of 3
http://www.youtube.com/watch?v=NSvUtstYjDs
http://www.youtube.com/watch?v=ii32q7HqmnA&feature=related
http://www.youtube.com/watch?v=Zo7nxZ7ECls
please subscribe to our YouTube channel.
Arystor Limited on YouTube
http://www.youtube.com/user/arystorltd
vaya con dios!
Aaron
--
{
DEVELOPMENT & SMALL ANIMAL HABITAT : Hedgehogs
RTÉ Radio One, Mooney Goes Wild, School Watch
http://www.rte.ie/radio/mooneygoeswild/schoolwatch/hedgehog.html
Hedgehog Erinaceus europaeus
http://www.npws.ie/en/Biodiversity/Ireland/Mammals/Hedgehog/
NDP EU Structural Funds http://www.ndp.ie/viewdoc.asp?CatID=1&DocID=-1
}Arystor Limited2010-03-11T20:42:59Zpost48971: SRR message passing module based on ZMQArmin Steinhoffhttp://community.qnx.com/sf/go/post489712010-03-07T12:39:31Z2010-03-07T12:39:31ZHi,
I have developed a SRR library based on ZMQ (http://www,zmq.org) .
It allows to communicate by SRR from a QNX6.4 box with LINUX, Solaris and Windows machines.
Any interest ??
--ArminArmin Steinhoff2010-03-07T12:39:31Zpost46761: Re: Linker Error while building the Neutrino OS/Kernel Sourcelogeswaran Thttp://community.qnx.com/sf/go/post467612010-02-08T12:41:28Z2010-02-08T12:41:28ZHi Neil Schellenberger,
Thanks for your inputs. It is working fine.
Regards,
Logeshlogeswaran T2010-02-08T12:41:28Zpost46685: Re: Linker Error while building the Neutrino OS/Kernel SourceNeil Schellenberger(deleted)http://community.qnx.com/sf/go/post466852010-02-05T15:59:14Z2010-02-05T15:59:14ZIf you only need a custom version of utils/s/shutdown, you can probably
get away with building only that rather than the whole system:
make OSLIST=nto CPULIST=x86 install -C utils/s/shutdownNeil Schellenberger(deleted)2010-02-05T15:59:14Zpost46662: Linker Error while building the Neutrino OS/Kernel Sourcelogeswaran Thttp://community.qnx.com/sf/go/post466622010-02-05T14:21:06Z2010-02-05T14:21:06ZHi,
We modified the shutdown utility of kernel source, to display our own customized shutdown message.
We followed the instruction given in the http://community.qnx.com/sf/wiki/do/viewPage/projects.core_os/wiki/BuildTheOSSource
Steps followed to build,
1. Created a staging directory for installed binaries and headers to go
% cd /home/kernel
% mkdir stage
2. Configured the override makefile stub % cd /home/kernel
% cat >qconf-override.mk
USE_INSTALL_ROOT=1
INSTALL_ROOT_nto=/home/kernel/stage
^D
3. Set the override environment variable to point at the makefile stub
% export QCONF_OVERRIDE=/home/kernel/qconf-override.mk
4. Installed all the Header Files in the local stage
% cd /home/kernel/trunk
% make OSLIST=nto CPULIST=x86 hinstall
5. Built the Neutrino OS binaries
% cd /home/kernel/trunk
% make OSLIST=nto CPULIST=x86 install
But the build stopped with some linker errors as mentioned below.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/home
/kernel/trunk/lib/ncurses/form/nto/x86/a -L /home/kernel/trunk/lib/ncurses/panel/nto/x86/a -L /h
ome/kernel/trunk/lib/ncurses/menu/nto/x86/a -L /home/kernel/trunk/lib/ncurses/ncurses++/nto/x86/
a -L /home/kernel/stage/x86/lib -L /home/kernel/stage/x86/usr/lib -L /usr/qnx641/target/qnx6/x86
/lib -L /usr/qnx641/target/qnx6/x86/usr/lib -Wl,--rpath-link . -Wl,--rpath-link /home/kernel/tr
unk/lib/ncurses/ncurses/nto/x86/a -Wl,--rpath-link /home/kernel/trunk/lib/ncurses/form/nto/x86/a
-Wl,--rpath-link /home/kernel/trunk/lib/ncurses/panel/nto/x86/a -Wl,--rpath-link /home/kernel/t
runk/lib/ncurses/menu/nto/x86/a -Wl,--rpath-link /home/kernel/trunk/lib/ncurses/ncurses++/nto/x8
6/a -Wl,--rpath-link /home/kernel/stage/x86/lib -Wl,--rpath-link /home/kernel/stage/x86/usr/lib
-Wl,--rpath-link /usr/qnx641/target/qnx6/x86/lib -Wl,--rpath-link /usr/qnx641/target/qnx6/x86/us
r/lib -lncurses
/home/kernel/stage/x86/lib/libc.so: undefined reference to `SIGSTACK_CONTEXT'
/home/kernel/stage/x86/lib/libc.so: undefined reference to `SIGSTACK_HANDLER'
/home/kernel/stage/x86/lib/libc.so: undefined reference to `REG_EDI'
/home/kernel/stage/x86/lib/libc.so: undefined reference to `REG_ESI'
/home/kernel/stage/x86/lib/libc.so: undefined reference to `REG_EDX'
/home/kernel/stage/x86/lib/libc.so: undefined reference to `SIGSTACK_SIGNO'
/home/kernel/stage/x86/lib/libc.so: undefined reference to `KER_SIGNAL_RETURN'
/home/kernel/stage/x86/lib/libc.so: undefined reference to `REG_EBP'
/home/kernel/stage/x86/lib/libc.so: undefined reference to `UCONTEXT_CPU'
/home/kernel/stage/x86/lib/libc.so: undefined reference to `REG_ECX'
/home/kernel/stage/x86/lib/libc.so: undefined reference to `REG_EIP'
/home/kernel/stage/x86/lib/libc.so: undefined reference to `REG_EBX'
/home/kernel/stage/x86/lib/libc.so: undefined reference to `REG_ESP'
cc: /usr/qnx641/host/qnx6/x86/usr/bin/ntox86-ld error 1
make[7]: *** [/home/kernel/trunk/lib/ncurses/progs/clear/nto/x86/o/clear] Error 1
make[7]: Leaving directory `/home/kernel/trunk/lib/ncurses/progs/clear/nto/x86/o'
make[6]: *** [install] Error 2
make[6]: Leaving directory `/home/kernel/trunk/lib/ncurses/progs/clear/nto/x86'
make[5]: *** [install] Error 2
make[5]: Leaving directory `/home/kernel/trunk/lib/ncurses/progs/clear/nto'
make[4]: *** [install] Error 2
make[4]: Leaving directory `/home/kernel/trunk/lib/ncurses/progs/clear'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/home/kernel/trunk/lib/ncurses/progs'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/kernel/trunk/lib/ncurses'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/kernel/trunk/lib'
make: *** [install] Error 2
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Please suggest us to resolve this linker error.
Thanks in Advance,
Logeshlogeswaran T2010-02-05T14:21:06Zpost46188: Re: TIPC SupportArmin Steinhoffhttp://community.qnx.com/sf/go/post461882010-01-29T11:02:53Z2010-01-29T11:02:53ZIf you don't need support of clusters, forget TIPC and use this:
http://www.zeromq.org/start
It's now incuded in DACHSview-SDL
--Armin
> > It seems it is supported now: http://www.qnx.com/news/pr_3775_1.html
>
> AFAIK ... this press release seems to be an additional self imploding
> marketing bubble :)
>
> --Armin
>
>
>
>
>
>Armin Steinhoff2010-01-29T11:02:53Zpost46000: Re: f32qldr errorDennis Kelllyhttp://community.qnx.com/sf/go/post460002010-01-27T02:19:40Z2010-01-27T02:19:40ZIf the original f32qldr terminates with the error <entire program not loaded!>, try the attached binary (version 1.01). Phoenix bios seems to return an error indicator when end- of-file is reached, causing the original to abort. This version ignores the errorcode (assumes success) on the final read.Dennis Kellly2010-01-27T02:19:40Zpost45477: format of the xml data received by hmi-server from hmi-clientshi huaronghttp://community.qnx.com/sf/go/post454772010-01-19T14:31:23Z2010-01-19T14:31:23Zhello everyone:
I try to analysis the xml packget received by hmi-server from hmi-client.
but i couldn't get it .Is there anyone know the xml data format,or the way to get the xml data at the hmi-server,please help me,Thank you!shi huarong2010-01-19T14:31:23Zpost45460: Re: f32qldr errorDennis Kelllyhttp://community.qnx.com/sf/go/post454602010-01-19T13:07:28Z2010-01-19T13:07:28ZThere was lots of direct email regarding this failure case. This post is a summary of the outcome.
Turns out that BIOS returned error (CF on) for the very last cluster read. The last cluster was partial - meaning a portion of the requested 8 sectors was outside the file as specified by the directory entry. A version of f32qldr with line 567 changed from "JNC" to "JMP" loaded the .ifs correctly.
It is illogical that BIOS would know anything about the workings of a particular filesystem but that seems to be the case. Likely work-around is to pad boot.ifs to the next cluster boundary so there is no slack area.
The BIOSs with this reported issue are...
Kontron Board: Phoenix Bios R127 (MODBR127)
FujitsuSiemens Laptop: Phoenix TrustedCore Bios 1.17
Samsung Netbook: Phoenix 07D0
DennisDennis Kellly2010-01-19T13:07:28Zpost45275: Re: f32qldr errorMatthias Walter(deleted)http://community.qnx.com/sf/go/post452752010-01-15T06:27:24Z2010-01-15T06:27:24ZI've tried now three different USb-Sticks on two different PC - always the same - it don't work. Or is the IFS corrupt but on a Cf-Card with a QNX Base Install it works fine.Matthias Walter(deleted)2010-01-15T06:27:24Zpost45236: Re: f32qldr errorDennis Kelllyhttp://community.qnx.com/sf/go/post452362010-01-14T14:34:30Z2010-01-14T14:34:30Zint 13h, function 42h returned carryflag set - read error. Could be due to asking for a non-existent sector. Line 493 in source.Dennis Kellly2010-01-14T14:34:30Zpost45235: Re: f32qldr errorMatthias Walter(deleted)http://community.qnx.com/sf/go/post452352010-01-14T14:15:38Z2010-01-14T14:15:38ZYes, I have tried it with another USB-Stick. Whats happen when this error is appear?Matthias Walter(deleted)2010-01-14T14:15:38Zpost45234: Re: f32qldr errorDennis Kelllyhttp://community.qnx.com/sf/go/post452342010-01-14T14:12:50Z2010-01-14T14:12:50ZHave you tried a different usb stick? Sorry, I don't have any more suggestions, but others have used it successfully.Dennis Kellly2010-01-14T14:12:50Zpost45233: Re: f32qldr errorMatthias Walter(deleted)http://community.qnx.com/sf/go/post452332010-01-14T14:06:35Z2010-01-14T14:06:35ZI've tried this descriped in usbstick.txt. Same error - only change: the QNX Bootloader was installed.
[code]
D:\develop_tools\qnx\qnx_fat32_tools\new_f32utils>f32fdisk.exe -c \\.\PhysicalDr
ive1
f32fdisk
Continuing will delete all data on the device.
Are you sure [Y|N]? y
Partitioning \\.\PhysicalDrive1 for a single FAT32 partition
Partition offset 63, partition length 8287169...
Partitioning complete
D:\develop_tools\qnx\qnx_fat32_tools\new_f32utils>f32fmt -c \\.\PhysicalDrive1
f32fmt
Continuing will delete all data in the partition!
Are you sure [Y|N]? y
FAT32 formatting \\.\PhysicalDrive1 at lba 63 for lba len 8287169...
Created volume file \\.\PhysicalDrive1 with serial number 0x95c11bfe
[/code]Matthias Walter(deleted)2010-01-14T14:06:35Zpost45228: Re: f32qldr errorDennis Kelllyhttp://community.qnx.com/sf/go/post452282010-01-14T13:25:43Z2010-01-14T13:25:43ZYes, it starts loading the ifs but there seems to be a problem traversing the FAT32 list. Try the attached utilities which integrate f32qldr with a fat32 formatter.Dennis Kellly2010-01-14T13:25:43Zpost45226: f32qldr errorMatthias Walter(deleted)http://community.qnx.com/sf/go/post452262010-01-14T13:19:09Z2010-01-14T13:19:09ZHi everybody,
today I tried to use 'f32qldr' with a USB-Stick. I do everthing write in readme.txt. When I star from the USB-Stick this will be shown:
f32qldr Version 1.00
Filename /BOOT.IFS
###### (<- I think this is loading the IFS ?)
entire program not loaded!
<press any key to reboot>
Hmm, what is wrong? If tried own build IFS and the QNX Base IFS, some problem - any idea ?
ThanksMatthias Walter(deleted)2010-01-14T13:19:09Zpost42681: Re: Need help in english translation of documentation of QNX4-based open source projectAndrei Goussevhttp://community.qnx.com/sf/go/post426812009-11-26T16:32:53Z2009-11-26T16:32:53ZI 've got one response. So the issue is temporaly closed.
Thank youAndrei Goussev2009-11-26T16:32:53Zpost42642: Need help in english translation of documentation of QNX4-based open source projectAndrei Goussevhttp://community.qnx.com/sf/go/post426422009-11-26T13:53:07Z2009-11-26T13:53:07ZProject I am talking about is Make-Effect for QNX4.
Project is distributed under GPL and is published on SourceForge.net - http://sourceforge.net/projects/make-effect
I've made unprofessional translation of documentation on english - http://make-effect.sourceforge.net/make-effect_en/
I want to ask any natively english-spoken man to fix my spelling mistakes. It's possible to estimate amount of work using the url given above.
Contact me by andrey-gusev@users.sourceforge.net
Thank you,
AndreyAndrei Goussev2009-11-26T13:53:07Zpost41580: Re: TIPC SupportArmin Steinhoffhttp://community.qnx.com/sf/go/post415802009-11-07T10:48:31Z2009-11-07T10:48:31Z> It seems it is supported now: http://www.qnx.com/news/pr_3775_1.html
AFAIK ... this press release seems to be an additional self imploding marketing bubble :)
--ArminArmin Steinhoff2009-11-07T10:48:31Zpost41467: Re: TIPC SupportRodrigo Camposhttp://community.qnx.com/sf/go/post414672009-11-05T22:17:44Z2009-11-05T22:17:44ZIt seems it is supported now: http://www.qnx.com/news/pr_3775_1.htmlRodrigo Campos2009-11-05T22:17:44Zpost41199: Problem printing with lpd and serial portJosé Miguel del Torohttp://community.qnx.com/sf/go/post411992009-11-03T08:23:40Z2009-11-03T08:23:40ZHi all,
I want to print to a printer connected to the serial port. So this is how I set up the /etc/printcap file:
imp1:\
:lp=/dev/ser1:sd=/usr/spool/output/imp1:
But when I print with:
lpr -Pimp1 filetoprint
File gets spooled, but the settings of the serial port change! -Like parity checking gets set to "odd", and baud rate to "13" (!). Even if I change the printcap file to look like this:
imp1:\
:lp=/dev/ser1:br#9600:sd=/usr/spool/output/imp1:
Lpd keeps leaving /dev/ser1 in bad state. The spooled fiel print when I change the settings of the serial port correctly with:
stty baud=9600 par=none < /dev/ser1
Any clues on why is this happening? How to fix it?
Thank you!
JoseJosé Miguel del Toro2009-11-03T08:23:40Zpost39105: Re: Serial Debugshashidhar H Ghttp://community.qnx.com/sf/go/post391052009-09-30T16:29:14Z2009-09-30T16:29:14ZDear Colin,
Thanks for mail, issue was solved.
--Thanks & Regards,
Shashidhar.H.G
On Wed, Sep 30, 2009 at 6:37 PM, Colin Burgess <community-noreply@qnx.com>wrote:
> Hi there Shashidhar,
>
> I doubt that anyone in the tools team reads this group - I would repost in
> the IDE forum.
>
> Cheers,
>
> Colin
>
> shashidhar H G wrote:
> > Hello,
> >
> > Am trying for serial debugging on a Windows host(IDE) to a self host x86
> machine.
> > am using the null modem (Crossed Cable) and its RS-232. i am able to
> exchange data through serial port,
> > but debugging is not happening from windows based QNX IDE to self host
> QNX machine using serial.
> > for this on windows am setting COM1 and on self host am setting /dev/ser1
> using pdebug, but still am getting error and could
> > not proceed further.
> >
> > Am getting the following error.
> > "Failed Launching Serial Debugger
> > Error initializing: Target is not responding (timed out)"
> >
> > please help me out in resolving this.
> >
> >
> > Thanks & Regards,
> > Shashidhar.H.G
> >
> >
> >
> >
> > _______________________________________________
> >
> > General
> > http://community.qnx.com/sf/go/post39032
> >
>
> --
> cburgess@qnx.com
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post39061
>
>
--
With Regards,
Shashidhar.H.Gshashidhar H G2009-09-30T16:29:14Zpost39061: Re: Serial DebugColin Burgess(deleted)http://community.qnx.com/sf/go/post390612009-09-30T13:07:47Z2009-09-30T13:07:47ZHi there Shashidhar,
I doubt that anyone in the tools team reads this group - I would repost in the IDE forum.
Cheers,
Colin
shashidhar H G wrote:
> Hello,
>
> Am trying for serial debugging on a Windows host(IDE) to a self host x86 machine.
> am using the null modem (Crossed Cable) and its RS-232. i am able to exchange data through serial port,
> but debugging is not happening from windows based QNX IDE to self host QNX machine using serial.
> for this on windows am setting COM1 and on self host am setting /dev/ser1 using pdebug, but still am getting error and could
> not proceed further.
>
> Am getting the following error.
> "Failed Launching Serial Debugger
> Error initializing: Target is not responding (timed out)"
>
> please help me out in resolving this.
>
>
> Thanks & Regards,
> Shashidhar.H.G
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post39032
>
--
cburgess@qnx.comColin Burgess(deleted)2009-09-30T13:07:47Zpost39032: Serial Debugshashidhar H Ghttp://community.qnx.com/sf/go/post390322009-09-30T04:37:14Z2009-09-30T04:37:14ZHello,
Am trying for serial debugging on a Windows host(IDE) to a self host x86 machine.
am using the null modem (Crossed Cable) and its RS-232. i am able to exchange data through serial port,
but debugging is not happening from windows based QNX IDE to self host QNX machine using serial.
for this on windows am setting COM1 and on self host am setting /dev/ser1 using pdebug, but still am getting error and could
not proceed further.
Am getting the following error.
"Failed Launching Serial Debugger
Error initializing: Target is not responding (timed out)"
please help me out in resolving this.
Thanks & Regards,
Shashidhar.H.Gshashidhar H G2009-09-30T04:37:14Zpost38836: State MachineSridhar Ramachandrahttp://community.qnx.com/sf/go/post388362009-09-26T11:19:30Z2009-09-26T11:19:30ZHi,
We are using MSM Boost State machine in our QNX project. We found that the executable is very big. So we are looking to change the MSM State machine , is there any similar state machine we can use ?. Please do suggest.!
regards
sridharSridhar Ramachandra2009-09-26T11:19:30Zpost38635: RE: QNX Boost MSMMario Charesthttp://community.qnx.com/sf/go/post386352009-09-24T12:44:44Z2009-09-24T12:44:44Z> -----Original Message-----
> From: Manikandan Somasundaram [mailto:community-noreply@qnx.com]
> Sent: Wednesday, September 23, 2009 11:43 PM
> To: general-bazaar
> Subject: QNX Boost MSM
>
> Hi,
>
> I am a newbie with QNX and Boost!
>
> I am using msm (Meta State Machine) with boost 1_38_0. I use boost
> headers in project include in IDE. but it takes longer compilation and
> the size of the object file is huge.
Welcome to boost. That is the main reason why I`m not using it. Executable become HUGE! I don`t know about MSM but in general boost is mostly made of template which is why the compile time is so long. It wouldn`t help much to create a library.
> > Since we utilize only the msm library feature in boost, is there any
> way to build msm alone as a library which we link while building??
It wouldn`t make any difference in executable size (unless you create a shared library)
>
> I heard about bjam for building boost libraries. but is it possible to
> build particular library alone with bjam?
>
> Do you have any other suggestions on other msm's available as build
> libraries (not as precompiled headers)
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post38607
>Mario Charest2009-09-24T12:44:44Zpost38608: Re: StartupManikandan Somasundaramhttp://community.qnx.com/sf/go/post386082009-09-24T03:43:42Z2009-09-24T03:43:42ZYou can add in the sysinit.
/etc/system/sysint
add qconn& as the last line.Manikandan Somasundaram2009-09-24T03:43:42Zpost38607: QNX Boost MSMManikandan Somasundaramhttp://community.qnx.com/sf/go/post386072009-09-24T03:42:33Z2009-09-24T03:42:33ZHi,
I am a newbie with QNX and Boost!
I am using msm (Meta State Machine) with boost 1_38_0. I use boost headers in project include in IDE. but it takes longer compilation and the size of the object file is huge.
Since we utilize only the msm library feature in boost, is there any way to build msm alone as a library which we link while building??
I heard about bjam for building boost libraries. but is it possible to build particular library alone with bjam?
Do you have any other suggestions on other msm's available as build libraries (not as precompiled headers)Manikandan Somasundaram2009-09-24T03:42:33Zpost38593: Re: StartupOleg Gopov(deleted)http://community.qnx.com/sf/go/post385932009-09-23T18:27:56Z2009-09-23T18:27:56ZThank you. It's help me.Oleg Gopov(deleted)2009-09-23T18:27:56Zpost38473: RE: StartupSteve Reidhttp://community.qnx.com/sf/go/post384732009-09-22T13:28:37Z2009-09-22T13:28:37ZAdd this line:
qconn &
to your /etc/rc.d/rc.local file. If that file doesn't exist, create it
and make it executable. For more information, see the Controlling How
Neutrino Starts chapter of the Neutrino User's Guide.
Steve Reid (stever@qnx.com)
Technical Editor
QNX Software SystemsSteve Reid2009-09-22T13:28:37Zpost38462: StartupOleg Gopov(deleted)http://community.qnx.com/sf/go/post384622009-09-22T11:28:13Z2009-09-22T11:28:13ZHello Friends.
I have small question.
I want to start qconn service when my os boot. How can i do that???Oleg Gopov(deleted)2009-09-22T11:28:13Zpost38452: Serial Debugshashidhar H Ghttp://community.qnx.com/sf/go/post384522009-09-22T06:10:25Z2009-09-22T06:10:25ZHello,
Am trying for serial debugging on a Windows host(IDE) to a self host x86 machine. for this on windows am setting COM1 and self host am setting /dev/ser1 using pdebug. but still am getting error and could not proceed further.
Am getting the following error.
"Failed Launching Serial Debugger
Error initializing: Target is not responding (timed out)"
please help me out in resolving this.
Thanks & Regards,
Shashidhar.H.Gshashidhar H G2009-09-22T06:10:25Zpost37495: Re: QNX and wxPythonMichael Pfeifferhttp://community.qnx.com/sf/go/post374952009-09-08T12:08:10Z2009-09-08T12:08:10ZTo reopen this discussion: within the forums at openqnx.com there is currently a discussion about a native wxWidgets implementation for QNX.Michael Pfeiffer2009-09-08T12:08:10Zpost36097: Re: vi fails with elvprsv: not foundLiam Howletthttp://community.qnx.com/sf/go/post360972009-08-17T14:46:44Z2009-08-17T14:46:44ZSeems elvprsv is the executable that resumes editing after a crash.
if it's a nameless buffer, it pretends the filename was foo.. dunno how to tell it to stop trying to recover though.Liam Howlett2009-08-17T14:46:44Zpost36096: Re: vi fails with elvprsv: not foundLiam Howletthttp://community.qnx.com/sf/go/post360962009-08-17T14:39:08Z2009-08-17T14:39:08Zwell, vi -> elvis.. so really it's an elvis issue I guess.
Also, the temp files that are created have "/tmp/foo" in them.Liam Howlett2009-08-17T14:39:08Zpost36094: vi fails with elvprsv: not foundLiam Howletthttp://community.qnx.com/sf/go/post360942009-08-17T14:32:40Z2009-08-17T14:32:40ZHello,
I'm trying to edit a file with vi and I'm constantly getting the following error message:
$ vi
/bin/sh: elvprsv: not found
Error stuffing name "" into temp file
I'm not sure what it means and I can't find anything about it via google. Any ideas?
Thanks,
LiamLiam Howlett2009-08-17T14:32:40Zpost35645: Re: QNX and wxPythonSteve Barneshttp://community.qnx.com/sf/go/post356452009-08-11T09:07:01Z2009-08-11T09:07:01ZFrom my understanding of the process a good starting point would be to get the wxWidgets library ported to Photon, (probably starting with the wxUniversal or wxDFB build), and then build wxPython to use that. There are a number of embedded targets already being addressed on the wxWidgets site.Steve Barnes2009-08-11T09:07:01Zpost35205: QNX 4 and Dynamic Linkingluca panunzi(deleted)http://community.qnx.com/sf/go/post352052009-08-04T19:34:16Z2009-08-04T19:34:16Zhello i use an old version of Qnx 4.25 i need to know:
Is it true that Dynamic Linking (dlopen(), dlclose(), dlsym() ....) is not aviable in this release? This release is good for my hardware and my process so i can't upgrade it.
Have you any other solution from your part?
thanks a lotluca panunzi(deleted)2009-08-04T19:34:16Zpost34647: Re: Reg -Cunit Compilation for QNXSean Boudreau(deleted)http://community.qnx.com/sf/go/post346472009-07-27T16:01:37Z2009-07-27T16:01:37ZOn Mon, Jul 27, 2009 at 10:40:12AM -0400, Senthil K wrote:
> Hi,
>
> How to compile a CUnit framework for QNX.
>
> Is there any Cunit Code avialble and let me know procedure to compile it.
>
> Thanks and Regards
> K.Senthil
I just built for me from pkgsrc (on it's HEAD_641 branch) on 6.4.1.
It's under devel/cunit under pkgsrc.
http://community.qnx.com/sf/projects/pkgsrc
Regards,
-seanbSean Boudreau(deleted)2009-07-27T16:01:37Zpost34634: Reg -Cunit Compilation for QNXSenthil Khttp://community.qnx.com/sf/go/post346342009-07-27T14:40:11Z2009-07-27T14:40:11ZHi,
How to compile a CUnit framework for QNX.
Is there any Cunit Code avialble and let me know procedure to compile it.
Thanks and Regards
K.SenthilSenthil K2009-07-27T14:40:11Zpost32437: Re: Is a QNX port available for ARM for libffi (portable foreign function interface library)?Glenn Schmottlachhttp://community.qnx.com/sf/go/post324372009-06-24T13:31:48Z2009-06-24T13:31:48ZHere's the README . . . I guess I can't attach more than one file to a message.Glenn Schmottlach2009-06-24T13:31:48Zpost32436: Re: Is a QNX port available for ARM for libffi (portable foreign function interface library)?Glenn Schmottlachhttp://community.qnx.com/sf/go/post324362009-06-24T13:30:55Z2009-06-24T13:30:55ZHi Adrian -
It's definitely doable (although painful) to build Python 2.6.2 on ARM/SH/PPC for QNX (6.4.X). I've done it and have it running on an ARM platform with a few limitations.
To help you along, I'll include my "build-hooks" file (I'm assuming you know how to use this) along with a little README file which provides some details on the changes I had to make.
Good luck . . . I wish QNX (are you listening?) would support Python more fully on all their targets (not just x86).
GlennGlenn Schmottlach2009-06-24T13:30:55Zpost32425: Re: Odd questionsMalte Mundt(deleted)http://community.qnx.com/sf/go/post324252009-06-24T12:40:01Z2009-06-24T12:40:01ZTo have a minimum x86 QNX Neutrino system, you do not install it from CD. You use a build file and specify what you need, then use mkifs to generate the OS 'image'. This way, you can have an OS image with a disk space requirement of about 1 - 2 MB, and RAM needed would be below 4 MB.
- MalteMalte Mundt(deleted)2009-06-24T12:40:01Zpost32406: Re: Is a QNX port available for ARM for libffi (portable foreign function interface library)?Adrian Higginshttp://community.qnx.com/sf/go/post324062009-06-24T07:57:34Z2009-06-24T07:57:34ZI am about to embark on building 2.6.2 (or even 2.5 if it's easier) for QNX on arm (6.4.0 and 6.4.1 only support python for x86...grrr).
Any advice...or even any link to your work?
CheersAdrian Higgins2009-06-24T07:57:34Zpost32050: RE: _CS_LIBPATH and CS_LIBPATH, which is the official one?Steve Reidhttp://community.qnx.com/sf/go/post320502009-06-18T15:31:25Z2009-06-18T15:31:25ZThe Neutrino User's Guide says this:
The names of configuration strings start with _CS_ and are in
uppercase, although getconf and setconf let you
use any case, omit the leading underscore, or the entire prefix -
provided that the rest of the name is
unambiguous.
It might be nice if the docs for getconf and setconf said it too...
Steve Reid (stever@qnx.com)
Technical Editor
QNX Software SystemsSteve Reid2009-06-18T15:31:25Zpost32047: _CS_LIBPATH and CS_LIBPATH, which is the official one?Weijie Zhang(deleted)http://community.qnx.com/sf/go/post320472009-06-18T15:24:36Z2009-06-18T15:24:36Zgetconf _CS_LIBPATH and CS_LIBPATH, both work and tell the same thing. Or is there any "superfine" difference?
Thanks
WeijieWeijie Zhang(deleted)2009-06-18T15:24:36Zpost30719: Re: Trouble getting MAP_ANONYMOUS definitionGlenn Schmottlachhttp://community.qnx.com/sf/go/post307192009-06-03T16:34:28Z2009-06-03T16:34:28ZIt's libffi which is buried in a Python 2.6.2 build. The Python setup.py script actually runs the ./configure script for libffi. Without my hack, MAP_ANON isn't defined. It's an annoyance that I'd like to understand why it's occurring. I ran into it while cross-compiling Python for x86, SH, and ARM with the ctypes module (see my earlier post on this subject).Glenn Schmottlach2009-06-03T16:34:28Zpost30717: Re: Trouble getting MAP_ANONYMOUS definitionSean Boudreau(deleted)http://community.qnx.com/sf/go/post307172009-06-03T16:30:50Z2009-06-03T16:30:50ZOn Wed, Jun 03, 2009 at 12:29:54PM -0400, Glenn Schmottlach wrote:
> I tried that but it didn't work. Unfortunately, the "make" part is being driven by a python script which may be doing something funky. For now, I guess I'll have to leave the hard-coded value.
Which package is it?
-seanbSean Boudreau(deleted)2009-06-03T16:30:50Zpost30715: Re: Trouble getting MAP_ANONYMOUS definitionGlenn Schmottlachhttp://community.qnx.com/sf/go/post307152009-06-03T16:29:52Z2009-06-03T16:29:52ZI tried that but it didn't work. Unfortunately, the "make" part is being driven by a python script which may be doing something funky. For now, I guess I'll have to leave the hard-coded value.Glenn Schmottlach2009-06-03T16:29:52Zpost30710: Re: Trouble getting MAP_ANONYMOUS definitionNeil Schellenberger(deleted)http://community.qnx.com/sf/go/post307102009-06-03T15:56:19Z2009-06-03T15:56:19ZProbably the quickest thing to do would be to add _QNX_SOURCE to CFLAGS,
unless there is some specific reason not to do so.
On Wed, 2009-06-03 at 11:50 -0400, Glenn Schmottlach wrote:
> I'm in the process of building an open source package using GNU's "configure" build process. One file in the project includes mman.h in order to get access to the MAP_ANON definition. Unfortunately, for this build(e.g. ./configure && make), even though MAP_ANON is defined in mman.h it is NOT being defined because apparently __EXT_QNX isn't being defined in sys/platform.h. Looking at mman.h I see the following:
>
> #if defined(__EXT_QNX)
> ...
> #define MAP_BELOW16M 0x00040000 /* allocate below 16M */
> #define MAP_ANON 0x00080000 /* anonymous memory */
> ...
> #endif
>
> Looking in sys/platform.h I see the following:
>
> #if defined(_QNX_SOURCE) || \
> (defined(__EXT) && !defined(__NO_EXT_QNX) && !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) && (_POSIX_C_SOURCE+0 <= 0))
> #define __EXT_QNX
> #endif
>
> After doing some tests, it appears _XOPEN_SOURCE *is* defined and _POSIX_C_SOURCE+0 <= 0 is *not* true so __EXT_QNX will not be defined during this particular build session.
>
> Can anyone suggest how to force __EXT_QNX to be defined? What in the GNU 'configure' build process could be upsetting these definitions? Who originally sets _XOPEN_SOURCE and _POSIX_C_SOURCE?
>
> Any suggestions would be appreciated. Right now I'm forced to re-define MAP_ANON is the source code instead of relying on the value defined in mman.h. This is an ugly hack that I'd rather avoid.
>
>
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post30708
>Neil Schellenberger(deleted)2009-06-03T15:56:19Zpost30708: Trouble getting MAP_ANONYMOUS definitionGlenn Schmottlachhttp://community.qnx.com/sf/go/post307082009-06-03T15:50:23Z2009-06-03T15:50:23ZI'm in the process of building an open source package using GNU's "configure" build process. One file in the project includes mman.h in order to get access to the MAP_ANON definition. Unfortunately, for this build(e.g. ./configure && make), even though MAP_ANON is defined in mman.h it is NOT being defined because apparently __EXT_QNX isn't being defined in sys/platform.h. Looking at mman.h I see the following:
#if defined(__EXT_QNX)
...
#define MAP_BELOW16M 0x00040000 /* allocate below 16M */
#define MAP_ANON 0x00080000 /* anonymous memory */
...
#endif
Looking in sys/platform.h I see the following:
#if defined(_QNX_SOURCE) || \
(defined(__EXT) && !defined(__NO_EXT_QNX) && !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) && (_POSIX_C_SOURCE+0 <= 0))
#define __EXT_QNX
#endif
After doing some tests, it appears _XOPEN_SOURCE *is* defined and _POSIX_C_SOURCE+0 <= 0 is *not* true so __EXT_QNX will not be defined during this particular build session.
Can anyone suggest how to force __EXT_QNX to be defined? What in the GNU 'configure' build process could be upsetting these definitions? Who originally sets _XOPEN_SOURCE and _POSIX_C_SOURCE?
Any suggestions would be appreciated. Right now I'm forced to re-define MAP_ANON is the source code instead of relying on the value defined in mman.h. This is an ugly hack that I'd rather avoid.Glenn Schmottlach2009-06-03T15:50:23Zpost30692: Is a QNX port available for ARM for libffi (portable foreign function interface library)?Glenn Schmottlachhttp://community.qnx.com/sf/go/post306922009-06-03T14:40:48Z2009-06-03T14:40:48ZI was wondering if anybody at QNX has looked into supporting the libffi library (see http://sourceware.org/libffi/) on QNX ARM platforms.
This library has been adopted internally by Python in the "ctypes" module and allows you to make calls into 'C' code and even have 'C' code make callbacks back into Python.
After a ***tremendous*** amount of effort, I managed to get Python 2.6.2 compiled under QNX 6.4.0 x86, SH (haven't tested it yet), and ARM. I know QNX supports Python 2.5.2 with the 6.4.0 distro but apparently no one ever tested the 'ctypes' module since it isn't available with the distro. Well, my Python 2.6.2 port *does* support the ctypes module (passes all regression tests) under x86 but seg-faults under ARM:
# python /lib/python2.6/test/regrtest.py -v test_ctypes.py
test_ctypes
test_anon (ctypes.test.test_anon.AnonTest) ... ok
test_anon_nonmember (ctypes.test.test_anon.AnonTest) ... ok
test_anon_nonseq (ctypes.test.test_anon.AnonTest) ... ok
test_nested (ctypes.test.test_anon.AnonTest) ... ok
test_cache (ctypes.test.test_arrays.ArrayTestCase) ... ok
test_classcache (ctypes.test.test_arrays.ArrayTestCase) ... ok
test_from_address (ctypes.test.test_arrays.ArrayTestCase) ... ok
test_from_addressW (ctypes.test.test_arrays.ArrayTestCase) ... ok
test_numeric_arrays (ctypes.test.test_arrays.ArrayTestCase) ... ok
test_simple (ctypes.test.test_arrays.ArrayTestCase) ... ok
test (ctypes.test.test_array_in_pointer.Test) ... ok
test_2 (ctypes.test.test_array_in_pointer.Test) ... ok
test_byval (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ... ok
test_callbacks (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ...
Process 1527858 (python) terminated SIGSEGV code=1 fltno=11 ip=78295168(_ctypes.so@ffi_closure_SYS
V_inner+0x18) mapaddr=00015168. ref=00000004
Memory fault (core dumped)
Looking at the documentation (and code) for the FFI library I see that it's only been verified on ARM Linux. I'm not sure how compatible the Linux ARM ABI is compared to the QNX ARM ABI and I suspect that this might be the cause for my segfault. I know the Linux ARM is expecting a system defined '__clear_cache' function that the QNX compiler warns that it isn't explicitly defined (although it still builds and links).
The subtle differences between the Linux ARM ABI and the QNX ARM ABI is a little over my head. I was hoping a QNX guru might be able to look at the libffi library code (for ARM) and possibly tell me what's missing. I'm asking a lot, I know, but I'm soooooo close to having most of the modules for a completely cross-compiled Python 2.6.2 for x86, SH, and ARM working I'd hate to say I didn't at least try to resolve this issue. Are there any takers at QNX with ARM experience that might be interested in taking a look at this code?
Thanks . . .Glenn Schmottlach2009-06-03T14:40:48Zpost29858: Re: Odd questionsMario Charesthttp://community.qnx.com/sf/go/post298582009-05-21T23:46:12Z2009-05-21T23:46:12Z> I've just seen from the docs that it is related to IDE/disk operation but it
> doubled with number of cores associated via VMWare.. The reason I went for
> VMWare is because the VPC does not support more than 1 CPU it seems (per
> target).
>
> Thus the question on HyperV.
>
> It would still be interesting to learn how to minimise the footprint as I
> would love to test this against low memory hardware.. Any tips or (common
> numbers even) on reducing the Neutrino footprint appreciated.
>
> Thanks..
For your information, have been using QNX on ESX which support 4 cores per VM. It's a bit painful to install because ESX only support scsi which is not part of the normal install CD. But it's doable. We have a BIG machine running ESX, it currently runs 11 QNX6.4.0 VM, each having 4Gig and 4 cores allocated per VM. There are use as targets to run our applications, not for development. Basically each developer gets it's own VM that is based on our runtime image. The beast has been running for months without a reboot ! Very slick, our IT guy loves it ;-)Mario Charest2009-05-21T23:46:12Zpost27948: Re: Installing and using boost on a QNX 6.4 under a VMMark Triablehttp://community.qnx.com/sf/go/post279482009-04-24T03:05:47Z2009-04-24T03:05:47ZOk, scrap the questions, got it up and running and compiling.. wasn't as bad as I thought it would be.. sigh :)
FWIW, one does need to read the docs on all the tools :-)Mark Triable2009-04-24T03:05:47Zpost27942: Installing and using boost on a QNX 6.4 under a VMMark Triablehttp://community.qnx.com/sf/go/post279422009-04-23T23:53:52Z2009-04-23T23:53:52ZHi,
Is there any guideline or hint for noobs like me to get boost installed while running QNX in a VM (all x86). Is there a particular place where sources should be placed.
I am using the .iso image and wondering how to get it compiled both on QNX and how to use the library in Momentics IDE.
The only hints I've seen are two posts regarding 1.37 and 1.38, and more related to build (which is the next hurdle for a newbie I guess :).
Any help appreciated..
Regards,
MarkMark Triable2009-04-23T23:53:52Zpost27547: Re: Odd questionsMark Triablehttp://community.qnx.com/sf/go/post275472009-04-20T21:29:06Z2009-04-20T21:29:06ZMany thanks for the quick response Dragon Linux :).. Will give those a try and see how it behaves..
CheersMark Triable2009-04-20T21:29:06Zpost27447: Re: Odd questionsdragon linuxhttp://community.qnx.com/sf/go/post274472009-04-20T02:34:30Z2009-04-20T02:34:30Z> Hi,
>
> I am new to the QNX development and I can see that the requirements for
> Windows do not specify 2008 or Hyper V config as supported. Is it worth a shot
> in order to recognise all cores of multi-socket boxes?
>
> Also playing with the Momentics I can see the highest footprint comes from deb
> -eide at around 41MB. Is it necessary and are there any pointers for setting
> up this with minimal footprint on x86..
>
> Thanks in advance,
> Mark
specify io-blk cache=xxx to devb-eide's command line to minimize the memory used by devb-eide. devb-eide will load io-blk and you can read its document.
cache=total
The total in-memory cache size allowed. Cache memory is allocated as necessary beyond the initial amount specified by the alloc= option until the total size is reached. The memory size uses the suffixes described above; the default is 15% of system RAM.dragon linux2009-04-20T02:34:30Zpost27445: Re: Odd questionsMark Triablehttp://community.qnx.com/sf/go/post274452009-04-20T00:16:57Z2009-04-20T00:16:57ZI've just seen from the docs that it is related to IDE/disk operation but it doubled with number of cores associated via VMWare.. The reason I went for VMWare is because the VPC does not support more than 1 CPU it seems (per target).
Thus the question on HyperV.
It would still be interesting to learn how to minimise the footprint as I would love to test this against low memory hardware.. Any tips or (common numbers even) on reducing the Neutrino footprint appreciated.
Thanks..Mark Triable2009-04-20T00:16:57Zpost27444: Odd questionsMark Triablehttp://community.qnx.com/sf/go/post274442009-04-19T22:59:43Z2009-04-19T22:59:43ZHi,
I am new to the QNX development and I can see that the requirements for Windows do not specify 2008 or Hyper V config as supported. Is it worth a shot in order to recognise all cores of multi-socket boxes?
Also playing with the Momentics I can see the highest footprint comes from deb-eide at around 41MB. Is it necessary and are there any pointers for setting up this with minimal footprint on x86..
Thanks in advance,
MarkMark Triable2009-04-19T22:59:43Zpost27351: Re: Apache port?Greg Moreheadhttp://community.qnx.com/sf/go/post273512009-04-17T14:31:09Z2009-04-17T14:31:09ZSo that's where everything is happening.
I have checked out the pkg_src and started to work with it. See my post on the pkg_src general forum wrt apache22 build if your interested.
Thanks for the info.
- GregGreg Morehead2009-04-17T14:31:09Zpost27324: SPI toolGunter Geigemuellerhttp://community.qnx.com/sf/go/post273242009-04-17T09:37:43Z2009-04-17T09:37:43ZHi, I am looking for a command-line tool to excercise SPI devices using the SPI master API, similarly to how flashctl excercises a FFS3 flash driver. Is such a tool available?
Thanks,
AlbrechtGunter Geigemueller2009-04-17T09:37:43Zpost26881: Re: Apache port?Sean Boudreau(deleted)http://community.qnx.com/sf/go/post268812009-04-14T13:13:13Z2009-04-14T13:13:13ZOn Tue, Apr 14, 2009 at 08:24:26AM -0400, Greg Morehead wrote:
> Does anyone have any information on an Apache port to neutrino 6.4.0?
Last time I tried apache22 built from the pkgsrc project:
http://community.qnx.com/sf/projects/pkgsrc
In particular see the bootstrap page:
http://community.qnx.com/sf/wiki/do/viewPage/projects.pkgsrc/wiki/Bootstrap
-seanbSean Boudreau(deleted)2009-04-14T13:13:13Zpost26871: Apache port?Greg Moreheadhttp://community.qnx.com/sf/go/post268712009-04-14T12:24:22Z2009-04-14T12:24:22ZDoes anyone have any information on an Apache port to neutrino 6.4.0?Greg Morehead2009-04-14T12:24:22Zpost26305: Re: QNX and wxPythonAndy Rhindhttp://community.qnx.com/sf/go/post263052009-04-08T05:11:45Z2009-04-08T05:11:45ZThanks for the reply Sean.
Yes Im finding that wxPython expects certain X files and they arent there.
There may be other solutions. More research .
Thanks,
AndyAndy Rhind2009-04-08T05:11:45Zpost25757: Re: QNX and wxPythonSean Boudreau(deleted)http://community.qnx.com/sf/go/post257572009-04-01T14:09:15Z2009-04-01T14:09:15Z> Has no one looked into using wxPython?
>
> I find it exceptional. I can write GUI apps for Windows and Linux, the code
> rarely needs to be changed.
>
> Andy
Not that I'm aware of. It sounds like it expects X
which may be a large hurdle; unless xphoton is
used but I haven't heard much about that lately...
-seanbSean Boudreau(deleted)2009-04-01T14:09:15Zpost25519: Re: QNX and wxPythonAndy Rhindhttp://community.qnx.com/sf/go/post255192009-03-30T13:09:19Z2009-03-30T13:09:19ZHas no one looked into using wxPython?
I find it exceptional. I can write GUI apps for Windows and Linux, the code rarely needs to be changed.
AndyAndy Rhind2009-03-30T13:09:19Zpost25338: QNX and wxPythonAndy Rhindhttp://community.qnx.com/sf/go/post253382009-03-26T14:16:27Z2009-03-26T14:16:27ZHi:
Im interested in getting wxPython going in QNX6.4.0. My research shows a lot of good work done in pkgsrc, but I cant find any references to wxPython or wx in QNX.
Has anyone done a port or attempted it? Is XFree86 the way to go or is QT an easier path?
I'd be very keen to hear the stories and opinions.
Thanks,
AndyAndy Rhind2009-03-26T14:16:27Zpost24019: Re: diskonchip driverErick Muishttp://community.qnx.com/sf/go/post240192009-03-10T14:47:35Z2009-03-10T14:47:35Z> is there a way to use doc2000 chipset with QNX-6.4 ? I use pcm-4896 x86 boards
> with diskonchip socket, and it could be usefull to store configuration data
> on a flash memory. But didn t find any qnx 6 driver on internet. Any idea ?
M-Systems used to supply a driver for QNX (prior to them being taken over by San Disk). Now that San Disk is running the show I did a quick check to see if I could find any drivers however it does not appear to be any. Your best bet would be to bug San Disk and see if they are willing to recompile the driver for 6.4.0 or possibly hand out the source so you could recompile it.
Best regards,
ErickErick Muis2009-03-10T14:47:35Zpost23995: diskonchip driverleboucher nichttp://community.qnx.com/sf/go/post239952009-03-10T05:54:29Z2009-03-10T05:54:29Zis there a way to use doc2000 chipset with QNX-6.4 ? I use pcm-4896 x86 boards with diskonchip socket, and it could be usefull to store configuration data on a flash memory. But didn t find any qnx 6 driver on internet. Any idea ?leboucher nic2009-03-10T05:54:29Zpost23077: Re: 3rd Party Repository?Sean Boudreau(deleted)http://community.qnx.com/sf/go/post230772009-02-27T14:12:54Z2009-02-27T14:12:54ZOn Fri, Feb 27, 2009 at 08:38:18AM -0500, Marc Roessler wrote:
> Thanks sean.. found it and it builds.
> I'd like to build this for our PPC platform.. how do I best include this in my workspace in Momentics?
I haven't looked at cross compiling yet and never really took
to the IDE.
-seanbSean Boudreau(deleted)2009-02-27T14:12:54Zpost23071: Re: 3rd Party Repository?Marc Roesslerhttp://community.qnx.com/sf/go/post230712009-02-27T13:38:15Z2009-02-27T13:38:15ZThanks sean.. found it and it builds.
I'd like to build this for our PPC platform.. how do I best include this in my workspace in Momentics?
Greetings,
MarcMarc Roessler2009-02-27T13:38:15Zpost22522: Re: 3rd Party Repository?Sean Boudreau(deleted)http://community.qnx.com/sf/go/post225222009-02-19T14:26:35Z2009-02-19T14:26:35ZOn Thu, Feb 19, 2009 at 07:58:28AM -0500, Marc Roessler wrote:
> Hi,
>
> I've read about the 3rd Party svn repository (where, among others, samba is said to be available).
>
> However, trying to find this repos has been a mess.. where is this repository located?
> It is really hard to find, had no success searching for it on qnx.com and didn't find anything with google either...?
Check out the pkgsrc project. Last time I tried samba built therein.
http://community.qnx.com/sf/projects/pkgsrc
-seanbSean Boudreau(deleted)2009-02-19T14:26:35Zpost22520: 3rd Party Repository?Marc Roesslerhttp://community.qnx.com/sf/go/post225202009-02-19T12:58:25Z2009-02-19T12:58:25ZHi,
I've read about the 3rd Party svn repository (where, among others, samba is said to be available).
However, trying to find this repos has been a mess.. where is this repository located?
It is really hard to find, had no success searching for it on qnx.com and didn't find anything with google either...?
Greetings,
MarcMarc Roessler2009-02-19T12:58:25Zpost21756: I am from Russia!Valera Murzinhttp://community.qnx.com/sf/go/post217562009-02-09T15:10:36Z2009-02-09T15:10:36ZMurzin mail - gamletvalerik@yandex.ruValera Murzin2009-02-09T15:10:36Zpost21755: say Misha Nefedov!!!Valera Murzinhttp://community.qnx.com/sf/go/post217552009-02-09T15:08:01Z2009-02-09T15:08:01Zhello Misha Nefedov!!Valera Murzin2009-02-09T15:08:01Zpost21484: Simple Question on operating systemMario Ponzanohttp://community.qnx.com/sf/go/post214842009-02-05T15:28:58Z2009-02-05T15:28:58ZThanks to everybody at the beginning.
I don't Know if this is the righ topic but i 'll try it.
I'm new at real time operating system but the matter is:
Now i'm developing a firmware project in a freescale MPC5200 microcontroller without operating system; i only use freescale Ide for the target processor. If i Would like to use the QNX real time embedded operating system i think i should also use QNX ide to create projects running on ( i still don't know the name). Am i right or not, just to anderstand if i have to leave from code warrior if i decide to use a operating system...
Hi, MarioMario Ponzano2009-02-05T15:28:58Zpost21286: Re: New x86 boot methodsDennis Kelllyhttp://community.qnx.com/sf/go/post212862009-02-03T13:05:49Z2009-02-03T13:05:49ZFYI - Mike seems to be referring to this post that indicates you may need to get the latest tftpd if neutrino is your pxe boot server...
http://community.qnx.com/sf/discussion/do/listPosts/projects.networking/discussion.general.topc6030Dennis Kellly2009-02-03T13:05:49Zpost21187: Re: New x86 boot methodsMichael Kolesovhttp://community.qnx.com/sf/go/post211872009-01-31T11:56:08Z2009-01-31T11:56:08ZHi,
I've tested pxqldr.bin and it pretty works on -at least- 5 different ethernet adapters. Thanks Dennis!
Before that, I started with pxegrub (aka part of Grub Legacy) but it has hard dependency of certain ethernet controller (for every controller there is a pxegrub-driver). It works on grub-known cards, but not on another.
Before I used pxqldr (which QNX ifs format and PXE API specific!) I spent too many time for grub, because pxegrub+QNX boot loading method was illustraited in QNX docs(Appendix: Advanced Qnet Topics). My vision, there should be note to :
1. pxegrub CARD RESRICTION feature
2. words about pxqldr (or any new will appear) + tftpd restriction (qnx distrib version..search for my post obout it).
This can help new to PXE boot tast people start without above described problems.Michael Kolesov2009-01-31T11:56:08Zpost20590: RE: FYI for Technical WritersSteve Reidhttp://community.qnx.com/sf/go/post205902009-01-22T14:50:31Z2009-01-22T14:50:31ZHi, Ken.
You're right, but it's an easy error to make: "lose" rhymes with
"choose", not "chose", and "loose" doesn't rhyme with "choose" or
"chose", but it does rhyme with "moose". Isn't English a fun language?
However, I'm relieved to say that the Subversive User Guide isn't one of
our docs; the copyright says it belongs to Polarion Software. :-)
Thanks anyway for pointing it out -- feedback on the docs is always
welcome.
Steve Reid (stever@qnx.com)
Technical Editor
QNX Software SystemsSteve Reid2009-01-22T14:50:31Zpost20549: FYI for Technical WritersKen Schummhttp://community.qnx.com/sf/go/post205492009-01-21T23:41:03Z2009-01-21T23:41:03ZIn the 6.4 help docs the word "loosing" is used where it should be "losing". See the Subversive user guide section "Main feature differences between SVN and CVS".
FYIKen Schumm2009-01-21T23:41:03Zpost20078: RE: a QNX clean instalacion on Windows VistaMax Feilhttp://community.qnx.com/sf/go/post200782009-01-14T20:22:07Z2009-01-14T20:22:07ZPlease give more information such as any error messages. Also log or
error files under C:\QNX640\Install
Thanks,
Max Feil
-----Original Message-----
From: Paul Weinstock [mailto:community-noreply@qnx.com]
Sent: Wednesday, January 14, 2009 2:45 PM
To: general-bazaar
Subject: a QNX clean instalacion on Windows Vista
Hello, I recently downloaded QNX software and doesn't want to install on
Windows Vista, Any help will be appreciated.
Paul Weinstock
_______________________________________________
General
http://community.qnx.com/sf/go/post20073Max Feil2009-01-14T20:22:07Zpost20073: a QNX clean instalacion on Windows VistaPaul Weinstockhttp://community.qnx.com/sf/go/post200732009-01-14T19:44:47Z2009-01-14T19:44:47ZHello, I recently downloaded QNX software and doesn't want to install on Windows Vista, Any help will be appreciated.
Paul WeinstockPaul Weinstock2009-01-14T19:44:47Zpost19022: RE: problem with Wait functionThomas Haupthttp://community.qnx.com/sf/go/post190222008-12-19T11:39:08Z2008-12-19T11:39:08ZPlease examine the value of the errno variable when the wait()
function has failed. Look it up in /usr/include/errno.h or post
it here.
- Thomas
> -----Original Message-----
> From: prabhath krishnamoorthy [mailto:community-noreply@qnx.com]
> Sent: 19 December 2008 11:49
> To: general-bazaar
> Subject: problem with Wait function
>
> HI ,,
> I am trying to use the wait() call to identify the process
> termination...
>
>
> I still face a few problems with wait() .
>
> My wait always return immediately with -1 error..
> I verified that the child process are running.
> Verified the status variable is proper..
> I gave SIG_IGN to all the signals except the SIGCHLD..
>
> What else could be the reason.
>
>
> Best Regards,
> Prabhath Krishnamoorthy
> Services SS,Audio-2,
> VTSC, India. phone: 91 44 6617 7724
>
>
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post19019
>
>Thomas Haupt2008-12-19T11:39:08Zpost19019: problem with Wait functionprabhath krishnamoorthyhttp://community.qnx.com/sf/go/post190192008-12-19T10:49:18Z2008-12-19T10:49:18ZHI ,,
I am trying to use the wait() call to identify the process
termination...
I still face a few problems with wait() .
My wait always return immediately with -1 error..
I verified that the child process are running.
Verified the status variable is proper..
I gave SIG_IGN to all the signals except the SIGCHLD..
What else could be the reason.
Best Regards,
Prabhath Krishnamoorthy
Services SS,Audio-2,
VTSC, India. phone: 91 44 6617 7724prabhath krishnamoorthy2008-12-19T10:49:18Zpost18576: Re: Question about QNX® Aviage® HMI PlayerDennis Kelllyhttp://community.qnx.com/sf/go/post185762008-12-13T19:19:34Z2008-12-13T19:19:34Z>>>how can FLASH program call QNX native C functions?
You should refer to the foundry project "HMI Framework". This is "official" way. Additionally...
You can extend actionscript by writing your own C code for fscommand2() and geturl().
You can get data (XML format) from a C socket server using the actionscript XMLsocket() object.
You can send data by requesting a cgi URL from your C socket server - the 'tail' of the URL can be the data you want to send.Dennis Kellly2008-12-13T19:19:34Zpost18196: Question about QNX® Aviage® HMI Playerxiao weihttp://community.qnx.com/sf/go/post181962008-12-09T15:31:10Z2008-12-09T15:31:10ZHello
How does the FLASH program( in form of .SWF) communicate with QNX native pragram in QNX® Aviage® HMI Player ? In other words, how can FLASH program call QNX native C functions?
thank you
shawnxiao wei2008-12-09T15:31:10Zpost17459: RE: QNX and EFIFrederic Plante(deleted)http://community.qnx.com/sf/go/post174592008-11-27T13:18:05Z2008-11-27T13:18:05ZHi Mekas,
I suggest you post this question on the BSPs and Drivers forum:
http://community.qnx.com/sf/discussion/do/listTopics/projects.bsp/discus
sion.bsp
- Fred
-----Original Message-----
From: Meenakshikumar S [mailto:community-noreply@qnx.com]
Sent: November 27, 2008 5:18 AM
To: general-bazaar
Subject: QNX and EFI
Hi,
I'm new to QNX. Whether QNX supports EFI based system (x86). If it so,
where can i get the OS loader for QNX from the EFI shell.
Regards,
Mekas
_______________________________________________
General
http://community.qnx.com/sf/go/post17451Frederic Plante(deleted)2008-11-27T13:18:05Zpost17451: QNX and EFIMeenakshikumar Shttp://community.qnx.com/sf/go/post174512008-11-27T10:18:23Z2008-11-27T10:18:23ZHi,
I'm new to QNX. Whether QNX supports EFI based system (x86). If it so, where can i get the OS loader for QNX from the EFI shell.
Regards,
MekasMeenakshikumar S2008-11-27T10:18:23Zpost16951: RE: Packager utility?Frederic Plante(deleted)http://community.qnx.com/sf/go/post169512008-11-20T04:56:20Z2008-11-20T04:56:20ZWe simplified the packaging of BSPs for 6.4, packaging a BSP more or
less means creating an archive with a few metadata files such as
module.tmpl.
See the following in-progress wiki page for details:
http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/Packaging
_BSP_640
- Fred
-----Original Message-----
From: Keith Odell [mailto:community-noreply@qnx.com]
Sent: November 11, 2008 11:02 AM
To: general-bazaar
Subject: Packager utility?
I notice that the packager utility isn't used to package and distribute
BSPs, and was wondering:
Does this mean tha packager is deprecated?
Is it an inapproriate mechanism for BSPs for some reason?
Is there some other reason it isn't used?
Thanks,
Keith
_______________________________________________
General
http://community.qnx.com/sf/go/post16395Frederic Plante(deleted)2008-11-20T04:56:20Zpost16617: New x86 boot methodsDennis Kelllyhttp://community.qnx.com/sf/go/post166172008-11-15T14:39:02Z2008-11-15T14:39:02ZTwo new packages have been added to the Bazaar enabling additional boot options for x86 systems.
1. pxqldr provides a PXE loader (source, binary and documentation) for network boot using typical BIOS support
2. qnxldsys provides a DOS device driver (source, binary and documentation) allowing boot of Neutrino .ifs files directly from DOS bootable media or partition.
DennisDennis Kellly2008-11-15T14:39:02Zpost16395: Packager utility?Keith Odellhttp://community.qnx.com/sf/go/post163952008-11-11T16:02:14Z2008-11-11T16:02:14ZI notice that the packager utility isn't used to package and distribute BSPs, and was wondering:
Does this mean tha packager is deprecated?
Is it an inapproriate mechanism for BSPs for some reason?
Is there some other reason it isn't used?
Thanks,
KeithKeith Odell2008-11-11T16:02:14Zpost16232: Re: Local (Unix domain) socket performance on QNXSean Boudreau(deleted)http://community.qnx.com/sf/go/post162322008-11-07T17:45:38Z2008-11-07T17:45:38ZOn Tue, Nov 04, 2008 at 01:53:31PM -0500, Glenn Schmottlach wrote:
> Would there be any advantage (from a performance perspective) of using the mq server to implement an asynchronous messaging facility instead of local domain sockets? Inherently, DBUS is a messaging protocol that supports (typically) two message buses - the system and session buses. These "buses" appear as mount points in the Linux file system and are typically specified in an environment variable so programs can find them. Ideally, I'd like to use an analogous mechanism in QNX that appears as a path in the file system. It seems that the mq server might offer this facility in a more efficient manner than the local domain socket approach. Is it possible for more than one process to send/receive to a mq or is a single producer/consumer model expected? I guess with local sockets a server (the bus daemon) can listen and handle multiple connections. I wasn't sure if the mq provides a similar facility.
You can have multiple senders / receivers on a message queue.
Personally I'd do whatever is easiest since this whole dbus
thing seems a lot like the qnx message bus: attaching to the
namespace to receive messages. The 'correct' port may be to
look at resmgr_attach() and native messaging which mqueue and
AF_LOCAL are based on.
-seanbSean Boudreau(deleted)2008-11-07T17:45:38Zpost15926: Re: Local (Unix domain) socket performance on QNXGlenn Schmottlachhttp://community.qnx.com/sf/go/post159262008-11-04T18:53:29Z2008-11-04T18:53:29ZWould there be any advantage (from a performance perspective) of using the mq server to implement an asynchronous messaging facility instead of local domain sockets? Inherently, DBUS is a messaging protocol that supports (typically) two message buses - the system and session buses. These "buses" appear as mount points in the Linux file system and are typically specified in an environment variable so programs can find them. Ideally, I'd like to use an analogous mechanism in QNX that appears as a path in the file system. It seems that the mq server might offer this facility in a more efficient manner than the local domain socket approach. Is it possible for more than one process to send/receive to a mq or is a single producer/consumer model expected? I guess with local sockets a server (the bus daemon) can listen and handle multiple connections. I wasn't sure if the mq provides a similar facility.Glenn Schmottlach2008-11-04T18:53:29Zpost15923: Re: Local (Unix domain) socket performance on QNXSean Boudreau(deleted)http://community.qnx.com/sf/go/post159232008-11-04T17:23:43Z2008-11-04T17:23:43Z>
> I have been working on porting DBUS to the QNX Neutrino platform. Since QNX
> does not support abstract domain sockets, I've opted to use local (Unix domain
> ) sockets which is also supported by DBUS. I have heard that QNX local domain
> sockets are very inefficient and perform poorly on many targets. Fortunately,
> DBUS does provide minimal hooks to abstract the transport mechanism and I was
> considering using the native QNX messaging API (MsgSend/MsgReceive, etc..) as
> the transport for DBUS on QNX.
>
> Before I undertake this effort, I want to be sure the local domain socket
> performance on QNX is indeed dismal. Have any QNX veterans had any experiences
> with it (either pro or con)? Can I realistically expect to see a significant
> performance improvement using the native QNX services as a transport vs. local
> sockets? Part of my reluctance in attempting this effort is the fact that it
> will effectively cause me to "fork" the DBUS code from the development branch
> which makes it much more difficult to maintain this code with new releases
> from Freedesktop.org.
AF_LOCAL performance shouldn't be that bad. They
share a lot of the same codepath as AF_INET which
we're able to get good performance out of. Having
said that though local they aren't currently exercised
a lot as they're generally considered more of a
porting aid. Native message passing may be faster
depending on what you're doing.
-seanbSean Boudreau(deleted)2008-11-04T17:23:43Zpost15921: Local (Unix domain) socket performance on QNXGlenn Schmottlachhttp://community.qnx.com/sf/go/post159212008-11-04T16:15:07Z2008-11-04T16:15:07ZI have been working on porting DBUS to the QNX Neutrino platform. Since QNX does not support abstract domain sockets, I've opted to use local (Unix domain) sockets which is also supported by DBUS. I have heard that QNX local domain sockets are very inefficient and perform poorly on many targets. Fortunately, DBUS does provide minimal hooks to abstract the transport mechanism and I was considering using the native QNX messaging API (MsgSend/MsgReceive, etc..) as the transport for DBUS on QNX.
Before I undertake this effort, I want to be sure the local domain socket performance on QNX is indeed dismal. Have any QNX veterans had any experiences with it (either pro or con)? Can I realistically expect to see a significant performance improvement using the native QNX services as a transport vs. local sockets? Part of my reluctance in attempting this effort is the fact that it will effectively cause me to "fork" the DBUS code from the development branch which makes it much more difficult to maintain this code with new releases from Freedesktop.org.Glenn Schmottlach2008-11-04T16:15:07Zpost15828: QNX 6.4.0 installerLeet Geezerhttp://community.qnx.com/sf/go/post158282008-11-02T14:18:33Z2008-11-02T14:18:33ZHi, I've installed QNX 6.4.0 and noticed that 'software installer' is gone. Previously I used it to install third party software like openssh vim and such. Is there any way to bring the software installer back, or is there any replacement for it?Leet Geezer2008-11-02T14:18:33Zpost12869: Re: RE: RE: TIPC SupportVenkat Chandrahttp://community.qnx.com/sf/go/post128692008-09-04T19:19:50Z2008-09-04T19:19:50ZThanks for the info.
Regards
VenkatVenkat Chandra2008-09-04T19:19:50Zpost12868: RE: RE: TIPC SupportRobert Craighttp://community.qnx.com/sf/go/post128682008-09-04T19:18:55Z2008-09-04T19:18:55ZOne of those cases where marketing announcements sometimes get a bit
ahead of development. There just wasn't sufficient customer traction at
the time to justify the development effort.
Robert.
-----Original Message-----
From: Venkat Chandra [mailto:community-noreply@qnx.com]
Sent: Thursday, September 04, 2008 3:17 PM
To: general-bazaar
Subject: Re: RE: TIPC Support
I ran into this press released and assumed that it was available.
Thanks
Venkat
OTTAWA, October 4, 2005 - QNX Software Systems, the leading provider of
standards-based system software for the networking market, today
announced support for the Transparent Inter Process Communication (TIPC)
protocol, the emerging standard for achieving interoperability among
operating systems (OSs) in network elements, carrier-grade clusters, and
other multiprocessor-based communications systems.
_______________________________________________
General
http://community.qnx.com/sf/go/post12867Robert Craig2008-09-04T19:18:55Zpost12867: Re: RE: TIPC SupportVenkat Chandrahttp://community.qnx.com/sf/go/post128672008-09-04T19:17:09Z2008-09-04T19:17:09ZI ran into this press released and assumed that it was available.
Thanks
Venkat
OTTAWA, October 4, 2005 — QNX Software Systems, the leading provider of standards-based system software for the networking market, today announced support for the Transparent Inter Process Communication (TIPC) protocol, the emerging standard for achieving interoperability among operating systems (OSs) in network elements, carrier-grade clusters, and other multiprocessor-based communications systems.Venkat Chandra2008-09-04T19:17:09Zpost12866: RE: TIPC SupportRobert Craighttp://community.qnx.com/sf/go/post128662008-09-04T19:13:59Z2008-09-04T19:13:59ZI'm afraid that we don't have TIPC support in our product today.
Robert.
-----Original Message-----
From: Venkat Chandra [mailto:community-noreply@qnx.com]
Sent: Thursday, September 04, 2008 3:13 PM
To: general-bazaar
Subject: TIPC Support
Is TIPC supported on QNX ?
Thanks
Venkat
_______________________________________________
General
http://community.qnx.com/sf/go/post12865Robert Craig2008-09-04T19:13:59Zpost12865: TIPC SupportVenkat Chandrahttp://community.qnx.com/sf/go/post128652008-09-04T19:13:04Z2008-09-04T19:13:04ZIs TIPC supported on QNX ?
Thanks
VenkatVenkat Chandra2008-09-04T19:13:04Zpost11991: some of this sayings rings a bell to meJeevan Mathewhttp://community.qnx.com/sf/go/post119912008-08-18T21:24:41Z2008-08-18T21:24:41ZHow about You ?
Enjoy:
http://www.quotegarden.com/computers.htmlJeevan Mathew2008-08-18T21:24:41Zpost11834: Re: Help: DBus port for QNX???Glenn Schmottlachhttp://community.qnx.com/sf/go/post118342008-08-15T12:31:46Z2008-08-15T12:31:46ZThis problem is solved. The "configure" script for DBUS tests for abstract local domain (unix) sockets. As part of the test it builds a program and tries to run it. Unfortunately, for QNX 6.3.2 (since fixed in the forthcoming QNX 6.4) a call to bind() using the abstract sockets naming convention (first character of the "name" field is NULL) caused the network stack to damage the filesystem (which I am told could be "fixed" by slaying the network stack). So, since QNX doesn't support abstract domain sockets, I just removed the test from the configure script.Glenn Schmottlach2008-08-15T12:31:46Zpost11828: Re: Help: DBus port for QNX???Jeevan Mathew(deleted)http://community.qnx.com/sf/go/post118282008-08-15T09:28:03Z2008-08-15T09:28:03ZPlease see attached picture.
JeevanJeevan Mathew(deleted)2008-08-15T09:28:03Zpost11827: Re: Help: DBus port for QNX???Jeevan Mathew(deleted)http://community.qnx.com/sf/go/post118272008-08-15T07:10:32Z2008-08-15T07:10:32Z> Unfortunately, devb-eide is running just fine when this situation occurs. It's
> seems like I can do nearly everything but 'ls' and 'pwd'. This includes
> navigating around the directories using 'cd' or using 'more' or 'cat' to view
> a file. Those programs all work.
>
> When I type 'ls' I see the following:
>
> # ls
> ls: Not a directory (.)
>
> When the configure script is hung, it's actually doing things (under Photon
> the terminal shows what program is being spawned by the shell in the little
> button on the lower status bar). I see 'sh' and 'dirname' (and others) being
> launched by the config.status script.
>
> This is really bizarre behavior. I've never seen a 'configure' script cripple
> an OS.
Guessing. Either Your shell is messed up or Your FS is corrupt or both .
Once the situation occurs can You telnet that vmware box do a ls in that directory and run chkfsys -uP / ?
Just beeing curiuos, does this happen if You try this on a physical/real non-vm-box ?
JeevanJeevan Mathew(deleted)2008-08-15T07:10:32Zpost11172: Re: Help: DBus port for QNX???Glenn Schmottlachhttp://community.qnx.com/sf/go/post111722008-07-28T21:21:07Z2008-07-28T21:21:07ZUnfortunately, devb-eide is running just fine when this situation occurs. It's seems like I can do nearly everything but 'ls' and 'pwd'. This includes navigating around the directories using 'cd' or using 'more' or 'cat' to view a file. Those programs all work.
When I type 'ls' I see the following:
# ls
ls: Not a directory (.)
When the configure script is hung, it's actually doing things (under Photon the terminal shows what program is being spawned by the shell in the little button on the lower status bar). I see 'sh' and 'dirname' (and others) being launched by the config.status script.
This is really bizarre behavior. I've never seen a 'configure' script cripple an OS.Glenn Schmottlach2008-07-28T21:21:07Zpost11170: Re: Help: DBus port for QNX???Colin Burgess(deleted)http://community.qnx.com/sf/go/post111702008-07-28T20:43:59Z2008-07-28T20:43:59ZSounds like your devb-eide driver died...
Could it be
http://community.qnx.com/sf/discussion/do/listPosts/projects.core_os/discussion.newcode.topc1922
http://www.openqnx.com/index.php?name=PNphpBB2&file=viewtopic&p=41381
ie do you have a ramdisk?
Glenn Schmottlach wrote:
> Has anyone successfully been able to port DBus onto QNX? Ideally, I'd like to port it to both x86, SH4, and ARM processors under QNX 6.3.2.
>
> I have already attempted this feat by pulling down the latest DBus tarball (version 1.2.1), using "addvariant" to create nto-x86-o and nto-sh-le directories and provided a simple build-hooks script to set the appropriate compiler depending on the target. At that point I invoke 'make' and QNX's recursive make automagically calls GNU autoconf's "configure" script to generate the necessary Makefiles. The "configure" script nearly reaches the end where it invokes the "config.status" script to do some final generation steps and just hangs forever. If I ctrl-C to break out I'm left at a prompt where even 'ls' does not work. I can navigate the filesystem but cannot 'ls' anything. So, the configure scripts whacks the OS horribly. Even susequent logins do not fix the problem. I'm forced to reboot the (virtual) machine (thankfully it's a x86 QNX 6.3.2 host running under VMWare).
>
> Has anyone encountered anything similar? Has anyone been able to port DBus from Linux to QNX? It looks like it should be fairly straightforward since (thankfully) DBus does not appear to have any dependencies on Linux specific features.
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post11167
>
--
cburgess@qnx.comColin Burgess(deleted)2008-07-28T20:43:59Zpost11167: Help: DBus port for QNX???Glenn Schmottlachhttp://community.qnx.com/sf/go/post111672008-07-28T20:19:27Z2008-07-28T20:19:27ZHas anyone successfully been able to port DBus onto QNX? Ideally, I'd like to port it to both x86, SH4, and ARM processors under QNX 6.3.2.
I have already attempted this feat by pulling down the latest DBus tarball (version 1.2.1), using "addvariant" to create nto-x86-o and nto-sh-le directories and provided a simple build-hooks script to set the appropriate compiler depending on the target. At that point I invoke 'make' and QNX's recursive make automagically calls GNU autoconf's "configure" script to generate the necessary Makefiles. The "configure" script nearly reaches the end where it invokes the "config.status" script to do some final generation steps and just hangs forever. If I ctrl-C to break out I'm left at a prompt where even 'ls' does not work. I can navigate the filesystem but cannot 'ls' anything. So, the configure scripts whacks the OS horribly. Even susequent logins do not fix the problem. I'm forced to reboot the (virtual) machine (thankfully it's a x86 QNX 6.3.2 host running under VMWare).
Has anyone encountered anything similar? Has anyone been able to port DBus from Linux to QNX? It looks like it should be fairly straightforward since (thankfully) DBus does not appear to have any dependencies on Linux specific features.Glenn Schmottlach2008-07-28T20:19:27Zpost11117: Bazaar repository issueDennis Kelllyhttp://community.qnx.com/sf/go/post111172008-07-26T12:34:20Z2008-07-26T12:34:20ZThe repository included in the bazaar has some great stuff. But has no one noticed that the utility to access it is "qnxinstall" NOT "qnxinstaller" as indicated on the webpage (http://community.qnx.com/sf/wiki/do/viewPage/projects.bazaar/wiki/Software_Directory) ???
...even the .png's say "qnxinstaller".
Besiides fixing this obvious barrier, how about more community visibility...
1) Put qnxinstall on the photon shelf under 'utilities' or 'configure'... (yes, I finally found it on "Launch" labelled 'Installer" - but shelf seems to have more visibility)
2) Pre-seed the URL drop down with the community repository (like done for "file:///pkgs/base".
It really is a shame if new users overlook all available packages!Dennis Kellly2008-07-26T12:34:20Zpost10815: Python on QNXAmit Gourgondahttp://community.qnx.com/sf/go/post108152008-07-21T17:44:19Z2008-07-21T17:44:19ZHi,
I am working on porting a middleware application to make it work on QNX. Part of our application is python code. So I need cross compile Python for QNX.
My setup.
development machine : fedora 8 i686
cross compiler : QNX momentics 6.3.2
target : QNX ppc machine.
Now I am not finding a correct version of python which I can compile for QNX.
I tried to cross compile python-2.2.1-qnx6.tar.gz. and I picked it from http://sourceforge.net/projects/pyqnx.
The steps involved in compiling it are as below
1 export QNX_CONFIGURATION=/etc/qnx
2 export QNX_HOST=/opt/qnx632/host/linux/x86
3 export QNX_JAVAHOME=/opt/qnx632/_jvm142
4 export QNX_TARGET=/opt/qnx632/target/qnx6
5. ./configure --host=powerpc-unknow-nto-qnx6.3.0
after this the configure hangs at "checking whether the C++ (QCC ) compiler works.
Please guide me what should I do to cross compile.
Thank you in advance.
Regards,
AmitAmit Gourgonda2008-07-21T17:44:19Zpost10308: RE: online chat facilityFrederic Plante(deleted)http://community.qnx.com/sf/go/post103082008-07-10T13:00:27Z2008-07-10T13:00:27ZA list of forums is available here:
http://www.qnx.com/community/forums.html
-----Original Message-----
From: murugadoss v [mailto:v.murugadoss@gdatech.co.in]
Sent: July 10, 2008 2:14 AM
To: general-bazaar
Subject: QNX:online chat facility
Hi,
I am new user of QNX. Is there any online forum/chat facility available,
where the developer and users be online and provide suggestion for the
queries. If there is any, please give me the link.
Thank u
--
*/Regards,/*
/V.Murugadoss
/
-------------------
We recently installed the spam filter from Abaca. It's over 99%
accurate.
Check it out - http://www.abaca.com/promo.htm?domain=gdatech.co.in
-------------------
_______________________________________________
General
http://community.qnx.com/sf/go/post10290Frederic Plante(deleted)2008-07-10T13:00:27Zpost10290: QNX:online chat facilitymurugadoss vhttp://community.qnx.com/sf/go/post102902008-07-10T06:14:04Z2008-07-10T06:14:04ZHi,
I am new user of QNX. Is there any online forum/chat facility available,
where the developer and users be online and provide suggestion for the
queries. If there is any, please give me the link.
Thank u
--
*/Regards,/*
/V.Murugadoss
/
-------------------
We recently installed the spam filter from Abaca. It's over 99% accurate.
Check it out - http://www.abaca.com/promo.htm?domain=gdatech.co.in
-------------------murugadoss v2008-07-10T06:14:04Zpost8459: Re: RE: Request for Packaging/Porting: Python 2.5.1Josh Schmiedlin(deleted)http://community.qnx.com/sf/go/post84592008-05-27T13:57:30Z2008-05-27T13:57:30ZDeric,
Man I wish I would have looked back at my post a little sooner than this (it has been crazy busy here at work). At anyrate do you still have the binary laying around for x86 python?
Thanks,
JoshJosh Schmiedlin(deleted)2008-05-27T13:57:30Zpost7185: timer mmsystem ?j vhttp://community.qnx.com/sf/go/post71852008-04-22T15:48:21Z2008-04-22T15:48:21ZI need to create a systemwide timer under QNX.
I wonder if I can use the mmmsytem timer because theoretically it is multi platform.
And if that is the case where may I find it?j v2008-04-22T15:48:21Z