Hello Ahmet Demir,
Please check whether your custom RCW is valid on T1042D4RDB, please configure your target board as hardcoded RCW, then program your custom RCW and u-boot on NOR flash to check whether u-boot can boot up successfully.
Would you please capture low level CodeWarrior CCS log to me to do more investigation?
Please create a bareboard project for T1042RDB, then configure JTAG configuration file in CW IDE overriding RCW.
Before connect to the target, please enable CCS log from "Run->Debug Configurations-><project>-core0_RAM_-Attach->Edit...->Advanced->Advanced CCS setting->Enable logging", and connect to the target from "Run->Debug Configurations-><project>-core0_RAM_-Attach->Debug”, the CCS log will be printed in the console panel in CodeWarrior IDE.
Note: Please open the console panel from Window->Show View->Console, and if nothing displayed, please choose the correct session on the right top icon in the panel.If the CCS log in the console is truncated, please enlarge the console buffer from Window->Preferences->Run/Debug->Console->uncheck "Limit console output".
Thanks,
Yiping