Project

General

Profile

Activity

From 06/04/2011 to 07/03/2011

07/03/2011

MW 01:36 PM Software Development: RE: mtdblock kernel crash
Oh, if you need an /dev/mtdx device, you need to enable in the kernel:
CONFIG_MTD_CHAR
Should be in the device drivers->MTD config page.
Never had the chance to use mdev, but the device should be major 90, minor is 2x the device...
Michael Williamson
MW 01:31 PM Software Development: RE: mtdblock kernel crash
Hi Zoltan,
Well, for the SPI issue, I have some information for you along with couple of work-arounds. Feel free to skip to the bottom for those if you like. Please note that there will also be some additional patches to the davinci...
Michael Williamson

07/02/2011

CM 11:05 AM Software Development: RE: Eval Board will not boot
I tried re-seating the module several times with no success. Got same results with another kit's cables so I think cables are ok. Checked continuity of serial connector pins from socket on front thru holes to back of board and they all c... Craig Meyers

07/01/2011

MW 01:08 PM Software Development: RE: Eval Board will not boot
Hi Craig,
Other than trying to re-seat the module and the serial port cables in their respective connectors, I don't have any other suggestions. If the board is not presenting the "BOOTME" description, then there must be hardware fa...
Michael Williamson
CM 11:50 AM Software Development: RE: Eval Board will not boot
Did as instructed but did not see BOOTME on console.
Board serial # is 110251.
Craig Meyers
MW 11:39 AM Software Development: RE: Eval Board will not boot
Hi Craig,
Can you please monitor the console (115200 baud, no flow control) and, while holding the boot button down, press the reset button? You should see "BOOTME" appear on the screen. Can you please confirm?
Also, can you plea...
Michael Williamson
CM 11:26 AM Software Development: Eval Board will not boot
Purchased 3 kits 80-000268RI-1 with SoM L138-FI-225-RC. One kit does not boot when power is applied. Green LED does light to indicate power. Monitoring serial port in hyperterminal same as we did for the other two kits that boot fine. Fo... Craig Meyers
GG 10:12 AM Software Development: RE: HelloWorldDSP.out syntax error
Hi Marc,
Before you run the application, run the command:
Gregory Gluszek
ML 10:10 AM Software Development: RE: HelloWorldDSP.out syntax error
Greg,
Is there anywhere in the wiki that explains how to set up the dsplink driver on the ARM? When I run ./HelloWorld HelloWorldDSP.out it fails to open the driver, which should be located in /dev/dsplink according to the error I ge...
Marc Lichtman
GG 09:44 AM Software Development: RE: HelloWorldDSP.out syntax error
Hi Marc,
With the latest MDK there is no need to rebuild DSPLink. I've updated the DSP Hello World wiki page to outline where the libraries are located that you need to link against in order to build the Hello World example for the AR...
Gregory Gluszek
ML 09:13 AM Software Development: RE: HelloWorldDSP.out syntax error
I would prefer not to rebuild DSPLink. Is there somewhere I can find the HelloWorldDSP executable?
-Marc
Marc Lichtman

06/30/2011

