COM iMX6 Bootloader U-Boot: Difference between revisions
From Wiki-DB
Jump to navigationJump to search
Ageisreiter (talk | contribs) Replaced content with "== FAQ == == Downloads == == Enter Bootloader Console == :#Connect DHCOM UART1 (FF UART) via null modem cable to the RS232 Port of your PC :#Start terminal program (e.g. Te..." |
Ageisreiter (talk | contribs) |
||
Line 14: | Line 14: | ||
==U-boot console commands== | ==U-boot console commands== | ||
=== SPI Flash === | |||
'''Only available at iMX25''' | |||
:'''SPI Flash Init''' | |||
:{| class="wikitable" | |||
|''<code>sf probe <bus:cs> [frequency]</code>'' | |||
|} | |||
:Example: <code>sf probe 0:1</code> | |||
:Description: Initializes the OnBoard SPI Flash | |||
:'''SPI Flash Read''' | |||
:{| class="wikitable" | |||
|''<code>sf read <SDRAM address> <SPI Flash address> <Bytes></code>'' | |||
|} | |||
:Example: <code>sf read 80000000 40000 10000</code> | |||
:Description: Copies 64kByte from SPI Flash address 0x4_0000 to SDRAM address 0x8000_0000 | |||
:'''SPI Flash Write''' | |||
:{| class="wikitable" | |||
|''<code>sf write <SDRAM address> <SPI Flash address> <Bytes></code>'' | |||
|} | |||
:Example: <code>sf write 80000000 40000 10000</code> | |||
:Description: Copies 64kByte from SDRAM address 0x8000_0000 to SPI Flash address 0x4_0000 | |||
:'''SPI Flash Erase''' | |||
:{| class="wikitable" | |||
|''<code>sf erase <SPI Flash address> <Bytes></code>'' | |||
|} | |||
:Example: <code>sf erase 40000 10000</code> | |||
:Description: Deletes SPI Flash content from address 0x4_0000 to 0x4_FFFF | |||
:Note: The Bytes information needs to be sector size aligned! |
Revision as of 09:39, 26 May 2014
FAQ
Downloads
Enter Bootloader Console
- Connect DHCOM UART1 (FF UART) via null modem cable to the RS232 Port of your PC
- Start terminal program (e.g. Tera Term) on the Host PC with the following settings:
- Baud rate: 115200
- Data: 8 bit
- Parity: none
- Stop bits: 1 bit
- Flow control: none
- Press "del" on the Host PC during Core Module system start to enter bootloader console
U-boot console commands
SPI Flash
Only available at iMX25
- SPI Flash Init
sf probe <bus:cs> [frequency]
- Example:
sf probe 0:1
- Description: Initializes the OnBoard SPI Flash
- SPI Flash Read
sf read <SDRAM address> <SPI Flash address> <Bytes>
- Example:
sf read 80000000 40000 10000
- Description: Copies 64kByte from SPI Flash address 0x4_0000 to SDRAM address 0x8000_0000
- SPI Flash Write
sf write <SDRAM address> <SPI Flash address> <Bytes>
- Example:
sf write 80000000 40000 10000
- Description: Copies 64kByte from SDRAM address 0x8000_0000 to SPI Flash address 0x4_0000
- SPI Flash Erase
sf erase <SPI Flash address> <Bytes>
- Example:
sf erase 40000 10000
- Description: Deletes SPI Flash content from address 0x4_0000 to 0x4_FFFF
- Note: The Bytes information needs to be sector size aligned!