AnsweredAssumed Answered

i.MX28evk u-boot stops booting the kernel

Question asked by chris321 on Feb 7, 2013
Latest reply on Feb 7, 2013 by Fabio Estevam

Hello community,


I try to boot the i.MX28evk with u-boot, this is what I get


U-Boot 2013.01-00161-g6e787b7-dirty (Feb 07 2013 - 13:59:57)


CPU:   Freescale i.MX28 rev1.2 at 454 MHz


I2C:   ready

DRAM:  128 MiB


*** Warning - bad CRC, using default environment


In:    serial

Out:   serial

Err:   serial

Net:   FEC0 [PRIME]

Warning: FEC0 using MAC address from net device

, FEC1

Warning: FEC1 using MAC address from net device


Hit any key to stop autoboot:  0

MX28EVK U-Boot > fatload mmc 0:2 0x42000000 /uImage

reading /uImage

2562184 bytes read in 818 ms (3 MiB/s)

MX28EVK U-Boot > setenv bootargs console=ttySP0,115200 noinitrd root=/dev/mmcblk0p3 rootfstype=ext2 rw rootdelay=1

MX28EVK U-Boot > bootm

## Booting kernel from Legacy Image at 42000000 ...

   Image Name:   Linux-

   Created:      2012-12-05   9:57:50 UTC

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    2562120 Bytes = 2.4 MiB

   Load Address: 40008000

   Entry Point:  40008000

   Verifying Checksum ... OK

   Loading Kernel Image ... OK



Starting kernel ...


Uncompressing Linux... done, booting the kernel.



This is what I have done:

  • build u-boot 2013.01 from denx git with mx28evk_config
  • build kernel 2.6.35 and rootfs with LTIB
  • created MMC Card

/dev/sdb1      2048          4095          1024    53    OnTrack DM6 Aux3

/dev/sdb2      4096        24575        10240      e    W95 FAT16 (LBA)

/dev/sdb3    24576    7733247    3854336    83    Linux

  • dd'ed u-boot to /dev/sdb1
  • mkfs.vfat'ed /dev/sdb2, mounted it, copied uImage there, umounted
  • mkfs.ext2'ed /dev/sdb3, mounted it, and untared (tar xfvj) the rootfs.tar.bz2 to it, umounted


Now I think there is something wrong with my bootargs, this is how I try to boot:


-> fatload mmc 0:2 0x42000000 /uImage

-> setenv bootargs console=ttySP0,115200 noinitrd root=/dev/mmcblk0p3 rootfstype=ext2 rw

-> bootenv