AGX Orin 32G flash failed when upgrade jetpack from 5.0.2 to 5.1.2

As Wayne said, please always contact the board vendor for the customized BSP.
Our original BSP is only intended for DevKits from NVIDIA.