Greetings. Is there any way to force an unprogrammed board to boot from the SD card? I have a blank SPI Flash device and default fuses on the processor.
Announcement
Collapse
No announcement yet.
Force boot from SD card
Collapse
X
-
If you are using iMX6, and you would like to test booting from SD card, this may help: https://www.imx6rex.com/open-rex/sof...with-software/
Especially the text at the end of the page:
Testing uBoot (optional)
OpenRex always starts booting from SPI. If you would like to test the uBoot on SD card, go to uBoot and run following commands:
Code:mw.l 0x020d8040 0x2840; mw.l 0x020d8044 0x10000000; reset
-
Is there any other way to program the SPI Flash memory on an OpenRex board beside through the USB OTG port?
Comment
-
Hello,
I have the same question, so just to clarify ..
OpenRex boots from SPI flash so there must be some code in SPI flash (uboot) to boot, correct ?
And, for fresh boards with blank SPI flash, code must be uploaded to SPI flash, correct ?
If all true, is OTG USB the only way to upload code to SPI flash or is there another method ?
If true, then my custom board MUST have OTG USB installed, correct ?
Thanks,
-Randy
-
-
It depends ... if I remember right, one is with offset and the other one not (if you open the files in hex editor, you should see there difference where they start). So it depends how you are writing the file into the CPU or FLASH.
This may help: https://www.imx6rex.com/open-rex/sof...ot_empty_board
Comment
-
BCVegas you can find a lot of information about "How to ..." on our iMX6 Rex website :
Hardware Getting started with OpenRex Schematic Software How to start with Software How to prepare Filesystem Source codes (Jethro): uBoot
Programming fuses:
https://www.imx6rex.com/open-rex/sof...-fuse-command/
Comment
Comment