[PATCH openbmc v3 1/2] meta-phosphor/u-boot: Move to newer version

Cédric Le Goater clg at fr.ibm.com
Wed Apr 6 01:25:09 AEST 2016


Hello,

I have given some time recently to the OpenBmc U-Boot and came up with
a first initial port of the aspeed code on a recent version, v2016.03.
Here is the tree :

	https://github.com/legoater/u-boot/commits/v2016.03-aspeed-openbmc

There is still quite a lot of cleanup to do, the code has warnings, some
configure defines are probably obsolete. This is clearly not finished yet.
But it is usable.

These compilers on jessie generate a u-boot.bin file which boots a
palmetto bmc with success :

gcc version 5.2.0 (crosstool-NG crosstool-ng-1.22.0)
gcc version 4.8.4 20141219 (release) (4.8.4-1+11-1)

So if some of you has time (and a flash programmer), could you please
give it a try ? I will be glad to have positive feedback. You can curse
me if not :)

Then, I would be interested to see how we proceed from there to include
more changes.

Thanks,

C. 



On 04/04/2016 04:00 PM, OpenBMC Patches wrote:
> From: Joel Stanley <joel at jms.id.au>
> 
> Fixes from Milton for u-boot leaving ethernet device running after
> loading linux:
> 
>       net: aspeednic: Create aspeed_write_hwaddr from set_mac_address
>       net: aspeednic: Do not start hardware in initialize
>       net: aspeednic: Remove extra spaces before assignments
>       net: aspeednic: Do not fill in a random MAC address
>       net: Implement random ethaddr fallback in eth.c
> 
> Backports from upstream from me to support building under modern GCC
> versions:
> 
>       common: main.c: make show_boot_progress __weak
>       ARM:asm:io.h use static inline
>       arm: board: use __weak
>       net: Implement random ethaddr fallback in eth.c
>       compiler*.h: sync include/linux/compiler*.h with Linux 4.5-rc6
> 
> Signeo-off-by: Joel Stanley <joel at jms.id.au>
> ---
>  meta-phosphor/common/recipes-bsp/u-boot/u-boot_2013.07.bb | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/meta-phosphor/common/recipes-bsp/u-boot/u-boot_2013.07.bb b/meta-phosphor/common/recipes-bsp/u-boot/u-boot_2013.07.bb
> index 6070fbf..f2434ad 100644
> --- a/meta-phosphor/common/recipes-bsp/u-boot/u-boot_2013.07.bb
> +++ b/meta-phosphor/common/recipes-bsp/u-boot/u-boot_2013.07.bb
> @@ -10,9 +10,8 @@ LICENSE = "GPLv2+"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
>                      file://README;beginline=1;endline=22;md5=78b195c11cb6ef63e6985140db7d7bab"
>  
> -# This revision corresponds to the tag "v2013.07"
>  # We use the revision in order to avoid having to fetch it from the repo during parse
> -SRCREV = "4b44678c11ac82c7c797bb115e276181752ad54d"
> +SRCREV = "44f1262bdf39ad93032d39f17a298165372be82e"
>  
>  PV = "v2013.07+git${SRCPV}"
>  
> 



More information about the openbmc mailing list