AnsweredAssumed Answered

Why do I get ERROR_DDI_SD_BOOT_IMAGE_NOT_FOUND  when trying to boot sd card made with mk_mx28_sd?

Question asked by Dan Edmondson on May 8, 2016
Latest reply on May 14, 2016 by Dan Edmondson

HI all,

I have a imx28 evk that I am trying to get started with building and running uboot and the kernel as I make changes. I am not having success getting ltib images to boot from my sd card. I used this particular sd card to make a clone of the card that comes with the evk and that booted fine. I notice in the output below that the partitions created don't look like the card that came with the evk, if that makes a difference during boot.

 

I do not see any errors in the output from mk_mx28_sd but when I try to boot all I get on the console is

0x8020a009

0x8020a009

0x80502008

 

Here is the output of mk_mx28_sd

 

dan@Tesla:~/imx28/ltib$ ./mk_mx28_sd -u /dev/sde

Insert the specified device (/dev/sde) now, if you have not already done so.

This script requires the use of 'sudo' and erases the content of the specified device (/dev/sde)

Are you sure you want to continue? (yes/no):

yes

Welcome to fdisk (util-linux 2.25.2).                                                                                

Changes will remain in memory only, until you decide to write them.

Be careful before using the write command.

Command (m for help): Changing display/entry units to cylinders (DEPRECATED!).

Command (m for help): Cylinders as display units are deprecated.

Created a new DOS disklabel with disk identifier 0x745e1da0.

Command (m for help): Partition type

   p   primary (0 primary, 0 extended, 4 free)

   e   extended (container for logical partitions)

Select (default p): Partition number (1-4, default 1): First cylinder (1-1021, default 1): Last cylinder, +cylinders or +size{K,M,G,T,P} (1-1021, default 1021):

Created a new partition 1 of type 'Linux' and of size 36 MiB.

Command (m for help): Selected partition 1

Hex code (type L to list all codes): If you have created or modified any DOS 6.x partitions, please see the fdisk documentation for additional information.

Changed type of partition 'Linux' to 'W95 FAT32'.

Command (m for help): Partition type

   p   primary (1 primary, 0 extended, 3 free)

   e   extended (container for logical partitions)

Select (default p): Partition number (2-4, default 2): First cylinder (5-1021, default 5): Last cylinder, +cylinders or +size{K,M,G,T,P} (5-1021, default 1021):

Created a new partition 2 of type 'Linux' and of size 30 MiB.

Command (m for help): Partition number (1,2, default 2): Hex code (type L to list all codes):

Changed type of partition 'Linux' to 'OnTrack DM6 Aux3'.

Command (m for help): Partition type

   p   primary (2 primary, 0 extended, 2 free)

   e   extended (container for logical partitions)

Select (default p): Partition number (3,4, default 3): First cylinder (10-1021, default 10): Last cylinder, +cylinders or +size{K,M,G,T,P} (10-1021, default 1021):

Created a new partition 3 of type 'Linux' and of size 7.3 GiB.

Command (m for help): Partition number (1-3, default 3): Hex code (type L to list all codes):

Changed type of partition 'Linux' to 'Linux'.

Command (m for help): Disk /dev/sde: 7.4 GiB, 7948206080 bytes, 15523840 sectors

Geometry: 245 heads, 62 sectors/track, 1021 cylinders

Units: cylinders of 15190 * 512 = 7777280 bytes

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

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

Disklabel type: dos

Disk identifier: 0x745e1da0

Device     Boot Start   End Cylinders  Size Id Type

/dev/sde1           1     5         5   36M  b W95 FAT32

/dev/sde2           5    10         5   30M 53 OnTrack DM6 Aux3

/dev/sde3          10  1021      1012  7.3G 83 Linux

 

Command (m for help): The partition table has been altered.

Calling ioctl() to re-read partition table.

Syncing disks.

 

Installing boot stream ./rootfs/boot/imx28_ivt_uboot.sb on /dev/sde2...

0+1 records in

1+0 records out

512 bytes (512 B) copied, 8.8999e-05 s, 5.8 MB/s

274+1 records in

275+0 records out

140800 bytes (141 kB) copied, 0.000365849 s, 385 MB/s

...finished installing boot stream on /dev/sde2.

 

Formatting rootfs partition...

 

mke2fs 1.42.12 (29-Aug-2014)

/dev/sde3 contains a ext2 file system

        last mounted on /home/dan/imx28/ltib/zzzsdcard on Sun May  8 15:18:30 2016

Proceed anyway? (y,n) yes

Creating filesystem with 1921471 4k blocks and 480496 inodes

Filesystem UUID: 0baabc12-5263-43bb-a481-a506cbe52048

Superblock backups stored on blocks:

        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

 

Allocating group tables: done                           

Writing inode tables: done                           

Writing superblocks and filesystem accounting information: done

Installing rootfs on /dev/sde3...

Cleaning up...

...finished installing rootfs on /dev/sde3.

 

Done! Plug the SD/MMC card into the i.MX board and power-on.

 

 

thanks,

Dan

Outcomes