U-Boot Booting from SD-card

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

U-Boot Booting from SD-card

1,593 Views
kapilkumar
Contributor III

Hello Friends,

I am trying to run u-boot bootloader on i.mx6 sabre sd platform. I successfully compiled u-boot and created u-boot.imx and trying to download on SD-Card by following the below steps:

sudo dd if=u-boot.imx of=/dev/sdb bs=1K seek=1;

sync

Before downloading u-boot.imx , i did storage partition using the below steps:

cd <our directory path>

sudo chmod +x ./device/fsl/common/tools/fsl-sdcard-partition.sh

sudo ./device/fsl/common/tools/fsl-sdcard-partition.sh -f  /dev/sdb

OUTPUT of the above steps:

Disk /dev/sdb: 7948 MB, 7948206080 bytes

245 heads, 62 sectors/track, 1021 cylinders, total 15523840 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System

/dev/sdb1           15190       45569       15190   83  Linux

/dev/sdb2           45570       75949       15190   83  Linux

/dev/sdb3           75950     2293689     1108870    5  Extended

/dev/sdb4         2293690    15645699     6676005   83  Linux

/dev/sdb5           75951     1139249      531649+  83  Linux

/dev/sdb6         1139251     2202549      531649+  83  Linux

/dev/sdb7         2202551     2232929       15189+  83  Linux

/dev/sdb8         2232931     2263309       15189+  83  Linux

After all the above steps applied ,i put our SD-Card in the board slot and tried to do booting.

No message is coming  on the minicom.

Please, help me to get it done.

Thanks & Regards,

Kapil Kumar

Labels (2)
0 Kudos
1 Reply

746 Views
art
NXP Employee
NXP Employee

Please refer to attached document, especially, to the Sections 4.3 and 4.4. Hope it will help.


Have a great day,
Artur

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos