Activity
From 10/26/2011 to 11/24/2011
11/21/2011
- MW 12:50 PM Software Development: RE: use of stl vector class on DSP side of OMAP-L138
- 6.1.9 is *really* old, Rich. Last time I checked, we are using at least 6.1.19 here. You might consider checking the release notes on the newer builds and see if any STL stuff is mentioned. I believe STL was "new" feature in 6.1.
... - RB 12:21 PM Software Development: RE: use of stl vector class on DSP side of OMAP-L138
- Hi Mike,
At the moment I'm using the 6.1.9 toolchain hosted on the PC side through CC v3.3
I'm primarily vectoring intrinsic types but there are a few places where I'm
vectoring something like:
vector< complex<float> >Foo(Some... - MW 12:03 PM Software Development: RE: use of stl vector class on DSP side of OMAP-L138
- Hi Richard,
What version of the code gen tools are you using? If it's an older chain, TI may have already found/fixed it. You might cross post this on "TI's E2E Site":http://e2e.ti.com as well.
We have used the std::vector clas...
Has anyone used the standard template library vector class on the DSP side of the OMAP-L138?
I have a large memory intensive algorithm that is being adapted from a corresponding MATLAB
program and up til now have been using STL vec...
11/15/2011
- MW 11:18 AM Software Development: RE: DSPLink kernel driver
- Are you passing the CROSS_COMPILE=arm-angstrom-linux-gnueabi- declaration to the make as well?
-Mike
- AH 10:11 AM Software Development: RE: DSPLink kernel driver
- Hi,
I have just rebuilt the kernel module, and I have just spotted that the build issues a warning:
Building kernel side code using kbuild
make PROFILE=RELEASE -C /home/mitydsp/MDK_current/sw/ARM/linux/linux-davinci SUBDIRS=/home... - MW 08:33 AM Software Development: RE: DSPLink kernel driver
- Hmm...
Are you using the same build of the kernel (e.g., the same .config file) as the one that is running?
Did you use the same toolchain for both builds?
I haven't seen this particular issue. Can you post your .config file th... - Hi,
I have built dsplinkk.ko using the instructions on the wiki. Modinfo reports:
modinfo dsplinkk.ko
filename: dsplinkk.ko
license: GPL v2
depends:
vermagic: 2.6.34-rc1-00093-g3e8f54f-dirty preemp...
11/11/2011
- AH 04:13 AM Software Development: RE: Kernel Hang
- Hi,
That did it !
I now have a working kernel, that I have built. Onward now to getting the DSP stuff to work :)
Many thanks,
Andrew
11/10/2011
- MW 11:23 AM Software Development: RE: L138 UART and DSP
- Hi Andrew,
With the MityDSP-L138F, you have two options for UARTs: you can use one of the three UARTS provided on the OMAP-L138 processor, or you can use one or more UART cores (made available by Critical Link) instantiated in the FP... - Hi,
For the project that I am currently engaged in we have a remote ADC device that feeds data down a fibre optic link into a UART.
I want the UART to be read by the DSP which will then perform a variety of manipulations and calc... - MW 10:14 AM Software Development: RE: Kernel Hang
- Note the change to the _defconfig file, BTW. (industrialio_defconfig, not mityomapl138_defconfig).
- MW 10:02 AM Software Development: RE: Kernel Hang
- Ok,
Sorry guys. I need to update the instructions on that page. The devel branch is no longer maintained, and you should always reference new work off of the master. The proper instructions, for the Industrial I/O board, should be ... - AH 10:02 AM Software Development: RE: Kernel Hang
- Hi,
I built the kernel as per the instructions here: http://support.criticallink.com/redmine/projects/arm9-platforms/wiki/Linux_Kernel
I have made no local changes, I can't get the vanilla one to work :)
.config attached - TC 09:58 AM Software Development: RE: Kernel Hang
- Mike -
Andrew provided this information to me prior to posting on the forum:
I built a kernel, following the instructions at http://support.criticallink.com/redmine/projects/arm9-platforms/wiki/Installing_Open_Embedded
With ... - MW 09:48 AM Software Development: RE: Kernel Hang
- Hi Andrew,
Can you please identify where you got the kernel (is it from support.criticallink.com, arago, the TI PSP, or mainline?) and what commit point you are working with? You might also want to include the .config file so that we ... - Hi,
I have a MityDSPL138 in the industrial IO board. I have built a new kernel, (2.6.34-rc1) It hangs when I try to boot.
I can boot the board from another copy of the kernel, both from flash & by tftp
Here are the u-boot set...
11/04/2011
- DK 02:12 PM Software Development: RE: Kernel Hang Anomaly
- Mike,
The new boards boot with the 2011-08-01 uImage. I still need to check if this image is backwards compatible with the older MityDSP boards.
Thanks,
Dave
11/03/2011
- MW 11:16 AM Software Development: RE: Kernel Hang Anomaly
- Hi Dave,
I think you might want to use the uImage located in the release_2011-08-01.run file under MDK_2011-08-01/images/uImage. There are several bug fixes from the May 2010 release that may be causing the hang.
If that doesn't h...
11/02/2011
- DK 11:32 AM Software Development: RE: Kernel Hang Anomaly
- Mike,
Thanks for your fast response. The requested information is listed below.
Dave
>>>>>>>>>>>>>> 1. Complete Boot Sequence <<<<<<<<<<<<<<
OMAP-L138/AM-1808/AM-1810 initialization passed!
Configuring 128MB mDDR
... - MW 07:27 AM Software Development: RE: Kernel Hang Anomaly
- Hi Dave,
Can you please post the complete text of the boot attempt, from the start of power up to the hang?
Also, can you please type "factoryconfig" as well as "config" and dump the results from u-Boot?
Thanks.
-Mike
11/01/2011
- TC 08:51 PM Software Development: RE: Kernel Hang Anomaly
- Hi David -
I'll let the technical team address the hang. But just wanted to let you know that modules are shipped without a kernel or file system installed. This is a customer configuration step since our customers run a variety of o... - We recently received MityDSP boards containing u-boot but don't have Linux installed. Note that MityDSP product configuration varies since Linux was installed in previous shipments. I attempted to install the following components on se...
10/28/2011
- MC 04:59 PM Software Development: RE: Is there an Embedded Linux USB-Serial device driver in the kernel?
- The Serial Gadget device is exactly what I am trying to do. thanks for the link, I will post how this goes.
Mike - MW 10:57 AM PCB Development: RE: Adding a SPI peripheral through J700 on industrialIO board
- My take on that is the same. I'll need to check as to why those signals were brought to both connectors. I'll double check the layout for you and get back.
-Mike - MC 10:45 AM PCB Development: RE: Adding a SPI peripheral through J700 on industrialIO board
- OK great, thanks. I will start another thread if I have any problems configuring the software. The schematic I have lists GP0_5, GP0_13, GP0_15 and GP0_6 all on J700. but I noticed they are all on J701 also, just checking that this is ...
- MW 10:05 AM PCB Development: RE: Adding a SPI peripheral through J700 on industrialIO board
- The GP0[] nets on J700 should also be usable for chip selects.
-Mike
- MW 10:04 AM PCB Development: RE: Adding a SPI peripheral through J700 on industrialIO board
- Hi Mike,
The SPI drivers support using a regular OMAP GPIO for a chip select to gang up multiple devices on a SPI bus, so you could use one of the OMAP_GP0[X] signals brought out to J701 as an alternate chip select. If you look at th... - Hi,
We are designing a underboard that will have additional peripherals attached to the industrialio board through the J700 pins. We are using a mitydspl138f module. I was hoping to use SPI1 with CS0 on J700, but I just noticed tha...
10/27/2011
- GG 05:40 PM Software Development: RE: L138F UART2 in Linux
- Just as an FYI (to possibly save you time in the future) linux-davinci/arch/arm/mach-davinci/da850.c has a number of pin groupings already defined.
So you could have enabled UART2 by just adding the following line to baseboard_init(): - MC 05:25 PM Software Development: RE: L138F UART2 in Linux
- Sorry scratch that last question.. I will do it in my C++ app settings.
- MC 05:22 PM Software Development: RE: L138F UART2 in Linux
- Dominic & Mike,
Thanks for all your help BTW.
Where can I configure the baud rates if the TAG structures are not used anymore? - MC 04:55 PM Software Development: RE: L138F UART2 in Linux
- ah that solves the mystery of no output .o files. I finally got the UART2 working using the baseboard-industrialio.c file. i added these lines of code (in case anyone else needs them)
- DG 04:20 PM Software Development: RE: L138F UART2 in Linux
- Mike,
If you build menuconfig (make menuconfig) and navigate -> System Type -> TI DaVinci Implementations -> Select Baseboard you will see a list of baseboards. These options set a variable in your kernel .config that causes the build... - MC 04:08 PM Software Development: RE: L138F UART2 in Linux
- Darn, I confused myself in hopes that I found a solution!
so how do I know which baseboard-xxx.c file is being compiled in? some files call out the I2C some call out the UART. But none have an output .o file after I build the kernel... - MW 03:50 PM Software Development: RE: L138F UART2 in Linux
- Hmmm...
Those aren't "default values", those are the values that the register will be programmed to if you add DA850_UART2_RXD to a call to da8xx_pinmux_setup() list.
I am looking at section 11.5.10 of the OMAP-L138 Technical Resou... - MC 03:39 PM Software Development: RE: L138F UART2 in Linux
- I found these lines in da850.c
according to this line the default value for those pins is 2, which means they are set to the I2C peripheral
MUX_CFG(DA850, UART2_RXD, 4, 16, 15, 2, false)
MUX_CFG(DA850, UART2_TXD, 4, 20, 15, 2, fal... - MC 01:36 PM Software Development: RE: L138F UART2 in Linux
- Hi Mike,
I looked into baseboard-hrsc.c and DA850_UART2_TXD is listed in the array. wouldn't this mean the pin-mux for those pins are configured for the UART2?
Also if I don't see .o files are these .c files being compiled? Do I ne... - MW 07:33 AM Software Development: RE: L138F UART2 in Linux
- Hi Mike,
You don't want to change the name of the MACHINE_START macro name. Put it back, otherwise the unit will not use any of the initialization code (if you google that MACHINE_START macro, you'll see why).
The UART config stuf... - MW 08:47 AM Software Development: RE: Is there an Embedded Linux USB-Serial device driver in the kernel?
- If you are interested in making the USB 2.0 port look like a virtual serial port, here is more information about the Serial Gadget device (you'll need to reconfigure your kernel to get this going).
http://www.mjmwired.net/kernel/Docum... - MW 07:16 AM Software Development: RE: Is there an Embedded Linux USB-Serial device driver in the kernel?
- If you have the USB1.1 port hooked up (it is on the Industrial I/O profibus card, it's the a USB-A host connector), you can use pretty much any off the shelf USB to serial converter such as a Keyspan. If you have the drivers configured ...
10/26/2011
- MC 05:32 PM Software Development: RE: L138F UART2 in Linux
- Hi Mike,
I tried changing the enable field for UART2 in board-mityomapl138.c but I don't think there is any effect. - MC 03:27 PM Software Development: RE: L138F UART2 in Linux
- Hi Mike,
I see an option in board-mityomapl138.c to enable UART2 and will give that a shot.
It seems that there are setup files that are basic to the OMAP but there is an additional layer that CriticalLink brings into the picture.... - MC 03:24 PM PCB Development: RE: PROFIBUS Dev Kit RS485 on J504
- OK, thanks for confirming Tom
- TC 10:24 AM PCB Development: RE: PROFIBUS Dev Kit RS485 on J504
- Hi Mike -
You are correct, thank you for pointing this out. The table in the data sheet is from an older revision to the board before we moved the line drivers to an external, panel mounted (and currently customer supplied).
We w...