Messages in this thread | | | Date | Sun, 5 Apr 2015 06:14:06 +0800 | From | Chen Gang <> | Subject | Re: [PATCH] blackfin: Kconfig: Let PLL_BYPASS and MPU depend on some BF_REV of BF533 |
| |
On 4/5/15 05:56, Richard Weinberger wrote: > Am 04.04.2015 um 23:48 schrieb Chen Gang: >> On 4/4/15 06:59, Richard Weinberger wrote: > So you have a blackfin board and successfully booted such a allmodconfig kernel on it?
No, I have no any related hardware for it.
For this issue, I referenced arch/blackfin/Makefile for BF_REL:
[root@localhost linux-next]# echo "" | /upstream/release-blackfin/bin/bfin-gchen-elf-gcc -dD -mcpu=bf533-0.6 -E - | grep __SILICON_REVISION__ #define __SILICON_REVISION__ 0x0006 [root@localhost linux-next]# echo "" | /upstream/release-blackfin/bin/bfin-gchen-elf-gcc -dD -mcpu=bf533-0.5 -E - | grep __SILICON_REVISION__ #define __SILICON_REVISION__ 0x0005 [root@localhost linux-next]# echo "" | /upstream/release-blackfin/bin/bfin-gchen-elf-gcc -dD -mcpu=bf533-0.4 -E - | grep __SILICON_REVISION__ #define __SILICON_REVISION__ 0x0004 [root@localhost linux-next]# echo "" | /upstream/release-blackfin/bin/bfin-gchen-elf-gcc -dD -mcpu=bf533-0.3 -E - | grep __SILICON_REVISION__ #define __SILICON_REVISION__ 0x0003 [root@localhost linux-next]# echo "" | /upstream/release-blackfin/bin/bfin-gchen-elf-gcc -dD -mcpu=bf533-0.2 -E - | grep __SILICON_REVISION__ cc1: error: -mcpu=bf533-0.2 has invalid silicon revision cc1: error: unrecognized command line option '-mcpu=bf533-0.2' [root@localhost linux-next]# echo "" | /upstream/release-blackfin/bin/bfin-gchen-elf-gcc -dD -mcpu=bf533-0.1 -E - | grep __SILICON_REVISION__ cc1: error: -mcpu=bf533-0.1 has invalid silicon revision cc1: error: unrecognized command line option '-mcpu=bf533-0.1' [root@localhost linux-next]# echo "" | /upstream/release-blackfin/bin/bfin-gchen-elf-gcc -dD -mcpu=bf533-0.0 -E - | grep __SILICON_REVISION__ cc1: error: -mcpu=bf533-0.0 has invalid silicon revision cc1: error: unrecognized command line option '-mcpu=bf533-0.0'
Thanks. -- Chen Gang
Open, share, and attitude like air, water, and life which God blessed
| |