Help - Search - Members - Calendar
Full Version: Need Help Compiling Pdaxrom 1.1.0beta3-kernel
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
Seb
hi there

i am trying to compile a new kernel (1.1.0beta3) für my 3100 but get error messages when doing "make zImage". i don't have have any problems when compiling the original sharp kernel without applying the pdaxrom "generic patches" first. blink.gif

what did i do wrong? (and what is this "miwmmxt"??)

thx in advance smile.gif

details:

installed tools for cross compiling:
- gcc-cross-sa1100-2.95.2-0.i386.rpm
- binutils-cross-arm-2.11.2-0.i386.rpm
- glibc-arm-2.2.2-0.i386.rpm
- linux-headers-arm-sa1100-2.4.6-3.i386.rpm

procedure:
- export PATH=$PATH:/PATH_TO_/arm-linux-gcc
- untar "linux-c3100-20050602-rom1_01.tar.bz2"
- change in untarred folder: "cd linux"
- apply 2 "generic patches" from pdaXrom-builder-02.46_12.04.06.tar.bz2: first "cat PATH/pdaXrom-builder/patches-local/linux-c3100-20050602-rom1_01/generic/linux-pdaXrom.diff | patch -p1"
- then same thing for "second generic patch" "mmc_boot.diff"
- copy 3100 configuration file to "linux": "cp PATH/pdaxrom/rom/1.1.0beta3/pdaXrom-builder/config/kernel/kernel-2.4.20-borzoi-cacko ./.config
- make oldconfig
- make dep
- make clean
- make zImage
- note: when proceeding with the original sharp kernel config file and the unpatched kernel i get a zImage in linux/arch/arm/boot so the procedure seems to be basically correct, the errors must have anything to do with specialities required for pdaxrom

error messages:
PATH/linux # make zImage
scripts/split-include include/linux/autoconf.h include/config
arm-linux-gcc -D__KERNEL__ -I/home/suser01/0_daten/zaurus/cross-build/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -Wa,-miwmmxt -mtune=strongarm -mshort-load-bytes -msoft-float -Uarm -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
Assembler messages:
Error: Invalid processor variant -miwmmxt
In file included from /home/suser01/0_daten/zaurus/cross-build/linux/include/asm/pgalloc.h:23,
from /home/suser01/0_daten/zaurus/cross-build/linux/include/linux/highmem.h:5,
from /home/suser01/0_daten/zaurus/cross-build/linux/include/linux/pagemap.h:16,
from /home/suser01/0_daten/zaurus/cross-build/linux/include/linux/locks.h:8,
from /home/suser01/0_daten/zaurus/cross-build/linux/include/linux/blk.h:5,
from init/main.c:25:
/home/suser01/0_daten/zaurus/cross-build/linux/include/asm/proc/cache.h: In function `flush_page_to_ram':
/home/suser01/0_daten/zaurus/cross-build/linux/include/asm/proc/cache.h:118: warning: passing arg 1 of `cpu_pid_va_to_mva' makes integer from pointer without a cast
/home/suser01/0_daten/zaurus/cross-build/linux/include/asm/proc/cache.h:118: warning: passing arg 1 of `cpu_xscale_flush_ram_page' makes pointer from integer without a cast
/home/suser01/0_daten/zaurus/cross-build/linux/include/asm/proc/cache.h: In function `flush_dcache_page':
/home/suser01/0_daten/zaurus/cross-build/linux/include/asm/proc/cache.h:159: warning: passing arg 1 of `cpu_pid_va_to_mva' makes integer from pointer without a cast
In file included from /home/suser01/0_daten/zaurus/cross-build/linux/include/linux/highmem.h:5,
from /home/suser01/0_daten/zaurus/cross-build/linux/include/linux/pagemap.h:16,
from /home/suser01/0_daten/zaurus/cross-build/linux/include/linux/locks.h:8,
from /home/suser01/0_daten/zaurus/cross-build/linux/include/linux/blk.h:5,
from init/main.c:25:
/home/suser01/0_daten/zaurus/cross-build/linux/include/asm/pgalloc.h: In function `get_pgd_fast':
/home/suser01/0_daten/zaurus/cross-build/linux/include/asm/pgalloc.h:67: warning: passing arg 1 of `cpu_pid_va_to_mva' makes integer from pointer without a cast
/home/suser01/0_daten/zaurus/cross-build/linux/include/asm/pgalloc.h: In function `pte_alloc_one_fast':
/home/suser01/0_daten/zaurus/cross-build/linux/include/asm/pgalloc.h:91: warning: passing arg 1 of `cpu_pid_va_to_mva' makes integer from pointer without a cast
init/main.c: In function `debug_kernel':
init/main.c:228: output pipe has been closed
make: *** [init/main.o] Fehler 1
PATH/linux #
Seb
solved.

wrong toolchain for some reason i don't know huh.gif

i have used arm-cacko-linux-gnu-2.95.3-2.2.5-hardfloat-19.50_21.09.05.tar.bz2 now
adf
QUOTE(Seb @ Nov 5 2006, 06:03 PM)
solved.

wrong toolchain for some reason i don't know  huh.gif

i have used arm-cacko-linux-gnu-2.95.3-2.2.5-hardfloat-19.50_21.09.05.tar.bz2 now
*

Did that say hardfloat? I assume it is changeable ?
Seb
i don't even have the slightest clue what that means..

all i can say is that it gets me a new zImage (if it works i still have to try out..)

what does hard- and softfloat mean?
pgas
in brief:
hard-float = emulation of floating point hardware in the kernel
soft-float = implementation of floating point operations in a library (faster)

2.4.x from sharp doesn't compile with newer toolchains
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.