[U-Boot] [PATCH 1/7] arm: mvebu: helios4: Update Load address

Aditya Prayoga aditya at kobol.io
Wed Nov 28 17:40:02 UTC 2018


Hi Dennis,

On Wed, Nov 28, 2018 at 8:40 PM Dennis Gilmore <dgilmore at redhat.com> wrote:
>
> I would strongly prefer to keep the addresses consistent across
> platforms in u-boot. Is there bugs you are seeing as a result of this?
>
At that time, I was not able to load linux with these commands
  setenv bootargs "${console} root=/dev/mmcblk0p1 rootwait rw
scandelay ignore_loglevel"
  load mmc 0:1 ${kernel_addr_r} /boot/zImage
  load mmc 0:1 ${ramdisk_addr_r} /boot/uInitrd
  load mmc 0:1 ${fdt_addr_r} /boot/dtb/${fdtfile}
  bootz ${kernel_addr_r}  ${ramdisk_addr_r} ${fdt_addr_r}

but after getting your feedback, I re-tested it without this patch and
it's running fine.
So no reason to apply this patch anymore. I will remove it on next version.
Thanks

Aditya

> Dennis
>
> On Wed, 2018-11-28 at 16:59 +0800, Aditya Prayoga wrote:
> > Use the values from U-Boot 2013.01 Marvell version: 2015_T1.0p16
> >
> > Signed-off-by: Aditya Prayoga <aditya at kobol.io>
> > ---
> >  include/configs/helios4.h | 10 +++++-----
> >  1 file changed, 5 insertions(+), 5 deletions(-)
> >
> > diff --git a/include/configs/helios4.h b/include/configs/helios4.h
> > index ce912ea..c289490 100644
> > --- a/include/configs/helios4.h
> > +++ b/include/configs/helios4.h
> > @@ -145,11 +145,11 @@
> >       func(PXE, pxe, na) \
> >       func(DHCP, dhcp, na)
> >
> > -#define KERNEL_ADDR_R        __stringify(0x800000)
> > -#define FDT_ADDR_R   __stringify(0x100000)
> > -#define RAMDISK_ADDR_R       __stringify(0x1800000)
> > -#define SCRIPT_ADDR_R        __stringify(0x200000)
> > -#define PXEFILE_ADDR_R       __stringify(0x300000)
> > +#define KERNEL_ADDR_R        __stringify(0x2080000)
> > +#define FDT_ADDR_R   __stringify(0x2040000)
> > +#define RAMDISK_ADDR_R       __stringify(0x2880000)
> > +#define SCRIPT_ADDR_R        __stringify(0x3000000)
> > +#define PXEFILE_ADDR_R       __stringify(0x3100000)
> >
> >  #define LOAD_ADDRESS_ENV_SETTINGS \
> >       "kernel_addr_r=" KERNEL_ADDR_R "\0" \
>


More information about the U-Boot mailing list