Activity
From 06/27/2010 to 07/26/2010
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...
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... - 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... - 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... - 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... - RB 03:22 PM Software Development: RE: dsplink debugging issue
- Good idea. I'll see what I can find out.
-rb - 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
- 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... - 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...
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...- 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...
07/22/2010
- 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?
- 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 ... - RB 10:39 AM Software Development: RE: Help with Debugging inside Eclipse
- HI Mike,
That was a typo, should have been gdbserver. Thanks!
Rich
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... - 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...
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...
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. - 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 ... - 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 ... - 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... - 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...
07/19/2010
- MW 09:02 PM Software Development: RE: wiki issue 3
- Thanks Dennis. I updated the wiki.
-Mike
- 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. - 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...
07/16/2010
- 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...
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... - RB 04:16 PM Software Development: RE: VirtualBox questions
- Thanks Mike,
That did the trick. Should have remembered from similar issue with vmware.
-Rich
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... - 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... - OS 05:04 PM Software Development: RE: Software development process
- Thanks!
That helps a lot...
Otmar
- 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...- MW 03:42 PM Software Development: RE: wiki issue 2
- You're of course correct. I've updated the instructions.
- 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.
- 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...
- DV 03:12 PM Software Development: RE: ethernet failure
- Any hint on the "pre-compiled Kernel tested..."?
07/13/2010
- 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... - 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.
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...
- 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... - 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...
- MW 06:54 PM Software Development: RE: wiki issue
- Thanks. The links should be fixed now.
- 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.
- 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.
- MW 03:08 PM Software Development: RE: git issues
- Hi Dennis,
try: - 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 ...
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.
- 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... - 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... - You have the CLUB facility for downloading from Windows.
What facility do you have for downloading from Ubuntu
command line/
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... - 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 - 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.... - 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 - 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... - 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...