Activity
From 03/26/2014 to 04/24/2014
04/24/2014
- JC 08:19 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: How to access ADC inputs from Linux kernel/application
- The way the git cherry-pick command works is by taking a commit and applying it to your branch. It can be a handy tool.
You can following this page for updates on the 3.2 kernel. I try to update anytime we patch something big. [[Cl_... - While doing some kernel work with the devkit, I find myself comfortable to serve my kernel via tftp and the rootfs via nfs.
This works fine except that the ethernet stops working as soon as the kernel is supposed to send its DHCP reques...
04/23/2014
- MK 05:54 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: High Latency for GPIO Interrupts in 3.2 Kernel
- Thanks. I'll make the change and let you know in a day or two how this works for me.
- JC 03:36 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: High Latency for GPIO Interrupts in 3.2 Kernel
- Okay thanks for the feedback. I'm planning on committing the following patch which should have the same effect.
Proposed patch: - MK 03:28 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: High Latency for GPIO Interrupts in 3.2 Kernel
- Yes that is it.
I've been running the kernel with this change for quite a while, and haven't seen any issues. - JC 02:32 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: High Latency for GPIO Interrupts in 3.2 Kernel
- Okay found the register in the 335x TRM:
>6.5.1.42 INTC_PENDING_IRQ3 Register (offset = F8h) - JC 02:01 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: High Latency for GPIO Interrupts in 3.2 Kernel
- Hi Michael,
I'm trying to understand what your patch effects. Do you know what the 0xf8 register refers to? I've searched through the TRM and the datasheet so far but haven't found anything obvious. - MK 05:18 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: How to access ADC inputs from Linux kernel/application
- Not sure I see how this is a cherry pick. I don't think I've changed any history.
I appreciate that Critical Link has been keeping the kernel up to date. Even if I'm hesitent to git merge the changes it helps to at least see what ... - JC 03:39 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: How to access ADC inputs from Linux kernel/application
- Ahh interesting. You've effectively done a manual cherry-pick. That's okay whatever gets the job done. You probably could have done a merge without too much trouble but who knows.
- MK 03:33 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: How to access ADC inputs from Linux kernel/application
- Actually, I didn't run a "git merge". I'm forked, and my origin is my own repo. I set up a seperate remote for the critical link repo, then pulled the latest, then ran "git diff /remotes/cl/mityarm-linux-v3.2" and hand added the change...
- JC 01:28 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: How to access ADC inputs from Linux kernel/application
- I asked to clarify and to hopefully learn something. My current understanding of what you did was to merge the mityarm-linux-v3.2 branch into your branch which was based off of the cl_v3.2_AM335XPSP_04.06.00.07 tag. This seems reasonab...
- MK 01:03 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: How to access ADC inputs from Linux kernel/application
- Jonathan,
Can one not merge selected changes between two commits? Git is a powerful tool, but it hasn't redefined the word "merge" yet.
The reason I'm not using the latest mityarm-linux-v3.2: I forked off of cl_v3.2_AM335XPSP_04.0... - JC 08:27 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: How to access ADC inputs from Linux kernel/application
- I'm a little confused by your merging. cl_v3.2_AM335XPSP_04.06.00.07 is a tag and not a branch and is a on the mityarm-linux-v3.2 branch anyways just about a year older. Was there some reason you couldn't use the latest mityarm-linux-v...
- MK 12:51 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: How to access ADC inputs from Linux kernel/application
- Nevermind. The problem was on my end - merge error. :)
So I have the ADC driver loaded, and I have /sys/devices/platform/omap/ain/ain0 - /sys/devices/platform/omap/ain/ain7 . Do you have any tips on reading the ADC values?
Thank... - MK 12:21 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: How to access ADC inputs from Linux kernel/application
- Correction, I merged the ADC changes into cl_v3.2_AM335XPSP_04.06.00.07, not AM335XPSP_04.06.00.02.
Still the same problem though. - MK 12:18 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: How to access ADC inputs from Linux kernel/application
- I found the updated ADC driver code in the mityarm-linux-v3.2 branch. I merged in the ADC changes into AM335XPSP_04.06.00.02, the changes to the ti_adc driver, the #ifdef CONFIG_TOUCHSCREEN_TI_ADC changes in am33xx_register_tsc() in dev...
04/22/2014
- MK 07:47 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: How to access ADC inputs from Linux kernel/application
- Any updates on this? Any idea how to access the ADC from kernel version 3.2?
04/21/2014
- JC 03:19 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Booting from Nand
- Bindu,
The datasheet says the part is 4Gb which divided by 8 is 512MB. We don't have any parts that carry a nand over 1GB, if a customer needs more storage in the past they have used mmc (upto 32GB) or a network filesystem like nfs. ... - BJ 02:50 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Booting from Nand
- Jonathan, thank you for all the information. We put his task on the back burner for a while -- but it works perfectly fine now. But I am curious about something:
The NAND flash chip on the module we have is the MT29F4G08ABAEA WP, whic...
04/17/2014
- JC 03:52 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Not able to update opkg on MityDSP-L138
- The mityomapl138 404s are expected. We unfortunately don't have our own packages in their feed.
- NW 03:16 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Not able to update opkg on MityDSP-L138
- Thank you for quick response! Mainly the updating process went successfully,but we had a couple of 404 errors (see screenshot).If you know the solution to it please let me know
04/16/2014
- JC 01:53 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problem adding a package to LucidLynx Ubuntu Image
- Ahh. Have you run @sudo apt-get update@?
You can remove the cd from the software sources by opening the software center and edit->software sources. Then uncheck Cdrom - RB 01:35 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problem adding a package to LucidLynx Ubuntu Image
- Hi Jonathan,
I didn't intentionally want to upgrade from the cd, but the system seems to be insistent on looking for something on the CD.
Here is what I tried initially:
sudo apt-get install doxygen
This appeared to begin to work... - JC 01:27 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problem adding a package to LucidLynx Ubuntu Image
- This might help:
http://askubuntu.com/questions/129942/installing-packages-from-ubuntu-cd
I haven't personally tried installing packages from cd. - I've been trying to install doxygen into my Ubuntu image using the package manager
and it keeps giving me this error message even though I have an iso disk image of the LucidLynx 10.04 LTS release mounted on my virtual cdrom drive:
... - MA 12:14 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Enabling I2C1 on the OMAP-L138F
- This was indeed useful for getting the bus enabled. Thanks!
04/15/2014
- MA 07:49 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Enabling I2C1 on the OMAP-L138F
- Thanks Jonathan, we'll look into this.
04/14/2014
- JC 01:06 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Enabling I2C1 on the OMAP-L138F
- Looks like the baseboard-recon.c file enables i2c1. See if this helps. Search for references to i2c1.
http://support.criticallink.com/gitweb/?p=linux-davinci.git;a=blob;f=arch/arm/mach-davinci/baseboard-recon.c;h=3995c3539c9f4c54f46b... - Hi, we are attempting to use the I2C1 bus for communicating with some external devices. We made some additions to 'board-mityomapl138.c' in an attempt to enable the bus but still seem to be coming up short. Any suggestions on what is req...
04/12/2014
- AB 02:43 PM MityDSP-L138 (ARM9 Based Platforms) FPGA Development: RE: Broken i_ema_a<8>
- Lukasz,
I have found the RMA request e-mail you have mentioned and have replied to that e-mail accordingly.
Thank you,
Alex
- ŁD 12:58 PM MityDSP-L138 (ARM9 Based Platforms) FPGA Development: RE: Broken i_ema_a<8>
- I have more questions about RMA procedure.
The company send an e-mail to orders@criticallink.com with a question about
initiating RMA procedure and till now there is no answer from there.
Can anyone from CL help me to solve this case?
04/11/2014
- BD 06:51 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Not able to update opkg on MityDSP-L138
- Hello Nick,
Please try replacing the URLs in the configuration files located in /etc/opkg/ to use feeds.angstrom-distribution.org instead of www.angstrom-distribution.org.
This can be accomplished by editing the files or with the f... - AB 03:52 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Not able to update opkg on MityDSP-L138
- Sorry for the delay.
We are confirming the status of the Angstrom OPKG feeds and are working on providing guidance on how to resolve the issue.
Thank you for providing the screenshot as that will be helpful. - AB 04:27 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Error while connecting to ARM9
- The issue of debugging the ARM is that you cannot use CCS JTAG / the emulator when the Linux OS's memory manager is running. When you stop the module from booting, hold it in UBoot, that memory manager has not been initialized yet as the...
- AB 03:47 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: MityDSP-L138 CCS 5.5 XDS510
- Update after phone call with customer:
1) Created a new project that was able to run a "Hello World" sample application on the ARM processor through the XDS510 emulator. Initially the debug download was failing however that was becaus... - BD 11:52 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to add ifplugd to Busybox
- Mary, it should be exit 0 at the end of the script, as that indicates successful completion, so the fix you made is OK.
I do not recall making that change in my setup, so it may be a mistake in the original source distribution.
Tha... - MF 10:57 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to add ifplugd to Busybox
- I added the -sn options in the ifplugd.conf to see debugging messages and found that ifplugd was exiting due to a non 0 return value from the ifplugd.action script. This occurred even though the -I option was set. I changed the last li...
- MF 09:46 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to add ifplugd to Busybox
- Sorry about the delay ... other problems to work on, but I finally got back to this.
I copied the files from your archive as suggested by Bob Duke above.
I ran ifplugd.init start and now see it in the process list.
04/10/2014
- RK 12:19 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: DSPLink library sources
- Thank you very much. That will do
Best regards - MW 12:01 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: DSPLink library sources
- All the dsplink source code should be in the 3rdparty folder of the BSP/MDK.
-Mike
- Hello,
I have a question. Is there any way I could access the source code of DSPLink libraries on DSP side ? Are there the files either on the TI sides in Critical Link's/ MDK ? What I am particularly interested in is the HWI interrupts...
04/09/2014
- RK 06:31 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: DSP- EDMA Transmission problem
- Hello again,
Thank you very much for help. For the time being it looks like I will be able to make do with the tcDspUpp.cpp class.
Best regards, - I am not able to update opkg on MityDSP due to 404 error on angstrom-distribution.org. Where can I get the update?
- Hi, I am working with the MityDSP-L138-FI-236-RL target and could use some help to get our XDS510 debugger configured.
The XDS510 is enumerated OK on Windows. I used it before on a different project under CCS3.3
on the same laptop. ... - MW 06:30 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: spi1 usage in a custom board
- Hello,
Yes, for the 3.2 kernel provided, you need to create (or modify) a baseboard file as you have suggested. If you have a custom board, we recommend you copy the baseboard-industrialio.c file to a new file and modify it to repres... - EK 04:09 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: spi1 usage in a custom board
- Maybe I was not clear...
I do not want to modify uboot. It works good for me as it is.
I would like to configure our SPI using the linux kernel. As written in the previous post my custom board based on MityDSP138F has two ICs attac...
04/08/2014
- JC 01:01 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: spi1 usage in a custom board
- If they only need to be configured on bootup it might be easier to do it from u-boot. You could try enabling the spi command: CONFIG_CMD_SPI. You could then test your spi commands and could put them as part of the bootcmd variable so t...
- Hi everybody.
I am a newby in Linux development. I have my custom board based on MityDSP138F with two ICs attached over SPI bus.
SPI signals (MISO, MOSI, and CLK) are attached to SPI1 bus. Chip Selects signal are attached to pins 53 ...
04/07/2014
- JP 12:00 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Net: No ETH PHY detected!!!
- I used the serial flashing program to erase the memory before flashing u-boot again and this time phy eth is detected and networking works normally.
I'm sorry for the trouble. - Hello,
I have a mitydspl138 board. I accidentally overwrote some of the u-boot memory. I used the serial programmer to re-flash u-boot
https://support.criticallink.com/redmine/projects/arm9-platforms/wiki/Reprogramming_a_Dead_Board
... - MW 07:43 AM MityDSP-L138 (ARM9 Based Platforms) FPGA Development: RE: UPP Sample Code needed
- For the FPGA interface, you could take a look at the "Vision Framework Design FIles":https://support.criticallink.com/redmine/projects/indio/wiki/Vision_Framework_Kit. This uses the UPP to push video data from the FPGA to the OMAP-L138. ...
- MW 07:39 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: DSP- EDMA Transmission problem
- Hello Mr. Krawczyk,
You can interface with the UPP directly as you have described and by looking through the TRM, or you can try to use the tcDspUpp.cpp class, which was intended to help a little with that but it certainly not require...
04/03/2014
- RK 09:35 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: DSP- EDMA Transmission problem
- Hello Mike,
The UPP seems to be an optimal solution. However, It looks like configuring the UPP is a bit complex. I can see there is a tcDspUpp.cpp file in a core library and some usage of its methods in tcDspFpgaCameraLink.cpp.
My qu... - Hi everyone,
I need a sample FPGA code for UPP(Supported by Critical Link) with it's UCF file(including timing constraints).
Thanks in advance.
04/01/2014
- MW 05:23 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: DSP- EDMA Transmission problem
- Actually,
I was going to suggest transferring to IRAM, or if you need to transfer to DDR, doing a chained transfer:
EMIFA -> IRAM, then IRAM->DDR
Sounds like you've seen improvement in moving into the IRAM. Unfortunately, our Q... - RK 04:53 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: DSP- EDMA Transmission problem
- To be more precise,
Is there any way to change the EDMA3 configuration to reduce transfer time ? I want to transfer the data from FPGA's 16-bit EMIFA bus to IRAM, where I think the memory bus is 32-bit. For now I am using the unchanged ...
03/31/2014
- RK 05:20 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: DSP- EDMA Transmission problem
- Hello again,
I am writing because I have the following problem:
I succesfully transfer the data, but the transfer time seems to take too much time. I am transferring 4096 16-bit words using the modified FPGA EMIFA interface that takes ...
03/26/2014
-
05:33 PM
MitySOM-5CSX Altera Cyclone V
Software Development: RE: Interrupt & Device Tree
- I tried to generate the device tree file from the sopcinfo file produced by quartus.
I used the following command
$ sopc2dts --input mityarm_5csx_dev_board.sopcinfo --output socfpga.dts
And I got a statement like this
Master and ... - Hi,
Do you guys have any example on how to handle a interrupt? I have it set up in Qsys, where I have a FIFO sending its interrupt signal to the HPS. But how do I handle it on the software side.
I read that I need device tree to se... - RK 03:16 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: DSP- EDMA Transmission problem
- Solved !
You can use the IRAM section. It is disabled as cache in the current configuration .tcf file.
Best regards