generated from gaoyang3513/SDK_RK3288
How to use U-Boot on Freescale MX6DQSCM boards
----------------------------------------------
- Build U-Boot for MX6DQSCM QWKS rev2 board*:
$ make mx6dqscm_1gb_fix_qwks_rev2_defconfig
$ make
This will generate the u-boot image u-boot.imx.
- Flash the u-boot image into the micro SD card:
sudo dd if=u-boot.imx of=/dev/sdX bs=1k seek=1; sync
*Other defconfigs availabe are:
mx6dqscm_1gb_fix_qwks_rev2_defconfig
mx6dqscm_1gb_fix_qwks_rev2_spinor_defconfig
mx6dqscm_1gb_interleaving_qwks_rev2_android_defconfig
- Jumper settings for fix mode images to boot from the top SD:
Fix mode SW1: ON ON OFF OFF ON OFF OFF ON
Interleave mode SW1: ON OFF ON OFF ON OFF OFF ON
Single channel(512MB/epop) SW1: ON OFF OFF OFF ON OFF OFF ON
- Jumper settings for fix mode images to boot from internal SPI-NOR:
Fix mode SW1: ON ON OFF X X ON ON OFF
Interleave mode SW1: ON OFF ON X X ON ON OFF
Single channel(512MB/epop) SW1: ON OFF OFF X X ON ON OFF
- Jumper settings to boot from internal eMMC (just for ePOP):
Single channel(epop) SW1: ON OFF OFF ON ON OFF ON ON
Additional configurations
==========================
For custom configurations like 2GB or 512MB, the CONFIG_SYS_EXTRA_OPTIONS option on the defconfig
file can be modified according to the customization needed.
Here are some examples for some combinations among the different supported options:
- memory size option: 512MB, 1GB, 2GB
- memeory mode: fix, interleave or single(only for 512MB)
- boot mode: SPI-NOR boot or SD
- board: evb, qwks
512mb qwks-rev2:
----------------
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6dqscm/imximage_scm_lpddr2.cfg,MX6Q,DDR_MB=512,SYS_USE_SPINOR,DEFAULT_FDT_FILE=\"imx6dqscm-512mb-qwks-rev2-ldo.dtb\",SCM_LPDDR2_512MB"
512mb qwks-rev2 spinor-boot:
----------------------------
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6dqscm/imximage_scm_lpddr2.cfg,MX6Q,DDR_MB=512,SYS_BOOT_SPINOR,DEFAULT_FDT_FILE=\"imx6dqscm-512mb-qwks-rev2-ldo.dtb\",SCM_LPDDR2_512MB"
2gb fix evb:
------------
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6dqscm/imximage_scm_lpddr2.cfg,MX6Q,DDR_MB=2048,SYS_USE_SPINOR,DEFAULT_FDT_FILE=\"imx6dqscm-2gb-evb-fix-ldo.dtb\",SCMEVB,SCM_LPDDR2_2GB"
2gb interleaving evb:
---------------------
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6dqscm/imximage_scm_lpddr2.cfg,MX6Q,DDR_MB=2048,SYS_USE_SPINOR,DEFAULT_FDT_FILE=\"imx6dqscm-2gb-evb-interleave-ldo.dtb\",INTERLEAVING_MODE,SCMEVB,SCM_LPDDR2_2GB"
2gb interleaving evb spinor-boot:
---------------------------------
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6dqscm/imximage_scm_lpddr2.cfg,MX6Q,DDR_MB=2048,SYS_BOOT_SPINOR,DEFAULT_FDT_FILE=\"imx6dqscm-2gb-evb-interleave-ldo.dtb\",INTERLEAVING_MODE,SCMEVB,SCM_LPDDR2_2GB"
1gb interleaving evb android:
-----------------------------
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6dqscm/imximage_scm_lpddr2.cfg,MX6Q,DDR_MB=1024,SYS_USE_SPINOR,DEFAULT_FDT_FILE=\"imx6dqscm-1gb-evb-interleave-ldo.dtb\",INTERLEAVING_MODE,SCMEVB,ANDROID_SUPPORT"
1gb interleaving qwks_rev2:
---------------------------
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6dqscm/imximage_scm_lpddr2.cfg,MX6Q,DDR_MB=1024,SYS_USE_SPINOR,DEFAULT_FDT_FILE=\"imx6dqscm-1gb-qwks-rev2-interleave-ldo.dtb\",INTERLEAVING_MODE"
1gb interleaving evb spinor-boot:
---------------------------------
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6dqscm/imximage_scm_lpddr2.cfg,MX6Q,DDR_MB=1024,SYS_BOOT_SPINOR,DEFAULT_FDT_FILE=\"imx6dqscm-1gb-evb-interleave-ldo.dtb\",INTERLEAVING_MODE,SCMEVB"