logo

Could not compile stylesheet for simplistic. Using last compiled stylesheet.
Issue

Compile a vanilla kernel for IgepV2

posted in Linux Kernel
Friday, November 08 2013, 10:11 AM
Cazalilla
Cazalilla
Offline
0
Hi all.
I need to compile a vanilla kernel for IgepV2, because I want to path the kernel with Xenomai 2.6.3 (version 2.6.0 is plenty of bugs). First of all, I wanted to test if this kernel works fine (without Xenomai) on the Igep, and the, patch it.

Following advice for Gilles Chanteperdrix (Xenomai developer), I downloaded a vanilla kernel from ftp.kernel.org, concretely 3.8.13.
The first problem is that, obviously, the igep00200_defconfig doesn't exists. So... I've used omap2plus_defconfig in order to configure the kernel for my IgepV2.

[Configure Linux kernel for IGEP devices. IGEP is ARM architecture based device. A generic configuration is provided for all IGEP machines, and can be used as the default by make ARCH=arm omap2plus_defconfig]

I did:

sudo make ARCH=arm omap2plus_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage modules
sudo make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=/media/root_ modules_install
cp arch/arm/boot/zImage /media/boot/

When I boot the Igepv2, the kernel run, but not correctly (with a lot of errors). Finally, in the prompt, randomly I get something like this and the Igep hung.:

[ 800.992553] ff00: 00019498 000001ff 00000000 c00083dc 00000002 c0737d48 da018210 c0737d48
[ 801.001129] ff20: d7f1e000 d7f1e000 000257f8 c006cde4 00000002 00000000 c0125b00 c010b248
[ 801.009704] ff40: c0791720 00000000 d7f42100 00000000 c07d3d44 d7f1e000 d7f1e000 c006cb70
[ 801.018280] ff60: 000257f8 d7f1e000 d7f1ffb0 d7f1e000 00000000 00000001 d7f1e000 d7f1e000
[ 801.026855] ff80: 00000000 c001743c 00000000 00000001 b6e8585e b6e8585e 20070030 ffffffff
[ 801.035430] ffa0: b6f124cc 00000000 000001ff c00133cc 00000001 00000000 b6f124d0 00800000
[ 801.043975] ffc0: 00800000 b6f124cc 00000000 b6f124cc 00000420 00019498 000001ff 00000000
[ 801.052551] ffe0: b6f124fc beeb74c0 b6e86a9f b6e8585e 20070030 ffffffff 00000000 00000000
[ 801.061126] [] (__task_pid_nr_ns+0x74/0xf8) from [] (do_notify_parent+0xa4/0x28c)
[ 801.070800] [] (do_notify_parent+0xa4/0x28c) from [] (do_exit+0x668/0x910)
[ 801.079833] [] (do_exit+0x668/0x910) from [] (do_group_exit+0x40/0xb0)
[ 801.088500] [] (do_group_exit+0x40/0xb0) from [] (get_signal_to_deliver+0x2f8/0x5d8)
[ 801.098449] [] (get_signal_to_deliver+0x2f8/0x5d8) from [] (do_signal+0x60/0x490)
[ 801.108093] [] (do_signal+0x60/0x490) from [] (do_work_pending+0x7c/0xc4)
[ 801.117034] [] (do_work_pending+0x7c/0xc4) from [] (work_pending+0xc/0x20)
[ 801.126068] Code: e0835105 e5953220 e3530000 0a000011 (e594201c)
[ 801.132446] ---[ end trace 24750f66469659f2 ]---
[ 801.137298] Fixing recursive fault but reboot is needed!

I've tried to use the igep00200_defconfig from older kernel (git.isee.biz), but there a lot of files missing.

How could I compile a vanilla kernel properly? The aim is to patch a kernel with Xenomai 2.6.3.

Regards, and thank you very much.

Jose
Responses (5)
  • Accepted Answer

    Friday, November 08 2013, 03:21 PM - #permalink
    0
    Vanilla kernels are not fully supported by IGEPv2, and various OMAP3-based boards, so don't expect that kernel works without doing some work on it. About 3.8.13 probably you should backport or forwardport some patches to make it work with IGEPv2.

    On vanilla kernels, the config that you should use is omap2plus_defconfig.

    Cheers.
    The reply is currently minimized Show
  • Accepted Answer

    Cazalilla
    Cazalilla
    Offline
    Monday, November 11 2013, 09:50 AM - #permalink
    0
    eballetbo wrote:

    Vanilla kernels are not fully supported by IGEPv2, and various OMAP3-based boards, so don't expect that kernel works without doing some work on it. About 3.8.13 probably you should backport or forwardport some patches to make it work with IGEPv2.

    On vanilla kernels, the config that you should use is omap2plus_defconfig.

    Cheers.


    Hi Enric.

    The .config used has been omap2plus_defconfig, but the kernel is very unstable. I also changed some parameters in according to https://euterpe.cmi.ua.ac.be/~wtorfs/pats/pels_ext/lab_session_03.pdf

    The kernel continues being unstable, getting "segfaults" randomly.
    Regards.
    Jose
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, November 12 2013, 09:08 AM - #permalink
    0
    As I told you, the only stable kernel for IGEPv2 available is 2.6.37, so don't expect that others work.
    The reply is currently minimized Show
  • Accepted Answer

    fmartens
    fmartens
    Offline
    Tuesday, May 06 2014, 10:08 PM - #permalink
    0
    Sorry for answering an 'old' thread but take a look at: https://www.isee.biz/support/igepv2-uboot-2014-4-debian-7-4,-seems-to-work-alright

    I also asked Enric for a copy of his omap2plus_defconfig but I still did not receive it :-( .
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, May 07 2014, 09:03 AM - #permalink
    0
    The reply is currently minimized Show
Your Reply

SUPPORT


This email address is being protected from spambots. You need JavaScript enabled to view it.
This email address is being protected from spambots. You need JavaScript enabled to view it.
IGEP Community Wiki
IGEP Community Forum
IGEP Community Online Chat