2.6.32.9 m910 zImage

Kernel development related

2.6.32.9 m910 zImage

Postby MadRocker » Mon Mar 21, 2011 11:35 am

I will push the changed info from the default SPH-M910_OpenSource_Froyo_Update.zip to make it S8000/Jet compatible over the next few days.

Basic = add ams310*.c + ams320*ioctl*.h edit kconfig + Makefile, add s3c-ts.c + edit Kconfig + Makefile, use vital_android_defconfig and change screen res to Jet screen res and maybe a few others small changes but this is about it.

s3c-ts.c is holding me back at this time with this error below and I could not yet find a 2.6.3* s3c-ts.c replacement.

Code: Select all
  CC      drivers/input/touchscreen/s3c-ts.o
In file included from drivers/input/touchscreen/s3c-ts.c:39:
arch/arm/plat-s3c/include/plat/ts.h:15: error: field 'adcts' has incomplete type
drivers/input/touchscreen/s3c-ts.c:71: warning: 'struct s3c_adcts_value' declared inside parameter list
drivers/input/touchscreen/s3c-ts.c:71: warning: its scope is only this definition or declaration, which is probably not what you want
drivers/input/touchscreen/s3c-ts.c: In function 's3c_ts_done_callback':
drivers/input/touchscreen/s3c-ts.c:76: error: dereferencing pointer to incomplete type
drivers/input/touchscreen/s3c-ts.c:76: error: 'TS_STATUS_UP' undeclared (first use in this function)
drivers/input/touchscreen/s3c-ts.c:76: error: (Each undeclared identifier is reported only once
drivers/input/touchscreen/s3c-ts.c:76: error: for each function it appears in.)
drivers/input/touchscreen/s3c-ts.c:86: error: dereferencing pointer to incomplete type
drivers/input/touchscreen/s3c-ts.c:86: error: 'TS_STATUS_DOWN_NOW' undeclared (first use in this function)
drivers/input/touchscreen/s3c-ts.c:96: error: dereferencing pointer to incomplete type
drivers/input/touchscreen/s3c-ts.c:97: error: dereferencing pointer to incomplete type
drivers/input/touchscreen/s3c-ts.c:98: error: dereferencing pointer to incomplete type
drivers/input/touchscreen/s3c-ts.c:98: error: dereferencing pointer to incomplete type
drivers/input/touchscreen/s3c-ts.c:99: error: dereferencing pointer to incomplete type
drivers/input/touchscreen/s3c-ts.c:99: error: dereferencing pointer to incomplete type
drivers/input/touchscreen/s3c-ts.c:100: error: dereferencing pointer to incomplete type
drivers/input/touchscreen/s3c-ts.c:100: error: dereferencing pointer to incomplete type
drivers/input/touchscreen/s3c-ts.c:101: error: dereferencing pointer to incomplete type
drivers/input/touchscreen/s3c-ts.c:101: error: dereferencing pointer to incomplete type
drivers/input/touchscreen/s3c-ts.c: In function 's3c_ts_probe':
drivers/input/touchscreen/s3c-ts.c:290: error: implicit declaration of function 's3c_adcts_register_ts'
drivers/input/touchscreen/s3c-ts.c:308: error: implicit declaration of function 's3c_adcts_unregister_ts'
make[3]: *** [drivers/input/touchscreen/s3c-ts.o] Error 1
make[2]: *** [drivers/input/touchscreen] Error 2
make[1]: *** [drivers/input] Error 2
make: *** [drivers] Error 2


This might be our ticket to a working JetDroid, see attached .config .
You do not have the required permissions to view the files attached to this post.
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Advertisement

Re: 2.6.32.9 m910 zImage

Postby MadRocker » Tue Mar 22, 2011 8:30 pm

This seems to be going okay.
I have too use KB JetKernel and then add the M910 2.6.32.9 modules and replace KB kernel modules.
So mix 2.6.29 and 2.6.32 best of both worlds.

Here is some results. Sound is active but not working yet + a few other easter egg's. GPS is active as well.
The touchscreen calibrations is wrong at this time.

Code: Select all
<6>[    0.000000] spi-bus: source is mout_epll (0), rate is 49152008
<6>[    0.000000] spi-bus: source is mout_epll (0), rate is 49152008
<6>[    0.000000] audio-bus: source is mout_epll (0), rate is 49152008
<6>[    0.000000] audio-bus: source is mout_epll (0), rate is 49152008
<6>[    0.000000] irda-bus: source is mout_epll (0), rate is 49152008

