Project

General

Profile

Activity

From 04/28/2012 to 05/27/2012

05/25/2012

CK 07:45 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
Mike
I can't find what is causing these two error messages. Any help would be appreciated.
Also, I am no expert on the git system. I have download a new version of the kernel version 3.3.7.
If I use "git merge ../linux-3.3.7 mas...
Charles Kinney

05/24/2012

TI 01:33 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Flashing NAND from SD Card
Raja
The MTD partitions set up in the kernel are also the positions uboot expects
things to be in
Creating 8 MTD partitions on "omap2-nand.0":
[ 1.088561] 0x000000000000-0x000000020000 : "SPL"
[ 1.094898] 0x000000020000-0x0000000400...
Tim Iskander
RV 11:47 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Flashing NAND from SD Card
Hi,
I could load bootloader to NAND and my boot log is as below. Flashed MLO at 0x0 and u-boot.img at 0x40000. u-boot image size is more than 256KB which will be written beyond the address 0x80000.
which address to write environmen...
Raja Vankam
MW 10:23 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
Charlie,
A quick thing that could be a problem are these messages:
Michael Williamson
CK 10:14 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
Mike
I have been working on getting linux kernel version 3.3.0+, which I downloaded from linux-davinci, working on the MiyDSP-l138 board, both when mounted on the industrialio board and on our development board, on our board principal...
Charles Kinney

05/21/2012

RV 06:06 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Flashing NAND from SD Card
Hi Tim,
Do we have any answer on this.
I found one thing interesting from booting sequence of the board.
Below are the details on partitioning of NAND. Do we have to follow these adresses while flashing NAND? If so memory 0x260000...
Raja Vankam
MW 11:05 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Usage of I2C1 to connect external peripheral
The error you are seeing is from the I2C device not seeing the proper ACK response from the I2C slave device when it issues the request.
Can you get a scope on the I2C lines and set a trigger during either of the transactions above?
...
Michael Williamson
RV 10:57 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Usage of I2C1 to connect external peripheral
Hi Mike,
I am coming back to you after long time. we have created setup with the slave connected on mityarm.
Attaching application code for your reference.
#include<stdio.h>
#include<fcntl.h>
#include<unistd.h>
#include<sys/i...
Raja Vankam
GG 09:48 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Warning messages when running DSP Hello World
Hi François,
We've seen this issue before, but haven't been able to track it down yet. It seems to be benign, so I would not worry about it for now. I'll be sure to post any updates here if we find anything else out.
\Greg
Gregory Gluszek

05/19/2012

