OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Need Help Compiling Pdaxrom 1.1.0beta3-kernel, no prob comp orig kernel without patches
Seb
post Nov 5 2006, 07:07 AM
Post #1





Group: Members
Posts: 68
Joined: 8-February 06
From: Munich, Germany
Member No.: 9,095



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 #
Go to the top of the page
 
+Quote Post
Seb
post Nov 5 2006, 10:03 AM
Post #2





Group: Members
Posts: 68
Joined: 8-February 06
From: Munich, Germany
Member No.: 9,095



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
Go to the top of the page
 
+Quote Post
adf
post Nov 6 2006, 10:04 AM
Post #3





Group: Members
Posts: 2,821
Joined: 13-September 04
From: Wasilla Ak.
Member No.: 4,572



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 ?
Go to the top of the page
 
+Quote Post
Seb
post Nov 6 2006, 01:04 PM
Post #4





Group: Members
Posts: 68
Joined: 8-February 06
From: Munich, Germany
Member No.: 9,095



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?
Go to the top of the page
 
+Quote Post
pgas
post Nov 6 2006, 10:47 PM
Post #5





Group: Members
Posts: 1,099
Joined: 17-December 03
From: Athens, Greece
Member No.: 1,210



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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 5th March 2015 - 04:05 PM