Openmoko Bug #2346: /sys/class/leds has only one led

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Openmoko Bug #2346: /sys/class/leds has only one led

Openmoko Public Trac
#2346: /sys/class/leds has only one led
--------------------+-------------------------------------------------------
 Reporter:  lindi   |          Owner:  openmoko-kernel
     Type:  defect  |         Status:  new            
 Priority:  normal  |      Milestone:                
Component:  kernel  |        Version:  unspecified    
 Severity:  normal  |       Keywords:                
 Haspatch:  0       |      Blockedby:                
Estimated:          |    Patchreview:                
 Blocking:          |   Reproducible:  always        
--------------------+-------------------------------------------------------
 Steps to reproduce:
 1) build linux using
 #!/bin/bash
 set -x
 set -e
 rev=$(git log | head -n1|cut -d' ' -f2|cut --bytes=1-32)
 buildroot=build-$rev
 rm -fr $buildroot
 mkdir $buildroot
 cp arch/arm/configs/gta02_defconfig $buildroot/.config
 make O=$buildroot ARCH=arm silentoldconfig
 CROSS_COMPILE=arm-linux-gnueabi- make -j4 O=$buildroot ARCH=arm
 CONFIG_DEBUG_SECTION_MISMATCH=y EXTRAVERSION=om-gta02-2.6.32-$rev
 arm-linux-gnueabi-objcopy -O binary -R .note -R .comment -S
 $buildroot/arch/arm/boot/compressed/vmlinux $buildroot/linux.bin
 mkimage -A arm -O linux -T kernel -C none -a 30008000 -e 30008000 -n "om-
 gta02-2.6.32-$rev" -d $buildroot/linux.bin $buildroot/uImage-om-
 gta02-2.6.32-$rev.bin
 mkdir -p $buildroot/staging
 make O=$buildroot ARCH=arm modules_install INSTALL_MOD_PATH=staging
 cd $buildroot/staging
 tar czf ../modules-om-gta02-2.6.32-$rev.tar.gz .
 2) boot uImage-om-gta02-2.6.32-a9254be10ac2294ea20165a87c09ea6a.bin
 3) ls /sys/class/leds

 Expected results:
 3) more than one led is listed

 Actual results:
 3) only  gta02:red:aux is listed

--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2346>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
Reply | Threaded
Open this post in threaded view
|

Re: Openmoko Bug #2346: /sys/class/leds has only one led

Openmoko Public Trac
#2346: /sys/class/leds has only one led
--------------------+-------------------------------------------------------
 Reporter:  lindi   |          Owner:  openmoko-kernel
     Type:  defect  |         Status:  new            
 Priority:  normal  |      Milestone:                
Component:  kernel  |        Version:  unspecified    
 Severity:  normal  |       Keywords:                
 Haspatch:  0       |      Blockedby:                
Estimated:          |    Patchreview:                
 Blocking:          |   Reproducible:  always        
--------------------+-------------------------------------------------------

Comment(by jama):

 Try with
 http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/linux
 /linux-openmoko-2.6.32/0006-gta02-defconfigs-enable-LEDS_S3C24XX-and-
 dummy-batte.patch

--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2346#comment:1>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
Reply | Threaded
Open this post in threaded view
|

Re: Openmoko Bug #2346: /sys/class/leds has only one led

Openmoko Public Trac
In reply to this post by Openmoko Public Trac
#2346: /sys/class/leds has only one led
--------------------+-------------------------------------------------------
 Reporter:  lindi   |          Owner:  openmoko-kernel
     Type:  defect  |         Status:  new            
 Priority:  normal  |      Milestone:                
Component:  kernel  |        Version:  unspecified    
 Severity:  normal  |       Keywords:                
 Haspatch:  0       |      Blockedby:                
Estimated:          |    Patchreview:                
 Blocking:          |   Reproducible:  always        
--------------------+-------------------------------------------------------

Comment(by lindi):

 jama, hmm, that url is not valid anymore.

--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2346#comment:2>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac