Boot Using SD Card

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Boot Using SD Card

跳至解决方案
3,745 次查看
Nirjul_Patel
Contributor III

Hello,

I Am Using Following Step And Generate Image Screenshot from 2022-01-04 09-56-36.png

Image List:-

Screenshot from 2022-01-04 09-56-43.png

I Want To Boot A Board Using SD Card So, What Image File should i Use?

标签 (1)
0 项奖励
回复
1 解答
3,693 次查看
Yuri
NXP Employee
NXP Employee

@Nirjul_Patel 
Hello,

   hardly it is good idea to use i.MX 6ULL configuration for i.MX8Mm.

Regards,
Yuri.

 

在原帖中查看解决方案

0 项奖励
回复
5 回复数
3,728 次查看
Nirjul_Patel
Contributor III

Hello,

How To i.MX 8M SoC, the second program loader (SPL) is enabled in U-Boot?

I Mean Any Configuration Require In local.conf or other file


Secound Quation Is I Want To .sdcard or .wic.gz file then Any Configuration change or Add in Machine configuration and local.conf File

0 项奖励
回复
3,717 次查看
Yuri
NXP Employee
NXP Employee

@Nirjul_Patel 
Hello,

   the SPL is default U-boot configuration option for i.MX8M.

Use Chapter 3 (Porting U-Boot) of "i.MX Porting Guide" how to build new
U-boot.

 Generally customers can just to re-write new U-boot  in SD card (.wic)
image. To burn the boot image to the SD card, execute the following command:


dd if=<boot_image> of=/dev/sd<x> bs=1k seek=<offset> conv=fsync

offset is: 33 - for  i.MX 8M Quad, i.MX 8M Mini.

Regards,
Yuri.

 

0 项奖励
回复
3,712 次查看
Nirjul_Patel
Contributor III

I Using iMX8mm Board, So $ make mx6ull_14x14_evk_defconfig This Command Is Change Or Not ?
If Change So which Command i used?

$ cd uboot-imx
$ make distclean
$ make mx6ull_14x14_evk_defconfig
$ make

0 项奖励
回复
3,694 次查看
Yuri
NXP Employee
NXP Employee

@Nirjul_Patel 
Hello,

   hardly it is good idea to use i.MX 6ULL configuration for i.MX8Mm.

Regards,
Yuri.

 

0 项奖励
回复
3,735 次查看
Yuri
NXP Employee
NXP Employee

@Nirjul_Patel 
Hello,

    According to section 4.1.1 (Bootloader) of “IMX_LINUX_USERS_GUIDE.pdf”:

   The pre-built or Yocto project default bootloader names start with the name of the bootloader followed by the name of the platform and board and followed by the name of the device that this image is configured to boot from: u-boot-[platform][board]_[machine_configuration].bin. If no boot device is specified, it boots from SD/MMC.

   On i.MX 8, the U-Boot cannot boot the device by itself. The i.MX 8 pre-built images or Yocto Project default bootloader is imx-boot for the SD card, which is created by the imx-mkimage.

   On i.MX 8M SoC, the second program loader (SPL) is enabled in U-Boot. SPL is implemented as the first-level bootloader running on TCML (For i.MX 8M Nano and i.MX 8M Plus, the first-level bootloader runs in OCRAM).

 https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf

 

Summary Page:

 https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

 UUU is recommended for system deployment; for the recent Linux NXP BSP:

 # This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ

SDP: boot -f imx-boot-imx8mmevk-sd.bin-flash_evk

 

Regards,
Yuri.

0 项奖励
回复