BB 10:40 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Downloading and Installing the Virtual Machine?
Thanks Mike! B.J. Buchalter
MW 06:56 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Downloading and Installing the Virtual Machine?
I think there is a link to the VM appliance, I'll try to get someone to post that for you.
There is a newer image, but it simply has the newer MDK images and toolchains installed as well as support for the MityARM-335X (Cortex-A8 prod...
Michael Williamson
BB 12:14 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: Downloading and Installing the Virtual Machine?
Hi Folks,
The Wiki says the current version of the VM appliance can be downloaded, but I can't find a download link. Does one exist?
I have the VM from the DVD that came with my board (dated Monday, April 11, 2011 9:10 AM). Is this...
B.J. Buchalter

05/18/2012

FT 02:26 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: Warning messages when running DSP Hello World
Hi,
I was able to walk-through the DSP_Hello_World tutorial. The test applications seems to run well until arm application ends. There are assertion messages printed at the end. It happends only when the arm application uses the relea...
François Tremblay
RV 12:14 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Flashing NAND from SD Card
Hi Tim,
I have flashed as mentioned above.
But even now u-boot prompt is not appearing after booting from NAND.
Log is mentioned below.
U-Boot SPL 2011.09-00000-g23e81b9-dirty (Feb 24 2012 - 11:15:23)
Texas Instruments Revision ...
Raja Vankam
TI 10:42 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Flashing NAND from SD Card
Raja
Your uboot image is 373252 bytes long
you are only erasing/writing 0x40000, which is 262144 (256k)
try erasing 0x80000 and use the command
U-Boot# nand write.i 0x82000000 0x40000 ${filesize}
to write it.
cheers
/Tim
Tim Iskander
RV 10:08 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Flashing NAND from SD Card
Hi Tim,
I have followed your instructions and flashed NAND with MLO at 0x20000 and u-boot.img at 0x40000. but the booting stops during NAND boot. Ihave updated the log for your reference. Could you please check on this what could be w...
Raja Vankam
CK 07:47 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
Mike
Thanks, that did the job.
The bad news is that 3.2.0 does not have KS8995 support. It seems that this only starts in 3.3.0
regards
Charlie
Charles Kinney
MW 06:22 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
I don't think your compiled correctly or uploaded the correct uImage to the machine.
The "Image Name: Linux-2.6.34-rc1-00098-ga450029-" suggests that your are still building off the master branch, and not the mitydsp-linux-v3.2 branch...
Michael Williamson
CK 04:34 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
Mike
I have downloaded the branch as above but when i compile i get the following:-
Image Name: Linux-2.6.34-rc1-00098-ga450029-
Created: Fri May 18 09:17:20 2012
Image Type: ARM Linux Kernel Image (uncompressed)
Data S...
Charles Kinney
CK 03:49 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
Mike
I have found a branch 'mitydsp-linux-v3.2', which I assume is the one you referred to, which I am downloading now. I will let you know how I get on with it.
regards
Charlie
Charles Kinney

05/17/2012

AB 09:54 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Connecting JTAG to Mityarm board
Raja,
Sorry about the delay but I did want to update the fact that I was able to have the debugger connect to my MityARM-3359 SoM through the 335x Development Kit from CCS5 using the XDS100v2 emulator.
Offhand I'm not sure which XI...
Alexander Block
TI 06:01 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Flashing NAND from SD Card
Raja
The uboot spl (MLO) loads from nand at 0x00040000...
nand_spl_load_image: loading 2048 bytes from *0x00040000* to 0x80800000
you wrote the image of u-boot to flash at 0x00080000
U-Boot# nand erase *0x80000* 0x40000
U-Boot# nan...
Tim Iskander
RV 04:52 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: Flashing NAND from SD Card
Hi,
1. I have tried flashing NAND through SD boot. I have followed the steps mentioned in AM335x u-boot users guide.
Files used are by default provided with the MityArm SD card.
Steps followed are:
U-Boot# mmc rescan
U-Boot# m...
Raja Vankam
CK 03:46 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
Mike
Thank you for your assistance. I would like to look at the version 3.2, so if you could let me know how to access it I would be obliged.
The switch on the dev board will be used initially to allow me to connect to our local ne...
Charles Kinney
MW 09:50 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
Hi Charlie,
I guess the first question is, "what do you want to do with the switch?". As I mentioned before, we have successfully implemented the KSZ8995 into at least one design here, and if you have all the ports mentioned above co...
Michael Williamson
CK 09:22 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
Mike
I am the customer who submitted this post. I had a problem with logging on which is why Tom posted this for me. Hopfully, I have now sorted this out.
I am new to Linux, so if the questions sound naive, then that is because I a...
Charles Kinney

05/16/2012

RV 05:42 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Connecting JTAG to Mityarm board
Hi Alex,
Thanks for your reply.
I will try with these files.
What are the sys-boot options i have to set while connecting to JTAG?
Thanks,
Raja.
Raja Vankam
AB 02:11 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Connecting JTAG to Mityarm board
Hello Raja,
Attached are both a gel file and a ccxml file that hopefully will get you going. The gel file has been used previously and should work for you with the MityARM-3359 SoM.
The ccxml file is setup for use with the XDS510 U...
Alexander Block
TC 01:21 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Connecting JTAG to Mityarm board
Hi Raja -
Sorry for the delay in getting back to you on this. We are working this now and will have an answer for you as soon as we can.
Thanks,
Tom
Thomas Catalino
RV 11:53 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Connecting JTAG to Mityarm board
Hi,
Do we have some inputs on this topic please?
Thanks,
Raja.
Raja Vankam
MW 02:42 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: MACHINE type for the MDK ...
MACH_TYPE_MITYOMAPL138, 2650 (decimal).
The machine type is registered and can be found in the autogerated machine information.
The board file is arch/arm/mach-davinci/board-mityomapl138.c.
I don't advise running our kernel on a...
Michael Williamson
TC 01:31 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: MACHINE type for the MDK ...
(posted on behalf of a customer)
The Linux which I installed is the latest available with MDK-2-12, version Angstrom v2012.03-core - Kernel 3.2.0. I am currently downloading and installing the version for a different board to get to k...
Thomas Catalino
MW 02:38 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
We have had customers successfully integrate both an KSZ8893MBL switch and the KSZ8895MAI switch with the MityDSP-L138.
Are you not able to send/receive packets from the OMAP-L138 to the switch?
Typically, these switches power up w...
Michael Williamson
TC 01:30 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: KSZ8995MA Ethernet Switch Support
(posted on behalf of a customer)
Have you, or do you know of anyone who has got a KSZ8995MA Ethernet Switch chip to work with the MityDSP-L138? The chip works fine as a switch but I want to get the Linux to recognise it. I will presum...
Thomas Catalino

05/15/2012

MW 08:40 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Starterware EMIFA to FPGA example code
Hi Emmet,
The processor will write or read the first (lower address) 16 bits first, followed by the upper 16 bits when configured in little endian mode.
We've been coding this way for a long time (since the TMS320C671x) and I thoug...
Michael Williamson

05/11/2012

RV 12:23 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Connecting JTAG to Mityarm board
Hi Mike,
Yes, I am connecting to MityARM-3359 and not on TI eval board.
So i want to know what .gel file i need to select while configuring?
Is my sysboot options are correct as configuring XIP or any other configuration require...
Raja Vankam
MW 10:43 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Connecting JTAG to Mityarm board
Hi Raja,
Were you successful when you tried connecting the JTAG to the TI eval board?
I am assuming you are connecting to a MityARM-3359?
-Mike
Michael Williamson
RV 10:23 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: Connecting JTAG to Mityarm board
Hi,
I have tried connecting JTAG XDS100V2 to the Mityarm evaluation board. Changed the boot options to give first boot option as XIP.
While configuring Code Composer CCS5.1 and target configuration section, which .gel file i need t...
Raja Vankam

05/09/2012

EB 04:22 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Starterware EMIFA to FPGA example code
Hi Mike,
In the case of 32 bit transfers as described above -
Can you tell me which 16-bit value is transferred first?
I need to make VHDL to pass all 32 bits on the same clock edge to other 32-bit IP in my FPGA design.
In other...
Emmett Bradford

05/08/2012

MW 04:55 PM MityDSP-L138 (ARM9 Based Platforms) FPGA Development: RE: Programming the FPGA
Appreciate the feedback on the wiki page. I've updated it per your comments.
-Mike
Michael Williamson
TE 04:40 PM MityDSP-L138 (ARM9 Based Platforms) FPGA Development: RE: Programming the FPGA
Thanks! That worked. An even better solution than the bootfpga solution.
I was basing what I did on the wiki page for Programming the FPGA (http://support.criticallink.com/redmine/projects/arm9-platforms/wiki/Programming_the_FPGA). ...
Tim Eastham
MW 03:03 PM MityDSP-L138 (ARM9 Based Platforms) FPGA Development: RE: Programming the FPGA
Hi Tim / Emmett,
Did you remember to saveenv? (just checking)
A couple of things:
You might want to avoid using the "bootfpga" environment variable. We've had a couple of customers manage to brick their system by programming v...
Michael Williamson
TE 02:15 PM MityDSP-L138 (ARM9 Based Platforms) FPGA Development: RE: Programming the FPGA
Emmett and I were able to get the DONE LED by calling loadfpga after the loadb 0xc0700000. The problem is that when we setup the bootfpga environment variable, it doesn't work.
I am calling the following:
loadb 0xc0700000 ->this ini...
Tim Eastham
EB 02:01 PM MityDSP-L138 (ARM9 Based Platforms) FPGA Development: Programming the FPGA
I have read both forum entries of the same name.
The first one seems to be most applicable, since I have the MityARM-1808F with the LX16 FPGA.
I followed the instructions from the first post, which was difficult in iMPACT.
The trick...
Emmett Bradford

05/07/2012

AS 12:01 PM MitySOM-335x (ARM Cortex-A8 Based Products) PCB Development: RE: Power Management w/ MityARM
Mike,
Thanks for your response, it is really helpful to know how the PMIC is connected. I posted a question about how the tsp65910 Linux driver handles interrupts on the TI E2E forums and got a response from TI:
http://e2e.ti.com/su...
Ali Asgar Sohanghpurwala
MW 11:06 AM MitySOM-335x (ARM Cortex-A8 Based Products) PCB Development: RE: Reg. JTAG Reset and SD Card connection
Hi Salam,
Thanks for the comments.
1. There is a 10K pull down on the JTAG Reset line so that the JTAG interface is held in reset in the absence of a JTAG emulator connection. The emulator should pull the signal high when it is co...
Michael Williamson
AS 09:55 AM MitySOM-335x (ARM Cortex-A8 Based Products) PCB Development: Reg. JTAG Reset and SD Card connection

Hi,
As per the Mity carrier board design
1, the NRST of JTAG connector is permanently low,that means it is always in reset mode
Pls confirm.
2.No Pull-up resistor in SD Data lines and CMD line, Please confirm this also....
ABDUL SALAM

05/04/2012

RV 03:50 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Usage of I2C1 to connect external peripheral
Hi Mike,
Thanks for the information.
I will check on the details provided by you.
Regards,
Raja.
Raja Vankam
MW 03:37 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Usage of I2C1 to connect external peripheral
Can you post your source code for the I2CTest (including the value of addr) and provide a specification to the device you are communicating with (part number, etc)? You are sending a buffer size of 5 down, are the remaining 3 bytes supp... Michael Williamson
RV 03:18 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Usage of I2C1 to connect external peripheral
Hi Mike,
Thanks for your response.
I am using I2C1 and using from application as /dev/i2C-2. This change of pin mux is only for my testing. In the final board we will be using the same pin mux used in the evaluation board. We are n...
Raja Vankam

05/03/2012

MW 04:22 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Usage of I2C1 to connect external peripheral
Hi Raja,
Can you please post the full command lines for your output?
There are actually 3 I2C buses in play.
I2C0 is connected to ADS1000 (address 0x48) and port J700 on the DevKit Host board. It shows up as /dev/i2c-1 and is a...
Michael Williamson
RV 03:55 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Usage of I2C1 to connect external peripheral
Hi Tim,
Thanks for the reply.
Even my understanding is almost similar. But earlier I have tried with out connecting slave. Now I have connected the slave and still the error number is same and not able to write data to I2C. But ope...
Raja Vankam
TI 01:34 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Usage of I2C1 to connect external peripheral
Raja
You can use the i2c utilties to test the bus. The output below is from scanning both I2C buses.
@root@mityarm-335x:~# i2cdetect -y -a -r 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- --...
Tim Iskander
RV 12:00 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Usage of I2C1 to connect external peripheral
Hi Tim,
Gentle reminder about the above response.
Could you please let me know how to go ahead.
Regards,
Raja.
Raja Vankam

05/02/2012

RV 02:52 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Usage of I2C1 to connect external peripheral
Hi Tim,
In Mity arm board I2C1 is configured on mii1_crs. pin and in Am335x based board same I2c1 is on spi0_d1 pin. I just want to know whether i can change to uart pin mux and probe on expansion connector.
this is to make sure tha...
Raja Vankam
TI 02:37 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Usage of I2C1 to connect external peripheral
Raja
The EREMOTEIO error comes from drivers/i2c/busses/i2c-omap.c and is because there is no Ack from
bus request.
Unless I misunderstand what you are doing, I don't think you can just change the pin muxing around.
The pin muxing is ...
Tim Iskander
RV 02:35 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Usage of I2C1 to connect external peripheral
Sorry i missed to mention file name details.
filename = /dev/i2c-2.
Raja Vankam
RV 02:27 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Usage of I2C1 to connect external peripheral
Hi,
Code i have used to access is mentioned below:
fd = open(filename, O_RDWR);
ioctl(fd, I2C_SLAVE, addr);
err = write(fd, buf, 5);
Open and ioctl with I2C slave are success. But write gives an error and the error number is:...
Raja Vankam
RV 10:05 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: Usage of I2C1 to connect external peripheral
Hi,
I am trying to use the I2C1 to communicate to the slave.
To probe the signals on Mity board, i am planning to change the pin mux for I2C1 from
mii1_crs.i2c1_sda to uart0_ctsn.i2c1_sda, similarly for scl in file board-mityarm3...
Raja Vankam
MW 07:46 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: uPP/DMA registers
We have demonstrated capturing as high as 100 MB/sec using UPP in 180 MB blocks without issue. So it's feasible. If you are using the LCDC controller, make sure it gets the highest bus master priority (and use some fifo'ing in your FPG... Michael Williamson
SM 03:10 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: uPP/DMA registers
@Mike
Thanks for the detailed answer. We are only using the AM1808 as an embedded video server for the stream coming from the FPGA, so I cannot comment on the AM1808's H.264 decoding capabilities. But we have used the AM1808 to stream...
Shahzad Malik

04/30/2012

SW 10:12 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: uPP/DMA registers
Shahzad, I have not found uPP drivers for the ARM in linux. My suggestion in developing them is to read the TI uPP manual, get it working in loopback mode and them transition that to you application. Be sure you set the pin mux for th... Scott Whitney
MW 07:48 AM MitySOM-335x (ARM Cortex-A8 Based Products) PCB Development: RE: Power Management w/ MityARM
Hi Ali,
Sorry for the delay in response, you have a lot of questions wrapped up in these two posts, and we haven't gone through all the power management states here (we've been focused on basic interface functionality up until now, th...
Michael Williamson

04/29/2012

MW 06:25 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: TI C6EZAccel library with MityDSP Platform - OmapL138
Hi Michele,
If you would like to use the full TI DVSDK (including C6EZAccel), you can install it from TI (along with the Code Sourcery tool chain). You can use TI's libraries and filesystems, etc. The only thing you will need to do ...
Michael Williamson
MC 06:05 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: TI C6EZAccel library with MityDSP Platform - OmapL138
Dear Sirs,
does anybody there managed to install and use the C6EZAccel library for the OMAPL138 processor, using the MityDSPL138F carrier board?
It's said to be a library that can abstract Signal Processing libraries of the C647 DSP ...
Michele Canepa

04/28/2012

MW 10:19 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: uPP/DMA registers
If you are not using the on-Board NAND in your design (e.g., booting to a RAMDISK or off of MMC or something), then the EMIFA would probably work. Though, you may still have to roll up a kernel module/driver to fetch the data (I would r... Michael Williamson
SM 09:52 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: uPP/DMA registers
Hi Mike,
Thanks for the prompt reply. Actually the data stream is from an H.264 encoder in an FPGA, so im not sure if VPIF would be helpful here. Thats why I was looking for a uPP driver. The other option seems to be the EMIFA interfa...
Shahzad Malik
MW 08:18 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: uPP/DMA registers
Hello Shahzad,
Unfortunately, there is still no UPP driver available. Have you looked at pushing the data in using the VPIF? Supposedly, there has been some work done by TI to push a couple of different modes of camera data using th...
Michael Williamson
SM 04:11 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: uPP/DMA registers
Hi Mike,
I am looking for a uPP driver for linux and I was searching around when I came across this thread. I know im replying to a very old thread, but I noticed that you mentioned that critical link does not have a uPP driver yet. F...
Shahzad Malik
 

Also available in: Atom