From: Jerry Van Baren <gvb.uboot@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 1/3] mpc83xx: update the default load address for 837xemds board
Date: Mon, 21 Apr 2008 20:26:37 -0400 [thread overview]
Message-ID: <480D30BD.6010202@gmail.com> (raw)
In-Reply-To: <20080421165751.291605cd.kim.phillips@freescale.com>
Kim Phillips wrote:
> On Tue, 15 Apr 2008 13:10:29 +0800
> Dave Liu <r63238@freescale.com> wrote:
>
>> 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@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?
>
> Kim
Hi Kim, Dave,
The current recommended practice on the denx.de wiki is to have a 12K
FDT blob (0x3000). My latest personal convention for memory locations
is to put the FDT blob at a semi-arbitrary base address and set the
loadaddr 32K higher (could use 64K if we want to be paranoid about blob
growth). The advantage is that the kernel can grow or shrink (ha!)
fairly often, but the blob should remain fairly small and fairly constant.
This is better than dropping pieces all over memory.
This is what I've been running lately:
setenv fdtaddr 400000
setenv loadaddr 408000
setenv ramdiskaddr 1000000
Best regards,
gvb
next prev parent reply other threads:[~2008-04-22 0:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-15 5:10 [U-Boot-Users] [PATCH 1/3] mpc83xx: update the default load address for 837xemds board Dave Liu
2008-04-21 21:57 ` Kim Phillips
2008-04-22 0:26 ` Jerry Van Baren [this message]
2008-04-22 7:17 ` Dave Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=480D30BD.6010202@gmail.com \
--to=gvb.uboot@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox