Re: Change to Serial download mode on uboot for MFG Tool

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

Re: Change to Serial download mode on uboot for MFG Tool

2,596件の閲覧回数
tsung-chihwang
Contributor III

Hi Yuri,

Does "bmode usb" mean that it will boot from usb device?

BR,

carter

8 返答(返信)

2,236件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

  The U-boot command "bmode usb" means i.MX entering the serial (USB) downloader mode.

Regards,

Yuri.

2,236件の閲覧回数
tsung-chihwang
Contributor III

Hi Yuri,

However, it seems I met a strange issue.

I inserted a bootable SD card into the slot, then tried "bmode usb" command,

It will boot from SD card!

Could you tell me what the wrong is?

BR,

carter

0 件の賞賛

2,236件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

  Looks like the boot goes to the SD/MMC manufacture mode

before the serial download mode.  Please refer to boot chapter of the i.MX device

about the the SD/MMC manufacture mode. 

Regards,

Yuri.

2,236件の閲覧回数
tsung-chihwang
Contributor III

Hi Yuri,

 

I was wondering if you could tell me how to do these:
1. How to check the SD/MMC manufacture mode is enabled or not? 

2. How can I read the value of this bit "Disable SDMMC Manufacture mode" on u-boot?

    md 0x470 1?

EIM_Boot_Fusemap.png

BR,

carter

0 件の賞賛

2,236件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

   by default SD/MMC Manufacture Mode is enabled. 

For access to the fuses - base address i.MX 6ULL OCOTP is 0x021B_C000.

So, 0x021B_C470 may be used for read.

Have a great day,
Yuri

2,236件の閲覧回数
tsung-chihwang
Contributor III

Hi Yuri,

Thanks for your response.

I got this kind of test result on the same target:
(1) bmode usb=> it will enter serial download mode
(2) bmode sd1=> it can boot from the sd card.

Then I checked each part of the diagram.

It is set as below:
1. internal boot
2. boot from QSPI flash.
3. SDMMC MFG mode is not disabled.

However, why it can enter USB download mode, even already met the above three conditions.

It supposed show boot from sd card while I input bmode usb command on u-boot.

Could you help to point out where I missed?

If the result of SDMMC MFG mode boot is fail, why it can boot from sd card while I input bmode sd1 on u-boot.

SDMMC_manufacture_boot_flow.png

BR,

carter

0 件の賞賛

2,236件の閲覧回数
tsung-chihwang
Contributor III

Hi Yuri,

Thanks for your explanation.

I will check it.

Thanks so much.

BR,

carter

0 件の賞賛

2,236件の閲覧回数
aravinthkumarja
Senior Contributor II

Hi Carter,

"bmode usb" will go to USB download mode. We can flash the device through usb.

Regards,

Aravinth