[PATCH] mpc8315: build u-boot v2012.04 by default.


Paul Gortmaker <paul.gortmaker@...>
 

Validated on real hardware:

U-Boot 2012.04.01 (Jun 29 2012 - 13:48:03)MPC83XX

Reset Status: Software Hard, External/Internal Soft, External/Internal Hard

CPU: e300c3, MPC8315E, Rev: 1.2 at 400 MHz, CSB: 133.333 MHz
Board: Freescale MPC8315ERDB Rev 1.0
I2C: ready
DRAM: 128 MiB (DDR2, 32-bit, ECC off, 266.667 MHz)
Flash: 8 MiB
NAND: 32 MiB
PCIE0: No link
PCIE1: No link
In: serial
Out: serial
Err: serial
Net: eTSEC0, eTSEC1
Hit any key to stop autoboot: 0

[YOCTO #943]

Signed-off-by: Paul Gortmaker <paul.gortmaker@...>
---

[Resending, since the OE core changes this depended on are now in,
and having an old u-boot _may_ also be the cause of YOCTO #2775 ]

diff --git a/meta-yocto/conf/machine/mpc8315e-rdb.conf b/meta-yocto/conf/machine/mpc8315e-rdb.conf
index fe4612a..aa1e5c3 100644
--- a/meta-yocto/conf/machine/mpc8315e-rdb.conf
+++ b/meta-yocto/conf/machine/mpc8315e-rdb.conf
@@ -7,6 +7,9 @@ require conf/machine/include/tune-ppc603e.inc

KERNEL_IMAGETYPE = "uImage"

+EXTRA_IMAGEDEPENDS += "u-boot"
+UBOOT_MACHINE_mpc8315e-rdb = "MPC8315ERDB_config"
+
SERIAL_CONSOLE = "115200 ttyS0"

MACHINE_FEATURES = "keyboard pci ext2 ext3 serial"
@@ -17,6 +20,7 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
XSERVER = "xserver-kdrive-fbdev"

+PREFERRED_VERSION_u-boot ?= "v2012.04%"
UBOOT_ENTRYPOINT = "0x00000000"

KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/mpc8315erdb.dts"
--
1.7.9.7

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.