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

Cyril Bur cyrilbur at gmail.com
Mon Apr 11 13:42:18 AEST 2016


On Tue, 5 Apr 2016 17:25:09 +0200
Cédric Le Goater <clg at fr.ibm.com> wrote:

> 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 :)

Hi Cedric,

Took me a couple of days to get around to actually booting it, sorry. Now
that I've done it though, nice work!

DRAM Init-DDR3
CBR0-1357135670123456701234567
CBR134Done


U-Boot 2016.03 (Apr 08 2016 - 14:53:05 +1000)

I2C:   ready
DRAM:  256 MiB
WARNING: Caches not enabled
Flash: SPI Flash ID: 19ba20 
32 MiB
In:    serial
Out:   serial
Err:   serial
H/W:   AST2400 series chip Rev. 01 
Watchdog: 300s
Net:   aspeednic#0
autoboot in 10 seconds (stop with 'Delete' key)...

It appears to work how we want it. By default it just boots exactly as before.
I tftped a kernel and initramfs and that works fine.

Thumbs up from me,

Thanks,

Cyril

> 
> 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}"
> >  
> >   
> 
> _______________________________________________
> openbmc mailing list
> openbmc at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc



More information about the openbmc mailing list