Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 01 Apr 2019 08:31 AM by  Adam Ford
SOMOMAPL138-10-1603QHIR Design files
 4 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Thierry Frank
New Member
New Member
Posts:1


--
27 Mar 2019 02:55 AM

    Hello,

    We use SOMOMAPL138-10-1602QHIR_B for many years and now it is obsolete and is replayed with SOMOMAPL138-10-1603QHIR-A.

    We have issues with booting U-Boot and Linux, around SPI Flash, which seems to have been changed. We have another peripheral on the same SPI bus as the M25P and it is no more working since the replacement.

    Any updates around this SPI bus on the schematics of the new module ?

    Thank you for the support.

    Best regards

     

    Thierry

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    27 Mar 2019 07:36 AM
    Thierry,

    We didn't update the schematic when we changed the part.  From an electrical perspective, it was a drop-in part, however we during the investigation, we determined that a newer version of U-Boot was required and a patch to Linux is needed in order to support the updated SPI Flash because the older software didn't recognize the chip ID of the newer part.

    We updated the Linux User guide to document how to apply the patch, update the U-Boot recovery document to include the newer U-Boot image, and updated the product change release to point to the other document updates.

    Unfortunately, when I reviewed the documents, I noticed the Linux patch is missing.  I apologize for that, and I'll work on updating the documentation file to include the patch. I e-mailed you the patch directly

    The product change notice is located here:  http://support.logicpd.co...rtalid=0&EntryId=751

    The Updated User guide is located here: http://support.logicpd.co...talid=0&EntryId=1424
    Section 5.3.2 covers how to apply the patch to the kernel.   This assumes you're using the kernel that's posted in the virtual machine posted on our support site.  If not, the patch is fairly small and should be adaptable to other versions as well.

    The updated U-Boot recovery document has the images available to update U-Boot to a newer version to support the updated NOR flash chip.
    That is located here: 
    http://support.logicpd.co...rtalid=0&EntryId=778


    The raw file you'll want to burn is 1029829.raw
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    27 Mar 2019 07:37 AM

    From a540bef82f2f1cb3219878597bb47ab921295589 Mon Sep 17 00:00:00 2001
    From: Logic
    Date: Fri, 2 Nov 2018 08:48:55 -0500
    Subject: [PATCH] Support updated NOR Flash


    diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
    index bf5a002..a21ba04 100644
    --- a/drivers/mtd/devices/m25p80.c
    +++ b/drivers/mtd/devices/m25p80.c
    @@ -708,6 +708,8 @@ static const struct spi_device_id m25p_ids[] = {
         { "m25pe80", INFO(0x208014,  0, 64 * 1024, 16,       0) },
         { "m25pe16", INFO(0x208015,  0, 64 * 1024, 32, SECT_4K) },
     
    +    { "n25q128a13",  INFO(0x20ba18, 0, 64 * 1024,  256, SECT_4K) },
    +
         /* Winbond -- w25x "blocks" are 64K, "sectors" are 4KiB */
         { "w25x10", INFO(0xef3011, 0, 64 * 1024,  2,  SECT_4K) },
         { "w25x20", INFO(0xef3012, 0, 64 * 1024,  4,  SECT_4K) },
    -- 
    1.7.0.4

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    27 Mar 2019 07:49 AM
    As point of clarification, the U-Boot wasn't as easy to patch, and support for the part had been included in U-Boot starting sometime in 2013. Rather than testing a version from 2013, we opted for a more modern version. When we updated U-Boot to v2018.09, we did test booting the kernel's uImage as well as some other basic functionality.

    If you've heavily modified your U-Boot, and do not wish to migrate to the newer version, you may have to patch the U-Boot driver for the SPI flash, but we don't have one available.
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    01 Apr 2019 08:31 AM
    Thierry,

    I am glad you got it working. For everyone else, we updated the OMAP-L138 Linux User guide to add the patch file.
    You are not authorized to post a reply.