Jump to content

2.6.32 froyo kernel


Guest leeshore
 Share

Recommended Posts

An interesting update: Don't get your hopes up though, as I haven't read the entire multitouch topic in this forum and I'm not really sure this was here all along, but:

MULTITOUCH.

Yes.

Oh, I haven't compiled and tested it yet, but there's an interesting find here, in /drivers/touchscreen/synaptics_i2c_rmi.c

Lines 146-150

				/* int x2 = buf[3+6] | (uint16_t)(buf[2+6] & 0x1f) << 8; */

				/* int y2 = buf[5+6] | (uint16_t)(buf[4+6] & 0x1f) << 8; */

				/* int z2 = buf[1+6]; */

				/* int w2 = buf[0+6] >> 4; */

				/* int finger2 = buf[0+6] & 7; */

There's (obviously) commented out code for a second finger input source. This means, we can at least get dualtouch (pinch-to-zoom?) working... if this driver is the one used in our pulses.

More research is needed, I'll try to compile the kernel first tonight, and see what I can do. This is just a really quick (but exciting!) update :unsure:

In the earlier kernels the synaptics_i2c_rmi_tm1319.c driver was used. This file isn't even in the source, so I don't know.

Link to comment
Share on other sites

The .32 kernel has tm1771. As far as I can recall, Linux only supported native multitouch on... .31? Or so. Not sure.

According to code in tm1771.c, we have something referencing native multitouch.

Oh, I checked tm1319.c - it only has ~500 lines of code whereas tm1771.c has ~1100. That's hell of a change. I'll diff them.

Interesting things in TM1771.c:

#ifdef CONFIG_SYNA_MT

			/* Linux 2.6.31 multi-touch */

			input_set_abs_params(ts->input_dev, ABS_MT_TRACKING_ID, 1,

								 ts->f11.points_supported, 0, 0);


			/* begin: added by z00168965 for multi-touch */

			input_set_abs_params(ts->input_dev, ABS_MT_POSITION_X, 0, ts->x_max, 0, 0);

			input_set_abs_params(ts->input_dev, ABS_MT_POSITION_Y, 0, ts->y_max, 0, 0);

			/* end: added by z00168965 for multi-touch */


			input_set_abs_params(ts->input_dev, ABS_MT_TOUCH_MAJOR, 0, 0xF, 0, 0);

			input_set_abs_params(ts->input_dev, ABS_MT_TOUCH_MINOR, 0, 0xF, 0, 0);

			input_set_abs_params(ts->input_dev, ABS_MT_ORIENTATION, 0, 1, 0, 0);

#endif

Will be updating a lot tonight if all goes well. :unsure:

Link to comment
Share on other sites

Setting up the build environment was harder than I thought, and I managed to screw my pulse up in the process >.<

/nandroids back/

I'll try another build later today - It's been a long time since I've ever compiled a kernel (oh, days of gentoo...must.compile.kernel.) and never played with android anyway... >.<

Camera driver, still looking... I found something in /drivers/staging/dream, but nothing interesting to report so far.

Oh, there's a synaptics touchscreen driver in that folder, too... strange...

Another side note... The SoC (MSM7200A, the CPU)'s driver is in /arch/arm/mach-msm. MSM7x01(a) is our chipset, while our OpenGL is from MSM7x30.

Perhaps we can get a more advanced OpenGL ES working, too? Anyway, this needs more digging into the code, of which I'm not particularly fond of. I'll try my best.

I'd be really happy if someone could point me to some detailed instructions on how to build the kernel [properly] and flash it (boot.img?) onto my u8220-6 [properly]. Tried a search, sorry, didn't really help much :)

Thanks all for the support, I'll be updating soon :unsure:

Link to comment
Share on other sites

Setting up the build environment was harder than I thought, and I managed to screw my pulse up in the process >.<

/nandroids back/

I'll try another build later today - It's been a long time since I've ever compiled a kernel (oh, days of gentoo...must.compile.kernel.) and never played with android anyway... >.<

Camera driver, still looking... I found something in /drivers/staging/dream, but nothing interesting to report so far.

Oh, there's a synaptics touchscreen driver in that folder, too... strange...

Another side note... The SoC (MSM7200A, the CPU)'s driver is in /arch/arm/mach-msm. MSM7x01(a) is our chipset, while our OpenGL is from MSM7x30.

Perhaps we can get a more advanced OpenGL ES working, too? Anyway, this needs more digging into the code, of which I'm not particularly fond of. I'll try my best.

I'd be really happy if someone could point me to some detailed instructions on how to build the kernel [properly] and flash it (boot.img?) onto my u8220-6 [properly]. Tried a search, sorry, didn't really help much :P

Thanks all for the support, I'll be updating soon :unsure:

Maybe this can help: http://forum.xda-developers.com/showthread.php?t=1039854 :)

Link to comment
Share on other sites

I got a serious cold yesterday, bah, didn't even manage to touch the computer at night. I'm compiling the kernel right now, woohoo for waiting.

Thanks rulerofkaos and niix2571 for the instructions, working on it :unsure:

If I manage to get the kernel booting and working, I'll scream in here. Even more if I get dualtouch (now I'm just dreaming.) working :o

My plan is to compile it stock (no changes) first, if it boots, I'll see if it's faster or so, and I'll get a screenshot up asap. Then I'll go work on the tweaks.

The VM host is a Wolfdale Core 2 Duo though, so compiling will take a while. >.<

Wee.

UPDATE 1: I found a cool config variable, allowing CPU to ramp up to 998MHz (1GHz! Woo), I'll compile a kernel with that config later to see how it goes. :P

UPDATE 2: Can't seem to build zImage in this VM for some reason, something related to hw3d.c. Here's the error log for anyone who's interested, I'm going to try some kernel hackery.

/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:111:8: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:111:8: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:111:8: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:111:8: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:111:8: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:111:8: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:114:22: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c: At top level:
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:121:44: warning: 'struct hw3d_info' declared inside parameter list
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c: In function 'locked_hw3d_client_done':
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:123:10: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:125:7: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:126:19: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:127:19: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:129:6: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:132:2: error: implicit declaration of function 'locked_hw3d_irq_disable'
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:135:3: error: implicit declaration of function 'wake_unlock'
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:135:20: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:136:2: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c: At top level:
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:139:36: warning: 'struct hw3d_info' declared inside parameter list
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c: In function 'do_force_revoke':
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:145:2: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:148:10: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:149:3: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:151:26: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:152:23: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:153:7: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:155:2: warning: passing argument 1 of 'locked_hw3d_client_done' from incompatible pointer type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:121:13: note: expected 'struct hw3d_info *' but argument is of type 'struct hw3d_info *'
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:157:2: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c: At top level:
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:161:39: warning: 'struct hw3d_info' declared inside parameter list
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c: In function 'locked_hw3d_revoke':
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:166:2: error: implicit declaration of function 'wake_lock'
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:166:17: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:167:6: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:168:2: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:169:17: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c: In function 'is_msm_hw3d_file':
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:174:27: error: 'hw3d_info' undeclared (first use in this function)
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:174:27: note: each undeclared identifier is reported only once for each function it appears in
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:175:48: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:176:6: error: implicit declaration of function 'is_client'
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c: In function 'put_msm_hw3d_file':
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:185:2: error: implicit declaration of function 'fput'
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c: In function 'hw3d_vma_close':
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:269:18: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:270:18: error: 'HW3D_NUM_REGIONS' undeclared (first use in this function)
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:271:11: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:272:8: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:278:20: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c: In function 'hw3d_mmap':
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:283:27: error: 'hw3d_info' undeclared (first use in this function)
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:287:2: error: implicit declaration of function 'REGION_PAGE_ID'
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:289:16: error: 'HW3D_NUM_REGIONS' undeclared (first use in this function)
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:293:28: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:294:3: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:298:2: error: implicit declaration of function 'REGION_PAGE_OFFS'
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:304:35: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:305:3: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:309:11: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:309:29: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:310:3: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:310:3: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:315:18: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:316:10: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:329:8: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:342:16: error: 'HW3D_REGS' undeclared (first use in this function)
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:343:3: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:343:3: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:346:17: error: 'hw3d_vm_ops' undeclared (first use in this function)
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:349:6: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:352:20: error: dereferencing pointer to incomplete type
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c: At top level:
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:101:13: warning: 'hw3d_wait_for_revoke' defined but not used
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:139:13: warning: 'do_force_revoke' defined but not used
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:161:13: warning: 'locked_hw3d_revoke' defined but not used
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:247:13: warning: 'hw3d_vma_open' defined but not used
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:258:13: warning: 'hw3d_vma_close' defined but not used
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/hw3d.c:281:12: warning: 'hw3d_mmap' defined but not used
make[2]: *** [arch/arm/mach-msm/hw3d.o] Error 1[/codebox]

UPDATE 3: Fixed the hw3d.c error with some kernel kung-fu. Yay. Now getting some error about keypad-hid.c.

More fun!

[codebox]/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/keypad-hid.c:32:4: error: 'HID_VOLUMEUP_GPIO' undeclared here (not in a function)
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/keypad-hid.c:33:4: error: 'HID_VOLUMEDOWN_GPIO' undeclared here (not in a function)
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/keypad-hid.c:34:4: error: 'HID_HOME_GPIO' undeclared here (not in a function)
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/keypad-hid.c:35:4: error: 'HID_MENU_GPIO' undeclared here (not in a function)
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/keypad-hid.c:36:4: error: 'HID_BACK_GPIO' undeclared here (not in a function)
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/keypad-hid.c:37:4: error: 'HID_SEND_GPIO' undeclared here (not in a function)
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/keypad-hid.c:38:4: error: 'HID_END_GPIO' undeclared here (not in a function)
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/keypad-hid.c: In function 'keypad_gpio_event_input_func':
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/keypad-hid.c:91:2: warning: passing argument 1 of 'gpio_event_input_func' from incompatible pointer type
/home/jimmie/u8220-build/kernel/include/linux/gpio_event.h:110:12: note: expected 'struct gpio_event_input_devs *' but argument is of type 'struct input_dev *'
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/keypad-hid.c: At top level:
/home/jimmie/u8220-build/kernel/arch/arm/mach-msm/keypad-hid.c:85:12: warning: 'keypad_gpio_event_input_func' defined but not used
make[2]: *** [arch/arm/mach-msm/keypad-hid.o] Error 1

