找到你要的答案

Q:Linux kernel file config enabling

Q:Linux内核文件配置启用

I have a piece of hardware (microzed board) which runs on linux (xillinux 1.3) based on ubuntu 12.0.4 LTS. I wanted to connect a peripheral (TI wifi/Bluetooth module) to my board. In order for the device to be detected and work I believe the device should be enabled. In my kernel config file from the boot folder, I found the option below:

# Texas Instruments WL128x FM driver (ST based)
#
CONFIG_RADIO_WL128X=m

Does this mean that WL128X is enabled so that I can use that module directly without any kernel reconfiguration ?

I am using a module from TI with model number, WL1835MODCOM8B. But the documentation of this model says that WLAN and Bluetooth, BLE cores are software and hardware compatible with prior WL127x, WL128x and CC256x offerings, facilitating an easy migration to device.

So, if the above entry for WL128x means the device is enabled, then i can use the WL1835 module directly as it is compatible with WL128x as per documentation.

我有一个硬件(microzed板)上运行Linux(xillinux 1.3)基于Ubuntu的LTS 12.0.4。我想连接外设(TI蓝牙模块)我的板。为了检测和工作的设备,我相信该设备应该启用。在我的内核配置文件从启动文件夹,我发现下面的选项:

# Texas Instruments WL128x FM driver (ST based)
#
CONFIG_RADIO_WL128X=m

这是否意味着wl128x启用,这样我就可以用该模块直接没有任何内核重构?

我利用TI的型号,wl1835modcom8b模块。但这种模式的文件说,WLAN和蓝牙BLE的核心是软件和硬件的兼容与现有wl127x,wl128x和cc256x祭,促进轻松迁移到装置。

所以,如果wl128x以上意味着设备启用,然后我可以用wl1835模块直接为它兼容wl128x按文件。

answer1: 回答1:

The option you're seeing is building a driver required to use the FM radio component which is part of TI chip combo (these are chips which were targeted for smartphones initially and, therefore, had an FM radio functionality as well). This is completely unrelated to WiFi.

The WLAN driver to use with these chips is wl18xx (located in drivers/net/wireless/ti/). You'll need to configure CONFIG_WL18XX and recompile the kernel.

On top of that you'll have to follow Alexandre advice about editing the board file or device tree.

您所看到的选项是构建一个驱动程序,需要使用FM无线组件,这是TI芯片组合的一部分(这些芯片最初针对智能手机,因此,也有FM收音机功能)。这是WiFi完全无关。

WLAN驱动程序使用这些芯片是wl18xx(位于司机/网络/无线/钛/)。您需要配置config_wl18xx和编译内核。

最重要的是你要追随亚历山大建议编辑委员会文件或设备树。

answer2: 回答2:

The WL1835 is using SDIO and UART. Those buses don't have any discovering mechanism for their devices. So, you have to describe how you connected the module to your development board by editing either the board file or the device tree, depending on your platform and kernel version.

使用SDIO接口和UART的wl1835。这些巴士没有任何发现机制,为他们的设备。因此,您必须描述如何通过编辑板文件或设备树来将模块连接到开发板,这取决于您的平台和内核版本。

bluetooth  linux-kernel  wifi  ubuntu-12.04  zynq