From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3] integrator: pass a Device Tree by default
Date: Wed, 13 Mar 2013 17:06:50 +0100 [thread overview]
Message-ID: <20130313160650.20B10200048@gemini.denx.de> (raw)
In-Reply-To: <CACRpkdZ2XCBU9QvFUg=c_2E=QQP=fmRaup-EnEWx3hWzqvtqcA@mail.gmail.com>
Dear Linus,
In message <CACRpkdZ2XCBU9QvFUg=c_2E=QQP=fmRaup-EnEWx3hWzqvtqcA@mail.gmail.com> you wrote:
>
> >> -#define CONFIG_SYS_LOAD_ADDR 0x7fc0 /* default load address */
> >> +#define CONFIG_SYS_LOAD_ADDR 0x800 /* default load address */
> >
> > This appears to be an unrelated change. It should be clearly
> > documented, especially as users who just update U-Boot on their board
> > may have to make this change manually.
>
> OK moved this out to a separate patch. Not very important anyway, I just
> never understood the very weird offset 0x7fc0, because when I tested it
> any address sort of works...
>
> Any hints on why it is (historically) set to 0x7fc0?
I can only speculate - 0x40 = 64 bytes is the size of the old legacy
uImage header; with this load address the payload would be aligned at
0x8000. Eventually this was used to avoid a memcpy in case of
uncompressed kernel images?
> >> #define CONFIG_SERVERIP 192.168.1.100
> >> #define CONFIG_IPADDR 192.168.1.104
> >
> > Please get rid of these. We don't allow this in board config files.
>
> I'll try to convert this to using DHCP.
Thanks.
> >> + "setenv fdtaddr 0x00800000 ; " \
> >> + "bootp $loadaddr $serverip:uImage ; " \
> >> + "bootp $fdtaddr $serverip:integratorcp.dtb ; " \
> >> + "bootm $loadaddr - $fdtaddr"
> >
> > Is it intentional that integratorap.h and integratorcp.h are now
> > configured so differently?
>
> Yes, the Integrator/CP has an ethernet adapter (SMSC91x) that we know will
> always be available and preferred boot path.
>
> The Integrator/AP has an optional Ethernet PCI card, but we cannot rely on that
> always being present.
Hm... that's a change of behaviour to all users, which is not really
nice. But OK, you're the board maintainer...
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If you believe that feeling bad or worrying long enough will change a
past or future event, then you are residing on another planet with a
different reality system.
prev parent reply other threads:[~2013-03-13 16:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-13 6:28 [U-Boot] [PATCH v3] integrator: pass a Device Tree by default Linus Walleij
2013-03-13 7:14 ` Wolfgang Denk
2013-03-13 9:32 ` Linus Walleij
2013-03-13 16:06 ` Wolfgang Denk [this message]
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=20130313160650.20B10200048@gemini.denx.de \
--to=wd@denx.de \
--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