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

Paul Gortmaker paul.gortmaker at windriver.com
Fri Jan 27 09:40:40 PST 2012


On 12-01-27 12:11 PM, Darren Hart wrote:
> 
> 
> On 01/27/2012 08:22 AM, Paul Gortmaker wrote:
>> Valdiated on v2011.12 with hardware:
>>
>>     U-Boot 2011.12 (Jan 26 2012 - 16:55:23)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
>>     => ver
>>
>>     U-Boot 2011.12 (Jan 26 2012 - 16:55:23)MPC83XX
>>     powerpc-poky-linux-gcc (GCC) 4.6.3 20111117 (prerelease)
>>     GNU ld (GNU Binutils) 2.22
>>     =>
>>
>> Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>
> 
> Hi Paul,
> 
> Have you verified that the u-boot image this creates functions properly
> when flashed to the mpc8315? Last time I tried I bricked the board - and

Was there a specific functional test that you had in mind?

I ask that, since for a basic overall "does it work" type question,
I think I covered that in the commit log above.

Thanks,
Paul.


> still haven't got around to unbricking it.
> 
> --
> Darren
> 
>>
>> diff --git a/meta-yocto/conf/machine/mpc8315e-rdb.conf b/meta-yocto/conf/machine/mpc8315e-rdb.conf
>> index d3a5b1c..74ef611 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 = "kernel26 keyboard pci ext2 ext3 serial"
> 



More information about the yocto mailing list