Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
# SPI Flash
CONFIG_ENV_IS_IN_MMC=n
CONFIG_ENV_IS_IN_SPI_FLASH=y

# eMMC boot 0
CONFIG_MVEBU_MMC_BOOT=y
CONFIG_ENV_IS_IN_MMC=y
CONFIG_ENV_IS_IN_SPI_FLASH=n
CONFIG_SYS_MMC_ENV_DEV=1
CONFIG_SYS_MMC_ENV_PART=1
  

#eMMc boot 1
CONFIG_MVEBU_MMC_BOOT=y
CONFIG_ENV_IS_IN_MMC=y
CONFIG_ENV_IS_IN_SPI_FLASH=n
CONFIG_SYS_MMC_ENV_DEV=1
CONFIG_SYS_MMC_ENV_PART=2

# microSD
CONFIG_MVEBU_MMC_BOOT=y
CONFIG_ENV_IS_IN_MMC=y
CONFIG_ENV_IS_IN_SPI_FLASH=n
CONFIG_SYS_MMC_ENV_DEV=1
CONFIG_SYS_MMC_ENV_PART=0

#Remove any other CONFIG_ENV_IS_IN_* occurrences in defconfig file
Note

Note: Since not all of the options are exposed by menuconfig, appending them to configs/sr_cn913x_cex7_defconfig before running make sr_cn913x_cex7_defconfig is the easiest.

Deploy

From Linux

  • To microSD

...

Code Block
dd if=flash-image.bin of=/dev/sdX conv=sync
  • To eMMC bootYboot

Since the eMMC is soldered to the board, this procedure has to be done on the device itself after booting into a Linux system first. Please note that as with the eMMC data partition, the Boot ROM expects to find the bootable image at the start of the partition without any offset.

...