i.MX8MQ-EVK: eMMC: u-boot flashing issue

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

i.MX8MQ-EVK: eMMC: u-boot flashing issue

771 Views
vipulkumar
Contributor III

I am using i.MX8MQ-EVK. I am able to write L4.19.35.1.1.0 imx8mq-evk images to eMMC using uuu (universal update utility) from https://github.com/NXPmicro/mfgtools/releases.

When i am trying to write u-boot on /dev/mmcblk0 using dd command, it's not working.

$ dd if=imx-boot-flash_evk.bin of=/dev/mmcblk0 bs=1k seek=33

After this , I rebooted the board but u-boot is not updated.

Please let me know if I am missing something.

 

Labels (1)
0 Kudos
5 Replies

761 Views
vipulkumar
Contributor III

Hi,

Section 4.3.4 is talking about flashing u-boot to SD/MMC card.

But I wanted to flash it on eMMC.

I also tried the same command as mentioned in 4.3.4 sec to flash u-boot to eMMC but that didn't work for eMMC.

$ dd if=imx-boot-flash_evk.bin of=/dev/mmcblk0 bs=1k seek=33

0 Kudos

756 Views
igorpadykov
NXP Employee
NXP Employee

also one can look at

https://boundarydevices.com/programming-emmc-on-i-mx-platforms/

 

Best regards
igor

0 Kudos

735 Views
vipulkumar
Contributor III

Thanks for your reply.

This link doesn't have the information that I needed.

My scenario is:

1. I flashed 4.19.35 images to eMMC using uuu utility. It's working fine.

2. I created a SD card and booted h/w with it.

3. Now I wanted to flash new u-boot to eMMC partition. For this, I used following command:

   $ dd if=imx-boot-evk.bin of=/dev/mmcblk0 bs=1k seek=33

4. After this I reboot the board but u-boot is not updated.

I am suspecting that u-boot is written in some other partition.

0 Kudos

765 Views
igorpadykov
NXP Employee
NXP Employee

Hi vipulkumar

 

one can try to follow sect.4.3.4 Copying a bootloader image Linux Guide included in L4.19.35.1.1.0

Documentation

 

Best regards
igor

0 Kudos

760 Views
vipulkumar
Contributor III

Hi,

Section 4.3.4 is talking about flashing u-boot to SD/MMC card.

But I wanted to flash it on eMMC.

I also tried the same command as mentioned in 4.3.4 sec to flash u-boot to eMMC but that didn't work for eMMC.

$ dd if=imx-boot-flash_evk.bin of=/dev/mmcblk0 bs=1k seek=33

0 Kudos