flash sdcard localy

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,557件の閲覧回数
Ahelion
Contributor IV

Hi all,

Instead of using the UUU thing to flash android on imx8 over serial wire, can one flash and sd-card localy from a Linux/Windows pc, and simply insert the sd-card after?

Br, Mircea

タグ(1)
0 件の賞賛
返信
1 解決策
1,535件の閲覧回数
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @Ahelion !

 

Please refer to ANDROID_USERS_GUIDE in chapter 5 (Programming Images).

 

There is explained the different methods for to download the images to SD card in your case.

 

Alejandro_Salas_0-1699392364456.png

 

There is a tool called imx-sdcard-partition.sh and it is used for download all images to the SD card.

 

Normally the use of imx-sdcard-partition.sh is:

$ sudo ${MY_ANDROID}/device/nxp/common/tools/imx-sdcard-partition.sh -f
 <soc_name> /dev/sdX
# <soc_name> can be imx8mm,imx8mn,imx8mp,imx8mq, imx8ulp, imx8qm,imx8qxp.

and where sdX is the disk index assigned for your Linux host to your SDcard.

You can know what index is assigned to your SDcard with:

$ lsblk -t

 

I hope this can helps to you.

 

Best regards!

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,536件の閲覧回数
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @Ahelion !

 

Please refer to ANDROID_USERS_GUIDE in chapter 5 (Programming Images).

 

There is explained the different methods for to download the images to SD card in your case.

 

Alejandro_Salas_0-1699392364456.png

 

There is a tool called imx-sdcard-partition.sh and it is used for download all images to the SD card.

 

Normally the use of imx-sdcard-partition.sh is:

$ sudo ${MY_ANDROID}/device/nxp/common/tools/imx-sdcard-partition.sh -f
 <soc_name> /dev/sdX
# <soc_name> can be imx8mm,imx8mn,imx8mp,imx8mq, imx8ulp, imx8qm,imx8qxp.

and where sdX is the disk index assigned for your Linux host to your SDcard.

You can know what index is assigned to your SDcard with:

$ lsblk -t

 

I hope this can helps to you.

 

Best regards!

0 件の賞賛
返信
1,526件の閲覧回数
Ahelion
Contributor IV

LE: changed sdcard, it worked with a 32gb model.

 

Hello,

I did what you said, returned the error bellow.

"

make gpt partition for android: partition-table.img
17+0 records in
17+0 records out
17408 bytes (17 kB, 17 KiB) copied, 0,00641273 s, 2,7 MB/s

/dev/sdb:
re-reading partition table
Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.

Warning! One or more CRCs don't match. You should repair the disk!
Main header: OK
Backup header: ERROR
Main partition table: OK
Backup partition table: ERROR

Caution! Secondary header was placed beyond the disk's limits! Moving the
header, but other problems may occur!
Aborting write operation!

"

 

Any ideea what to do?

Br, Mircea

0 件の賞賛
返信