Project

General

Profile

Activity

From 03/03/2020 to 04/01/2020

03/31/2020

SW 12:16 PM Software Development: RE: GPIO toggling/chattering while performing NAND read.
Hi,
We have SOM board as per below link:
https://static6.arrow.com/aropdfconversion/bd95376e672d11c623e62dac62cb587c9bb1bc34/mitysom-335x-criticallink.pdf
If you have any evaluation board for the above mentioned SOM board, pleas...
Srinivasa Wunnimani

03/30/2020

JC 05:46 PM Software Development: RE: GPIO toggling/chattering while performing NAND read.
Srinivasa Wunnimani wrote:
> *> Now my suspect is on below registers*
> ...
In order to find these registers, all I do is run "grep -iR " with the string I'm looking for in the u-boot source directory. Sometimes may need to poke aroun...
Jonathan Cormier
JC 05:41 PM Software Development: RE: GPIO toggling/chattering while performing NAND read.
Srinivasa Wunnimani wrote:
> Hi,
> ...
Okay looks like the pinmux's match
Jonathan Cormier

03/28/2020

SW 02:01 PM Software Development: RE: GPIO toggling/chattering while performing NAND read.
Forget to attach log files.
Please find log files attached.
Regards
Srinivasa
Srinivasa Wunnimani
SW 02:00 PM Software Development: RE: GPIO toggling/chattering while performing NAND read.

Hi
> If things are crashing now, then this was probably not the correct change.
I have started debugging into gpmc_init() in u-boot 2013.10 Vs u-boot 2018.01.
Old u-boot 2013.10 in file “arch/arm/cpu/armv7/am33xx/mem.c”
Srinivasa Wunnimani
SW 01:12 PM Software Development: RE: GPIO toggling/chattering while performing NAND read.
Hi,
I am little confused on sysconfig pin mux registers. Did you mean control module registers?
Anyways, I have captured control module register values for v2013.10 to our new u-boot v2018.01.
Please find logs attached.
Regards
...
Srinivasa Wunnimani

03/27/2020

