This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM437x Uniflash U-boot patches

Other Parts Discussed in Thread: UNIFLASH

Hello Support,

I am working to implement flash programming for a custom AM437x board with parallel NOR flash using Uniflash on the Windows host and U-boot on the target, as recommended in processors.wiki.ti.com/.../Sitara_Uniflash_Flash_Programming_with_U-Boot.

The target does not utilize a console.

Is there a set of U-boot patches which accommodate this configuration which utilizes USB, parallel NOR flash and no serial port console?

"Sitara_Uniflash_Flash_Programming_with_U-Boot" refers to patches for NAND and SPI flash devices and Ethernet and USB boot sources, but nothing for parallel NOR flash.

Sample source code for this configuration would be the best solution.  Is this available?

Also, use of a console, U-boot prompt is referenced to help develop the required debrick script.  Will the lack of a console cause significant problems in developing the necessary U-boot target application?

There is reference to a debrick script for NAND and an indication that examples for NOR and SPI will be added soon.  Is the NOR version available?

Many thanks for your assistance.

Kind regards,

Wayne Butner

  • Hi Wayne,

    I've forwarded your query to the factory team. Their feedback should be posted directly here, when available.

    Best Regards,
    Yordan
  • Wayne,

    This could all be done with U-Boot, but it will be difficult to debug without a console. You could build in some kind of debug information using LEDs on the board or something like that, I suppose.

    You can refer to the AM335x information that is currently provided to get a good overview of the process as this will be the same for AM437x.

    I am working to upgrade the patch set to AM437x but won't have this done until next week.

    When you look at the existing patches, focus on the ones that modify the BOOTCOMMAND.

    I won't be able to provide a patch set for NOR flash. This is part of the board port exercise from the provided TI boards to your custom boards. Once this is working, integrating it into Uniflash is not difficult as you'll be using basic U-Boot commands.

  • Thank you, Ron.

    Please be in touch when the upgrade patch for AM437x is available.

    Kind regards,

    Wayne Butner
  • Ron,

    In which distribution are the U-Boot patch files for AM437x you mention above? A link would be very helpful.

    Kind regards,

    Wayne Butner