Project

General

Profile

Activity

From 06/29/2010 to 07/28/2010

07/28/2010

MW 09:00 AM Software Development: RE: Kernel documentation
Hi Dennis,
It doesn't look like there is a uPP driver for the linux / ARM side available from TI at the moment. They do have drivers for DSP/BIOS, which might work if you wanted to use the DSP core of the OMAP-L138. It may not be to...
Michael Williamson

07/27/2010

DV 07:56 PM Software Development: RE: Kernel documentation
Wading through the kernel I haven't spotted a uPP module, will I need to write a module for that also. Dennis Volper
DV 05:53 PM Software Development: RE: kernel fetch problems
IGNORE PREVIOUS MESSAGE, my fault. One of our servers blew a power supply and I manage to skip the make mightyomap instruction in the fire drill. Kernel compiles fine if you follow ALL the instructions. Dennis Volper
DV 05:40 PM Software Development: RE: kernel fetch problems
Ran the make's using the existing .config (make menuconfig, make uImage plus environment fluff).
Hit a problem with the kernel compile.
drivers/mfd/twl-core.c:41:24: error: plat/board.h: No such file or directory
Might not be the .c...
Dennis Volper
DV 05:16 PM Software Development: RE: kernel fetch problems
Got it. Compiling the kernel now. Looks good! Thanks. Dennis Volper
TI 03:59 PM Software Development: RE: kernel fetch problems
I put a gzip'd tarball of the our current linux kernel tree in the files section.
commit 2e70fb60c2ace830e0b7170240aa85f38d4ccce4
Author: Michael Williamson <michael.williamson@criticallink.com>
Date: Fri Jun 25 13:25:35 2010 -0400
...
Tim Iskander

07/26/2010

DV 07:36 PM Software Development: RE: kernel fetch problems
I'm going to need a tgz that I can ftp. We got the clone to "work", to an off-site machine, but the git unpack-objects gave us premature EOF errors. I'm doing the kernel on a native Ubuntu 10.04 box so any form of tar file with the kerne... Dennis Volper

07/23/2010

