Hello,
I have an i.MX28 EVK board and used the script mk_mx28_sd to load uboot (ixm28_ivt_uboot.sb) on the SD card. The SD card is loaded on the second partition.
The File system is loaded on the third partition.
I would like to know how can I configure UBOOT to be able to boot the kernel from the SD card. perhaps i nee to change the partition on the SD card?
By default UBOOT will try to find and boot the kernel from the network.
Thanks for your help,
:-)
Hi William,
Thanks for your help. But I was able to pass this issue. I did rebuild imx28_ivt_uboot.sb and build a new kernel (3.2.1) and having that working.
Take care,
:-)
Hi
root@william-desktop:~# fdisk -u /dev/sdb
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First sector (62-7744511, default 62): 16384
Last sector, +sectors or +size{K,M,G} (16384-7744511, default 7744511): 1064960
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 2
First sector (62-7744511, default 62): 1064961
Last sector, +sectors or +size{K,M,G} (1064961-7744511, default 7744511): 1081345
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 3
First sector (62-7744511, default 62): 1081346
Last sector, +sectors or +size{K,M,G} (1081346-7744511, default 7744511):
Using default value 7744511
Command (m for help): t
Partition number (1-4): 2
Hex code (type L to list codes): 53
Changed system type of partition 2 to 53 (OnTrack DM6 Aux3)
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
time sudo ./sdimage -f ./imx28_ivt_uboot.sb -d /dev/sdb
time sudo dd if=./uImage of=/dev/sdb bs=512 seek=256 conv=sync,notrunc
time sudo dd if=./rootfs.ext2 of=/dev/sdb3 bs=2048;sync
MX28 U-Boot > run bootcmd_mmc
The default uboot ENV parameter is included in u-boot and you could type the printenv to see it.