Jump to content
Sign in to follow this  
lupohirp

[DEV HELP] Help me learning how to compile a kernel for acer liquid A1

Recommended Posts

Hi guys i'm lupohirp, the developer behind cm9 for optimus one. recently i received an acer liquid a1 and i want to start kernel develop for this device. i've tried that metod that i can find in relevance thread but unfortunately this doesn't work.

i do this

1) make clean

2)make acer-q8k-a1-dvt_defconfig

and here i have problems like that i haven't x86 config in arch/x86/configs folder. but acer is an arm device so it isn't needed

someone can help me?

Share this post


Link to post
Share on other sites

Try to send a message to thepasto, it is a guru of liquid kernel. Good luck!

i've tried but he can't receive any new message uunfortunately :(

Share this post


Link to post
Share on other sites

Hi guys i'm lupohirp, the developer behind cm9 for optimus one. recently i received an acer liquid a1 and i want to start kernel develop for this device. i've tried that metod that i can find in relevance thread but unfortunately this doesn't work.

i do this

1) make clean

2)make acer-q8k-a1-dvt_defconfig

and here i have problems like that i haven't x86 config in arch/x86/configs folder. but acer is an arm device so it isn't needed

someone can help me?

You must specify architecture:

make ARCH=arm acer-q8k-a1-dvt_defconfig

then when compiling do

make ARCH=arm CROSS_COMPILE=<path to your cross compiler>

Share this post


Link to post
Share on other sites

You must specify architecture:

make ARCH=arm acer-q8k-a1-dvt_defconfig

then when compiling do

make ARCH=arm CROSS_COMPILE=<path to your cross compiler>

ok i 've did but i have flashed the generated zImage with anykernel updater script and phone didn't booted (tested on liquidnext 7.2) i've grabbed sources from here

https://github.com/c...iquid-chocolate

maybe there is another way to flash???

Edited by lupohirp

Share this post


Link to post
Share on other sites

ok i 've did but i have flashed the generated zImage with anykernel updater script and phone didn't booted (tested on liquidnext 7.2) i've grabbed sources from here

https://github.com/c...iquid-chocolate

maybe there is another way to flash???

to make boot.img

./mkbootimg --cmdline "console=null" --base 0x20000000 --pagesize 4096 --ramdisk newramdisk.cpio.gz --kernel zImage -o boot.img
to flash
adb reboot bootloader

fastboot -i 0x0502 flash boot boot.img

fastboot -i 0x0502 reboot

[/code]

Edited by thepasto

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×