-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm currently enabling kexec on ixp4xx
(did that a while back with lots of patches, most of it is now working
out of the box)

uClibc has two small bugs, that are easily fixed:

build_dir/toolchain-armeb_gcc4.1.2/uClibc-0.9.29/include/asm/memory.h
line 27:
#include <asm/arch/memory.h>

but asm/arch/ does not exist. There is a asm/arch-ixp4xx/ and
# ln -s arch-ixp4xx arch
fixes the compile issue

Question 1: How to reflect that in a proper patch?

Second:
asm/memory.h contains

static inline __deprecated unsigned long virt_to_bus(void *x)
{
        return __virt_to_bus((unsigned long)x);
}

static inline __deprecated void *bus_to_virt(unsigned long x)
{
        return (void *)__bus_to_virt(x);
}

which
a) fails to build with kexec
b) seems not nescessary anymore
c) kexec now brings its own functions for that, which conflict with that
code

anybody object to remove that, after commenting out those lines the
system seemed still ok for me....

other than that, and setting
KEXEC=y
ATAGS_PROC=y
and maybe:
MTD_ROOTFS_ROOT_DEV=n
MTD_ROOTFS_SPLIT=n
in the kernel, the current kexec-tools runs flawless on the gateworks
avila, armeb could be added to the supported architectures in my opinion.

- --
Harald Schiöberg
Technische Universität Berlin | T-Laboratories | FG INET
www: http://www.net.t-labs.tu-berlin.de
Phone: +49-(0)30-8353-58476 | Fax: +49-(0)391 534 783 47
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIMyWOJgyxs71kcx4RAsm1AKCruC9a50pI8Dm23X4/PxCHX6OBngCg2GzK
H5+GByaUs/UU4RZqwLTke6I=
=hEY+
-----END PGP SIGNATURE-----
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to