
27 Aug
2012
27 Aug
'12
9:29 p.m.
Hi Mike,
On Thu, 5 Apr 2012 00:53:40 -0400 Mike Frysinger vapier@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