Skip to contentSkip to conversation

AM335x NAND

DISCUSSION Stefan Müller-Klieser 3 participants 3 messages Jun 26, 2014 – Jun 30, 2014

lore
Share & tools
lore
#0 lore raw

Dear list,

I am working on TI's AM335x SoCs and want to add support for the missing NAND controller features in the driver. As the NAND interface of the barebox is not in sync with the kernel, it is difficult for me to decide which way to go. Is there already work going on to update the barebox NAND driver? I suppose the barebox nand_omap_gpmc is a port of the u-boot NAND driver. So, should I port the features from the u-boot driver into barebox, e.g. ELM and HW BCH16 support, or are there different plans from the maintainer?

Kind regards, Stefan

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#1 lore raw

Hi Stefan,

Quoted 10 lines · Stefan Müller-Klieser

Dear list,

I am working on TI's AM335x SoCs and want to add support for the missing NAND controller features in the driver. As the NAND interface of the barebox is not in sync with the kernel, it is difficult for me to decide which way to go. Is there already work going on to update the barebox NAND driver? I suppose the barebox nand_omap_gpmc is a port of the u-boot NAND driver. So, should I port the features from the u-boot driver into barebox, e.g. ELM and HW BCH16 support, or are there different plans from the maintainer?

I have no further plans with nand_omap_gpmc. Note the driver can switch the ecc correction type during runtime. We have to do this since the boot ROM needs a different ecc layout than the rest of the NAND does. I don't want to lose this feature. Other than that feel free to update the driver with new features.

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw
In reply to Stefan Müller-Klieser
Quoted 3 lines · Stefan Müller-Klieser

So, should I port the features from the u-boot driver into barebox, e.g. ELM and HW BCH16 support, or are there different plans from the maintainer?

I've seen that the Phytec AM335x BSPs contain patches which add support for the ELM. This wasn't mainlined, but might a good starting point.

Regards,
Jan

Signature · 10 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox