Re: Powerpc Kernel 2.6.26.5 boot panic when call cfi_probe_chip()

2009-09-18 Thread g r1x
2009/9/18 g r1x > I'm working on a 440GX demo board with a flash chip s29gl256p(128k sector > size, 32M total, CFI). I have tried 2 ways to add mtd partiton to the > kernel, but failed with kernel panic. (kernel version: 2.6.26.5) > S29GL256p is pin strapped as a 16bit width s

How to access DCR registers in powerpc440gx? Got err when use macro def in Linux kernel

2009-09-10 Thread g r1x
Now, I'm writing a DMA driver on powerpc 440gx platform(2.6.26.5), as the only way to set up DMA Controller is to access it's dcr registers with 'mfdcr' and 'mtdcr'. I've found some dma code in Linux kernel 2.6.26.5, so I copy the code u wrote to my driver module directory, and include them, but w

How to access DCR registers in powerpc440gx? Got err when use macro def in Linux kernel

2009-09-10 Thread g r1x
Now, I'm writing a DMA driver on powerpc 440gx platform(2.6.26.5), as the only way to set up DMA Controller is to access it's dcr registers with 'mfdcr' and 'mtdcr'. I've found some dma code in Linux kernel 2.6.26.5, so I copy the code u wrote to my driver module directory, and include them, but w