How to flash the freescale Linux image to the SD card? (i.MX28 EVK)

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

How to flash the freescale Linux image to the SD card? (i.MX28 EVK)

2,127 Views
christophk
Contributor II

Hi,

we own a i.MX28 EVK and I switched of the Board while Linux was running - now the ext2 filesystem is broken and the gui doesn't come up.

I would like to bring the SD card to the "factory default", as it was delivered with the evaluation kit. I already downloaded

  1. CFImager.v1.7.3.001_bin+src
  2. L2.6.35_1.1.0_130130_images_MX28

but now I'm stuck and don't know how to use the tool and the files. I tried

CFImager.exe -d f -f rootfs.ext2

and

CFImager.exe -d f -f imx28_uboot.sb

but in both cases when I insert the card into the i.MX28 EVK the serial console just outputs a hexadecimal number instead of booting, e.g.

0x80502008

How can I write the Linux Image that was shipped with the board to a SD card?

Thanks

Christoph

Labels (2)
0 Kudos
5 Replies

1,146 Views
pt
Senior Contributor I

Hi

     If you have linux, then follow the steps in this blog

     http://importgeek.wordpress.com/2014/07/25/burning-imx28-ltib-image-to-sd-card-and-booting/

Regards

Pt

0 Kudos

1,146 Views
christophk
Contributor II

Thanks, but unfortunately ;-) we're using windows.

I do have the option to grab a computer and install linux, but hopefully there's an easier way to write the sd card image under windows ...

0 Kudos

1,146 Views
pt
Senior Contributor I

Hi

      cfimager.exe -f <file> -d <drive to which sd card is connected>  -a

     0x80502008 is rom error code

Regards

Pt

1,146 Views
christophk
Contributor II

Thanks for the error codes.

I tried flashing the sd card with the -a option, as suggested:

C:\Temp\CFImager.v1.7.3.001_bin+src>CFImager.exe -f imx28_uboot.sb -d f -a

drive = F

removable = no

device block size = 512 bytes

device block count = 0xeccc46

firmware size = 0x224b0 bytes (0x113 blocks)

extra blocks = 1772

Writing LDT...

Writing firmware...

Writing FAT partition...

Writing MBR...

done!

C:\Temp\CFImager.v1.7.3.001_bin+src>

The error codes I'm getting are as follows:

*plug in power*

0x8050100f

0x8050100f

*some time elapses*

0x80502008

          0x8050100f

*some time elapses*

0x80502008

          0x8050100f

*some time elapses*

...

Am I flashing the correct file (imx28_uboot.sb)?

I probably need to copy the file system onto the SD card, too - how would I do that?

Thanks

Christoph

0 Kudos

1,146 Views
pt
Senior Contributor I

Hi

     Try to use imx28_ivt_uboot.sb (The i.MX28 EVK is HAB enabled by default)

     Booting and Testing IMX287 evk

Regards

Pt

0 Kudos