[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] MTD and JFFS with BigEndian uClinux syst ems
Hi Falk,
Brettschneider Falk wrote:
> Hi,
>
> John Williams wrote:
>
>>Nope, JFFS2 on MTD definitely works - we had a PetaLogix customer
>>putting a 50MB JFFS2 filesystem on an MTD partition, no problem. We
>>were creating large files, copying, moving, deleting, the works.
>
> This information helped me a lot, gave me the direction the drivers are all
> OK.
In several years of working on the kernel, I think I can count on one
hand (one finger?) the number of times a problem I've experienced has
been due to errors in standard kernel code.
It's a humbling lesson, but a valuable one. 99.9% of the time, it's
your fault!
> So we fixed our memory controller interface to be Linux-conform concerning
> the Endianess and word order,
Ah, the luxury of FPGA-based development!
> and I checked the Kernel compilation options
> for MTD again where I found the 'CFI cmd/query byte swapping' thing in the
> advanced options, I had to switch it on.
Well spotted - thanks for reporting the solution, it will no doubt help
someone in future via the archives.
> Well, now it seems to works
> perfectly, even with no change in the MTD driver sources. I can read/write
> files to the jffs2 file system. Thanks for all who listened and helped,
> especially John Williams. :-)
You're welcome, I'm glad it was useful.
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/