Difference in MTD driver between kernel 2.6.35 and latest mainline?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Difference in MTD driver between kernel 2.6.35 and latest mainline?

978 Views
woutervh
Contributor IV

I'm doing tests with a mix of tools.

This contains:

- Barebox (latest version)

- Kernel (latest mainline)

- Kernel (freescale 2.6.35 maintain)

Situation is as follows:

I have a nand flash of 1GiB (Samsung K9K8U0D)

I write an ubi-image through ubiformat with barebox. This is perfectly usable with the latest mainline kernel.

However, when I want to use it with the freescale 2.6.35 maintain branch, I get bad CRC's while attaching.

I did, as a test, some backporting of mtd from the latest linux mainline kernel to my 2.6.35 and it also works. What and why are there differences in using the nand flash? Now I'm not really sure if I will have some instability/unreliability with my backported version.

Somebody has a clue?

Labels (2)
0 Kudos
7 Replies

684 Views
woutervh
Contributor IV

Because we are close to a delivery release, I really need to have a stable reliable solution for my bootloader/kernel combination.

When using the freescales 2.6.35 maintain kernel, which is the best bootloader to use for it? Which is prooved to work in respect to nand flash / ubi things?

And where to get it?

0 Kudos

684 Views
YixingKong
Senior Contributor IV

Wouter

This discussion is closed since no activity. If you still need help, please feel free to reply with an update to this discussion, or create another discussion.

Thanks,

Yixing

0 Kudos

684 Views
YixingKong
Senior Contributor IV

Wouter

Had your issue got resolved? If yes, we are going to close the discussion in 3 days. If you still need help please feel

free to contact Freescale.

Thanks,
Yixing

0 Kudos

684 Views
fabio_estevam
NXP Employee
NXP Employee

What prevents you to using the mainline kernel?

0 Kudos

684 Views
woutervh
Contributor IV

I had the latest mainline kernel running, but as not everything is functional yet, and I rely on older binaries (no sources), I decided to take the maintain branch of  2.6.35 instead...

0 Kudos

684 Views
LeonardoSandova
Specialist I

Is this test can be done with u-boot? I am not a bootloader expert but I wonder why you pick Barebox as a loader.

Leo

0 Kudos

684 Views
woutervh
Contributor IV

Barebox was the bootloader which looked most promising and understandable.

The coding style relies to the one of linux kernel itself and it already had good support for all imx-stuff.

The test can also be done by doing the ubiformat from within a linux with the latest kernel and trying to mount it with a system with the 2.6.35 kernel

0 Kudos