<4>[    3.794497] [s3c6410_max9880_init][s3c6410_max9880_init] platform_set_drvdata
<4>[    3.810613] Maxim MAX9880 Audio CODEC 0.12
<4>[    3.818431] max9880_probe assign i2c address 0x10max9880_codec_probe - max9880 found
<6>[    3.836662] max9880: max9880_init
<6>[    3.845899] asoc: MAX9880 <-> s3c-i2s mapping ok
<6>[    3.854433] max9880: max9880_dapm_event 769
<6>[    3.854446]
<6>[    3.881239] max9880: max9880_dapm_event 0
<6>[    3.881252]
<6>[    3.897736] max9880: max9880_add_widgets
<6>[    3.897753]
<3>[    3.913686] Failed to add route LMICIN->Mic Input
<6>[    3.921930] max9880: max9880_add_controls

<6>[    4.126664] ALSA device list:
<6>[    4.133184]   #0: S3C6410 MAX9880 (MAX9880)


<6>[   28.176800] mmc2: new SDIO card at address 0001
<4>[   28.201896] F1 signature read @0x18000000=0x5264325
<4>[   28.204485] DHD: dongle ram size is set to 393216(orig 393216)
<4>[   28.594657] [WIFI] Dongle reports CHIP-ACTIVE..
<6>[   28.683835] eth0 (): not using net_device_ops yet
<4>[   28.710521] eth0: Broadcom Dongle Host Driver

<6>[    1.401727] input: s3c-keypad-rev0000 as /devices/virtual/input/input0
<4>[    1.420343] s3c-keypad Initialized (columns=3 rows=4)
<6>[    1.429758] S3C Keypad Driver
<6>[    1.438669] S3C Touchscreen driver, (c) 2008 Samsung Electronics
<6>[    1.456134] S3C TouchScreen: delay=30000 oversampling=3
<6>[    1.464993] s3c_ts.c: TS_IRQ registered (94)
<6>[    1.473784] s3c_ts.c: ADC_IRQ registered (95)
<6>[    1.482661] S3C TouchScreen got loaded successfully : 12 bits
<6>[    1.500977] input: S3C TouchScreen as /devices/virtual/input/input1
<4>[    1.521838] s3c_ts_get_adc_data : AIN0 ,Converted Value: 000084E3
<4>[    1.539593] ADC channel 0 = 0x4E3
<4>[    1.549618] s3c_ts_get_adc_data : AIN1 ,Converted Value: 00008451
<4>[    1.567445] ADC channel 1 = 0x451
<4>[    1.577325] s3c_ts_get_adc_data : AIN2 ,Converted Value: 00008415
<4>[    1.595158] ADC channel 2 = 0x415
<4>[    1.605059] s3c_ts_get_adc_data : AIN3 ,Converted Value: 00008000
<4>[    1.622829] ADC channel 3 = 0x000


<6>[    1.215451] Ethernet Channel Bonding Driver: v3.5.0 (November 4, 2008)
<4>[    1.215708] bonding: Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details.
<6>[    1.222342] PPP generic driver version 2.4.2
<6>[    1.223897] PPP Deflate Compression module registered
<6>[    1.224104] PPP BSD Compression module registered
<6>[    1.224267] NET: Registered protocol family 24
<6>[    1.224420] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled).
<6>[    1.224709] CSLIP: code copyright 1989 Regents of the University of California.
<6>[    1.224925] SLIP linefill/keepalive option.
<6>[    1.225137] tun: Universal TUN/TAP device driver, 1.6
<6>[    1.225318] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
<6>[    1.226469] Linux video capture interface: v2.00
<6>[    1.228705] SSFDC read-only Flash Translation layer
<5>[    1.230357] impA7:probing 0x00800000 at 0x00000000
<5>[    1.230961] impA7:probing 0x00800000 at 0x10000000
<4>[    1.231507] Generic platform RAM MTD, (c) 2004 Simtec Electronics
<5>[    1.232243] slram: not enough parameters.
<4>[    1.232426] S3C NAND Driver, (c) 2008 Samsung Electronics
<6>[    1.234149] GPIO NAND driver, © 2004 Simtec Electronics
<7>[    1.320048] OneNAND Manufacturer: Samsung (0xec)
<6>[    1.320075] OneNAND 16MB 1.8V 16-bit (0x04)
<6>[    1.320245] OneNAND version = 0x001e
<7>[    1.320363] Lock scheme is Continuous Lock
<6>[    1.320417] Scanning device for bad blocks
<5>[    1.321768] Creating 1 MTD partitions on "OneNAND simulator":
<5>[    1.321970] 0x000000000000-0x000001000000 : "OneNAND simulator partition"
<5>[    1.322459] ftl_cs: FTL header not found.

