OSD3358-512M-ISM 2343 batch DDR3/SPL boot issues

Hello Octavo Forum,

We do have a custom board based on OSD3358-512M-ISM package running a custom Linux Distro.

For the DDR3 interface timing configuration, we have been using the recommended values from the Table 6-1 “AM335x DDR EMIF, PHY and Control Module Register Settings”, page 22 of the OSD335x-SM datasheet (Rev. 12 12/1/2024).
These values have been working fine on our production boards with various Octavo OSD3358-512M-ISM package batches (2334-PG340RHV0E, 2337-PG371FLF0E…)

Recently with this specific Octavo Package Batch (2343-PG430VGC0E) we do have SPL boot issues while we are using the very same SPL binary as before.

We have 6 boards hanging during SPL execution, after doing some digging we found out the following:

On 5 boards this hang happens when SPL is relocating stack global data from SRAM in SDRAM (spl_relocate_stack_gd)

In fact, during our troubleshooting it has been observed that when copying global_data from SRAM into the DDR and then trying to read it back, this data was corrupted.

Each board has its own corruption pattern, but the pattern was consistent for each board SN as detailed below:

  • Observed Data Corruption Pattern on values read back from DDR per Board:
    Board 1 =>
    Byte lanes 0 & 2 stuck at 0x00
    Byte lanes 1 & 3 are OK

Board 2 =>
Bits 0 & 7 of Lane 0 stuck at 0
Bits 0 & 7 of Lane 2 stuck at 0
All other bits are OK

Board 3 =>
Bits 1 to 4 and bit 7 of Lane 0 stuck at 0
Bits 1 & 2 of Lane 2 stuck at 0
All other bits are okay

Board 4 =>
All 4 Byte lanes stuck at 0

Board 5 =>
All 4 Byte lanes stuck at 0

On 1 board this hang happens one step further in the process, in the first few of the board_init_r() function.
On another board we the SPL managed to boot properly and goes into u-boot stage.

Please find our questions below:
What is the DDR3 part used in 2343-PG430VGC0E?
Did this part change compared to batch 2334-PG340RHV0E and 2337-PG371FLF0E? Our guess here is that their was a DDR3 part change and that the recommended config values were tuned for the previous part but any more suited for the new DDR3 part.

From your experience, does the behavior described in boards 1 to 5 above indicate a clear timing misconfiguration issue, or a potential faulty HW on this OSD3358-512M-ISM batch?

Thank you for your consideration,
Abdelkoddous K.

Abdelkoddous K,

All DDR variants we use on our devices are pre-qualified to make sure there is no change in functionality on the device(including tuning parameters). I will ask the team to reach out to you to get more information and resolve this issue ASAP.

Best,
Neeraj

Hello Neeraj,

Thank you for your reply.
Feel free to let me know if you need additional information on my side for the team.

Looking forward to hearing from you and the team,
Regards,
Abdelkoddous K