P1010RDB.conf
here is no SD mode
#@TYPE: Machine
#@Name: Freescale P1010RDB
#@SOC: p1010
#@DESCRIPTION: Machine configuration for Freescale QorIQ P1010 Reference
# Design Board with ppce500v2 core
#@MAINTAINER: Chunrong Guo <B40290@freescale.com>
require conf/machine/include/e500v2.inc
SOC_FAMILY = "p1010"
BOOTFORMAT_CONFIG = "config_sram_p1010rdb.dat"
UBOOT_CONFIG ??= "nand spi 36bit-nor 36bit-nand 36bit-spi 36bit-nand-secboot 36bit-nor-secboot 36bit-spi-secboot nand-secboot nor-secboot spi-secboot nor"
UBOOT_CONFIG[nor] = "P1010RDB-PB_NOR_config"
UBOOT_CONFIG[nand] = "P1010RDB-PB_NAND_config"
UBOOT_CONFIG[spi] = "P1010RDB-PB_SPIFLASH_config"
UBOOT_CONFIG[36bit-nor] = "P1010RDB-PB_36BIT_NOR_config"
UBOOT_CONFIG[36bit-nand] = "P1010RDB-PB_36BIT_NAND_config"
UBOOT_CONFIG[36bit-spi] = "P1010RDB-PB_36BIT_SPIFLASH_config"
UBOOT_CONFIG[36bit-nand-secboot] = "P1010RDB-PB_36BIT_NAND_SECBOOT_config"
UBOOT_CONFIG[36bit-nor-secboot] = "P1010RDB-PB_36BIT_NOR_SECBOOT_config"
UBOOT_CONFIG[36bit-spi-secboot] = "P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_config"
UBOOT_CONFIG[nand-secboot] = "P1010RDB-PB_NAND_SECBOOT_config"
UBOOT_CONFIG[nor-secboot] = "P1010RDB-PB_NOR_SECBOOT_config"
UBOOT_CONFIG[spi-secboot] = "P1010RDB-PB_SPIFLASH_SECBOOT_config"
KERNEL_DEVICETREE ?= "p1010rdb-pa.dtb p1010rdb-pb.dtb"
KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/mpc85xx_defconfig"
JFFS2_ERASEBLOCK = "0x20000"
P1010 cannot fetch boot code directly from an SD/MMC. It is required that at least u-Boot is fetched from one
of the interfaces specified in P1010RM, Table 4-12. When u-Boot finishes system initialization, it then can load
kernel and the rest of required binaries from any interface it supports, but it is done by u-Boot scripts and does
not require a separate UBOOT_MACHINE option. That is why you do not see SD card u-Boot image options in
the SDK machine configuration for P1010-RDB.
Have a great day,
Platon
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
but in the SDK1.6 wo can do this :
make distclean
make P1010RDB-PB_SDCARD
cat p1010rdb-config-header.bin u-boot.bin > u-boot-sd-combined.bin
This is an _unsupported_ feature, see the explanations above. It had been there is error and was removed in later SDKs. Do not use it.