Results 1 to 6 of 6

Thread: add bochs-drm module to kernel

  1. #1
    Join Date
    Mar 2012
    Beans
    46

    add bochs-drm module to kernel

    hi,
    which is fast way to add "bochs-drm" module to ubuntu-kernel (4.8.0) ?
    (without download and build full kernel-tree)

    - dkms ? (how)

    - build by hand only bochs-drm sources?

    - or ?



    thank you

  2. #2
    Join Date
    Mar 2012
    Beans
    46

    Re: add bochs-drm module to kernel

    is that possible?

    in Makefile of sources bochs-drm I have only:

    ccflags-y := -Iinclude/drm
    bochs-drm-y := bochs_drv.o bochs_mm.o bochs_kms.o bochs_fbdev.o bochs_hw.o

    obj-$(CONFIG_DRM_BOCHS) += bochs-drm.o
    mmm

  3. #3
    Join Date
    Mar 2012
    Beans
    46

    Re: add bochs-drm module to kernel

    I try with module-assistant

    but I dont find module: bochs-drm

  4. #4
    Join Date
    Mar 2012
    Beans
    46

    Re: add bochs-drm module to kernel

    I try download source kernel 4.8.0 + configure adding bochs-drm module

    but when I run:
    Code:
    make prepare
    I have:

    CHK include/config/kernel.release
    CHK include/generated/uapi/linux/version.h
    CHK include/generated/utsrelease.h
    CHK include/generated/timeconst.h
    UPD include/generated/timeconst.h
    CC kernel/bounds.s
    kernel/bounds.c:1:0: error: code model kernel does not support PIC mode
    /*

    Kbuild:45: recipe for target 'kernel/bounds.s' failed
    make[1]: *** [kernel/bounds.s] Error 1
    Makefile:1015: recipe for target 'prepare0' failed
    make: *** [prepare0] Error 2

  5. #5
    Join Date
    Mar 2012
    Beans
    46

    Re: add bochs-drm module to kernel

    I read this solution:

    http://unix.stackexchange.com/questi...ic-mode/319830

    but when I try to apply: patch < mia.patch

    I have:

    patching file Makefile
    patch: **** malformed patch at line 7: all: vmlinux

  6. #6
    Join Date
    Mar 2012
    Beans
    46

    Re: add bochs-drm module to kernel

    I applied the right patch

    http://kernel.ubuntu.com/~kernel-ppa...it-enabl.patch

    and now all works


    thankyou

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •