當前位置:編程學習大全網 - 行動軟體 - 如何給AM335X的Linux 內核 打 xenomai 補丁

如何給AM335X的Linux 內核 打 xenomai 補丁

將內核源文件夾根目錄下 .config文件的幾個標誌位作如下設置:

CONFIG_HPET_TIMER=n

CONFIG_HPET_EMULATE_RTC=n

CONFIG_SPARSE_IRQ=n

當出現"per_cpu__irq_stack_union" undeclared error,將CONFIG_CC_STACKPROTECTOR設置為n

> I have a xenomai kernel running!

>

> I have tested using the testsuit latency ./run program. initially I

> got this message

>

> Xenomai: incompatible feature set.

> (required="sep tsc", present= "sep", missing="tsc")

方法1. To fix this, you need to select a x86 CPU supporting a timestamp counter

when configuring your kernel, since by default, the configure script

assumes --enable-x86-tsc.

方法2:The problem is that the TSC feature must be enabled in kernel-space if

you want to enable it in user-space. So, you have two choices:

- either you enable the TSC in kernel-space by selecting the processor

in kernel configuration which fits your processor (as suggested in

Xenomai FAQ);

- either you disable usage of TSC in user-space by passing --disable-tsc

to configure.

  • 上一篇:我的QQ飛車精簡版下載完第壹步後就不下了
  • 下一篇:白色戀人歌詞
  • copyright 2024編程學習大全網