Feed for discussion QNX BSPs in project BSPs and Drivers.Posts for QNX BSPspost101598: Beagleboard-XM rev C ethernet connection problemÖnder Altanhttp://community.qnx.com/sf/go/post1015982013-05-22T14:10:35Z2013-05-22T14:10:35ZHi;
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 Altan2013-05-22T14:10:35Zpost101561: Re: Getting LCD to work on TI DM3730David Kvasnicahttp://community.qnx.com/sf/go/post1015612013-05-20T18:18:04Z2013-05-20T18:18:04ZUnfortunately 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 systemDavid Kvasnica2013-05-20T18:18:04Zpost101550: Re: can't use usb on omap3530white shawhttp://community.qnx.com/sf/go/post1015502013-05-19T13:05:54Z2013-05-19T13:05:54Zhi,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.
Whitewhite shaw2013-05-19T13:05:54Zpost101548: Re: can't use usb on omap3530David Sarrazinhttp://community.qnx.com/sf/go/post1015482013-05-18T15:57:42Z2013-05-18T15:57:42ZSent 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.comDavid Sarrazin2013-05-18T15:57:42Zpost101547: Re: can't use usb on omap3530Peter Barriehttp://community.qnx.com/sf/go/post1015472013-05-18T13:48:52Z2013-05-18T13:48:52ZI 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 Barrie2013-05-18T13:48:52Zpost101546: Beagleboard xM Revision C graphics configuration 1024x768Peter Barriehttp://community.qnx.com/sf/go/post1015462013-05-18T13:40:04Z2013-05-18T13:40:04ZBeagleboard 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,
PetePeter Barrie2013-05-18T13:40:04Zpost101545: Re: Getting LCD to work on TI DM3730Peter Barriehttp://community.qnx.com/sf/go/post1015452013-05-18T13:25:40Z2013-05-18T13:25:40ZI 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 Barrie2013-05-18T13:25:40Zpost101488: A15 SMPran wainsteinhttp://community.qnx.com/sf/go/post1014882013-05-16T15:39:55Z2013-05-16T15:39:55ZHi,
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,
Ranran wainstein2013-05-16T15:39:55Zpost101430: qnx smp on Windriver hypervisorxu kanfenghttp://community.qnx.com/sf/go/post1014302013-05-15T07:43:35Z2013-05-15T07:43:35ZHi 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 kanfeng2013-05-15T07:43:35Zpost101320: Is there any Idea to support BSPs for Qualcomm chipsetsKrishna Kanth Reddyhttp://community.qnx.com/sf/go/post1013202013-05-13T05:49:49Z2013-05-13T05:49:49ZHi Fred,
Is there any idea to support BSPs for Qualcomm chipsets?
Regards,
Krishna Kanth
Bangalore, IndiaKrishna Kanth Reddy2013-05-13T05:49:49Zpost101208: Re: QNX BSP beaglebone CAN deviceStefan Hallhttp://community.qnx.com/sf/go/post1012082013-05-07T12:49:39Z2013-05-07T12:49:39ZHi,
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,
StefanStefan Hall2013-05-07T12:49:39Zpost101206: Will it be supported ???Armin Steinhoffhttp://community.qnx.com/sf/go/post1012062013-05-07T10:48:00Z2013-05-07T10:48:00Zhttp://newsroom.intel.com/community/intel_newsroom/blog/2013/05/06/intel-launches-low-power-high-performance-silvermont-microarchitecture
--ArminArmin Steinhoff2013-05-07T10:48:00Zpost101159: QNX BSP Nitrogen6x Serial Port and Canbuscagri akalinhttp://community.qnx.com/sf/go/post1011592013-05-06T06:44:40Z2013-05-06T06:44:40ZDear 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ı AKALINcagri akalin2013-05-06T06:44:40Zpost101152: Re: SPI on BeagleBone - Endianness Problems.Dan Kirkpatrickhttp://community.qnx.com/sf/go/post1011522013-05-05T03:30:05Z2013-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 Kirkpatrick2013-05-05T03:30:05Zpost101137: QNX BSP beaglebone CAN deviceaymen ketatahttp://community.qnx.com/sf/go/post1011372013-05-03T19:09:58Z2013-05-03T19:09:58ZHi !
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/TiAm335Beagleboneaymen ketata2013-05-03T19:09:58Zpost101128: Re: CAN on beaglebone running QNXaymen ketatahttp://community.qnx.com/sf/go/post1011282013-05-03T15:38:19Z2013-05-03T15:38:19ZHi 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 ketata2013-05-03T15:38:19Zpost101121: Re: Texas Instrument AM335 Beaglebone CAN Driveraymen ketatahttp://community.qnx.com/sf/go/post1011212013-05-03T14:55:09Z2013-05-03T14:55:09ZHi!
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 ketata2013-05-03T14:55:09Zpost101120: Re: mkfifo failureRaghunandan Kamathhttp://community.qnx.com/sf/go/post1011202013-05-03T14:28:17Z2013-05-03T14:28:17ZHi,
I am facing the same issue. Has anyone found the solution?
BR,RaghuRaghunandan Kamath2013-05-03T14:28:17Zpost100934: SPI on BeagleBone - Endianness Problems.Thomas Hudsonhttp://community.qnx.com/sf/go/post1009342013-04-28T09:57:32Z2013-04-28T09:57:32ZHey 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 Hudson2013-04-28T09:57:32Zpost100927: Where to get the Qt 5 QNX SDK referenced in the QNX Accelerator Kit?David Lafrenierehttp://community.qnx.com/sf/go/post1009272013-04-26T21:37:44Z2013-04-26T21:37:44ZI 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 Lafreniere2013-04-26T21:37:44Zpost100925: Re: QNX booting on i.MX6 Nitrogen6x problemDavid Lafrenierehttp://community.qnx.com/sf/go/post1009252013-04-26T21:23:57Z2013-04-26T21:23:57ZSolved. I was using the wrong SP1 and needed the Windows installation.David Lafreniere2013-04-26T21:23:57Zpost100923: Build project with prebuilt archivesjohn kurcherhttp://community.qnx.com/sf/go/post1009232013-04-26T19:52:36Z2013-04-26T19:52:36ZHi 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 ??
Thanksjohn kurcher2013-04-26T19:52:36Zpost100899: CAN on beaglebone running QNXjohn kurcherhttp://community.qnx.com/sf/go/post1008992013-04-26T14:24:37Z2013-04-26T14:24:37ZI 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 kurcher2013-04-26T14:24:37Zpost100861: Support for OSPFravi varmahttp://community.qnx.com/sf/go/post1008612013-04-24T17:17:32Z2013-04-24T17:17:32ZHi
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
Raviravi varma2013-04-24T17:17:32Zpost100851: BeagleBone BlackArmin Steinhoffhttp://community.qnx.com/sf/go/post1008512013-04-24T14:43:09Z2013-04-24T14:43:09ZHi,
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.htmArmin Steinhoff2013-04-24T14:43:09Zpost100832: Re: pci enumeration without bios/iplMichael Taschehttp://community.qnx.com/sf/go/post1008322013-04-24T10:08:42Z2013-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 Tasche2013-04-24T10:08:42Zpost100818: Re: pci enumeration without bios/iplHugh Brownhttp://community.qnx.com/sf/go/post1008182013-04-23T17:10:07Z2013-04-23T17:10:07ZWe 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.comHugh Brown2013-04-23T17:10:07Zpost100817: Re: pci enumeration without bios/iplMichael Taschehttp://community.qnx.com/sf/go/post1008172013-04-23T16:45:13Z2013-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 Tasche2013-04-23T16:45:13Zpost100801: Re: pci enumeration without bios/iplHugh Brownhttp://community.qnx.com/sf/go/post1008012013-04-23T13:20:49Z2013-04-23T13:20:49ZI 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.comHugh Brown2013-04-23T13:20:49Zpost100797: Re: pci enumeration without bios/iplMichael Taschehttp://community.qnx.com/sf/go/post1007972013-04-23T12:14:11Z2013-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 Tasche2013-04-23T12:14:11Zpost100796: Re: pci enumeration without bios/iplHugh Brownhttp://community.qnx.com/sf/go/post1007962013-04-23T11:55:59Z2013-04-23T11:55:59ZWhat 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.comHugh Brown2013-04-23T11:55:59Zpost100788: pci enumeration without bios/iplMichael Taschehttp://community.qnx.com/sf/go/post1007882013-04-23T08:45:49Z2013-04-23T08:45:49ZHi 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
MichaelMichael Tasche2013-04-23T08:45:49Zpost100772: Re: No audio out on Panda BoardDennis Kelllyhttp://community.qnx.com/sf/go/post1007722013-04-22T12:38:48Z2013-04-22T12:38:48ZManuel-
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 Kellly2013-04-22T12:38:48Zpost100771: Re: No audio out on Panda BoardDennis Kelllyhttp://community.qnx.com/sf/go/post1007712013-04-22T12:35:52Z2013-04-22T12:35:52ZManuel-
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
DennisDennis Kellly2013-04-22T12:35:52Zpost100770: No audio out on Panda BoardManuel Kirschnerhttp://community.qnx.com/sf/go/post1007702013-04-22T12:21:19Z2013-04-22T12:21:19ZHello,
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
ManuelManuel Kirschner2013-04-22T12:21:19Zpost100753: Re: IMX5X QSB BSP build problem.Mark He Qinglonghttp://community.qnx.com/sf/go/post1007532013-04-19T08:23:36Z2013-04-19T08:23:36ZOK, 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 Qinglong2013-04-19T08:23:36Zpost100752: Re: IMX5X QSB BSP build problem.Mark He Qinglonghttp://community.qnx.com/sf/go/post1007522013-04-19T08:01:55Z2013-04-19T08:01:55ZHi, 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 Qinglong2013-04-19T08:01:55Zpost100721: Re: BeagleBone creates SIGBUS on floating point instructionsArmin Steinhoffhttp://community.qnx.com/sf/go/post1007212013-04-18T09:42:54Z2013-04-18T09:42:54ZHi,
floating point is working ... have a different problem :)
--ArminArmin Steinhoff2013-04-18T09:42:54Zpost100700: BeagleBone creates SIGBUS on floating point instructionsArmin Steinhoffhttp://community.qnx.com/sf/go/post1007002013-04-17T15:25:40Z2013-04-17T15:25:40ZHi,
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
--ArminArmin Steinhoff2013-04-17T15:25:40Zpost100664: Re: Korn shell unresponsive in Nitrogen6X BSPErick Roanehttp://community.qnx.com/sf/go/post1006642013-04-16T23:30:50Z2013-04-16T23:30:50ZRoot 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 Roane2013-04-16T23:30:50Zpost100662: Re: Korn shell unresponsive in Nitrogen6X BSPErick Roanehttp://community.qnx.com/sf/go/post1006622013-04-16T21:39:59Z2013-04-16T21:39:59ZI 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 Roane2013-04-16T21:39:59Zpost100657: Re: QNX booting on i.MX6 Nitrogen6x problemDavid Lafrenierehttp://community.qnx.com/sf/go/post1006572013-04-16T19:59:50Z2013-04-16T19:59:50ZThank 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 Lafreniere2013-04-16T19:59:50Zpost100642: Re: tftpd in QNX Neutrino 6.5.0 does not allow new file to be createdJim Gildersonhttp://community.qnx.com/sf/go/post1006422013-04-16T14:42:03Z2013-04-16T14:42:03ZNo, there is no way to support this with the current version.Jim Gilderson2013-04-16T14:42:03Zpost100640: Re: QNX booting on i.MX6 Nitrogen6x problemMark Wakimhttp://community.qnx.com/sf/go/post1006402013-04-16T14:11:00Z2013-04-16T14:11:00ZHi 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.comMark Wakim2013-04-16T14:11:00Zpost100624: Re: RE: RE: Vortex86Dx ICOP VDX-6356 and QNX 6.5.0Chris Bradshawhttp://community.qnx.com/sf/go/post1006242013-04-16T08:08:36Z2013-04-16T08:08:36ZBeen 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 Bradshaw2013-04-16T08:08:36Zpost100614: Re: QNX booting on i.MX6 Nitrogen6x problemDavid Lafrenierehttp://community.qnx.com/sf/go/post1006142013-04-15T22:57:52Z2013-04-15T22:57:52ZI 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 Lafreniere2013-04-15T22:57:52Zpost100610: QNX booting on i.MX6 Nitrogen6x problemDavid Lafrenierehttp://community.qnx.com/sf/go/post1006102013-04-15T20:57:56Z2013-04-15T20:57:56ZHi,
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 Lafreniere2013-04-15T20:57:56Zpost100595: Re: Korn shell unresponsive in Nitrogen6X BSPErick Roanehttp://community.qnx.com/sf/go/post1005952013-04-15T15:46:55Z2013-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 Roane2013-04-15T15:46:55Zpost100593: Re: RE: RE: Vortex86Dx ICOP VDX-6356 and QNX 6.5.0Chris Bradshawhttp://community.qnx.com/sf/go/post1005932013-04-15T15:37:38Z2013-04-15T15:37:38ZInteresting.
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 Bradshaw2013-04-15T15:37:38Zpost100592: Re: Korn shell unresponsive in Nitrogen6X BSPErick Roanehttp://community.qnx.com/sf/go/post1005922013-04-15T15:28:31Z2013-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 Roane2013-04-15T15:28:31Zpost100573: Re: Korn shell unresponsive in Nitrogen6X BSPDennis Kelllyhttp://community.qnx.com/sf/go/post1005732013-04-15T12:52:16Z2013-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 Kellly2013-04-15T12:52:16Zpost100571: Re: Korn shell unresponsive in Nitrogen6X BSPDavid Greenhttp://community.qnx.com/sf/go/post1005712013-04-15T12:33:48Z2013-04-15T12:33:48ZHi 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,
DaveDavid Green2013-04-15T12:33:48Zpost100545: Re: Korn shell unresponsive in Nitrogen6X BSPErick Roanehttp://community.qnx.com/sf/go/post1005452013-04-12T21:58:58Z2013-04-12T21:58:58ZWould it matter that my Nitrogen6X boards are Dual Core versus Quad? Not sure where to specify this in the BSP build.Erick Roane2013-04-12T21:58:58Zpost100540: Re: Korn shell unresponsive in Nitrogen6X BSPErick Roanehttp://community.qnx.com/sf/go/post1005402013-04-12T20:02:47Z2013-04-12T20:02:47ZI 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 Roane2013-04-12T20:02:47Zpost100538: Re: Korn shell unresponsive in Nitrogen6X BSPDennis Kelllyhttp://community.qnx.com/sf/go/post1005382013-04-12T19:52:54Z2013-04-12T19:52:54ZCould be the -c (clock) option to devc-sermx1 - likely driven be differing clock rates between the two boards.Dennis Kellly2013-04-12T19:52:54Zpost100537: Re: Korn shell unresponsive in Nitrogen6X BSPErick Roanehttp://community.qnx.com/sf/go/post1005372013-04-12T19:49:38Z2013-04-12T19:49:38ZYeah, 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 Roane2013-04-12T19:49:38Zpost100534: Re: Korn shell unresponsive in Nitrogen6X BSPDavid Greenhttp://community.qnx.com/sf/go/post1005342013-04-12T18:38:50Z2013-04-12T18:38:50ZI 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.comDavid Green2013-04-12T18:38:50Zpost100533: Re: Korn shell unresponsive in Nitrogen6X BSPErick Roanehttp://community.qnx.com/sf/go/post1005332013-04-12T18:20:50Z2013-04-12T18:20:50ZThanks 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.
ErickErick Roane2013-04-12T18:20:50Zpost100532: Re: devb-mmcsd-3dsmx35 on i.MX25Devan Lippmanhttp://community.qnx.com/sf/go/post1005322013-04-12T17:33:56Z2013-04-12T17:33:56ZProblem solved. The daisy-chain was not set properly to get response back to controller.Devan Lippman2013-04-12T17:33:56Zpost100525: Re: Korn shell unresponsive in Nitrogen6X BSPDavid Greenhttp://community.qnx.com/sf/go/post1005252013-04-12T14:57:28Z2013-04-12T14:57:28ZIt'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.comDavid Green2013-04-12T14:57:28Zpost100523: Re: Korn shell unresponsive in Nitrogen6X BSPErick Roanehttp://community.qnx.com/sf/go/post1005232013-04-12T14:25:52Z2013-04-12T14:25:52ZI'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 Roane2013-04-12T14:25:52Zpost100518: Re: Korn shell unresponsive in Nitrogen6X BSPDavid Greenhttp://community.qnx.com/sf/go/post1005182013-04-12T13:35:11Z2013-04-12T13:35:11ZHello,
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 Green2013-04-12T13:35:11Zpost100515: Re: RE: RE: Vortex86Dx ICOP VDX-6356 and QNX 6.5.0Chris Bradshawhttp://community.qnx.com/sf/go/post1005152013-04-12T11:59:55Z2013-04-12T11:59:55ZJust tried with 2 - 5 times. No failures.
Tried with 10, on second go it failed the same way.Chris Bradshaw2013-04-12T11:59:55Zpost100512: RE: RE: Vortex86Dx ICOP VDX-6356 and QNX 6.5.0Dennis Kelllyhttp://community.qnx.com/sf/go/post1005122013-04-12T11:25:36Z2013-04-12T11:25:36ZDoes 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.comDennis Kellly2013-04-12T11:25:36Zpost100511: Re: RE: Vortex86Dx ICOP VDX-6356 and QNX 6.5.0Chris Bradshawhttp://community.qnx.com/sf/go/post1005112013-04-12T11:19:06Z2013-04-12T11:19:06ZHi,
Yes, I've tried all the boot images provided with the standard install (smp, dma, other). They all behave the same.
ChrisChris Bradshaw2013-04-12T11:19:06Zpost100510: RE: Vortex86Dx ICOP VDX-6356 and QNX 6.5.0Dennis Kelllyhttp://community.qnx.com/sf/go/post1005102013-04-12T11:15:41Z2013-04-12T11:15:41ZHave 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.comDennis Kellly2013-04-12T11:15:41Zpost100509: Re: Vortex86Dx ICOP VDX-6356 and QNX 6.5.0Chris Bradshawhttp://community.qnx.com/sf/go/post1005092013-04-12T10:17:57Z2013-04-12T10:17:57ZHere 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 Bradshaw2013-04-12T10:17:57Zpost100508: Vortex86Dx ICOP VDX-6356 and QNX 6.5.0Chris Bradshawhttp://community.qnx.com/sf/go/post1005082013-04-12T10:13:46Z2013-04-12T10:13:46ZHi 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.
ChrisChris Bradshaw2013-04-12T10:13:46Zpost100503: Korn shell unresponsive in Nitrogen6X BSPErick Roanehttp://community.qnx.com/sf/go/post1005032013-04-12T04:48:58Z2013-04-12T04:48:58ZDownloaded 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 Roane2013-04-12T04:48:58Zpost100458: Re: Shutdown and Rreboot problem in QNX 6.5.0Giovanni Andrea Contehttp://community.qnx.com/sf/go/post1004582013-04-10T22:04:52Z2013-04-10T22:04:52ZMichael,
how come this startup-apic is only 140+ Kb whereas the one included in Momentics is about 1MB?
Am I missing something?
Thanks,
GiovanniGiovanni Andrea Conte2013-04-10T22:04:52Zpost100443: Rotating DisplayNick Skadberghttp://community.qnx.com/sf/go/post1004432013-04-10T16:17:21Z2013-04-10T16:17:21ZI 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 Skadberg2013-04-10T16:17:21Zpost100434: Re: PCI express 82572EI Gigabit Ethernet ControllerHugh Brownhttp://community.qnx.com/sf/go/post1004342013-04-10T11:55:51Z2013-04-10T11:55:51ZThe 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.comHugh Brown2013-04-10T11:55:51Zpost100418: Re: PCI express 82572EI Gigabit Ethernet ControllerPreetham Chandrianhttp://community.qnx.com/sf/go/post1004182013-04-09T23:08:38Z2013-04-09T23:08:38ZHi,
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,
PreethamPreetham Chandrian2013-04-09T23:08:38Zpost100396: Re: PCI express 82572EI Gigabit Ethernet ControllerHugh Brownhttp://community.qnx.com/sf/go/post1003962013-04-09T11:39:01Z2013-04-09T11:39:01ZOn 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.comHugh Brown2013-04-09T11:39:01Zpost100388: Re: PCI express 82572EI Gigabit Ethernet ControllerPreetham Chandrianhttp://community.qnx.com/sf/go/post1003882013-04-08T22:14:01Z2013-04-08T22:14:01ZCould 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,
PreethamPreetham Chandrian2013-04-08T22:14:01Zpost100367: Re: PCI express 82572EI Gigabit Ethernet ControllerHugh Brownhttp://community.qnx.com/sf/go/post1003672013-04-08T11:33:22Z2013-04-08T11:33:22ZThe 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.comHugh Brown2013-04-08T11:33:22Zpost100355: AM335X_SK QNX BSP Displaystephen zhanghttp://community.qnx.com/sf/go/post1003552013-04-07T01:16:44Z2013-04-07T01:16:44ZHi, 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 zhang2013-04-07T01:16:44Zpost100335: Re: PCI express 82572EI Gigabit Ethernet ControllerPreetham Chandrianhttp://community.qnx.com/sf/go/post1003352013-04-05T15:09:58Z2013-04-05T15:09:58ZThanks 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 outputPreetham Chandrian2013-04-05T15:09:58Zpost100331: Re: Using SPI on Novtech iMX6 boardDavid Greenhttp://community.qnx.com/sf/go/post1003312013-04-05T12:43:38Z2013-04-05T12:43:38ZHi 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,
DaveDavid Green2013-04-05T12:43:38Zpost100323: Re: PCI express 82572EI Gigabit Ethernet ControllerOleg Gopovhttp://community.qnx.com/sf/go/post1003232013-04-05T02:59:19Z2013-04-05T02:59:19ZFirst of all
1. What qnx version you use?????????
2. Is the file devnp-e1000.so realy exist in /lib/dll directory???????????????Oleg Gopov2013-04-05T02:59:19Zpost100314: PCI express 82572EI Gigabit Ethernet ControllerPreetham Chandrianhttp://community.qnx.com/sf/go/post1003142013-04-04T18:28:31Z2013-04-04T18:28:31ZHi,
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
PreethamPreetham Chandrian2013-04-04T18:28:31Zpost100307: devb-mmcsd-3dsmx35 on i.MX25Devan Lippmanhttp://community.qnx.com/sf/go/post1003072013-04-04T15:32:19Z2013-04-04T15:32:19ZHello,
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 Lippman2013-04-04T15:32:19Zpost100289: xpt_configure: ahci SIM attach failurePer Kristoffersenhttp://community.qnx.com/sf/go/post1002892013-04-03T13:27:43Z2013-04-03T13:27:43ZI'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 Kristoffersen2013-04-03T13:27:43Zpost100263: Re: Freescale mx25 SDIO stackDevan Lippmanhttp://community.qnx.com/sf/go/post1002632013-04-02T13:53:23Z2013-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,
DevanDevan Lippman2013-04-02T13:53:23Zpost100247: Dual display support in QNX-Freescale i.MX6Ashfaque Ahamedhttp://community.qnx.com/sf/go/post1002472013-04-01T06:11:58Z2013-04-01T06:11:58ZHello 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 Ahamed2013-04-01T06:11:58Zpost100242: vsync application- LCD VerificationAshfaque Ahamedhttp://community.qnx.com/sf/go/post1002422013-03-29T15:09:05Z2013-03-29T15:09:05ZHello 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,
AshfaqueAshfaque Ahamed2013-03-29T15:09:05Zpost100235: Re: Using SPI on Novtech iMX6 boardIvan Tarapovhttp://community.qnx.com/sf/go/post1002352013-03-28T22:11:01Z2013-03-28T22:11:01ZHey, 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,
>
> DaveIvan Tarapov2013-03-28T22:11:01Zpost100230: Graphics driver for i.MX6 - vsync test failsAshfaque Ahamedhttp://community.qnx.com/sf/go/post1002302013-03-28T14:07:23Z2013-03-28T14:07:23ZHello 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 Ahamed2013-03-28T14:07:23Zpost100226: Re: Using SPI on Novtech iMX6 boardDavid Greenhttp://community.qnx.com/sf/go/post1002262013-03-28T13:07:59Z2013-03-28T13:07:59ZHello,
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,
DaveDavid Green2013-03-28T13:07:59Zpost100214: Re: Using SPI on Novtech iMX6 boardIvan Tarapovhttp://community.qnx.com/sf/go/post1002142013-03-28T01:02:50Z2013-03-28T01:02:50ZAnyone?
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 Tarapov2013-03-28T01:02:50Zpost100208: Re: Using devn-sja1000 driver in QNX 6.4.1Jerzy Dyrdahttp://community.qnx.com/sf/go/post1002082013-03-27T18:22:56Z2013-03-27T18:22:56ZHello 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 Dyrda2013-03-27T18:22:56Zpost100146: Re: Getting LCD to work on TI DM3730David Kvasnicahttp://community.qnx.com/sf/go/post1001462013-03-25T16:30:58Z2013-03-25T16:30:58ZCan anyone please help point me in the right direction with this problem? Thanks!David Kvasnica2013-03-25T16:30:58Zpost100144: Re: Ethernet on TI DM3730 with SMSC LAN9220David Kvasnicahttp://community.qnx.com/sf/go/post1001442013-03-25T16:14:53Z2013-03-25T16:14:53ZSo 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!
ThanksDavid Kvasnica2013-03-25T16:14:53Zpost100136: Re: rel3878 issue (3530 Beagle Board BSP; broken link inside Readme .htm)David Greenhttp://community.qnx.com/sf/go/post1001362013-03-25T14:16:54Z2013-03-25T14:16:54ZI found it by Googling "qnx am omap boot resources" :-)David Green2013-03-25T14:16:54Zpost100135: Re: rel3878 issue (3530 Beagle Board BSP; broken link inside Readme .htm)Igor Rondarevhttp://community.qnx.com/sf/go/post1001352013-03-25T14:01:57Z2013-03-25T14:01:57ZDavid,
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,
IgorIgor Rondarev2013-03-25T14:01:57Zpost100134: Re: rel3878 issue (3530 Beagle Board BSP; broken link inside Readme .htm)David Greenhttp://community.qnx.com/sf/go/post1001342013-03-25T13:45:58Z2013-03-25T13:45:58ZHi,
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.comDavid Green2013-03-25T13:45:58Zpost100133: Re: rel3878 issue (3530 Beagle Board BSP; broken link inside Readme .htm)Igor Rondarevhttp://community.qnx.com/sf/go/post1001332013-03-25T13:37:59Z2013-03-25T13:37:59ZErrata:
* 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_resourcesIgor Rondarev2013-03-25T13:37:59Zpost100132: rel3878 issue (3530 Beagle Board BSP; broken link inside Readme .htm)Igor Rondarevhttp://community.qnx.com/sf/go/post1001322013-03-25T13:32:58Z2013-03-25T13:32:58ZHello,
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,
IgorIgor Rondarev2013-03-25T13:32:58Zpost100117: Re: usb device address unexpectedRaymond Yeunghttp://community.qnx.com/sf/go/post1001172013-03-23T01:15:15Z2013-03-23T01:15:15ZI 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 Yeung2013-03-23T01:15:15Zpost100116: Using SPI on Novtech iMX6 boardIvan Tarapovhttp://community.qnx.com/sf/go/post1001162013-03-23T00:59:08Z2013-03-23T00:59:08ZHi,
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?
ThanksIvan Tarapov2013-03-23T00:59:08Zpost100107: Re: usb device address unexpectedGervais Mulongoyhttp://community.qnx.com/sf/go/post1001072013-03-22T17:03:50Z2013-03-22T17:03:50ZI 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 Mulongoy2013-03-22T17:03:50Zpost100101: Re: usb device address unexpectedRaymond Yeunghttp://community.qnx.com/sf/go/post1001012013-03-22T15:29:12Z2013-03-22T15:29:12ZThanks Gervais.
I've the USB source code. Would you remember where this reset and address allocation take place?
RaymondRaymond Yeung2013-03-22T15:29:12Zpost100092: Re: usb device address unexpectedGervais Mulongoyhttp://community.qnx.com/sf/go/post1000922013-03-22T12:20:51Z2013-03-22T12:20:51ZThere 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 Mulongoy2013-03-22T12:20:51Zpost100079: usb device address unexpectedRaymond Yeunghttp://community.qnx.com/sf/go/post1000792013-03-22T02:51:57Z2013-03-22T02:51:57ZWe 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 Yeung2013-03-22T02:51:57Zpost100075: Re: Getting LCD to work on TI DM3730David Kvasnicahttp://community.qnx.com/sf/go/post1000752013-03-21T18:17:27Z2013-03-21T18:17:27ZDisplay config file 2David Kvasnica2013-03-21T18:17:27Zpost100074: Re: Getting LCD to work on TI DM3730David Kvasnicahttp://community.qnx.com/sf/go/post1000742013-03-21T18:17:00Z2013-03-21T18:17:00ZDisplay config file 1David Kvasnica2013-03-21T18:17:00Zpost100073: Getting LCD to work on TI DM3730David Kvasnicahttp://community.qnx.com/sf/go/post1000732013-03-21T18:16:33Z2013-03-21T18:16:33ZHello,
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!
DavidDavid Kvasnica2013-03-21T18:16:33Zpost100062: Re: Ethernet on TI DM3730 with SMSC LAN9220David Kvasnicahttp://community.qnx.com/sf/go/post1000622013-03-20T21:37:57Z2013-03-20T21:37:57ZRight 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 Kvasnica2013-03-20T21:37:57Zpost100052: Re: Freescale P2020 Error at a file transfer on USB.Nikolaeva Marinahttp://community.qnx.com/sf/go/post1000522013-03-20T15:52:52Z2013-03-20T15:52:52ZHello, 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 Marina2013-03-20T15:52:52Zpost100039: Re: Freescale P2020 Error at a file transfer on USB.David Greenhttp://community.qnx.com/sf/go/post1000392013-03-20T13:24:44Z2013-03-20T13:24:44Zcould 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 Green2013-03-20T13:24:44Zpost100038: Re: Ethernet on TI DM3730 with SMSC LAN9220David Greenhttp://community.qnx.com/sf/go/post1000382013-03-20T12:49:00Z2013-03-20T12:49:00Zcan 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.comDavid Green2013-03-20T12:49:00Zpost100032: Freescale P2020 Error at a file transfer on USB.Nikolaeva Marinahttp://community.qnx.com/sf/go/post1000322013-03-20T10:37:07Z2013-03-20T10:37:07ZPlatform: 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 Marina2013-03-20T10:37:07Zpost100020: how to use usb camera on beagleboard omap3530white shawhttp://community.qnx.com/sf/go/post1000202013-03-20T01:12:48Z2013-03-20T01:12:48Zi 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 shaw2013-03-20T01:12:48Zpost100017: Re: Ethernet on TI DM3730 with SMSC LAN9220David Kvasnicahttp://community.qnx.com/sf/go/post1000172013-03-19T20:27:39Z2013-03-19T20:27:39ZAttachedDavid Kvasnica2013-03-19T20:27:39Zpost100016: Re: Ethernet on TI DM3730 with SMSC LAN9220David Greenhttp://community.qnx.com/sf/go/post1000162013-03-19T20:22:43Z2013-03-19T20:22:43Zcan 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.comDavid Green2013-03-19T20:22:43Zpost100013: tftpd in QNX Neutrino 6.5.0 does not allow new file to be createdJane Sunhttp://community.qnx.com/sf/go/post1000132013-03-19T18:53:54Z2013-03-19T18:53:54ZHi 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 SunJane Sun2013-03-19T18:53:54Zpost100012: Re: Ethernet on TI DM3730 with SMSC LAN9220David Kvasnicahttp://community.qnx.com/sf/go/post1000122013-03-19T18:03:53Z2013-03-19T18:03:53ZGreat, 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!
DavidDavid Kvasnica2013-03-19T18:03:53Zpost100011: Re: Miscellaneous utilities for reading smart battery status and so on ...Mike Gorchakhttp://community.qnx.com/sf/go/post1000112013-03-19T17:21:30Z2013-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 Gorchak2013-03-19T17:21:30Zpost99994: Re: Ethernet on TI DM3730 with SMSC LAN9220David Greenhttp://community.qnx.com/sf/go/post999942013-03-19T12:49:22Z2013-03-19T12:49:22ZHi,
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,
DaveDavid Green2013-03-19T12:49:22Zpost99987: Re: Miscellaneous utilities for reading smart battery status and so on ...Steven Andersonhttp://community.qnx.com/sf/go/post999872013-03-19T11:57:41Z2013-03-19T11:57:41ZThanks 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 AndersonSteven Anderson2013-03-19T11:57:41Zpost99973: Ethernet on TI DM3730 with SMSC LAN9220David Kvasnicahttp://community.qnx.com/sf/go/post999732013-03-18T22:40:57Z2013-03-18T22:40:57ZHello,
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!
DavidDavid Kvasnica2013-03-18T22:40:57Zpost99952: OMAPL138 Hawkboard GPIO UsageDeepti Panchalhttp://community.qnx.com/sf/go/post999522013-03-18T10:17:01Z2013-03-18T10:17:01ZI'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,
DeeptiDeepti Panchal2013-03-18T10:17:01Zpost99844: Re: How to read/write PCI Card's I/O Port Register?Vadim Vhttp://community.qnx.com/sf/go/post998442013-03-13T07:25:56Z2013-03-13T07:25:56ZGood day. In attachment presents undefined in the common <hw/pci...> headers type of data PCI_INF. Please tell what is this structure?Vadim V2013-03-13T07:25:56Zpost99837: Adding unified L2 cachePreetham Chandrianhttp://community.qnx.com/sf/go/post998372013-03-12T20:55:25Z2013-03-12T20:55:25ZHi,
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,
PreethamPreetham Chandrian2013-03-12T20:55:25Zpost99814: Re: How to read/write PCI Card's I/O Port Register?Vadim Vhttp://community.qnx.com/sf/go/post998142013-03-12T11:21:48Z2013-03-12T11:21:48ZOK, just define them yourself:
#define ...Vadim V2013-03-12T11:21:48Zpost99804: IMX53 QSB VGARamesh Rhttp://community.qnx.com/sf/go/post998042013-03-12T09:40:40Z2013-03-12T09:40:40ZHi,
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 R2013-03-12T09:40:40Zpost99791: How can we force linux kernel linking from QNX build file?AMIT TOMARhttp://community.qnx.com/sf/go/post997912013-03-11T19:51:38Z2013-03-11T19:51:38ZWe 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,
AmitAMIT TOMAR2013-03-11T19:51:38Zpost99775: Re: BSP for Advamtech PCM-3362 forQNX 6.3.2Marcin Morawskihttp://community.qnx.com/sf/go/post997752013-03-08T20:36:12Z2013-03-08T20:36:12ZHi,
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
MarcinMarcin Morawski2013-03-08T20:36:12Zpost99774: Re: How to read/write PCI Card's I/O Port Register?Vadim Vhttp://community.qnx.com/sf/go/post997742013-03-08T20:18:55Z2013-03-08T20:18:55ZSorry 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 V2013-03-08T20:18:55Zpost99728: Re: How to read/write PCI Card's I/O Port Register?Gervais Mulongoyhttp://community.qnx.com/sf/go/post997282013-03-07T12:37:01Z2013-03-07T12:37:01ZI 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 Mulongoy2013-03-07T12:37:01Zpost99721: RE: x86 patch installation for Advantech AIMB-580 BSPDoug Warnerhttp://community.qnx.com/sf/go/post997212013-03-06T23:32:38Z2013-03-06T23:32:38ZYes, 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.comDoug Warner2013-03-06T23:32:38Zpost99718: Re: How to read/write PCI Card's I/O Port Register?Vadim Vhttp://community.qnx.com/sf/go/post997182013-03-06T21:49:57Z2013-03-06T21:49:57ZSorry 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 V2013-03-06T21:49:57Zpost99703: Smart battery read for Xplore iX104C5 tabletSteven Andersonhttp://community.qnx.com/sf/go/post997032013-03-06T13:57:50Z2013-03-06T13:57:50ZI 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 Anderson2013-03-06T13:57:50Zpost99700: Re: x86 patch installation for Advantech AIMB-580 BSPDavid Greenhttp://community.qnx.com/sf/go/post997002013-03-06T13:15:36Z2013-03-06T13:15:36ZHi 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.comDavid Green2013-03-06T13:15:36Zpost99695: RE: x86 patch installation for Advantech AIMB-580 BSPDoug Warnerhttp://community.qnx.com/sf/go/post996952013-03-05T23:28:48Z2013-03-05T23:28:48ZI 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.comDoug Warner2013-03-05T23:28:48Zpost99682: Re: x86 patch installation for Advantech AIMB-580 BSPDavid Greenhttp://community.qnx.com/sf/go/post996822013-03-05T13:29:35Z2013-03-05T13:29:35ZHi 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 Green2013-03-05T13:29:35Zpost99673: x86 patch installation for Advantech AIMB-580 BSPDoug Warnerhttp://community.qnx.com/sf/go/post996732013-03-05T01:08:58Z2013-03-05T01:08:58ZI 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 Warner2013-03-05T01:08:58Zpost99669: Re: USB to Serial support on OMAP?Scott Leonardhttp://community.qnx.com/sf/go/post996692013-03-04T19:20:37Z2013-03-04T19:20:37ZThank you.Scott Leonard2013-03-04T19:20:37Zpost99667: Re: i.mx6Q Sabre Lite booting issuesRuben Rodriguezhttp://community.qnx.com/sf/go/post996672013-03-04T18:22:23Z2013-03-04T18:22:23ZOkay 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 Rodriguez2013-03-04T18:22:23Zpost99666: Re: i.mx6Q Sabre Lite booting issuesDennis Kelllyhttp://community.qnx.com/sf/go/post996662013-03-04T18:01:40Z2013-03-04T18:01:40ZAs 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 Kellly2013-03-04T18:01:40Zpost99665: i.mx6Q Sabre Lite booting issuesRuben Rodriguezhttp://community.qnx.com/sf/go/post996652013-03-04T17:52:00Z2013-03-04T17:52:00ZHello,
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 Rodriguez2013-03-04T17:52:00Zpost99659: Re: ksh: No Controlling tty( open /dev/tty: No such device or address)Seyfettin Süngerhttp://community.qnx.com/sf/go/post996592013-03-02T20:46:01Z2013-03-02T20:46:01ZThanks 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 informationSeyfettin Sünger2013-03-02T20:46:01Zpost99658: Re: ksh: No Controlling tty( open /dev/tty: No such device or address)ran wainsteinhttp://community.qnx.com/sf/go/post996582013-03-02T17:08:19Z2013-03-02T17:08:19ZHi - 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.
Ranran wainstein2013-03-02T17:08:19Zpost99657: ksh: No Controlling tty( open /dev/tty: No such device or address)Eren Basturkhttp://community.qnx.com/sf/go/post996572013-03-02T17:04:19Z2013-03-02T17:04:19ZHi 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 Basturk2013-03-02T17:04:19Zpost99648: Re: mkfifo failureVincent Wanhttp://community.qnx.com/sf/go/post996482013-03-01T19:02:38Z2013-03-01T19:02:38ZWe 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 Wan2013-03-01T19:02:38Zpost99618: Re: USB to Serial support on OMAP?Dennis Kelllyhttp://community.qnx.com/sf/go/post996182013-02-28T21:25:30Z2013-02-28T21:25:30ZSee devc-serusb documentation. Supports common dongles with Prolific or FTDI chipsets.Dennis Kellly2013-02-28T21:25:30Zpost99617: USB to Serial support on OMAP?Scott Leonardhttp://community.qnx.com/sf/go/post996172013-02-28T21:21:59Z2013-02-28T21:21:59ZThe 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 Leonard2013-02-28T21:21:59Zpost99568: if QNX6.5 support multitouch screenyin xingjiehttp://community.qnx.com/sf/go/post995682013-02-27T09:40:17Z2013-02-27T09:40:17ZHello:
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 Xingjieyin xingjie2013-02-27T09:40:17Zpost99493: Re: Is there a QNX demo project for Arduino?mario sangallihttp://community.qnx.com/sf/go/post994932013-02-24T18:02:59Z2013-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 sangalli2013-02-24T18:02:59Zpost99490: Is there a QNX demo project for Arduino?Allen Chenhttp://community.qnx.com/sf/go/post994902013-02-23T06:14:44Z2013-02-23T06:14:44ZI 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 Chen2013-02-23T06:14:44Zpost99417: Re: source code for devc-serpciMichael Kiselhttp://community.qnx.com/sf/go/post994172013-02-21T13:13:07Z2013-02-21T13:13:07Zthe 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.comMichael Kisel2013-02-21T13:13:07Zpost99416: Re: source code for devc-serpciJavier I. Acosta M.http://community.qnx.com/sf/go/post994162013-02-21T12:57:32Z2013-02-21T12:57:32ZI have the same problem, any idea where can I find the driver code?
Thank you,
JavierJavier I. Acosta M.2013-02-21T12:57:32Zpost99415: devc-serpci - issueJavier I. Acosta M.http://community.qnx.com/sf/go/post994152013-02-21T12:36:51Z2013-02-21T12:36:51ZI 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:51Zpost99369: some questions about QNX Neutrino 6.5.0 BSP for Freescalexu kanfenghttp://community.qnx.com/sf/go/post993692013-02-20T05:40:02Z2013-02-20T05:40:02ZHI 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 kanfeng2013-02-20T05:40:02Zpost99338: imx53 QSB IO ON Program.Ramesh Rhttp://community.qnx.com/sf/go/post993382013-02-19T11:36:52Z2013-02-19T11:36:52ZDear 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 R2013-02-19T11:36:52Zpost99335: Re: No sound from external speaker using ALC269codecNitarhttp://community.qnx.com/sf/go/post993352013-02-19T07:10:54Z2013-02-19T07:10:54ZHi 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,
NitarNitar2013-02-19T07:10:54Zpost99311: Re: CAN driver for TopcliffMichael Kiselhttp://community.qnx.com/sf/go/post993112013-02-15T13:34:13Z2013-02-15T13:34:13Za 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.comMichael Kisel2013-02-15T13:34:13Zpost99308: Re: CAN driver for TopcliffIván Cayónhttp://community.qnx.com/sf/go/post993082013-02-15T09:46:01Z2013-02-15T09:46:01ZIt 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ón2013-02-15T09:46:01Zpost99299: Re: Beagleboard-xM writing a message on a displayPatrick N.http://community.qnx.com/sf/go/post992992013-02-14T20:26:58Z2013-02-14T20:26:58ZOk, 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:58Zpost99284: Re: CAN driver for TopcliffIván Cayónhttp://community.qnx.com/sf/go/post992842013-02-14T14:02:53Z2013-02-14T14:02:53ZThank you very much !!Iván Cayón2013-02-14T14:02:53Zpost99279: Re: CAN driver for TopcliffMichael Kiselhttp://community.qnx.com/sf/go/post992792013-02-14T12:53:51Z2013-02-14T12:53:51ZCAN_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.comMichael Kisel2013-02-14T12:53:51Zpost99273: Re: CAN driver for TopcliffIván Cayónhttp://community.qnx.com/sf/go/post992732013-02-14T07:26:53Z2013-02-14T07:26:53ZIsn't any way to read de message id from a received can frame?
ThanksIván Cayón2013-02-14T07:26:53Zpost99250: SM502 dual display on Qnx6.5 and ppc CPUmario sangallihttp://community.qnx.com/sf/go/post992502013-02-13T13:26:51Z2013-02-13T13:26:51ZHi 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 sangalli2013-02-13T13:26:51Zpost99202: TI AM3517 EVMSeyfettin Süngerhttp://community.qnx.com/sf/go/post992022013-02-11T16:37:33Z2013-02-11T16:37:33ZDear 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ünger2013-02-11T16:37:33Zpost99201: Re: QNX USB driver interfaceHannes Flickahttp://community.qnx.com/sf/go/post992012013-02-11T15:44:48Z2013-02-11T15:44:48ZHello!
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 Flicka2013-02-11T15:44:48Zpost99195: Re: Beagleboard-xM writing a message on a displayPatrick N.http://community.qnx.com/sf/go/post991952013-02-10T23:37:22Z2013-02-10T23:37:22ZHi 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:22Zpost99191: Re: Beagleboard-xM writing a message on a displayPatrick N.http://community.qnx.com/sf/go/post991912013-02-09T00:15:38Z2013-02-09T00:15:38ZOk! 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:38Zpost99181: Re: Beagleboard-xM writing a message on a displayDennis Kelllyhttp://community.qnx.com/sf/go/post991812013-02-08T16:04:49Z2013-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 Kellly2013-02-08T16:04:49Zpost99179: Re: Beagleboard-xM writing a message on a displayPatrick N.http://community.qnx.com/sf/go/post991792013-02-08T15:42:28Z2013-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,
PatrickPatrick N.2013-02-08T15:42:28Zpost99172: CAN driver for TopcliffIván Cayónhttp://community.qnx.com/sf/go/post991722013-02-08T14:11:59Z2013-02-08T14:11:59ZHi !!
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
RegardsIván Cayón2013-02-08T14:11:59Zpost99171: Re: Beagleboard-xM writing a message on a displayDennis Kelllyhttp://community.qnx.com/sf/go/post991712013-02-08T14:01:43Z2013-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 Kellly2013-02-08T14:01:43Zpost99170: Re: Beagleboard-xM writing a message on a displayPatrick N.http://community.qnx.com/sf/go/post991702013-02-08T13:52:47Z2013-02-08T13:52:47ZNow 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:47Zpost99145: Booting Time on TI AM3517 EVM including GraphicsSeyfettin Süngerhttp://community.qnx.com/sf/go/post991452013-02-07T15:26:04Z2013-02-07T15:26:04ZDear 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 SungerSeyfettin Sünger2013-02-07T15:26:04Zpost99137: Re: Beagleboard-xM writing a message on a displayDennis Kelllyhttp://community.qnx.com/sf/go/post991372013-02-07T12:09:24Z2013-02-07T12:09:24ZThe 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 Kellly2013-02-07T12:09:24Zpost99135: Re: Beagleboard-xM writing a message on a displayPatrick N.http://community.qnx.com/sf/go/post991352013-02-07T10:43:23Z2013-02-07T10:43:23ZThanks 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:23Zpost99133: Re: Shutdown and Rreboot problem in QNX 6.5.0Jagat Bhusanhttp://community.qnx.com/sf/go/post991332013-02-07T04:45:06Z2013-02-07T04:45:06ZNo, 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 Bhusan2013-02-07T04:45:06Zpost99129: Re: Beagleboard-xM writing a message on a displayDennis Kelllyhttp://community.qnx.com/sf/go/post991292013-02-07T00:48:59Z2013-02-07T00:48:59Z>>>i get an error because of geometry failure
Likely not admin - or else you are using a "home" edition.Dennis Kellly2013-02-07T00:48:59Zpost99126: Re: Beagleboard-xM writing a message on a displayPatrick N.http://community.qnx.com/sf/go/post991262013-02-07T00:02:55Z2013-02-07T00:02:55ZMore 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:55Zpost99119: Beagleboard-xM writing a message on a displayPatrick N.http://community.qnx.com/sf/go/post991192013-02-06T16:10:00Z2013-02-06T16:10:00ZHi @ 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:00Zpost99114: Re: Shutdown and Rreboot problem in QNX 6.5.0Gervais Mulongoyhttp://community.qnx.com/sf/go/post991142013-02-06T14:55:57Z2013-02-06T14:55:57ZSo 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 Mulongoy2013-02-06T14:55:57Zpost99112: Re: Shutdown and Rreboot problem in QNX 6.5.0Jagat Bhusanhttp://community.qnx.com/sf/go/post991122013-02-06T14:33:59Z2013-02-06T14:33:59ZIt was not qnxbasesmp-apic.ifs but startup-apicJagat Bhusan2013-02-06T14:33:59Zpost99111: Re: Shutdown and Rreboot problem in QNX 6.5.0Jagat Bhusanhttp://community.qnx.com/sf/go/post991112013-02-06T14:30:07Z2013-02-06T14:30:07ZThe 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 Bhusan2013-02-06T14:30:07Zpost99107: Re: Shutdown and Rreboot problem in QNX 6.5.0Gervais Mulongoyhttp://community.qnx.com/sf/go/post991072013-02-06T13:27:32Z2013-02-06T13:27:32ZSounds 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 Mulongoy2013-02-06T13:27:32Zpost99101: Re: Shutdown and Rreboot problem in QNX 6.5.0Jagat Bhusanhttp://community.qnx.com/sf/go/post991012013-02-06T09:46:48Z2013-02-06T09:46:48ZHi,
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 Bhusan2013-02-06T09:46:48Zpost99071: Re: devb-aha8 brokenand libcam.so.2 under 6.5.0.SP1Gervais Mulongoyhttp://community.qnx.com/sf/go/post990712013-02-05T13:44:36Z2013-02-05T13:44:36ZHello 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,
GervaisGervais Mulongoy2013-02-05T13:44:36Zpost99065: devb-aha8 brokenand libcam.so.2 under 6.5.0.SP1Michael Taschehttp://community.qnx.com/sf/go/post990652013-02-05T13:35:50Z2013-02-05T13:35:50ZHi 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 Tasche2013-02-05T13:35:50Zpost99025: Re: The devg-i830 driver and layersDennis Kelllyhttp://community.qnx.com/sf/go/post990252013-02-03T19:48:51Z2013-02-03T19:48:51ZFour 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 Kellly2013-02-03T19:48:51Zpost99024: The devg-i830 driver and layersJacek Rudnickihttp://community.qnx.com/sf/go/post990242013-02-03T17:39:54Z2013-02-03T17:39:54ZHi,
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,
JacekJacek Rudnicki2013-02-03T17:39:54Zpost99023: some questions about Capricorn-H-BSP-srcxu kanfenghttp://community.qnx.com/sf/go/post990232013-02-03T03:43:57Z2013-02-03T03:43:57ZDear 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 kanfeng2013-02-03T03:43:57Zpost98984: Re: CANBUS EG20TIván Cayónhttp://community.qnx.com/sf/go/post989842013-02-01T10:11:34Z2013-02-01T10:11:34ZDefinitely,
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 guysIván Cayón2013-02-01T10:11:34Zpost98975: Re: how to add my own .a file to a bspxu kanfenghttp://community.qnx.com/sf/go/post989752013-02-01T02:33:52Z2013-02-01T02:33:52ZI 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.comxu kanfeng2013-02-01T02:33:52Zpost98960: Power management suspend/resumeScott Leonardhttp://community.qnx.com/sf/go/post989602013-02-01T02:10:37Z2013-02-01T02:10:37ZAny support for power management (suspend/resume), smart reflex or dvfs in the omap3/4 BSP's?
tx,
sblScott Leonard2013-02-01T02:10:37Zpost98974: Re: how to add my own .a file to a bspxu kanfenghttp://community.qnx.com/sf/go/post989742013-02-01T02:08:00Z2013-02-01T02:08:00Zstill 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.comxu kanfeng2013-02-01T02:08:00Zpost98970: Re: how to add my own .a file to a bspxu kanfenghttp://community.qnx.com/sf/go/post989702013-02-01T00:43:56Z2013-02-01T00:43:56Zthanks. 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.comxu kanfeng2013-02-01T00:43:56Zpost98957: Re: how to add my own .a file to a bspZhen Wanghttp://community.qnx.com/sf/go/post989572013-01-31T22:36:53Z2013-01-31T22:36:53ZLIBS = 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_2Zhen Wang2013-01-31T22:36:53Zpost98953: Re: how to add my own .a file to a bspxu kanfenghttp://community.qnx.com/sf/go/post989532013-01-31T16:56:25Z2013-01-31T16:56:25Zwhat'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.comxu kanfeng2013-01-31T16:56:25Zpost98952: RE: how to add my own .a file to a bspZhen Wanghttp://community.qnx.com/sf/go/post989522013-01-31T16:47:49Z2013-01-31T16:47:49ZIf 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.comZhen Wang2013-01-31T16:47:49Zpost98948: Re: No sound from external speaker using ALC269codecDavid Greenhttp://community.qnx.com/sf/go/post989482013-01-31T15:26:42Z2013-01-31T15:26:42Zaudiopci 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,
DaveDavid Green2013-01-31T15:26:42Zpost98940: Re: how to add my own .a file to a bspxu kanfenghttp://community.qnx.com/sf/go/post989402013-01-31T14:54:47Z2013-01-31T14:54:47Zthanks 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 kanfeng2013-01-31T14:54:47Zpost98937: Re: how to add my own .a file to a bspDennis Kelllyhttp://community.qnx.com/sf/go/post989372013-01-31T14:46:35Z2013-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 Kellly2013-01-31T14:46:35Zpost98936: how to add my own .a file to a bspxu kanfenghttp://community.qnx.com/sf/go/post989362013-01-31T14:43:02Z2013-01-31T14:43:02ZDear 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 kanfeng2013-01-31T14:43:02Zpost98921: No sound from external speaker using ALC269codecNitarhttp://community.qnx.com/sf/go/post989212013-01-31T09:26:55Z2013-01-31T09:26:55ZDear 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.
NitarNitar2013-01-31T09:26:55Zpost98918: No Sound from External Speaker using ALC269Nitarhttp://community.qnx.com/sf/go/post989182013-01-31T06:36:29Z2013-01-31T06:36:29ZDear 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 lotNitar2013-01-31T06:36:29Zpost98912: Re: Intel Topcliff I2C driverAndrey Kovalenkohttp://community.qnx.com/sf/go/post989122013-01-31T02:33:51Z2013-01-31T02:33:51ZDid 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 advanceAndrey Kovalenko2013-01-31T02:33:51Zpost98903: User InterfaceAbdulrahman Shabanahttp://community.qnx.com/sf/go/post989032013-01-30T20:03:34Z2013-01-30T20:03:34ZWhere 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 designAbdulrahman Shabana2013-01-30T20:03:34Zpost98897: Re: Atmel AT91SAM9261-EK Board BSP Installation IssueSeyfettin Süngerhttp://community.qnx.com/sf/go/post988972013-01-30T15:09:08Z2013-01-30T15:09:08ZJust 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ünger2013-01-30T15:09:08Zpost98847: Re: CANBUS EG20TIván Cayónhttp://community.qnx.com/sf/go/post988472013-01-29T07:10:47Z2013-01-29T07:10:47ZThe 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?
ThanksIván Cayón2013-01-29T07:10:47Zpost98846: Problems with monitormikhail ddddhttp://community.qnx.com/sf/go/post988462013-01-29T06:24:01Z2013-01-29T06:24:01ZHello 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 dddd2013-01-29T06:24:01Zpost98822: Re: CANBUS EG20TIván Cayónhttp://community.qnx.com/sf/go/post988222013-01-28T14:49:50Z2013-01-28T14:49:50ZThanks,
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 driverIván Cayón2013-01-28T14:49:50Zpost98818: Re: CANBUS EG20TIván Cayónhttp://community.qnx.com/sf/go/post988182013-01-28T12:37:56Z2013-01-28T12:37:56ZHi !!
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 frameIván Cayón2013-01-28T12:37:56Zpost98819: Re: CANBUS EG20TMichael Kiselhttp://community.qnx.com/sf/go/post988192013-01-28T12:37:40Z2013-01-28T12:37:40ZGood 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.comMichael Kisel2013-01-28T12:37:40Zpost98815: Re: CANBUS EG20TMichael Kiselhttp://community.qnx.com/sf/go/post988152013-01-28T12:11:16Z2013-01-28T12:11:16Zyes, 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.comMichael Kisel2013-01-28T12:11:16Zpost98812: Re: CANBUS EG20TIván Cayónhttp://community.qnx.com/sf/go/post988122013-01-28T07:06:05Z2013-01-28T07:06:05ZHi !!
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,5Iván Cayón2013-01-28T07:06:05Zpost98811: Re: Crash when starting procntoThor Thayerhttp://community.qnx.com/sf/go/post988112013-01-26T00:08:26Z2013-01-26T00:08:26ZI'm seeing the same thing - crash in the same place.
Has there been a solution for this?
Thanks.Thor Thayer2013-01-26T00:08:26Zpost98802: Re: CANBUS EG20TMichael Kiselhttp://community.qnx.com/sf/go/post988022013-01-25T17:21:16Z2013-01-25T17:21:16Zthe 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.comMichael Kisel2013-01-25T17:21:16Zpost98799: Re: CANBUS EG20TIván Cayónhttp://community.qnx.com/sf/go/post987992013-01-25T17:01:56Z2013-01-25T17:01:56ZThanks 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ón2013-01-25T17:01:56Zpost98788: Re: CANBUS EG20TMichael Kiselhttp://community.qnx.com/sf/go/post987882013-01-25T13:42:41Z2013-01-25T13:42:41ZCANbus 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.comMichael Kisel2013-01-25T13:42:41Zpost98781: Re: Texas Instrument AM335 Beaglebone CAN DriverIván Cayónhttp://community.qnx.com/sf/go/post987812013-01-25T08:29:12Z2013-01-25T08:29:12ZHi !
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 youIván Cayón2013-01-25T08:29:12Zpost98780: CANBUS EG20TIván Cayónhttp://community.qnx.com/sf/go/post987802013-01-25T08:22:53Z2013-01-25T08:22:53ZHi !!
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?
ThanksIván Cayón2013-01-25T08:22:53Zpost98759: Re: BeagleBone GPIO UsageMark Wakimhttp://community.qnx.com/sf/go/post987592013-01-24T13:45:11Z2013-01-24T13:45:11ZA 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.comMark Wakim2013-01-24T13:45:11Zpost98756: Intel Topcliff I2C driverAndrey Kovalenkohttp://community.qnx.com/sf/go/post987562013-01-24T07:29:58Z2013-01-24T07:29:58ZHi 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 advanceAndrey Kovalenko2013-01-24T07:29:58Zpost98754: BeagleBone GPIO UsageSeyfettin Süngerhttp://community.qnx.com/sf/go/post987542013-01-24T00:24:00Z2013-01-24T00:24:00ZHi,
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ünger2013-01-24T00:24:00Zpost98691: Re: Kontron - topcliff : QNet locks up applications.Iván Cayónhttp://community.qnx.com/sf/go/post986912013-01-21T12:12:03Z2013-01-21T12:12:03ZExcuse 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 advanceIván Cayón2013-01-21T12:12:03Zpost98688: Re: Xilinx Zynq-7000Todd Petersonhttp://community.qnx.com/sf/go/post986882013-01-20T17:41:05Z2013-01-20T17:41:05ZNo 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 Peterson2013-01-20T17:41:05Zpost98687: zynq-7000, a platform of Xilinxxu kanfenghttp://community.qnx.com/sf/go/post986872013-01-20T14:11:00Z2013-01-20T14:11:00ZHas 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 kanfeng2013-01-20T14:11:00Zpost98686: Re: Xilinx Zynq-7000xu kanfenghttp://community.qnx.com/sf/go/post986862013-01-20T13:53:44Z2013-01-20T13:53:44ZHansong 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 kanfeng2013-01-20T13:53:44Zpost98667: Re: Kontron - topcliff : QNet locks up applications.Hugh Brownhttp://community.qnx.com/sf/go/post986672013-01-18T12:39:48Z2013-01-18T12:39:48ZOK, 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.comHugh Brown2013-01-18T12:39:48Zpost98666: Re: Kontron - topcliff : QNet locks up applications.Iván Cayónhttp://community.qnx.com/sf/go/post986662013-01-18T12:38:34Z2013-01-18T12:38:34ZThanks 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 muchIván Cayón2013-01-18T12:38:34Zpost98664: Re: Kontron - topcliff : QNet locks up applications.Hugh Brownhttp://community.qnx.com/sf/go/post986642013-01-18T12:36:00Z2013-01-18T12:36:00ZPlease 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.comHugh Brown2013-01-18T12:36:00Zpost98661: Re: Kontron - topcliff : QNet locks up applications.Iván Cayónhttp://community.qnx.com/sf/go/post986612013-01-18T11:11:58Z2013-01-18T11:11:58ZHi !
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
RegardsIván Cayón2013-01-18T11:11:58Zpost98630: Atmel AT91SAM9261-EK Board BSP Installation IssueSeyfettin Süngerhttp://community.qnx.com/sf/go/post986302013-01-17T08:37:47Z2013-01-17T08:37:47ZDear 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ünger2013-01-17T08:37:47Zpost98578: Re: Texas Instrument AM335 Beaglebone CAN DriverDaniel Wahlhttp://community.qnx.com/sf/go/post985782013-01-15T16:18:18Z2013-01-15T16:18:18ZHey 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,
- DanDaniel Wahl2013-01-15T16:18:18Zpost98555: Re: Texas Instrument AM335 Beaglebone CAN DriverGary Bissonhttp://community.qnx.com/sf/go/post985552013-01-14T21:41:48Z2013-01-14T21:41:48ZHi 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,
GaryGary Bisson2013-01-14T21:41:48Zpost98530: Re: Ethernet PING ProblemHugh Brownhttp://community.qnx.com/sf/go/post985302013-01-12T14:51:21Z2013-01-12T14:51:21ZGood 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.comHugh Brown2013-01-12T14:51:21Zpost98529: Re: Ethernet PING ProblemJagat Bhusanhttp://community.qnx.com/sf/go/post985292013-01-12T13:27:59Z2013-01-12T13:27:59ZHi,
I have updated the EEPROM contents and it is working fine.
Thank you very much for your support.Jagat Bhusan2013-01-12T13:27:59Zpost98514: Re: Ethernet PING ProblemJagat Bhusanhttp://community.qnx.com/sf/go/post985142013-01-11T14:01:59Z2013-01-11T14:01:59ZOK.
I will contact Intel for EEPROM contents,check it and let you know the status.
Thanks for your support.Jagat Bhusan2013-01-11T14:01:59Zpost98513: Re: Ethernet PING ProblemHugh Brownhttp://community.qnx.com/sf/go/post985132013-01-11T13:54:43Z2013-01-11T13:54:43ZI 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.comHugh Brown2013-01-11T13:54:43Zpost98512: Re: Ethernet PING ProblemJagat Bhusanhttp://community.qnx.com/sf/go/post985122013-01-11T13:43:16Z2013-01-11T13:43:16ZJust 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 Bhusan2013-01-11T13:43:16Zpost98511: Re: Ethernet PING ProblemHugh Brownhttp://community.qnx.com/sf/go/post985112013-01-11T13:18:57Z2013-01-11T13:18:57ZAFAIK, 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.comHugh Brown2013-01-11T13:18:57Zpost98509: Re: Ethernet PING ProblemJagat Bhusanhttp://community.qnx.com/sf/go/post985092013-01-11T12:53:44Z2013-01-11T12:53:44ZI 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 Bhusan2013-01-11T12:53:44Zpost98508: Re: Ethernet PING ProblemHugh Brownhttp://community.qnx.com/sf/go/post985082013-01-11T12:31:48Z2013-01-11T12:31:48ZWell 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.comHugh Brown2013-01-11T12:31:48Zpost98504: Re: Ethernet PING ProblemJagat Bhusanhttp://community.qnx.com/sf/go/post985042013-01-11T07:08:27Z2013-01-11T07:08:27ZHerewith I have attached the sloginfo file for your reference.Jagat Bhusan2013-01-11T07:08:27Zpost98455: Re: Ethernet PING ProblemHugh Brownhttp://community.qnx.com/sf/go/post984552013-01-09T15:47:03Z2013-01-09T15:47:03ZPlease 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.comHugh Brown2013-01-09T15:47:03Zpost98450: Re: Ethernet PING ProblemJagat Bhusanhttp://community.qnx.com/sf/go/post984502013-01-09T04:39:40Z2013-01-09T04:39:40ZOK. 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 Bhusan2013-01-09T04:39:40Zpost98447: Re: Support for Vortex86SX ?Dennis Kelllyhttp://community.qnx.com/sf/go/post984472013-01-08T22:15:58Z2013-01-08T22:15:58ZYou 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.generalDennis Kellly2013-01-08T22:15:58Zpost98446: Re: Support for Vortex86SX ?Herman Gnuechtelhttp://community.qnx.com/sf/go/post984462013-01-08T22:09:58Z2013-01-08T22:09:58ZIs/has anyone attempted to run Q4.25 (2011 Release) with the Vortex86SX processor and make the embeded LAN adapterHerman Gnuechtel2013-01-08T22:09:58Zpost98435: Re: Ethernet PING ProblemHugh Brownhttp://community.qnx.com/sf/go/post984352013-01-08T13:11:26Z2013-01-08T13:11:26ZThat 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.comHugh Brown2013-01-08T13:11:26Zpost98432: Re: OpenVG flash player on i.MX35 3DSLi Gaofenghttp://community.qnx.com/sf/go/post984322013-01-08T08:31:51Z2013-01-08T08:31:51ZI'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.comLi Gaofeng2013-01-08T08:31:51Zpost98430: Re: Long startup time booting from nand using AM335x EVM boardzhang zhiweihttp://community.qnx.com/sf/go/post984302013-01-08T05:44:07Z2013-01-08T05:44:07Zhello!
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 zhiwei2013-01-08T05:44:07Zpost98429: Re: Ethernet PING ProblemJagat Bhusanhttp://community.qnx.com/sf/go/post984292013-01-08T04:59:57Z2013-01-08T04:59:57ZYes, 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 Bhusan2013-01-08T04:59:57Z