[U-Boot-Users] [PATCH 1/3] mpc83xx: update the default load address for 837xemds board

Dave Liu r63238 at freescale.com
Tue Apr 22 09:17:36 CEST 2008


> > Update the default load address. if not, the kernel image
> > will be overwritten when u-boot boot the latest linux kernel.
> > 
> > Signed-off-by: Dave Liu <daveliu at freescale.com>
> > ---
> >  include/configs/MPC837XEMDS.h |    4 ++--
> >  1 files changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/include/configs/MPC837XEMDS.h b/include/configs/MPC837XEMDS.h
> > index 7fc0f7e..b2b4aa1 100644
> > --- a/include/configs/MPC837XEMDS.h
> > +++ b/include/configs/MPC837XEMDS.h
> > @@ -595,7 +595,7 @@
> >  
> >  #define CONFIG_BAUDRATE 115200
> >  
> > -#define CONFIG_LOADADDR 200000	/* default location for tftp and bootm */
> > +#define CONFIG_LOADADDR 2000000	/* default location for tftp and bootm */
> >  
> >  #define CONFIG_BOOTDELAY 6	/* -1 disables auto-boot */
> >  #undef CONFIG_BOOTARGS		/* the boot command will set bootargs */
> > @@ -605,7 +605,7 @@
> >     "consoledev=ttyS0\0"							\
> >     "ramdiskaddr=1000000\0"						\
> >     "ramdiskfile=ramfs.83xx\0"						\
> > -   "fdtaddr=400000\0"							\
> > +   "fdtaddr=3000000\0"							\
> 
> is such a drastic difference really necessary?  how about we double
> them instead?

Of course, double them is also OK.

I set them as sort. it's better to remember.

ramdiskaddr	= 0x1000000
loadaddr	= 0x2000000
fdtaddr		= 0x3000000.

Thanks,
Dave







More information about the U-Boot mailing list