T1040RDB uses DDR3 UDIMM. SDK uses UDIMM's SPD for DDR3 configuration. So if you want to use T1040RDB SDK, you need to use either UDIMM or emulate SPD using a EEPROM.
If you want to use non-SPD initialization, you need to use setup from other boards that do not use SPD. This can be for example P1023RDS. Also you can look at T1023RDB setup, however it uses DDR4 memory.
Regards,
Bulat