Boot Using SD Card

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

Boot Using SD Card

Jump to solution
3,744 Views
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?

Labels (1)
0 Kudos
Reply
1 Solution
3,692 Views
Yuri
NXP Employee
NXP Employee

@Nirjul_Patel 
Hello,

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

Regards,
Yuri.

 

View solution in original post

0 Kudos
Reply
5 Replies
3,727 Views
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 Kudos
Reply
3,716 Views
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 Kudos
Reply
3,711 Views
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 Kudos
Reply
3,693 Views
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 Kudos
Reply
3,734 Views
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 Kudos
Reply