JC 01:25 PM Software Development: RE: GPIO toggling/chattering while performing NAND read.
> To make sure pinmux is okay, copied board/cl/mityarm335x/mux.c from v2013.10 to our new u-boot v2018.01. Please find mux.c attached.
I was hoping to have you dump the sysconfig pin mux registers for the 2013 and 2019 u-boots to make...
Jonathan Cormier
SW 07:55 AM Software Development: RE: GPIO toggling/chattering while performing NAND read.
Hi,
If things are crashing now, then this was probably not the correct change. If you double check the config7 register, did this change set it to the value we expect from v2013.10?
> In the entire u-boot the only C file (arch/arm/...
Srinivasa Wunnimani

03/25/2020

JC 01:09 PM Software Development: RE: GPIO toggling/chattering while performing NAND read.
Srinivasa Wunnimani wrote:
> Hi,
> ...
If things are crashing now, then this was probably not the correct change. If you double check the config7 register, did this change set it to the value we expect from v2013.10?
> Sure, we wil...
Jonathan Cormier
SW 09:09 AM Software Development: RE: GPIO toggling/chattering while performing NAND read.
Hi,
I have updated arch/arm/mach-omap2/mem-common.c as below:
132 #if defined(CONFIG_NAND) || defined(CONFIG_CMD_NAND)
133 case MTD_DEV_TYPE_NAND:
134 gpmc_regs = gpmc_regs_nand;
135 base ...
Srinivasa Wunnimani

03/19/2020

JC 03:37 PM Software Development: RE: GPIO toggling/chattering while performing NAND read.
The config7 register appears to be getting set in arch/arm/mach-omap2/mem-common.c Jonathan Cormier
SW 06:18 AM Software Development: RE: GPIO toggling/chattering while performing NAND read.

Sure, we will print CONTROL_MODULE_REGISTERS and update you on the same.
We want to update the source code and make GPMC registers same as old u-boot.
Towards this can you please let us know:
Where (filename/function/line) do I ch...
Srinivasa Wunnimani

03/16/2020

JC 03:58 PM Software Development: RE: GPIO toggling/chattering while performing NAND read.
Note the pinmux tables can be read from memory.
See "Table 9-10: CONTROL_MODULE REGISTERS" https://support.criticallink.com/redmine/projects/armc8-platforms/wiki/Software_FAQs#Useful-memory-locations
Pinmux start address: 0x44E1_0800
Jonathan Cormier
SW 03:35 PM Software Development: RE: GPIO toggling/chattering while performing NAND read.
Hi,
Thank you for your input.
Tried with below command, still same problem.
mw.w 0x50000078 48
As mentioned earlier, we have u-boot 2013.10 with less amplitude.
To make sure pinmux is okay, copied mux.c from board/cl/mityar...
Srinivasa Wunnimani
JC 02:09 PM Software Development: RE: GPIO toggling/chattering while performing NAND read.
> md.b 0x50000070 10
> ...
I would stick with using md.w and mw.w since all the registers are 32bit. It may or may not be okay to write the registers one byte at a time but I wouldn't trust it.
Try running @mw.w 0x50000078 48@ and s...
Jonathan Cormier

03/14/2020

SW 11:52 AM Software Development: RE: GPIO toggling/chattering while performing NAND read.
Sorry for typo error:
I was able to manual write it to GPMC *without* any error.
Regards
Srinivasa
Srinivasa Wunnimani
SW 08:47 AM Software Development: RE: GPIO toggling/chattering while performing NAND read.
Hi,
I tried to change GPMC_CONFIG7_0 to 0x48 from 0xf48 as below. I was able to manual write it to GPMC with any error.
md.b 0x50000070 10
mw.b 0x50000078 48
mw.b 0x50000079 00
But after executing below read command, boar...
Srinivasa Wunnimani

03/11/2020

JC 01:41 PM Software Development: RE: GPIO toggling/chattering while performing NAND read.
You can use md to read memory locations and mw to write them. https://www.denx.de/wiki/publish/DULG/to-delete/UBootCmdGroupMemory.html Jonathan Cormier
SW 11:13 AM Software Development: RE: GPIO toggling/chattering while performing NAND read.
Hi,
Manually means, do you want me to change GPMC_CONFIG7_0 at u-boot prompt?
Regards
Srinivasa
Srinivasa Wunnimani
SW 10:45 AM Software Development: RE: GPIO toggling/chattering while performing NAND read.
Hi,
With u-boot V2013 frequency of pulses @ ~3.571 MHz and amplitude ~150 mV.
With u-boot V2018 frequency of pulses @ ~3.571 KHz and amplitude ~ 3.2 V.
Please find images attached.
Regards
Srinivasa
Srinivasa Wunnimani

03/09/2020

JC 03:02 PM Software Development: RE: GPIO toggling/chattering while performing NAND read.
If you manually set GPMC_CONFIG7_0 back to 48, does the activity on GPIO 0_27 stop?
Jonathan Cormier
BD 02:27 PM Software Development: RE: GPIO toggling/chattering while performing NAND read.
Srinivasa,
We have not seen this before and I am reviewing your comments and logs.
Diff of GPMC registers
Bob Duke
SW 01:23 PM Software Development: RE: GPIO toggling/chattering while performing NAND read.
Hi,
I have dumped the values of GPMC registers for u-boot V2013.10 and V2018 at u-boot prompt. Please find the files attached.
I am little confused with V2018:
GPMC_CONFIG7_0 = f48, which indicates it’s 16 MB flash but N...
Srinivasa Wunnimani

03/06/2020

SW 12:08 PM Software Development: RE: GPIO toggling/chattering while performing NAND read.
Hi,
Test case 1:
Tested on u-boot Version 2013.10 from mitysom (u-boot-mityarm-335x-6c6a700.tar.gz).
Probed GPIO 0_27 while running below command:
nand read.i 0x83000000 0x280000 0x500000
There is some activity on GPIO 0_27 as...
Srinivasa Wunnimani
SW 07:25 AM Software Development: GPIO toggling/chattering while performing NAND read.
Hi,
We have mitySOM board in our product and we are using u-boot-mityarm-335x.tar.gz and building u-boot as below:
/* Export path */
source /opt/criticallink/mitysom-335x_2018-04-16/environment-setup-cortexa8hf-neon-criticallink-l...
Srinivasa Wunnimani
 

Also available in: Atom