I would like to use grub to boot an embedded box with linux over the net.
For that, I need to (cross)compile grub on a host (AMD Duron /kernel 2.6.18) for the embedded box (kernel 2.4.23 + patches). I am running grub's configure script like this:
./configure --enable-diskless --enable-davicom --enable-tulip --build=i486 --disable-iso9660 --disable-xfs --disable-jfs --disable-reiserfs --disable-minix --disable-ufs2 --disable-ffs --without-curses --host=i386 --enable-example-kernel LDFLAGS='-static -L/usr/src/libc_ts5600/lib' --build=i386
The executable generated by make does not run on the embeeded box (error message: kernel to old) and seems to be build for the host:
grub/grub: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, statically linked, for GNU/Linux 2.6.9, not stripped
What I would need is
.file ./libc_ts5600/lib/libc-2.2.5.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, not stripped
(The libraries were delivered with the embedded box)
I'd appreciate some help with this.
|All times are GMT -5. The time now is 06:08 PM.|