AnsweredAssumed Answered

Question about u-boot on the i.MX6q SABRE SD platform

Question asked by Frank Zhang Employee on Jun 14, 2014
Latest reply on Jun 22, 2014 by Yahui Cao

Hi,all,

We bought an i.MX6q SABRE SD platform, and Android operation system was pre-installed in the SD card. Now we want to install an Ubuntu Linux operation system in the SD card, we followed the instruction on u-boot on the i.MX6 sabre sd platform in a few commands. Unfortunately, we failed when boot the SD card.

The SD card was property partitioned like:

fdisk -l /dev/sdb

 

Disk /dev/sdb: 7948 MB, 7948206080 bytes

255 heads, 63 sectors/track, 966 cylinders, total 15523840 sectors

Units = sectors of 1 * 512 = 512 bytes

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

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

Disk identifier: 0x00000000

 

   Device Boot      Start         End      Blocks   Id  System

/dev/sdb1            2048    15518789     7758371    b  W95 FAT32

Then we run the commands:

$ dd if=u-boot.imx of=/dev/sdb bs=1k seek=1

$ sync

with no warnings and errors reported.

 

But we are confused about why the u-boot.imx can not be seen in the SD card. Insert the SD card into the SD card slot of i.MX6 sabre sd platform, and connect to the USB to UART port with a serial terminal, we got the u-boot messages:

U-Boot 2014.07-rc3-00068-gd8a97f9 (Jun 13 2014 - 20:03:10)

 

CPU:   Freescale i.MX6Q rev1.2 at 792 MHz

Reset cause: POR

Board: MX6-SabreSD

DRAM:  1 GiB

MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2

*** Warning - bad CRC, using default environment

No panel detected: default to Hannstar-XGA

Display: Hannstar-XGA (1024x768)

In:    serial

Out:   serial

Err:   serial

Net:   FEC [PRIME]

Hit any key to stop autoboot:  0

switch to partitions #0, OK

mmc1 is current device

reading boot.scr

** Unable to read file boot.scr **

reading zImage

** Unable to read file zImage **

Booting from net ...

FEC Waiting for PHY auto negotiation to complete......... TIMEOUT !

BOOTP broadcast 1

BOOTP broadcast 2

BOOTP broadcast 3

BOOTP broadcast 4

BOOTP broadcast 5

Can you find any mistakes in these operations? Should the SW6-Boot Mode Selector Switch be pre-configured that the U-boot in SD card, not the U-boot in onboard Flash(If it has) take effect?

 

Best Regards!

 

Yao

Outcomes