UDPATE 4: Great, to fix the above two issues you have two options. 1. fix via code (what I did and worked, but broke other things, will check later), or 2. replace files.

Go to Antonio's repo and replace your hw3d.c with the 2.6.29 one, and the keypad-hid.c with the 2.6.29 keypad-Huawei.c. This will fix compile errors (for now, I'm still halfway through)

I just gotta love compiling kernels on a Sunday morning. Yay!

UPDATE 5: I'm stuck, when compiling /drivers/accelerometer/gs_freescale.c, the corresponding .h file isn't there, and that file is nowhere on the internet. This means I'll have to write it by myself. Ehh...

Working on it, will keep updating when I fix this. Compiling this kernel is harder than I thought. Stupid, stupid.

If anyone can help me look for a file called "gs_freescale.h" in the infinity of the internets, it would be really appreciated as I'm stuck at this step. I'll be coding one myself, but since this should be a GPL component it should be here.. Coding a .h file isn't hard though. But if anyone has the source (=find one), please give it to me. Thanks!

UPDATE 6: Quick and dirty, I removed the #include <linux/gs_freescale.h> from gs_freescale.c. Bad practice, I know, I don't know what it'll yield, but let's try.

I am really tempted to move the compiling process to my main workstation which is a i7 monster, but I'm lazy D:

If I get to the 20th compile fail I'm going to do it. Argh... 12 fails to go!

UPDATE 7: Found gs_freescale.h, inside... *drumroll* ...Antonio's repo. Yeah, blame me for being a little blind >.<

UPDATE 8: Going to rest a bit, waiting for the kernel to compile. If all is well, I should get .32 running on my u8220-6 a couple hours later, and if I do, I'll post the boot.img up here. :)

UPDATE 9: Okay, just when I said I was going to rest... This is close! ;)



drivers/built-in.o: In function `diagfwd_disconnect':
/home/jimmie/u8220-build/kernel/drivers/char/diag/diagfwd.c:516: undefined reference to `diag_close'
drivers/built-in.o: In function `diagfwd_connect':
/home/jimmie/u8220-build/kernel/drivers/char/diag/diagfwd.c:490: undefined reference to `diag_open'
/home/jimmie/u8220-build/kernel/drivers/char/diag/diagfwd.c:504: undefined reference to `diag_read'
drivers/built-in.o: In function `diag_device_write':
/home/jimmie/u8220-build/kernel/drivers/char/diag/diagfwd.c:111: undefined reference to `diag_write'
drivers/built-in.o: In function `diag_read_work_fn':
/home/jimmie/u8220-build/kernel/drivers/char/diag/diagfwd.c:630: undefined reference to `diag_read'
drivers/built-in.o: In function `diagfwd_init':
/home/jimmie/u8220-build/kernel/drivers/char/diag/diagfwd.c:696: undefined reference to `diag_usb_register'
drivers/built-in.o: In function `diagfwd_exit':
/home/jimmie/u8220-build/kernel/drivers/char/diag/diagfwd.c:726: undefined reference to `diag_close'
/home/jimmie/u8220-build/kernel/drivers/char/diag/diagfwd.c:730: undefined reference to `diag_usb_unregister'
net/built-in.o: In function `wiphy_rfkill_start_polling':
/home/jimmie/u8220-build/kernel/net/wireless/core.c:509: undefined reference to `rfkill_resume_polling'
make[1]: *** [.tmp_vmlinux1] Error 1
make: *** [sub-make] Error 2
[/codebox]

Yeah, another error in /drivers/char/diag/diagfwd.c. Solution? Replace it with .29 version. [s]Will it work? Will tell you guys in a bit. :P[/s]

UPDATE 10: Nope, doesn't work... Just skipping this for now and doing what a bad programmer would do. Stubs. Woo!

[code]/* * Bad, bad work, but we're just going to notImplemented() things first... */ void diag_close(void) {} int diag_open(int num_req) { return 0; } int diag_write(struct diag_request *d_req) { return 0; } int diag_usb_register(struct diag_operations *func) { return 0; } int diag_usb_unregister(void) { return 0; } int diag_read(struct diag_request *d_req) { return 0; } /* * End bad, bad things */[/code]

To "fix" compile errors in diagfwd.c, add that in. This will... well, make the compile work. Not sure what the real-world effect on the pulse would be, yet to test....

UPDATE 11: [b]Okay, I think I fixed all errors in the code, I did get a compile failure, due to some directory problems and stuff. I've moved my compile environment to my i7 monster, compiling. After that I'll start the SDK up and flash my boot.img properly. :P[/b]

Edited by jimmie32
Link to comment
Share on other sites

Still working...Sadly, after a compile, there's still a problem, of which I am not able to solve (yet). >.<

I got a Image file in /arch/arm/boot, but no zImage. The compile process is terminated before the zImage can be built due to some error with the ARM compiler, and I don't know how to fix it yet.

I lost the error message (stupid me...) and I am recompiling right now. Will be looking for a way to solve it.

I tried to build a boot.img with the Image file, but it was too big (~5.5MiB instead of 5MiB) so it didn't flash properly into the u8220. Still, this is some progress. :)

Will be updating as soon as I fix this. Anyone knows about the above problem and can solve it? Please? :unsure:

Here's the error log.

  LD	  vmlinux.o

  MODPOST vmlinux.o

  GEN	 .version

  CHK	 include/linux/compile.h

  UPD	 include/linux/compile.h

  CC	  init/version.o

  LD	  init/built-in.o

  LD	  .tmp_vmlinux1

  KSYM	.tmp_kallsyms1.S

  AS	  .tmp_kallsyms1.o

  LD	  .tmp_vmlinux2

  KSYM	.tmp_kallsyms2.S

  AS	  .tmp_kallsyms2.o

  LD	  vmlinux

  SYSMAP  System.map

  SYSMAP  .tmp_System.map

  OBJCOPY arch/arm/boot/Image

  Kernel: arch/arm/boot/Image is ready

  AS	  arch/arm/boot/compressed/head.o

  GZIP	arch/arm/boot/compressed/piggy.gz

  CC	  arch/arm/boot/compressed/misc.o

  AS	  arch/arm/boot/compressed/piggy.o

  LD	  arch/arm/boot/compressed/vmlinux

./arm-2010.09/bin/arm-none-linux-gnueabi-ld: cannot find libgcc.a: No such file or directory

make[3]: *** [arch/arm/boot/compressed/vmlinux] Error 1

make[2]: *** [arch/arm/boot/compressed/vmlinux] Error 2

make[1]: *** [zImage] Error 2

make: *** [sub-make] Error 2

Edited by jimmie32
Link to comment
Share on other sites

We would like to see an error messege.

Oh, sory I find it there just now

libgcc.a what this file do, and why arm doesn't find it?

Sorry for my bad english.

P.S. In China now morning, day or night?

Edited by MoreBlood
Link to comment
Share on other sites

It's 13:52 right now... GMT/UTC +8 is the Beijing timezone, I think... Not sure. Been a while since I've been in Europe (I used to live in Portugal a couple years ago). Haha...

Well, not sure, it seems to be a problem with the x86/ARM cross-compiler... I'm upgrading some packages to see if it works, I think it's because I don't have gcc-4.5-arm-linux-gnueabi installed... stupid me, that must be it. Waiting for the download to finish before I slap myself, since I'm stupid. >.<

Don't worry about your bad English, we all had that moment before. :unsure:

Recompiling!

Link to comment
Share on other sites

Not really, I tried to install that and it didn't work, I'm getting a bunch of permission problems here... eh...

But still working on it, will update later.

WOOOHOO! I got it compiled!



[email protected]:~/u8220-build/kernel$ sudo make zImage -j4 ARCH=arm CROSS_COMPILE=./arm-2010.09/bin/arm-none-linux-gnueabi- O=../kernel-bin
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-arm
make[2]: `/home/jimmie/u8220-build/kernel/include/asm-arm/mach-types.h' is up to date.
Using /home/jimmie/u8220-build/kernel as source for kernel
CALL /home/jimmie/u8220-build/kernel/scripts/checksyscalls.sh
CHK include/linux/compile.h
SKIPPED include/linux/compile.h
Kernel: arch/arm/boot/Image is ready
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
[/codebox]

Flashing it onto my u8220! :unsure:

UPDATE 1: Nope, bootloops... Celebration too early. Now, let's see, how do I debug this?

Edited by jimmie32
Link to comment
Share on other sites

Not really, I tried to install that and it didn't work, I'm getting a bunch of permission problems here... eh...

But still working on it, will update later.

WOOOHOO! I got it compiled!



[email protected]:~/u8220-build/kernel$ sudo make zImage -j4 ARCH=arm CROSS_COMPILE=./arm-2010.09/bin/arm-none-linux-gnueabi- O=../kernel-bin
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-arm
make[2]: `/home/jimmie/u8220-build/kernel/include/asm-arm/mach-types.h' is up to date.
Using /home/jimmie/u8220-build/kernel as source for kernel
CALL /home/jimmie/u8220-build/kernel/scripts/checksyscalls.sh
CHK include/linux/compile.h
SKIPPED include/linux/compile.h
Kernel: arch/arm/boot/Image is ready
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
[/codebox]

Flashing it onto my u8220! :unsure:

Whooohooo!!!

No whoooho!!!

:)

Edited by MoreBlood
Link to comment
Share on other sites

Well... it doesn't work, bootloops, stupid me...

