Not able to boot the prebuild binary for the iMX6 ultralite EVK

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Not able to boot the prebuild binary for the iMX6 ultralite EVK

945件の閲覧回数
sourabhdas
Contributor III

Hi,

We are currently working on imx6 ultralite. Currently we are using imx6ulevk board. We downloaded the prebuilt binaries from the NXP website "L3.14.38_6ul-ga.tar.gz". This contain the yocto source and the prebuilt binaries: "L3.14.38_ga_images_MX6UL".

Inside "L3.14.38_ga_images_MX6UL", I found "fsl-image-gui-x11-imx6ulevk.sdcard". This I flashed to my sdcard with the command:

sudo dd if=fsl-image-gui-x11-imx6ulevk.sdcard of=/dev/sdb

The board was properly booted untill the filesystem.

Next I tried to flash the uboot, kernel, dtb and the filesystem into the sdcard. I followed the" i.MX_Linux_User's_Guide".

I first made two partition of my sdcard. Then:

sudo mkfs.vfat /dev/sdb1

sudo mkfs.ext3 /dev/sdb2

And then I flashed the prebuilt uboot, kernel and dtb using the commands:

sudo dd if=u-boot-imx6ulevk_sd.imx of=/dev/sdb bs=512 seek=2 conv=fsync

sudo dd if=zImage of=/dev/sdb bs=512 seek=2048 conv=fsync

sudo dd if=zImage-imx6ul-14x14-evk.dtb of=/dev/sdb bs=512 seek=20480 conv=fsync

Then I flashed the filesystem using the following steps:

mkdir ~/mountpoint

mkdir ~/rootfs

sudo mount fsl-image-gui-x11-imx6ulevk.ext3 ~/mountpoint/

sudo mount /dev/sdb2 ~/rootfs/

sudo cp -a ~/mountpoint/* ~/rootfs/

sudo umount /dev/sdb2

sudo umount ~/mountpoint/

Then I put back the sdcard to the board, and powered it.

I was getting the following log on console:

U-Boot 2015.04-imx_v2015.04_3.14.38_6ul_ga+g5d63276 (Aug 18 2015 - 21:04:15)

CPU:   Freescale i.MX6UL rev1.1 at 396 MHz

CPU:   Temperature 43 C

Reset cause: POR

Board: MX6UL 14x14 EVK

I2C:   ready

DRAM:  512 MiB

MMC:   FSL_SDHC: 0, FSL_SDHC: 1

*** Warning - bad CRC, using default environment

Display: TFT43AB (480x272)

Video: 480x272x24

In:    serial

Out:   serial

Err:   serial

switch to partitions #0, OK

mmc1 is current device

Net:   FEC1

Normal Boot

Hit any key to stop autoboot:  0

switch to partitions #0, OK

mmc1 is current device

switch to partitions #0, OK

mmc1 is current device

** Unrecognized filesystem type **

** Unrecognized filesystem type **

Booting from net ...

BOOTP broadcast 1

BOOTP broadcast 2

BOOTP broadcast 3

BOOTP broadcast 4

BOOTP broadcast 5

I think the bootargs is not proper. Can anyone please help me on it?

ラベル(1)
タグ(2)
2 返答(返信)

710件の閲覧回数
danwei_luo
NXP Employee
NXP Employee

Hi Sourabh Das,

I'm thinking maybe you can try to copy zImage and .dtb files to the first partition sdb1 using cp command, instead of using the raw address with dd command.

Since it says "Unrecognized filesystem type", so you may want to make sure that your partitioning is working properly.

Best regards,

Danwei Luo

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

710件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello Sourabh Das,

I would recommend going back to the .sdcard format as it should be the easiest way to boot the board.

Please use the following command and make sure that the partitions were created correctly and all writing on the sd card was successful as it may happen that the sync is not completed.

$ sudo dd if=fsl-image-gui-x11-imx6ulevk.sdcard of=/dev/sdb bs=1M && sync

I would also, if at all possible, try with a different SD card as there may be a problem with the SD card itself (it is rare but it may happen)

In the meantime I’ll do a test with the 3.14.38 binaries available on the web.

Regards,