Openmoko Bug #2346: /sys/class/leds has only one led
Openmoko Public Trac
bugs at docs.openmoko.org
Wed Jul 7 21:36:39 CEST 2010
#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
More information about the buglog
mailing list