Feed for discussion QNX BSPs in project BSPs and Drivers. Posts for QNX BSPs post101598: Beagleboard-XM rev C ethernet connection problem Önder Altan http://community.qnx.com/sf/go/post101598 2013-05-22T14:10:35Z 2013-05-22T14:10:35Z Hi; I am trying to boot beagleboard-xm rev c (4611xM383 card), with qnx 6.5.0 & SP1 but ethernet device cannot be identified. What can be the problem? I have "readenv() fail" at boot time. Any suggestions and comments? Thank you. Önder Altan 2013-05-22T14:10:35Z post101561: Re: Getting LCD to work on TI DM3730 David Kvasnica http://community.qnx.com/sf/go/post101561 2013-05-20T18:18:04Z 2013-05-20T18:18:04Z Unfortunately I need the LCD working, not DVI :( I've been looking at this problem quite extensively, and I've determined that I need to modify the display driver code in order to get it functional with our board (similar to a beagleboard, but not quite the same). Simply modifying the config files won't work for our system David Kvasnica 2013-05-20T18:18:04Z post101550: Re: can't use usb on omap3530 white shaw http://community.qnx.com/sf/go/post101550 2013-05-19T13:05:54Z 2013-05-19T13:05:54Z hi,thanks for your advice very much,can i ask you a question?what do you use the beagleboard for? now i am writing a USB driver for a USB camera,but i don't know how to do it,because i don't have a USB DDK,have you ever did this kind of work before,would you please give me some advices,thanks very much. White white shaw 2013-05-19T13:05:54Z post101548: Re: can't use usb on omap3530 David Sarrazin http://community.qnx.com/sf/go/post101548 2013-05-18T15:57:42Z 2013-05-18T15:57:42Z Sent from my BlackBerry 10 smartphone. From: Peter Barrie Sent: Saturday, May 18, 2013 9:48 AM To: general-bsp Reply To: general-bsp@community.qnx.com Subject: Re: can't use usb on omap3530 I came across the same problem on Revision C board, since USB is disabled at boot time since RevC. I provided a quick fix for this: See: http://community.qnx.com/sf/go/projects.bsp/discussion.bsp.topc20371 However, you can ignore this since the USB is now enabled in the latest BSP that you can download from Foundry27. _______________________________________________ QNX BSPs http://community.qnx.com/sf/go/post101547 To cancel your subscription to this discussion, please e-mail general-bsp-unsubscribe@community.qnx.com David Sarrazin 2013-05-18T15:57:42Z post101547: Re: can't use usb on omap3530 Peter Barrie http://community.qnx.com/sf/go/post101547 2013-05-18T13:48:52Z 2013-05-18T13:48:52Z I came across the same problem on Revision C board, since USB is disabled at boot time since RevC. I provided a quick fix for this: See: http://community.qnx.com/sf/go/projects.bsp/discussion.bsp.topc20371 However, you can ignore this since the USB is now enabled in the latest BSP that you can download from Foundry27. Peter Barrie 2013-05-18T13:48:52Z post101546: Beagleboard xM Revision C graphics configuration 1024x768 Peter Barrie http://community.qnx.com/sf/go/post101546 2013-05-18T13:40:04Z 2013-05-18T13:40:04Z Beagleboard xM Revision C / QNX 6.5 SP1 Does anybody have an omap35xx.conf (and display.conf) configuration setting for standard LCD monitor 1024x768 @ 60 or 75Hz ? Or alternatively can somebody point me at appropriate documentation for this file so that I can calculate the settings? I've searched quite extensively but cannot find this information. I'm currently running at 800x600 (with Dell LCD monitor 1908FPC) and can provide working settings if anybody has had problems. Also, I'm running qt applications on this board and am willing to help help if anybody has had any initial problems (Windows XP host and two working targets: Beagleboard xM RevC and latest QNX VmWare image ). Thanks, Pete Peter Barrie 2013-05-18T13:40:04Z post101545: Re: Getting LCD to work on TI DM3730 Peter Barrie http://community.qnx.com/sf/go/post101545 2013-05-18T13:25:40Z 2013-05-18T13:25:40Z I have spent several days before sorting an identical problem. Try setting disptype=5 for the display configuration that you enable (the first un-commented configuration line) In the omap35xx.conf file shipped with the 6.4 BSP the comment at top of file says: # disptype 0 - DVI, 1 - QVGA (3530evm), 2 - VGA (3530evm), 3 - Custom, 4 - AM3517EVM (LCD), 5 - DVI for omap3730 xM A/B However, this does not carry through to the omap45xx.conf file shipped with the latest version of the BSP, where the option 5 part of the comment is unfortunately missed out! So I have: # VGA 800 x 600 @ 56Hz VESA 1024 800 625 600 35.16 56.25 36.00 24 72 + 128 1 2 + 22 (tested on Beagle DVI) WORKING Beagleboard xM Rev C Display.conf hsw=72,hfp=24,hbp=128,vsw=2,vfp=1,vbp=22,ivs=1,ihs=1,ipc=1,ieo=0x0,acb=0,acbi=0,pcd=0x4,ppl=800,lpp=600,irq=25,disptype=5,lcdfmt=0x3,dpowerg70=1 Note my display.conf setting: device { drivername=omap35xx vid=0 did=0 modeopts=/etc/system/config/omap35xx.conf display { xres=800 yres=600 refresh=60 pixel_format=rgb565 } } Just to note - if you look closely at the shipped file you will see that disptype=5 is actually set for the default display configuration that comes enabled with this file (720 x 400 @ 70Hz IBM) - it is just not documented. BTW I have tested this with Beagleboard xM Revison C board and it is working. It is displaying with settings above on a standard 800x600 mode on desktop LCD monitor: Dell 1908FPC. Also, I am now running qt on the board and it is displaying OK. Peter Barrie 2013-05-18T13:25:40Z post101488: A15 SMP ran wainstein http://community.qnx.com/sf/go/post101488 2013-05-16T15:39:55Z 2013-05-16T15:39:55Z Hi, I've downloaded "TI OMAP5432 EVM" BSP. I see that main() enables mmu and disable it back when starting SMP. Is this a requirement for A15 SMP ? Thanks, Ran ran wainstein 2013-05-16T15:39:55Z post101430: qnx smp on Windriver hypervisor xu kanfeng http://community.qnx.com/sf/go/post101430 2013-05-15T07:43:35Z 2013-05-15T07:43:35Z Hi all, I have been working on the freescale p4080 for months.The QNX bsp downloaded from the QNX.com downloaded center works perfect, but when I tried to run the OS on the Windriver hypervisor instead of runing directly on the hardware, smp initiation failed. When runing on the hardware, the OS init the smp by setting the registers in CCSR, and when running on the hypervisor, hypervisor mapped the CCSR space, and the data in related registers seems OK, but actually smp initiation was failed. I was wondering if the hypervisor had an effect on the initiation of smp. I worked on the hypervisor for several days and found out that the hypervisor use "spin table" to init the OS running on it, I tried to use the "spin table" instead of the function of CCSR to init smp, but it still doesn't work. Anyone has related works and can lend me a hand please? xu kanfeng 2013-05-15T07:43:35Z post101320: Is there any Idea to support BSPs for Qualcomm chipsets Krishna Kanth Reddy http://community.qnx.com/sf/go/post101320 2013-05-13T05:49:49Z 2013-05-13T05:49:49Z Hi Fred, Is there any idea to support BSPs for Qualcomm chipsets? Regards, Krishna Kanth Bangalore, India Krishna Kanth Reddy 2013-05-13T05:49:49Z post101208: Re: QNX BSP beaglebone CAN device Stefan Hall http://community.qnx.com/sf/go/post101208 2013-05-07T12:49:39Z 2013-05-07T12:49:39Z Hi, I am also having this exact problem and can't find where we have gone wrong. If anyone can give me an idea where our problem is that would be a great help! Cheers, Stefan Stefan Hall 2013-05-07T12:49:39Z post101206: Will it be supported ??? Armin Steinhoff http://community.qnx.com/sf/go/post101206 2013-05-07T10:48:00Z 2013-05-07T10:48:00Z http://newsroom.intel.com/community/intel_newsroom/blog/2013/05/06/intel-launches-low-power-high-performance-silvermont-microarchitecture --Armin Armin Steinhoff 2013-05-07T10:48:00Z post101159: QNX BSP Nitrogen6x Serial Port and Canbus cagri akalin http://community.qnx.com/sf/go/post101159 2013-05-06T06:44:40Z 2013-05-06T06:44:40Z Dear all, I am having a problem with Nitrogen6x board.I am using the QNX BSP provided for Nitrogen6x. I am trying to write a C code for Canbus and Serial Port seperately. I can transmit Canbus and Serial Port data from board but can't recieve any data. I made all possible configration (change O_NDELAY,O_NOCTTY CLOCAL, CREAD, CS8 for serial port) . I tested serial port with connecting Tx and Rx so there shouldn't be a baud rate problem. What should i do about that problem? Thanks, Çağrı AKALIN cagri akalin 2013-05-06T06:44:40Z post101152: Re: SPI on BeagleBone - Endianness Problems. Dan Kirkpatrick http://community.qnx.com/sf/go/post101152 2013-05-05T03:30:05Z 2013-05-05T03:30:05Z > I know the underlying processor has the capability to swap to little endian in > hardware, ... I'm not sure that's true... In fact I don't remember choices other than MSB first with any processors; but that doesn't mean much :) From the am335x user manual: "The SPI words are transferred with MSB first." I don't know how one would change that. I'm fairly new to QNX (less new to the am335x), and since you are already sending spi data; how did you link the spi-master libraries to your project? I get constant errors saying that the linker can't find spi-open(). I've been searching for tips on this for weeks, but I can't quite figure out how to get a spi version of "hello-world" on the beaglebone under QNX. I can build the image, boot, connect, blink LEDs, and debug; but no spi so far. fileHandle = open( "/dev/spi1", O_RDWR ); Doesn't help either. Any help you could post might help a lot of people, since it's not really out there. > This is the initialisation code I am using: > > const char SPI_HANDLE[] = "/dev/spi0"; > const int SPI_SPEED = 125000; > > //Gain hardware access > ThreadCtl(_NTO_TCTL_IO, 0); > > // Load SPI Driver > if (access(SPI_HANDLE, F_OK) == -1) > { > system("spi-master -d am335x base=0x481A0100,irq=125,edma=1,edmairq=555, > edmachannel=43"); > std::cout << "SPI Driver Loaded..." << std::endl; > } > > // Open SPI Module (/dev/spi0 actually loads SPI1 in hardware...) > fd_ = spi_open(SPI_HANDLE); > > if (fd_ < 0) > std::cout << "Unable to open SPI..." << std::endl; > else > { > spi_devinfo_t info; > if(spi_getdevinfo(fd_, SPI_DEV_DEFAULT, &info) != EOK) > std::cout << "Error reading SPI Configuration!" << std::endl; > > //info.cfg.mode |= SPI_MODE_CSPOL_HIGH; > info.cfg.mode |= SPI_MODE_CSSTAT_HIGH; > //info.cfg.mode |= SPI_MODE_CSHOLD_HIGH; > info.cfg.clock_rate = SPI_SPEED; > info.cfg.mode &= ~SPI_MODE_CKPOL_HIGH; > info.cfg.mode |= SPI_MODE_CKPHASE_HALF; > //info.cfg.mode |= SPI_MODE_RDY_EDGE; > //info.cfg.mode |= SPI_MODE_BODER_MSB; > //info.cfg.mode |= SPI_MODE_RDY_LEVEL; > //info.cfg.mode |= SPI_MODE_IDLE_INSERT; > > if (spi_setcfg(fd_, SPI_DEV_DEFAULT, &info.cfg) != EOK) > std::cout << "Error setting SPI Configuration!" << std::endl; > > if(spi_getdevinfo(fd_, SPI_DEV_DEFAULT, &info) != EOK) > std::cout << "Error reading SPI Configuration!" << std::endl; > > const int w = 16; > > std::cout << std::left; > std::cout << "+------------------------------------+" << std::endl; > std::cout << "| BeagleBone SPI1 Configuration |" << std::endl; > std::cout << "+-----------------+------------------+" << std::endl; > std::cout << "| Clock Rate: | " << std::setw(w) << info.cfg.clock_rate < > < " |" << std::endl; > std::cout << "| Clock Polarity: | " << std::setw(w) << ((info.cfg.mode & > SPI_MODE_CKPOL_HIGH) ? 1 : 0) << " |" << std::endl; > std::cout << "| Clock Phase: | " << std::setw(w) << ((info.cfg.mode & > SPI_MODE_CKPHASE_HALF) ? 1 : 0) << " |" << std::endl; > std::cout << "| Bit Order: | " << std::setw(w) << ((info.cfg.mode & > SPI_MODE_BODER_MSB) ? 1 : 0) << " |" << std::endl; > std::cout << "| CS Polarity: | " << std::setw(w) << ((info.cfg.mode & > SPI_MODE_CSPOL_HIGH) ? 1 : 0) << " |" << std::endl; > std::cout << "| CSSTAT: | " << std::setw(w) << ((info.cfg.mode & > SPI_MODE_CSSTAT_HIGH) ? 1 : 0) << " |" << std::endl; > std::cout << "| Ready Edge: | " << std::setw(w) << ((info.cfg.mode & > SPI_MODE_RDY_EDGE) ? 1 : 0) << " |" << std::endl; > std::cout << "| Ready Level: | " << std::setw(w) << ((info.cfg.mode & > SPI_MODE_RDY_LEVEL) ? 1 : 0) << " |" << std::endl; > std::cout << "| Idle Insert: | " << std::setw(w) << ((info.cfg.mode & > SPI_MODE_IDLE_INSERT) ? 1 : 0) << " |" << std::endl; > std::cout << "+-----------------+------------------+" << std::endl; > } > > Any help towards fixing this problem will be greatly appreciated. > > Thanks, Thomas. Dan Kirkpatrick 2013-05-05T03:30:05Z post101137: QNX BSP beaglebone CAN device aymen ketata http://community.qnx.com/sf/go/post101137 2013-05-03T19:09:58Z 2013-05-03T19:09:58Z Hi ! I have an issue with the CAN Device on beagle bone running QNX. I am using the QNX BSP provided for beaglebone[1]. I initialized the CAN device by adding the binary to the QNX image and I am able to send messages in a self-test loop back mode using echo testing > /dev/can1/tx16 and cat /dev/can1/rx0. I am trying to write a C code for transmitting messages using the library provided in the BSP under /src/hardware/can . My code initialize the structures(messages and can device) provided in canam335x.h and calls the function can_drvr_transmit(&(devlist[16].cdev)); When the program reach this ligne(in canam335x.c/ function dcansetobj() ) out32(devinfo->base + AM335X_DCAN_IF1CMD, cmd); the board reboot. I tried to debug this problem by printing the register status and compare the values obtained by a sample echo testing > /dev/can1/tx16 and executing my code. [Attached files] Did you guys tired to test the can bus on beagle bone running QNX before? Anyone had this bug before? Any sample code for help? Thanks. [1]: http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/TiAm335Beaglebone aymen ketata 2013-05-03T19:09:58Z post101128: Re: CAN on beaglebone running QNX aymen ketata http://community.qnx.com/sf/go/post101128 2013-05-03T15:38:19Z 2013-05-03T15:38:19Z Hi John, The QNX BSP for beaglebone has a library for the CAN device. I am using it to write a C code for transmitting messages. It's in src/hardware/can. I am still working on it but I guess this library should be helpful for you. aymen ketata 2013-05-03T15:38:19Z post101121: Re: Texas Instrument AM335 Beaglebone CAN Driver aymen ketata http://community.qnx.com/sf/go/post101121 2013-05-03T14:55:09Z 2013-05-03T14:55:09Z Hi! I have the same issue as you guys. I could include and initiate the CAN device by including the binary in my build image. I was able to echo messages on the tx mailboxes and read it on the rx ones. I want to write C code for that so I used the library provided by the BSP under src/hardware/can. My code crashes (and QNX reboot) when I try to send a cmd to the can register (in dcan_setobj function when it reaches IF1/IF2 message control command). Did you guys figured out how to use the library? did you test the can bus? any help with sample code? Thanks. aymen ketata 2013-05-03T14:55:09Z post101120: Re: mkfifo failure Raghunandan Kamath http://community.qnx.com/sf/go/post101120 2013-05-03T14:28:17Z 2013-05-03T14:28:17Z Hi, I am facing the same issue. Has anyone found the solution? BR,Raghu Raghunandan Kamath 2013-05-03T14:28:17Z post100934: SPI on BeagleBone - Endianness Problems. Thomas Hudson http://community.qnx.com/sf/go/post100934 2013-04-28T09:57:32Z 2013-04-28T09:57:32Z Hey Everyone, Writing an application that uses SPI to communicate with a handheld controller using the BeagleBone. I have written code to successfully communicate between the two, however I have to manually reverse the Endian-ness of the transmitted information in software. The controller requires little endian (LSB first) data, where QNX as it is currently setup only allows big endian transmission. I know the underlying processor has the capability to swap to little endian in hardware, but I have not been able to find a relevant setting that will do this for me. This is the initialisation code I am using: const char SPI_HANDLE[] = "/dev/spi0"; const int SPI_SPEED = 125000; //Gain hardware access ThreadCtl(_NTO_TCTL_IO, 0); // Load SPI Driver if (access(SPI_HANDLE, F_OK) == -1) { system("spi-master -d am335x base=0x481A0100,irq=125,edma=1,edmairq=555,edmachannel=43"); std::cout << "SPI Driver Loaded..." << std::endl; } // Open SPI Module (/dev/spi0 actually loads SPI1 in hardware...) fd_ = spi_open(SPI_HANDLE); if (fd_ < 0) std::cout << "Unable to open SPI..." << std::endl; else { spi_devinfo_t info; if(spi_getdevinfo(fd_, SPI_DEV_DEFAULT, &info) != EOK) std::cout << "Error reading SPI Configuration!" << std::endl; //info.cfg.mode |= SPI_MODE_CSPOL_HIGH; info.cfg.mode |= SPI_MODE_CSSTAT_HIGH; //info.cfg.mode |= SPI_MODE_CSHOLD_HIGH; info.cfg.clock_rate = SPI_SPEED; info.cfg.mode &= ~SPI_MODE_CKPOL_HIGH; info.cfg.mode |= SPI_MODE_CKPHASE_HALF; //info.cfg.mode |= SPI_MODE_RDY_EDGE; //info.cfg.mode |= SPI_MODE_BODER_MSB; //info.cfg.mode |= SPI_MODE_RDY_LEVEL; //info.cfg.mode |= SPI_MODE_IDLE_INSERT; if (spi_setcfg(fd_, SPI_DEV_DEFAULT, &info.cfg) != EOK) std::cout << "Error setting SPI Configuration!" << std::endl; if(spi_getdevinfo(fd_, SPI_DEV_DEFAULT, &info) != EOK) std::cout << "Error reading SPI Configuration!" << std::endl; const int w = 16; std::cout << std::left; std::cout << "+------------------------------------+" << std::endl; std::cout << "| BeagleBone SPI1 Configuration |" << std::endl; std::cout << "+-----------------+------------------+" << std::endl; std::cout << "| Clock Rate: | " << std::setw(w) << info.cfg.clock_rate << " |" << std::endl; std::cout << "| Clock Polarity: | " << std::setw(w) << ((info.cfg.mode & SPI_MODE_CKPOL_HIGH) ? 1 : 0) << " |" << std::endl; std::cout << "| Clock Phase: | " << std::setw(w) << ((info.cfg.mode & SPI_MODE_CKPHASE_HALF) ? 1 : 0) << " |" << std::endl; std::cout << "| Bit Order: | " << std::setw(w) << ((info.cfg.mode & SPI_MODE_BODER_MSB) ? 1 : 0) << " |" << std::endl; std::cout << "| CS Polarity: | " << std::setw(w) << ((info.cfg.mode & SPI_MODE_CSPOL_HIGH) ? 1 : 0) << " |" << std::endl; std::cout << "| CSSTAT: | " << std::setw(w) << ((info.cfg.mode & SPI_MODE_CSSTAT_HIGH) ? 1 : 0) << " |" << std::endl; std::cout << "| Ready Edge: | " << std::setw(w) << ((info.cfg.mode & SPI_MODE_RDY_EDGE) ? 1 : 0) << " |" << std::endl; std::cout << "| Ready Level: | " << std::setw(w) << ((info.cfg.mode & SPI_MODE_RDY_LEVEL) ? 1 : 0) << " |" << std::endl; std::cout << "| Idle Insert: | " << std::setw(w) << ((info.cfg.mode & SPI_MODE_IDLE_INSERT) ? 1 : 0) << " |" << std::endl; std::cout << "+-----------------+------------------+" << std::endl; } Any help towards fixing this problem will be greatly appreciated. Thanks, Thomas. Thomas Hudson 2013-04-28T09:57:32Z post100927: Where to get the Qt 5 QNX SDK referenced in the QNX Accelerator Kit? David Lafreniere http://community.qnx.com/sf/go/post100927 2013-04-26T21:37:44Z 2013-04-26T21:37:44Z I am trying to get Qt 5 running on the Sabre Lite evaluation board using the QNX Accelerator Kit. The QNX Accelerator Kit Quickstart Guide says the "Qt 5 QNX SDK" must be installed. • the Qt 5 QNX SDK, frs.mmmm.qt5_software_development_kit. Install this SDK on your Windows PC. Where can this be downloaded? I can't find any information on the QNX or Qt sites. Thank you! David Lafreniere 2013-04-26T21:37:44Z post100925: Re: QNX booting on i.MX6 Nitrogen6x problem David Lafreniere http://community.qnx.com/sf/go/post100925 2013-04-26T21:23:57Z 2013-04-26T21:23:57Z Solved. I was using the wrong SP1 and needed the Windows installation. David Lafreniere 2013-04-26T21:23:57Z post100923: Build project with prebuilt archives john kurcher http://community.qnx.com/sf/go/post100923 2013-04-26T19:52:36Z 2013-04-26T19:52:36Z Hi guys, I want to add some archives to my projects and build it afterwards. Is there any fency thing to do to add it to the build process using Momentics IDE ?? Thanks john kurcher 2013-04-26T19:52:36Z post100899: CAN on beaglebone running QNX john kurcher http://community.qnx.com/sf/go/post100899 2013-04-26T14:24:37Z 2013-04-26T14:24:37Z I want to implement CAN communication on beaglebone running QNX. I built a new image of QNX supporting CAN. I couldn't find a library or a sample code using CAN protocol on beaglebone. Most of forums says that this implementation is hard and has not been tested before. Anyone has an idea, help ?? john kurcher 2013-04-26T14:24:37Z post100861: Support for OSPF ravi varma http://community.qnx.com/sf/go/post100861 2013-04-24T17:17:32Z 2013-04-24T17:17:32Z Hi I would like to know if QNX can support OSPF protocol (Open shortest path first). We are looking for the same in our project. can some one help with - How it can be activiated, which BSP/QNX version .. in case QNX supports - Is there any alternate approach to acheive the funcationality .. thanks Ravi ravi varma 2013-04-24T17:17:32Z post100851: BeagleBone Black Armin Steinhoff http://community.qnx.com/sf/go/post100851 2013-04-24T14:43:09Z 2013-04-24T14:43:09Z Hi, are there plans to support the new BeagleBone Black ? Time frames ? --Armin PS: the ARMv7/QNX6 version of DACHSview works now with the BeagleBone ! It is using the JIT support of TCC for creation of functionblock code ... http://www.the-better-idea.com/embedded_CC.htm Armin Steinhoff 2013-04-24T14:43:09Z post100832: Re: pci enumeration without bios/ipl Michael Tasche http://community.qnx.com/sf/go/post100832 2013-04-24T10:08:42Z 2013-04-24T10:08:42Z > We have many variants of the server.c code to cater for different > platforms, so to answer your question, no, we won't be merging and PCI > code. I was thinking, there could be a Master-Source-Tree at QSSL, where the newest pci-server is maintained (e.g. server.c). Also I thougth, this actual pci-server would have further developed interfaces, so that there is no need for future BSP's to clone the generic part from the year 2008. Ok, this thoughs seems to be wrong. Thanks for your answers Michael > > > > On 2013-04-23 12:45 PM, "Michael Tasche" <community-noreply@qnx.com> wrote: > > >> I would put some debug into the setup_pci_io and setup_pci_mem functions > >> and see what is happening there, as that is where the resources should > >>be > >> allocated. > > > >Yes, I was already there with the gdb. > >Well, I just found the problem: > >In this strange root-complex the class is wired to PCI2PCI-Bridge. > >=> This break condition erroneously stops the traversback through the > >bridges. > >if (dev->ClassCode == host_bridge_class) > > break; > > > >Well, there is one question left. > >During the bugfixing, I looked at several new BSP'S, where the generic > >part of the pci-server was cloned to the actual driver directories > >getting many patches. > >=> We have a generic part from the year 2008 and several patched generic > >parts in some new BSP'S. > >Is there a plan to merge this to a new official generic pci-server? > > > >-Michael > > > >> > >> > >> > >> > >> On 2013-04-23 8:14 AM, "Michael Tasche" <community-noreply@qnx.com> > >>wrote: > >> > >> >> What BSP are you using to base your PCI server on? > >> >"Freescale i.MX6Q Sabre Board for Smart Devices" > >> > > >> >I had to intergrate some knowledge of the last linux driver. > >> >The original imx6x pci driver seems to work only with exact one > >>device. > >> >I attached my actual driver files. > >> > > >> >-Michael > >> > > >> >> > >> >> > >> >> > >> >> > >> >> On 2013-04-23 4:45 AM, "Michael Tasche" <community-noreply@qnx.com> > >> >>wrote: > >> >> > >> >> >Hi all, > >> >> > > >> >> >I am working on a BSP (QNX 6.5.0SP1) for an i.mx6 board. > >> >> >The boot-monitor has no PCI-Support! > >> >> >=> Everything has to be done by the pci-server. > >> >> > > >> >> >There seems to be a problem with the bridge configuration. > >> >> >Attached you will find some logs. (pci-bridges, bus_map, pci-v, > >> >>sloginfo) > >> >> > > >> >> >At the momnet there is only one device attached(bus5/dev0/func0). > >> >> >This device is connected to one port of a 3-port pcie-switch. > >> >> >The upstream-port of this switch is connected to the > >> >>root-complex(i.mx6). > >> >> > > >> >> >The bus-map seems to be NOT initialized correctly (mem_start = 0x0, > >> >> >mem_end = 0x0?). > >> >> > > >> >> >If I try to start the device driver, the pci-server fails, because > >> >> >"pcimemory/Bus0/Bus1/Bus5" has not been created by the pci-server. > >> >>(Look > >> >> >at the last sloginfo) > >> >> > > >> >> >Where is my problem? > >> >> > > >> >> >Thanks in advance > >> >> >Michael > >> >> > > >> >> > > >> >> > > >> >> >_______________________________________________ > >> >> > > >> >> >QNX BSPs > >> >> >http://community.qnx.com/sf/go/post100788 > >> >> >To cancel your subscription to this discussion, please e-mail > >> >> >general-bsp-unsubscribe@community.qnx.com > >> >> > >> > > >> > > >> > > >> > > >> > > >> > > >> >_______________________________________________ > >> > > >> >QNX BSPs > >> >http://community.qnx.com/sf/go/post100797 > >> >To cancel your subscription to this discussion, please e-mail > >> >general-bsp-unsubscribe@community.qnx.com > >> > > > > > > > > > > > > > >_______________________________________________ > > > >QNX BSPs > >http://community.qnx.com/sf/go/post100817 > >To cancel your subscription to this discussion, please e-mail > >general-bsp-unsubscribe@community.qnx.com > Michael Tasche 2013-04-24T10:08:42Z post100818: Re: pci enumeration without bios/ipl Hugh Brown http://community.qnx.com/sf/go/post100818 2013-04-23T17:10:07Z 2013-04-23T17:10:07Z We have many variants of the server.c code to cater for different platforms, so to answer your question, no, we won't be merging and PCI code. On 2013-04-23 12:45 PM, "Michael Tasche" <community-noreply@qnx.com> wrote: >> I would put some debug into the setup_pci_io and setup_pci_mem functions >> and see what is happening there, as that is where the resources should >>be >> allocated. > >Yes, I was already there with the gdb. >Well, I just found the problem: >In this strange root-complex the class is wired to PCI2PCI-Bridge. >=> This break condition erroneously stops the traversback through the >bridges. >if (dev->ClassCode == host_bridge_class) > break; > >Well, there is one question left. >During the bugfixing, I looked at several new BSP'S, where the generic >part of the pci-server was cloned to the actual driver directories >getting many patches. >=> We have a generic part from the year 2008 and several patched generic >parts in some new BSP'S. >Is there a plan to merge this to a new official generic pci-server? > >-Michael > >> >> >> >> >> On 2013-04-23 8:14 AM, "Michael Tasche" <community-noreply@qnx.com> >>wrote: >> >> >> What BSP are you using to base your PCI server on? >> >"Freescale i.MX6Q Sabre Board for Smart Devices" >> > >> >I had to intergrate some knowledge of the last linux driver. >> >The original imx6x pci driver seems to work only with exact one >>device. >> >I attached my actual driver files. >> > >> >-Michael >> > >> >> >> >> >> >> >> >> >> >> On 2013-04-23 4:45 AM, "Michael Tasche" <community-noreply@qnx.com> >> >>wrote: >> >> >> >> >Hi all, >> >> > >> >> >I am working on a BSP (QNX 6.5.0SP1) for an i.mx6 board. >> >> >The boot-monitor has no PCI-Support! >> >> >=> Everything has to be done by the pci-server. >> >> > >> >> >There seems to be a problem with the bridge configuration. >> >> >Attached you will find some logs. (pci-bridges, bus_map, pci-v, >> >>sloginfo) >> >> > >> >> >At the momnet there is only one device attached(bus5/dev0/func0). >> >> >This device is connected to one port of a 3-port pcie-switch. >> >> >The upstream-port of this switch is connected to the >> >>root-complex(i.mx6). >> >> > >> >> >The bus-map seems to be NOT initialized correctly (mem_start = 0x0, >> >> >mem_end = 0x0?). >> >> > >> >> >If I try to start the device driver, the pci-server fails, because >> >> >"pcimemory/Bus0/Bus1/Bus5" has not been created by the pci-server. >> >>(Look >> >> >at the last sloginfo) >> >> > >> >> >Where is my problem? >> >> > >> >> >Thanks in advance >> >> >Michael >> >> > >> >> > >> >> > >> >> >_______________________________________________ >> >> > >> >> >QNX BSPs >> >> >http://community.qnx.com/sf/go/post100788 >> >> >To cancel your subscription to this discussion, please e-mail >> >> >general-bsp-unsubscribe@community.qnx.com >> >> >> > >> > >> > >> > >> > >> > >> >_______________________________________________ >> > >> >QNX BSPs >> >http://community.qnx.com/sf/go/post100797 >> >To cancel your subscription to this discussion, please e-mail >> >general-bsp-unsubscribe@community.qnx.com >> > > > > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post100817 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com Hugh Brown 2013-04-23T17:10:07Z post100817: Re: pci enumeration without bios/ipl Michael Tasche http://community.qnx.com/sf/go/post100817 2013-04-23T16:45:13Z 2013-04-23T16:45:13Z > I would put some debug into the setup_pci_io and setup_pci_mem functions > and see what is happening there, as that is where the resources should be > allocated. Yes, I was already there with the gdb. Well, I just found the problem: In this strange root-complex the class is wired to PCI2PCI-Bridge. => This break condition erroneously stops the traversback through the bridges. if (dev->ClassCode == host_bridge_class) break; Well, there is one question left. During the bugfixing, I looked at several new BSP'S, where the generic part of the pci-server was cloned to the actual driver directories getting many patches. => We have a generic part from the year 2008 and several patched generic parts in some new BSP'S. Is there a plan to merge this to a new official generic pci-server? -Michael > > > > > On 2013-04-23 8:14 AM, "Michael Tasche" <community-noreply@qnx.com> wrote: > > >> What BSP are you using to base your PCI server on? > >"Freescale i.MX6Q Sabre Board for Smart Devices" > > > >I had to intergrate some knowledge of the last linux driver. > >The original imx6x pci driver seems to work only with exact one device. > >I attached my actual driver files. > > > >-Michael > > > >> > >> > >> > >> > >> On 2013-04-23 4:45 AM, "Michael Tasche" <community-noreply@qnx.com> > >>wrote: > >> > >> >Hi all, > >> > > >> >I am working on a BSP (QNX 6.5.0SP1) for an i.mx6 board. > >> >The boot-monitor has no PCI-Support! > >> >=> Everything has to be done by the pci-server. > >> > > >> >There seems to be a problem with the bridge configuration. > >> >Attached you will find some logs. (pci-bridges, bus_map, pci-v, > >>sloginfo) > >> > > >> >At the momnet there is only one device attached(bus5/dev0/func0). > >> >This device is connected to one port of a 3-port pcie-switch. > >> >The upstream-port of this switch is connected to the > >>root-complex(i.mx6). > >> > > >> >The bus-map seems to be NOT initialized correctly (mem_start = 0x0, > >> >mem_end = 0x0?). > >> > > >> >If I try to start the device driver, the pci-server fails, because > >> >"pcimemory/Bus0/Bus1/Bus5" has not been created by the pci-server. > >>(Look > >> >at the last sloginfo) > >> > > >> >Where is my problem? > >> > > >> >Thanks in advance > >> >Michael > >> > > >> > > >> > > >> >_______________________________________________ > >> > > >> >QNX BSPs > >> >http://community.qnx.com/sf/go/post100788 > >> >To cancel your subscription to this discussion, please e-mail > >> >general-bsp-unsubscribe@community.qnx.com > >> > > > > > > > > > > > > > >_______________________________________________ > > > >QNX BSPs > >http://community.qnx.com/sf/go/post100797 > >To cancel your subscription to this discussion, please e-mail > >general-bsp-unsubscribe@community.qnx.com > Michael Tasche 2013-04-23T16:45:13Z post100801: Re: pci enumeration without bios/ipl Hugh Brown http://community.qnx.com/sf/go/post100801 2013-04-23T13:20:49Z 2013-04-23T13:20:49Z I would put some debug into the setup_pci_io and setup_pci_mem functions and see what is happening there, as that is where the resources should be allocated. On 2013-04-23 8:14 AM, "Michael Tasche" <community-noreply@qnx.com> wrote: >> What BSP are you using to base your PCI server on? >"Freescale i.MX6Q Sabre Board for Smart Devices" > >I had to intergrate some knowledge of the last linux driver. >The original imx6x pci driver seems to work only with exact one device. >I attached my actual driver files. > >-Michael > >> >> >> >> >> On 2013-04-23 4:45 AM, "Michael Tasche" <community-noreply@qnx.com> >>wrote: >> >> >Hi all, >> > >> >I am working on a BSP (QNX 6.5.0SP1) for an i.mx6 board. >> >The boot-monitor has no PCI-Support! >> >=> Everything has to be done by the pci-server. >> > >> >There seems to be a problem with the bridge configuration. >> >Attached you will find some logs. (pci-bridges, bus_map, pci-v, >>sloginfo) >> > >> >At the momnet there is only one device attached(bus5/dev0/func0). >> >This device is connected to one port of a 3-port pcie-switch. >> >The upstream-port of this switch is connected to the >>root-complex(i.mx6). >> > >> >The bus-map seems to be NOT initialized correctly (mem_start = 0x0, >> >mem_end = 0x0?). >> > >> >If I try to start the device driver, the pci-server fails, because >> >"pcimemory/Bus0/Bus1/Bus5" has not been created by the pci-server. >>(Look >> >at the last sloginfo) >> > >> >Where is my problem? >> > >> >Thanks in advance >> >Michael >> > >> > >> > >> >_______________________________________________ >> > >> >QNX BSPs >> >http://community.qnx.com/sf/go/post100788 >> >To cancel your subscription to this discussion, please e-mail >> >general-bsp-unsubscribe@community.qnx.com >> > > > > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post100797 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com Hugh Brown 2013-04-23T13:20:49Z post100797: Re: pci enumeration without bios/ipl Michael Tasche http://community.qnx.com/sf/go/post100797 2013-04-23T12:14:11Z 2013-04-23T12:14:11Z > What BSP are you using to base your PCI server on? "Freescale i.MX6Q Sabre Board for Smart Devices" I had to intergrate some knowledge of the last linux driver. The original imx6x pci driver seems to work only with exact one device. I attached my actual driver files. -Michael > > > > > On 2013-04-23 4:45 AM, "Michael Tasche" <community-noreply@qnx.com> wrote: > > >Hi all, > > > >I am working on a BSP (QNX 6.5.0SP1) for an i.mx6 board. > >The boot-monitor has no PCI-Support! > >=> Everything has to be done by the pci-server. > > > >There seems to be a problem with the bridge configuration. > >Attached you will find some logs. (pci-bridges, bus_map, pci-v, sloginfo) > > > >At the momnet there is only one device attached(bus5/dev0/func0). > >This device is connected to one port of a 3-port pcie-switch. > >The upstream-port of this switch is connected to the root-complex(i.mx6). > > > >The bus-map seems to be NOT initialized correctly (mem_start = 0x0, > >mem_end = 0x0?). > > > >If I try to start the device driver, the pci-server fails, because > >"pcimemory/Bus0/Bus1/Bus5" has not been created by the pci-server. (Look > >at the last sloginfo) > > > >Where is my problem? > > > >Thanks in advance > >Michael > > > > > > > >_______________________________________________ > > > >QNX BSPs > >http://community.qnx.com/sf/go/post100788 > >To cancel your subscription to this discussion, please e-mail > >general-bsp-unsubscribe@community.qnx.com > Michael Tasche 2013-04-23T12:14:11Z post100796: Re: pci enumeration without bios/ipl Hugh Brown http://community.qnx.com/sf/go/post100796 2013-04-23T11:55:59Z 2013-04-23T11:55:59Z What BSP are you using to base your PCI server on? On 2013-04-23 4:45 AM, "Michael Tasche" <community-noreply@qnx.com> wrote: >Hi all, > >I am working on a BSP (QNX 6.5.0SP1) for an i.mx6 board. >The boot-monitor has no PCI-Support! >=> Everything has to be done by the pci-server. > >There seems to be a problem with the bridge configuration. >Attached you will find some logs. (pci-bridges, bus_map, pci-v, sloginfo) > >At the momnet there is only one device attached(bus5/dev0/func0). >This device is connected to one port of a 3-port pcie-switch. >The upstream-port of this switch is connected to the root-complex(i.mx6). > >The bus-map seems to be NOT initialized correctly (mem_start = 0x0, >mem_end = 0x0?). > >If I try to start the device driver, the pci-server fails, because >"pcimemory/Bus0/Bus1/Bus5" has not been created by the pci-server. (Look >at the last sloginfo) > >Where is my problem? > >Thanks in advance >Michael > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post100788 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com Hugh Brown 2013-04-23T11:55:59Z post100788: pci enumeration without bios/ipl Michael Tasche http://community.qnx.com/sf/go/post100788 2013-04-23T08:45:49Z 2013-04-23T08:45:49Z Hi all, I am working on a BSP (QNX 6.5.0SP1) for an i.mx6 board. The boot-monitor has no PCI-Support! => Everything has to be done by the pci-server. There seems to be a problem with the bridge configuration. Attached you will find some logs. (pci-bridges, bus_map, pci-v, sloginfo) At the momnet there is only one device attached(bus5/dev0/func0). This device is connected to one port of a 3-port pcie-switch. The upstream-port of this switch is connected to the root-complex(i.mx6). The bus-map seems to be NOT initialized correctly (mem_start = 0x0, mem_end = 0x0?). If I try to start the device driver, the pci-server fails, because "pcimemory/Bus0/Bus1/Bus5" has not been created by the pci-server. (Look at the last sloginfo) Where is my problem? Thanks in advance Michael Michael Tasche 2013-04-23T08:45:49Z post100772: Re: No audio out on Panda Board Dennis Kellly http://community.qnx.com/sf/go/post100772 2013-04-22T12:38:48Z 2013-04-22T12:38:48Z Manuel- Sounds like "wave" doesn't like the format of your file. Use a windows .wav file. Output should look like... # wave /audio/utopia.wav SampleRate = 22050, Channels = 1, SampleBits = 16 Format Signed 16-bit Little Endian Frag Size 882 Total Frags 68 Rate 22050 Voices 1 Mixer Pcm Group [Wave playback channel] Dennis Kellly 2013-04-22T12:38:48Z post100771: Re: No audio out on Panda Board Dennis Kellly http://community.qnx.com/sf/go/post100771 2013-04-22T12:35:52Z 2013-04-22T12:35:52Z Manuel- Wave plays fine to lower jack for me. My /dev/snd looks like this. # ls -Fal /dev/snd total 0 -rw-rw-rw- 1 root root 0 Apr 22 08:29 controlC0 -rw-rw-rw- 1 root root 0 Apr 22 08:29 mixerC0D0 -rw-rw-rw- 1 root root 0 Apr 22 08:29 pcmC0D0c -rw-rw-rw- 1 root root 0 Dec 31 1999 pcmC0D0p -rw-rw-rw- 1 root root 0 Apr 22 08:30 pcmC0D1p -rw-rw-rw- 1 root root 0 Apr 22 08:29 pcmC0D2c -rw-rw-rw- 1 root root 0 Apr 22 08:29 pcmC0D2p -rw-rw-rw- 1 root root 0 Apr 22 08:29 pcmC0D3p lrw-rw-rw- 1 root root 0 Apr 22 08:29 pcmPreferredc@ -> pcmC0 D0c lrw-rw-rw- 1 root root 0 Apr 22 08:29 pcmPreferredp@ -> pcmC0 D1p Started in bootscript as... io-audio -d omap4pdm waitfor /dev/snd/pcmC0D0p Dennis Dennis Kellly 2013-04-22T12:35:52Z post100770: No audio out on Panda Board Manuel Kirschner http://community.qnx.com/sf/go/post100770 2013-04-22T12:21:19Z 2013-04-22T12:21:19Z Hello, Using the Panda Board BSP along with our Panda Board ES Rev B2, we're getting no audio out from our board. (I tried playing a PCM file via the `wave` command; the command just outputs "ChechHdr #1: No error", and returns with an error value of 255.) This is an excerpt from our boot-up messages, containing an audio driver info: --- Welcome to QNX Neutrino 6.5.0 SP1 on the Texas Instruments OMAP4430 (ARMv7 Cortex-A9 core) - Panda Board starting I2C driver... Configuring power management chip... TWL6030 ES2.1 Starting McPDM audio driver... Setting OS clock from on-board RTC... ---- After boot-up is complete, I see the following contents in /dev/snd/ : controlC0 pcmC0D0p pcmC0D2p pcmPreferredp mixerC0D0 pcmC0D1p pcmC0D3p pcmC0D0c pcmC0D2c pcmPreferredc The first entry of `sloginfo`reads as follows: --- Time Sev Major Minor Args Jan 01 00:00:01 1 7 0 twl6040_mixer_reset: Automatic power up failed --- Any hints on what could be the issue here, or how to proceed with testing? Cheers Manuel Manuel Kirschner 2013-04-22T12:21:19Z post100753: Re: IMX5X QSB BSP build problem. Mark He Qinglong http://community.qnx.com/sf/go/post100753 2013-04-19T08:23:36Z 2013-04-19T08:23:36Z OK, I've found way to solve it.: from:http://community.qnx.com/sf/discussion/do/listPosts/projects.bsp/discussion.bsp.topc22496 From the BSP's Quick Start Guide: Two patch files are available for the Neutrino 6.5.0 graphics 1. patch-650-2258-CompMgr.tar (http://community.qnx.com/sf/frs/do/viewRelease/projects.graphics/frs.sgx_drivers.650_v7) 2. patch-650-2413-iMX53GPU.tar (http://community.qnx.com/sf/frs/do/viewRelease/projects.graphics/frs.imx51_gpu_driver.imx53_20101115) the GPU files are already included in the BSP source. The composition manager patch (Patch 1) must be downloaded and installed, as it contains files required to build the touchscreen drivers and run hardware accelerated OpenGL applications. Without it the touchscreen drivers will fail to build, and binaries requiring OpenGL ES libraries to be present will not run. Mark He Qinglong 2013-04-19T08:23:36Z post100752: Re: IMX5X QSB BSP build problem. Mark He Qinglong http://community.qnx.com/sf/go/post100752 2013-04-19T08:01:55Z 2013-04-19T08:01:55Z Hi, Did you solve this problem ? I have treated this problem too. After delete the devi driver module it could be compile fine. But when I run the raw file, it would told me: Jan 01 00:01:29 5 9 1 mc34708_comms i2c_write_read failed (code 5, rb ytes 0) Jan 01 00:01:29 2 9 1 mc34708_comms_read_register i2c write read fail ed (code 5) Jan 01 00:01:29 2 6 0 Master send did not terminate Jan 01 00:01:29 2 6 0 Master send NACK So, I'm trying to find a same sign at here. Did you solve this problem ? Mark He Qinglong 2013-04-19T08:01:55Z post100721: Re: BeagleBone creates SIGBUS on floating point instructions Armin Steinhoff http://community.qnx.com/sf/go/post100721 2013-04-18T09:42:54Z 2013-04-18T09:42:54Z Hi, floating point is working ... have a different problem :) --Armin Armin Steinhoff 2013-04-18T09:42:54Z post100700: BeagleBone creates SIGBUS on floating point instructions Armin Steinhoff http://community.qnx.com/sf/go/post100700 2013-04-17T15:25:40Z 2013-04-17T15:25:40Z Hi, I'm neeed some help for the BeagleBone. I#m testing with the newest BSP of the BeagleBone and get a SIGBUS event when I do an assignment between two floating point variables. The code looks like: float x,y=0.3; x = y; I have added the option -Wc,-mfpx=vfp3 w/o success. What's the problem ? Do I miss some compile options ? I'm working with Momentics 4.7 / 6.5 SP1 --Armin Armin Steinhoff 2013-04-17T15:25:40Z post100664: Re: Korn shell unresponsive in Nitrogen6X BSP Erick Roane http://community.qnx.com/sf/go/post100664 2013-04-16T23:30:50Z 2013-04-16T23:30:50Z Root cause was wrong part. The part on the Nitrogen6X was discovered to be a PCIMX6S6AVM08AB or Single Core, which has different I/O MUX registers and is not compatible with the QNX BSP. The boards were defective for this application. Erick Roane 2013-04-16T23:30:50Z post100662: Re: Korn shell unresponsive in Nitrogen6X BSP Erick Roane http://community.qnx.com/sf/go/post100662 2013-04-16T21:39:59Z 2013-04-16T21:39:59Z I just confirmed with boundary devices today that the issue does not appear on Nitrogen REV2 board with a Quad Core i.MX6. However, the boards I have are Dual Core. So it appears there is some kind of N-core dependent code in the BSP. The Linux image did not have this issue, it appears the QNX BSP does. Anyone have any idea on what would cause some dependency on the number of cores to cause a problem. Erick Roane 2013-04-16T21:39:59Z post100657: Re: QNX booting on i.MX6 Nitrogen6x problem David Lafreniere http://community.qnx.com/sf/go/post100657 2013-04-16T19:59:50Z 2013-04-16T19:59:50Z Thank you for your help. When I try to install the SP1 from the Korn Shell it fails with numerous errors then fails with a invalid license key (I’m using the 30-day evaluation version). $ qnxsdp-6.5.0SP1-201206270843-nto.sh Sage Software $ qnxsdp-6.5.0SP1-201206270843-nto.sh ./qnxsdp-6.5.0SP1-201206270843-nto.sh: line 3: fullpath: command not found ./qnxsdp-6.5.0SP1-201206270843-nto.sh: line 51: head: command not found ./qnxsdp-6.5.0SP1-201206270843-nto.sh: line 54: test: too many arguments Welcome to the installation of QNX Software Development Platform 6.5.0SP1 Installing QNX Software Development Platform 6.5.0SP1 overwrites components of QNX SDP 6.5.0 without backing anything up. Once installed, the QNX Software Development Platform 6.5.0SP1 cannot be uninstalled. Do you want to continue with the installation (y/n)? [y] y ./qnxsdp-6.5.0SP1-201206270843-nto.sh: line 116: [: version 61 Service Pack 1 (B uild 7601) : integer expression expected ./qnxsdp-6.5.0SP1-201206270843-nto.sh: line 137: more: command not found Do you accept the terms and conditions of this message (y/n)? [n] y ./qnxsdp-6.5.0SP1-201206270843-nto.sh: line 171: tail: command not found ./qnxsdp-6.5.0SP1-201206270843-nto.sh: line 171: head: command not found ./qnxsdp-6.5.0SP1-201206270843-nto.sh: line 171: qinst: command not found ./qnxsdp-6.5.0SP1-201206270843-nto.sh: line 180: tail: command not found ./qnxsdp-6.5.0SP1-201206270843-nto.sh: line 180: head: command not found ./qnxsdp-6.5.0SP1-201206270843-nto.sh: line 180: qinst: command not found ./qnxsdp-6.5.0SP1-201206270843-nto.sh: line 231: tail: command not found gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Exiting with failure status due to previous errors ./qnxsdp-6.5.0SP1-201206270843-nto.sh: line 234: /tmp/instlicsup/qlicflags: No s uch file or directory You have entered an invalid key for this product How can I get SP1 installed on a Windows machine using the evaluation version? David Lafreniere 2013-04-16T19:59:50Z post100642: Re: tftpd in QNX Neutrino 6.5.0 does not allow new file to be created Jim Gilderson http://community.qnx.com/sf/go/post100642 2013-04-16T14:42:03Z 2013-04-16T14:42:03Z No, there is no way to support this with the current version. Jim Gilderson 2013-04-16T14:42:03Z post100640: Re: QNX booting on i.MX6 Nitrogen6x problem Mark Wakim http://community.qnx.com/sf/go/post100640 2013-04-16T14:11:00Z 2013-04-16T14:11:00Z Hi David, Please install the 6.5.0 SP1 patch on your host, then rebuild the IFS. Thanks, Mark On 2013-04-15 6:57 PM, "David Lafreniere" <community-noreply@qnx.com> wrote: >I tried changing the bootcmd U-Boot environment variable to: > >echo Starting QNX...; fatload mmc 0:1 0x10800000 ifs-mx6q-nitrogen.raw; >go 0x10800000 > >Now the board keeps rebooting. I noticed in the output log when A/C is >plugged in outputs this line: > >Reset cause: POR > >The next boot and all subsequent reboots outputs this line: > >Reset cause: WDOG > >So it appears that the watchdog is firing during QNX booting. How can the >watchdog be disabled? > >I've attached a log file of the serial output. > >Thanks! > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post100614 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com Mark Wakim 2013-04-16T14:11:00Z post100624: Re: RE: RE: Vortex86Dx ICOP VDX-6356 and QNX 6.5.0 Chris Bradshaw http://community.qnx.com/sf/go/post100624 2013-04-16T08:08:36Z 2013-04-16T08:08:36Z Been running for the last 16 hours with no problems. Something in the service pack solves the issue - now to try and find out where... Chris Bradshaw 2013-04-16T08:08:36Z post100614: Re: QNX booting on i.MX6 Nitrogen6x problem David Lafreniere http://community.qnx.com/sf/go/post100614 2013-04-15T22:57:52Z 2013-04-15T22:57:52Z I tried changing the bootcmd U-Boot environment variable to: echo Starting QNX...; fatload mmc 0:1 0x10800000 ifs-mx6q-nitrogen.raw; go 0x10800000 Now the board keeps rebooting. I noticed in the output log when A/C is plugged in outputs this line: Reset cause: POR The next boot and all subsequent reboots outputs this line: Reset cause: WDOG So it appears that the watchdog is firing during QNX booting. How can the watchdog be disabled? I've attached a log file of the serial output. Thanks! David Lafreniere 2013-04-15T22:57:52Z post100610: QNX booting on i.MX6 Nitrogen6x problem David Lafreniere http://community.qnx.com/sf/go/post100610 2013-04-15T20:57:56Z 2013-04-15T20:57:56Z Hi, I am trying to get QNX to boot on my Nitrogen6x evaluation board from Boundary Devices. I have followed the QNX 6.5.0 SP1 BSP for Boundary Devices iMX6 Nitrogen6x Quick Start Guide I execute these commands: # fatload mmc 0:1 0x10800000 ifs-mx6q-nitrogen.raw # go 0x10800000 And the error obtained is: 6x_bootscript not found serial console at 115200, 8N1 details at http://boundarydevices.com/6q_bootscript Now I have copied the 6x_bootscript to the SD card root directory. It still cannot find the file. I also notice that the U-Boot environment variable for bootcmd is: bootcmd=for dtype in sata mmc ; do for disk in 0 1 ; do E{dtype} dev ${disk} ;for fs in fat ext2 ; do ${fs}load ${dtype} ${disk}:1 10008000 /6x_bootscript&& source 10008000 ; done ; done ; done; setenv stdout serial,vga ; echo ; echo 6x_bootscript not found ; echo ; echo serial console at 115200, 8N1 ; echo ; echo details at http://boundarydevices.com/6q_bootscript ; setenv stdout serial Questions: How can I get the the 6x_bootscript to be found? Where should it be copied? Should the bootcmd be changed to something else so that QNX boots automatically? If so, what should the U-Boot bootcmd environment variable be changed to? Thanks for your help! David Lafreniere 2013-04-15T20:57:56Z post100595: Re: Korn shell unresponsive in Nitrogen6X BSP Erick Roane http://community.qnx.com/sf/go/post100595 2013-04-15T15:46:55Z 2013-04-15T15:46:55Z > Hi Erick, > > If you're running procnto-smp, it shouldn't matter whether it's a dual-core or > quad-core version of the i.MX6; the startup/kernel code will figure it out > automatically. However, it's possible to over-ride the default, and specify > the number of cores you want active, using the -P option to startup, in the > build file. For example, if you had a quad core i.MX6, but only wanted to run > two cores (or uni-processor, but still using procnto-smp), you could do the > following: > > startup-nitrogen6x -P2 (for dual-core operation) > startup-nitrogen6x -P1 (for single-core operation) > > Regarding your serial console input issue, we don't have any nitrogen6x boards > in-house, although we are expecting one soon for some other development work. > However, I've notified MPC Data (the developer of the BSP), and asked them > to take a look at this thread, to see if they have any ideas what the problem > might be. > > Regards, > > Dave > > Yeah, it does not seem to matter if I boot with -P1 or -P2, issue still persists. Also, I'm not sure if it matters but I'm actually running procnto-smp-instr versus procnto-smp. Again, it does not seem to matter if either one is used, issue still persists. Thanks for notifying the BSP vendor. I'm also interested to know why I cannot use the SATA and Touchscreen drivers, even though I do not use them. I think it has something to do with this being a REV 2 Nitrogen board. As I explained, the QNX FAE said he had no issues running the BSP on REV 1 Nitrogen boards. Erick Roane 2013-04-15T15:46:55Z post100593: Re: RE: RE: Vortex86Dx ICOP VDX-6356 and QNX 6.5.0 Chris Bradshaw http://community.qnx.com/sf/go/post100593 2013-04-15T15:37:38Z 2013-04-15T15:37:38Z Interesting. I've put QNX 6.5.0 SP1 on it, and now i'm having much better luck. No BSP, just 6.5.0 + SP1. Going to run overnight to see if it fails. Chris Bradshaw 2013-04-15T15:37:38Z post100592: Re: Korn shell unresponsive in Nitrogen6X BSP Erick Roane http://community.qnx.com/sf/go/post100592 2013-04-15T15:28:31Z 2013-04-15T15:28:31Z > >>>after a few minutes I see Path=0 - FREESCALE USDHC come out. > > Does this mean that most of the output is "delayed"? Maybe the watchdog > printf's are causing the output to be drained eventually (but not be txempty > interrupt)? > > Coupled with no input (no rx intr), perhaps the IRQ may be different for your > board? The output string " Path=0 - FREESCALE USDHC" comes out regardless of the watchdog printfs. It does take a minute or two. Recently, I put in some debug code in the devc-sermx1 thread to print whenever an rx interrupt occurs. I have not seen any prints so I can only assume the interrupt vector is not set up correctly. But again, I'm using the same default BSP options devc-sermx1 -u 2 -e -F -S -c80000000 0x021E8000,59 However, since this is a REV 2 Nitrogen board I'm suspicious something has changed. The FAE I spoke with last week told me the BSP image works on REV 1 Nitrogen boards. Erick Roane 2013-04-15T15:28:31Z post100573: Re: Korn shell unresponsive in Nitrogen6X BSP Dennis Kellly http://community.qnx.com/sf/go/post100573 2013-04-15T12:52:16Z 2013-04-15T12:52:16Z >>>after a few minutes I see Path=0 - FREESCALE USDHC come out. Does this mean that most of the output is "delayed"? Maybe the watchdog printf's are causing the output to be drained eventually (but not be txempty interrupt)? Coupled with no input (no rx intr), perhaps the IRQ may be different for your board? Dennis Kellly 2013-04-15T12:52:16Z post100571: Re: Korn shell unresponsive in Nitrogen6X BSP David Green http://community.qnx.com/sf/go/post100571 2013-04-15T12:33:48Z 2013-04-15T12:33:48Z Hi Erick, If you're running procnto-smp, it shouldn't matter whether it's a dual-core or quad-core version of the i.MX6; the startup/kernel code will figure it out automatically. However, it's possible to over-ride the default, and specify the number of cores you want active, using the -P option to startup, in the build file. For example, if you had a quad core i.MX6, but only wanted to run two cores (or uni-processor, but still using procnto-smp), you could do the following: startup-nitrogen6x -P2 (for dual-core operation) startup-nitrogen6x -P1 (for single-core operation) Regarding your serial console input issue, we don't have any nitrogen6x boards in-house, although we are expecting one soon for some other development work. However, I've notified MPC Data (the developer of the BSP), and asked them to take a look at this thread, to see if they have any ideas what the problem might be. Regards, Dave David Green 2013-04-15T12:33:48Z post100545: Re: Korn shell unresponsive in Nitrogen6X BSP Erick Roane http://community.qnx.com/sf/go/post100545 2013-04-12T21:58:58Z 2013-04-12T21:58:58Z Would it matter that my Nitrogen6X boards are Dual Core versus Quad? Not sure where to specify this in the BSP build. Erick Roane 2013-04-12T21:58:58Z post100540: Re: Korn shell unresponsive in Nitrogen6X BSP Erick Roane http://community.qnx.com/sf/go/post100540 2013-04-12T20:02:47Z 2013-04-12T20:02:47Z I don't think so, otherwise I would see any output right. See below, even after a few minutes I see Path=0 - FREESCALE USDHC come out. Also, remember I said I was able to print from the wdtkick and see the output. I think it has something to do with the UART driver or ksch setup. Welcome to QNX Neutrino 6.5.0 SP1 on the i.mx6Q Nitrogen (ARM Cortex-A9 MPCore) Starting watchdog... Starting I2C1,2,3 driver (/dev/i2c1,2,3)... Starting SD3 (microSD) memory card driver... Starting SD4 (microSD) memory card driver... Path=0 - FREESCALE USDHC (devf t1::f3s_flash_probe:285) Unable to properly identify any flash devices Starting USB host1 and OTG driver (operating in host mode) Launching devb-umass... Starting Ethernet driver Starting Shell # Path=0 - FREESCALE USDHC > Could be the -c (clock) option to devc-sermx1 - likely driven be differing > clock rates between the two boards. Erick Roane 2013-04-12T20:02:47Z post100538: Re: Korn shell unresponsive in Nitrogen6X BSP Dennis Kellly http://community.qnx.com/sf/go/post100538 2013-04-12T19:52:54Z 2013-04-12T19:52:54Z Could be the -c (clock) option to devc-sermx1 - likely driven be differing clock rates between the two boards. Dennis Kellly 2013-04-12T19:52:54Z post100537: Re: Korn shell unresponsive in Nitrogen6X BSP Erick Roane http://community.qnx.com/sf/go/post100537 2013-04-12T19:49:38Z 2013-04-12T19:49:38Z Yeah, I tried software flow control enable/disabled with both Xon/Xoff and None settings in Tera Term Pro and got no results. I also confirmed the Linux BSP works just fine. I happened to have another Nitrogen board as well and the issue still exists for QNX. A colleague of mine is using SABRE lite it has the same devc-sermx1 options as Nitrogen and they have no issues. It works perfectly. I guess I have no choice but to start debugging the driver. Unless you have any recommendations. Erick Roane 2013-04-12T19:49:38Z post100534: Re: Korn shell unresponsive in Nitrogen6X BSP David Green http://community.qnx.com/sf/go/post100534 2013-04-12T18:38:50Z 2013-04-12T18:38:50Z I would still try setting Teraterm's flow control to Xon/Xoff, just to be sure. ------------------------------------- Dave Green QNX Software Systems Limited dgreen@qnx.com On 13-04-12 2:20 PM, "Erick Roane" <community-noreply@qnx.com> wrote: >Thanks David, > >Yes, agreed, just trying to see if someone has used the same terminal >emulator. Anyhow the serial port is setup for no hardware or software >flow control from the build script... > >devc-sermx1 -u 2 -e -F -S -c80000000 0x021E8000,59 >waitfor /dev/ser2 4 >reopen /dev/ser2 > >And I see all the normal display messages, it just does not respond on >the command line. > >Erick > > > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post100533 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com David Green 2013-04-12T18:38:50Z post100533: Re: Korn shell unresponsive in Nitrogen6X BSP Erick Roane http://community.qnx.com/sf/go/post100533 2013-04-12T18:20:50Z 2013-04-12T18:20:50Z Thanks David, Yes, agreed, just trying to see if someone has used the same terminal emulator. Anyhow the serial port is setup for no hardware or software flow control from the build script... devc-sermx1 -u 2 -e -F -S -c80000000 0x021E8000,59 waitfor /dev/ser2 4 reopen /dev/ser2 And I see all the normal display messages, it just does not respond on the command line. Erick Erick Roane 2013-04-12T18:20:50Z post100532: Re: devb-mmcsd-3dsmx35 on i.MX25 Devan Lippman http://community.qnx.com/sf/go/post100532 2013-04-12T17:33:56Z 2013-04-12T17:33:56Z Problem solved. The daisy-chain was not set properly to get response back to controller. Devan Lippman 2013-04-12T17:33:56Z post100525: Re: Korn shell unresponsive in Nitrogen6X BSP David Green http://community.qnx.com/sf/go/post100525 2013-04-12T14:57:28Z 2013-04-12T14:57:28Z It's not the shell, it's the serial driver on the target. If the QNX devc-sermx1 driver starts with software or hardware flow control enabled, then yes, the flow control on the host side must match. ------------------------- Dave Green QNX Software Systems Limited dgreen@qnx.com On 13-04-12 10:25 AM, "Erick Roane" <community-noreply@qnx.com> wrote: >I'm using Tera Term with the same 115200 baud rate, 8-bit, 1 stop bit, >and no flow control. This is the same as U-boot, which works just fine >with my terminal settings. > >So are you saying the terminal settings for the QNX ksh are different >than U-boot? > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post100523 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com David Green 2013-04-12T14:57:28Z post100523: Re: Korn shell unresponsive in Nitrogen6X BSP Erick Roane http://community.qnx.com/sf/go/post100523 2013-04-12T14:25:52Z 2013-04-12T14:25:52Z I'm using Tera Term with the same 115200 baud rate, 8-bit, 1 stop bit, and no flow control. This is the same as U-boot, which works just fine with my terminal settings. So are you saying the terminal settings for the QNX ksh are different than U-boot? Erick Roane 2013-04-12T14:25:52Z post100518: Re: Korn shell unresponsive in Nitrogen6X BSP David Green http://community.qnx.com/sf/go/post100518 2013-04-12T13:35:11Z 2013-04-12T13:35:11Z Hello, What host environment and terminal program are you using to communicate with the Nitrogen6x board? Often when this sort of behaviour is seen, it's due to the serial flow control settings on the host side. Try experimenting with hardware flow control, Xon/Xoff flow control, or no flow control on the host side, and see if that gets your console input working. David Green 2013-04-12T13:35:11Z post100515: Re: RE: RE: Vortex86Dx ICOP VDX-6356 and QNX 6.5.0 Chris Bradshaw http://community.qnx.com/sf/go/post100515 2013-04-12T11:59:55Z 2013-04-12T11:59:55Z Just tried with 2 - 5 times. No failures. Tried with 10, on second go it failed the same way. Chris Bradshaw 2013-04-12T11:59:55Z post100512: RE: RE: Vortex86Dx ICOP VDX-6356 and QNX 6.5.0 Dennis Kellly http://community.qnx.com/sf/go/post100512 2013-04-12T11:25:36Z 2013-04-12T11:25:36Z Does the crash happen with a smaller number of processes? 10? 2? -----Original Message----- From: Chris Bradshaw [mailto:community-noreply@qnx.com] Sent: Friday, April 12, 2013 7:19 AM To: general-bsp Subject: Re: RE: Vortex86Dx ICOP VDX-6356 and QNX 6.5.0 Hi, Yes, I've tried all the boot images provided with the standard install (smp, dma, other). They all behave the same. Chris _______________________________________________ QNX BSPs http://community.qnx.com/sf/go/post100511 To cancel your subscription to this discussion, please e-mail general-bsp-unsubscribe@community.qnx.com Dennis Kellly 2013-04-12T11:25:36Z post100511: Re: RE: Vortex86Dx ICOP VDX-6356 and QNX 6.5.0 Chris Bradshaw http://community.qnx.com/sf/go/post100511 2013-04-12T11:19:06Z 2013-04-12T11:19:06Z Hi, Yes, I've tried all the boot images provided with the standard install (smp, dma, other). They all behave the same. Chris Chris Bradshaw 2013-04-12T11:19:06Z post100510: RE: Vortex86Dx ICOP VDX-6356 and QNX 6.5.0 Dennis Kellly http://community.qnx.com/sf/go/post100510 2013-04-12T11:15:41Z 2013-04-12T11:15:41Z Have you tried building/running without the "smp" kernel? ...seems a poor choice for this hardware. -----Original Message----- From: Chris Bradshaw [mailto:community-noreply@qnx.com] Sent: Friday, April 12, 2013 6:18 AM To: general-bsp Subject: Re: Vortex86Dx ICOP VDX-6356 and QNX 6.5.0 Here is the "really simple" program I'm running to cause this failure. I've had it reviewed and we can't see any problem with it. It is called from the command line (press shutdown after getting to the login screen in photon - "Exit to Text Mode"). Call it with; ./NumPrint x y > dev/null & where x is number of processes to start (20) y is the number to count up to (1000000) _______________________________________________ QNX BSPs http://community.qnx.com/sf/go/post100509 To cancel your subscription to this discussion, please e-mail general-bsp-unsubscribe@community.qnx.com Dennis Kellly 2013-04-12T11:15:41Z post100509: Re: Vortex86Dx ICOP VDX-6356 and QNX 6.5.0 Chris Bradshaw http://community.qnx.com/sf/go/post100509 2013-04-12T10:17:57Z 2013-04-12T10:17:57Z Here is the "really simple" program I'm running to cause this failure. I've had it reviewed and we can't see any problem with it. It is called from the command line (press shutdown after getting to the login screen in photon - "Exit to Text Mode"). Call it with; ./NumPrint x y > dev/null & where x is number of processes to start (20) y is the number to count up to (1000000) Chris Bradshaw 2013-04-12T10:17:57Z post100508: Vortex86Dx ICOP VDX-6356 and QNX 6.5.0 Chris Bradshaw http://community.qnx.com/sf/go/post100508 2013-04-12T10:13:46Z 2013-04-12T10:13:46Z Hi All, I'm currently having trouble with OS stability when using this X86 BIOS compatible card. (http://www.icoptech.com/pddetail.aspx?id=138&pid=4) The basics are this; I have a very simple program that spawns 20 further processes. Each of these processes print the numbers 1 to 1000000 to the console and then closes. On the command line, the console is redirected to /dev/null. My problem is - I believe the kernel is crashing with a Segmentation Fault S/C/F 11/1/11 (see screenshot attached). The reason I've raised this in the BSP forum is; The manufacturer provides a BSP but it is for QNX 6.3.2. 1. I can build this BSP with 2 minor code changes, but I dont know what to do with it. 2. Why would the BSP improve things here. Isn't the BSP just a set of drivers for peripherals - and if drivers aren't found, then the peripheral isn't available? 3. Has anyone else tried this processor perhaps with this board? I have tried another card (http://www.diamondsystems.com/products/helios) with the SAME RESULT. The output from the BSP is a set of binaries and libraries; startup-bios, startup-bios-32, libStartup-64.a, libStartup.a, pci-bios, devf-generic, devc-ser8250, devc-tser8250. Some of these sound pretty critical to the system - are they? I'm unsure which direction to go down. Any help much appreciated. Chris Chris Bradshaw 2013-04-12T10:13:46Z post100503: Korn shell unresponsive in Nitrogen6X BSP Erick Roane http://community.qnx.com/sf/go/post100503 2013-04-12T04:48:58Z 2013-04-12T04:48:58Z Downloaded the Nitrogen6X BSP and successfully built it in Momentics 6.5.0 (SP1). However, when I booted it hung and was reseting via the watchdog. After commenting out SATA and Touchscreen features, it was able to successfully boot. However, now the korn shell is unresponsive. I test the UART lines and the host is actively sending data. But the system is just silent on the other end. To make sure it wasn't completely out to lunch, I put in a printf where the watchdog was being petted and it was successfully printing out on the shell console. However, it is still unresponsive to input. Keep in mind, this is the out of the box BSP so I'm assuming someone else could reproduce this issue easily? Is there something I'm missing here? Thanks! Erick Roane 2013-04-12T04:48:58Z post100458: Re: Shutdown and Rreboot problem in QNX 6.5.0 Giovanni Andrea Conte http://community.qnx.com/sf/go/post100458 2013-04-10T22:04:52Z 2013-04-10T22:04:52Z Michael, how come this startup-apic is only 140+ Kb whereas the one included in Momentics is about 1MB? Am I missing something? Thanks, Giovanni Giovanni Andrea Conte 2013-04-10T22:04:52Z post100443: Rotating Display Nick Skadberg http://community.qnx.com/sf/go/post100443 2013-04-10T16:17:21Z 2013-04-10T16:17:21Z I apologize if this is the wrong board to post this question to, but I'm having trouble rotating the display of our CAR2 image. I've tried the screen_rotation command but had no luck. The online directory also mentioned changing the window properties in "graphics.conf" with the command, rotation = 90. I found five "graphics.conf" files on the image and they are read-only. Am I on the right track, and if so how do I alter the files? Nick Skadberg 2013-04-10T16:17:21Z post100434: Re: PCI express 82572EI Gigabit Ethernet Controller Hugh Brown http://community.qnx.com/sf/go/post100434 2013-04-10T11:55:51Z 2013-04-10T11:55:51Z The cnfg_bridge function is there to allow the low-level code to perform any bridge configuration (if necessary) and to return the address to pcie extended configuration space if applicable. We don't have any documentation on the PCI server code, but you could download one of our BSPs as a reference, from our web site. I am not at all familiar with the hardware that you are using, so I don't know what PCI setup is necessary to get it working. On 2013-04-09 7:08 PM, "Preetham Chandrian" <community-noreply@qnx.com> wrote: >Hi, > >I programmed the root complex and I see that the PCI device configuration >manager make call to configure the bridge.Could you please tell me the >purpose of int (*cnfg_bridge)( void *hdl, uint32_t bus, uint32_t devfunc, >pci_bus_t *pbus ) function? Is there any documentation on pdrvr_entry_t >and pci_bus_t? > >I am still getting the same error. I have attached the logs. Could you >tell me where I am going wrong? > >Thanks, >Preetham > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post100418 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com Hugh Brown 2013-04-10T11:55:51Z post100418: Re: PCI express 82572EI Gigabit Ethernet Controller Preetham Chandrian http://community.qnx.com/sf/go/post100418 2013-04-09T23:08:38Z 2013-04-09T23:08:38Z Hi, I programmed the root complex and I see that the PCI device configuration manager make call to configure the bridge.Could you please tell me the purpose of int (*cnfg_bridge)( void *hdl, uint32_t bus, uint32_t devfunc, pci_bus_t *pbus ) function? Is there any documentation on pdrvr_entry_t and pci_bus_t? I am still getting the same error. I have attached the logs. Could you tell me where I am going wrong? Thanks, Preetham Preetham Chandrian 2013-04-09T23:08:38Z post100396: Re: PCI express 82572EI Gigabit Ethernet Controller Hugh Brown http://community.qnx.com/sf/go/post100396 2013-04-09T11:39:01Z 2013-04-09T11:39:01Z On non-x86 systems the memory and I/O are assigned by the low-level PCI code (platform specific) using the rsrcdbmgr function calls. Yes, you must also program these values into the root complex so that it knows which addresses are PCI memory and I/O. On 2013-04-08 6:14 PM, "Preetham Chandrian" <community-noreply@qnx.com> wrote: >Could you please explain me how the I/O and memory is allocated. I see >that in PCI device configuration manager(server.c) it uses >rsrcdbmgr_attach to reserve resources. I have done a rsrcdbmgr_create >for the RSRCDBMGR_PCI_MEMORY and RSRCDBMGR_IO_PORT resources, memory for >both are allocated using >mmap( 0,size,PROT_READ|PROT_WRITE|PROT_NOCACHE,MAP_PHYS|MAP_ANON,NOFD,0) >and aligned to 1MB boundary. Is this the correct way of reserving memory? >DO I need to handle the I/O memory specially? > >Slog for memory allocation > >Jan 01 00:00:09 5 17 0 Low memory CPU f700000 - PCI f700000 >Jan 01 00:00:09 5 17 0 High memory CPU fbfffff - PCI fbfffff >Jan 01 00:00:09 5 17 0 reserve_resource: Start f700000 - End >fbfffff - Name pcimemory/Bus0 >Jan 01 00:00:09 5 17 0 Low port CPU fe60000 - PCI 0 >Jan 01 00:00:09 5 17 0 High port CPU fe60ffe - PCI fff >Jan 01 00:00:09 5 17 0 reserve_resource: Start fe60000 - End >fe60fff - Name io/Bus0 > > > >I understand that for end point memory and I/O are allocated through >pci_attach_device(). For the root complex do I need to program the memory >base, prefetchable memory base, I/O and BAR in the attach of >pdrvr_entry_t? > >Thanks, >Preetham > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post100388 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com Hugh Brown 2013-04-09T11:39:01Z post100388: Re: PCI express 82572EI Gigabit Ethernet Controller Preetham Chandrian http://community.qnx.com/sf/go/post100388 2013-04-08T22:14:01Z 2013-04-08T22:14:01Z Could you please explain me how the I/O and memory is allocated. I see that in PCI device configuration manager(server.c) it uses rsrcdbmgr_attach to reserve resources. I have done a rsrcdbmgr_create for the RSRCDBMGR_PCI_MEMORY and RSRCDBMGR_IO_PORT resources, memory for both are allocated using mmap( 0,size,PROT_READ|PROT_WRITE|PROT_NOCACHE,MAP_PHYS|MAP_ANON,NOFD,0) and aligned to 1MB boundary. Is this the correct way of reserving memory? DO I need to handle the I/O memory specially? Slog for memory allocation Jan 01 00:00:09 5 17 0 Low memory CPU f700000 - PCI f700000 Jan 01 00:00:09 5 17 0 High memory CPU fbfffff - PCI fbfffff Jan 01 00:00:09 5 17 0 reserve_resource: Start f700000 - End fbfffff - Name pcimemory/Bus0 Jan 01 00:00:09 5 17 0 Low port CPU fe60000 - PCI 0 Jan 01 00:00:09 5 17 0 High port CPU fe60ffe - PCI fff Jan 01 00:00:09 5 17 0 reserve_resource: Start fe60000 - End fe60fff - Name io/Bus0 I understand that for end point memory and I/O are allocated through pci_attach_device(). For the root complex do I need to program the memory base, prefetchable memory base, I/O and BAR in the attach of pdrvr_entry_t? Thanks, Preetham Preetham Chandrian 2013-04-08T22:14:01Z post100367: Re: PCI express 82572EI Gigabit Ethernet Controller Hugh Brown http://community.qnx.com/sf/go/post100367 2013-04-08T11:33:22Z 2013-04-08T11:33:22Z The memory and I/O will be enabled when the driver performs a pci_attach_device() function. It looks as though you might have a PCI bus problem due to the errors in your output. On 2013-04-05 11:09 AM, "Preetham Chandrian" <community-noreply@qnx.com> wrote: >Thanks for the response. > >I am using QNX 6.5.0 SP1. The devnp-e1000.so is under proc/boot and I >downloaded it from >http://community.qnx.com/sf/go/projects.bsp/frs.network_driver_updates. > >From the pci -vvvv output I noticed that memory and I/O access were not >enabled so I an enabling them and configuring the BAR register in my >(*attach)( char *options, void **hdl ) driver callback. Is this the >correct way of doing it?? > >Even after these changes I get the same error. I have attached the pci >-vvvv output > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post100335 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com Hugh Brown 2013-04-08T11:33:22Z post100355: AM335X_SK QNX BSP Display stephen zhang http://community.qnx.com/sf/go/post100355 2013-04-07T01:16:44Z 2013-04-07T01:16:44Z Hi, All I am a newbie of QNX. I have a AM335X_SK Board Version 1.0A, I download the BSP and prebuilt images to run qnx on AM335X_SK with images stored in SDCard. After about one minute, the board finished booting, but I can see nothing on LCD and nothing happened when I touch the touchscreen. I check the serial console, the console works well. I want to know why this happen, how should I do if I want to see the desktop on LCD and works with touchscreen. stephen zhang 2013-04-07T01:16:44Z post100335: Re: PCI express 82572EI Gigabit Ethernet Controller Preetham Chandrian http://community.qnx.com/sf/go/post100335 2013-04-05T15:09:58Z 2013-04-05T15:09:58Z Thanks for the response. I am using QNX 6.5.0 SP1. The devnp-e1000.so is under proc/boot and I downloaded it from http://community.qnx.com/sf/go/projects.bsp/frs.network_driver_updates. From the pci -vvvv output I noticed that memory and I/O access were not enabled so I an enabling them and configuring the BAR register in my (*attach)( char *options, void **hdl ) driver callback. Is this the correct way of doing it?? Even after these changes I get the same error. I have attached the pci -vvvv output Preetham Chandrian 2013-04-05T15:09:58Z post100331: Re: Using SPI on Novtech iMX6 board David Green http://community.qnx.com/sf/go/post100331 2013-04-05T12:43:38Z 2013-04-05T12:43:38Z Hi Ivan, Yes, spi-master is the resource manager used to load the board (or SoC) specific SPI driver. libspi-master.a is the library containing the various SPI related functions that application level code can call into. libspi.a is an older SPI library, which was deprecated in favour of the spi-master framework, but was still included in the source archive, since the original customer who requested the source archive had used it in legacy SPI code. However, it's not needed for current SPI drivers; spi-master, and the SoC-specific SPI DLL are all that's needed for the SPI driver itself, and libspi-master.a is used for the application code to perform various SPI-based operations. Hope this helps, Dave David Green 2013-04-05T12:43:38Z post100323: Re: PCI express 82572EI Gigabit Ethernet Controller Oleg Gopov http://community.qnx.com/sf/go/post100323 2013-04-05T02:59:19Z 2013-04-05T02:59:19Z First of all 1. What qnx version you use????????? 2. Is the file devnp-e1000.so realy exist in /lib/dll directory??????????????? Oleg Gopov 2013-04-05T02:59:19Z post100314: PCI express 82572EI Gigabit Ethernet Controller Preetham Chandrian http://community.qnx.com/sf/go/post100314 2013-04-04T18:28:31Z 2013-04-04T18:28:31Z Hi, I am having trouble detecting the intel 82572EI Gigabit Ethernet Controller via PCI express on a ARMleV5 board. I have implemented configuration register read,write and functions in pdrvr_entry_t structure. I have attached the output of pci -vvvv and the log when I run the command io-pkt-v4-hc -vvvvvv -ptcpip stacksize=8192 -de1000 verbose=4 Can anyone tell me what I am doing wrong here? Thanks Preetham Preetham Chandrian 2013-04-04T18:28:31Z post100307: devb-mmcsd-3dsmx35 on i.MX25 Devan Lippman http://community.qnx.com/sf/go/post100307 2013-04-04T15:32:19Z 2013-04-04T15:32:19Z Hello, I'm trying to use the devb-mmcsd-3dsmx35 on i.MX25. There are posts on the foundry about others having success here but those conversations appear to have run dry. I believe to have made the necessary changes but, when I start the driver, the controller is reporting command timeouts during MMCSD_STATE_IDENT. Capturing the trace with a protocol analyzer appears to show the response is present and no errors are flagged. Has anyone had success here? Thanks, Devan Steps to reproduce: - Copy ./src/hardware/devb from iMX35 BSP to iMX25 BSP - Change addresses for iMX25 eSDHC-2 (sim_mx.h) #define MX35_SDC_BASE 0x53FB8000 #define MX35_SDC_SIZE 0x100 #define MX35_SDC_IRQ 8 - Enable clocks at boot: MX25_CCM_CGCR0 |= 0x40010 MX25_CCM_CGCR1 |= 0x4000 - Configure CMUX at boot: IOMUXC_SW_PAD_CTL_GRP_DVS_CSI = 0 IOMUXC_SW_MUX_CTL_PAD_CSI_MCLK = 0x12 IOMUXC_SW_MUX_CTL_PAD_CSI_VSYNC= 0x12 IOMUXC_SW_MUX_CTL_PAD_CSI_HSYNC= 0x12 IOMUXC_SW_MUX_CTL_PAD_CSI_PIXCLK= 0x12 IOMUXC_SW_MUX_CTL_PAD_CSI_D7= 0x12 IOMUXC_SW_MUX_CTL_PAD_CSI_D6= 0x12 IOMUXC_SW_PAD_CTL_PAD_CSI_MCLK = 0xF1 IOMUXC_SW_PAD_CTL_PAD_CSI_VSYNC= 0xF1 IOMUXC_SW_PAD_CTL_PAD_CSI_HSYNC = 0xF1 IOMUXC_SW_PAD_CTL_PAD_CSI_PIXCLK= 0xF1 IOMUXC_SW_PAD_CTL_PAD_CSI_D7= 0xF1 IOMUXC_SW_PAD_CTL_PAD_CSI_D6= 0xF1 - Run driver from shell (devb-mmcsd-3dsmx35) Devan Lippman 2013-04-04T15:32:19Z post100289: xpt_configure: ahci SIM attach failure Per Kristoffersen http://community.qnx.com/sf/go/post100289 2013-04-03T13:27:43Z 2013-04-03T13:27:43Z I'm receiving the above during boot from a flash card (SATA). The buiild is more or less a standard os.build - but using devb-ahci in stead of devb-eide (QNX 6.5.0 SP1). Any suggestions? Per Kristoffersen 2013-04-03T13:27:43Z post100263: Re: Freescale mx25 SDIO stack Devan Lippman http://community.qnx.com/sf/go/post100263 2013-04-02T13:53:23Z 2013-04-02T13:53:23Z > Hi > > After some deeper investigations I got it running. It was a problem with the > IOMUX of the iMX. After setting up the stuff in the IOMUX registers the iMX35 > SD driver runs now on iMX25 also. > > Matthias Hi Matthias, Can you provide source or patch for you changes? Thanks, Devan Devan Lippman 2013-04-02T13:53:23Z post100247: Dual display support in QNX-Freescale i.MX6 Ashfaque Ahamed http://community.qnx.com/sf/go/post100247 2013-04-01T06:11:58Z 2013-04-01T06:11:58Z Hello everyone. I am able to successfully run the vsync and other 3D application on QNX with i.MX6 platform. These applications runs pretty fine. Now i need to demonstrate the dual display support. I.MX6 has two IPUs, and single IPU supports dual display. Please let me know the configuration and settings needed for dual display support. Whether dual display can be supported on QNX Nuetrino 6.5.0? I just need to display two independant content on two displays. Please provide the support. Ashfaque Ahamed 2013-04-01T06:11:58Z post100242: vsync application- LCD Verification Ashfaque Ahamed http://community.qnx.com/sf/go/post100242 2013-03-29T15:09:05Z 2013-03-29T15:09:05Z Hello everyone. I am developing Nuetrino graphics driver for i.MX6/SABRELite platform. For LCD display verification im running the vsync application. When i run the application, it displays blue and then yellow color. Does it indicate that LCD driver is not configured or working properly? What should be the outcome on LCD running vsync? What other methods are available to test LCD? Also where can i get the source code of the vsync? All the .config files i had configured correctly as per my information. Thanks in advance. Regards, Ashfaque Ashfaque Ahamed 2013-03-29T15:09:05Z post100235: Re: Using SPI on Novtech iMX6 board Ivan Tarapov http://community.qnx.com/sf/go/post100235 2013-03-28T22:11:01Z 2013-03-28T22:11:01Z Hey, Dave, thanks a lot. Can you answer a few questions, please? 1. There is a tool in the BSP called spi-master. As far as I understand, this tool is used to initialize the SPI driver. There is also a library that offers the high level SPI API and described in the docs (and included in your source code) which is also called spi-master. Do I understand correctly that these are two completely different things that just happen to be named identically or is there a reason for them being named the same? 2. What is libspi.a? 3. Which is the proper way to reference the library from my app? Include it in the BSP, build along with the BSP and reference it inside the BST structure? Keep it in the QNX650 folder? Again, thanks for getting back at me. > Hello, > > I have posted an experimental archive containing the SPI library and sample > driver source code, along with a Readme for building the source, here: > > http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/ > ExperimentalDriversAndUtilities?_message=1364476005299 > > Regards, > > Dave Ivan Tarapov 2013-03-28T22:11:01Z post100230: Graphics driver for i.MX6 - vsync test fails Ashfaque Ahamed http://community.qnx.com/sf/go/post100230 2013-03-28T14:07:23Z 2013-03-28T14:07:23Z Hello everyone, Im porting the graphics driver to i.MX6 from previous i.MX51. I have done all register mapping and configuration. Included io-display with my build file. Build file is attached for reference. When i run vsync application, im getting below pints and board is being restarted without any display on LCD. Please let me know what could be the issue? I just want to display some images or bitmaps on LCD. # vsync Display Mode Init----->>> filename /etc/system/config/imx51.conf iMX6 imx51_irq_setup-->imx51_irq_setup<--1 Reset IPU 2 3 Waiting for Reset 4 DMFC_DP_CHAN 0x9290 Diplay mod Init--- imx51_get_modelist--> imx51_get_modelist<-- imx51_get_modeinfo: mode 16--> imx51_get_modeinfo<-- imx51_get_modeinfo: mode 24--> 24 Bit Pixel Format imx51_get_modeinfo<-- imx51_set_mode: mode 24-> imx51_set_mode(): xres=800 yres=480 refresh=62 output_fmt=16 di_sel=0 display_type=2 yuv_layer=1 Output Format:RGB565 mode 1 imx51->di_sel 0 Mode 2: div 32 Mode 3: clkdown = 2, clkup = 0 Mode 4: div 2 Mode 5: HSYNC Mode 6: VSYNC Mode 7: DW+DC Mode 8: DW+DC Mode 9: DW+DC Mode 999+++ Mode 9888+++ Mode 10 Mode 11 Mode 12 imx51_layer_reset--> imx51_layer_set_source_viewport--> dispno = 0 layer_idx = 0 x1 = 0 y1 = 0 x2 = 799 y2 = 479 imx51_layer_set_source_viewport<-- imx51_layer_set_dest_viewport--> dispno = 0 layer_idx = 0 x1 = 0 y1 = 0 x2 = 799 y2 = 479 imx51_layer_set_dest_viewport<-- imx51_layer_reset<-- imx51_layer_reset--> imx51_layer_reset<-- Mode 13 imx51_set_mode<- imx51_layer_query--> layer_idx = 0 fmt_idx = 0 dispno = 0 imx51_layer_query<-- imx51_layer_query--> layer_idx = 1 fmt_idx = 0 dispno = 0 imx51_layer_query<-- imx51_layer_query--> layer_idx = 2 fmt_idx = 0 dispno = 0 imx51_mem_init--> imx51_mem_reset--> imx51_mem_fini--> imx51_mem_fini<-- imx51_mem_init--> imx51_query_apertures--> devg_get_miscfuncs--> devg_get_contextfuncs--> Number of displays: 1 Display 0: 800X480, refresh = 60Hz Number of layers: 2 imx51_layer_reset--> imx51_layer_set_source_viewport--> dispno = 0 layer_idx = 0 x1 = 0 y1 = 0 x2 = 799 y2 = 479 imx51_layer_set_source_viewport<-- imx51_layer_set_dest_viewport--> dispno = 0 layer_idx = 0 x1 = 0 y1 = 0 x2 = 799 y2 = 479 imx51_layer_set_dest_viewport<-- imx51_layer_reset<-- imx51_layer_query--> layer_idx = 0 fmt_idx = 0 dispno = 0 imx51_layer_query<-- imx51_alloc_layer_surface:width 800,height 480, format 4, surface_index 0, nlayers 1--> imx51_alloc_layer_surface<-- layer_format_to_surface_format--> SURFACE FORMAT ARGB8888 imx51_alloc_surface:width 800,height 480--> imx51_get_alloc_layer_info--> imx51_get_alloc_layer_info<-- layer_format_to_surface_format--> SURFACE FORMAT ARGB8888 imx51_get_alloc_info:width 800,height 480 --> SURFACE FORMAT ARGB8888 imx51_get_alloc_info<-- devg_get_corefuncs: pixel_format 536870917--> imx51_alloc_layer_surface:width 800,height 480, format 4, surface_index 0, nlayers 1--> imx51_alloc_layer_surface<-- layer_format_to_surface_format--> SURFACE FORMAT ARGB8888 imx51_alloc_surface:width 800,height 480 --> imx51_get_alloc_layer_info--> imx51_get_alloc_layer_info<-- layer_format_to_surface_format--> SURFACE FORMAT ARGB8888 imx51_get_alloc_info:width 800,height 480 --> SURFACE FORMAT ARGB8888 imx51_get_alloc_info<-- imx51_layer_enable--> layer_idx = 0 imx51_layer_set_surface--> surf->paddr: 4010000 Shutdown[0,3] S/C/F=0/0/0 C/D=fe0206a4/fe0a1040 state(3000001)= 1 QNX Version 6.5.0 Release 2012/06/20-13:49:13EDT [0]PID-TID=1-1? P/T FL=00019001/08000000 "proc/boot/procnto-smp-instr" [0]ASPACE PID=16400 PF=00401010 "proc/boot/io-display" [1]PID-TID=1-2? P/T FL=00019001/08000000 "proc/boot/procnto-smp-instr" [1]ASPACE PID=8 PF=00401010 "proc/boot/devb-mmcsd-mx6q-sabrelite" [2]PID-TID=1-3? P/T FL=00019001/08000000 "proc/boot/procnto-smp-instr" [2]ASPACE PID=16396 PF=00401010 "proc/boot/io-pkt-v4" [3]PID-TID=1-4? P/T FL=00019001/08000000 "proc/boot/procnto-smp-instr" [3]ASPACE PID=2 PF=00401010 "proc/boot/devc-sermx1" armle context[effeef20]: 0000: 010766c4 00000000 00000000 40100005 010766c4 00000000 eff199b8 fe0a1144 0020: effd5290 effd5290 fe0a1448 fc412000 00000050 effd1310 fe07d638 01037fec 0040: 80000113 instruction[01037fec]: 00 80 bd e8 00 80 bd e8 00 40 2d e9 57 c0 a0 e3 00 00 00 ef 00 80 bd e8 00 40 stack[effd1310]: 0000: fe0a1600 effdc010 00000000 fe07d638 00000000 00000000 effd132c 00000000 0020: 00000010 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0040: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0060: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 U-Boot 2009.08 (Nov 26 2012 - 22:32:26) Ashfaque Ahamed 2013-03-28T14:07:23Z post100226: Re: Using SPI on Novtech iMX6 board David Green http://community.qnx.com/sf/go/post100226 2013-03-28T13:07:59Z 2013-03-28T13:07:59Z Hello, I have posted an experimental archive containing the SPI library and sample driver source code, along with a Readme for building the source, here: http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/ExperimentalDriversAndUtilities?_message=1364476005299 Regards, Dave David Green 2013-03-28T13:07:59Z post100214: Re: Using SPI on Novtech iMX6 board Ivan Tarapov http://community.qnx.com/sf/go/post100214 2013-03-28T01:02:50Z 2013-03-28T01:02:50Z Anyone? I also discovered that there is no libspi-master library or sources in the Sabrelite BSP. Is there a place where I can get this? Ivan Tarapov 2013-03-28T01:02:50Z post100208: Re: Using devn-sja1000 driver in QNX 6.4.1 Jerzy Dyrda http://community.qnx.com/sf/go/post100208 2013-03-27T18:22:56Z 2013-03-27T18:22:56Z Hello all, Mentioned above behavior wasn't a real problem. It was result of my debugging code. Only of what I caused my problem was using atomic_set function like that denv-sja1000/event.c atomic_set(&ext->ir, *(volatile uint8_t *)(ext->mem + SJA1000_IR)); it doesn't work at PPC platform at all. Converting it regular read solve problem in ugly way but it works: ext->ir = *(volatile uint8_t *)(ext->mem + SJA1000_IR); Summarizing driver works fine with QNX 6.4.1 with using old stack io-net. Jerzy Dyrda 2013-03-27T18:22:56Z post100146: Re: Getting LCD to work on TI DM3730 David Kvasnica http://community.qnx.com/sf/go/post100146 2013-03-25T16:30:58Z 2013-03-25T16:30:58Z Can anyone please help point me in the right direction with this problem? Thanks! David Kvasnica 2013-03-25T16:30:58Z post100144: Re: Ethernet on TI DM3730 with SMSC LAN9220 David Kvasnica http://community.qnx.com/sf/go/post100144 2013-03-25T16:14:53Z 2013-03-25T16:14:53Z So far I have not had any luck with this. According to our board documentation, our ethernet chip is connected to the GPMC, CS4 with irq GPIO65. I am not familiar with how addressing works with GPMCs (I tried doing some research to figure out how, but did not come up with much), therefore I'm still unsure which port we should be using. I loaded a working embedded version of linux onto our board and pulled some logs. During bootup, I can see that the Ethernet driver connects to port 0x2c000000, irq 323. However, once the board is booted, we see this line in the logs: “smsc911x smsc911x.0: eth0: SMSC911x/921x identified at 0xd086a000, IRQ: 323”. I tried using both ports, but both appear to crash the driver: Process 28686 (io-pkt-v4) terminated SIGBUS code=3 fltno=5 ip=7800c4e0(/proc/boot/devn-smc9118.so@smc9118_detect+0x3d4) mapaddr=000024e0. ref=28000050 Any help/pointers would be greatly appreciated! Thanks David Kvasnica 2013-03-25T16:14:53Z post100136: Re: rel3878 issue (3530 Beagle Board BSP; broken link inside Readme .htm) David Green http://community.qnx.com/sf/go/post100136 2013-03-25T14:16:54Z 2013-03-25T14:16:54Z I found it by Googling "qnx am omap boot resources" :-) David Green 2013-03-25T14:16:54Z post100135: Re: rel3878 issue (3530 Beagle Board BSP; broken link inside Readme .htm) Igor Rondarev http://community.qnx.com/sf/go/post100135 2013-03-25T14:01:57Z 2013-03-25T14:01:57Z David, thank you for your reply! By the way, i couldn't find this document both using Global Foundry27 Search and Using Wiki search (even with "OMAP" keyword). there are probably some issues with search engine, aren't they? Thanks, Igor Igor Rondarev 2013-03-25T14:01:57Z post100134: Re: rel3878 issue (3530 Beagle Board BSP; broken link inside Readme .htm) David Green http://community.qnx.com/sf/go/post100134 2013-03-25T13:45:58Z 2013-03-25T13:45:58Z Hi, The link you're looking for is the same link as found elsewhere in the document, here: "TI AM/OMAP Booting and Flash Recovery <http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/AM_OMAP_boo t_resources>". We'll get this broken link fixed in the readme document. Thanks, ------------------------- Dave Green QNX Software Systems Limited dgreen@qnx.com On 13-03-25 9:37 AM, "Igor Rondarev" <community-noreply@qnx.com> wrote: >Errata: >* the document itself ("TI OMAP3530 Beagle 6.5.0 BSP Readme") is >http://community.qnx.com/sf/go/rel3878 >* the broken link inside it is >http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/AM-OMAP_boo >t_resources > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post100133 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com David Green 2013-03-25T13:45:58Z post100133: Re: rel3878 issue (3530 Beagle Board BSP; broken link inside Readme .htm) Igor Rondarev http://community.qnx.com/sf/go/post100133 2013-03-25T13:37:59Z 2013-03-25T13:37:59Z Errata: * the document itself ("TI OMAP3530 Beagle 6.5.0 BSP Readme") is http://community.qnx.com/sf/go/rel3878 * the broken link inside it is http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/AM-OMAP_boot_resources Igor Rondarev 2013-03-25T13:37:59Z post100132: rel3878 issue (3530 Beagle Board BSP; broken link inside Readme .htm) Igor Rondarev http://community.qnx.com/sf/go/post100132 2013-03-25T13:32:58Z 2013-03-25T13:32:58Z Hello, i've found a broken link inside a document which describes QNX installation to OMAP 3530 Beagle Board device; http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/AM-OMAP_boot_resources (aka http://community.qnx.com/sf/go/rel3878 ) How could it be fixed? BTW, does anybody know, what is the current link to this document (i'm particulary interested in QNX IPL section of this document) Thanks, Igor Igor Rondarev 2013-03-25T13:32:58Z post100117: Re: usb device address unexpected Raymond Yeung http://community.qnx.com/sf/go/post100117 2013-03-23T01:15:15Z 2013-03-23T01:15:15Z I found the code, under ...src/services/usb/hcd/class.c, and studied it in some details. It seems the driver would manage allocation and deallocation of the device address #. When we saw the issue, command "usb" only printed details for 1 device. If there's a missed reset/disconnect, we should see 2 devices on the output, I'd think. However, if the reset/disconnect is detected, then the previous number should have been deallocated, before a new enumeration occurs during which the same device number of 1 should have been assigned. Would this suggest I need to check for the latest class.c (or maybe the entire USB implementation) in 6.4.0 from QNX? I can make that request. What do you think? Raymond Yeung 2013-03-23T01:15:15Z post100116: Using SPI on Novtech iMX6 board Ivan Tarapov http://community.qnx.com/sf/go/post100116 2013-03-23T00:59:08Z 2013-03-23T00:59:08Z Hi, I would like to try out some things with SPI on i.MX6 board from Novtech. QNX has a BSP for SabreLite which is a similar board. Novtech offers a version of the BSP which was modified to strip away graphics, audio and ethernet and reconfigure the serial port base address. I have launched the board with this BSP and now I would like to know, how can I create two SPI devices and transfer some data between them. For now I would like to use two SPI ports that are available from i.MX6 on this board. I have never done this before, so I just need a few simple nudges in the right direction. At first, I am assuming that drivers need to be launched to enable the SPI ports on the boards. The default startup script from Sabrelite has this line in its build script: spi-master -u1 -d mx51ecspi base=0x02008000,irq=63,loopback=1 It also has some commented lines after that that go like this: # Starting Enhanced SPI driver ECSPI2 (/dev/spi2) # spi-master -u2 -d mx51ecspi base=0x0200C000,irq=64,loopback=1 I am assuming that base=0x02008000 specifies the base address for the SPI and it is unlikely that it's the same for Novtech. Am I right to assume that I need to call spi-master with proper parameters a few times before being able to use the ports from user-level code? Another question - how do this call maps to creation of dev/spiX device? How does the number gets assigned? How does this number maps to the actual i.MX6 pins? Thanks Ivan Tarapov 2013-03-23T00:59:08Z post100107: Re: usb device address unexpected Gervais Mulongoy http://community.qnx.com/sf/go/post100107 2013-03-22T17:03:50Z 2013-03-22T17:03:50Z I wish I remembered specifically enough to direct you, but normally I used the verbose output from the usb server to figure out the sequence of the implementation, I think you might be able to do that as well. If anything the traces should point you in the right direction. I hope that helps! Gervais Mulongoy 2013-03-22T17:03:50Z post100101: Re: usb device address unexpected Raymond Yeung http://community.qnx.com/sf/go/post100101 2013-03-22T15:29:12Z 2013-03-22T15:29:12Z Thanks Gervais. I've the USB source code. Would you remember where this reset and address allocation take place? Raymond Raymond Yeung 2013-03-22T15:29:12Z post100092: Re: usb device address unexpected Gervais Mulongoy http://community.qnx.com/sf/go/post100092 2013-03-22T12:20:51Z 2013-03-22T12:20:51Z There might be some signalling issues which is causing resets where the USB server will use the next free device address. If you turn on verbosity in the server you should be able to confirm. Gervais Mulongoy 2013-03-22T12:20:51Z post100079: usb device address unexpected Raymond Yeung http://community.qnx.com/sf/go/post100079 2013-03-22T02:51:57Z 2013-03-22T02:51:57Z We use 8641d CPU with a multiple ports USB 2.0 controller. We have only 1 USB memory device to one of the 3 ports on the controller. We use ehci.so driver. When we invoke QNX command "usb", sometimes we see the memory device has a device address other than 1 (e.g. 2). How is this possible? How does the driver determine the address #? I'm expecting that the address should be "1" all the time. Raymond Yeung 2013-03-22T02:51:57Z post100075: Re: Getting LCD to work on TI DM3730 David Kvasnica http://community.qnx.com/sf/go/post100075 2013-03-21T18:17:27Z 2013-03-21T18:17:27Z Display config file 2 David Kvasnica 2013-03-21T18:17:27Z post100074: Re: Getting LCD to work on TI DM3730 David Kvasnica http://community.qnx.com/sf/go/post100074 2013-03-21T18:17:00Z 2013-03-21T18:17:00Z Display config file 1 David Kvasnica 2013-03-21T18:17:00Z post100073: Getting LCD to work on TI DM3730 David Kvasnica http://community.qnx.com/sf/go/post100073 2013-03-21T18:16:33Z 2013-03-21T18:16:33Z Hello, I am working with a CompuLab T3730 target board which is very similar to a Beagleboard. I downloaded the "Texas Instruments 3730 Beagleboard-xM" BSP, compiled it, and loaded it onto my target which appears to have worked for the most part, aside from two components: ethernet and display. For the display, it appears my drivers are loading correctly and that the egl-gears app is running properly (I see fps console prints and, according to pidi,n the app is running), however I don't see anything on the LCD. In fact, the LCD does not appear to be turned on at all. Is there something special I need to do to get the display information to be redirected to the LCD? Or perhaps do I need to perform some special commands to turn on the LCD? Attached is my build script and display config files. Thanks in advance! David David Kvasnica 2013-03-21T18:16:33Z post100062: Re: Ethernet on TI DM3730 with SMSC LAN9220 David Kvasnica http://community.qnx.com/sf/go/post100062 2013-03-20T21:37:57Z 2013-03-20T21:37:57Z Right sorry, is the attached what you are asking for? In terms of "why am I...", the short answer is that this is the build script that came with the beagleboard BSP. I have not made many changes to it yet; I am still exploring the build script myself and trying to figure out what is going on inside it. However, I have done some digging around, and I believe the beagleboard bsp set up ethernet through a USB dongle and hence why the command to start the ethernet driver does not set a port/irq. I noticed in the slogger file the following error with my build: "devn-smc9118: must specify an I/O port and IRQ" I'm still trying to determine what should be the correct port/irq for my hardware, so hopefully that is all that is left for me to configure for ethernet. I will let you know once I make progress. David Kvasnica 2013-03-20T21:37:57Z post100052: Re: Freescale P2020 Error at a file transfer on USB. Nikolaeva Marina http://community.qnx.com/sf/go/post100052 2013-03-20T15:52:52Z 2013-03-20T15:52:52Z Hello, David. We transfer a file from memory DDR2 of CPU to USB mass storage device. We used USB mass storage (USB flash) with DOS and QNX filesystem. Nikolaeva Marina 2013-03-20T15:52:52Z post100039: Re: Freescale P2020 Error at a file transfer on USB. David Green http://community.qnx.com/sf/go/post100039 2013-03-20T13:24:44Z 2013-03-20T13:24:44Z could you please describe how you are transferring the file? Is it a USB mass storage device? If so, which device? Where are you copying the file from/to? What filesystem is in use, DOS or QNX4? David Green 2013-03-20T13:24:44Z post100038: Re: Ethernet on TI DM3730 with SMSC LAN9220 David Green http://community.qnx.com/sf/go/post100038 2013-03-20T12:49:00Z 2013-03-20T12:49:00Z can you post the entire build file (not just the startup script)? I want to see what drivers and libraries are included in your boot image. Also, why are you slaying and re-starting io-usb in the startup script? ------------------------- Dave Green QNX Software Systems Limited dgreen@qnx.com On 13-03-19 4:27 PM, "David Kvasnica" <community-noreply@qnx.com> wrote: >Attached > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post100017 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com David Green 2013-03-20T12:49:00Z post100032: Freescale P2020 Error at a file transfer on USB. Nikolaeva Marina http://community.qnx.com/sf/go/post100032 2013-03-20T10:37:07Z 2013-03-20T10:37:07Z Platform: Neutrino 6.4.1 BSP: Freescale P2020 Drivers: devu-ehci-p2020.so When we transfer a file more than 64 Mbyte, we see that the file is transferred incorrectly. We see file corruption when copying file more than 64Mbytes. File, which we transferred a contains 24 Kbytes of the correct data and 8 Kbytes of the wrong data. And so it is consecutive in all file. Thus wrong transfer occurs not constantly. Nikolaeva Marina 2013-03-20T10:37:07Z post100020: how to use usb camera on beagleboard omap3530 white shaw http://community.qnx.com/sf/go/post100020 2013-03-20T01:12:48Z 2013-03-20T01:12:48Z i migrated a QNX to beagleboard omap3530,i want use a usb camera on the board,but i can't find the device file in /dev.i found that i can use the network card because of a script ran when the system is booting.but i can't write a script for the usb camera.i think if somone could teach me how to deal with it,or give me a script to start the camera,thanks! and i will offer the script named network.sh. white shaw 2013-03-20T01:12:48Z post100017: Re: Ethernet on TI DM3730 with SMSC LAN9220 David Kvasnica http://community.qnx.com/sf/go/post100017 2013-03-19T20:27:39Z 2013-03-19T20:27:39Z Attached David Kvasnica 2013-03-19T20:27:39Z post100016: Re: Ethernet on TI DM3730 with SMSC LAN9220 David Green http://community.qnx.com/sf/go/post100016 2013-03-19T20:22:43Z 2013-03-19T20:22:43Z can you post the build file you're using to build the IFS image that boots the board? It could be that you're missing a necessary library... ------------------------- Dave Green QNX Software Systems Limited dgreen@qnx.com On 13-03-19 2:03 PM, "David Kvasnica" <community-noreply@qnx.com> wrote: >Great, thanks! > >I am still getting a similar error though: > >Starting network driver... >Unable to init devn-smc9118.so: Unknown error > >I'm guessing I have to perform some configurations to get this driver >running. Can you point me to what kind of configurations I might need to >do, or what my next steps should be to debug this and get it to work? > >Cheers! >David > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post100012 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com David Green 2013-03-19T20:22:43Z post100013: tftpd in QNX Neutrino 6.5.0 does not allow new file to be created Jane Sun http://community.qnx.com/sf/go/post100013 2013-03-19T18:53:54Z 2013-03-19T18:53:54Z Hi QNX Tech Support, Normally the tftpd has "--create" option, to allow a new file to be created when using TFTP to upload (put command) a file to the server. But the tftpd in QNX Neutrino 6.5.0 does not support "--create" option. Is there a way to allow file creating in QNX's tftpd? Thanks, Jane Sun Jane Sun 2013-03-19T18:53:54Z post100012: Re: Ethernet on TI DM3730 with SMSC LAN9220 David Kvasnica http://community.qnx.com/sf/go/post100012 2013-03-19T18:03:53Z 2013-03-19T18:03:53Z Great, thanks! I am still getting a similar error though: Starting network driver... Unable to init devn-smc9118.so: Unknown error I'm guessing I have to perform some configurations to get this driver running. Can you point me to what kind of configurations I might need to do, or what my next steps should be to debug this and get it to work? Cheers! David David Kvasnica 2013-03-19T18:03:53Z post100011: Re: Miscellaneous utilities for reading smart battery status and so on ... Mike Gorchak http://community.qnx.com/sf/go/post100011 2013-03-19T17:21:30Z 2013-03-19T17:21:30Z > Thanks for these nifty utilities, they can talk to the smart battery on an > Xplore iX104C5 tablet with slight mods You are welcome, I'm glad I could help. > Would there be any utilities that can > place the Xplore (x86) into sleep state S5? Unfortunately, no. You could use ACPICA ( https://www.acpica.org/ ) project to control power states of system devices, but each hardware component, including each device driver have to support S5. ACPICA is just an API for ACPI, all you need is to call proper ACPI functions for your needs. Mike Gorchak 2013-03-19T17:21:30Z post99994: Re: Ethernet on TI DM3730 with SMSC LAN9220 David Green http://community.qnx.com/sf/go/post99994 2013-03-19T12:49:22Z 2013-03-19T12:49:22Z Hi, The devn-smc9118.so driver (with source code) is included in the BSP for the i.MX53 Sabre AI platform. You can download this BSP here: http://community.qnx.com/sf/frs/do/viewRelease/projects.bsp/frs.freescale_i_mx53_sabre_ai.freescale_i_mx53_sabre_ai_bsp Regards, Dave David Green 2013-03-19T12:49:22Z post99987: Re: Miscellaneous utilities for reading smart battery status and so on ... Steven Anderson http://community.qnx.com/sf/go/post99987 2013-03-19T11:57:41Z 2013-03-19T11:57:41Z Thanks for these nifty utilities, they can talk to the smart battery on an Xplore iX104C5 tablet with slight mods. Would there be any utilities that can place the Xplore (x86) into sleep state S5? Thanks Steve Anderson Steven Anderson 2013-03-19T11:57:41Z post99973: Ethernet on TI DM3730 with SMSC LAN9220 David Kvasnica http://community.qnx.com/sf/go/post99973 2013-03-18T22:40:57Z 2013-03-18T22:40:57Z Hello, I am pretty new to QNX so please bear with me. I am working with a CompuLab T3730 target board which is very similar to a Beagleboard. I downloaded the "Texas Instruments 3730 Beagleboard-xM" BSP, compiled it, and loaded it onto my target which appears to have worked for the most part, aside from two components: ethernet and display. For ethernet, I get the following during boot-up: Starting network driver... Unable to init devn-smsc9500.so: Unknown error So now my question is, how do I go about debugging and fixing this? My first thought was that this library is not the correct lib for my ethernet chip (SMSC LAN9220). Looking through the forum (http://community.qnx.com/sf/discussion/do/listPosts/projects.bsp/discussion.bsp.topc21914?_pagenum=3), it appears that devn-smsc9118.so is the correct one, however where can I download this lib? Thanks in advance! David David Kvasnica 2013-03-18T22:40:57Z post99952: OMAPL138 Hawkboard GPIO Usage Deepti Panchal http://community.qnx.com/sf/go/post99952 2013-03-18T10:17:01Z 2013-03-18T10:17:01Z I'm trying to toggle the GP2[10] pin which is multiplexed with "SPI1_SIMO" pin through QNX Neutrino using the following piece of code: int main(int argc, char *argv[]) { /* Control a Thread */ if(ThreadCtl(_NTO_TCTL_IO, 0) < 0) printf("ERROR\n"); /* Gain access to OMAPL138 device's registers */ syscfg_addr = mmap_device_io(32, OMAPL138_SYSCFG_BASE); /* Unlocking the KICK registers */ out32(syscfg_addr + OMAPL138_SYSCFG_KICK0R, 0x83E70B13); out32(syscfg_addr + OMAPL138_SYSCFG_KICK1R, 0x95A4F1E0); /* Configure GP2[10] pin */ out32(syscfg_addr + OMAPL138_SYSCFG_PINMUX16, 0x00800000); /* Gain access to OMAPL138 GPIO registers */ gpio_base_addr = mmap_device_io(OMAPL138_GPIO_SIZE, OMAPL138_GPIO_BASE); /* Configure GP2[10] in output mode */ out32(gpio_base_addr + OMAPL138_GPIO_DIR23, in32(gpio_base_addr + OMAPL138_GPIO_DIR23) & 0xfffffbff); /* Locking the KICK registers */ out32(syscfg_addr + OMAPL138_SYSCFG_KICK0R, 0); out32(syscfg_addr + OMAPL138_SYSCFG_KICK1R, 0); while(1) { out32(gpio_base_addr + OMAPL138_GPIO_OUT_DATA23, in32(gpio_base_addr + OMAPL138_GPIO_OUT_DATA23) ^ 0x00000400); delay(400); } return EXIT_SUCCESS; } The code compiles fine, but when checked on the DSO, I'm NOT able to see the toggling on the GP2[10] pin. Can somebody help me on this? Is there something which I'm missing out in the above code? Regards, Deepti Deepti Panchal 2013-03-18T10:17:01Z post99844: Re: How to read/write PCI Card's I/O Port Register? Vadim V http://community.qnx.com/sf/go/post99844 2013-03-13T07:25:56Z 2013-03-13T07:25:56Z Good day. In attachment presents undefined in the common <hw/pci...> headers type of data PCI_INF. Please tell what is this structure? Vadim V 2013-03-13T07:25:56Z post99837: Adding unified L2 cache Preetham Chandrian http://community.qnx.com/sf/go/post99837 2013-03-12T20:55:25Z 2013-03-12T20:55:25Z Hi, I am trying to port qnx bsp on to a ARM V5TE processor which is having a unified L2$ ( programmed through CP15). Could you tell me the steps to add L2$ during hardware Initialization? should it be done through the cacheattr? if so could you please explain. Thanks, Preetham Preetham Chandrian 2013-03-12T20:55:25Z post99814: Re: How to read/write PCI Card's I/O Port Register? Vadim V http://community.qnx.com/sf/go/post99814 2013-03-12T11:21:48Z 2013-03-12T11:21:48Z OK, just define them yourself: #define ... Vadim V 2013-03-12T11:21:48Z post99804: IMX53 QSB VGA Ramesh R http://community.qnx.com/sf/go/post99804 2013-03-12T09:40:40Z 2013-03-12T09:40:40Z Hi, I am using IMX53QSB, how can I enable the VGA and photon? I tried to modify in the build file from the src/hardware/startup/boards/imx53qsb/build file, could not fix. Ramesh R 2013-03-12T09:40:40Z post99791: How can we force linux kernel linking from QNX build file? AMIT TOMAR http://community.qnx.com/sf/go/post99791 2013-03-11T19:51:38Z 2013-03-11T19:51:38Z We have been working on project where we are porting from QNX kernel to Linux kernel,Currently we have QNX build file from where we are calling our procnto Qnx kernel after some startup code. Now we are trying to call Linux Kernel instead of Qnx Kernel but while building our IFS file we are not able to link to Linux Kernel to this final IFS image although we have inserted ELF Header into Linux KERNEL. Error msg shows says -> Warning: Host file 'libc.so' missing. Can not find required linker for '/nobackup/njaganat/CRS_2/nto/os/sys/bin-x86e/Linux_kernel '. /nobackup/njaganat/CRS_2/nto/util/bin-x86-linux/mkxfs returns error Below is content of build file. [image=0x400000] [+optional] [+compress] [linker="gld.c4.2.1-p2.linux -m elf_i386 -e _start -T/xyz/build/src-x86e/link.map -EL %(h!=0, -Ttext 0x%t%)%(d!=0, -Tdata 0x%d%) -o%o %i %[M -L%^i -uinit_%n -lmod_%n -L%^i -L/nobackup/xyz/nto/os/lib/bin-x86e -Bstatic -lc %]"] [virtual=x86,name] .bootstrap = { [+keeplinked] [search="$\{ROOT_DIR\}"/nto/os/sys/bin-x86e ] KER_VSIZE=512M PATH="/bin:/sbin:" Linux_kernel } Is it because we are missing libc.so file as "The runtime linker is expected to be found in a file called ldqnx.so.2, but the runtime linker is currently contained within the libc.so file, so we would make a process manager symbolic link to it." Canbody let us know what could be the problem Thanks, Amit AMIT TOMAR 2013-03-11T19:51:38Z post99775: Re: BSP for Advamtech PCM-3362 forQNX 6.3.2 Marcin Morawski http://community.qnx.com/sf/go/post99775 2013-03-08T20:36:12Z 2013-03-08T20:36:12Z Hi, Although the topic is quite old, maybe You can help me. I'm interesting in using SUSI API with QNX RTOS on Advantech's PCM-3362. Is it included in BSP You have mentioned above or it is necessary to install it separately. If so, is there any manual/toutorial how to do this? I have not found any information about it either on foundary27 or Advantech's website. I would be gratefull for any help in this matter. Regards Marcin Marcin Morawski 2013-03-08T20:36:12Z post99774: Re: How to read/write PCI Card's I/O Port Register? Vadim V http://community.qnx.com/sf/go/post99774 2013-03-08T20:18:55Z 2013-03-08T20:18:55Z Sorry for past tiredness and thanks for answer, I meant the initialized function pci_attach_device(), of course. But how will I fill in the fields of struct pci_dev_info* inf: inf->VendorId and inf->DeviceId, if we have no QNX defined values for them? Vadim V 2013-03-08T20:18:55Z post99728: Re: How to read/write PCI Card's I/O Port Register? Gervais Mulongoy http://community.qnx.com/sf/go/post99728 2013-03-07T12:37:01Z 2013-03-07T12:37:01Z I believe pci_device_attach() should do the trick even if your device isn't in the list of "known" or supported devices as per the documentation. Gervais Mulongoy 2013-03-07T12:37:01Z post99721: RE: x86 patch installation for Advantech AIMB-580 BSP Doug Warner http://community.qnx.com/sf/go/post99721 2013-03-06T23:32:38Z 2013-03-06T23:32:38Z Yes, I noticed that the patch files were binary and there were source files in the corresponding directory tree locations in the BSP project. Thanks for the answers. -----Original Message----- From: David Green [mailto:community-noreply@qnx.com] Sent: Wednesday, March 06, 2013 7:16 AM To: general-bsp@community.qnx.com Subject: Re: x86 patch installation for Advantech AIMB-580 BSP Hi Doug, Yes, building the current BSP in an SP1 environment will get you the 'latest greatest' x86 support. The previous patch was a roll-up of the current (at that time) x86 startup library and related components, but there have been additional improvements and chipset support added since then. Patches and BSPs don't typically intermingle; the patch likely consists of pre-built binaries and libraries, which will get installed to (for example) /boot/sys/startup-apic, or /boot/sys/startup-bios on your host PC. The BSP builds these components from source, and then installs them to the BSP's own install/x86/boot/sys/ directory, where they will get picked up by mkifs when you make IFS (in the BSP's /images directory). I think to apply the patch to an existing IDE project, you would need to manually copy the desired components from the patch to the equivalent directory where the IDE is picking them up for its project. ------------------------- Dave Green QNX Software Systems Limited dgreen@qnx.com On 13-03-05 6:28 PM, "Doug Warner" <community-noreply@qnx.com> wrote: >I have a separate development host with Momentics 6.5.0 SP1 installed >on it; the plan is to do the development work on the host and download >results to the target (AIMB-580) and debug remotely. > >I take it you are saying that building the current x86 BSP on this host >system, which includes SP1, effectively includes the patch I referenced >for use of the x86 BSP on my AIMB-580 board? > >I would still like to find instructions for adding a patch to a BSP >that will be built under Momentics (how to copy the patches into the >x86 project (or whatever target flavor) in Eclipse. > >-----Original Message----- >From: David Green [mailto:community-noreply@qnx.com] >Sent: Tuesday, March 05, 2013 7:29 AM >To: general-bsp@community.qnx.com >Subject: Re: x86 patch installation for Advantech AIMB-580 BSP > >Hi Doug, > >The x86 update patch you refer to is obsolete; the most current x86 >support can be found in QNX Momentics 6.5.0 SP1, upon which the current >x86 BIOS/APIC BSP is based. You can most likely use your AIMB-580 >system as a host, by connecting a CD-ROM and hard drive to it, and >install Momentics 6.5.0 directly, followed by applying the SP1 patch. >This combination already contains binaries of startup-bios and >startup-apic which should be suitable for booting your board. If you >find it necessary to rebuild the startup code, you can then get the x86 >BSP and build it. > >For the latest support of HD audio, Intel network controllers, >graphics, etc., you can find it here: > >http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/Experime >nta >lDriversAndUtilities > >http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/Released >Dri >versAndUtilities > >Regards, > >------------------------- >Dave Green >QNX Software Systems Limited >dgreen@qnx.com > > >From: Doug Warner ><community-noreply@qnx.com<mailto:community-noreply@qnx.com>> >Reply-To: >"general-bsp@community.qnx.com<mailto:general-bsp@community.qnx.com>" ><general-bsp@community.qnx.com<mailto:general-bsp@community.qnx.com>> >Date: Monday, 4 March, 2013 8:08 PM >To: "general-bsp@community.qnx.com<mailto:general-bsp@community.qnx.com>" ><general-bsp@community.qnx.com<mailto:general-bsp@community.qnx.com>> >Subject: x86 patch installation for Advantech AIMB-580 BSP > >I have the Advantech AIMB-580 board; have downloaded the ³x86 BIOS / >APIC² BSP and successfully built it using the 6.5.0 Eclipse IDE > >I assume I need start with the above x86 BSP and then add the following >update patch for use with the Advantech board: Patch: x86 update #1 >for SDP 6.5.0 ³patch-650-2338-RS3775_x86-650-updates.tar² > >How do I add this patch to the Eclipse project? > > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post99682 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com > > > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post99695 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com _______________________________________________ QNX BSPs http://community.qnx.com/sf/go/post99700 To cancel your subscription to this discussion, please e-mail general-bsp-unsubscribe@community.qnx.com Doug Warner 2013-03-06T23:32:38Z post99718: Re: How to read/write PCI Card's I/O Port Register? Vadim V http://community.qnx.com/sf/go/post99718 2013-03-06T21:49:57Z 2013-03-06T21:49:57Z Sorry for question, now I want to write a resource manager for the PCIe controller of the FPGA device. Among vendors in <hw/pci_device.h> my vendor -- 0x1172 -- is abscent. Do I have a chance to register my device in the PCI Config Space? And what kind of the way? Through pci_device_attach() or something else? With regards... Vadim V 2013-03-06T21:49:57Z post99703: Smart battery read for Xplore iX104C5 tablet Steven Anderson http://community.qnx.com/sf/go/post99703 2013-03-06T13:57:50Z 2013-03-06T13:57:50Z I am in need of a utility to obtain battery status for a commercial medical device. The iX104C5 uses an IT8760E LPC at bus address 2E according to XploreTech. Running dump_smbus finds SMBUS0 with 4 devices, two unknown. Running smb-ec results in "Memory fault (core dumped)". It appears the code attempts to read memory at address 0x400EC010, evidently a no-no. Any help would be much appreciated! Steven Anderson 2013-03-06T13:57:50Z post99700: Re: x86 patch installation for Advantech AIMB-580 BSP David Green http://community.qnx.com/sf/go/post99700 2013-03-06T13:15:36Z 2013-03-06T13:15:36Z Hi Doug, Yes, building the current BSP in an SP1 environment will get you the 'latest greatest' x86 support. The previous patch was a roll-up of the current (at that time) x86 startup library and related components, but there have been additional improvements and chipset support added since then. Patches and BSPs don't typically intermingle; the patch likely consists of pre-built binaries and libraries, which will get installed to (for example) /boot/sys/startup-apic, or /boot/sys/startup-bios on your host PC. The BSP builds these components from source, and then installs them to the BSP's own install/x86/boot/sys/ directory, where they will get picked up by mkifs when you make IFS (in the BSP's /images directory). I think to apply the patch to an existing IDE project, you would need to manually copy the desired components from the patch to the equivalent directory where the IDE is picking them up for its project. ------------------------- Dave Green QNX Software Systems Limited dgreen@qnx.com On 13-03-05 6:28 PM, "Doug Warner" <community-noreply@qnx.com> wrote: >I have a separate development host with Momentics 6.5.0 SP1 installed on >it; the plan is to do the development work on the host and download >results to the target (AIMB-580) and debug remotely. > >I take it you are saying that building the current x86 BSP on this host >system, which includes SP1, effectively includes the patch I referenced >for use of the x86 BSP on my AIMB-580 board? > >I would still like to find instructions for adding a patch to a BSP that >will be built under Momentics (how to copy the patches into the x86 >project (or whatever target flavor) in Eclipse. > >-----Original Message----- >From: David Green [mailto:community-noreply@qnx.com] >Sent: Tuesday, March 05, 2013 7:29 AM >To: general-bsp@community.qnx.com >Subject: Re: x86 patch installation for Advantech AIMB-580 BSP > >Hi Doug, > >The x86 update patch you refer to is obsolete; the most current x86 >support can be found in QNX Momentics 6.5.0 SP1, upon which the current >x86 BIOS/APIC BSP is based. You can most likely use your AIMB-580 system >as a host, by connecting a CD-ROM and hard drive to it, and install >Momentics 6.5.0 directly, followed by applying the SP1 patch. This >combination already contains binaries of startup-bios and startup-apic >which should be suitable for booting your board. If you find it >necessary to rebuild the startup code, you can then get the x86 BSP and >build it. > >For the latest support of HD audio, Intel network controllers, graphics, >etc., you can find it here: > >http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/Experimenta >lDriversAndUtilities > >http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/ReleasedDri >versAndUtilities > >Regards, > >------------------------- >Dave Green >QNX Software Systems Limited >dgreen@qnx.com > > >From: Doug Warner ><community-noreply@qnx.com<mailto:community-noreply@qnx.com>> >Reply-To: >"general-bsp@community.qnx.com<mailto:general-bsp@community.qnx.com>" ><general-bsp@community.qnx.com<mailto:general-bsp@community.qnx.com>> >Date: Monday, 4 March, 2013 8:08 PM >To: "general-bsp@community.qnx.com<mailto:general-bsp@community.qnx.com>" ><general-bsp@community.qnx.com<mailto:general-bsp@community.qnx.com>> >Subject: x86 patch installation for Advantech AIMB-580 BSP > >I have the Advantech AIMB-580 board; have downloaded the ³x86 BIOS / >APIC² BSP and successfully built it using the 6.5.0 Eclipse IDE > >I assume I need start with the above x86 BSP and then add the following >update patch for use with the Advantech board: Patch: x86 update #1 for >SDP 6.5.0 ³patch-650-2338-RS3775_x86-650-updates.tar² > >How do I add this patch to the Eclipse project? > > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post99682 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com > > > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post99695 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com David Green 2013-03-06T13:15:36Z post99695: RE: x86 patch installation for Advantech AIMB-580 BSP Doug Warner http://community.qnx.com/sf/go/post99695 2013-03-05T23:28:48Z 2013-03-05T23:28:48Z I have a separate development host with Momentics 6.5.0 SP1 installed on it; the plan is to do the development work on the host and download results to the target (AIMB-580) and debug remotely. I take it you are saying that building the current x86 BSP on this host system, which includes SP1, effectively includes the patch I referenced for use of the x86 BSP on my AIMB-580 board? I would still like to find instructions for adding a patch to a BSP that will be built under Momentics (how to copy the patches into the x86 project (or whatever target flavor) in Eclipse. -----Original Message----- From: David Green [mailto:community-noreply@qnx.com] Sent: Tuesday, March 05, 2013 7:29 AM To: general-bsp@community.qnx.com Subject: Re: x86 patch installation for Advantech AIMB-580 BSP Hi Doug, The x86 update patch you refer to is obsolete; the most current x86 support can be found in QNX Momentics 6.5.0 SP1, upon which the current x86 BIOS/APIC BSP is based. You can most likely use your AIMB-580 system as a host, by connecting a CD-ROM and hard drive to it, and install Momentics 6.5.0 directly, followed by applying the SP1 patch. This combination already contains binaries of startup-bios and startup-apic which should be suitable for booting your board. If you find it necessary to rebuild the startup code, you can then get the x86 BSP and build it. For the latest support of HD audio, Intel network controllers, graphics, etc., you can find it here: http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/ExperimentalDriversAndUtilities http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/ReleasedDriversAndUtilities Regards, ------------------------- Dave Green QNX Software Systems Limited dgreen@qnx.com From: Doug Warner <community-noreply@qnx.com<mailto:community-noreply@qnx.com>> Reply-To: "general-bsp@community.qnx.com<mailto:general-bsp@community.qnx.com>" <general-bsp@community.qnx.com<mailto:general-bsp@community.qnx.com>> Date: Monday, 4 March, 2013 8:08 PM To: "general-bsp@community.qnx.com<mailto:general-bsp@community.qnx.com>" <general-bsp@community.qnx.com<mailto:general-bsp@community.qnx.com>> Subject: x86 patch installation for Advantech AIMB-580 BSP I have the Advantech AIMB-580 board; have downloaded the “x86 BIOS / APIC” BSP and successfully built it using the 6.5.0 Eclipse IDE I assume I need start with the above x86 BSP and then add the following update patch for use with the Advantech board: Patch: x86 update #1 for SDP 6.5.0 “patch-650-2338-RS3775_x86-650-updates.tar” How do I add this patch to the Eclipse project? _______________________________________________ QNX BSPs http://community.qnx.com/sf/go/post99682 To cancel your subscription to this discussion, please e-mail general-bsp-unsubscribe@community.qnx.com Doug Warner 2013-03-05T23:28:48Z post99682: Re: x86 patch installation for Advantech AIMB-580 BSP David Green http://community.qnx.com/sf/go/post99682 2013-03-05T13:29:35Z 2013-03-05T13:29:35Z Hi Doug, The x86 update patch you refer to is obsolete; the most current x86 support can be found in QNX Momentics 6.5.0 SP1, upon which the current x86 BIOS/APIC BSP is based. You can most likely use your AIMB-580 system as a host, by connecting a CD-ROM and hard drive to it, and install Momentics 6.5.0 directly, followed by applying the SP1 patch. This combination already contains binaries of startup-bios and startup-apic which should be suitable for booting your board. If you find it necessary to rebuild the startup code, you can then get the x86 BSP and build it. For the latest support of HD audio, Intel network controllers, graphics, etc., you can find it here: http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/ExperimentalDriversAndUtilities http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/ReleasedDriversAndUtilities Regards, ------------------------- Dave Green QNX Software Systems Limited dgreen@qnx.com From: Doug Warner <community-noreply@qnx.com<mailto:community-noreply@qnx.com>> Reply-To: "general-bsp@community.qnx.com<mailto:general-bsp@community.qnx.com>" <general-bsp@community.qnx.com<mailto:general-bsp@community.qnx.com>> Date: Monday, 4 March, 2013 8:08 PM To: "general-bsp@community.qnx.com<mailto:general-bsp@community.qnx.com>" <general-bsp@community.qnx.com<mailto:general-bsp@community.qnx.com>> Subject: x86 patch installation for Advantech AIMB-580 BSP I have the Advantech AIMB-580 board; have downloaded the “x86 BIOS / APIC” BSP and successfully built it using the 6.5.0 Eclipse IDE I assume I need start with the above x86 BSP and then add the following update patch for use with the Advantech board: Patch: x86 update #1 for SDP 6.5.0 “patch-650-2338-RS3775_x86-650-updates.tar” How do I add this patch to the Eclipse project? David Green 2013-03-05T13:29:35Z post99673: x86 patch installation for Advantech AIMB-580 BSP Doug Warner http://community.qnx.com/sf/go/post99673 2013-03-05T01:08:58Z 2013-03-05T01:08:58Z I have the Advantech AIMB-580 board; have downloaded the "x86 BIOS / APIC" BSP and successfully built it using the 6.5.0 Eclipse IDE I assume I need start with the above x86 BSP and then add the following update patch for use with the Advantech board: Patch: x86 update #1 for SDP 6.5.0 "patch-650-2338-RS3775_x86-650-updates.tar" How do I add this patch to the Eclipse project? Doug Warner 2013-03-05T01:08:58Z post99669: Re: USB to Serial support on OMAP? Scott Leonard http://community.qnx.com/sf/go/post99669 2013-03-04T19:20:37Z 2013-03-04T19:20:37Z Thank you. Scott Leonard 2013-03-04T19:20:37Z post99667: Re: i.mx6Q Sabre Lite booting issues Ruben Rodriguez http://community.qnx.com/sf/go/post99667 2013-03-04T18:22:23Z 2013-03-04T18:22:23Z Okay thanks! When I tried to reset the bootcmd environment variable to change it to 6q_bootscript using this command: setenv bootcmd "for dtype in sata mmc ; do for disk in 0 1 ; do ${dtype} dev ${disk} ;for fs in fat ext2 ; do ${fs}load ${dtype} ${disk}:1 10008000 /6q_bootscript&& source 10008000 ; done ; done ; done; setenv stdout serial,vga ; echo ; echo 6q_bootscript not found ; echo ; echo serial console at 115200, 8N1 ; echo ; echo details at http://boundarydevices.com/6q_bootscript ; setenv stdout serial" it stopped me midway and I couldn't finish the command. Is this a limit of Tera Term or the console? Ruben Rodriguez 2013-03-04T18:22:23Z post99666: Re: i.mx6Q Sabre Lite booting issues Dennis Kellly http://community.qnx.com/sf/go/post99666 2013-03-04T18:01:40Z 2013-03-04T18:01:40Z As I recall, renaming 6q_bootscript to 6x_bootscript allowed the same qnx bsp to boot on the newer Boundary hardware... if I am wrong, it wasn't hard to test anyway! Dennis Kellly 2013-03-04T18:01:40Z post99665: i.mx6Q Sabre Lite booting issues Ruben Rodriguez http://community.qnx.com/sf/go/post99665 2013-03-04T17:52:00Z 2013-03-04T17:52:00Z Hello, My team and I are having issues booting up the Sabre Lite board that we received last week. When we look at the console in Tera Term, the board outputs: SATA device 1: unknown device ** Bad device sata 1 ** ** Bad device sata 1 ** mmc0 is current device reading /6x_bootscript ** Unable to read file /6x_bootscript ** Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** MMC: no card present mmc1(part 0) is current device MMC: no card present ** Bad device mmc 1 ** MMC: no card present ** Bad device mmc 1 ** 6x_bootscript not found serial console at 115200, 8N1 details at http://boundarydevices.com/6q_bootscript We were wondering if anybody could help us. Thank you. Ruben Rodriguez 2013-03-04T17:52:00Z post99659: Re: ksh: No Controlling tty( open /dev/tty: No such device or address) Seyfettin Sünger http://community.qnx.com/sf/go/post99659 2013-03-02T20:46:01Z 2013-03-02T20:46:01Z Thanks for reply devc-sermx1 -e -F -c66500000 0x73FBC000,31 code is starting serial driver and this code added .bsh file. You can look my bsh file for more information Seyfettin Sünger 2013-03-02T20:46:01Z post99658: Re: ksh: No Controlling tty( open /dev/tty: No such device or address) ran wainstein http://community.qnx.com/sf/go/post99658 2013-03-02T17:08:19Z 2013-03-02T17:08:19Z Hi - to me it seems like you do not have serial driver started. ksh is using the "callout" to write to the terminal , these are basic C routines used by startup program to ouput to terminal during boot. once os runs - serila driver should be loaded. Ran ran wainstein 2013-03-02T17:08:19Z post99657: ksh: No Controlling tty( open /dev/tty: No such device or address) Eren Basturk http://community.qnx.com/sf/go/post99657 2013-03-02T17:04:19Z 2013-03-02T17:04:19Z Hi All, I'm working imx51 evk with QNX. I'm gettin this error when i load image to imx51 evk board. Also terminal locking when image loaded . You can look attachments for all termina outputs. How can i solve this? Regards, Eren Basturk 2013-03-02T17:04:19Z post99648: Re: mkfifo failure Vincent Wan http://community.qnx.com/sf/go/post99648 2013-03-01T19:02:38Z 2013-03-01T19:02:38Z We are getting the same error ENOSYS. mkfifo on ARM v7 doesn't work under /tmp (linked to /dev/shmem) or /sd (where our writable SD card is mounted). Did anyone find a solution to this problem? Vincent Wan 2013-03-01T19:02:38Z post99618: Re: USB to Serial support on OMAP? Dennis Kellly http://community.qnx.com/sf/go/post99618 2013-02-28T21:25:30Z 2013-02-28T21:25:30Z See devc-serusb documentation. Supports common dongles with Prolific or FTDI chipsets. Dennis Kellly 2013-02-28T21:25:30Z post99617: USB to Serial support on OMAP? Scott Leonard http://community.qnx.com/sf/go/post99617 2013-02-28T21:21:59Z 2013-02-28T21:21:59Z The docs list only 10 USB devices (literally): keyboards, mice, and a couple of printers. I see posts talking about thumb drives and ethernet adapters, so what about USB to serial? Scott Leonard 2013-02-28T21:21:59Z post99568: if QNX6.5 support multitouch screen yin xingjie http://community.qnx.com/sf/go/post99568 2013-02-27T09:40:17Z 2013-02-27T09:40:17Z Hello: I want to known whether QNX6.5 support multitouch screen? I design touch screen data will pass to photon interface. if QNX6.5 support multitouch screen, I should call which interface function? There is no example code reference? Yin Xingjie yin xingjie 2013-02-27T09:40:17Z post99493: Re: Is there a QNX demo project for Arduino? mario sangalli http://community.qnx.com/sf/go/post99493 2013-02-24T18:02:59Z 2013-02-24T18:02:59Z <HTML> <BR> <BR> <BR> <BR> <span style="font-weight: bold;">On Sat Feb 23 7:14 , Allen Chen <community-noreply@qnx.com> sent:<BR> <BR> </community-noreply@qnx.com></span><blockquote style="BORDER-LEFT: #F5F5F5 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">I have two Arduino board, UNO and Mega. As a newbie for QNX, I wonder whether there is a QNX BSP for Arduino. Because Arduino is much cheap and easy to set up example experiments with I/O PINs.<BR> <BR> AVR micro are 8bit, no MMU, no way to have qnx on it :-)<BR> <BR> <BR> </blockquote></HTML> <BR> mario sangalli 2013-02-24T18:02:59Z post99490: Is there a QNX demo project for Arduino? Allen Chen http://community.qnx.com/sf/go/post99490 2013-02-23T06:14:44Z 2013-02-23T06:14:44Z I have two Arduino board, UNO and Mega. As a newbie for QNX, I wonder whether there is a QNX BSP for Arduino. Because Arduino is much cheap and easy to set up example experiments with I/O PINs. Allen Chen 2013-02-23T06:14:44Z post99417: Re: source code for devc-serpci Michael Kisel http://community.qnx.com/sf/go/post99417 2013-02-21T13:13:07Z 2013-02-21T13:13:07Z the BSP at http://community.qnx.com/sf/frs/do/listReleases/projects.bsp/frs.intel_crown_bay has devc-serpci source. Others might as well On 02/21/2013 07:57 AM, Javier I. Acosta M. wrote: > I have the same problem, any idea where can I find the driver code? > > Thank you, > Javier > > > > _______________________________________________ > > QNX BSPs > http://community.qnx.com/sf/go/post99416 > To cancel your subscription to this discussion, please e-mail general-bsp-unsubscribe@community.qnx.com Michael Kisel 2013-02-21T13:13:07Z post99416: Re: source code for devc-serpci Javier I. Acosta M. http://community.qnx.com/sf/go/post99416 2013-02-21T12:57:32Z 2013-02-21T12:57:32Z I have the same problem, any idea where can I find the driver code? Thank you, Javier Javier I. Acosta M. 2013-02-21T12:57:32Z post99415: devc-serpci - issue Javier I. Acosta M. http://community.qnx.com/sf/go/post99415 2013-02-21T12:36:51Z 2013-02-21T12:36:51Z I am running the devc-serpci driver with a Kontron card (CP346) vid=0x1415, did=0x9501 which is presumably compatible with this driver. When reading there is no problem but when I am sending data the only way to get the data trough is to write 16 bytes at the time and flush the output. As you can imagine this is slower than sucking melasa through a straw. Can anyone give me some hints I found this problem was reported before but none one addresses it. (http://community.qnx.com/sf/discussion/do/listPosts/projects.bsp/discussion.bsp.topc7626). Running QNX version 6.5. Thank you, Javier Settings: handle_ = ::open(config_.modem_device_.c_str(), O_RDWR | O_NOCTTY | O_NONBLOCK, 0); memset(&options, 0x00, sizeof(options)); options.c_cflag |= (CLOCAL | CREAD); options.c_cflag &= ~PARENB; options.c_cflag &= ~CSTOPB; options.c_lflag &= ~(ICANON | ECHO | ECHOE | ISIG); options.c_oflag &= ~OPOST; options.c_iflag &= ~(IXON | IXOFF | IXANY); options.c_cc[VMIN] = 0; options.c_cc[VTIME] = 0; Javier I. Acosta M. 2013-02-21T12:36:51Z post99369: some questions about QNX Neutrino 6.5.0 BSP for Freescale xu kanfeng http://community.qnx.com/sf/go/post99369 2013-02-20T05:40:02Z 2013-02-20T05:40:02Z HI all, I am confused of the function about smp below: int board_smp_start(unsigned cpu, void(*start)(void)) { unsigned rval; startup_smp_start = (unsigned)start; startup_reset_vec = in32(MX6X_SRC_BASE + MX6X_SRC_GPR1 + (4*2*cpu)); start_reset_vec_addr = MX6X_SRC_BASE + MX6X_SRC_GPR1 + (4*2*cpu); out32(MX6X_SRC_BASE + MX6X_SRC_GPR1 + (4*2*cpu), (unsigned)start; out32(MX6X_SRC_BASE + MX6X_SRC_GPR1 + (4*2*cpu) + 4, 0); …… …… } I am wondering if MX6X_SRC_BASE is a base address of a register of arm cortex A9 because I can't find the system reset controller in the datasheet of cortex A9, anyone can lend me a hand please? xu kanfeng 2013-02-20T05:40:02Z post99338: imx53 QSB IO ON Program. Ramesh R http://community.qnx.com/sf/go/post99338 2013-02-19T11:36:52Z 2013-02-19T11:36:52Z Dear all, New to QNX and IMX53 . Using IMX53 QSB board. Below my code, Wanted to output the GPIO7-7. Followed the BSP project. Note sure the mmap_memory_IO() return is correct or not? Am I doing anything wrong, pls guide me. int main(int argc, char **argv) { int ret=0; uintptr_t base; unsigned long mBase; ThreadCtl( _NTO_TCTL_IO, NULL ); mBase = mmap_device_io(4,0x53FA8294);// IOMUX0 reg out32(mBase, MUX_CTL_MUX_MODE_ALT1 | MUX_CTL_SION); printf(" mBase = %x \n", mBase); mBase = mmap_device_io(4,0x53FA8614); // PAD Register out32(mBase, (PAD_CTL_GPIO_DSE_MID | PAD_CTL_GPIO_PUS_100K_PU | PAD_CTL_GPIO_PUE_PULL| PAD_CTL_GPIO_PKE_ENABLE )); printf(" mBase = %x \n", mBase); mBase = mmap_device_io(4,0x53FE4004); // GPIO7-7 DIR out32(mBase, in32(mBase) | (0x01 << 7)); printf(" mBase = %x \n", mBase); mBase = mmap_device_io(4,0x53FE4000); // GPIO7-7 DR out32(mBase, in32(mBase) | (0x01 << 7)); printf(" mBase = %x \n", mBase); while(1); return (0); } output print: mBase = 28000294 mBase = 28001614 mBase = 28002004 mBase = 28003000 and no LED output. Ramesh R 2013-02-19T11:36:52Z post99335: Re: No sound from external speaker using ALC269codec Nitar http://community.qnx.com/sf/go/post99335 2013-02-19T07:10:54Z 2013-02-19T07:10:54Z Hi David, Thanks for giving me the suggestion. But , I still get the following errors: Time Sev Major Minor Args Feb 19 22:03:47 1 7 0 mount card: [intel_hda] [vid=0x8086,did=0x284b] Feb 19 22:03:47 1 7 0 init_card: Feb 19 22:03:47 1 7 0 CTRL_DLL_INIT: hda Feb 19 22:03:47 1 7 0 ado_pci_device(vid=8086,did=2668): Feb 19 22:03:47 1 7 0 Unable to attach to PCI device (No such device) -- vend=8086 dev=2668 index=0 Feb 19 22:03:47 1 7 0 ado_pci_device(vid=8086,did=27d8): Feb 19 22:03:47 1 7 0 Unable to attach to PCI device (No such device) -- vend=8086 dev=27d8 index=0 Feb 19 22:03:47 1 7 0 ado_pci_device(vid=8086,did=284b): Feb 19 22:03:47 1 7 0 PCI device attached -- vend=8086 dev=284b index=0 Feb 19 22:03:47 1 7 0 INTEL HDA - STATESTS= 1 Feb 19 22:03:47 1 7 0 mixer_dll_init: Feb 19 22:03:47 1 7 0 initializing HDA Codec DLL Feb 19 22:03:47 1 7 0 Support debug - reset name = RESET__10ec0269 Feb 19 22:03:47 1 7 0 Support debug - setup name = SETUP__10ec0269 Feb 19 22:03:47 1 7 0 Support debug - hdc name = HDC--10ec0269 Feb 19 22:03:47 1 7 0 hdc: Your Codec is not supported !! (10ec0269) Feb 19 22:03:47 1 7 0 hdc: Please contact QNX Sales for support Feb 19 22:03:47 1 7 0 mixer_dll: unable to init dll deva-mixer-hda.so Feb 19 22:03:47 1 7 0 Unable to create mixer (No such device) Feb 19 22:03:47 1 7 0 ado_pci_release() Feb 19 22:03:47 1 7 0 init_card: unable to init dll deva-ctrl-intel_hda.so Feb 19 22:03:47 1 7 0 mount_card(): failed to initialize card intel_hda vid=0x8086,did=0x284b This problem takes me so many weeks ready. I am still getting those errors. Any ideas, please ? Thanks a lot for your help. Because, I am really new to qnx environment. I have only 3 months experience . Thanks again, Nitar Nitar 2013-02-19T07:10:54Z post99311: Re: CAN driver for Topcliff Michael Kisel http://community.qnx.com/sf/go/post99311 2013-02-15T13:34:13Z 2013-02-15T13:34:13Z a given receive queue always has the same MID unless it changed with the cantctl utility (see topcliff-can.readme) On 02/15/2013 04:46 AM, Iván Cayón wrote: > It works great, > > if two can frames are received in the same /dev/can0/rx0, the mid is the mid of the last frame received? Am I correct? So, the mid if the first one is lost > > Thank you very much ! > > > > > _______________________________________________ > > QNX BSPs > http://community.qnx.com/sf/go/post99308 > To cancel your subscription to this discussion, please e-mail general-bsp-unsubscribe@community.qnx.com Michael Kisel 2013-02-15T13:34:13Z post99308: Re: CAN driver for Topcliff Iván Cayón http://community.qnx.com/sf/go/post99308 2013-02-15T09:46:01Z 2013-02-15T09:46:01Z It works great, if two can frames are received in the same /dev/can0/rx0, the mid is the mid of the last frame received? Am I correct? So, the mid if the first one is lost Thank you very much ! Iván Cayón 2013-02-15T09:46:01Z post99299: Re: Beagleboard-xM writing a message on a display Patrick N. http://community.qnx.com/sf/go/post99299 2013-02-14T20:26:58Z 2013-02-14T20:26:58Z Ok, I found the answer in another forum and will post it here too ind case someone is looking for this answer :) >>>Does the Beagleboard have more than one Hardware Layer for graphical use? -> Yes at least two. Patrick N. 2013-02-14T20:26:58Z post99284: Re: CAN driver for Topcliff Iván Cayón http://community.qnx.com/sf/go/post99284 2013-02-14T14:02:53Z 2013-02-14T14:02:53Z Thank you very much !! Iván Cayón 2013-02-14T14:02:53Z post99279: Re: CAN driver for Topcliff Michael Kisel http://community.qnx.com/sf/go/post99279 2013-02-14T12:53:51Z 2013-02-14T12:53:51Z CAN_DEVCTL_GET_MID On 02/14/2013 02:26 AM, Iván Cayón wrote: > Isn't any way to read de message id from a received can frame? > > Thanks > > > > > _______________________________________________ > > QNX BSPs > http://community.qnx.com/sf/go/post99273 > To cancel your subscription to this discussion, please e-mail general-bsp-unsubscribe@community.qnx.com Michael Kisel 2013-02-14T12:53:51Z post99273: Re: CAN driver for Topcliff Iván Cayón http://community.qnx.com/sf/go/post99273 2013-02-14T07:26:53Z 2013-02-14T07:26:53Z Isn't any way to read de message id from a received can frame? Thanks Iván Cayón 2013-02-14T07:26:53Z post99250: SM502 dual display on Qnx6.5 and ppc CPU mario sangalli http://community.qnx.com/sf/go/post99250 2013-02-13T13:26:51Z 2013-02-13T13:26:51Z Hi all, Im trying to achieve dual display on a MPC5200 board and SMI502 graphic chipset for feasibility purposes on QNX 6.5, but I am not beeing able to get different images on the screens. First screen is a 640x480 LCD and second one is a VGA output. I've used the same chipset in QNX6.3.2 with a modified driver and it was working. Does anyone have some ideas that I could try to achieve the desired results? Has the driver supporto for dual display ? Thank you for the help, M. Sangalli Here is the display.conf #----------------------------------------------- # Config SM502 MPC5200, Qnx6.5 #----------------------------------------------- device { noautoshutdown=1 drivername=smi5xx vid=0x126f did=0x501 deviceindex=0 modeopts=/usr/photon/config/smi5xx.conf display { xres=640 yres=480 refresh=60 pixel_format=argb8888 photon { enabled=1 # if this is the primary display card. xoffset=0 yoffset=0 cursor=hardware input_group=1 } } display { xres=800 yres=480 refresh=60 #---- Crash of driver if enabled... #pixel_format=argb8888 photon { xoffset=800 yoffset=0 cursor=hardware input_group=1 } } } #--------------------------------------------------- # smixxx.conf #--------------------------------------------------- #--- Test: 640x480 LCD + CRT ht0=800,hde0=640,hss0=656,hsl0=30,vt0=525,vde0=480,vss0=490,vsl0=2,pc0=25175,hp0=1,vp0=1,cp0=1,ht1=800,hde1=800,hss1=656,hsl1=96,vt1=525,vde1=480,vss1=490,vsl1=2,pc1=29500,hp1=0,vp1=0,cp1=0,vsize=0,ms=1,emem=0,cs=0,vbase=0,rbase=0,dram=0x7f17780,irq=6 #--------------------------------------------------- mario sangalli 2013-02-13T13:26:51Z post99202: TI AM3517 EVM Seyfettin Sünger http://community.qnx.com/sf/go/post99202 2013-02-11T16:37:33Z 2013-02-11T16:37:33Z Dear All, I don't know if you are following the developments for TI AM3517 EVM kit, but TI is upgrading its AM3517 EVM HW since QNX has developed its own BSP for the TDMXEVM3517 which is actually AM3517 EVM. After then, TI change letters (I don't know why what changed but) they started to sell TDMSEVM3517 as AM3517 EVM. A few days ago, it was announced on TI web page that this product is no longer avaliable, they recommend TDMSEVM3517C instead of it as AM3517 EVM. Just for being sure, I wrote e-mails to TI, here is the e-mail that I recieved from TI; - The AM3517 EVM is a LogicPD product. The enclosed document from them summarize the changes that occurred in the different spin of the EVM. - I would guess that QNX developed their own BSP using the TMDX EVM they would need to test it again on the TMDS version. Not only the EVM HW might have changed. It could be as well that a different silicon revision of the AM3517 was used on a different SOM. You can see that depending on which TMDX version (3 vs 4) then a different SOM was provided (SOM-M2 has got wifi support built-in while previous SOM did not). The safest would be to have QNX (that made the BSP) to contact LogicPD (that did the HW) to double check how much of their BSP would work on the new EVM. Since QNX did the test their BSP it is difficult for anybody else to confirm or not if it would run on another HW as is. I need your support for this issue. Your helpful support will be highly appreciated. Best regards, Seyfettin Sünger 2013-02-11T16:37:33Z post99201: Re: QNX USB driver interface Hannes Flicka http://community.qnx.com/sf/go/post99201 2013-02-11T15:44:48Z 2013-02-11T15:44:48Z Hello! I'm currently trying to implement an open-source libusb QNX backend. The libusb program scheme is as follows: * initialize libusb * list all devices with libusb_get_device_list() which in turn calls the get_device_list() function of the backend * open a listed device with libusb_open() which calls the backend open() function * perform IO with libusb_submit_transfer() or similar. In the backend submit_transfer() I would call usbd_io() to perform the IO * close the device * deinitialize libusb This differs from the callback approach made in QNX. In the backends open() function I want to open a device specified via bus number and device address to perform IO later on. But the documentation of the usbd_attach() function says I cannot perform IO a device if I did not use the callback functions to attach to it. I'm now thinking of letting the callback functions attach to each device found and keeping that list of open handles in memory. If then the call to open() is made I can scan the list and return the device handle that belongs to the given bus number and device address. As these are two different threads I would have to use mutexes of course. The architecture I just described is a kind of nasty workaround as it blocks all devices from being opened by another process. It would be easier for me to just open a device by bus number and device address directly without having to use callback functions but it seems to me that this is just not possible. Am I right? Thanks for any help! Regards Hannes > > A customer is hoping to support the Linux libusb on QNX and has some > questions > > : > > > > 1) Are the usbd_*() routines callable by any arbitrary process? Are any > > special privileges required? > > Yes the routines can be called from a process. > > > > > 2) Are there any address mapping or protection considerations I should to be > > > aware of when passing buffers into the usbd_*() routines? > > Normally buffers are allocated using usbd_alloc() function call. > > > > > 3) Is the USB DDK required in order to develop and test code against the > > usbd_*() API? > > The application/driver needs to be linked with libusbdi* library. It contains > > all calls for communicating with the USB server. > > > > > > > > Some background from the customer: > > > > Libusb provides user-space access to low-level USB operations such as > > determining the bus topology, setting device configurations and interfaces, > > > and transacting USB URBs. On the face of it, these are the same operations > > > that would be used by a USB class driver in QNX, and appear to map closely > > onto the usbd_*() interface. For our purposes, we don't need to support > > things like detecting insertion or removal of devices. > > In effect I think the port of libusb would in most places be a fairly thin > > wrapper around the usbd_*() routines. > > Yes sounds about right. > > > > > > > Thanks, > > > > Garry > > Hannes Flicka 2013-02-11T15:44:48Z post99195: Re: Beagleboard-xM writing a message on a display Patrick N. http://community.qnx.com/sf/go/post99195 2013-02-10T23:37:22Z 2013-02-10T23:37:22Z Hi again :) I am not sure if this is the right topic for my next question but I found in the mentioned example following sentence: >>> The visible screen is a composite of the output from each program writing to separate hardware layers. Does this mean that the Beagleboar-xM have more than one Hardware Layer for graphical use? Like a Fujitsu-Board? Patrick N. 2013-02-10T23:37:22Z post99191: Re: Beagleboard-xM writing a message on a display Patrick N. http://community.qnx.com/sf/go/post99191 2013-02-09T00:15:38Z 2013-02-09T00:15:38Z Ok! Thanks so far Dennis!! Now I can see more clear and can have again a bit of hope for my project :) Next I will try to work on Qt, but if I run into trouble again I´m counting on you :D Bye, Patrick N. 2013-02-09T00:15:38Z post99181: Re: Beagleboard-xM writing a message on a display Dennis Kellly http://community.qnx.com/sf/go/post99181 2013-02-08T16:04:49Z 2013-02-08T16:04:49Z >>>Ah, ok. So you mean that the ifs start the system and the folders next to it are treated as a mounted drive or something Not "or something" - its a mounted drive. >>>So what would be the best and/or easiest way to write from the Keyboard to the display? Considering that I use a BBxM BSP It's not a PC - there is no native "text" mode. You have to use a graphical interface. I suppose Qt is the easiest - though not trivial. Dennis Kellly 2013-02-08T16:04:49Z post99179: Re: Beagleboard-xM writing a message on a display Patrick N. http://community.qnx.com/sf/go/post99179 2013-02-08T15:42:28Z 2013-02-08T15:42:28Z >>> Not particularly - its a graphical interface - not text based. So what would be the best and/or easiest way to write from the Keyboard to the display? Considering that I use a BBxM BSP ------------------------- >>> As a image gets larger (more features) it is appropriate to put some of the >>> system on a media which is mounted by the ifs. (One reason is that it may >>> shorten the boot time.) The meda files and the ifs files are "merged" into >>> one unified filesystem by the mount. You choose where the media files should >>> appear. Ah, ok. So you mean that the ifs start the system and the folders next to it are treated as a mounted drive or something like that. Do I have to make a connection from the ifs-system to the mounted folders? Or can I simply start these folders from a terminalprogram when I use the original qnx-BBxM-bsp without changes? greetz, Patrick Patrick N. 2013-02-08T15:42:28Z post99172: CAN driver for Topcliff Iván Cayón http://community.qnx.com/sf/go/post99172 2013-02-08T14:11:59Z 2013-02-08T14:11:59Z Hi !! According to "topcliff.use" help file, you can use option "-M": -M Store full receive message info (i.e. message ID, timestamp, etc.) Does anyone know the required struct to get this data doing a "read"? Thanks in advance Regards Iván Cayón 2013-02-08T14:11:59Z post99171: Re: Beagleboard-xM writing a message on a display Dennis Kellly http://community.qnx.com/sf/go/post99171 2013-02-08T14:01:43Z 2013-02-08T14:01:43Z >>>Is Qt good for writing a sentence to a display? (So that you can see what you wrote on a Keyboard) Not particularly - its a graphical interface - not text based. >>>the folders for the application were outside of the .ifs-file <- Is this the normal way to add Qt files to the BSP? As a image gets larger (more features) it is appropriate to put some of the system on a media which is mounted by the ifs. (One reason is that it may shorten the boot time.) The meda files and the ifs files are "merged" into one unified filesystem by the mount. You choose where the media files should appear. Dennis Kellly 2013-02-08T14:01:43Z post99170: Re: Beagleboard-xM writing a message on a display Patrick N. http://community.qnx.com/sf/go/post99170 2013-02-08T13:52:47Z 2013-02-08T13:52:47Z Now it is working :) I added an WindowsXP to my VMware Player and with an additional usb cardreader it was possible to extract the file. But i have still some more questions :) - Is Qt good for writing a sentence to a display? (So that you can see what you wrote on a Keyboard) - In the example i saw that the folders for the application were outside of the .ifs-file <- Is this the normal way to add Qt files to the BSP? - If this is the normal way, do I have to change anything else in the .ifs-file? like adding binaries (what binaries) or so? (Of course.. I have to change the startup file so that my desired app will start automatically) I am asking, because I still have problems in understanding the structure of a bsp and what is needed and so... (still reading the guide... ) Patrick N. 2013-02-08T13:52:47Z post99145: Booting Time on TI AM3517 EVM including Graphics Seyfettin Sünger http://community.qnx.com/sf/go/post99145 2013-02-07T15:26:04Z 2013-02-07T15:26:04Z Dear All, Did anybody experienced on TI AM3517 EVM booting time? Especially, I couldn't see NAND flash on TI AM3517 EVM? Do you think, does it affect the booting time? I wonder if anybody tried to boot up BSP of TI AM3517 EVM including graphics? If yes, could you please share your experience for booting time? Looking forward to your comments people. Best regards, Seyfettin Sunger Seyfettin Sünger 2013-02-07T15:26:04Z post99137: Re: Beagleboard-xM writing a message on a display Dennis Kellly http://community.qnx.com/sf/go/post99137 2013-02-07T12:09:24Z 2013-02-07T12:09:24Z The utility has not been tested on Windows 8. You may have to find an older o/s. >>>should I see this checkboard or is the black screen ok? black screen is right. Dennis Kellly 2013-02-07T12:09:24Z post99135: Re: Beagleboard-xM writing a message on a display Patrick N. http://community.qnx.com/sf/go/post99135 2013-02-07T10:43:23Z 2013-02-07T10:43:23Z Thanks for the fast reply! I am using Windows 8 pro, so I don´t know if this is a home edition.. Normally I use an user login, but with the option to change for certain tasks into admin mode (I get a question if I want to do this). So maybe this is causing an error. I will try this with admin login and/or with a virtual windows XP with VMWare Player (and usb card reader). So far thanks :) I will tell here if it worked later. By the way, do you have some suggestion about the other questions? Patrick N. 2013-02-07T10:43:23Z post99133: Re: Shutdown and Rreboot problem in QNX 6.5.0 Jagat Bhusan http://community.qnx.com/sf/go/post99133 2013-02-07T04:45:06Z 2013-02-07T04:45:06Z No, Actually I have installed the patch (patch-650-2338-RS3775_x86-650-updates) and then compiled the image qnxbasesmp-apic.ifs and after that it starts working. Currently I am using 6.5.0 not 6.5.1. Jagat Bhusan 2013-02-07T04:45:06Z post99129: Re: Beagleboard-xM writing a message on a display Dennis Kellly http://community.qnx.com/sf/go/post99129 2013-02-07T00:48:59Z 2013-02-07T00:48:59Z >>>i get an error because of geometry failure Likely not admin - or else you are using a "home" edition. Dennis Kellly 2013-02-07T00:48:59Z post99126: Re: Beagleboard-xM writing a message on a display Patrick N. http://community.qnx.com/sf/go/post99126 2013-02-07T00:02:55Z 2013-02-07T00:02:55Z More Questions :) - With the expanded demo from Dennis Kelly there are two .exe-files (f32fdisk.exe and f32img.exe) and one .dat-file but when I try to use the f32img.exe then i get an error because of geometry failure. Someone who knows this error? at the moment I try to get my hands on a external card reader... - WHen the Beaglboard-xM started with the unchanged original BSP packagefrom QNX then I have at the end on the left side of my screen 3 gears which are moving and a black background. Now I read in the .c-files of gf-splash from the binary that a checkboard is used for cleaning the background but i couldn´t see that this checkboard is "deleted" -> schould I see this checkboard or is the black screen ok? Patrick N. 2013-02-07T00:02:55Z post99119: Beagleboard-xM writing a message on a display Patrick N. http://community.qnx.com/sf/go/post99119 2013-02-06T16:10:00Z 2013-02-06T16:10:00Z Hi @ all :) I started some days ago with QNX on a Beagleboard-xM, but frankly speaking I have not really an idea what to do.. I want to write a message like "Hello World" to the connected monitor. My biggest problem is that I have to finish this task (writing the sentence) very soon and thus I have only a short time for learning QNX. But there are so many examples and guides that I don´t know where to start.. What I have done/tried so far: - Getting the BSP package - build the package via the QNX IDE and put the resulting .ifs on a FAT32 formated SD-Card together with UBoot and MLO - worked myself through the first steps document for programming the Beagleboard via IDE (I got the small example program "Hello World" working and executing, but i saw no output) - I also tried an examples from dennis kelly that i found here: http://community.qnx.com/sf/discussion/do/listPosts/projects.qt/discussion.general.topc20735 (But my Beagleboard won´t start with this) - Now I am reading the advanced graphics guide in the hope to get a hint how I can write this small sentence "Hello World" to the monitor and display it there... I am using a windows 8 PC with QNX SDP 6.5.0 SP1 and QNX Momentics 4.7. For the connection from the Beagleboard Rev C to the monitor I use a hdmi to dvi-d cable. Pls help me! Patrick N. 2013-02-06T16:10:00Z post99114: Re: Shutdown and Rreboot problem in QNX 6.5.0 Gervais Mulongoy http://community.qnx.com/sf/go/post99114 2013-02-06T14:55:57Z 2013-02-06T14:55:57Z So the startup-apic that MikeK provided you isn't working with 6.5.0SP1 on the same board, but works when you use 6.5.0? Gervais Mulongoy 2013-02-06T14:55:57Z post99112: Re: Shutdown and Rreboot problem in QNX 6.5.0 Jagat Bhusan http://community.qnx.com/sf/go/post99112 2013-02-06T14:33:59Z 2013-02-06T14:33:59Z It was not qnxbasesmp-apic.ifs but startup-apic Jagat Bhusan 2013-02-06T14:33:59Z post99111: Re: Shutdown and Rreboot problem in QNX 6.5.0 Jagat Bhusan http://community.qnx.com/sf/go/post99111 2013-02-06T14:30:07Z 2013-02-06T14:30:07Z The board contains COM express module from Advantech model No : SOM-5788. Earlier the same problem was observed while using with QNX 6.5.0 development version. (You can refer old conversations in this post) Michael Kisel has provided an qnxbasesmp-apic.ifs image and the problem was solved and we are using the same image for our development. Jagat Bhusan 2013-02-06T14:30:07Z post99107: Re: Shutdown and Rreboot problem in QNX 6.5.0 Gervais Mulongoy http://community.qnx.com/sf/go/post99107 2013-02-06T13:27:32Z 2013-02-06T13:27:32Z Sounds like the reboot callout is not working on that board. X86s can be fickle. Can you provide some additional detail regarding the motherboard (make, model, chipset). Gervais Mulongoy 2013-02-06T13:27:32Z post99101: Re: Shutdown and Rreboot problem in QNX 6.5.0 Jagat Bhusan http://community.qnx.com/sf/go/post99101 2013-02-06T09:46:48Z 2013-02-06T09:46:48Z Hi, I am preparing QNX 6.5.0 Run Time kit for ourIntel core i7 based processor board using the procdure and script file given in http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=/com.qnx.doc.neutrino_technotes/howto_rtkit.html Here also the shutdown command used in the script is not working. After finishing the installation it is showing shutting down the filesystem .....and it is not rebooting. I do not know how much time I should wait before swithcing off the system. Am i missing anything ..? Jagat Bhusan 2013-02-06T09:46:48Z post99071: Re: devb-aha8 brokenand libcam.so.2 under 6.5.0.SP1 Gervais Mulongoy http://community.qnx.com/sf/go/post99071 2013-02-05T13:44:36Z 2013-02-05T13:44:36Z Hello Michael, Great catch, I just checked the implementation and can confirm the fix in your patch is accurate. Added in the bug database, as report ref#219446. Thanks, Gervais Gervais Mulongoy 2013-02-05T13:44:36Z post99065: devb-aha8 brokenand libcam.so.2 under 6.5.0.SP1 Michael Tasche http://community.qnx.com/sf/go/post99065 2013-02-05T13:35:50Z 2013-02-05T13:35:50Z Hi all, there seems to be a bug in the actual libcam.so.2 or the scsi driver devb-aha8. The driver devb-aha8 generates a segfault in sim_malloc(). After some debugging I ended with following info: The first 2 arguments for xpt_alloc() inside sim_create_pool (libcam.so.2) seems to be swapped. I patched following code in libcam.so.2: Orig: ac05: movl $0x3,0x4(%esp) ac0c: mov %edi,(%esp) ac10: call 418c <xpt_alloc@plt> Patched: movl $0x3,(%esp) mov %edi,0x4(%esp) call 418c <xpt_alloc@plt> After that, devb-aha8 is working again. Can somebody confirm this BUG? Kind regards Michael PS: Please do not deprecate this good old scsi driver in the thext QNX release. Michael Tasche 2013-02-05T13:35:50Z post99025: Re: The devg-i830 driver and layers Dennis Kellly http://community.qnx.com/sf/go/post99025 2013-02-03T19:48:51Z 2013-02-03T19:48:51Z Four sounds right to me. Sometimes though, with devg- drivers, one layer is reserved for the cursor and can't be used. Not sure in this case. If vsync runs, you know you have at least two usable layers. Dennis Kellly 2013-02-03T19:48:51Z post99024: The devg-i830 driver and layers Jacek Rudnicki http://community.qnx.com/sf/go/post99024 2013-02-03T17:39:54Z 2013-02-03T17:39:54Z Hi, Does the devg-i830.so support layers ? The latest documentation doesn't mention about that while display_info.nlayers returned by gf_display_attach() has 4 value. Regards, Jacek Jacek Rudnicki 2013-02-03T17:39:54Z post99023: some questions about Capricorn-H-BSP-src xu kanfeng http://community.qnx.com/sf/go/post99023 2013-02-03T03:43:57Z 2013-02-03T03:43:57Z Dear all, I am trying to develop the BSP for zynq-7000, which has a dual arm-A9 core. I refered to Capricorn-H-BSP-src downloaded from the BSP library and I encoutered some problems. I have initiated the debug device, smp, cache, mmu, intr succesfully. Well, thought the debug information showed that there's no errors initiating them, actually I am not sure whether they are initiated correctly. Then when it goes into the function init_cpuinfo(), it stopped at"chip->setup(cpu, cpuid)", since I can't see the body of the funtion, I totally have no idea how to debug it.I checked the register address of the cache and the intr, I think they should be initiated correctly. Then what can give rise to the failure of the function chip->setup(cpu, cpuid)? By the way, what's the register's name whose address is define in the macro named CAP_H_REG_CPUCOMMB, I need to modiify the address of the register in the bsp but I can't find the address in the datasheet since I don't know the name of the register. Further more, I am afraid that maybe chip->setup(cpu, cpuid) failed because of the smp initiation maybe not done correctly. Any help will be appreciated. xu kanfeng 2013-02-03T03:43:57Z post98984: Re: CANBUS EG20T Iván Cayón http://community.qnx.com/sf/go/post98984 2013-02-01T10:11:34Z 2013-02-01T10:11:34Z Definitely, I'm using a bitrate of 500Kbps because its configuration is explained int "Intel Platform Controller HUB EG20T" Datasheet in page 498. I used that parameters and I can transmit and receive to/from my USB-CAN device. Thanks guys Iván Cayón 2013-02-01T10:11:34Z post98975: Re: how to add my own .a file to a bsp xu kanfeng http://community.qnx.com/sf/go/post98975 2013-02-01T02:33:52Z 2013-02-01T02:33:52Z I solved this by adding the path after EXTRA_LIBVPATH += 发自我的 iPhone 在 2013-2-1,3:55,"Zhen Wang" <community-noreply@qnx.com> 写道: > LIBS = startup$(subst .,-,$(PSTAG_$(PADDR_SIZE))) lzo ucl drvr > > The line above in commom.mk are used to tell complier to link liblzo.a, libucl.a, libdrvr.a to the startup binary. > > The liblzo.a and libucl.a include the compress and uncompress function for IFS images. You could built an compressed IFS images by adding the line "[+compress]" in the build file. > > [image=0x81000000] > [+compress] > [virtual=armle-v7,raw] .bootstrap = { > > > refer to the docs "Building Embedded Systems" for details: > > http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=%2Fcom.qnx.doc.neutrino_building%2Fabout.html&cp=13_2 > > > > _______________________________________________ > > QNX BSPs > http://community.qnx.com/sf/go/post98957 > To cancel your subscription to this discussion, please e-mail general-bsp-unsubscribe@community.qnx.com xu kanfeng 2013-02-01T02:33:52Z post98960: Power management suspend/resume Scott Leonard http://community.qnx.com/sf/go/post98960 2013-02-01T02:10:37Z 2013-02-01T02:10:37Z Any support for power management (suspend/resume), smart reflex or dvfs in the omap3/4 BSP's? tx, sbl Scott Leonard 2013-02-01T02:10:37Z post98974: Re: how to add my own .a file to a bsp xu kanfeng http://community.qnx.com/sf/go/post98974 2013-02-01T02:08:00Z 2013-02-01T02:08:00Z still error no rule to make target libxxx.a, needed by… where should I place the libxxx.a? 发自我的 iPhone 在 2013-2-1,0:48,"Zhen Wang" <community-noreply@qnx.com> 写道: > If you want to add the function in libxxx.a to startup? You should modify the make file /hardware/startup/boards/commom.mk to link your lib as below. If your library name is libxxx.a, you should add xxx to the lib list as below. > Note: the xxx is your library name without "lib" and ".a". > > LINKER_TYPE=BOOTSTRAP > INSTALLDIR = boot/sys > LIBS = startup$(subst .,-,$(PSTAG_$(PADDR_SIZE))) lzo ucl drvr xxx > > > -----Original Message----- > From: xu kanfeng [mailto:community-noreply@qnx.com] > Sent: January 31, 2013 9:55 AM > To: general-bsp > Subject: Re: how to add my own .a file to a bsp > > thanks for your answer, the .a file added to the directory "install/usr/lib" was rightly the library contains the function, but it seemed that the compiler couldn't find the .a file. I thought I should modify the build file, maybe I was wrong. > > > > _______________________________________________ > > QNX BSPs > http://community.qnx.com/sf/go/post98940 > To cancel your subscription to this discussion, please e-mail general-bsp-unsubscribe@community.qnx.com > > > > > _______________________________________________ > > QNX BSPs > http://community.qnx.com/sf/go/post98952 > To cancel your subscription to this discussion, please e-mail general-bsp-unsubscribe@community.qnx.com xu kanfeng 2013-02-01T02:08:00Z post98970: Re: how to add my own .a file to a bsp xu kanfeng http://community.qnx.com/sf/go/post98970 2013-02-01T00:43:56Z 2013-02-01T00:43:56Z thanks. this is really helpful 发自我的 iPhone 在 2013-2-1,3:55,"Zhen Wang" <community-noreply@qnx.com> 写道: > LIBS = startup$(subst .,-,$(PSTAG_$(PADDR_SIZE))) lzo ucl drvr > > The line above in commom.mk are used to tell complier to link liblzo.a, libucl.a, libdrvr.a to the startup binary. > > The liblzo.a and libucl.a include the compress and uncompress function for IFS images. You could built an compressed IFS images by adding the line "[+compress]" in the build file. > > [image=0x81000000] > [+compress] > [virtual=armle-v7,raw] .bootstrap = { > > > refer to the docs "Building Embedded Systems" for details: > > http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=%2Fcom.qnx.doc.neutrino_building%2Fabout.html&cp=13_2 > > > > _______________________________________________ > > QNX BSPs > http://community.qnx.com/sf/go/post98957 > To cancel your subscription to this discussion, please e-mail general-bsp-unsubscribe@community.qnx.com xu kanfeng 2013-02-01T00:43:56Z post98957: Re: how to add my own .a file to a bsp Zhen Wang http://community.qnx.com/sf/go/post98957 2013-01-31T22:36:53Z 2013-01-31T22:36:53Z LIBS = startup$(subst .,-,$(PSTAG_$(PADDR_SIZE))) lzo ucl drvr The line above in commom.mk are used to tell complier to link liblzo.a, libucl.a, libdrvr.a to the startup binary. The liblzo.a and libucl.a include the compress and uncompress function for IFS images. You could built an compressed IFS images by adding the line "[+compress]" in the build file. [image=0x81000000] [+compress] [virtual=armle-v7,raw] .bootstrap = { refer to the docs "Building Embedded Systems" for details: http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=%2Fcom.qnx.doc.neutrino_building%2Fabout.html&cp=13_2 Zhen Wang 2013-01-31T22:36:53Z post98953: Re: how to add my own .a file to a bsp xu kanfeng http://community.qnx.com/sf/go/post98953 2013-01-31T16:56:25Z 2013-01-31T16:56:25Z what's the parameters lzo ucl mean? any document to reference to so that I can learn to write a makefile. I am really new to this. 发自我的 iPhone 在 2013-2-1,0:48,"Zhen Wang" <community-noreply@qnx.com> 写道: > If you want to add the function in libxxx.a to startup? You should modify the make file /hardware/startup/boards/commom.mk to link your lib as below. If your library name is libxxx.a, you should add xxx to the lib list as below. > Note: the xxx is your library name without "lib" and ".a". > > LINKER_TYPE=BOOTSTRAP > INSTALLDIR = boot/sys > LIBS = startup$(subst .,-,$(PSTAG_$(PADDR_SIZE))) lzo ucl drvr xxx > > > -----Original Message----- > From: xu kanfeng [mailto:community-noreply@qnx.com] > Sent: January 31, 2013 9:55 AM > To: general-bsp > Subject: Re: how to add my own .a file to a bsp > > thanks for your answer, the .a file added to the directory "install/usr/lib" was rightly the library contains the function, but it seemed that the compiler couldn't find the .a file. I thought I should modify the build file, maybe I was wrong. > > > > _______________________________________________ > > QNX BSPs > http://community.qnx.com/sf/go/post98940 > To cancel your subscription to this discussion, please e-mail general-bsp-unsubscribe@community.qnx.com > > > > > _______________________________________________ > > QNX BSPs > http://community.qnx.com/sf/go/post98952 > To cancel your subscription to this discussion, please e-mail general-bsp-unsubscribe@community.qnx.com xu kanfeng 2013-01-31T16:56:25Z post98952: RE: how to add my own .a file to a bsp Zhen Wang http://community.qnx.com/sf/go/post98952 2013-01-31T16:47:49Z 2013-01-31T16:47:49Z If you want to add the function in libxxx.a to startup? You should modify the make file /hardware/startup/boards/commom.mk to link your lib as below. If your library name is libxxx.a, you should add xxx to the lib list as below. Note: the xxx is your library name without "lib" and ".a". LINKER_TYPE=BOOTSTRAP INSTALLDIR = boot/sys LIBS = startup$(subst .,-,$(PSTAG_$(PADDR_SIZE))) lzo ucl drvr xxx -----Original Message----- From: xu kanfeng [mailto:community-noreply@qnx.com] Sent: January 31, 2013 9:55 AM To: general-bsp Subject: Re: how to add my own .a file to a bsp thanks for your answer, the .a file added to the directory "install/usr/lib" was rightly the library contains the function, but it seemed that the compiler couldn't find the .a file. I thought I should modify the build file, maybe I was wrong. _______________________________________________ QNX BSPs http://community.qnx.com/sf/go/post98940 To cancel your subscription to this discussion, please e-mail general-bsp-unsubscribe@community.qnx.com Zhen Wang 2013-01-31T16:47:49Z post98948: Re: No sound from external speaker using ALC269codec David Green http://community.qnx.com/sf/go/post98948 2013-01-31T15:26:42Z 2013-01-31T15:26:42Z audiopci is not the correct driver to use; the VID/DID combination you mention indicates that it's an Intel HD audio controller, so you should be using deva-ctrl-intel_hda.so. The codec you mention (ALC269) is not currently supported by the mixer module which contains the codec support (deva-mixer-hda.so), but the ALC268 is, so it should be straightforward to add support for the ALC269. We have posted a patch that contains the latest versions of deva-ctrl-intel_hda.so and deva-mixer-hda.so, with the source code, so that customers can adapt it to their own hardware. In the 'release notes' section, there is a document describing the steps necessary to add your own codec support. The patch and documentation can be found here: http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/ExperimentalDriversAndUtilities Regards, Dave David Green 2013-01-31T15:26:42Z post98940: Re: how to add my own .a file to a bsp xu kanfeng http://community.qnx.com/sf/go/post98940 2013-01-31T14:54:47Z 2013-01-31T14:54:47Z thanks for your answer, the .a file added to the directory "install/usr/lib" was rightly the library contains the function, but it seemed that the compiler couldn't find the .a file. I thought I should modify the build file, maybe I was wrong. xu kanfeng 2013-01-31T14:54:47Z post98937: Re: how to add my own .a file to a bsp Dennis Kellly http://community.qnx.com/sf/go/post98937 2013-01-31T14:46:35Z 2013-01-31T14:46:35Z >>> at the end of compiling the image, an error occurs, the compiler considered that the function I added was not declared. Sounds lke you need to add a library with the missing functions. This is on the Linker tab, "Extra Libraries". Dennis Kellly 2013-01-31T14:46:35Z post98936: how to add my own .a file to a bsp xu kanfeng http://community.qnx.com/sf/go/post98936 2013-01-31T14:43:02Z 2013-01-31T14:43:02Z Dear all, I wrote a program and I wanted to run the functions when entering the startup, here was what I did: 1.compile the myself.c which contains the program into myself.a, 2.add #include "myself.h" at the begining of the main file in startup, add the function at the begining of the main function in the main file, so that the cpu can call the function at the startup, 3.add the .a file into the directory "install/usr/lib", add the include files into the directory "install/usr/include" while compiling the image. here comes the problem, at the end of compiling the image, an error occures, the compiler considered that the function I added was not declared. how should I add my own .a file to the bsp correctly so that the nto can call the functions in the .a file? ps: there was no error about the include files, it seemed that the compiler had found the include files correctly. Anyone can lend me a hand? xu kanfeng 2013-01-31T14:43:02Z post98921: No sound from external speaker using ALC269codec Nitar http://community.qnx.com/sf/go/post98921 2013-01-31T09:26:55Z 2013-01-31T09:26:55Z Dear All, I got some problems of using ALC269. When I connect with external speaker, there is no sound. I load the driver using this command. io-audio -d audiopci dvid=0x8086,did=0x284b . In this case, I can't load the intel_hda driver. I can play the audio file but I can't hear anything. Any suggestions, please ? I was pretty tried many ways that I could imagine. Please help me out . Thanks a lot. Nitar Nitar 2013-01-31T09:26:55Z post98918: No Sound from External Speaker using ALC269 Nitar http://community.qnx.com/sf/go/post98918 2013-01-31T06:36:29Z 2013-01-31T06:36:29Z Dear All, I got some problems of using ALC269. When I connect with external speaker, there is no sound. I load the driver using this command. io-audio -d audiopci dvid=0x8086,did=0x284b . In this case, I can't load the intel_hda driver. I can play the audio file but I can't hear anything. Any suggestions, please ? I was pretty tried many ways that I could imagine. Please help me out . Thanks a lot Nitar 2013-01-31T06:36:29Z post98912: Re: Intel Topcliff I2C driver Andrey Kovalenko http://community.qnx.com/sf/go/post98912 2013-01-31T02:33:51Z 2013-01-31T02:33:51Z Did nobody uses I2C on Intel EG20T?! So, where can I get a I2C framwork!? How I understand it should be on the BSP and includes follows: the header file "i2c.h" and library with the resource manager layer. Thanks in advance Andrey Kovalenko 2013-01-31T02:33:51Z post98903: User Interface Abdulrahman Shabana http://community.qnx.com/sf/go/post98903 2013-01-30T20:03:34Z 2013-01-30T20:03:34Z Where should I develop the user interface in (bsp-freescale-mx6x-sabreARD-650SP1-src), like the path to it inside example (install/usr/....). Is it gonna be HTML5 or C++ Is there any way to convert my code from QT 4.8 to use in QNX Momentics I need a small sample for user interface, as I have to use for the senior design Abdulrahman Shabana 2013-01-30T20:03:34Z post98897: Re: Atmel AT91SAM9261-EK Board BSP Installation Issue Seyfettin Sünger http://community.qnx.com/sf/go/post98897 2013-01-30T15:09:08Z 2013-01-30T15:09:08Z Just for your information, It is now impossible to send bin file to that board with SAM-BA application since The DataFlash on board is 64Mb (8MB) that's why I am receiving this error. Is there anyone who can tell me why the file size is different between my bin file and your bin file that can be seen on the picture of release note below http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/Nto640AtmelAt91sam9261EkEvbTrunkReleasenotes I have some doupts it changed because of Momentics version. Can this be possible? I use Momentics 4.7. Looking forward to your commnets. Any comment in order to support us will be highly appreciated. Best regards, Seyfettin Sünger 2013-01-30T15:09:08Z post98847: Re: CANBUS EG20T Iván Cayón http://community.qnx.com/sf/go/post98847 2013-01-29T07:10:47Z 2013-01-29T07:10:47Z The BitRate problems come again. I can receive but I'm not able no transmit without making errors in the bus. Maybe the parameters are not good optimized. Other problem, is not possible to receive frames less than 8 bytes? Thanks Iván Cayón 2013-01-29T07:10:47Z post98846: Problems with monitor mikhail dddd http://community.qnx.com/sf/go/post98846 2013-01-29T06:24:01Z 2013-01-29T06:24:01Z Hello everybody! Hope for your help. The problem is: I have a computer with Radeon RV250 and plugged in it monitor NEC. I need to imitate monitor breakdown. I try to do it by plugging out monitor from videocard. How can i fix in QNX 6.5 that monitor was unplugged? Thanks everybody/ mikhail dddd 2013-01-29T06:24:01Z post98822: Re: CANBUS EG20T Iván Cayón http://community.qnx.com/sf/go/post98822 2013-01-28T14:49:50Z 2013-01-28T14:49:50Z Thanks, Now I'm trying to understand how the driver communicates with "libio-can", because now I don't know how to read with my own software. I can't find the link between my "read" and the read callback of the driver Iván Cayón 2013-01-28T14:49:50Z post98818: Re: CANBUS EG20T Iván Cayón http://community.qnx.com/sf/go/post98818 2013-01-28T12:37:56Z 2013-01-28T12:37:56Z Hi !! I took a look at intel manual, and It seems that I can receive frames from a motor controller using 1Mbps. I'm not really sure but I don't understand how brp is calculated. In source code: brp = CLK / 16* BitRate In datasheet this parameter is tq, which is used to know bit rate in conjunction with Tseg1, Tseg2 and Tsync I changed the time configuration with this values: brp_lsb=1; sjw=3; Tseg1=7; Tseg2=2 With this values it seems the BitRate is correct, at least I can receive a correct frame Iván Cayón 2013-01-28T12:37:56Z post98819: Re: CANBUS EG20T Michael Kisel http://community.qnx.com/sf/go/post98819 2013-01-28T12:37:40Z 2013-01-28T12:37:40Z Good news. That's why we ship source On 01/28/2013 07:37 AM, Iván Cayón wrote: > Hi !! > > I took a look at intel manual, and It seems that I can receive frames from a motor controller using 1Mbps. I'm not really sure but I don't understand how brp is calculated. In source code: > brp = CLK / 16* BitRate > > In datasheet this parameter is tq, which is used to know bit rate in conjunction with Tseg1, Tseg2 and Tsync > > I changed the time configuration with this values: > > brp_lsb=1; > sjw=3; > Tseg1=7; > Tseg2=2 > > With this values it seems the BitRate is correct, at least I can receive a correct frame > > > > > > _______________________________________________ > > QNX BSPs > http://community.qnx.com/sf/go/post98818 > To cancel your subscription to this discussion, please e-mail general-bsp-unsubscribe@community.qnx.com Michael Kisel 2013-01-28T12:37:40Z post98815: Re: CANBUS EG20T Michael Kisel http://community.qnx.com/sf/go/post98815 2013-01-28T12:11:16Z 2013-01-28T12:11:16Z yes, I seem to recall brp must be an integer On 01/28/2013 02:06 AM, Iván Cayón wrote: > Hi !! > So according to the driver, is not possible to configure 1 Mbps, because "can_clk" use 50Mhz/can_div > > brp = can_clk / (16 * bitRate) > > If I want to get 1Mbps > > brp = can_clk / 16 =25000000/16000000 = 1,5 > > > > > _______________________________________________ > > QNX BSPs > http://community.qnx.com/sf/go/post98812 > To cancel your subscription to this discussion, please e-mail general-bsp-unsubscribe@community.qnx.com Michael Kisel 2013-01-28T12:11:16Z post98812: Re: CANBUS EG20T Iván Cayón http://community.qnx.com/sf/go/post98812 2013-01-28T07:06:05Z 2013-01-28T07:06:05Z Hi !! So according to the driver, is not possible to configure 1 Mbps, because "can_clk" use 50Mhz/can_div brp = can_clk / (16 * bitRate) If I want to get 1Mbps brp = can_clk / 16 =25000000/16000000 = 1,5 Iván Cayón 2013-01-28T07:06:05Z post98811: Re: Crash when starting procnto Thor Thayer http://community.qnx.com/sf/go/post98811 2013-01-26T00:08:26Z 2013-01-26T00:08:26Z I'm seeing the same thing - crash in the same place. Has there been a solution for this? Thanks. Thor Thayer 2013-01-26T00:08:26Z post98802: Re: CANBUS EG20T Michael Kisel http://community.qnx.com/sf/go/post98802 2013-01-25T17:21:16Z 2013-01-25T17:21:16Z the topcliff CANbus implementation is not even capable of that rate (or at least the boards we had to test with weren't) check out the '.use' and '.readme' files in the src/hardware/can/topcliff directories for more info On 01/25/2013 12:01 PM, Iván Cayón wrote: > Thanks for your reply, > > According to the clocks configured,,, my bitrate is 1.5Mhz... so maybe this is the problem > > What do you think? > > Thanks for your help > > > >> CANbus on the Crownbay was tested with 2 Crownbay boards and the canctl >> utility. >> Not sure what your connecting to for your testing but make sure that >> your clock is configured correctly >> >> On 01/25/2013 03:22 AM, Iván Cayón wrote: >>> Hi !! >>> >>> Did any one test the integrated can bus provided with Intel Crownbay EG20T? >>> >>> I load the driver and it seems that it detects the module and can be >> configured with "canctl". After playing with filters, mask, and so on.. I >> couldn' receive or transmit any frame. >>> Any suggestion please? >>> >>> Thanks >>> >>> >>> >>> _______________________________________________ >>> >>> QNX BSPs >>> http://community.qnx.com/sf/go/post98780 >>> To cancel your subscription to this discussion, please e-mail general-bsp- >> unsubscribe@community.qnx.com >> > > > > > > _______________________________________________ > > QNX BSPs > http://community.qnx.com/sf/go/post98799 > To cancel your subscription to this discussion, please e-mail general-bsp-unsubscribe@community.qnx.com Michael Kisel 2013-01-25T17:21:16Z post98799: Re: CANBUS EG20T Iván Cayón http://community.qnx.com/sf/go/post98799 2013-01-25T17:01:56Z 2013-01-25T17:01:56Z Thanks for your reply, According to the clocks configured,,, my bitrate is 1.5Mhz... so maybe this is the problem What do you think? Thanks for your help > CANbus on the Crownbay was tested with 2 Crownbay boards and the canctl > utility. > Not sure what your connecting to for your testing but make sure that > your clock is configured correctly > > On 01/25/2013 03:22 AM, Iván Cayón wrote: > > Hi !! > > > > Did any one test the integrated can bus provided with Intel Crownbay EG20T? > > > > I load the driver and it seems that it detects the module and can be > configured with "canctl". After playing with filters, mask, and so on.. I > couldn' receive or transmit any frame. > > > > Any suggestion please? > > > > Thanks > > > > > > > > _______________________________________________ > > > > QNX BSPs > > http://community.qnx.com/sf/go/post98780 > > To cancel your subscription to this discussion, please e-mail general-bsp- > unsubscribe@community.qnx.com > Iván Cayón 2013-01-25T17:01:56Z post98788: Re: CANBUS EG20T Michael Kisel http://community.qnx.com/sf/go/post98788 2013-01-25T13:42:41Z 2013-01-25T13:42:41Z CANbus on the Crownbay was tested with 2 Crownbay boards and the canctl utility. Not sure what your connecting to for your testing but make sure that your clock is configured correctly On 01/25/2013 03:22 AM, Iván Cayón wrote: > Hi !! > > Did any one test the integrated can bus provided with Intel Crownbay EG20T? > > I load the driver and it seems that it detects the module and can be configured with "canctl". After playing with filters, mask, and so on.. I couldn' receive or transmit any frame. > > Any suggestion please? > > Thanks > > > > _______________________________________________ > > QNX BSPs > http://community.qnx.com/sf/go/post98780 > To cancel your subscription to this discussion, please e-mail general-bsp-unsubscribe@community.qnx.com Michael Kisel 2013-01-25T13:42:41Z post98781: Re: Texas Instrument AM335 Beaglebone CAN Driver Iván Cayón http://community.qnx.com/sf/go/post98781 2013-01-25T08:29:12Z 2013-01-25T08:29:12Z Hi ! In Intel Crownbay bsp there is some documentacion to test CAN. I don't know if this can help yoy. In the examples the use the tyical: echo testing > /dev/can0/tx0 -> To write And cat < /dev/can0/rx0 -> To read There is also documentacion of "canctl" to modify mask, id, etc.. I hope this can help you Iván Cayón 2013-01-25T08:29:12Z post98780: CANBUS EG20T Iván Cayón http://community.qnx.com/sf/go/post98780 2013-01-25T08:22:53Z 2013-01-25T08:22:53Z Hi !! Did any one test the integrated can bus provided with Intel Crownbay EG20T? I load the driver and it seems that it detects the module and can be configured with "canctl". After playing with filters, mask, and so on.. I couldn' receive or transmit any frame. Any suggestion please? Thanks Iván Cayón 2013-01-25T08:22:53Z post98759: Re: BeagleBone GPIO Usage Mark Wakim http://community.qnx.com/sf/go/post98759 2013-01-24T13:45:11Z 2013-01-24T13:45:11Z A couple suggestions... - Make sure the GPIO is configured as an output - make sure the pin muxing is set up correctly. - note that you can get the physical addresses of most of the am335x modules from arm/am335x.h - Take a look at the atomic_set, atomic_clear functions. These will allow you to only toggle the specific GPIO you're working with while still being thread safe. Mark On 13-01-23 7:24 PM, "Seyfettin Sünger" <community-noreply@qnx.com> wrote: >Hi, > >I'm trying a basic gpio program with BeagleBone. I connected led to >gpio1_6. I ran basic program on BeagleBone but led not lighting. > >#include <stdlib.h> >#include <stdio.h> >#include <hw/inout.h> >#include <sys/mman.h> >#include <sys/neutrino.h> >#include <stdint.h> > >#define AM335X_GPIO_SIZE 0x00001000 >#define AM335X_GPIO1_BASE 0x4804C000 >#define GPIO_DATAOUT 0x13C > > > >/* > * GPIO0 = GPIO1_6 > */ > >uintptr_t *gpio_base; >uint32_t val; > >#define GPIO0 (1<<6) > >int main(int argc, char *argv[]) { > > > ThreadCtl (_NTO_TCTL_IO,NULL); > > gpio_base = mmap_device_io(AM335X_GPIO_SIZE,AM335X_GPIO1_BASE); > > while(1) > { > > val = ~GPIO0; > out32(gpio_base + GPIO_DATAOUT, val); > delay(1000); > > } > > return 0; >} > >Where do you think the error? > >Please Help >Regards, > > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post98754 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com Mark Wakim 2013-01-24T13:45:11Z post98756: Intel Topcliff I2C driver Andrey Kovalenko http://community.qnx.com/sf/go/post98756 2013-01-24T07:29:58Z 2013-01-24T07:29:58Z Hi all! I have a Lippert CoreExpess ECO2 board. I use QNX 6.5.0 + Intel Crown Bay BSP On board there is PCI-device: Class = Serial Bus (Other) Vendor ID = 8086h, Intel Corporation Device ID = 8817h, Topcliff I2C Controller PCI index = 0h ..... But I didn't find any I2C drivers in BSP and anywhere. I hope somebody have one, and where can I get it? Thanks in advance Andrey Kovalenko 2013-01-24T07:29:58Z post98754: BeagleBone GPIO Usage Seyfettin Sünger http://community.qnx.com/sf/go/post98754 2013-01-24T00:24:00Z 2013-01-24T00:24:00Z Hi, I'm trying a basic gpio program with BeagleBone. I connected led to gpio1_6. I ran basic program on BeagleBone but led not lighting. #include <stdlib.h> #include <stdio.h> #include <hw/inout.h> #include <sys/mman.h> #include <sys/neutrino.h> #include <stdint.h> #define AM335X_GPIO_SIZE 0x00001000 #define AM335X_GPIO1_BASE 0x4804C000 #define GPIO_DATAOUT 0x13C /* * GPIO0 = GPIO1_6 */ uintptr_t *gpio_base; uint32_t val; #define GPIO0 (1<<6) int main(int argc, char *argv[]) { ThreadCtl (_NTO_TCTL_IO,NULL); gpio_base = mmap_device_io(AM335X_GPIO_SIZE,AM335X_GPIO1_BASE); while(1) { val = ~GPIO0; out32(gpio_base + GPIO_DATAOUT, val); delay(1000); } return 0; } Where do you think the error? Please Help Regards, Seyfettin Sünger 2013-01-24T00:24:00Z post98691: Re: Kontron - topcliff : QNet locks up applications. Iván Cayón http://community.qnx.com/sf/go/post98691 2013-01-21T12:12:03Z 2013-01-21T12:12:03Z Excuse me !! I am using dev-can-topcliff to use CAN interface. Driver seems to load perfectly, and I can use "canctl" to read statistics , but I can't see any activity in BUS. Should I need to do anything apart from loading "dev-can-topcliff" Sorry for using this thread, maybe this is no the correct place to ask Thanks in advance Iván Cayón 2013-01-21T12:12:03Z post98688: Re: Xilinx Zynq-7000 Todd Peterson http://community.qnx.com/sf/go/post98688 2013-01-20T17:41:05Z 2013-01-20T17:41:05Z No progress here. We were interested in the Zynq-7000 platform, but not if QNX is not supported. We are going with TI DM3730-based solution instead. Todd Peterson 2013-01-20T17:41:05Z post98687: zynq-7000, a platform of Xilinx xu kanfeng http://community.qnx.com/sf/go/post98687 2013-01-20T14:11:00Z 2013-01-20T14:11:00Z Has anyone used this platform before? I have been trying to run QNX on the platform these days without making any progress, anyone can give me some advice please? xu kanfeng 2013-01-20T14:11:00Z post98686: Re: Xilinx Zynq-7000 xu kanfeng http://community.qnx.com/sf/go/post98686 2013-01-20T13:53:44Z 2013-01-20T13:53:44Z Hansong Jing It has been almost one year since you posted the question in the community, I hope that you have made some progress developing the bsp for zynq-7000. There is no other topics about the bsp for this platform in the community, so maybe you are the only one that I can turn for help. I have tried to find some information in the forum of Xilinx, but I failed. I have been try to run the QNX on the platform these days. As I know, Xilinx has already given the drivers for the devices on the platform, so I think I can just add the drivers to the bsp so that I can use the devices. Another thing is that since FSBL has configured the cpu after power up and loaded the QNX image to the DDR, I wonder that whether IPL is needed for the OS, maybe I can just find the entry of Neutrino core, and run the OS directly. All in all, my first objective is to run the OS on the zynq platform, can you give me some suggestion? xu kanfeng 2013-01-20T13:53:44Z post98667: Re: Kontron - topcliff : QNet locks up applications. Hugh Brown http://community.qnx.com/sf/go/post98667 2013-01-18T12:39:48Z 2013-01-18T12:39:48Z OK, thanks. On 2013-01-18 7:38 AM, "Iván Cayón" <community-noreply@qnx.com> wrote: >Thanks for your quick reply !! > >Sorry, It was my fault... My Ethernet board is a Intel 82574L.. I load >devn-e1000.so and now it seems to work perfectly. As the board has a >Intel Topcliff I thought network should work with devnp-topcliff.so, but >I was wrong > >Thank you very much > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post98666 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com Hugh Brown 2013-01-18T12:39:48Z post98666: Re: Kontron - topcliff : QNet locks up applications. Iván Cayón http://community.qnx.com/sf/go/post98666 2013-01-18T12:38:34Z 2013-01-18T12:38:34Z Thanks for your quick reply !! Sorry, It was my fault... My Ethernet board is a Intel 82574L.. I load devn-e1000.so and now it seems to work perfectly. As the board has a Intel Topcliff I thought network should work with devnp-topcliff.so, but I was wrong Thank you very much Iván Cayón 2013-01-18T12:38:34Z post98664: Re: Kontron - topcliff : QNet locks up applications. Hugh Brown http://community.qnx.com/sf/go/post98664 2013-01-18T12:36:00Z 2013-01-18T12:36:00Z Please can you post the output from 'pci -v'? On 2013-01-18 6:11 AM, "Iván Cayón" <community-noreply@qnx.com> wrote: >Hi ! > >Maybe this is not the correct thread to post this question. > >I have an Intel Atom Topcliff, I try to load devnp-topcliff.so but It >says "Unable to init" "No such devices". I think maybe I need to get the >driver any parameter related with the memory or Irq, I don't know? > >Can you help me please? > >Thanks in advance >Regards > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post98661 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com Hugh Brown 2013-01-18T12:36:00Z post98661: Re: Kontron - topcliff : QNet locks up applications. Iván Cayón http://community.qnx.com/sf/go/post98661 2013-01-18T11:11:58Z 2013-01-18T11:11:58Z Hi ! Maybe this is not the correct thread to post this question. I have an Intel Atom Topcliff, I try to load devnp-topcliff.so but It says "Unable to init" "No such devices". I think maybe I need to get the driver any parameter related with the memory or Irq, I don't know? Can you help me please? Thanks in advance Regards Iván Cayón 2013-01-18T11:11:58Z post98630: Atmel AT91SAM9261-EK Board BSP Installation Issue Seyfettin Sünger http://community.qnx.com/sf/go/post98630 2013-01-17T08:37:47Z 2013-01-17T08:37:47Z Dear All, We have been working on QNX Neutrino 6.4.0 BSP for Atmel AT91SAM9261-EK Board BSP. While we were following the instruction below, we couldn’t pass the below topic; Loading the IFS image using SAM-BA# • Select the Data-Flash AT45DB/DCB tab in SAM-BA Application. Execute the Enable Data-flash on CS0 script. http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/Nto640AtmelAt91sam9261EkEvbTrunkReleasenotes For further detail about the issue, please see the attached file called “SAM-BA screen.JPG”. The error occurs when we press execute button. It cannot communicate with hardware although our windows machine can see the device on “device manager” via USB. Actually, I have some doubts about the software we used for installation. Documentation says that 1. Install "AT91-ISP v1.12.exe" . 2. Intall "ActiveTcl8.5.5.0.287690-win32-ix86-threaded.exe" i.e.TCL environment which is used by SAM-BA (any other TCL environment can also be used) . We couldn’t find the executable file for ActiveTcl8.5.5.0 on web, regarding to the instruction it says “any other TCL environment can also be used” so that we found “ActiveTcl8.5.12.0.296033-win32-ix86-threaded.exe” file and installed it to our XP machine. Since you are the provider of not only the BSP of this hardware but also the documentation, could you please tell us why we are having this issue. Could you please provide right links that we can download below tools; 1. Install "AT91-ISP v1.12.exe" . 2. Intall "ActiveTcl8.5.5.0.287690-win32-ix86-threaded.exe" please note that we when we installed at91.ISP v1.12.exe, the sam-ba program version was 2.8 not 2.6. Looking forward to your support. Best regards, Seyfettin Sünger 2013-01-17T08:37:47Z post98578: Re: Texas Instrument AM335 Beaglebone CAN Driver Daniel Wahl http://community.qnx.com/sf/go/post98578 2013-01-15T16:18:18Z 2013-01-15T16:18:18Z Hey Gary, I did actually get this kind of working. There is some sample code for the canctl program provided in the BSP source under /src/hardware/can/am335x/arm/am335x.use and am335xcan.readme. The issue I'm running into now is that the driver crashes QNX under high load. Everything seems to work alright at first, but if anything on the bus starts blasting messages faster than 5ms then the whole thing seems to freeze after a few seconds, and the watchdog eventually reboots the system. I have tried digging through the source and setting some different options to get this to work, but I'm at the point where I might just give up and write my own driver from scratch. Let me know if you have any success, good luck, - Dan Daniel Wahl 2013-01-15T16:18:18Z post98555: Re: Texas Instrument AM335 Beaglebone CAN Driver Gary Bisson http://community.qnx.com/sf/go/post98555 2013-01-14T21:41:48Z 2013-01-14T21:41:48Z Hi Dan, I wonder if you found any sample code for testing the CAN driver. I've been looking for any CAN related information for QNX but found nothing so far (no canctl documentation). Thanks, Gary Gary Bisson 2013-01-14T21:41:48Z post98530: Re: Ethernet PING Problem Hugh Brown http://community.qnx.com/sf/go/post98530 2013-01-12T14:51:21Z 2013-01-12T14:51:21Z Good news! Thanks Hugh. Sent from my BlackBerry 10 smartphone. From: Jagat Bhusan Sent: Saturday, January 12, 2013 8:25 AM To: general-bsp Reply To: general-bsp@community.qnx.com Subject: Re: Ethernet PING Problem Hi, I have updated the EEPROM contents and it is working fine. Thank you very much for your support. _______________________________________________ QNX BSPs http://community.qnx.com/sf/go/post98529 To cancel your subscription to this discussion, please e-mail general-bsp-unsubscribe@community.qnx.com Hugh Brown 2013-01-12T14:51:21Z post98529: Re: Ethernet PING Problem Jagat Bhusan http://community.qnx.com/sf/go/post98529 2013-01-12T13:27:59Z 2013-01-12T13:27:59Z Hi, I have updated the EEPROM contents and it is working fine. Thank you very much for your support. Jagat Bhusan 2013-01-12T13:27:59Z post98514: Re: Ethernet PING Problem Jagat Bhusan http://community.qnx.com/sf/go/post98514 2013-01-11T14:01:59Z 2013-01-11T14:01:59Z OK. I will contact Intel for EEPROM contents,check it and let you know the status. Thanks for your support. Jagat Bhusan 2013-01-11T14:01:59Z post98513: Re: Ethernet PING Problem Hugh Brown http://community.qnx.com/sf/go/post98513 2013-01-11T13:54:43Z 2013-01-11T13:54:43Z I have no idea where the random MAC was coming from, but it was an invalid MAC address. The current driver has been tested with most of the Intel chipsets and it works on all of them. On 2013-01-11 8:43 AM, "Jagat Bhusan" <community-noreply@qnx.com> wrote: >Just wanted know that If the EEPROM is not recognized by the driver, then >how the original(default) driver is assigning some random mac ID whereas >the patch is assigning zero. > > > > > > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post98512 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com Hugh Brown 2013-01-11T13:54:43Z post98512: Re: Ethernet PING Problem Jagat Bhusan http://community.qnx.com/sf/go/post98512 2013-01-11T13:43:16Z 2013-01-11T13:43:16Z Just wanted know that If the EEPROM is not recognized by the driver, then how the original(default) driver is assigning some random mac ID whereas the patch is assigning zero. Jagat Bhusan 2013-01-11T13:43:16Z post98511: Re: Ethernet PING Problem Hugh Brown http://community.qnx.com/sf/go/post98511 2013-01-11T13:18:57Z 2013-01-11T13:18:57Z AFAIK, the information contained in the EEPROM isn't only the MAC address. It also contains chip setup information, so that is most probably why the software is reading the MAC address as zero. The driver reads the MAC address from the device's registers, which get loaded from the EEPROM, so if the device doesn't recognize the EEPROM contents, it most probably sets the MAC address to zero. You will most probably have to contact Intel to get the correct EEPROM contents for that chip. On 2013-01-11 7:53 AM, "Jagat Bhusan" <community-noreply@qnx.com> wrote: >I have posted the eeprom content of both ethernet devices > >1st device > >D000 D7C9 3460 0800 FFFF 00C3 FFFF FFFF >FFFF FFFF 10C3 0000 8086 10EA 0000 0000 >0702 0000 0000 A505 0028 0400 0000 0C00 >18F4 0B40 0843 0013 10EA BAAD 10EA 10EB >BAAD BAAD BAAD BAAD 8000 8090 4E00 0000 >0000 0000 0000 0000 0000 0000 0000 FFFF >0100 4000 1228 4007 FFFF FFFF FFFF FFFF >FFFF FFFF FFFF FFFF FFFF 0100 FFFF 9013 >0000 0000 0000 0000 0000 0000 0000 0000 >0000 0000 0000 FFFF FFFF FFFF FFFF FFFF >6040 001F D004 0011 0107 0012 0000 001F >FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF > > >2nd device > >D000 D7C9 3060 FFFF FFFF FFFF FFFF FFFF >FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF >FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF >FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF >FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF >FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF >FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF >A5A5 FFFF FFFF FFFF FFFF FFFF FFFF FE27 >FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF > >For the 2nd device I have only written the MAC ID . Others are default >values. > >Should I write any other information to the EEPROM ? > >I do not understand how the call is reading zero where as the mac id is >already available in eeprom. > >Am I missing anything ? > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post98509 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com Hugh Brown 2013-01-11T13:18:57Z post98509: Re: Ethernet PING Problem Jagat Bhusan http://community.qnx.com/sf/go/post98509 2013-01-11T12:53:44Z 2013-01-11T12:53:44Z I have posted the eeprom content of both ethernet devices 1st device D000 D7C9 3460 0800 FFFF 00C3 FFFF FFFF FFFF FFFF 10C3 0000 8086 10EA 0000 0000 0702 0000 0000 A505 0028 0400 0000 0C00 18F4 0B40 0843 0013 10EA BAAD 10EA 10EB BAAD BAAD BAAD BAAD 8000 8090 4E00 0000 0000 0000 0000 0000 0000 0000 0000 FFFF 0100 4000 1228 4007 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 0100 FFFF 9013 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 FFFF FFFF FFFF FFFF FFFF 6040 001F D004 0011 0107 0012 0000 001F FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 2nd device D000 D7C9 3060 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF A5A5 FFFF FFFF FFFF FFFF FFFF FFFF FE27 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF For the 2nd device I have only written the MAC ID . Others are default values. Should I write any other information to the EEPROM ? I do not understand how the call is reading zero where as the mac id is already available in eeprom. Am I missing anything ? Jagat Bhusan 2013-01-11T12:53:44Z post98508: Re: Ethernet PING Problem Hugh Brown http://community.qnx.com/sf/go/post98508 2013-01-11T12:31:48Z 2013-01-11T12:31:48Z Well here is the debug output that I placed in the driver, and as you can see the first adapter's MAC address is zero, whereas the second adapter's MAC address is correct. Both adapters are using the same routine to read the MAC address. e1000_read_mac_addr_generic - high 00000000 - low 00000000 e1000_read_mac_addr_generic - high 80009513 - low d8c9d000 On 2013-01-11 2:08 AM, "Jagat Bhusan" <community-noreply@qnx.com> wrote: >Herewith I have attached the sloginfo file for your reference. > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post98504 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com Hugh Brown 2013-01-11T12:31:48Z post98504: Re: Ethernet PING Problem Jagat Bhusan http://community.qnx.com/sf/go/post98504 2013-01-11T07:08:27Z 2013-01-11T07:08:27Z Herewith I have attached the sloginfo file for your reference. Jagat Bhusan 2013-01-11T07:08:27Z post98455: Re: Ethernet PING Problem Hugh Brown http://community.qnx.com/sf/go/post98455 2013-01-09T15:47:03Z 2013-01-09T15:47:03Z Please run the attached debug driver and post the output of sloginfo. Thanks, Hugh. On 2013-01-08 11:39 PM, "Jagat Bhusan" <community-noreply@qnx.com> wrote: >OK. Please check it. > >Can you tell me why the original driver is assigning a random mac id >whereas the patch is assigning mac id as zero ? > > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post98450 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com Hugh Brown 2013-01-09T15:47:03Z post98450: Re: Ethernet PING Problem Jagat Bhusan http://community.qnx.com/sf/go/post98450 2013-01-09T04:39:40Z 2013-01-09T04:39:40Z OK. Please check it. Can you tell me why the original driver is assigning a random mac id whereas the patch is assigning mac id as zero ? Jagat Bhusan 2013-01-09T04:39:40Z post98447: Re: Support for Vortex86SX ? Dennis Kellly http://community.qnx.com/sf/go/post98447 2013-01-08T22:15:58Z 2013-01-08T22:15:58Z You will need to re-post this in the QNX4 forum to get any response - different o/s. http://community.qnx.com/sf/discussion/do/listTopics/projects.qnx4/discussion.general Dennis Kellly 2013-01-08T22:15:58Z post98446: Re: Support for Vortex86SX ? Herman Gnuechtel http://community.qnx.com/sf/go/post98446 2013-01-08T22:09:58Z 2013-01-08T22:09:58Z Is/has anyone attempted to run Q4.25 (2011 Release) with the Vortex86SX processor and make the embeded LAN adapter Herman Gnuechtel 2013-01-08T22:09:58Z post98435: Re: Ethernet PING Problem Hugh Brown http://community.qnx.com/sf/go/post98435 2013-01-08T13:11:26Z 2013-01-08T13:11:26Z That is very strange, as I have a machine with the same (0x10d3) chipset on it and the driver works just fine and sees a valid MAC address. I'll take a look and see if I can work out what is happening. On 2013-01-07 11:59 PM, "Jagat Bhusan" <community-noreply@qnx.com> wrote: >Yes, the chip is working if i am using mac="xxxxxxxx" command line option. > >I have verified the eeprom content for both the devices and it contanis >proper mac id that i have programmed using the eeupdate utility. > >Why the original driver is returning an invalid mac id but the patch is >returning zero ? > > > > > >_______________________________________________ > >QNX BSPs >http://community.qnx.com/sf/go/post98429 >To cancel your subscription to this discussion, please e-mail >general-bsp-unsubscribe@community.qnx.com Hugh Brown 2013-01-08T13:11:26Z post98432: Re: OpenVG flash player on i.MX35 3DS Li Gaofeng http://community.qnx.com/sf/go/post98432 2013-01-08T08:31:51Z 2013-01-08T08:31:51Z I'm have the problem same with you. Have you resolved it now? If possible,can you send your "winmgr.conf "file to me? Email: edkaifa@163.com Li Gaofeng 2013-01-08T08:31:51Z post98430: Re: Long startup time booting from nand using AM335x EVM board zhang zhiwei http://community.qnx.com/sf/go/post98430 2013-01-08T05:44:07Z 2013-01-08T05:44:07Z hello! I have a 'AM335x-EVM board' and download the BSP of 'Texas Instruments AM335x EVM' baseed 6.5.0.SP1 and Momentics4.7.0. Now,I can boot from the nand flash,but the speed is very low.I kown you solve this problem by proper u-boot,how I can get the the uboot? Aflter QNX stater,I cano't mount '/dev/etfs' to '/',it always display 'no filesystem',I kown you can mount nand flash by BSP based 6.5.0,could you email me the BSP based 6.5.0?thanks!! my mailbox is 1015887812@qq.com,thanks!! zhang zhiwei 2013-01-08T05:44:07Z post98429: Re: Ethernet PING Problem Jagat Bhusan http://community.qnx.com/sf/go/post98429 2013-01-08T04:59:57Z 2013-01-08T04:59:57Z Yes, the chip is working if i am using mac="xxxxxxxx" command line option. I have verified the eeprom content for both the devices and it contanis proper mac id that i have programmed using the eeupdate utility. Why the original driver is returning an invalid mac id but the patch is returning zero ? Jagat Bhusan 2013-01-08T04:59:57Z