From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Mon, 27 Aug 2012 21:29:25 +0200 Subject: [U-Boot] [PATCH 1/2 v2] net: punt bd->bi_ip_addr In-Reply-To: <1333601621-22793-1-git-send-email-vapier@gentoo.org> References: <1326670329-18644-1-git-send-email-vapier@gentoo.org> <1333601621-22793-1-git-send-email-vapier@gentoo.org> Message-ID: <20120827212925.48fbf418@wker> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Mike, On Thu, 5 Apr 2012 00:53:40 -0400 Mike Frysinger wrote: > This field gets read in one place (by "bdinfo"), and we can replace > that with getenv("ipaddr"). After all, the bi_ip_addr field is kept > up-to-date implicitly with the value of the ipaddr env var. unfortunately this patch breaks compatibility with older v2.4 kernels. bd_t struct passed to the kernel has different offsets of the fields after bi_ip_addr. As a result older powerpc kernels setup wrong bus clock configurations and serial console baudrate. If the kernel still boots somehow, mounting nfs rootfs doesn't seem to work, etc. We need to fix the offsets at least. Thanks, Anatolij