dear fsl:
I have modify code, but can't find
"/dev/sync" | |
"/dev/ctrl" | |
"/dev/async" | |
/dev/isoc" |
I have add log for debug this problem, I found that mbl150 driver's probe funtion not run.
Platform-mxc_mlb.c (arch\arm\plat-mxc\devices) | 2095 | 2015-6-5 |
should registor a device for mbl, I add log in this funtion, result is registor function not run.
Can you guide me? thanks
Hi mingming
one can try mxc_mlb_test in
Index of /buildsources/i/imx-test/imx-test-3.0.35-4.0.0
also check sect.33.2 MLB Driver attached Linux Manual.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
dear fsl:
I have modify code, but can't find
"/dev/sync" | |
"/dev/ctrl" | |
"/dev/async" | |
/dev/isoc" |
I have add log for debug this problem, I found that mbl150 driver's probe funtion not run.
Platform-mxc_mlb.c (arch\arm\plat-mxc\devices) | 2095 | 2015-6-5 |
should registor a device for mbl, I add log in this funtion, result is registor function not run.
Can you guide me? thanks
you can check that linux generated MLB150 kernel module,
by default, MLB150 is compiled as module mxc_mlb150.ko.
So in console:
./mxc_mlb150_test.out –b –f 256 –t ctrl
dear sir:
1,only insmod ko file,this function can‘t work.
we should add below code to board file
// yuanmm_mlb begin | |
imx6q_add_mlb150(&mx6_sabreauto_mlb150_data); | |
// yuanmm_mlb end |
2,/dev/ctrl now can creat, but test is failed, output infomation as below than stop here
root@freescale /unit_tests$ ./mxc_mlb150_test.out -b -f 256 -t ctrl
MLB device version: 0x03030003
MLB device address: 0xc0
=======================
ctrl tx/rx test start
Set fps to 256
dear sir:
1,only insmod ko file,this function can‘t work.
we should add below code to board file
// yuanmm_mlb begin | |
imx6q_add_mlb150(&mx6_sabreauto_mlb150_data); | |
// yuanmm_mlb end |
2,/dev/ctrl now can creat, but test is failed, output infomation as below than stop here
root@freescale /unit_tests$ ./mxc_mlb150_test.out -b -f 256 -t ctrl
MLB device version: 0x03030003
MLB device address: 0xc0
=======================
ctrl tx/rx test start
Set fps to 256
Hi fsl:
any update?
thanks