[#4900] kernel fails to build in pm.c when allow wakeup from standby by GPIO
Submitted By: Vivi Li
2009-02-13 01:18:41 Close Date
Closed Fixed In Release:
Found In Release:
Make Errors Board:
ALL Silicon Revision:
Is this bug repeatable?:
Uboot version or rev.:
Toolchain version or rev.:
App binary format:
Summary: kernel fails to build in pm.c when allow wakeup from standby by GPIO
Enable power management and allow wakeup from standby by GPIO, it fails to build kernel in pm.c with undeclared identifier.
Bellow is the log for bf548-ezkit and kernel config is attached.
arch/blackfin/mach-common/pm.c: In function ‘bfin_pm_suspend_standby_enter’:
arch/blackfin/mach-common/pm.c:71: error: implicit declaration of function ‘gpio_pm_wakeup_request’
arch/blackfin/mach-common/pm.c:71: error: ‘PM_WAKE_LOW’ undeclared (first use in this function)
arch/blackfin/mach-common/pm.c:71: error: (Each undeclared identifier is reported only once
arch/blackfin/mach-common/pm.c:71: error: for each function it appears in.)
make: *** [arch/blackfin/mach-common/pm.o] Error 1
make: *** [arch/blackfin/mach-common] Error 2
make: *** Waiting for unfinished jobs....
make: INTERNAL: Exiting with 5 jobserver tokens available; should be 4!
make: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'
make: *** [linux] Error 1
--- Michael Hennerich 2009-02-13 06:42:54
assign to me
--- Michael Hennerich 2009-02-16 05:26:33
This feature is not available on BF54x.
Fixed on svn trunk.
--- Vivi Li 2009-02-18 03:58:46
OK, I see.
Another question, the option "Allow Wake-Up from GPIOs
(PM_WAKEUP_BY_GPIO)" should work on BF548?
When I tried this option, it can not work simply by pressing buttons. So there
should be other way to use it?
--- Michael Hennerich 2009-02-18 04:47:01
This option enables:
General-purpose event (all processors, except ADSP-BF549). Set
the general-purpose wake-up enable (GPWE) control bit to enable
wake-up upon detection of an active low signal on the GPW pin
The /GPW pin also known as PH7 and is by default not connected to an Push
Button on BF548-EZKIT.
(There is an option but the resistor is by default not populated)
If you like to test standby mode with the BF548-EZKIT use the KEYPAD or RTC
--- Vivi Li 2009-02-23 05:48:53
OK, I see. Close this bug.
Thank you, Michael!
File Name File Type File Size Posted By
config.power application/octet-stream 32892 Vivi Li