Skip to contentSkip to conversation

2.6.24.4: problem accessing nand based cramfs

DISCUSSION [email protected] 2 participants 2 messages Apr 14, 2008 – Apr 23, 2008 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

kernel 2.6.24.4 I have an SMC card w a cramfs rootfs on it.
I'm trying to replace an fs driver I wrote on 2.5.13 for the same SMC.
I thought I could do it more cleanly and easily now... I've defined a plaform driver and, correctly or incorrectly hooked the nand code that calls nand_scan, so as to call my probe code to do my partition mapping.

The cramfs maps to mtdblock3. mtdblock_open is called as is cramfs_fill_super and cramfs_read.

However, no data is returned and no attempt is made to access the nand SMC afaics.

What do I need to add to get this nand based cramfs booted ?

Thnx v much
johnh

.
===========================================================
John Heil
South Coast Software
Custom firmware, device drivers and board bring up services
Ph: 1-714-774-6952
Fx: 1-714-774-7053
www.sc-software.com
email: [email protected]
===========================================================

#1 lore raw
Quoted 7 lines · On Mon, 2008-04-14 at 08:22 -0700, [email protected] wrote:

I have an SMC card w a cramfs rootfs on it.
I'm trying to replace an fs driver I wrote on 2.5.13 for the same SMC. I thought I could do it more cleanly and easily now...
I've defined a plaform driver and, correctly or
incorrectly hooked the nand code that calls nand_scan, so as to call my probe code to do my partition mapping.

Does it correctly detect the NAND chip? It would probably help if you show your driver.

Signature · 1 line
dwmw2