RB 07:14 PM Software Development: RE: dsplink debugging issue
Hi Mike,
Just before I hit the call to pthread_create, I added a breakpoint at the entry point of the new thread and also a break point right after the call to pthread_create. Then, when I hit resume, the breakpoint inside the new threa...
Rich Bagdazian
RB 06:39 PM Software Development: RE: dsplink debugging issue
Hi Mike,
I'm using the gdbserver that I built since my company has me behind a firewall and won't recognize the mityOmap as an authorized machine. :-(
Anyway, I didn't see anything related to multiple threads in Eclipse and how to sw...
Rich Bagdazian
MW 04:55 PM Software Development: RE: dsplink debugging issue
Rich,
Are you using the gdbserver that you built or the one from opkg? You should be able to do thread level debugging. I'll see if I can reproduce. Keep in mind on the eclipse context that multiple threads can be running, and if y...
Michael Williamson
RB 04:07 PM Software Development: RE: dsplink debugging issue
Hi Mike
I think I have a handle on what's going on.
The system seems to go into limbo immediately after a call to pthread_create() inside a function called _NOTIFY_Init in _notify.c module, which is part of the dsplink library. It se...
Rich Bagdazian
RB 03:22 PM Software Development: RE: dsplink debugging issue
Good idea. I'll see what I can find out.
-rb
Rich Bagdazian
MW 03:12 PM Software Development: RE: dsplink debugging issue
You might try to compile the dsplink libraries in debug mode and then step into the PROC_attach and see what's going on. If I get a chance I'll try it here as well.
-Mike
Michael Williamson
RB 03:03 PM Software Development: RE: dsplink debugging issue
Hi Mike,
The app is the "message" sample app provided by TI in their dsplink release. It runs to completion normally when executed outside of the debugger and communication between the ARM and DSP appears to be working correctly based...
Rich Bagdazian
MW 02:18 PM Software Development: RE: dsplink debugging issue
If you let the application run in the absence of using the debugger, does PROC_attach return a value, or does it hang on the attach?
I thought that with DSP link, there is a handshake that must happen between the DSP and the ARM bef...
Michael Williamson
RB 12:26 PM Software Development: dsplink debugging issue

I am currently running the dsplink message app on the mityOmap processor (OMAPL138)
The message app works exactly as desired when invoked from the linux command line.
When using gdbserver and eclipse to perform arm side debugging...
Rich Bagdazian
MW 02:23 PM Software Development: RE: Kernel documentation
Hi Dennis,
If you are trying to use the EMIFA on one of the chip select spaces for the FPGA with custom FPGA code, you will need to write a kernel module driver to provide access to the physical memory in linux. There is a "pretty go...
Michael Williamson

07/22/2010

DV 09:39 PM Software Development: Kernel documentation
I need to write to the emfia and read from the uPP. Is there documentation on the interfaces other than wading through the kernel source? Dennis Volper
RB 05:33 PM Software Development: RE: Help with Debugging inside Eclipse
Hi Mike,
It turns out I got the i86 and mityOmap binaries confused during the build process and was trying to run the omap binary from Eclipse which is why it wasn't too happy. I can step through code now in my simple hello world app ...
Rich Bagdazian
RB 10:39 AM Software Development: RE: Help with Debugging inside Eclipse
HI Mike,
That was a typo, should have been gdbserver. Thanks!
Rich
Rich Bagdazian

07/21/2010

MW 08:57 PM Software Development: RE: Help with Debugging inside Eclipse
Hi Rich,
I added a couple of notes to the [[Debugging_ARM_Apps_with_Eclipse]] tonight. We have been using gdbserver here (I'm not familiar with gdbugger) with success. I will try to get some screen shots of the eclipse configuration...
Michael Williamson
RB 06:56 PM Software Development: Help with Debugging inside Eclipse
I could use some assistance in configuring my Eclipse environment in VirtualBox to properly perform remote debugging to my target MityOmap. I am able to cross-compile and run the application (a simple hello world program) on the target a... Rich Bagdazian
RB 02:51 PM Software Development: Memory map and DSPLINK

I've put together some information which may be of help to others planning to use DSPLINK to support interprocessor communication on the MityOmap/MityDSP platform.
From the perspective of the DSP which addresses memory in an absolut...
Rich Bagdazian

07/20/2010

DV 08:32 PM Software Development: RE: ethernet failure
The new uboot worked. Problem solved. I can now scp a program onto the board
and run it.
Dennis Volper
TI 07:18 AM Software Development: RE: ethernet failure
Dennis,
Sounds like you need up update the uboot image on that board. I think you got that one before the others and there were some changes
made to uboot for this issue. You will want to run
factoryconfig
and record the mac address ...
Tim Iskander
MW 06:43 PM Software Development: RE: kernel fetch problems
Hi Dennis,
As you are aware the repository is quite large. At the moment, our server does appear to be a bit slow (we're looking into that, but don't have it fixed yet). Here are the quick/work-around options:
1) We could set up ...
Michael Williamson
DV 05:53 PM Software Development: kernel fetch problems
I've tried to git the kernel a good half-dozen times now using the (modified) command from the Wiki. Each attempt has begun:
Compressing objects: xxxxxx, done.
Receiving objects: x% (xxxx/yyyyy), z.zz Mib | aa KiB/s
The KiB numb...
Dennis Volper
RB 11:41 AM Software Development: RE: Integration of DSPLINK on arm side
Thanks Mike,
I decided to bite the bullet and attempt to rebuild dsplink according to the wiki guidelines and your notes. I was able to get everthing rebuilt with a minimum of fuss.
Next step is to get the shared memory layout to ref...
Rich Bagdazian

07/19/2010

MW 09:02 PM Software Development: RE: wiki issue 3
Thanks Dennis. I updated the wiki.
-Mike
Michael Williamson
DV 08:08 PM Software Development: wiki issue 3
Did a cut and paste from the wiki to get the kernel. It says:
git clone http://support.cri....
That doesn't work, but
git clone git://support.cri....
seems to work.
Dennis Volper
MW 08:56 PM Software Development: RE: Integration of DSPLINK on arm side
Rich,
I think the key thing will be to ensure that you are using the same BIOS settings (the .tci/.tcf file) as the DSPLink is configured for. Specifically, the load addresses / segments sizes are consistent between your builds. The...
Michael Williamson

07/16/2010

RB 06:14 PM Software Development: Integration of DSPLINK on arm side
I have successfully built and executed a hello world program on my target mityOmap using eclipse for the ide to do the build.
I would now like to integrate in the necessary changes to be able to use the DSPLINK library support functio...
Rich Bagdazian

07/15/2010

DV 09:04 PM Software Development: RE: ethernet failure
Got the 2nd and 3rd boards up and on the network with no problem. Still having trouble with the 1st board. What I see is:
DRAM: 64 MB
... other stuff matches
Resetting ethernet phy
Net: Ethernet PHY: GENERIC @ 0x03
...
U-Boot...
Dennis Volper
RB 04:16 PM Software Development: RE: VirtualBox questions
Thanks Mike,
That did the trick. Should have remembered from similar issue with vmware.
-Rich
Rich Bagdazian

07/14/2010

MW 05:52 PM Software Development: RE: VirtualBox questions
Hi Rich,
I'm going to link you to the "relavent section":http://www.virtualbox.org/manual/ch06.html on Oracle's VirtualBox website. Essentially, virtual box defaults to setting up a "virtual network" for your guest OS (Unbuntu in thi...
Michael Williamson
RB 04:47 PM Software Development: VirtualBox questions
I’m trying to get file sharing set up with my virtual box Ubuntu so I can pass files into the system from the Windows world. The following question may be related...
My Ubuntu is apparently getting an address from a DHCP server, but i...
Rich Bagdazian
OS 05:04 PM Software Development: RE: Software development process
Thanks!
That helps a lot...
Otmar
Otmar Schlunk
MW 03:52 PM Software Development: RE: Software development process

To put the executable on the MityDSP-L138:
* Connect an ethernet cable to the MityDSP-L138 / Industrial IO board. The ethernet cable should be connected to a network visible to your host build machine, and there should be a DHCP se...
Michael Williamson
MW 03:42 PM Software Development: RE: wiki issue 2
You're of course correct. I've updated the instructions. Michael Williamson
DV 01:33 PM Software Development: wiki issue 2
On the Wiki page "Linux Build Virtual Machine", the instructions "7. Setup u-Boot project" and "8. Setup linux kernel project" are identical. I think "8." needs to be fixed. Dennis Volper
MW 03:31 PM Software Development: RE: ethernet failure
I placed images of the precompiled "u-boot":http://support.criticallink.com/redmine/attachments/download/15/u-boot-ubl.bin and the "kernel":http://support.criticallink.com/redmine/attachments/download/16/uImage in the files section of th... Michael Williamson
DV 03:12 PM Software Development: RE: ethernet failure
Any hint on the "pre-compiled Kernel tested..."? Dennis Volper

07/13/2010

OS 07:01 PM Software Development: Software development process
I'm a software programmer who is kind of new to this whole embedded thing and I'm kind of lost in what the process I should be using is.
I've got Virtual Toolbox up and running and I think I can run the terminal app and run
/usr/loca...
Otmar Schlunk
MW 07:17 AM Software Development: RE: ethernet failure
I added a section called Installing the Kernel in the [[Linux_Kernel]] section of the Wiki. This covers flashing a newly built kernel into SPI-NOR flash.
Michael Williamson

07/12/2010

DV 09:25 PM Software Development: RE: ethernet failure
1) I don't mind the jffs2 being read/write, it means I can easily set the board up to NFS mount the machine we are compiling on just like I would on a disk based Linux box. Thanks for the warning, I'll just treat Flash the same way I tre... Dennis Volper
MW 08:39 PM Software Development: RE: ethernet failure
There are several items here. I can answer a couple of things but I will need to get more information to you tomorrow (including links to the pre-built u-boot and kernel images).
# The way the "stock" MityDSP-L138/F is shipped has th...
Michael Williamson
DV 07:45 PM Software Development: ethernet failure
Background: booted L138 board, ran ifconfig, got "Segmentation fault". Followed steps to reload jffs2 from dvd image from the "Linux Root File System" page (20100509 seems current from the links). ifconfig now works, but it produces an e... Dennis Volper
MW 06:54 PM Software Development: RE: wiki issue
Thanks. The links should be fixed now. Michael Williamson
DV 06:51 PM Software Development: wiki issue
At the bottom of "Linux Root File System" page are two links to jffs and tgz, both which give "404" if you try to follow them. Dennis Volper
DV 04:04 PM Software Development: RE: git issues
That's working. I don't see the difference between that and what I cut and pasted out of the wiki for my original try. Oh well. Dennis Volper
MW 03:08 PM Software Development: RE: git issues
Hi Dennis,
try:
Michael Williamson
DV 03:03 PM Software Development: git issues
The git commands given in the wiki are incorrect. The best I could guess was "git clone support.criticallink.com:/home/git/u-boot-mitydsp138.git". It asked me for the root password, don't have that so I tried adding an "dvolper@" and it ... Dennis Volper

07/08/2010

DV 09:01 PM Software Development: RE: Download
Took me a while...FYI be sure to tell anyone else 2 stop bits, my set up defaulted to 1. Dennis Volper
TC 08:25 PM Software Development: RE: Download
Dennis -
Just like to add that if all you need to do is download an application to the filesystem in NAND flash, and Linux is already up (on the target), there are a number of other options. These would include standard FTP (would ha...
Thomas Catalino
MW 07:53 PM Software Development: RE: Download
Hello,
The CLUB is not used for downloading to the MityDSP-L138F and/or MityARM-1808 processors. These processors utilize the das "U-Boot":http://www.denx.de/wiki/U-Boot/WebHome application running on an ARM core as the main bootload...
Michael Williamson
DV 04:41 PM Software Development: Download
You have the CLUB facility for downloading from Windows.
What facility do you have for downloading from Ubuntu
command line/
Dennis Volper

07/06/2010

MW 03:59 PM Software Development: RE: Link broken to jffs2 filesystem
FYI:
This should now be fixed. Registered users that weren't classified as "developers" weren't given access to file downloads by default. That has been changed, any user with a valid account should have access to file downloads. T...
Michael Williamson
UL 03:38 PM Software Development: RE: Link broken to jffs2 filesystem
Hi Mike,
The error that I get both on Linux and windows is:
*404
The page you were trying to access doesn't exist or has been removed*.
But I found the jffs2 file on the accompanying DVD...
Thanks
/Uffe
Uffe Lunddorf
MW 03:34 PM Software Development: RE: Link broken to jffs2 filesystem
Hi Mr. Lunddorf,
I just tried the link for the JFFS2, and it worked OK for me. Can you try any of the other files (perhaps the smaller overlay file) and see if they work or not? You may need to wait a while after clicking the link....
Michael Williamson
UL 03:23 PM Software Development: Link broken to jffs2 filesystem
Hi,
The link to download the jffs2 filesystem in the wiki seems to be broken. Can you confirm this and fix it?
Thanks
/Uffe Lunddorf
Uffe Lunddorf
TC 12:15 PM Software Development: RE: MityDSP GUI
Hi Uffe -
Thank you for your question.
The MityDSP GUI is compatible with the 6711 and 645x platforms from Critical Link.
The OMAP-L138 and AM1808 platforms should indeed be compatible with the SFH utility from TI. We are curr...
Thomas Catalino
UL 09:31 AM Software Development: MityDSP GUI
Hi,
Is the MityDSP GUI compatible with the L138 platform?
If so, can you provide a link to download it from?
If MityDSP GUI is unavailable, could you provide an example for downloading ubl, uboot and linux images via the SFH utili...
Uffe Lunddorf
 

Also available in: Atom