imx8mini - need help entering manufacture mode

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

imx8mini - need help entering manufacture mode

1,009件の閲覧回数
frank_vanhooft
Contributor III

We have a custom imx8mini board. We're able to program the onboard SD1 eMMC flash using the serial bootloader. So the board is now booting U-Boot & Linux from the flash, which is great.

We're trying to persuade the board to boot from an SD card on SD2. To enter "manufacture mode". We scope the SD2 signals (CMD and CLK) but no matter what we try, we see no activity at all on the SD2 interface. What we've tried:

  • We've confirmed from the fuses that manufacture mode is not disabled, and, the imx is set to boot using the fuse settings (not the GPIO pins)
  • We have DIP switches on the two boot mode pins, so we've tried all 4 combinations of boot mode.
  • We have tried SD2 card detect in 2 different ways, as described in section 10.3.3.7 of the reference manual. When the SD card is present, SD2_CD is low, and also DATA3 is high.

Despite all this, we see no activity on the SD2 interface. Some questions:

  1. Section 4.2 of the datasheet states that three GPIO pins: GPIO1_IO4, 8 & 7 are involved in SD2 boot. What are those pins used for?

  2. Section 6.1.11 of the reference manual seems to imply that manufacture mode is only attempted if the normal internal boot fails. Is that correct? Perhaps the reason we cannot enter manufacture mode is because we're happily booting from SD1 eMMC flash?

It's really puzzling to us. From what we can determine in the documentation, if manufacture mode is enabled, the imx should attempt to boot from SD2 if it sees a card present on SD2. But we're not seeing any activity at all on the SD2 clock or data lines. Any suggestions would be appreciated.

Thanks.

0 件の賞賛
5 返答(返信)

990件の閲覧回数
frank_vanhooft
Contributor III

Agreed, we should be able to enter manufacture mode. But we're unable to do so at the moment. So we've circled back to the original post. Which is:

We have a custom imx8mini board. We're able to program the onboard SD1 eMMC flash using the serial bootloader. So the board is now booting U-Boot & Linux from the flash, which is great.

We're trying to persuade the board to boot from an SD card on SD2. To enter "manufacture mode". We scope the SD2 signals (CMD and CLK) but no matter what we try, we see no activity at all on the SD2 interface. What we've tried:

  • We've confirmed from the fuses that manufacture mode is not disabled, and, the imx is set to boot using the fuse settings (not the GPIO pins)
  • We have DIP switches on the two boot mode pins, so we've tried all 4 combinations of boot mode.
  • We have tried SD2 card detect in 2 different ways, as described in section 10.3.3.7 of the reference manual. When the SD card is present, SD2_CD is low, and also DATA3 is high.

Despite all this, we see no activity on the SD2 interface. Some questions:

  1. Section 4.2 of the datasheet states that three GPIO pins: GPIO1_IO4, 8 & 7 are involved in SD2 boot. What are those pins used for?

  2. Section 6.1.11 of the reference manual seems to imply that manufacture mode is only attempted if the normal internal boot fails. Is that correct? Perhaps the reason we cannot enter manufacture mode is because we're happily booting from SD1 eMMC flash?

It's really puzzling to us. From what we can determine in the documentation, if manufacture mode is enabled, the imx should attempt to boot from SD2 if it sees a card present on SD2. But we're not seeing any activity at all on the SD2 clock or data lines. Any suggestions would be appreciated.

Thanks.

Any ideas on other things to look at, or to try?

Thanks.

0 件の賞賛

985件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

one can erase SD1 eMMC flash and try to boot from it.

 

>Section 6.1.11 of the reference manual seems to imply that manufacture mode is only

>attempted if the normal internal boot fails. Is that correct?

 

yes

 

Best regards
igor

0 件の賞賛

1,002件の閲覧回数
frank_vanhooft
Contributor III

Thanks. If that's the case, then in the reference manual:

 

6.1.11.1 Using manufacture mode / serial download mode with eMMC
Manufacture mode is intended to allow a system to boot from a SD/MMC card on a
board with unprogrammed boot media or to upgrade the image on a boot device. 

 

How can manufacture mode upgrade the image on a boot device, if there already is an image on a boot device? You're saying once an image is present in the eMMC flash, manufacture mode doesn't work?

Thanks!

0 件の賞賛

996件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

please look at

 

1.jpg

 

Best regards
igor

0 件の賞賛

1,006件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Frank

 

>Section 6.1.11 of the reference manual seems to imply that manufacture mode

>is only attempted if the normal internal boot fails. Is that correct? 

 

right.

 

Best regards
igor

0 件の賞賛