Kernel building help

Discussion in 'Android Hacks and Help' started by jamezelle, Apr 11, 2010.

  1. jamezelle
    Offline

    jamezelle Premium Member Premium Member Developer

    Joined:
    Apr 11, 2010
    Messages:
    620
    Likes Received:
    0
    Trophy Points:
    0
    Hey all just joined these forums over here.

    Ive been a long time member of xda though so please dont treat me like a noob(othere than with this kernel stuff:p )

    so im trying to compile a custom 5 slot kernel

    it compiles but when i boot it, it hangs at:
    Code:
    D/dalvikvm( 1039): GC freed 735 objects / 40536 bytes in 34ms
    D/dalvikvm( 1039): GC freed 13978 objects / 473488 bytes in 42ms
    D/dalvikvm( 1039): GC freed 10470 objects / 447464 bytes in 43ms
    D/dalvikvm( 1039): GC freed 10915 objects / 469056 bytes in 47ms
    D/dalvikvm( 1039): GC freed 7906 objects / 460192 bytes in 46ms
    D/dalvikvm( 1039): GC freed 7852 objects / 459424 bytes in 47ms
    D/dalvikvm( 1039): GC freed 8268 objects / 515680 bytes in 48ms
    D/dalvikvm( 1039): GC freed 7207 objects / 400256 bytes in 48ms
    D/dalvikvm( 1039): GC freed 832 objects / 49800 bytes in 45ms
    D/dalvikvm( 1039): GC freed 541 objects / 39008 bytes in 45ms
    D/dalvikvm( 1039): GC freed 456 objects / 31288 bytes in 45ms
    D/dalvikvm( 1039): GC freed 430 objects / 29784 bytes in 46ms
    I/Zygote  ( 1039): ...preloaded 1939 classes in 7480ms.
    D/dalvikvm( 1039): GC freed 112 objects / 14560 bytes in 46ms
    I/Zygote  ( 1039): Preloading resources...
    D/dalvikvm( 1039): GC freed 5 objects / 224 bytes in 46ms
    D/dalvikvm( 1039): GC freed 172 objects / 8552 bytes in 46ms
    D/dalvikvm( 1039): GC freed 155 objects / 8216 bytes in 47ms
    D/dalvikvm( 1039): GC freed 142 objects / 6144 bytes in 47ms
    D/dalvikvm( 1039): GC freed 100 objects / 5480 bytes in 47ms
    I/Zygote  ( 1039): ...preloaded 48 resources in 687ms.
    I/Zygote  ( 1039): ...preloaded 15 resources in 11ms.
    D/dalvikvm( 1039): GC freed 112 objects / 8624 bytes in 48ms
    D/dalvikvm( 1039): GC freed 204 objects / 8104 bytes in 47ms
    D/dalvikvm( 1039): GC freed 57 objects / 2216 bytes in 56ms
    I/dalvikvm( 1039): Splitting out new zygote heap
    I/dalvikvm( 1039): System server process 1080 has been created
    I/Zygote  ( 1039): Accepting command socket connections
    D/dalvikvm( 1080): Trying to load lib /system/lib/libandroid_servers.so 0x0
    D/dalvikvm( 1080): Added shared lib /system/lib/libandroid_servers.so 0x0
    I/sysproc ( 1080): Entered system_init()
    I/sysproc ( 1080): ServiceManager: 0x118680
    I/SurfaceFlinger( 1080): SurfaceFlinger is starting
    I/SurfaceFlinger( 1080): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
    E/FramebufferNativeWindow( 1080): couldn't open framebuffer HAL (No such device)
    D/libEGL  ( 1080): loaded /system/lib/egl/libGLES_android.so
    D/libEGL  ( 1080): loaded /system/lib/egl/libEGL_POWERVR_SGX530_121.so
    D/libEGL  ( 1080): loaded /system/lib/egl/libGLESv1_CM_POWERVR_SGX530_121.so
    D/libEGL  ( 1080): loaded /system/lib/egl/libGLESv2_POWERVR_SGX530_121.so
    W/libEGL  ( 1080): 0: eglInitialize(0x1) failed (EGL_BAD_ALLOC)
    
    yes i searched these forums and google and couldnt find anything related

    not sure why the gl libs not loading would be because of anychanges i made.
    i edited

    clock34xx.c
    board-sholes.c
    omap3-opp.h

    any help would be appriciated thanks :)
  2. adrynalyne
    Offline

    adrynalyne Premium Member Premium Member Developer

    Joined:
    Dec 21, 2009
    Messages:
    2,896
    Likes Received:
    4
    Trophy Points:
    0
  3. jamezelle
    Offline

    jamezelle Premium Member Premium Member Developer

    Joined:
    Apr 11, 2010
    Messages:
    620
    Likes Received:
    0
    Trophy Points:
    0
  4. jamezelle
    Offline

    jamezelle Premium Member Premium Member Developer

    Joined:
    Apr 11, 2010
    Messages:
    620
    Likes Received:
    0
    Trophy Points:
    0
    got it this time thanks for a well written write up! :)
  5. adrynalyne
    Offline

    adrynalyne Premium Member Premium Member Developer

    Joined:
    Dec 21, 2009
    Messages:
    2,896
    Likes Received:
    4
    Trophy Points:
    0
    Glad to hear it worked out :)
Search tags for this page
0: eglinitialize(0x1) failed (egl bad alloc)
,

couldn't open framebuffer hal (not a typewriter)

,

couldn't open framebuffer hal (operation not permitted)

,
couldn't open framebuffer hal(no such file or directory)
,
couldn't+open+framebuffer hal
,
e/surfaceflinger( 3819): framebuffer open failed (operation
,
eglinitialize 0x1 failed egl bad alloc
,

eglinitialize(0x1) failed (egl bad alloc)

,
eglinitialize(0x1)+failed (egl bad alloc)
,
framebuffernativewindow couldn't open framebuffer hal (no su
,
libegl eglinitialize(0x1) failed (egl bad alloc)
,
mali eglinitialize egl bad alloc
,
nexus couldn't open framebuffer hal not a typewriter kernel
,
omap couldn't open framebuffer hal
,
w/libegl ( 280): 0: eglinitialize(0x1) failed (egl bad alloc