Jump to content

Compile kernel help?


Recommended Posts

Posted

I tried to compile a kernel but failed :)

I did follow this guide: http://wiki.cyanogenmod.com/index.php?titl...nel_from_source

Whith this kernel source: https://github.com/xian1243/android_kernel_acer_salsa

I got no compile errors or even warnings B) so I unpacked Roggin's boot.img and repacked with liquidmkbootimg (my kernel + Roggin's ramdisc)

But after I flashed it my phon wouldn't boot.

I got different errors depending on witch deploy I'm using. With 0 it shows Tuz after the acer loggo and then reboots. With 1 it freezes on the splashscreen.

Can somebody help me?

Posted
I tried to compile a kernel but failed :)

I did follow this guide: http://wiki.cyanogenmod.com/index.php?titl...nel_from_source

Whith this kernel source: https://github.com/xian1243/android_kernel_acer_salsa

I got no compile errors or even warnings B) so I unpacked Roggin's boot.img and repacked with liquidmkbootimg (my kernel + Roggin's ramdisc)

But after I flashed it my phon wouldn't boot.

I got different errors depending on witch deploy I'm using. With 0 it shows Tuz after the acer loggo and then reboots. With 1 it freezes on the splashscreen.

Can somebody help me?

It was already answer in this forum.

Xian activated the interactive governor in the .config, but it still doesn't work atm.

Revert back to ondemand as default governor and remove interactive.

It should boot after that.

Posted

Sorry, did search but didn't find anything.

I'm taking the config from my working phone so that is alredy fixed.

CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y

# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set

# CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE is not set

CONFIG_CPU_FREQ_GOV_PERFORMANCE=y

CONFIG_CPU_FREQ_GOV_POWERSAVE=y

CONFIG_CPU_FREQ_GOV_USERSPACE=y

CONFIG_CPU_FREQ_GOV_ONDEMAND=y

# CONFIG_CPU_FREQ_GOV_INTERACTIVE is not set

Posted
Sorry, did search but didn't find anything.

I'm taking the config from my working phone so that is alredy fixed.

Check the .config file on the kernel folder.

Posted

Sorry but I can't find?

rasmus@Rasmus-Ubuntu:~/android/kernel/android_kernel_acer_salsa$ grep -i -n "interactive" .* *

.config:385:# CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE is not set

.config:390:# CONFIG_CPU_FREQ_GOV_INTERACTIVE is not set

.config.old:385:# CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE is not set

.config.old:390:# CONFIG_CPU_FREQ_GOV_INTERACTIVE is not set

Binary file .tmp_vmlinux1 matches

Binary file .tmp_vmlinux2 matches

COPYING:119: c) If the modified program normally reads commands interactively

COPYING:121: interactive use in the most ordinary way, to print or display an

COPYING:126: License. (Exception: if the Program itself is interactive but

COPYING:329:If the program is interactive, make it output a short notice like this

COPYING:330:when it starts in an interactive mode:

Binary file vmlinux matches

Binary file vmlinux.o matches

rasmus@Rasmus-Ubuntu:~/android/kernel/android_kernel_acer_salsa$ cd kernelrasmus@Rasmus-Ubuntu:~/android/kernel/android_kernel_acer_salsa/kernel$ grep -i -n "interactive" .* *

Kconfig.hz:30: while also showing good interactive responsiveness even

Kconfig.hz:38: while also showing good interactive responsiveness even

Kconfig.hz:46: systems requiring fast interactive responses to events.

Kconfig.preempt:28: This allows reaction to interactive events by allowing a

Kconfig.preempt:41: preemptible. This allows reaction to interactive events by

sched_stats.h:162: * the cpu. We should note that with the exception of interactive

sched_stats.h:165: * expired queue. (Interactive tasks may be requeued directly to the

Posted
Sorry but I can't find?

Dunno what it doesn't boot so.

Check the diffs between your config and the Xian's one.

Posted

There where some lines that was different (local + some wifi). Putted Xian's in and changed the lines^^. *compiling*

Thanks!

Posted

It didn't work. But now I atleast get some messages on logcat:

I/DEBUG ( 66): debuggerd: Nov 14 2010 15:50:08

D/DHCP ( 74): failed to set ip addr for eth0 to 0.0.0.0: No such device

I/Vold ( 64): Vold 2.1 (the revenge) firing up

I/Netd ( 65): Netd 1.0 starting

D/Vold ( 64): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)

E/NetlinkEvent( 64): NetlinkEvent::FindParam(): Parameter 'NPARTS' not found

W/DirectVolume( 64): Kernel block uevent missing 'NPARTS'

D/Vold ( 64): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)

E/NetlinkEvent( 64): NetlinkEvent::FindParam(): Parameter 'PARTN' not found

W/DirectVolume( 64): Kernel block uevent missing 'PARTN'

D/Vold ( 64): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)

W/Vold ( 64): Ignoring unknown switch 'MSM72K_UDC'

D/AndroidRuntime( 68):

D/AndroidRuntime( 68): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<

I/AndroidRuntime( 68): Heap size: -Xmx16m

D/AndroidRuntime( 68): CheckJNI is OFF

D/dalvikvm( 68): creating instr width table

D/dalvikvm( 68): Unable to stat classpath element '/system/framework/com.htc.framework.jar'

D/dalvikvm( 68): Unable to stat classpath element '/system/framework/com.htc.android.pimlib.jar'

D/dalvikvm( 68): Unable to stat classpath element '/system/framework/com.htc.android.easopen.jar'

D/dalvikvm( 68): Unable to stat classpath element '/system/framework/com.scalado.util.ScaladoUtil.jar'

E/AudioHardwareQSD( 69): failed to open DualMicControl /system/etc/DualMicControl.txt: No such file or directory (2)

I/CameraService( 69): CameraService started: pid=69

D/AudioFlinger( 69): setParameters(): io 1, keyvalue routing=2, tid 114, calling tid 69

I/AudioFlinger( 69): AudioFlinger's thread 0xb8b0 ready to run

Posted
It didn't work. But now I atleast get some messages on logcat:

The logcat stops here ? No more lines ?

Posted

No more lines even after a cuple of minutes.

I have a pretty customized system. Maybe it will help to install a clean rom? *trying*

Posted
No more lines even after a cuple of minutes.

I have a pretty customized system. Maybe it will help to install a clean rom? *trying*

Yup, maybe you've made some mistakes. (bad files)

Posted

Probably, because now it works B) Big Thanks!

The weird thing is that my customized system worked whit roggin's kernel.

Didn't thought customizations could be kernel specific.

Guest snootched
Posted
Probably, because now it works B) Big Thanks!

The weird thing is that my customized system worked whit roggin's kernel.

Didn't thought customizations could be kernel specific.

which ramdisk did you use?

Guest Borkata
Posted

Hello,

Can you share the config file from your device. It seems to be missing on mine.

Regards,

Borkata

Posted

I used the ramdisk from Roggin's boot.img (found in his CM6 rom)

I don't have the right OS now to share the .config but you can use Xian1234's with the changes mentioned by Vache^^

Guest Borkata
Posted
I used the ramdisk from Roggin's boot.img (found in his CM6 rom)

I don't have the right OS now to share the .config but you can use Xian1234's with the changes mentioned by Vache^^

Well, I am intrested in stock kernel conf so I can find out what options use acer.

Posted

Acer's kernel source isn't fully working (at least not donut or eclair, I don't know if froyo's out yet.). So you probably want to use Xian's

Guest Borkata
Posted

Indeed froyo source is not out and I want to compile from xian git but make sure all modules that are present in latest Rom will be configured.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.