Ticket #2346 (new defect)

Opened 8 years ago

Last modified 8 years ago

/sys/class/leds has only one led

Reported by: lindi Owned by: openmoko-kernel
Priority: normal Milestone:
Component: kernel Version: unspecified
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:
Reproducible: always

Description

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

Change History

Note: See TracTickets for help on using tickets.