How to load linux and android image to iMX8MM?

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

How to load linux and android image to iMX8MM?

3,174件の閲覧回数
jarvis_tsai
Contributor I

Hi NXP suppotr team,

I am using i.MX8MM EVK and i have some question about load Linux and Android Image.

Linux :

1. How can I load only Linux image or Linux dtb or Linux filesystem or u-boot through u-boot with tftp?

    Could you give me example(steps) and command?

    I want to boot on eMMC.

 

2. How can I load only Linux image or Linux dtb or Linux filesystem or u-boot through UUU?

    Could you give me example(steps) and command? 

    I can only load it successfully with the command "uuu <release package>.zip".

    I want to boot on eMMC.

Android :

1. I use the uuu script "uuu-android-mx8mm-evk-emmc.lst" and it was successful.

    Is it possible to load only boot.img or dtbo-imx8mm.img?(do not reload system.img)

    Because i tried to load only boot.img without reloading system.img, it always reboot when i boot in kernel for a while.

    I want to boot on eMMC.

2. How can i load Android image through u-boot with fastboot?

    Could you give me example(steps) and command? 

    I want to boot on eMMC.

Thanks.

    

0 件の賞賛
返信
2 返答(返信)

2,196件の閲覧回数
diegoadrian
NXP Employee
NXP Employee

Hello,

I am working on the steps that you requested. However, this could take some time. I apologize for the inconveniences this could give you.

Best regards,

Diego.

0 件の賞賛
返信

2,196件の閲覧回数
diegoadrian
NXP Employee
NXP Employee

I apologize for the delay.

Please find attached a document about how to boot the i.MX8MM through tftp/nfs.

For your second problem.

The way you are using it is the best way.

Regarding your Android questions.

For the first question, is possible, but kind of difficult to make this, since you will need to modify the UUU script. What I recommend you to do is download the desired images through fastboot. 

To make this please follow the below guide:

Before using fastboot, Android SDK must be installed on the host, and the target board must boot up to bootloader. Also, U-Boot must be downloaded to the MMC/SD device with all the partitions created and formatted.

You can achieve it doing this:

1.- Run "reboot bootloader" in console after boot, the device will reset to fastboot mode. 

2.- In the host side, enter the Android SDK tools directory and find the fastboot utility (fastboot.exe on the Windows OS, fastboot on the Linux OS).

3.- Copy the images that will be flashed into the images "folder".

4.- Then you will be able to flash the image with the following commands:

$ fastboot flash gpt images\partition-table.img 

$ fastboot flash bootloader images\u-boot.imx 

$ fastboot flash boot images\boot.img 

$ fastboot flash system images\system.img 

$ fastboot flash recovery images\recovery.img 

$ fastboot flash vendor images\vendor.img 

5.-After flashing the images reboot the device with the following command

$ fastboot reboot

As a side comment, fastboot does not support flashing the bootloader into the NAND storage.

Hope this information can be useful for you.

Best regards,

Diego.

0 件の賞賛
返信