where can find an image file to let BeagleBone Black + WL1835 work on wlan via SDIO ?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
where can find an image file to let BeagleBone Black + WL1835 work on wlan via SDIO ?
Hi Iain:
I can see the the SD_CMD and SD_CLK toggle, I assume the error caused by the different module.
I assumed if module ID is wrong, then stop initialization process.
I want to inspect the program about the module initialization process. and please show me how to make it.
Best Regards;
Allen;
Hi Allen,
Are you still reading the eMMC on the mmc1 port in the dmesg log? Before we go down any debug routes you need to understand what is the current situation. So, what is it dmesg tells you the kernel sees on mmc1?
Iain
Hi Iain:
(A) I inspect the MMC bus, it start at 400 KHz.
the first 8 bits of every command sequence, the format is start bit, direction bit, command index(6 bits)
(1) 01 110100
(2) 01 00100
(3) 01 001010
(4) 01 000101
(5) 01 000101
(6) 01 000101
(7) 01 110111
(8) 01 110111
(9) 01 110111
host seems do retry at last.
some command index , I do not find out it's meaning.
(B) I do not see the toggle of data bus, the data bus always keep high. But the OE pin of level shift is high.
(C) the status seems the beaglebone black issue command but the module has no response. But I test the module by USB port , it is all right.
(D) it seems the host can not get the response from module, so can not load firmware.
Best Regards;
Allen;
Hi Allen,
You appear to have solved the initial detection problem. For the benefit of future readers of this post can you please explain what the problem was that you had and that you solved.
Iain
Hi Iain:
(1) the first problem: can not detect module SDIO interfer,
log is at below:
[ 0.000000] Kernel command line: console=tty0 console=ttyO0,115200n8 capemgrc
[ 3.758160] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 3.840421] mmc0: host does not support reading read-only switch, assuming we
[ 3.860652] mmc0: new high speed SDHC card at address 59b4
[ 3.872369] mmcblk0: mmc0:59b4 USD 7.51 GiB
[ 3.891237] mmcblk0: p1
[ 3.971582] mmc1: MAN_BKOPS_EN bit is not set
[ 3.980202] mmc1: new high speed MMC card at address 0001
root cause is the SDIO bus clock fail at 1.8v of leve shift.
(2) fix problem of SD_CLK and SD_CMD level shift, but the SD_DATA has no response
log show SDIO active
[ 3.969575] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
[ 3.975729] mmc1: new high speed SDIO card at address 0001
[ 9.872987] ------------[ cut here ]------------
[ 9.878008] WARNING: CPU: 0 PID: 114 at net/wireless/reg.c:524 regulatory_init+0x60/0xbc [cfg80211]()
[ 9.887340] db.txt is empty, you should update it...
[ 9.892154] Modules linked in: cfg80211(+) omap_aes omap_sham wlcore_sdio omap_rng rng_core uio_pdrv_genirq uio st_drv leds_gpio
[ 9.904090] CPU: 0 PID: 114 Comm: systemd-udevd Not tainted 4.1.2-bone12 #1
[ 9.911092] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 9.917285] [<c0012e81>] (unwind_backtrace) from [<c0011061>] (show_stack+0x11/0x14)
[ 9.925115] [<c0011061>] (show_stack) from [<c002e3a9>] (warn_slowpath_common+0x69/0x8c)
[ 9.933283] [<c002e3a9>] (warn_slowpath_common) from [<c002e3ef>] (warn_slowpath_fmt+0x23/0x2c)
[ 9.942159] [<c002e3ef>] (warn_slowpath_fmt) from [<bf8d2109>] (regulatory_init+0x60/0xbc [cfg80211])
[ 9.951627] [<bf8d2109>] (regulatory_init [cfg80211]) from [<bf8d2049>] (cfg80211_init+0x48/0xa8 [cfg80211])
[ 9.961617] [<bf8d2049>] (cfg80211_init [cfg80211]) from [<c00094bd>] (do_one_initcall+0xa5/0x194)
[ 9.970663] [<c00094bd>] (do_one_initcall) from [<c05e04a1>] (do_init_module+0x49/0x13c)
[ 9.978844] [<c05e04a1>] (do_init_module) from [<c0072963>] (load_module+0x1397/0x18a0)
[ 9.986926] [<c0072963>] (load_module) from [<c0072fb1>] (SyS_finit_module+0x51/0x74)
[ 9.994833] [<c0072fb1>] (SyS_finit_module) from [<c000e501>] (ret_fast_syscall+0x1/0x4c)
[ 10.003070] ---[ end trace b2fc97cb4eaef975 ]---
and driver begin work
(3) the below has error message about firm load
[ 10.010528] cfg80211: Calling CRDA to update world regulatory domain
[ 10.103717] wl18xx_driver wl18xx.2.auto: Direct firmware load for ti-connectivity/wl1271-nvs.bin failed with error -2
[ 10.128526] wl18xx_driver wl18xx.2.auto: Direct firmware load for ti-connectivity/wl18xx-conf.bin failed with error -2
[ 10.139421] wlcore: ERROR could not get configuration binary ti-connectivity/wl18xx-conf.bin: -2
[ 10.148311] wlcore: WARNING falling back to default config
my problem:
(a) where should put firmware ?
(b) what the the exact firmware ?
Best Regards;
Allen;
Hi Iain:
we want to build a testing system, let tester control BBB board via telnet.
what command can download firmware to wl18xx module or the firmware download while kernel booting ?
Best Regards;
Allen;
Hi Allen,
So you have RTTT working directly on the USB connector of the MMCSD2COM8 board ok but you cannot talk to the WL1835 via your own cape adapter on BBB.
For you this is fine as you can test.
As the problem appears to stem from your adapter board I will close this thread as you are not spending any more time on it.
Iain
Hi Iain:
Testing WL18xx via usb is not the answer of SDIO interface .
compared with RTTT flow, the SDIO interface has something to do. The benefit of SDIO testing is combining wifi with SDIO testing in one step.
however, I am asked to stop the project, so please close this thread.
Best Regards;
Allen;