TC 05:34 PM Software Development: RE: Industrial board USB mini-B connector problem
Hi Zoltan -
You are correct. Thank you for pointing this out!
This fix will go into the next build of boards. I apologize for any inconvenience.
Thanks,
Tom
Thomas Catalino
ZC 04:33 PM Software Development: Industrial board USB mini-B connector problem
Hi,
Sorry I post my problem here, but there is no forum for the industrial board.
We had issues with some USB devices using the mini-B USB connector, and it seems the pin-out is wrong, and the ID (pin4) and GND (pin5) is swapped.
...
Zoltan Csizmadia
GG 02:32 PM Software Development: RE: HelloWorldARM DSPLINK example causes Assertion failed
Hi Mads,
I'm not seeing this same behavior on my system. Can you give me more details? It seems you're running with the latest MDK, but did you change anything else on your board? Namely, what dsplinkk.ko module are you loading (the o...
Gregory Gluszek
MC 07:21 AM Software Development: RE: HelloWorldARM DSPLINK example causes Assertion failed
Should probably note that we are using the OMAPL138 module. Mads Lind Christiansen
MC 07:20 AM Software Development: HelloWorldARM DSPLINK example causes Assertion failed
Hi
When the HelloWorldARM (DSPLINK) example applications runs lpDspApp->StopApp() I get the following error:
Assertion failed (ipsEventList [i].eventHandlerCount == 0). File : /home/mitydsp/MDK_2011-03-31/sw/3rdparty/dsplink_linux_...
Mads Lind Christiansen
GG 02:16 PM Software Development: RE: HelloWorldDSP.out syntax error
Hi Marc,
With the latest MDK you should not actually need to rebuild DSPLink (I'm updating the DSP Hello World wiki to reflect this now).
The kernel object for dspplink is located at MDK_2011-03-31/images/modules/dsplinkk.ko and t...
Gregory Gluszek
ML 01:39 PM Software Development: RE: HelloWorldDSP.out syntax error
Oh ok, that clears up my confusion on how the DSP actually gets loaded with the executable. I dident realize HelloWorldDSP was an ARM executable, because I was stuck in the linux section of the guide where it asks you to
•Build DSPL...
Marc Lichtman
MW 01:18 PM Software Development: RE: HelloWorldDSP.out syntax error
Hi Marc,
The HelloWorldDSP.out is a DSP executable. It must be loaded by an ARM executable that uses the DSPLINK interface. The wiki instructions call for:
Michael Williamson
ML 01:14 PM Software Development: HelloWorldDSP.out syntax error
Hi,
I'm to the very last step of the DSP Hello World guide, but when I run ./HelloWorldDSP.out on the board, it gives me the error
./HelloWorldDSP.out: line 2: syntax error: "|" unexpected
I followed the guide for setting up CCS...
Marc Lichtman
ZC 12:37 PM Software Development: RE: mtdblock kernel crash
Mike,
I'm good with my version, and I'm not in a hurry to upgrade my kernel.
Btw I'm using mitydspl138 with the industrial base board (revD) (if it matters)
Thanks again for your help!
Zoltan
Zoltan Csizmadia
MW 12:28 PM Software Development: RE: mtdblock kernel crash
Hi Zoltan,
We've confirmed the SPI issue and are working on it. There were a couple of patches to the (linus) mainline regarding the SPI drivers that may be impacting your use case (there was a problem with 65535 or more byte accesse...
Michael Williamson
ZC 12:18 PM Software Development: RE: mtdblock kernel crash
Mike,
Here is some extra information:
1. SPI flash engine got broken on 4/23. 4/23 0:00 revision was ok, 4/24 0:00 kernel crash. (probably with the new spi engine)
2. The NAND mtdblock got broken on 3/21 (with the 8/16 bit chang...
Zoltan Csizmadia
ZC 10:02 AM Software Development: RE: mtdblock kernel crash
I have the mtdblock0 write problem (read is ok), and I have the SPI crash when writing mtdblocks on the SPI flash (read is ok)
I put it in one post because both are mtdblock related
I have no code running in the DSP, or any module ...
Zoltan Csizmadia

06/29/2011

MW 08:34 PM Software Development: RE: mtdblock kernel crash
Oh, one other question....
Do you have anything running on the DSP while this is going on? Or is it still in IDLE / RESET?
Michael Williamson
MW 08:32 PM Software Development: RE: mtdblock kernel crash
1. OK.
2. Fair enough, didn't catch that originally.
3. Sure, I'll get you something tomorrow.
Couple more questions, if you don't mind....
Do you happen to know what git revision you were using when life was good? Do you ha...
Michael Williamson
ZC 07:20 PM Software Development: RE: mtdblock kernel crash
Thanks for the quick response!
1. Toolchain:
gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50)
2. Root FS is in ram (NOT mtdblock0):
Kernel command line: mem=48M console=ttyS1,115200n8 root=/dev/ram0 rw initrd=0xc1180000,16M
3....
Zoltan Csizmadia
MW 06:37 PM Software Development: RE: mtdblock kernel crash
Can you try the same command without mounting /dev/mtdblock0 as the rootfs? (e.g., stay in your ram initrd filesystem)
It's a little weird that you're trolling around /dev/mtdblock0 NAND if you have it mounted as your root filesystem....
Michael Williamson
ZC 06:34 PM Software Development: RE: mtdblock kernel crash
Mike,
It was a clean copy. I've made changes only to make it buildable from Windows (Cygwin). But those changes were made for my previous kernel revision.
Btw "hexdump -C -n 64 /dev/mtdblock1" works fine.
Zoltan
Zoltan Csizmadia
MW 06:19 PM Software Development: RE: mtdblock kernel crash
Hi Zoltan,
We'll need to try to reproduce this here. It may take a day to get to it.
When you rebuilt, did you do a make clean first? Or did you pull a clean copy of the kernel down?
-Mike
Michael Williamson
ZC 05:35 PM Software Development: RE: mtdblock kernel crash
This is what I did to crash the kernel:
2. echo Test > /dev/mtdblock9
Zoltan Csizmadia
ZC 05:34 PM Software Development: mtdblock kernel crash
Hi,
I've got the latest linux kernel image, defconfig'd it, enabled SPI flashes, and nuilt the kernel.
1. If I access mtdblock0 (e.g. "hexdump -C -n 64 /dev/mtdblock0", gives me the following errors:
end_request: I/O error, dev ...
Zoltan Csizmadia

06/28/2011

GG 05:00 PM Software Development: RE: Where can I get the files listed on the DSPLink Hello World wiki?
Hi Marc,
I just sent you the additional files you need. Let us know if you run into any further issues.
Thanks,
\Greg
Gregory Gluszek
ML 10:48 AM Software Development: RE: Where can I get the files listed on the DSPLink Hello World wiki?
Hi,
I am also having trouble finding the prerequisite files for the PC side (dsp_main.cpp, dspcore.lib, ect). I downloaded the latest tarball release but couldent find any of them in it.
-Marc
Marc Lichtman

06/13/2011

RG 05:21 PM FPGA Development: RE: FPGA configuration
Hi Mike,
FYI, I just had a chance to try a bad configuration file, and the INIT pin was indeed low after programming.
Thanks,
Rob
Rob Gillis

06/06/2011

GG 10:35 AM Software Development: RE: Where can I get the files listed on the DSPLink Hello World wiki?
Hi Mads,
Most of the files you need are in the latest tarball release. I've sent you the remaining files, which will be added as a part of our next release.
Let us know if you have any further issues.
\Greg
Gregory Gluszek
MC 07:14 AM Software Development: RE: Where can I get the files listed on the DSPLink Hello World wiki?
Hi
I am also looking for these files...
Could you email me them too?

Many thanks,
Mads
Mads Lind Christiansen
 

Also available in: Atom