Re: ARM: dts: omap3: NAND support - how?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/18/2013 06:24 PM, Jon Hunter wrote:
> 
> On 04/18/2013 05:48 PM, Christoph Fritz wrote:
>> On Thu, 2013-04-18 at 17:28 -0500, Jon Hunter wrote:
>>> On 04/18/2013 03:23 PM, Christoph Fritz wrote:
>>
>>
>>>> OMAP3_EVM # md 0x6E000060 7
>>>> 6e000060: 00001800 00141400 00141400 0f010f01    ................
>>>> 6e000070: 010c1414 1f0f0a80 00000870             ........p...
>>
>>>
>>> I don't see any other errors in the log. So I am wondering if the
>>> chip-select mapping is setup correctly. Can you share a dump of the gpmc
>>> registers from u-boot?
>>
>> I already did, please see the "md 0x6E000060 7" from above. Below is my
>> work-sheet how I configured the values:
> 
> Sorry I missed that.
> 
>> ---
>>
>> To get the values right for dt-GPMC-NAND-Config, here are the GPMC
>> config registers for chip-select 0, they are taken from u-boot
>> by doing "md 0x6E000060 7" on the u-boot shell:
>>
>> 	GPMC_CONFIG1: 0x6e000060: 0x00001800
>> 	GPMC_CONFIG2: 0x6e000064: 0x00141400
>> 	GPMC_CONFIG3: 0x6e000068: 0x00141400
>> 	GPMC_CONFIG4: 0x6e00006c: 0x0F010F01
>> 	GPMC_CONFIG5: 0x6e000070: 0x010C1414
>> 	GPMC_CONFIG6: 0x6e000074: 0x1F0F0A80
>> 	GPMC_CONFIG7: 0x6e000078: 0x00000870


I would advise you dump the gpmc registers at the end of the gpmc probe.
I am sure you will see something completely different to the above based
upon your dt configuration.

Cheers
Jon
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux