How do I check or test Memory ECC feature on AGX Orin Industrial

Continuing the discussion from AGX Orin Industrial ECC Information:

We try to check/test Memory ECC feature on AGX Orin Industrial on our baseboard.
Could you provide the command/method to check & test?

please refer to

Thanks for your infromation.
This verification only seems to injecting errors into memory locations, and then can read this from Linux command line.
However, we wou1d like to know if AGX ORIN Industrial module can correct the error successfully.
Can you proivde the test method to check this part?

Thank you!

Hi,

Only SBE could be corrected and once the register count for SBE increases, it also means it got correction.

Hi @WayneWWW ,

Could I disable items in bootloader/tegra234-mb1-bct-dram-ecc-l4t.dtsi first and then enable them after flash and boot system?

Hi Wilson,

What thing do you want to disable here?

As I know we don’t enable ECC during flash and only happened after boot.

We found the following note in the documentation:

Note:
Activating ECC protection reduces the available memory for regular use to 7/8 of the total due to allocating additional memory for ECC data.

Also, on the Industrial version of the AGX Orin, the dmidecode output shows only 56GB of available memory:

Handle 0x000B, DMI type 16, 23 bytes  
Physical Memory Array  
    Location: System Board Or Motherboard  
    Use: System Memory  
    Error Correction Type: Single-bit ECC  
    Maximum Capacity: 56 GB  
    Error Information Handle: Not Provided  
    Number Of Devices: 1

In the bootloader configuration file bootloader/tegra234-mb1-bct-dram-ecc-l4t.dtsi, we observed the following parameters:

#include "tegra234-mb1-bct-dram-ecc.dtsi"

/ {
    misc {
        enable_dram_page_retirement = <1>;
        enable_dram_error_injection = <0>;
        enable_dram_staged_scrubbing = <0>;
    };
};

We would like to ask:

  • If we set all these values to 0, does that effectively disable ECC?
  • If so, would the system memory be restored to the full 64GB?
  • Are these settings changeable after flashing and booting the OS, or must they be configured beforehand

Yes, it will

  • If so, would the system memory be restored to the full 64GB?

No, it won’t.

  • Are these settings changeable after flashing and booting the OS, or must they be configured beforehand

No, it has to be done before flash.

Yes, it will

A minor correction. SBE test may still work but DBE won’t.

So the available Memory Size of AGX Orin Industrial is always fixed at 56GB?

There are some preserved memory which is not related ECC but other usecase and we don’t suggest to configure them.

1 Like

Got it, Thanks reply.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.