AnsweredAssumed Answered

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

Question asked by jinjin zhao on Jun 7, 2016
Latest reply on Jun 7, 2016 by bpe

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"

Outcomes