Kernel hacking - getting a "clean" 3.0.35 image

Discussion in 'Kernels' started by voltagex, Nov 1, 2013.

  1. voltagex

    voltagex New Member

    Joined:
    Oct 31, 2013
    Messages:
    5
    Likes Received:
    0
    [removed old stuff]

    I am maintaining some work on this at https://github.com/voltagex/udoo-kernel

    Thanks to trunet and others :D

    You can probably contact me easiest on the #udoo IRC channel on freenode, or via twitter @voltagex
     
  2. trunet

    trunet New Member

    Joined:
    Oct 25, 2013
    Messages:
    17
    Likes Received:
    0
    +1

    I was doing exactly the same as you. :D I'll try to help.
     
  3. trunet

    trunet New Member

    Joined:
    Oct 25, 2013
    Messages:
    17
    Likes Received:
    0
    Attached is my patch against linux-imx6 repository imx_3.0.35_4.1.0 branch.

    My microsd is recognized but I'm getting a kernel panic of not finding root partition. Still trying to figure out. My guess is that someway microsd is write locked(because I'm getting a (ro) when it's recognized). No idea how to fix, I'm not a kernel developer.
     

    Attached Files:

  4. trunet

    trunet New Member

    Joined:
    Oct 25, 2013
    Messages:
    17
    Likes Received:
    0
  5. trunet

    trunet New Member

    Joined:
    Oct 25, 2013
    Messages:
    17
    Likes Received:
    0
    success. I hacked MMC driver to never mount as read-only. latest patch is here and is working against 3.0.35-4.1.0. now I'll start playing with audio that is not being recognizing and vivante gpu after it.
     

    Attached Files:

  6. voltagex

    voltagex New Member

    Joined:
    Oct 31, 2013
    Messages:
    5
    Likes Received:
    0
    Don't know what time zone you're in but I think you should hop on IRC. I'll be around a bit.
     
  7. Bela

    Bela Member

    Joined:
    Oct 30, 2013
    Messages:
    32
    Likes Received:
    0
    Hello.
    I'm pretty new at kernel stuff and such things. Can I ask you about that kernel "hack"?
     
  8. voltagex

    voltagex New Member

    Joined:
    Oct 31, 2013
    Messages:
    5
    Likes Received:
    0
    What would you like to know?
     
  9. Bela

    Bela Member

    Joined:
    Oct 30, 2013
    Messages:
    32
    Likes Received:
    0
    Actually I'd like to know what exactly that kermel does. I read the documentation and I didn't understand a lot of things.
     
  10. brunod

    brunod New Member

    Joined:
    Nov 6, 2013
    Messages:
    6
    Likes Received:
    0
    Hi,

    I tried to get the imx6 pwm to work on my board (pwm1). I made some nice code to fill all the required registers but no way to be able to write into them (could not write into /dev/mem or kmem , I could not map them to a file). Is this normal? It seems (google) the kernel is preventing me to do it for security reasons. Can you confirm? What should be the proper way to do it? (I came to the conclusion that it should be done through u-boot, but I am not sure, and this seem quiet limiting).

    Thanks.
     

Share This Page