[yocto] [PATCH] mpc8315: build u-boot v2012.04 by default.
Paul Gortmaker
paul.gortmaker at windriver.com
Fri Jun 29 11:40:58 PDT 2012
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 at windriver.com>
---
[Note -- this depends on the series of three patches that I
just sent to oe-core for u-boot, in order to build properly. ]
meta-yocto/conf/machine/mpc8315e-rdb.conf | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta-yocto/conf/machine/mpc8315e-rdb.conf b/meta-yocto/conf/machine/mpc8315e-rdb.conf
index 03b5f34..09670e5 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.6
More information about the yocto
mailing list