Go to previous topic
Go to next topic
Last Post 18 Dec 2017 10:21 AM by  Adam Ford
Craziness to think of Kernel UBIFS, UBI and MTD updates to 4.4.x
 1 Replies
Author Messages
Quentin Lewis
New Member
New Member
Posts:4


--
17 Dec 2017 07:54 PM

    We have a shipping product based on the Logic PD AM3517 SOM module, and our code base is built on Linux 2.6.37 which is listed as the supported Linux Kernel on the TI support page. (http://www.ti.com/tool/linuxezsdk-sitara)

    There is an “Design-In Notice” published by NAND FLASH maker Macronix that notes two requirements in later major Linux releases 3.8.x and 4.4.x. to properly manage NAND FLASH issues in older releases. (see sections 5.1 and 8.2 of this document: http://www.macronix.com/L...ign-In%20Notice.pdf)

    I have been asking around about board support for later Kernels beyond 2.6.37, and that seems to be a NO-GO. So several of us were wondering if anyone had ever considered sort of "back-porting" layers of drivers, like perhaps the MTD, UBI and UBIFS from say a later Kernel like 4.4.x to our old supported 2.6.37.....how crazy / possible us that?

    Our NAND FLASH issues seem to stem from improper handling of empty space and I think scrubbing the the supported NAND drivers in 2.6.37......so rather than trying to reverse engineer those changes from the latest drivers and re-engineering them into the old source..........how about just pulling in them all as one big port. (and we might also get other NAND FLASH enhancements as well.....)

     

    Any thoughts....any experience.....any read flag warnings?

    Thanks,

    -Quentin Lewis

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    18 Dec 2017 10:21 AM
    We have a design services group that could potentially quote the effort of back porting the 4.4 kernel features back 2.6.37, but I am not sure sure how cost effective that would be for you.

    That SOM was designed with an agreement with Texas Instruments where they would provide the software and the support. They have their kernels posted on their Git server: http://git.ti.com/ti-linux-kernel


    We have a 4.4 Kernel which have been tested to work on the DM3730 and AM3703. The device tree for the AM3517 SOM has been in the mainline kernel tree for some time. It might be more cost effective for you to have us to go through the 4.4 kernel and help you port your project to the newer kernel.

    adam


    ---