Activating PCI express on imx6 board
Hi,
I activated PCI express for my imx6 board.
To get PCI express up and running I have to activate the kernel option CONFIG_CPU_FREQ here my configuration
#
# CPU Frequency scaling
#CONFIG_CPU_FREQ=yCONFIG_CPU_FREQ_TABLE=yCONFIG_CPU_FREQ_STAT=y
# CONFIG_CPU_FREQ_STAT_DETAILS is not set CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_GOV_USERSPACE is not set
# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_GOV_INTERACTIVE is not set
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
# CONFIG_GENERIC_CPUFREQ_CPU0 is not set
I think the frequency scaling can change the timing for xenomai and checked the .config file where I found the following message.
#
# WARNING! You enabled APM, CPU Frequency scaling, ACPI 'processor' #
#
# or Intel cpuidle option. These options are known to cause troubles #
#
# with Xenomai, disable them. #
Do you have any idea how to activate PCI express support when using xenomai.
Kind regards
Signature · 21 lines
Wolfgang Netbal Softwareentwicklung ________________________________ SIGMATEK GmbH & Co KG Sigmatekstraße 1 5112 Lamprechtshausen Österreich / Austria Tel.: +43/6274/4321-0 Fax: +43/6274/4321-300 E-Mail: [email protected] http://www.sigmatek-automation.at ****************************Please note: **************************** This email and all attachments are confidential and intended solely for the person or entity to whom it is addressed. If you are not the named addressee you must not make this email and all attachments accessible to any other person. If you have received this email in error please delete it together with all attachments. *********************************************************************
Quoted 40 lines · Wolfgang Netbal
Hi,
I activated PCI express for my imx6 board.
To get PCI express up and running I have to activate the kernel optionCONFIG_CPU_FREQ
here my configuration
#
# CPU Frequency scaling
#CONFIG_CPU_FREQ=yCONFIG_CPU_FREQ_TABLE=yCONFIG_CPU_FREQ_STAT=y
#CONFIG_CPU_FREQ_STAT_DETAILSis not setCONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
#CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVEis not set
#CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACEis not set
#CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMANDis not set
#CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVEis not set
#CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVEis not setCONFIG_CPU_FREQ_GOV_PERFORMANCE=y
#CONFIG_CPU_FREQ_GOV_POWERSAVEis not set
#CONFIG_CPU_FREQ_GOV_USERSPACEis not set
#CONFIG_CPU_FREQ_GOV_ONDEMANDis not set
#CONFIG_CPU_FREQ_GOV_INTERACTIVEis not set
#CONFIG_CPU_FREQ_GOV_CONSERVATIVEis not set
#CONFIG_GENERIC_CPUFREQ_CPU0is not setI think the frequency scaling can change the timing for xenomai and checked the .config file
where I found the following message.#
# WARNING! You enabled APM, CPU Frequency scaling, ACPI 'processor' ##
# or Intel cpuidle option. These options are known to cause troubles #
Quoted 7 lines
#
# with Xenomai, disable them. #Do you have any idea how to activate PCI express support when using xenomai.
With the performance governor there is no risk of frequency changes breaking xenomai timings after initialization. So, run the latency test, and if it runs correctly (no drift, no large latencies), you can ignore these messages. Otherwise, the problem is that the cpu frequency which was used as boot is not the same as the one used by the performance governor, and in that case, the best I can advise is to use the userspace governor and manually set the frequency to the boot value.
Signature · 2 lines
Gilles. https://click-hack.org