2376786_en-US

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

2376786_en-US

2376786_en-US

How to flash u-boot in eMMC partition(boot1) in i.MX8M Mini

Hi there,

We wish to flash and boot from the eMMC's boot0 and boot1 partitions using the i.MX8M MINI board.

Could you advise me on any necessary kernel modifications and uuu file changes to flash the images into the board?

Regards,

Dharmik

Re: How to flash u-boot in eMMC partition(boot1) in i.MX8M Mini

Hello,

Yes, please refer to the UUU github for a sample script for this task, and for the modifications you may refer to the documentation:
https://github.com/nxp-imx/mfgtools/wiki/Sample-scripts#burn-yocto-image-to-emmc-by-linux-kernel

Documentation:
https://github.com/nxp-imx/mfgtools/releases/download/uuu_1.5.243/UUU.pdf

Best regards/Saludos,
Aldo.

Re: How to flash u-boot in eMMC partition(boot1) in i.MX8M Mini

You can read the doc:i.MX8QXP eMMC Secondary Boot and change to 8mm

https://community.nxp.com/t5/NXP-Tech-Blog/i-MX8QXP-eMMC-Secondary-Boot/ba-p/1257704#M45https://comm...


i.MX8QXP_emmc_boot_part_secondary_boot.uuu

write to boot2 section, what you want.

# Secondary boot 
FB: ucmd setenv part 2 
FB: ucmd if test ${part} != 7; then mmc dev ${emmc_dev} ${part}; else mmc dev ${emmc_dev}; fi
#FB: download -f imx-boot-imx8qxpc0mek-sd.bin-flash-L5.4.47-2.2.0
FB: download -f imx-boot-imx8qxpc0mek-sd.bin-flash-L5.4.70-2.3.0 
FB: ucmd echo    ${fastboot_bytes}
FB: ucmd setexpr blks ${fastboot_bytes} / 0x200; setexpr blks ${blks} + 1
FB: ucmd mmc write ${loadaddr} ${boot_offset} ${blks}

full script

uuu_version 1.2.39

SDPS: boot -f imx-boot-imx8qxpc0mek-sd.bin-flash-L5.4.70-2.3.0
SDPV: delay 1000
SDPV: write -f imx-boot-imx8qxpc0mek-sd.bin-flash-L5.4.70-2.3.0 -skipspl
SDPV: jump

#FB: ucmd setenv emmc_dev 1 
FB: ucmd setenv part 1 
FB: ucmd setenv boot_offset 0x0 
FB: ucmd setenv fastboot_dev mmc 
FB: ucmd setenv mmcdev ${emmc_dev}  
FB: ucmd if test ${part} != 7; then mmc dev ${emmc_dev} ${part}; else mmc dev ${emmc_dev}; fi
FB: ucmd setenv fastboot_buffer ${loadaddr}
FB: download -f imx-boot-imx8qxpc0mek-sd.bin-flash-L5.4.47-2.2.0
#FB: download -f imx-boot-imx8qxpc0mek-sd.bin-flash-L5.4.70-2.3.0 
FB: ucmd echo    ${fastboot_bytes}
FB: ucmd setexpr blks ${fastboot_bytes} / 0x200; setexpr blks ${blks} + 1
FB: ucmd mmc write ${loadaddr} ${boot_offset} ${blks}
# Secondary boot 
FB: ucmd setenv part 2 
FB: ucmd if test ${part} != 7; then mmc dev ${emmc_dev} ${part}; else mmc dev ${emmc_dev}; fi
#FB: download -f imx-boot-imx8qxpc0mek-sd.bin-flash-L5.4.47-2.2.0
FB: download -f imx-boot-imx8qxpc0mek-sd.bin-flash-L5.4.70-2.3.0 
FB: ucmd echo    ${fastboot_bytes}
FB: ucmd setexpr blks ${fastboot_bytes} / 0x200; setexpr blks ${blks} + 1
FB: ucmd mmc write ${loadaddr} ${boot_offset} ${blks}

FB: ucmd setenv part 1
FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} ${part} 0
FB: done





https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/iMX-secondary-boot-collection/ta-p/19169...


タグ(1)
評価なし
バージョン履歴
最終更新日:
4 週間前
更新者: