Hi Matthieu
I wonder if you can point me in the right direction? My kernel build with your
latest patches refuses to boot.
I have a ts-7250 with 64MB ram. I have downloaded the 2.6.32.3 kernel from
kernel.org, applied your patches and built the kernel using the CodeSourcery
4.4.1 compiler (build arm-2009q3). I have used the ts7250_eabi_full_defconfig.
I have a small batch file with the following options
>>>>>>>>>>>>>>>
#!/bin/sh
cd linux
export ARCH=arm
export
CROSS_COMPILE=/usr/local/CodeSourcery/Linux/arm-2009q3/bin/arm-none-linux-gnueabi-
make
INSTALL_MOD_PATH=/ts-7250 make modules_install
<<<<<<<<<<<<<<<
I copy the kernel (zImage) to my tftp server and boot to execute the following
redboot command
load zImage -r -b 0x00218000
(this loads successfully)
I have a root file system defined in NFS under /ts-7250 on my development
system. My next command is
exec -c ""console=ttyAM0,115200 init=/sbin/init root=/dev/nfs
nfsroot=192.168.1.2:/ts-7250"
(i set up the correct IP address for my board = 192.168.1.3, etc in redboot)
I get the following message:
Uncompressing
Linux.................................................................................................................................
done, booting the kernel.
That's the last message I get.
I have tried variants on a theme: for example specifying the explicit memory
addresses in the sparse memory map as in your recommendation, I have tried it
without the options ip=dhcp, init=/sbin/init, root=/dev/nfs, to no avail. I
have tried booting vmlinux instead of zimage - no avail. FYI if I run file on
vmlinux, I get
/var/lib/tftpboot/vmlinux: ELF 32-bit LSB executable, ARM, version 1 (SYSV),
statically linked, not stripped
I tried also using the bootload utility from my 2.4 kernel - the same result.
One thing I have found is that nearly all the newer toolchains I have do not
let me build a simple hello world program that executes under the 2.4 kernel,
even if statically linked. I'm thinking this is because they use EABI and the
2.4 kernel doesn't support this? The older 3.4.4 kernel will build apps to run
under the 2.4 kernel but won't build a 2.6 kernel!
FYI if I run gcc -v on my CodeSourcery compiler, I get the following output:
Using built-in specs.
Target: arm-none-linux-gnueabi
Configured with: /scratch/julian/2009q3-respin-linux-lite/src/gcc-4.4/configure
--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu
--target=arm-none-linux-gnueabi --enable-threads --disable-libmudflap
--disable-libssp --disable-libstdcxx-pch --enable-extra-sgxxlite-multilibs
--with-arch=armv5te --with-gnu-as --with-gnu-ld
--with-specs='%{funwind-tables|fno-unwind-tables|mabi=*|ffreestanding|nostdlib:;:-funwind-tables}
%{O2:%{!fno-remove-local-statics: -fremove-local-statics}}
%{O*:%{O|O0|O1|O2|Os:;:%{!fno-remove-local-statics: -fremove-local-statics}}}'
--enable-languages=c,c++ --enable-shared --disable-lto --enable-symvers=gnu
--enable-__cxa_atexit --with-pkgversion='Sourcery G++ Lite 2009q3-67'
--with-bugurl=https://support.codesourcery.com/GNUToolchain/ --disable-nls
--prefix=/opt/codesourcery
--with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc
--with-build-sysroot=/scratch/julian/2009q3-respin-linux-lite/install/arm-none-linux-gnueabi/libc
--with-gmp=/scratch/julian/2009q3-respin-linux-lite/obj/host-libs-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr
--with-mpfr=/scratch/julian/2009q3-respin-linux-lite/obj/host-libs-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr
--with-ppl=/scratch/julian/2009q3-respin-linux-lite/obj/host-libs-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr
--with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm'
--with-cloog=/scratch/julian/2009q3-respin-linux-lite/obj/host-libs-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr
--disable-libgomp --enable-poison-system-directories
--with-build-time-tools=/scratch/julian/2009q3-respin-linux-lite/install/arm-none-linux-gnueabi/bin
--with-build-time-tools=/scratch/julian/2009q3-respin-linux-lite/install/arm-none-linux-gnueabi/bin
Thread model: posix
gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67)
Any ideas? Am I doing something fundamentally stupid or have I missed a key
line?
thanks Dominic
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|