I suspect that the problem is related to the ugly ugly hack I made (see my huge post in page 2) to the diag.c file, which is something (I guess, I don't know) related to the console of the linux kernel, so I screwed it up and it just bootloops with a black screen. Anyways... Meh.

In order to get some help, here's something. This is the boot.img that I ended up with, and its zImage. The boot.img was built against the ramdisk I found inside the CM7 ROM (thanks Antonio, Tom G, et al) and the zImage kernel (2.6.32).

The below boot.img is NOT functional and only flash it if you ARE EXPERIENCED TO DEBUG THE LINUX KERNEL! Flashing this boot.img IS SURE TO RESULT IN A BOOTLOOP so proceed with EXTREME CAUTION. It doesn't work on my U8220-6, so be prepared to restore your nandroid backup. Be prepared to restore, and make a backup first! don't tell me I didn't warn you. this is clear enough.

If you don't know how to flash it, you're not experienced enough. As simple as that.

I'll be debugging this on Tuesday afternoon, I'm too tired to continue work now, but we're very close to getting this to run. Meanwhile, hope that one of us can get this working. :unsure:

Resulting zImage, built against ARMv6, 2.6.32, gcc-4.5-arm, on Ubuntu 11.04 "Natty": http://www.mediafire.com/?jqfcusmeez0qvsr

Resulting boot.img, built with zImage (above) and the RAMDisk found in CM7-20110420.zip. DO NOT FLASH IF YOU ARE NOT EXPERIENCED!

http://www.mediafire.com/?g17ov0tacfl4ga2

I've built another boot.img, it's 2KB larger but still doesn't boot. This was built against a different ramdisk, but the result is the same: bootloops, nothing else. ;)

If a dev wants that boot.img, please PM me. I don't think you'll need it, you have one above, and you have a zImage, and you can always build the source yourself. I'm stuck :P

The .config file for those who are interested:


#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.32.9
# Sat May 14 20:50:13 2011
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_GENERIC_GPIO=y
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_ARCH_HAS_CPUFREQ=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
CONFIG_OPROFILE_ARMV6=y
CONFIG_OPROFILE_ARM11_CORE=y
CONFIG_VECTORS_BASE=0xffff0000
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_CONSTRUCTORS=y

#
# General setup
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_LOCALVERSION="$(KERNEL_LOCAL_VERSION)-perf"
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set

#
# RCU Subsystem
#
CONFIG_TREE_RCU=y
# CONFIG_TREE_PREEMPT_RCU is not set
# CONFIG_RCU_TRACE is not set
CONFIG_RCU_FANOUT=32
# CONFIG_RCU_FANOUT_EXACT is not set
# CONFIG_TREE_RCU_TRACE is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=17
# CONFIG_GROUP_SCHED is not set
# CONFIG_CGROUPS is not set
# CONFIG_SYSFS_DEPRECATED_V2 is not set
# CONFIG_RELAY is not set
# CONFIG_NAMESPACES is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_RD_GZIP=y
# CONFIG_RD_BZIP2 is not set
# CONFIG_RD_LZMA is not set
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SYSCTL=y
CONFIG_ANON_INODES=y
CONFIG_PANIC_TIMEOUT=0
CONFIG_EMBEDDED=y
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_ASHMEM=y
CONFIG_AIO=y

#
# Kernel Performance Events And Counters
#
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_COMPAT_BRK=y
CONFIG_SLAB=y
# CONFIG_SLUB is not set
# CONFIG_SLOB is not set
CONFIG_PROFILING=y
CONFIG_TRACEPOINTS=y
CONFIG_OPROFILE=m
CONFIG_HAVE_OPROFILE=y
# CONFIG_KPROBES is not set
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y

#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not set
# CONFIG_SLOW_WORK is not set
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
# CONFIG_MODULE_FORCE_LOAD is not set
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_BLOCK=y
CONFIG_LBDAF=y
# CONFIG_BLK_DEV_BSG is not set
# CONFIG_BLK_DEV_INTEGRITY is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
# CONFIG_IOSCHED_DEADLINE is not set
# CONFIG_IOSCHED_CFQ is not set
CONFIG_DEFAULT_AS=y
# CONFIG_DEFAULT_DEADLINE is not set
# CONFIG_DEFAULT_CFQ is not set
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="anticipatory"
CONFIG_FREEZER=y

#
# System Type
#
CONFIG_MMU=y
# CONFIG_ARCH_AAEC2000 is not set
# CONFIG_ARCH_INTEGRATOR is not set
# CONFIG_ARCH_REALVIEW is not set
# CONFIG_ARCH_VERSATILE is not set
# CONFIG_ARCH_AT91 is not set
# CONFIG_ARCH_CLPS711X is not set
# CONFIG_ARCH_GEMINI is not set
# CONFIG_ARCH_EBSA110 is not set
# CONFIG_ARCH_EP93XX is not set
# CONFIG_ARCH_FOOTBRIDGE is not set
# CONFIG_ARCH_MXC is not set
# CONFIG_ARCH_STMP3XXX is not set
# CONFIG_ARCH_NETX is not set
# CONFIG_ARCH_H720X is not set
# CONFIG_ARCH_NOMADIK is not set
# CONFIG_ARCH_IOP13XX is not set
# CONFIG_ARCH_IOP32X is not set
# CONFIG_ARCH_IOP33X is not set
# CONFIG_ARCH_IXP23XX is not set
# CONFIG_ARCH_IXP2000 is not set
# CONFIG_ARCH_IXP4XX is not set
# CONFIG_ARCH_L7200 is not set
# CONFIG_ARCH_KIRKWOOD is not set
# CONFIG_ARCH_LOKI is not set
# CONFIG_ARCH_MV78XX0 is not set
# CONFIG_ARCH_ORION5X is not set
# CONFIG_ARCH_MMP is not set
# CONFIG_ARCH_KS8695 is not set
# CONFIG_ARCH_NS9XXX is not set
# CONFIG_ARCH_W90X900 is not set
# CONFIG_ARCH_PNX4008 is not set
# CONFIG_ARCH_PXA is not set
CONFIG_ARCH_MSM=y
# CONFIG_ARCH_RPC is not set
# CONFIG_ARCH_SA1100 is not set
# CONFIG_ARCH_S3C2410 is not set
# CONFIG_ARCH_S3C64XX is not set
# CONFIG_ARCH_S5PC1XX is not set
# CONFIG_ARCH_SHARK is not set
# CONFIG_ARCH_LH7A40X is not set
# CONFIG_ARCH_U300 is not set
# CONFIG_ARCH_DAVINCI is not set
# CONFIG_ARCH_OMAP is not set
# CONFIG_ARCH_BCMRING is not set
CONFIG_ARCH_MSM7X01A=y
# CONFIG_ARCH_MSM7X25 is not set
# CONFIG_ARCH_MSM7X27 is not set
# CONFIG_ARCH_MSM7X30 is not set
# CONFIG_ARCH_QSD8X50 is not set
# CONFIG_ARCH_MSM8X60 is not set
CONFIG_MSM_SOC_REV_NONE=y
# CONFIG_MSM_SOC_REV_A is not set
CONFIG_ARCH_MSM_ARM11=y
CONFIG_MSM_VIC=y
CONFIG_MSM_REMOTE_SPINLOCK_SWP=y

#
# MSM Board Selection
#
CONFIG_MACH_HALIBUT=y
CONFIG_MACH_MSM7201A_SURF=y
CONFIG_MACH_MSM7201A_FFA=y
# CONFIG_MACH_TROUT is not set
# CONFIG_MACH_SAPPHIRE is not set
CONFIG_MSM_STACKED_MEMORY=y
CONFIG_PHYS_OFFSET=0x10000000
CONFIG_MSM_AMSS_VERSION=6225
# CONFIG_MSM_AMSS_VERSION_6210 is not set
# CONFIG_MSM_AMSS_VERSION_6220 is not set
CONFIG_MSM_AMSS_VERSION_6225=y
CONFIG_MSM_DEBUG_UART_NONE=y
# CONFIG_MSM_DEBUG_UART1 is not set
# CONFIG_MSM_DEBUG_UART2 is not set
# CONFIG_MSM_DEBUG_UART3 is not set
# CONFIG_MSM7X00A_USE_GP_TIMER is not set
CONFIG_MSM7X00A_USE_DG_TIMER=y
CONFIG_MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND=y
# CONFIG_MSM7X00A_SLEEP_MODE_POWER_COLLAPSE is not set
# CONFIG_MSM7X00A_SLEEP_MODE_APPS_SLEEP is not set
# CONFIG_MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT is not set
# CONFIG_MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT is not set
CONFIG_MSM7X00A_SLEEP_MODE=0
# CONFIG_MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND is not set
CONFIG_MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE=y
# CONFIG_MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP is not set
# CONFIG_MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT is not set
# CONFIG_MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT is not set
CONFIG_MSM7X00A_IDLE_SLEEP_MODE=1
CONFIG_MSM7X00A_IDLE_SLEEP_MIN_TIME=20000000
CONFIG_MSM7X00A_IDLE_SPIN_TIME=80000
CONFIG_MSM_IDLE_STATS=y
CONFIG_MSM_IDLE_STATS_FIRST_BUCKET=62500
CONFIG_MSM_IDLE_STATS_BUCKET_SHIFT=2
CONFIG_MSM_IDLE_STATS_BUCKET_COUNT=10
CONFIG_MSM_SUSPEND_STATS_FIRST_BUCKET=1000000000
# CONFIG_HTC_HEADSET is not set
# CONFIG_HTC_PWRSINK is not set
CONFIG_MSM_FIQ_SUPPORT=y
# CONFIG_MSM_SERIAL_DEBUGGER is not set
CONFIG_MSM_PROC_COMM=y
CONFIG_MSM_SMD=y
CONFIG_MSM_SMD_PKG3=y
# CONFIG_MSM_SMD_PKG4 is not set
CONFIG_MSM_SMD_DEBUG=y
CONFIG_MSM_RESET_MODEM=m
CONFIG_MSM_SMD_LOGGING=y
CONFIG_MSM_SMD_NMEA=y
CONFIG_MSM_SMD_TTY=y
CONFIG_MSM_SMD_QMI=y
CONFIG_MSM_SMD_PKT=y
CONFIG_MSM_ONCRPCROUTER=y
CONFIG_MSM_ONCRPCROUTER_DEBUG=y
# CONFIG_MSM_RPC_LOOPBACK_XPRT is not set
CONFIG_MSM_RPCSERVER_TIME_REMOTE=y
CONFIG_MSM_RPCSERVER_WATCHDOG=y
# CONFIG_MSM_RPC_WATCHDOG is not set
CONFIG_MSM_RPC_PING=y
CONFIG_MSM_RPC_PROC_COMM_TEST=y
CONFIG_MSM_RPC_OEM_RAPI=y
CONFIG_MSM_RPCSERVER_HANDSET=y
# CONFIG_MSM_RMT_STORAGE_CLIENT is not set
# CONFIG_MSM_CPU_FREQ_SET_MIN_MAX is not set
# CONFIG_SCALING_MAX_CPUFREQ_245760 is not set
# CONFIG_SCALING_MAX_CPUFREQ_384000 is not set
# CONFIG_SCALING_MAX_CPUFREQ_576000 is not set
CONFIG_SCALING_MAX_CPUFREQ_768000=y
# CONFIG_SCALING_MAX_CPUFREQ_998400 is not set
CONFIG_SCALING_MAX_CPUFREQ=768000
CONFIG_MSM_HW3D=y
# CONFIG_MSM_ADSP is not set
CONFIG_AMSS_7X25_VERSION_2009=y
# CONFIG_AMSS_7X25_VERSION_2008 is not set
# CONFIG_MSM_VREG_SWITCH_INVERTED is not set
CONFIG_MSM_DMA_TEST=m
# CONFIG_WIFI_CONTROL_FUNC is not set
CONFIG_SURF_FFA_GPIO_KEYPAD=y
CONFIG_HID_GPIO_KEYPAD=y
# CONFIG_CLOCK_BASED_SLEEP_LIMIT is not set
CONFIG_MSM_SLEEP_TIME_OVERRIDE=y
# CONFIG_MSM_MEMORY_LOW_POWER_MODE is not set
CONFIG_MSM_PM_TIMEOUT_HALT=y
# CONFIG_MSM_PM_TIMEOUT_RESET_MODEM is not set
# CONFIG_MSM_PM_TIMEOUT_RESET_CHIP is not set
# CONFIG_MSM_NPA is not set
# CONFIG_MSM_DIRECT_SCLK_ACCESS is not set
CONFIG_MSM7200A_TLMM=y
CONFIG_HUAWEI_MSM_VIBRATOR=y

#
# Processor Type
#
CONFIG_CPU_32=y
CONFIG_CPU_V6=y
# CONFIG_CPU_32v6K is not set
CONFIG_CPU_32v6=y
CONFIG_CPU_ABRT_EV6=y
CONFIG_CPU_PABRT_V6=y
CONFIG_CPU_CACHE_V6=y
CONFIG_CPU_CACHE_VIPT=y
CONFIG_CPU_COPY_V6=y
CONFIG_CPU_TLB_V6=y
CONFIG_CPU_HAS_ASID=y
CONFIG_CPU_CP15=y
CONFIG_CPU_CP15_MMU=y

#
# Processor Features
#
CONFIG_ARM_THUMB=y
# CONFIG_CPU_ICACHE_DISABLE is not set
# CONFIG_CPU_DCACHE_DISABLE is not set
# CONFIG_CPU_BPREDICT_DISABLE is not set
CONFIG_ARM_L1_CACHE_SHIFT=5
# CONFIG_VCM is not set
# CONFIG_ARM_ERRATA_411920 is not set

#
# Bus support
#
# CONFIG_PCI_SYSCALL is not set
# CONFIG_ARCH_SUPPORTS_MSI is not set
# CONFIG_PCCARD is not set

#
# Kernel Features
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
CONFIG_VMSPLIT_3G=y
# CONFIG_VMSPLIT_2G is not set
# CONFIG_VMSPLIT_1G is not set
CONFIG_PAGE_OFFSET=0xC0000000
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_HZ=100
CONFIG_AEABI=y
CONFIG_OABI_COMPAT=y
# CONFIG_HOLES_IN_ZONE is not set
# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
# CONFIG_HIGHMEM is not set
CONFIG_VMALLOC_RESERVE=0x08000000
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_PAGEFLAGS_EXTENDED=y
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_PHYS_ADDR_T_64BIT is not set
CONFIG_ZONE_DMA_FLAG=0
CONFIG_VIRT_TO_BUS=y
CONFIG_HAVE_MLOCK=y
CONFIG_HAVE_MLOCKED_PAGE_BIT=y
# CONFIG_KSM is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
CONFIG_ALIGNMENT_TRAP=y
# CONFIG_UACCESS_WITH_MEMCPY is not set

#
# Boot options
#
CONFIG_ZBOOT_ROM_TEXT=0x0
CONFIG_ZBOOT_ROM_BSS=0x0
CONFIG_CMDLINE="init=/sbin/init root=/dev/ram rw initrd=0x11000000,16M console=ttyDCC0 mem=88M"
# CONFIG_XIP_KERNEL is not set
# CONFIG_KEXEC is not set

#
# CPU Power Management
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
CONFIG_CPU_FREQ_DEBUG=y
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_STAT_DETAILS=y
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE 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_CONSERVATIVE=y
# CONFIG_CPU_IDLE is not set
CONFIG_CPU_FREQ_MSM=y

#
# Floating point emulation
#

#
# At least one emulation must be selected
#
# CONFIG_FPE_NWFPE is not set
# CONFIG_FPE_FASTFPE is not set
# CONFIG_VFP is not set

#
# Userspace binary formats
#
CONFIG_BINFMT_ELF=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
CONFIG_HAVE_AOUT=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not set

#
# Power management options
#
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
CONFIG_PM_SLEEP=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_HAS_WAKELOCK=y
CONFIG_HAS_EARLYSUSPEND=y
CONFIG_WAKELOCK=y
CONFIG_WAKELOCK_STAT=y
CONFIG_USER_WAKELOCK=y
CONFIG_EARLYSUSPEND=y
# CONFIG_NO_USER_SPACE_SCREEN_ACCESS_CONTROL is not set
CONFIG_CONSOLE_EARLYSUSPEND=y
# CONFIG_FB_EARLYSUSPEND is not set
# CONFIG_APM_EMULATION is not set
# CONFIG_PM_RUNTIME is not set
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
CONFIG_UNIX=y
CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set
# CONFIG_XFRM_SUB_POLICY is not set
CONFIG_XFRM_MIGRATE=y
# CONFIG_XFRM_STATISTICS is not set
CONFIG_XFRM_IPCOMP=y
CONFIG_NET_KEY=y
CONFIG_NET_KEY_MIGRATE=y
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_FIB_HASH=y
# CONFIG_IP_PNP is not set
CONFIG_NET_IPIP=y
# CONFIG_NET_IPGRE is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
CONFIG_INET_AH=y
CONFIG_INET_ESP=y
CONFIG_INET_IPCOMP=y
CONFIG_INET_XFRM_TUNNEL=y
CONFIG_INET_TUNNEL=y
CONFIG_INET_XFRM_MODE_TRANSPORT=y
CONFIG_INET_XFRM_MODE_TUNNEL=y
CONFIG_INET_XFRM_MODE_BEET=y
# CONFIG_INET_LRO is not set
# CONFIG_INET_DIAG is not set
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
CONFIG_IPV6=y
# CONFIG_IPV6_PRIVACY is not set
# CONFIG_IPV6_ROUTER_PREF is not set
# CONFIG_IPV6_OPTIMISTIC_DAD is not set
# CONFIG_INET6_AH is not set
# CONFIG_INET6_ESP is not set
# CONFIG_INET6_IPCOMP is not set
# CONFIG_IPV6_MIP6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
CONFIG_INET6_XFRM_MODE_TRANSPORT=y
CONFIG_INET6_XFRM_MODE_TUNNEL=y
CONFIG_INET6_XFRM_MODE_BEET=y
# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
CONFIG_IPV6_SIT=y
CONFIG_IPV6_NDISC_NODETYPE=y
# CONFIG_IPV6_TUNNEL is not set
# CONFIG_IPV6_MULTIPLE_TABLES is not set
# CONFIG_IPV6_MROUTE is not set
CONFIG_ANDROID_PARANOID_NETWORK=y
# CONFIG_NETWORK_SECMARK is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_NETFILTER_ADVANCED=y

#
# Core Netfilter Configuration
#
# CONFIG_NETFILTER_NETLINK_QUEUE is not set
# CONFIG_NETFILTER_NETLINK_LOG is not set
CONFIG_NF_CONNTRACK=y
# CONFIG_NF_CT_ACCT is not set
# CONFIG_NF_CONNTRACK_MARK is not set
# CONFIG_NF_CONNTRACK_EVENTS is not set
# CONFIG_NF_CT_PROTO_DCCP is not set
# CONFIG_NF_CT_PROTO_SCTP is not set
# CONFIG_NF_CT_PROTO_UDPLITE is not set
# CONFIG_NF_CONNTRACK_AMANDA is not set
# CONFIG_NF_CONNTRACK_FTP is not set
# CONFIG_NF_CONNTRACK_H323 is not set
# CONFIG_NF_CONNTRACK_IRC is not set
# CONFIG_NF_CONNTRACK_NETBIOS_NS is not set
# CONFIG_NF_CONNTRACK_PPTP is not set
# CONFIG_NF_CONNTRACK_SANE is not set
# CONFIG_NF_CONNTRACK_SIP is not set
# CONFIG_NF_CONNTRACK_TFTP is not set
# CONFIG_NF_CT_NETLINK is not set
CONFIG_NETFILTER_XTABLES=y
# CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set
# CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set
# CONFIG_NETFILTER_XT_TARGET_MARK is not set
# CONFIG_NETFILTER_XT_TARGET_NFLOG is not set
# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set
# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set
# CONFIG_NETFILTER_XT_TARGET_TCPMSS is not set
# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set
# CONFIG_NETFILTER_XT_MATCH_COMMENT is not set
# CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set
# CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set
# CONFIG_NETFILTER_XT_MATCH_CONNMARK is not set
# CONFIG_NETFILTER_XT_MATCH_CONNTRACK is not set
# CONFIG_NETFILTER_XT_MATCH_DCCP is not set
# CONFIG_NETFILTER_XT_MATCH_DSCP is not set
# CONFIG_NETFILTER_XT_MATCH_ESP is not set
# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set
# CONFIG_NETFILTER_XT_MATCH_HELPER is not set
# CONFIG_NETFILTER_XT_MATCH_HL is not set
# CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set
# CONFIG_NETFILTER_XT_MATCH_LENGTH is not set
# CONFIG_NETFILTER_XT_MATCH_LIMIT is not set
CONFIG_NETFILTER_XT_MATCH_MAC=y
# CONFIG_NETFILTER_XT_MATCH_MARK is not set
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y
CONFIG_NETFILTER_XT_MATCH_OWNER=y
# CONFIG_NETFILTER_XT_MATCH_POLICY is not set
# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set
# CONFIG_NETFILTER_XT_MATCH_QUOTA is not set
# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set
# CONFIG_NETFILTER_XT_MATCH_REALM is not set
# CONFIG_NETFILTER_XT_MATCH_RECENT is not set
# CONFIG_NETFILTER_XT_MATCH_SCTP is not set
CONFIG_NETFILTER_XT_MATCH_STATE=y
# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set
# CONFIG_NETFILTER_XT_MATCH_STRING is not set
# CONFIG_NETFILTER_XT_MATCH_TCPMSS is not set
# CONFIG_NETFILTER_XT_MATCH_TIME is not set
# CONFIG_NETFILTER_XT_MATCH_U32 is not set
# CONFIG_IP_VS is not set

#
# IP: Netfilter Configuration
#
CONFIG_NF_DEFRAG_IPV4=y
CONFIG_NF_CONNTRACK_IPV4=y
# CONFIG_NF_CONNTRACK_PROC_COMPAT is not set
# CONFIG_IP_NF_QUEUE is not set
CONFIG_IP_NF_IPTABLES=y
# CONFIG_IP_NF_MATCH_ADDRTYPE is not set
# CONFIG_IP_NF_MATCH_AH is not set
# CONFIG_IP_NF_MATCH_ECN is not set
# CONFIG_IP_NF_MATCH_TTL is not set
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
# CONFIG_IP_NF_TARGET_LOG is not set
# CONFIG_IP_NF_TARGET_ULOG is not set
CONFIG_NF_NAT=y
CONFIG_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=y
# CONFIG_IP_NF_TARGET_NETMAP is not set
# CONFIG_IP_NF_TARGET_REDIRECT is not set
# CONFIG_NF_NAT_SNMP_BASIC is not set
# CONFIG_NF_NAT_FTP is not set
# CONFIG_NF_NAT_IRC is not set
# CONFIG_NF_NAT_TFTP is not set
# CONFIG_NF_NAT_AMANDA is not set
# CONFIG_NF_NAT_PPTP is not set
# CONFIG_NF_NAT_H323 is not set
# CONFIG_NF_NAT_SIP is not set
# CONFIG_IP_NF_MANGLE is not set
# CONFIG_IP_NF_TARGET_TTL is not set
# CONFIG_IP_NF_RAW is not set
# CONFIG_IP_NF_ARPTABLES is not set

#
# IPv6: Netfilter Configuration
#
# CONFIG_NF_CONNTRACK_IPV6 is not set
# CONFIG_IP6_NF_QUEUE is not set
# CONFIG_IP6_NF_IPTABLES is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_RDS is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_BRIDGE is not set
# CONFIG_NET_DSA is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_PHONET is not set
# CONFIG_IEEE802154 is not set
# CONFIG_NET_SCHED is not set
# CONFIG_DCB is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_NET_DROP_MONITOR is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
CONFIG_BT=y
CONFIG_BT_L2CAP=y
CONFIG_BT_SCO=y
CONFIG_BT_RFCOMM=y
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=y
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=y

#
# Bluetooth device drivers
#
# CONFIG_BT_HCIBTSDIO is not set
CONFIG_BT_HCIUART=y
CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_BCSP=y
# CONFIG_BT_HCIUART_LL is not set
# CONFIG_BT_HCIUART_IBS is not set
CONFIG_BT_MSM_SLEEP=y
# CONFIG_BT_HCIVHCI is not set
# CONFIG_BT_MRVL is not set
CONFIG_MSM_BT_POWER=y
# CONFIG_AF_RXRPC is not set
CONFIG_WIRELESS=y
CONFIG_CFG80211=y
# CONFIG_NL80211_TESTMODE is not set
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
# CONFIG_CFG80211_REG_DEBUG is not set
CONFIG_CFG80211_DEFAULT_PS=y
CONFIG_CFG80211_DEFAULT_PS_VALUE=1
# CONFIG_CFG80211_DEBUGFS is not set
CONFIG_WIRELESS_OLD_REGULATORY=y
CONFIG_WIRELESS_EXT=y
CONFIG_WIRELESS_EXT_SYSFS=y
# CONFIG_LIB80211 is not set
# CONFIG_MAC80211 is not set
# CONFIG_WIMAX is not set
CONFIG_RFKILL=y
CONFIG_RFKILL_PM=y
# CONFIG_RFKILL_INPUT is not set
# CONFIG_NET_9P is not set

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
# CONFIG_DEVTMPFS is not set
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
# CONFIG_FW_LOADER is not set
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_CONNECTOR is not set
CONFIG_MTD=y
# CONFIG_MTD_DEBUG is not set
# CONFIG_MTD_TESTS is not set
# CONFIG_MTD_CONCAT is not set
CONFIG_MTD_PARTITIONS=y
CONFIG_MTD_LAZYECCSTATS=y
# CONFIG_MTD_REDBOOT_PARTS is not set
CONFIG_MTD_CMDLINE_PARTS=y
# CONFIG_MTD_AFS_PARTS is not set
# CONFIG_MTD_AR7_PARTS is not set

#
# User Modules And Translation Layers
#
CONFIG_MTD_CHAR=y
CONFIG_MTD_BLKDEVS=y
CONFIG_MTD_BLOCK=y
# CONFIG_FTL is not set
# CONFIG_NFTL is not set
# CONFIG_INFTL is not set
# CONFIG_RFD_FTL is not set
# CONFIG_SSFDC is not set
# CONFIG_MTD_OOPS is not set

#
# RAM/ROM/Flash chip drivers
#
# CONFIG_MTD_CFI is not set
# CONFIG_MTD_JEDECPROBE is not set
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
# CONFIG_MTD_CFI_I4 is not set
# CONFIG_MTD_CFI_I8 is not set
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set

#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
# CONFIG_MTD_PLATRAM is not set

#
# Self-contained MTD device drivers
#
CONFIG_MTD_MSM_NAND=y
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_PHRAM is not set
# CONFIG_MTD_MTDRAM is not set
# CONFIG_MTD_BLOCK2MTD is not set

#
# Disk-On-Chip Device Drivers
#
# CONFIG_MTD_DOC2000 is not set
# CONFIG_MTD_DOC2001 is not set
# CONFIG_MTD_DOC2001PLUS is not set
CONFIG_MTD_NAND_IDS=y
# CONFIG_MTD_NAND is not set
# CONFIG_MTD_ONENAND is not set

#
# LPDDR flash memory drivers
#
# CONFIG_MTD_LPDDR is not set

#
# UBI - Unsorted block images
#
# CONFIG_MTD_UBI is not set
# CONFIG_PARPORT is not set
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=8
CONFIG_BLK_DEV_RAM_SIZE=16384
# CONFIG_BLK_DEV_XIP is not set
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set
CONFIG_MISC_DEVICES=y
CONFIG_ANDROID_PMEM=y
# CONFIG_ANDROID_PMEM_DEBUG is not set
CONFIG_ANDROID_PMEM_KAPI_TEST=m
# CONFIG_ICS932S401 is not set
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_KERNEL_DEBUGGER_CORE is not set
# CONFIG_ISL29003 is not set
# CONFIG_UID_STAT is not set
# CONFIG_WL127X_RFKILL is not set
# CONFIG_APANIC is not set
# CONFIG_TSIF is not set
# CONFIG_HAPTIC_ISA1200 is not set
# CONFIG_C2PORT is not set
[/codebox]

[codebox]

#
# EEPROM support
#
# CONFIG_EEPROM_AT24 is not set
# CONFIG_EEPROM_LEGACY is not set
# CONFIG_EEPROM_MAX6875 is not set
# CONFIG_EEPROM_93CX6 is not set
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set

#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not set
# CONFIG_SCSI is not set
# CONFIG_SCSI_DMA is not set
# CONFIG_SCSI_NETLINK is not set
# CONFIG_ATA is not set
CONFIG_MD=y
# CONFIG_BLK_DEV_MD is not set
CONFIG_BLK_DEV_DM=y
# CONFIG_DM_DEBUG is not set
CONFIG_DM_CRYPT=y
# CONFIG_DM_SNAPSHOT is not set
# CONFIG_DM_MIRROR is not set
# CONFIG_DM_ZERO is not set
# CONFIG_DM_MULTIPATH is not set
# CONFIG_DM_DELAY is not set
CONFIG_DM_UEVENT=y
CONFIG_NETDEVICES=y
CONFIG_DUMMY=y
# CONFIG_BONDING is not set
# CONFIG_MACVLAN is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_VETH is not set
# CONFIG_PHYLIB is not set
CONFIG_NET_ETHERNET=y
CONFIG_MII=y
# CONFIG_AX88796 is not set
CONFIG_SMC91X=y
# CONFIG_DM9000 is not set
# CONFIG_ETHOC is not set
# CONFIG_SMC911X is not set
# CONFIG_SMSC911X is not set
# CONFIG_DNET is not set
# CONFIG_IBM_NEW_EMAC_ZMII is not set
# CONFIG_IBM_NEW_EMAC_RGMII is not set
# CONFIG_IBM_NEW_EMAC_TAH is not set
# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
# CONFIG_B44 is not set
# CONFIG_KS8842 is not set
# CONFIG_KS8851_MLL is not set
# CONFIG_NETDEV_1000 is not set
# CONFIG_NETDEV_10000 is not set
CONFIG_WLAN=y
# CONFIG_WLAN_PRE80211 is not set
# CONFIG_WLAN_80211 is not set
CONFIG_LIBRA_SDIOIF=m
# CONFIG_BCM4329 is not set

#
# Enable WiMAX (Networking options) to see the WiMAX drivers
#
# CONFIG_WAN is not set
CONFIG_PPP=y
CONFIG_PPP_MULTILINK=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=y
CONFIG_PPP_SYNC_TTY=y
CONFIG_PPP_DEFLATE=y
CONFIG_PPP_BSDCOMP=y
CONFIG_PPP_MPPE=y
CONFIG_PPPOE=y
CONFIG_PPPOL2TP=y
CONFIG_PPPOLAC=y
CONFIG_PPPOPNS=y
CONFIG_SLIP=y
CONFIG_SLIP_COMPRESSED=y
CONFIG_SLHC=y
# CONFIG_SLIP_SMART is not set
CONFIG_SLIP_MODE_SLIP6=y
# CONFIG_NETCONSOLE is not set
CONFIG_MSM_RMNET=y
# CONFIG_MSM_RMNET_DEBUG is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_ISDN is not set
CONFIG_PHONE=y

#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# CONFIG_INPUT_POLLDEV is not set

#
# Userland interfaces
#
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
CONFIG_INPUT_EVDEV=y
CONFIG_INPUT_EVBUG=m
# CONFIG_INPUT_KEYRESET is not set

#
# Input Device Drivers
#
# CONFIG_INPUT_KEYBOARD is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TABLET is not set
CONFIG_INPUT_TOUCHSCREEN=y
# CONFIG_TOUCHSCREEN_AD7879_I2C is not set
# CONFIG_TOUCHSCREEN_AD7879 is not set
# CONFIG_TOUCHSCREEN_CYPRESS_TMG is not set
# CONFIG_TOUCHSCREEN_EETI is not set
# CONFIG_TOUCHSCREEN_FUJITSU is not set
# CONFIG_TOUCHSCREEN_GUNZE is not set
# CONFIG_TOUCHSCREEN_ELAN_I2C_8232 is not set
# CONFIG_TOUCHSCREEN_ELO is not set
# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
# CONFIG_TOUCHSCREEN_MCS5000 is not set
# CONFIG_TOUCHSCREEN_MTOUCH is not set
# CONFIG_TOUCHSCREEN_INEXIO is not set
# CONFIG_TOUCHSCREEN_MK712 is not set
# CONFIG_TOUCHSCREEN_PENMOUNT is not set
# CONFIG_TOUCHSCREEN_T1320 is not set
# CONFIG_TOUCHSCREEN_MXT224 is not set
# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
# CONFIG_TOUCHSCREEN_TSC2007 is not set
# CONFIG_TOUCHSCREEN_MSM_LEGACY is not set
# CONFIG_TOUCHSCREEN_CY8C_TS is not set
CONFIG_INPUT_ACCELEROMETER=y
CONFIG_ACCELEROMETER_ADXL345=y
CONFIG_ACCELEROMETER_ST_L1S35DE=y
CONFIG_ACCELEROMETER_MMA7455L=y
CONFIG_INPUT_MISC=y
# CONFIG_INPUT_ATI_REMOTE is not set
# CONFIG_INPUT_ATI_REMOTE2 is not set
CONFIG_INPUT_KEYCHORD=y
# CONFIG_INPUT_KEYSPAN_REMOTE is not set
# CONFIG_INPUT_POWERMATE is not set
# CONFIG_INPUT_YEALINK is not set
# CONFIG_INPUT_CM109 is not set
CONFIG_INPUT_UINPUT=y
CONFIG_INPUT_GPIO=y
# CONFIG_INPUT_CAPELLA_CM3602 is not set
# CONFIG_INPUT_PEDESTAL is not set
CONFIG_INPUT_CYPRESS120_I2C_TS=y
CONFIG_CYPRESS120=y
# CONFIG_DOCK_DET is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_LIBPS2 is not set
# CONFIG_SERIO_RAW is not set
# CONFIG_GAMEPORT is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_VT_HW_CONSOLE_BINDING is not set
CONFIG_DEVMEM=y
CONFIG_DEVKMEM=y
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#
# CONFIG_SERIAL_8250 is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_MSM=y
# CONFIG_SERIAL_MSM_CONSOLE is not set
CONFIG_SERIAL_MSM_CLOCK_CONTROL=y
# CONFIG_SERIAL_MSM_RX_WAKEUP is not set
# CONFIG_SERIAL_MSM_HSL is not set
CONFIG_SERIAL_MSM_HS=y
# CONFIG_SERIAL_BCM_BT_LPM is not set

#
# Diag Support
#
CONFIG_DIAG_CHAR=y
CONFIG_UNIX98_PTYS=y
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
# CONFIG_LEGACY_PTYS is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_R3964 is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_TCG_TPM is not set
# CONFIG_DCC_TTY is not set
CONFIG_I2C=y
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_COMPAT=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_HELPER_AUTO=y

#
# I2C Hardware Bus support
#

#
# I2C system bus drivers (mostly embedded / system-on-chip)
#
# CONFIG_I2C_GPIO is not set
CONFIG_I2C_MSM=y
# CONFIG_GPIO_I2C_ADPT is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_SIMTEC is not set

#
# External I2C/SMBus adapter drivers
#
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_TAOS_EVM is not set

#
# Other I2C/SMBus bus drivers
#
# CONFIG_I2C_PCA_PLATFORM is not set
# CONFIG_I2C_STUB is not set

#
# Miscellaneous I2C Chip support
#
# CONFIG_DS1682 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_SENSORS_AKM8976 is not set
CONFIG_SENSORS_AKM8973=y
# CONFIG_SENSORS_PCA963X is not set
# CONFIG_SENSORS_MT9T013 is not set
# CONFIG_VP_A1026 is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_I2C_DEBUG_CHIP is not set
# CONFIG_SPI is not set

#
# PPS support
#
# CONFIG_PPS is not set
CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
# CONFIG_GPIOLIB is not set
# CONFIG_W1 is not set
CONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_PDA_POWER is not set
# CONFIG_BATTERY_DS2760 is not set
# CONFIG_BATTERY_DS2782 is not set
# CONFIG_BATTERY_DS2784 is not set
# CONFIG_BATTERY_BQ27x00 is not set
# CONFIG_BATTERY_BQ275X0 is not set
# CONFIG_BATTERY_MAX17040 is not set
CONFIG_BATTERY_MSM=m
# CONFIG_BATTERY_MSM_FAKE is not set
CONFIG_LIGHT_SENSOR_PO188=y
# CONFIG_HWMON is not set
# CONFIG_THERMAL is not set
# CONFIG_WATCHDOG is not set
CONFIG_SSB_POSSIBLE=y

#
# Sonics Silicon Backplane
#
# CONFIG_SSB is not set

#
# Multifunction device drivers
#
# CONFIG_MFD_CORE is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_HTC_PASIC3 is not set
# CONFIG_TWL4030_CORE is not set
# CONFIG_MFD_TMIO is not set
# CONFIG_PMIC_DA903X is not set
# CONFIG_MFD_WM8400 is not set
# CONFIG_MFD_WM831X is not set
# CONFIG_MFD_WM8350_I2C is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_AB3100_CORE is not set
# CONFIG_REGULATOR is not set
# CONFIG_MEDIA_SUPPORT is not set

#
# Graphics support
#
# CONFIG_DRM is not set
# CONFIG_VGASTATE is not set
CONFIG_VIDEO_OUTPUT_CONTROL=y
CONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not set
# CONFIG_FB_DDC is not set
# CONFIG_FB_BOOT_VESA_SUPPORT is not set
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_FOREIGN_ENDIAN is not set
# CONFIG_FB_SYS_FOPS is not set
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y

#
# Frame buffer hardware drivers
#
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
CONFIG_FB_MSM=y
# CONFIG_FB_MSM_BACKLIGHT is not set
CONFIG_FB_MSM_LOGO=y
# CONFIG_FB_MSM_LCDC_HW is not set
CONFIG_FB_MSM_MDP22=y
# CONFIG_FB_MSM_MDP30 is not set
# CONFIG_FB_MSM_MDP31 is not set
# CONFIG_FB_MSM_MDP40 is not set
# CONFIG_FB_MSM_EBI2 is not set
CONFIG_FB_MSM_MDDI=y
# CONFIG_FB_MSM_LCDC is not set
# CONFIG_FB_MSM_EXTMDDI is not set
# CONFIG_FB_MSM_TVOUT is not set
# CONFIG_FB_MSM_MDDI_TOSHIBA_COMMON is not set
# CONFIG_FB_MSM_MDDI_TOSHIBA_COMMON_VGA is not set
# CONFIG_FB_MSM_MDDI_ORISE is not set
CONFIG_FB_MSM_MDDI_AUTO_DETECT=y
# CONFIG_FB_MSM_LCDC_PANEL is not set
# CONFIG_FB_MSM_LCDC_ST15_WXGA is not set
# CONFIG_FB_MSM_LCDC_PRISM_WVGA is not set
# CONFIG_FB_MSM_LCDC_SAMSUNG_WSVGA is not set
# CONFIG_FB_MSM_LCDC_GORDON_VGA is not set
# CONFIG_FB_MSM_LCDC_TOSHIBA_WVGA_PT is not set
# CONFIG_FB_MSM_LCDC_SHARP_WVGA_PT is not set
# CONFIG_FB_MSM_LCDC_WXGA is not set
# CONFIG_FB_MSM_LCDC_PRISM_WVGA_PANEL is not set
# CONFIG_FB_MSM_LCDC_SAMSUNG_WSVGA_PANEL is not set
# CONFIG_FB_MSM_LCDC_GORDON_VGA_PANEL is not set
# CONFIG_FB_MSM_LCDC_TOSHIBA_WVGA_PT_PANEL is not set
# CONFIG_FB_MSM_LCDC_SHARP_WVGA_PT_PANEL is not set
# CONFIG_FB_MSM_TRY_MDDI_CATCH_LCDC_PRISM is not set
CONFIG_FB_MSM_MDDI_PANEL_AUTO_DETECT=y
# CONFIG_FB_MSM_MDDI_PRISM_WVGA is not set
# CONFIG_FB_MSM_MDDI_TOSHIBA_WVGA_PORTRAIT is not set
# CONFIG_FB_MSM_MDDI_TOSHIBA_VGA is not set
# CONFIG_FB_MSM_MDDI_TOSHIBA_WVGA is not set
# CONFIG_FB_MSM_MDDI_SHARP_QVGA_128x128 is not set
# CONFIG_FB_MSM_EBI2_TMD_QVGA_EPSON_QCIF is not set
# CONFIG_FB_MSM_PANEL_NONE is not set
# CONFIG_FB_MSM_TVOUT_NTSC is not set
# CONFIG_FB_MSM_TVOUT_PAL is not set
# CONFIG_FB_MSM_TVOUT_NTSC_M is not set
# CONFIG_FB_MSM_TVOUT_NTSC_J is not set
# CONFIG_FB_MSM_TVOUT_PAL_BDGHIN is not set
# CONFIG_FB_MSM_TVOUT_PAL_M is not set
# CONFIG_FB_MSM_TVOUT_PAL_N is not set
CONFIG_FB_MSM_TVOUT_NONE=y
# CONFIG_FB_MSM_EXTMDDI_SVGA is not set
CONFIG_FB_MSM_EXTMDDI_NONE=y
# CONFIG_FB_BROADSHEET is not set
# CONFIG_MSM_FB_RGB565 is not set
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_LCD_CLASS_DEVICE=y
# CONFIG_LCD_ILI9320 is not set
# CONFIG_LCD_PLATFORM is not set
CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_BACKLIGHT_GENERIC=y

#
# Display device support
#
# CONFIG_DISPLAY_SUPPORT is not set

#
# Console display driver support
#
# CONFIG_VGA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y
CONFIG_SOUND=y
# CONFIG_SOUND_OSS_CORE is not set
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_JACK=y
# CONFIG_SND_SEQUENCER is not set
# CONFIG_SND_MIXER_OSS is not set
# CONFIG_SND_PCM_OSS is not set
# CONFIG_SND_HRTIMER is not set
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
# CONFIG_SND_RAWMIDI_SEQ is not set
# CONFIG_SND_OPL3_LIB_SEQ is not set
# CONFIG_SND_OPL4_LIB_SEQ is not set
# CONFIG_SND_SBAWE_SEQ is not set
# CONFIG_SND_EMU10K1_SEQ is not set
# CONFIG_SND_DRIVERS is not set
# CONFIG_SND_ARM is not set
CONFIG_SND_SOC=y

#
# MSM SoC Audio support
#
CONFIG_SND_SOC_I2C_AND_SPI=y
# CONFIG_SND_SOC_ALL_CODECS is not set
# CONFIG_SOUND_PRIME is not set
# CONFIG_HID_SUPPORT is not set
CONFIG_HID=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_ARCH_HAS_HCD=y
# CONFIG_USB_ARCH_HAS_OHCI is not set
CONFIG_USB_ARCH_HAS_EHCI=y
# CONFIG_USB is not set
# CONFIG_USB_OTG_WHITELIST is not set
# CONFIG_USB_OTG_BLACKLIST_HUB is not set

#
# Enable Host or Gadget support to see Inventra options
#

#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
#
# CONFIG_USB_GADGET is not set
CONFIG_USB_CSW_HACK=y

#
# OTG and related infrastructure
#

#
# USB Function Support
#
CONFIG_USB_FUNCTION=y
CONFIG_USB_FUNCTION_MSM_HSUSB=y
# CONFIG_USB_FUNCTION_NULL is not set
# CONFIG_USB_FUNCTION_ZERO is not set
# CONFIG_USB_FUNCTION_LOOPBACK is not set
CONFIG_USB_FUNCTION_ADB=y
# CONFIG_USB_FUNCTION_UMS is not set
CONFIG_USB_FUNCTION_MASS_STORAGE=y
CONFIG_USB_FUNCTION_DIAG=y
CONFIG_USB_FUNCTION_ETHER=y
CONFIG_USB_FUNCTION_SERIAL=y
# CONFIG_USB_FUNCTION_RMNET is not set
CONFIG_MMC=y
# CONFIG_MMC_DEBUG is not set
# CONFIG_MMC_PERF_PROFILING is not set
CONFIG_MMC_UNSAFE_RESUME=y
# CONFIG_MMC_EMBEDDED_SDIO is not set
# CONFIG_MMC_PARANOID_SD_INIT is not set

#
# MMC/SD/SDIO Card Drivers
#
CONFIG_MMC_BLOCK=y
CONFIG_MMC_BLOCK_BOUNCE=y
# CONFIG_MMC_BLOCK_DEFERRED_RESUME is not set
# CONFIG_SDIO_UART is not set
# CONFIG_MMC_TEST is not set

#
# MMC/SD/SDIO Host Controller Drivers
#
# CONFIG_MMC_SDHCI is not set
# CONFIG_MMC_AT91 is not set
# CONFIG_MMC_ATMELMCI is not set
CONFIG_MMC_MSM=y
CONFIG_MMC_MSM_NOT_REMOVE_CARD_WHEN_SUSPEND=y
CONFIG_MMC_MSM_SDIO_SUPPORT=y
# CONFIG_MMC_MSM_CARD_HW_DETECTION is not set
CONFIG_MMC_MSM_SDC1_SUPPORT=y
# CONFIG_MMC_MSM_SDC1_8_BIT_SUPPORT is not set
# CONFIG_MMC_MSM_SDC1_DUMMY52_REQUIRED is not set
CONFIG_MMC_MSM_SDC2_SUPPORT=y
# CONFIG_MMC_MSM_SDC2_8_BIT_SUPPORT is not set
# CONFIG_MMC_MSM_SDC2_DUMMY52_REQUIRED is not set
# CONFIG_MMC_MSM_SDC3_SUPPORT is not set
# CONFIG_MMC_MSM_SDC4_SUPPORT is not set
# CONFIG_MMC_MSM_SDC5_SUPPORT is not set
# CONFIG_MMC_MSM_PROG_DONE_SCAN is not set
# CONFIG_MEMSTICK is not set
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y

#
# LED drivers
#
# CONFIG_LEDS_PCA9532 is not set
# CONFIG_LEDS_GPIO is not set
# CONFIG_LEDS_LP3944 is not set
CONFIG_LEDS_CPLD=y
# CONFIG_LEDS_PCA955X is not set
# CONFIG_LEDS_BD2802 is not set
CONFIG_LEDS_MSM_PMIC=y

#
# LED Triggers
#
# CONFIG_LEDS_TRIGGERS is not set
CONFIG_SWITCH=y
CONFIG_SWITCH_GPIO=y
# CONFIG_ACCESSIBILITY is not set
CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
CONFIG_RTC_DEBUG=y

#
# RTC interfaces
#
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
CONFIG_RTC_INTF_ALARM=y
CONFIG_RTC_INTF_ALARM_DEV=y
# CONFIG_RTC_DRV_TEST is not set

#
# I2C RTC drivers
#
# CONFIG_RTC_DRV_DS1307 is not set
# CONFIG_RTC_DRV_DS1374 is not set
# CONFIG_RTC_DRV_DS1672 is not set
# CONFIG_RTC_DRV_MAX6900 is not set
# CONFIG_RTC_DRV_RS5C372 is not set
# CONFIG_RTC_DRV_ISL1208 is not set
# CONFIG_RTC_DRV_X1205 is not set
# CONFIG_RTC_DRV_PCF8563 is not set
# CONFIG_RTC_DRV_PCF8583 is not set
# CONFIG_RTC_DRV_M41T80 is not set
# CONFIG_RTC_DRV_S35390A is not set
# CONFIG_RTC_DRV_FM3130 is not set
# CONFIG_RTC_DRV_RX8581 is not set
# CONFIG_RTC_DRV_RX8025 is not set

#
# SPI RTC drivers
#

#
# Platform RTC drivers
#
# CONFIG_RTC_DRV_CMOS is not set
# CONFIG_RTC_DRV_DS1286 is not set
# CONFIG_RTC_DRV_DS1511 is not set
# CONFIG_RTC_DRV_DS1553 is not set
# CONFIG_RTC_DRV_DS1742 is not set
# CONFIG_RTC_DRV_STK17TA8 is not set
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_M48T35 is not set
# CONFIG_RTC_DRV_M48T59 is not set
# CONFIG_RTC_DRV_BQ4802 is not set
# CONFIG_RTC_DRV_V3020 is not set

#
# on-CPU RTC drivers
#
CONFIG_RTC_DRV_MSM=y
CONFIG_RTC_SECURE_TIME_SUPPORT=y
# CONFIG_RTC_DRV_MSM7X00A is not set
# CONFIG_DMADEVICES is not set
# CONFIG_AUXDISPLAY is not set
# CONFIG_UIO is not set

#
# TI VLYNQ
#
CONFIG_STAGING=y
# CONFIG_STAGING_EXCLUDE_BUILD is not set
# CONFIG_ECHO is not set

#
# Android
#
CONFIG_ANDROID=y
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_LOGGER=y
CONFIG_ANDROID_RAM_CONSOLE=y
CONFIG_ANDROID_RAM_CONSOLE_ENABLE_VERBOSE=y
# CONFIG_ANDROID_RAM_CONSOLE_ERROR_CORRECTION is not set
# CONFIG_ANDROID_RAM_CONSOLE_EARLY_INIT is not set
CONFIG_ANDROID_TIMED_OUTPUT=y
CONFIG_ANDROID_TIMED_GPIO=y
CONFIG_ANDROID_LOW_MEMORY_KILLER=y
CONFIG_MSM_RPCSERVERS=y

#
# Qualcomm MSM Camera And Video
#

#
# Camera Sensor Selection
#
# CONFIG_DST is not set
# CONFIG_POHMELFS is not set
# CONFIG_PLAN9AUTH is not set

#
# RAR Register Driver
#
# CONFIG_RAR_REGISTER is not set
# CONFIG_IIO is not set
# CONFIG_BSP_DEBUG is not set

#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
# CONFIG_EXT2_FS_POSIX_ACL is not set
# CONFIG_EXT2_FS_SECURITY is not set
# CONFIG_EXT2_FS_XIP is not set
CONFIG_EXT3_FS=m
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
CONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
# CONFIG_EXT3_FS_SECURITY is not set
# CONFIG_EXT4_FS is not set
CONFIG_JBD=m
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_FS_POSIX_ACL is not set
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_BTRFS_FS is not set
# CONFIG_NILFS2_FS is not set
CONFIG_FILE_LOCKING=y
CONFIG_FSNOTIFY=y
CONFIG_DNOTIFY=y
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set
CONFIG_FUSE_FS=y
# CONFIG_CUSE is not set

#
# Caches
#
# CONFIG_FSCACHE is not set

#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not set
# CONFIG_UDF_FS is not set

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
# CONFIG_MSDOS_FS is not set
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
# CONFIG_VFAT_FS_DUALNAMES is not set
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
# CONFIG_TMPFS_POSIX_ACL is not set
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_CONFIGFS_FS is not set
CONFIG_MISC_FILESYSTEMS=y
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
CONFIG_YAFFS_FS=y
CONFIG_YAFFS_YAFFS1=y
# CONFIG_YAFFS_9BYTE_TAGS is not set
# CONFIG_YAFFS_DOES_ECC is not set
CONFIG_YAFFS_YAFFS2=y
CONFIG_YAFFS_AUTO_YAFFS2=y
# CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set
# CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set
# CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED is not set
CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y
# CONFIG_YAFFS_EMPTY_LOST_AND_FOUND is not set
# CONFIG_JFFS2_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_SQUASHFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_OMFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
# CONFIG_NFS_V4 is not set
# CONFIG_NFSD is not set
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=y
# CONFIG_RPCSEC_GSS_KRB5 is not set
# CONFIG_RPCSEC_GSS_SPKM3 is not set
# CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ASCII=y
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set
# CONFIG_DLM is not set

#
# Kernel hacking
#
CONFIG_PRINTK_TIME=y
CONFIG_ENABLE_WARN_DEPRECATED=y
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_FRAME_WARN=1024
CONFIG_MAGIC_SYSRQ=y
# CONFIG_STRIP_ASM_SYMS is not set
# CONFIG_UNUSED_SYMBOLS is not set
CONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SHIRQ is not set
# CONFIG_DETECT_SOFTLOCKUP is not set
# CONFIG_DETECT_HUNG_TASK is not set
# CONFIG_SCHED_DEBUG is not set
# CONFIG_SCHEDSTATS is not set
# CONFIG_TIMER_STATS is not set
# CONFIG_DEBUG_OBJECTS is not set
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_DEBUG_PREEMPT is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
CONFIG_STACKTRACE=y
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_WRITECOUNT is not set
# CONFIG_DEBUG_MEMORY_INIT is not set
# CONFIG_DEBUG_LIST is not set
# CONFIG_DEBUG_SG is not set
# CONFIG_DEBUG_NOTIFIERS is not set
# CONFIG_DEBUG_CREDENTIALS is not set
# CONFIG_BOOT_PRINTK_DELAY is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_LATENCYTOP is not set
# CONFIG_SYSCTL_SYSCALL_CHECK is not set
# CONFIG_PAGE_POISONING is not set
CONFIG_NOP_TRACER=y
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_RING_BUFFER=y
CONFIG_EVENT_TRACING=y
CONFIG_CONTEXT_SWITCH_TRACER=y
CONFIG_RING_BUFFER_ALLOW_SWAP=y
CONFIG_TRACING=y
CONFIG_TRACING_SUPPORT=y
CONFIG_FTRACE=y
# CONFIG_FUNCTION_TRACER is not set
# CONFIG_IRQSOFF_TRACER is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_SCHED_TRACER is not set
# CONFIG_ENABLE_DEFAULT_TRACERS is not set
# CONFIG_BOOT_TRACER is not set
CONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
# CONFIG_PROFILE_ALL_BRANCHES is not set
# CONFIG_STACK_TRACER is not set
# CONFIG_KMEMTRACE is not set
# CONFIG_WORKQUEUE_TRACER is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_RING_BUFFER_BENCHMARK is not set
# CONFIG_DYNAMIC_DEBUG is not set
# CONFIG_SAMPLES is not set
CONFIG_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not set
CONFIG_ARM_UNWIND=y
CONFIG_DEBUG_USER=y
CONFIG_DEBUG_ERRORS=y
# CONFIG_DEBUG_STACK_USAGE is not set

#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITYFS is not set
# CONFIG_SECURITY_FILE_CAPABILITIES is not set
CONFIG_CRYPTO=y

#
# Crypto core or helper
#
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_AEAD=y
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_BLKCIPHER2=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_HASH2=y
CONFIG_CRYPTO_RNG2=y
CONFIG_CRYPTO_PCOMP=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_MANAGER2=y
# CONFIG_CRYPTO_GF128MUL is not set
# CONFIG_CRYPTO_NULL is not set
CONFIG_CRYPTO_WORKQUEUE=y
# CONFIG_CRYPTO_CRYPTD is not set
CONFIG_CRYPTO_AUTHENC=y
# CONFIG_CRYPTO_TEST is not set

#
# Authenticated Encryption with Associated Data
#
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_SEQIV is not set

#
# Block modes
#
CONFIG_CRYPTO_CBC=y
# CONFIG_CRYPTO_CTR is not set
# CONFIG_CRYPTO_CTS is not set
CONFIG_CRYPTO_ECB=y
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_XTS is not set

#
# Hash modes
#
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_VMAC is not set

#
# Digest
#
CONFIG_CRYPTO_CRC32C=y
# CONFIG_CRYPTO_GHASH is not set
# CONFIG_CRYPTO_MD4 is not set
CONFIG_CRYPTO_MD5=y
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set
# CONFIG_CRYPTO_RMD320 is not set
CONFIG_CRYPTO_SHA1=y
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_WP512 is not set

#
# Ciphers
#
CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_ANUBIS is not set
CONFIG_CRYPTO_ARC4=y
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
CONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_TEA is not set
CONFIG_CRYPTO_TWOFISH=y
CONFIG_CRYPTO_TWOFISH_COMMON=y

#
# Compression
#
CONFIG_CRYPTO_DEFLATE=y
# CONFIG_CRYPTO_ZLIB is not set
CONFIG_CRYPTO_LZO=y

#
# Random Number Generation
#
# CONFIG_CRYPTO_ANSI_CPRNG is not set
CONFIG_CRYPTO_HW=y
CONFIG_BINARY_PRINTF=y

#
# Library routines
#
CONFIG_BITREVERSE=y
CONFIG_GENERIC_FIND_LAST_BIT=y
CONFIG_CRC_CCITT=y
CONFIG_CRC16=y
# CONFIG_CRC_T10DIF is not set
# CONFIG_CRC_ITU_T is not set
CONFIG_CRC32=y
# CONFIG_CRC7 is not set
# CONFIG_LIBCRC32C is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y
CONFIG_DECOMPRESS_GZIP=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_DMA=y
CONFIG_NLATTR=y

Basically 748MHz (Not 998MHz build, that'd be really scary) kernel, stock settings. :)

Alright... time to take a break.

Edited by jimmie32
Link to comment
Share on other sites

Maybe I'm wrong, but I think

that the boot should be

pushed on the froyo 2.2 but

not Cyanogen 7?

I think so because I saw 2.6.32 froyo kernel

Edited by MoreBlood
Link to comment
Share on other sites

Well, yeah, but as far as I know the 2.6.29 kernel used in our CM7s are the same ones from Froyo, without any change, right?

I'll look into it. Thanks for pointing it out :unsure:

Link to comment
Share on other sites

I decided that because

when I had 2.1 official and I

Pushed boot.img from flb mod(760 mhz),

Then I got stuck on the

boot (the eternal reboot).

At that date I was not an

experienced user. (6 days

after the purchase):unsure:

Link to comment
Share on other sites

2.2 has a significant architectural change from 2.1.

Now that I think of it... actually... yes, there is a difference... mmm...

I'll try 2.2 later, though this U8220-6 is a production system so I'll do it next weekend. Anyone who wants to debug it for me, feel free to :)

Thanks for the tip :unsure:

Link to comment
Share on other sites

2.2 has a significant architectural change from 2.1.

Now that I think of it... actually... yes, there is a difference... mmm...

I'll try 2.2 later, though this U8220-6 is a production system so I'll do it next weekend. Anyone who wants to debug it for me, feel free to :)

