i.MX28evk u-boot stops booting the kernel

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

i.MX28evk u-boot stops booting the kernel

Jump to solution
1,333 Views
chris321
Contributor IV

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

BOOT:  SSP SD/MMC #0, 3V3

I2C:   ready

DRAM:  128 MiB

MMC:   MXS MMC: 0

*** 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-2.6.35.3-571-gcca29a0

   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

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 u-boot.sd 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

thx

Labels (2)
Tags (3)
0 Kudos
1 Solution
593 Views
fabio_estevam
NXP Employee
NXP Employee

The console should be:

console=ttyAM0 , if you use 2.6.35 kernel from Freescale

or

console=ttyAMA0, if you use a mainline kernel.

View solution in original post

0 Kudos
1 Reply
594 Views
fabio_estevam
NXP Employee
NXP Employee

The console should be:

console=ttyAM0 , if you use 2.6.35 kernel from Freescale

or

console=ttyAMA0, if you use a mainline kernel.

0 Kudos