Changeset 16723 in niluje


Ignore:
Timestamp:
Nov 24, 2019, 3:55:56 AM (3 weeks ago)
Author:
NiLuJe
Message:

Kindle Hacks:

  • X-TC:
    • More Kobo kernel comments
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Configs/trunk/Kindle/Misc/x-compile.sh

    r16722 r16723  
    39923992# NOTE: Random mildly related comment re: building modules. Reading https://github.com/marek-g/kobo-kernel-2.6.35.3-marek/blob/linux/build_instructions is a good start.
    39933993#       In practice, on the old H2O kernel, I've also had to:
    3994 #         * Fix scripts/kconfig/lxdialog/check-lxdialog.sh to link against libtinfow (i.e., add -ltinfow to the -l${lib} string), too (similar to what I had to do in ct-ng 1.23)
    3995 #         * Kill the final defined() call in kernel/timeconst.pl, as per the warning
     3994#         * Fix scripts/kconfig/lxdialog/check-lxdialog.sh to link against libtinfow (i.e., add -ltinfow to the -l${lib} string), too (similar to what I had to do in ct-ng 1.23), in order to be able to run menuconfig and enable FUSE.
     3995#         * Kill the final defined() call in kernel/timeconst.pl, as per the warning, to get the main kernel to build.
    39963996#         * Because of CONFIG_MODVERSIONS, you need a full kernel build first, otherwise init_module throws a fit (ENOEXEC, invalid module format). So you can't just make modules && make modules_install :/.
    39973997#       The H2O kernel appears to have been built with truly ancient MG/CodeSourcery (2010q1-202) GCC 4.4.1 TCs, so I went with my bare 'nickel' GCC 4.9 TC to stay as close as that as possible. That worked out fine. And matches what's used on newer devices.
    39983998#       Kobo doesn't do modprobe, so I just threw the modules into /drivers/${PLATFORM}/fs/fuse and called it a day ;).
    3999 #       No need to have the u-boot tools installed since I'm not actually planning on flashing a custom kernel ;).
     3999#       No need to have the u-boot tools installed since I'm not actually planning on flashing a custom kernel ;). You probably don't want to do that anyway, since the sources aren't always up to date...
    40004000#       The H2O sources ship with the right .config in place, otherwise, simply zcat /proc/config.gz from a live device.
    40014001#       TL;DR:
Note: See TracChangeset for help on using the changeset viewer.