Ticket #535 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

2.6.21.1 kernel is broken

Reported by: koen@… Owned by: laforge@…
Priority: lowest Milestone:
Component: kernel Version: current svn head
Severity: blocker Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

The following things don't work:

  • gsm power
  • bt power
  • gps power
  • audio

the first 3 can be explained by the fact that no gta01_pm_*.ko files get created
during the kernel build, the audio one is most likely a broken asoc patch.

I wonder why this is the default kernel now...

koen@bitbake:/data/build/koen/OE/build/tmp/angstrom/work/fic-gta01-angstrom-linux-gnueabi/linux-gta01-2.6.21.1-moko9-r0/linux-2.6.21.1$
find . -name *gta01*
./arch/arm/common/gta01_pm_gps.c
./arch/arm/common/gta01_pm_gsm.c
./arch/arm/common/gta01_pm_bt.c
./arch/arm/common/gta01_pm_gsm.o
./arch/arm/common/.gta01_pm_gsm.o.cmd
./arch/arm/common/gta01_pm_gps.o
./arch/arm/common/.gta01_pm_gps.o.cmd
./arch/arm/common/gta01_pm_bt.o
./arch/arm/common/.gta01_pm_bt.o.cmd
./arch/arm/mach-s3c2410/mach-gta01.c
./arch/arm/mach-s3c2410/.mach-gta01.o.cmd
./arch/arm/mach-s3c2410/mach-gta01.o
./drivers/input/keyboard/gta01kbd.c
./drivers/input/keyboard/gta01kbd.o
./drivers/input/keyboard/.gta01kbd.o.cmd
./drivers/leds/leds-gta01.c
./drivers/leds/.leds-gta01.o.cmd
./drivers/leds/leds-gta01.o
./drivers/video/backlight/gta01_bl.c
./include/asm-arm/arch-s3c2410/gta01.h
./include/config/keyboard/gta01.h
./include/config/leds/gta01.h
./include/config/mach/gta01.h
koen@bitbake:/data/build/koen/OE/build/tmp/angstrom/work/fic-gta01-angstrom-linux-gnueabi/linux-gta01-2.6.21.1-moko9-r0/linux-2.6.21.1$

Change History

comment:1 Changed 6 years ago by koen@…

gsm power does seem to work:

root@neo1973:/sys/bus/platform/devices$ ls | grep gta
gta01-bl.0
gta01-button.0
gta01-led.0
gta01-pm-gsm.0

comment:2 Changed 6 years ago by koen@…

and the defconfig has a wrong moko revision (moko8 instead of moko9)

comment:3 Changed 6 years ago by laforge@…

I've made 2.6.20.10 the default and I'm looking at those other problems.

comment:4 Changed 6 years ago by laforge@…

  • Status changed from new to assigned

some remarks:

1) the gta01-pm-{bt,gps,gsm}.ko modules generally don't get built for quite some
time, but are linked into the kernel
2) wrong moko revision will be fixed to moko10 once all the bugs you have
described are fixed
3) asoc.patch was indeed erroneous

All those problems should be addressed in the patchset as of svn rev. 1883.
Please feel free to test and close the bug.

comment:5 Changed 6 years ago by koen@…

r1885 demotes it back to moko8 :)

comment:6 Changed 6 years ago by koen@…

  • Status changed from assigned to closed
  • Resolution set to fixed

With current OE .dev you get a working moko10 kernel:

root@neo1973:/sys/bus/platform/drivers$ ls
gta01-button gta01-pm-gsm s3c2410-nand s3c2410-usbgadget
s3c2440-uart
gta01-led pcf50606 s3c2410-spi s3c2412-nand
s3c2440-usbgadget
gta01-pm-bt s3c2410-i2c s3c2410-ts s3c2440-i2c
s3c24xx-spi-gpio
gta01-pm-gps s3c2410-lcd s3c2410-uart s3c2440-nand
soc-audio
root@neo1973:/sys/bus/platform/drivers$ uname -a
Linux neo1973 2.6.21.1-moko10 #1 PREEMPT Tue May 1 09:30:17 CEST 2007 armv4tl
unknown

Note: See TracTickets for help on using tickets.