T1024RDB boot from sd card

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

T1024RDB boot from sd card

Jump to solution
1,302 Views
rdk
Contributor I

Hi,

I have accidently brick my T1024RDB NOR flash and so I'm trying to recover it since it is not able to boot anymore.

My question is how to correctly create a SD card and set the switches on the board in order to have the CPU boot from the SD card.

I'm using QorIQ SDK v2.0-1703 and I have try the following procedure : 

  1.   Copy the u-boot binary (u-boot-sdcard.bin) on the sd with dd command (dd if=u-boot-sdcard.bin of=/dev/sdc seek=8 bs=512).
  2. Copy the FMan micro code on the sd with dd command (dd if=fsl_fman_ucode_t1024_r1.0_106_4_18.bin of=/dev/sdc seek=2080 bs=512).
  3. Copy the QE engine micro code on the sd with dd command (dd if=iram_Type_A_T1024_r1.0.bin of=/dev/sdc seek=2336 bs=512).

Note the descriptor of my sd card is /dev/sdc on my linux station.

I have set the switches of the board to the following position : 

Switches12345678
SW1ONONOFFONONONONON
SW2ONONOFFOFFOFFOFFOFFOFF
SW3ONOFFOFFONONONONOFF

With the above settings the CPU does not boot, I have no activity on the terminal port. 

I would like to have any hints or advise.

Thanks in advance,

Renaud De Koninck

Labels (1)
0 Kudos
1 Solution
1,130 Views
ufedor
NXP Employee
NXP Employee

Described steps are correct.

Please confirm that "u-boot-sdcard.bin" is actually "u-boot-sdcard-2016.01+fslgit-r0.bin" from the "QorIQ Linux SDK v2.0 PPC64E5500 IMAGE.iso".

View solution in original post

0 Kudos
5 Replies
1,130 Views
rdk
Contributor I

Hi Ufedor,

Thanks for the reply I have tried booth u-boot binaries, a generate u-boot from the SDK-2.0 sources and the u-boot-sdcard-2016.01+fslgit-r0.bin from the QorIQ Linux SDK v2.0 PPC64E5500 IMAGE.iso. 

Actually both are now working, I made an error in the SW1 configuration that was not as described in my post.

Anyway thanks you for your confirmation about the correctness of the steps.

Regards,

Renaud

0 Kudos
1,131 Views
ufedor
NXP Employee
NXP Employee

Described steps are correct.

Please confirm that "u-boot-sdcard.bin" is actually "u-boot-sdcard-2016.01+fslgit-r0.bin" from the "QorIQ Linux SDK v2.0 PPC64E5500 IMAGE.iso".

0 Kudos
1,130 Views
yusufalti333
Contributor IV

On T1042 Demo board, I did exactly the same steps mentioned in this question, and board stucked at this screen. Do you have any suggestion about this error. I used SDK V2.0 - 1703 yocto generated 'u-boot-sdcard-2016.09-fslgit+r0.bin' and 'fsl_fman_ucode_t1040_r1.1_106_4_18.bin'. 

I double checked switch settings, thet are correct.

pastedImage_1.png

0 Kudos
1,131 Views
yusufalti333
Contributor IV

Hello ufedor
Is this method also valid for on-board eMMC with same switch settings ? Our custom design have two options to boot ( nor flash / on-board eMMC) and I want to boot using eMMC.

0 Kudos
1,131 Views
ufedor
NXP Employee
NXP Employee

T1024 can boot from eMMC.

Which exactly settings to use depends on the custom board design.

0 Kudos