Activity
From 04/10/2014 to 05/09/2014
04/24/2014
- JC 08:19 AM 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_...
04/23/2014
- MK 05:54 PM 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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...