Re: Onenand support in msm7227

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

 



On Fri, Dec 23, 2011 at 02:04:10PM +0100, Mateusz Krawczuk wrote:

>  I want ask for any help with developing onenand driver.
> 
>  I tried generic onenand driver, but without success. Kernel module
> was loaded and did nothing or kernel was crashing, and other strange
> things.

I doubt the generic onenand driver will ever work on MSM.  The MSM
doesn't allow read/write access to the onenand device, it must go
through the NAND controller.

>  I also tried use msm-nand but when I use msm-nand from code-aurora
> kernel crash/panic and get rebooted. When I use msm-nand from htc
> kernel source I'm getting invalid num_resources or this:
> 
>  [ 22.129249] msm_nand_probe: phys addr 0xa0a00000
>  [ 22.129278] msm_nand_probe: dmac 0x7
>  [ 22.129339] msm_nand_probe: allocated dma buffer at ffc4c000,
> dma_addr 27294000
> 
>  with my modification for onenand .

You shouldn't need any modification to the code-aurora msm-nand driver
to support onenand.  Have you tried it unmodified?

The MSM NAND controller's support for onenand is very different from
most.  The NAND controller tries to make the onenand device look like
a NAND device.

The upstream kernel doesn't have any support yet for the NAND/onenand
controller.

BTW, if you are an MSM customer, I highly recommend using the support
channels, since you will get much better support that way.

David

-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" 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 Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux