Author Topic: Oz 2.6 Kernel With Patches Wanted - C3000  (Read 2817 times)

realm

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • http://
Oz 2.6 Kernel With Patches Wanted - C3000
« on: December 06, 2005, 11:15:42 am »
if i correctly understand the status of the 2.6 kernel, then its being used in the oz releases for the c3000. I don't have bitbake installed, and he never used it. I don't want to have to get it installed and set up to just apply the patches to the kernel source for me. I am hoping someone has a current kernel source from kernel.org with the c3000 specific patches, led, and sound i think weren't merged as of now.

I can't just grab a binary of the kernel and drivers for it because i need the source to compile some drivers. if anyone is willing to use bitbake or another meathod to get a good kernel source with patches of the 2.6 kernel please post it on this fourm post, or link it and send me a pm.

Thanks in advance.
Realm

p.s. - I am going to try bitbake sometime in the future, but i'm moving right now and my server is already packed, please someone be nice and apply the patches for me =)
« Last Edit: December 06, 2005, 11:17:09 am by realm »
SL-C860   r197
SL-C3000 Angstrom with e17 /1 Gig SD/Senao Wifi/CF Bluetooth/CF GPS

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Oz 2.6 Kernel With Patches Wanted - C3000
« Reply #1 on: December 06, 2005, 12:40:46 pm »
http://handhelds.org/~hrw/linux-openzaurus...-rc2-r4.diff.gz is current changeset for 2.6.15-rc2

Code: [Select]
18:38 hrw@work:source$ zcat linux-openzaurus-2.6.14+2.6.15-rc2-r4.diff.gz |diffstat
 Documentation/sound/soc/codec.txt       |   91 ++
 Makefile                                |    1
 arch/arm/Kconfig                        |   16
 arch/arm/boot/compressed/head.S         |    4
 arch/arm/boot/compressed/vmlinux.lds.in |    2
 arch/arm/common/Kconfig                 |    3
 arch/arm/common/Makefile                |    2
 arch/arm/common/sharpsl_pm.c            |  845 +++++++++++++++++++++
 arch/arm/common/tc6393.c                |  618 +++++++++++++++
 arch/arm/kernel/apm.c                   |   19
 arch/arm/mach-pxa/Kconfig               |   17
 arch/arm/mach-pxa/Makefile              |    7
 arch/arm/mach-pxa/corgi.c               |   10
 arch/arm/mach-pxa/corgi_pm.c            |   45 -
 arch/arm/mach-pxa/cpu-pxa25x.c          |  353 ++++++++
 arch/arm/mach-pxa/hx2750.c              |  443 +++++++++++
 arch/arm/mach-pxa/hx2750_test.c         |  678 ++++++++++++++++
 arch/arm/mach-pxa/mainstone.c           |   21
 arch/arm/mach-pxa/pm.c                  |   15
 arch/arm/mach-pxa/pxa25x.c              |    4
 arch/arm/mach-pxa/pxa27x.c              |   10
 arch/arm/mach-pxa/pxa_keys.c            |  157 +++
 arch/arm/mach-pxa/sharpsl.h             |  100 --
 arch/arm/mach-pxa/sharpsl_pm.c          |  825 --------------------
 arch/arm/mach-pxa/spitz.c               |   41 +
 arch/arm/mach-pxa/spitz_pm.c            |   47 -
 arch/arm/mach-pxa/time.c                |   10
 arch/arm/mach-pxa/tosa-bt.c             |  133 +++
 arch/arm/mach-pxa/tosa-lcd.c            |  353 ++++++++
 arch/arm/mach-pxa/tosa-nssp.c           |  110 ++
 arch/arm/mach-pxa/tosa-power.c          |  141 +++
 arch/arm/mach-pxa/tosa.c                |   91 ++
 arch/arm/mach-sa1100/collie.c           |    2
 drivers/Kconfig                         |    2
 drivers/Makefile                        |    1
 drivers/bluetooth/dtl1_cs.c             |    1
 drivers/char/Kconfig                    |   15
 drivers/char/Makefile                   |    1
 drivers/char/sa1100-rtc.c               |  432 ++++++++++
 drivers/i2c/busses/i2c-pxa.c            |   19
 drivers/ide/ide-disk.c                  |   13
 drivers/ide/ide-io.c                    |    6
 drivers/ide/ide-probe.c                 |   53 -
 drivers/ide/ide.c                       |    1
 drivers/ide/legacy/ide-cs.c             |    6
 drivers/input/Kconfig                   |   15
 drivers/input/keyboard/Kconfig          |   10
 drivers/input/keyboard/Makefile         |    2
 drivers/input/keyboard/tosakbd.c        |  396 +++++++++
 drivers/input/power.c                   |  162 ++--
 drivers/input/touchscreen/Kconfig       |   13
 drivers/input/touchscreen/Makefile      |    1
 drivers/input/touchscreen/tsc2101_ts.c  |   56 +
 drivers/leds/Kconfig                    |   54 +
 drivers/leds/Makefile                   |   13
 drivers/leds/corgi.c                    |  121 +++
 drivers/leds/led_class.c                |  179 ++++
 drivers/leds/led_core.c                 |   24
 drivers/leds/led_triggers.c             |  236 +++++
 drivers/leds/leds.h                     |   20
 drivers/leds/locomo.c                   |   91 ++
 drivers/leds/spitz.c                    |  125 +++
 drivers/leds/trig_timer.c               |  133 +++
 drivers/mfd/Kconfig                     |   10
 drivers/mfd/Makefile                    |    2
 drivers/mfd/tsc2101.c                   |  336 ++++++++
 drivers/mfd/tsc2101.h                   |  158 +++
 drivers/mmc/pxamci.c                    |    1
 drivers/mtd/chips/sharp.c               |  121 +--
 drivers/mtd/nand/Kconfig                |    4
 drivers/mtd/nand/Makefile               |    1
 drivers/mtd/nand/nand_base.c            |   26
 drivers/mtd/nand/tc6393_nand.c          |  481 ++++++++++++
 drivers/pcmcia/Makefile                 |    2
 drivers/pcmcia/pxa2xx_hx2750.c          |  192 ++++
 drivers/pcmcia/soc_common.c             |    4
 drivers/serial/8250.c                   |   87 +-
 drivers/serial/serial_core.c            |    1
 drivers/serial/serial_cs.c              |   12
 drivers/usb/host/ohci-pxa27x.c          |  121 +--
 drivers/video/Kconfig                   |   16
 drivers/video/Makefile                  |    1
 drivers/video/backlight/Kconfig         |   14
 drivers/video/backlight/Makefile        |    2
 drivers/video/backlight/corgi_bl.c      |    1
 drivers/video/backlight/hx2750_bl.c     |  184 ++++
 drivers/video/backlight/tosa_bl.c       |  209 +++++
 drivers/video/tc6393fb.c                |  674 ++++++++++++++++
 drivers/video/tc6393fb.h                |  185 ++++
 fs/jffs2/dir.c                          |    6
 include/asm-arm/arch-pxa/hx2750.h       |   90 ++
 include/asm-arm/arch-pxa/irqs.h         |   12
 include/asm-arm/arch-pxa/ohci.h         |   18
 include/asm-arm/arch-pxa/pxa_keys.h     |   17
 include/asm-arm/arch-pxa/tosa.h         |   25
 include/asm-arm/hardware/sharpsl_pm.h   |   94 ++
 include/asm-arm/hardware/tc6393.h       |  271 ++++++
 include/linux/ide.h                     |    1
 include/linux/leds.h                    |   92 ++
 include/linux/mfd/tsc2101.h             |   49 +
 include/linux/serial_core.h             |    1
 include/sound/soc-dpm.h                 |  192 ++++
 include/sound/soc.h                     |  339 ++++++++
 include/video/tc6393fb.h                |   71 +
 init/version.c                          |    2
 sound/Kconfig                           |    2
 sound/Makefile                          |    2
 sound/soc/Kconfig                       |   30
 sound/soc/Makefile                      |    5
 sound/soc/codecs/Kconfig                |   36
 sound/soc/codecs/Makefile               |   13
 sound/soc/codecs/ac97.c                 |  124 +++
 sound/soc/codecs/wm8731.c               |  575 ++++++++++++++
 sound/soc/codecs/wm8731.h               |   34
 sound/soc/codecs/wm8750.c               |  868 +++++++++++++++++++++
 sound/soc/codecs/wm8750.h               |   58 +
 sound/soc/codecs/wm8753.c               | 1280 ++++++++++++++++++++++++++++++++
 sound/soc/codecs/wm8753.h               |   81 ++
 sound/soc/codecs/wm8971.c               |  806 ++++++++++++++++++++
 sound/soc/codecs/wm8971.h               |   55 +
 sound/soc/codecs/wm9713-voice.c         |  278 ++++++
 sound/soc/pxa/Kconfig                   |   53 +
 sound/soc/pxa/Makefile                  |   15
 sound/soc/pxa/corgi.c                   |  152 +++
 sound/soc/pxa/mainstone.c               |  225 +++++
 sound/soc/pxa/pxa2xx-ac97.c             |  396 +++++++++
 sound/soc/pxa/pxa2xx-i2s.c              |  300 +++++++
 sound/soc/pxa/pxa2xx-pcm.c              |  395 +++++++++
 sound/soc/pxa/pxa2xx-pcm.h              |   26
 sound/soc/pxa/pxa2xx-ssp.c              |  430 ++++++++++
 sound/soc/soc-core.c                    | 1056 ++++++++++++++++++++++++++
 sound/soc/soc-dpm.c                     |  954 +++++++++++++++++++++++
 132 files changed, 18582 insertions(+), 1207 deletions(-)
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

realm

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • http://
Oz 2.6 Kernel With Patches Wanted - C3000
« Reply #2 on: December 08, 2005, 04:55:50 pm »
I applied the patch with no errors and compiled the kernel, but  when i turn my Z on with this kernel the lcd flashes once then nothing happens. I loaded the defconfig for the spitz and compiled that for a test. any idea what went wrong?
SL-C860   r197
SL-C3000 Angstrom with e17 /1 Gig SD/Senao Wifi/CF Bluetooth/CF GPS

ThC

  • Sr. Member
  • ****
  • Posts: 259
    • View Profile
    • http://
Oz 2.6 Kernel With Patches Wanted - C3000
« Reply #3 on: December 08, 2005, 05:04:57 pm »
Hi,

from OESF How-To's

Quote
Preparing a Kernel for use with the Sharp Installer

I'm not going to talk you through building a custom Kernel. If you need that kind of help you probably shouldn't be thinking of prepping a Kernel for flashing.

Basically the approach that I have taken is simply to strip the last 16 bytes off the end of the Sharp Kernel image from the Sharp 1.11JP ROM as follows..

tail -c 16 zImage.bin-sharprom > kerneltail
cat zImage.bin-mykernel kerneltail > zImage-prepped

This is really enough to get the ball rolling.

did you prepared your kernel well before flashing ?
SL-C3000 - pdaXrom 1.1.0Beta1
SL-C860 - pdaXrom 1.1.0 RC8 (charging circuitry dead :( )
CF RamStar 512 Mb / Hitachi 4Gb microdrive (thanks to creative's muvo² :p)
SD Sandisk 1Gb / Viking 256 Mb
Linksys WCF13 CF wifi card

Anyone willing to donate for my work, please consider donate to pdaXrom and/or OE/OZ projects instead, I wouldn't have been able to do anything without them ...

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Oz 2.6 Kernel With Patches Wanted - C3000
« Reply #4 on: December 08, 2005, 05:23:46 pm »
Quote
Hi,

from OESF How-To's

Quote
Preparing a Kernel for use with the Sharp Installer

I'm not going to talk you through building a custom Kernel. If you need that kind of help you probably shouldn't be thinking of prepping a Kernel for flashing.

Basically the approach that I have taken is simply to strip the last 16 bytes off the end of the Sharp Kernel image from the Sharp 1.11JP ROM as follows..

tail -c 16 zImage.bin-sharprom > kerneltail
cat zImage.bin-mykernel kerneltail > zImage-prepped

This is really enough to get the ball rolling.

did you prepared your kernel well before flashing ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=106501\"][{POST_SNAPBACK}][/a][/div]

OE will do that for you
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

realm

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • http://
Oz 2.6 Kernel With Patches Wanted - C3000
« Reply #5 on: December 10, 2005, 04:14:21 pm »
Quote
tail -c 16 zImage.bin-sharprom > kerneltail
cat zImage.bin-mykernel kerneltail > zImage-prepped

going to try that now. why is the 2.6 kernel different from 2.4 in this aspect. when i compile a 2.4 kernel with the tetsu patches all i have to co is use the updater script with the zImage file. so why does the 2.6 kernel need the rear end of another kernel tacked onto it?

Realm
SL-C860   r197
SL-C3000 Angstrom with e17 /1 Gig SD/Senao Wifi/CF Bluetooth/CF GPS