[U-Boot] [PATCH 1/2 v2] net: punt bd->bi_ip_addr
Anatolij Gustschin
agust at denx.de
Mon Aug 27 21:29:25 CEST 2012
Hi Mike,
On Thu, 5 Apr 2012 00:53:40 -0400
Mike Frysinger <vapier at gentoo.org> 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
More information about the U-Boot
mailing list