Thanks for the tip :unsure:

兄弟,加油

Link to comment
Share on other sites

I've compiled kernel by myself but using jimmie32 config. And it doesn't boot)

I'll try to look at this, but I don't promise anything.. And guys, may be someone can give me a link to explonation how to debug android kernel?..

Link to comment
Share on other sites

@j1exus: Did you get the same errors as I did when in a clean build environment, or you didn't have to modify the source and all went well with my .config?

If all went well, could you please send the zImage to me? I'll try to build a different boot.img from that :unsure:

I don't know how to debug that kernel, really... Before I either asked a kernel hacker friend of mine to do it via a serial port (which, obviously, our pulse doesn't have), or something like that. If we could emulate an ARMv6 machine that exactly matches the pulse's hardware, it would be cool and easy to debug, but sadly, ARM emulation is hell slow (as proved by the Android emulator) even on my 8-core i7. D:

@summitdai: 谢谢你, 我会尽力的, 但愿我们能完成华为没有完成的事情. :)

Edited by jimmie32
Link to comment
Share on other sites

@j1exus: Did you get the same errors as I did when in a clean build environment, or you didn't have to modify the source and all went well with my .config?

If all went well, could you please send the zImage to me? I'll try to build a different boot.img from that :unsure:

I don't know how to debug that kernel, really... Before I either asked a kernel hacker friend of mine to do it via a serial port (which, obviously, our pulse doesn't have), or something like that. If we could emulate an ARMv6 machine that exactly matches the pulse's hardware, it would be cool and easy to debug, but sadly, ARM emulation is hell slow (as proved by the Android emulator) even on my 8-core i7. D:

@summitdai: 谢谢你, 我会尽力的, 但愿我们能完成华为没有完成的事情. :)

Yes, I get exactly same errors...

I'll look at .config some later...

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...

Important Information

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