<4>[    0.428485] S3C PWM Driver, (c) 2006-2007 Samsung Electronics
<4>[    0.429105] IRQ 73/s3c-dmac: IRQF_DISABLED is not guaranteed on shared IRQs
<4>[    0.429217] s3c-dmac: Samsung S3C6410 DMA Controller base address at [phy]:0x75000000, [virt]:0xcb00c000, irq 73
<4>[    0.429356] IRQ 74/s3c-dmac: IRQF_DISABLED is not guaranteed on shared IRQs
<4>[    0.429439] s3c-dmac: Samsung S3C6410 DMA Controller base address at [phy]:0x75100000, [virt]:0xcb010000, irq 74
<4>[    0.429571] IRQ 49/s3c-dmac: IRQF_DISABLED is not guaranteed on shared IRQs
<4>[    0.429648] s3c-dmac: Samsung S3C6410 DMA Controller base address at [phy]:0x7db00000, [virt]:0xcb014000, irq 49
<4>[    0.429776] IRQ 50/s3c-dmac: IRQF_DISABLED is not guaranteed on shared IRQs
<4>[    0.429853] s3c-dmac: Samsung S3C6410 DMA Controller base address at [phy]:0x7dc00000, [virt]:0xcb018000, irq 50
<6>[    0.439900] ashmem: initialized
<6>[    0.441554] msgmni has been set to 322
<6>[    0.444552] alg: No test for stdrng (krng)
<6>[    0.444769] io scheduler noop registered
<6>[    0.444825] io scheduler anticipatory registered (default)
<6>[    0.444861] io scheduler deadline registered
<6>[    0.445181] io scheduler cfq registered

I/SystemServer( 1937): Audio Service
D/dalvikvm( 1937): Trying to load lib /system/lib/libsoundpool.so 0x0
D/dalvikvm( 1937): Added shared lib /system/lib/libsoundpool.so 0x0
D/SoundPool( 1937): error loading /system/media/audio/ui/Effect_Tick.ogg
W/AudioService( 1937): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
D/SoundPool( 1937): error loading /system/media/audio/ui/KeypressStandard.ogg
W/AudioService( 1937): Soundpool could not load file: /system/media/audio/ui/KeypressStandard.ogg
D/SoundPool( 1937): error loading /system/media/audio/ui/KeypressSpacebar.ogg
W/AudioService( 1937): Soundpool could not load file: /system/media/audio/ui/KeypressSpacebar.ogg
D/SoundPool( 1937): error loading /system/media/audio/ui/KeypressDelete.ogg
W/AudioService( 1937): Soundpool could not load file: /system/media/audio/ui/KeypressDelete.ogg
D/SoundPool( 1937): error loading /system/media/audio/ui/KeypressReturn.ogg
W/AudioService( 1937): Soundpool could not load file: /system/media/audio/ui/KeypressReturn.ogg
I/SystemServer( 1937): Headset Observer
W/HeadsetObserver( 1937): This kernel does not have wired headset support


I/SystemServer( 1937): Window Manager
I/EventHub( 1937): New device: path=/dev/input/event4 name=compass id=0x10000 (of 0x1) index=1 fd=60 classes=0x0
I/EventHub( 1937): New device: path=/dev/input/event3 name=kionix-kxsd9 id=0x10001 (of 0x2) index=2 fd=61 classes=0x0
I/EventHub( 1937): New device: path=/dev/input/event2 name=proximity id=0x10002 (of 0x3) index=3 fd=62 classes=0x0
I/EventHub( 1937): New device: path=/dev/input/event1 name=S3C TouchScreen id=0x10003 (of 0x4) index=4 fd=63 classes=0x4
E/EventHub( 1937): could not get driver version for /dev/input/mouse0, Not a typewriter
I/EventHub( 1937): New keyboard: publicID=65540 device->id=0x10004 devname='s3c-keypad-rev0000' propName='hw.keyboards.65540.devname' keylayout='/system/usr/keylayout/qwerty.kl'
I/EventHub( 1937): New device: path=/dev/input/event0 name=s3c-keypad-rev0000 id=0x10004 (of 0x5) index=5 fd=65 classes=0x1
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Re: 2.6.32.9 m910 zImage

Postby MadRocker » Fri Jun 24, 2011 9:15 pm

Damn I wonder why I never uploaded the kernel folder for the SPH-M910_Froyo_Kernel .

Is there any way that I can check what this zImage kernel number is while it is running except for uname -a ?
I presume I used a modified .config with 2.6.29 so the numbers transfered into the zImage.
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am


Return to JetKernel

Who is online

Users browsing this forum: No registered users and 1 guest

  • Advertisement
cron