IMX6Q SABRE Board for Smart Devices install Ubuntu14.04

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

IMX6Q SABRE Board for Smart Devices install Ubuntu14.04

1,731 Views
yangjiao
Contributor I

Hi,

     I want to install UBUNTU14.04 or ubuntu16.04 on the IMX6Q SABRE Board for Smart Devices.

Who can help me,please. I try to install Ubuntu14.04 on SD card success .But can not flash it to emmc.

So who can give me a prompt,thank you very much.!!

   我需要在 IMX6Q SABRE Board for Smart Devices的emmc上安装ubuntu14.04或者ubuntu16.04,谁能帮助我,我试着在SD卡上安装了ubuntu14.04,但是我需要把ubuntu14.04安装在emmc上,请教谁能给我个提示或者镜像,非常感谢!!!

Labels (3)
0 Kudos
14 Replies

1,372 Views
igorpadykov
NXP Employee
NXP Employee

Hi yang

please check link below

https://boundarydevices.com/tag/ubuntu/

Best regards

igor

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

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

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

0 Kudos

1,372 Views
yangjiao
Contributor I

Thank you

I am a beginner study embedded linux on a IMX6Q SABRE board.

May I ask you some question.

If I want to write system to burn into the emmc, was that first dd the uboot in SD card to run, then only use "ums 0 mmc 0" to flash the ubuntu image to emmc???

0 Kudos

1,372 Views
jimmychan
NXP TechSupport
NXP TechSupport

you can use mfgtool to program the images to emmc.

0 Kudos

1,372 Views
yangjiao
Contributor I

Hi jive

Thank you

I just use the mfgtool to program the images to emmc.

first I follow the https://eewiki.net/display/linuxonarm/i.MX6qSABREBoardforSmart+Devices#i.MX6qSABREBoardforSmartDevices-Availability

instruction to install the ubuntu14.04 to SD card,and it can power on success.

But I need to install ubuntu14.04 on the emmc on board.

I change the ucl2.xml in the Mfgtool,and change the (dd or tar xf)according to the tutorial above.

Then it can burn the ubuntu in emmc.But cannot restart success,error follow:

U-Boot 2014.10-dirty (Aug 23 2016 - 15:26:34)

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

Reset cause: POR

Board: MX6-SabreSD

I2C: ready

DRAM: 1 GiB

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

MMC: no card present

MMC init failed

Using default environment

No panel detected: default to Hannstar-XGA

Display: Hannstar-XGA (1024x768)

In: serial

Out: serial

Err: serial

PMIC: PFUZE100 ID=0x10

Net: FEC

Error: FEC address not set.

Hit any key to stop autoboot: 0

switch to partitions #0, OK

mmc2(part 0) is current device

SD/MMC found on device 2

Checking for: /uEnv.txt ...

Checking for: /boot/uEnv.txt ...

    • Invalid partition 2 **

    • Invalid partition 3 **

    • Invalid partition 4 **

    • Invalid partition 5 **

    • Invalid partition 6 **

    • Invalid partition 7 **

MMC: no card present

SD/MMC found on device 0

Checking for: /uEnv.txt ...

MMC: no card present

    • Bad device mmc 0 **

Checking for: /boot/uEnv.txt ...

MMC: no card present

    • Bad device mmc 0 **

MMC: no card present

    • Bad device mmc 0 **

MMC: no card present

    • Bad device mmc 0 **

MMC: no card present

    • Bad device mmc 0 **

MMC: no card present

    • Bad device mmc 0 **

MMC: no card present

    • Bad device mmc 0 **

MMC: no card present

    • Bad device mmc 0 **

=>

May you help me ? or give some tips.thank you .

jiaoyang@idriverplus.com

0 Kudos

1,372 Views
jimmychan
NXP TechSupport
NXP TechSupport

which BSP are you using now?

0 Kudos

1,372 Views
yangjiao
Contributor I

Not BSP.

I follow the https://eewiki.net/display/linuxonarm/i.MX6qSABREBoardforSmart+Devices#i.MX6qSABREBoardforSmartDevices-Availability instruction to install the ubuntu14.04 to SD card.

0 Kudos

1,372 Views
jimmychan
NXP TechSupport
NXP TechSupport

Or you can show me your modified cfg.ini and ucl2.xml

0 Kudos

1,372 Views
yangjiao
Contributor I

Attachment is before have no modify.

It can install ubuntu12(oneiric linaro )on emmc.

0 Kudos

1,372 Views
jimmychan
NXP TechSupport
NXP TechSupport

I cannot find the ucl2.xml that you modified. please attach it again. And please tell me which LIST name you used in the script.

0 Kudos

1,372 Views
yangjiao
Contributor I

Thank you your help,

LIST name="ubuntu-SabreSD-eMMC" is my modify according to the

https://eewiki.net/display/linuxonarm/i.MX6qSABREBoardforSmart+Devices#i.MX6qSABREBoardforSmartDevices-Bootloader:U-Boot

instruction.

附件是我修改过的ucl2.xml,谢谢

0 Kudos

1,372 Views
jimmychan
NXP TechSupport
NXP TechSupport

Seems that the problem is in the uEnv.txt. So, you can modify the uEnv.txt. Please check the number behind the 'mmcblk' is setup correctly. In our BSP for the SabreSD board, mmcblk2 is SD card and mmcblk3 is EMMC.  Or you can type the bootcmd in u-boot by yourself. You can read our BSP user's guide for reference. You can download the Linux BSP documentation from here :

i.MX 6 Series Software and Development Tool|NXP 

For example:    

There is i.MX_Linux_User's_Guide.pdf , Section 4.4.1.2 Using eMMC.

In the step 10, there is an example of bootcmd:

10. Boot up the system through RFS in eMMC by HDMI:

• For i.MX 6 boards:
U-Boot > setenv mmcargs 'setenv bootargs ${bootargs} root=/dev/mmcblk3p2 rootwait rw video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24'

0 Kudos

1,372 Views
yangjiao
Contributor I

this is my modify ucl2.xml about install ubuntu on emmc.

0 Kudos

1,372 Views
jimmychan
NXP TechSupport
NXP TechSupport

There are different version of mfgtool for different BSP, so which version of mfgtool are you using?

0 Kudos

1,372 Views
yangjiao
Contributor I

use the Mfgtool-Rel-13.01.00

First the mfgtool can flash the ubuntu12.04(oneiric linaro)in emmc.

I modify the ucl2.xml to flash the Ubuntu14.04.

follow the https://eewiki.net/display/linuxonarm/i.MX6qSABREBoardforSmart+Devices#i.MX6qSABREBoardforSmartDevices-Availability instruction.

0 Kudos