how to Build uboot image for SD boot mode on P1010RDB-PB sdk1.9

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to Build uboot image for SD boot mode on P1010RDB-PB sdk1.9

757件の閲覧回数
jinjinzhao
Contributor I

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"

0 件の賞賛
3 返答(返信)

469件の閲覧回数
bpe
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛

469件の閲覧回数
jinjinzhao
Contributor I

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

0 件の賞賛

469件の閲覧回数
bpe
NXP Employee
NXP Employee

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.

0 件の賞賛