Skip to content

rpi 3.18.y-rebase and Kernel compile with touchscreen #793

Closed

Description

@MrChristo59

Hello all,
I have recompiled the new kernel for rasp 2 with the eGalax driver enables in menuconfig.
But rasbian won't load, I get the 4 color wallpaper...
Is their something different to do for the new pi ?

Activity

  1. popcornmix commented on Feb 4, 2015

    @popcornmix
    Collaborator

    Did you use the right config? Start with:
    ARCH=arm make bcm2709_defconfig

  2. MrChristo59 commented on Feb 4, 2015

    @MrChristo59
    Author

    Yes I did, everything went well.

  3. popcornmix commented on Feb 4, 2015

    @popcornmix
    Collaborator

    Did you replace kernel7.img (rather than kernel.img?)

  4. MrChristo59 commented on Feb 4, 2015

    @MrChristo59
    Author

    Oh dear, i'm such a mess.
    I did replace kernel7.img but didn't understand why there was a "7" so i renamed it...
    I think it will work better now.

    Thanks for your help and your good work

  5. MrChristo59 commented on Feb 4, 2015

    @MrChristo59
    Author

    Actually, that didn't fix the problem...
    Does the "./imagetool-uncompressed.py" need to be update to create the kernel7.img ?

  6. popcornmix commented on Feb 4, 2015

    @popcornmix
    Collaborator

    No, just renaming Image or zImage to kernel7.img should be enough.
    If you need device tree then you need to run mkknlimg:
    https://github.com/raspberrypi/tools/blob/master/mkimage/mkknlimg

    but I'd still expect kernel to boot without DT without doing that.

    Can you try just building an unchanged kernel with the bcm2709_defconfig and no other changes?

  7. MrChristo59 commented on Feb 4, 2015

    @MrChristo59
    Author

    Ok I try that.

  8. MrChristo59 commented on Feb 4, 2015

    @MrChristo59
    Author

    Compiling...
    Here is the code I use to compile kernel, in case you see something
    strange. It worked for 3.18.y for the rasp B+.

    "
    make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- bcm2709_defconfig
    make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- menuconfig // to
    enable eGalax driver
    make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- -k -j6

    make modules_install ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi-
    INSTALL_MOD_PATH=../modules/

    ./imagetool-uncompressed.py ../../linux/arch/arm/boot/Image

    Then copy kernel.img, modules and firwmare path.
    "

    Compiled on a Mint distrib

    2015-02-04 18:18 GMT+01:00 popcornmix notifications@github.com:

    No, just renaming Image or zImage to kernel7.img should be enough.
    If you need device tree then you need to run mkknlimg:
    https://github.com/raspberrypi/tools/blob/master/mkimage/mkknlimg

    but I'd still expect kernel to boot without DT without doing that.

    Can you try just building an unchanged kernel with the bcm2709_defconfig
    and no other changes?

    —
    Reply to this email directly or view it on GitHub
    #793 (comment).

  9. popcornmix commented on Feb 4, 2015

    @popcornmix
    Collaborator

    Don't use ./imagetool-uncompressed.py
    Just copy Image (or zImage for a smaller kernel) to kernel7.img.

  10. MrChristo59 commented on Feb 4, 2015

    @MrChristo59
    Author

    I worked. Sorry you told me that before but I didn't understand.
    It runs... But still a problem, when I start x, control are disabled... No
    touchscreen and not even usb control (mouse/keyboard).
    I guess that's another issue

    2015-02-04 18:30 GMT+01:00 popcornmix notifications@github.com:

    Don't use ./imagetool-uncompressed.py
    Just copy Image (or zImage for a smaller kernel) to kernel7.img.

    —
    Reply to this email directly or view it on GitHub
    #793 (comment).

  11. MrChristo59 commented on Feb 4, 2015

    @MrChristo59
    Author

    maybe you can help me with that error : libkmod: "ERROR
    ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file
    '/lib/modules/3.18.5-v7/modules.dep.bin'"

    2015-02-04 18:53 GMT+01:00 Christopher Coat christo.coat@gmail.com:

    I worked. Sorry you told me that before but I didn't understand.
    It runs... But still a problem, when I start x, control are disabled... No
    touchscreen and not even usb control (mouse/keyboard).
    I guess that's another issue

    2015-02-04 18:30 GMT+01:00 popcornmix notifications@github.com:

    Don't use ./imagetool-uncompressed.py
    Just copy Image (or zImage for a smaller kernel) to kernel7.img.

    —
    Reply to this email directly or view it on GitHub
    #793 (comment).

  12. popcornmix commented on Feb 4, 2015

    @popcornmix
    Collaborator

    Looks like you are not setting the modules path. E.g.
    make ARCH=arm INSTALL_MOD_PATH=../modules modules_install

  13. MrChristo59 commented on Feb 4, 2015

    @MrChristo59
    Author

    Oh dear, it was simply a copy failure.... Today is not a good day for me...
    Anyway it works very well and I want to thank you a lot.

    For the people who come here and want to make it works.
    Simply use my kernel and modules for 3.18.5-rebase :
    https://1fichier.com/?7uwem02si9

    2015-02-04 20:06 GMT+01:00 popcornmix notifications@github.com:

    Looks like you are not setting the modules path. E.g.
    make ARCH=arm INSTALL_MOD_PATH=../modules modules_install

    —
    Reply to this email directly or view it on GitHub
    #793 (comment).

  14. added a commit that references this issue on Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions