Andrey Khurri wrote:

Hi all,

I made modifications to n770_defconfig according to Maemo HowTo: http://maemo.org/maemowiki/HowTo_KernelCompilation Then after running "dpkg-buildpackage -rfakeroot -uc -us -sa -D" or "dpkg-buildpackage -rfakeroot -uc -us -sa -d" (I tried both ways) I get following error:

--- a part of log including errors:

* Library routines
*
CRC-CCITT functions (CRC_CCITT) [Y/?] y
CRC32 functions (CRC32) [Y/?] y
CRC32c (Castagnoli, et al) Cyclic Redundancy-Check (LIBCRC32C) [N/m/y/?] n make[1]: Leaving directory `/home/akhurri/build/su-18-kernel-2.6.12.3/kernel-source-2.6.12.3' make[1]: Entering directory `/home/akhurri/build/su-18-kernel-2.6.12.3/kernel-source-2.6.12.3'
 CHK     include/linux/version.h
 SPLIT   include/linux/autoconf.h -> include/config/*
 SYMLINK include/asm-arm/arch -> include/asm-arm/arch-rpc
 CC      arch/arm/kernel/asm-offsets.s
In file included from include/asm/page.h:27,
                from include/asm/cpu-single.h:33,
                from include/asm/proc-fns.h:154,
                from include/asm/system.h:94,
                from include/asm/bitops.h:22,
                from include/linux/bitops.h:77,
                from include/linux/thread_info.h:20,
                from include/linux/spinlock.h:12,
                from include/linux/capability.h:45,
                from include/linux/sched.h:7,
                from arch/arm/kernel/asm-offsets.c:13:
include/asm/glue.h:111:2: #error Unknown data abort handler type
In file included from include/asm/cpu-single.h:33,
                from include/asm/proc-fns.h:154,
                from include/asm/system.h:94,
                from include/asm/bitops.h:22,
                from include/linux/bitops.h:77,
                from include/linux/thread_info.h:20,
                from include/linux/spinlock.h:12,
                from include/linux/capability.h:45,
                from include/linux/sched.h:7,
                from arch/arm/kernel/asm-offsets.c:13:
include/asm/page.h:92:2: #error Unknown user operations model
make[2]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 2
make[1]: Leaving directory `/home/akhurri/build/su-18-kernel-2.6.12.3/kernel-source-2.6.12.3'
make: *** [build-stamp] Error 2

--- end of log

I did modifications to debian/rules exactly how HowTo suggests it, that is I commented 2 lines out. I have looked trough mailing list archive but I didn't find any similar to mine bugs.

By the way, what would be the right/perfect way of modifying n770_defconfig file? I did it as follows: copied to a kernel source tree on my host PC, ran "make menuconfig" there, made modifications I need, replaced old config with new one in arch/arm/configs (of course, with the same name "n770_defconfig"). I also tried to run "make n770_defconfig" inside ../build/su-18-kernel-2.6.12.3/kernel-source-2.6.12.3 . However, it doesn't seem to be working properly. It just goes trough the config file and outputs its content up to a point but it doesn't proceed with usual graphical interface where you choose options.

I am wondering if someone has experienced the same. I would appreciate any help or comments.
Thanks in advance.

Andrey


Hi there,

Just in case someone is thinking about my problem described above. I have fixed it. That was definetlu my fault. Of course I must have been doing "make menuconfig" inside my Scratchbox ARM target within kernel-source-tree but not somewhere else on my i386. So the right way is to make any modifications to n770_defconfig inside Scratchbox. Then "dpkg-buildpackage -rfakeroot -uc -us -sa -D" works fine and I get new zImage for my Tablet.

Sorry if I wasted someone's time.

BR,
Andrey

--
Andrey Khurri, Researcher
Helsinki Institute for Information Technology (HIIT)
Tel: +358 50 384 1510
Fax: +358  9 694 9768
[EMAIL PROTECTED]

_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to