From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Wed, 13 Mar 2013 17:06:50 +0100 Subject: [U-Boot] [PATCH v3] integrator: pass a Device Tree by default In-Reply-To: References: <1363156087-23881-1-git-send-email-linus.walleij@linaro.org> <20130313071427.DDB892005A5@gemini.denx.de> Message-ID: <20130313160650.20B10200048@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Linus, In message 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.