Issue integrating Dahdi on p2020 rdb board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Issue integrating Dahdi on p2020 rdb board

926 Views
mohitduggal
Contributor II

while buidling image using 1.7 SDK , Dahdi gets compiled and installed also.

But dahdi modules are not installed.

Dahdi_geconf gives the following error

Can't locate Getopt/Long.pm in @INC (@INC contains: /usr/sbin /usr/sbin/perl_modules /etc/perl /usr/lib/perl/site_perl/5.14.3/ /usr/lib/perl/site_perl/5.14.3 /usr/lib/perl/vendor_perl/5.14.3/ /usr/lib/perl/vendor_perl/5.14.3 /usr/lib/perl/5.14.3/ /usr/lib/perl/5.14.3 /usr/local/lib/site_perl /usr/lib/perl/5.14.3 .) at /usr/sbin/dahdi_genconf line 14.
BEGIN failed--compilation aborted at /usr/sbin/dahdi_genconf line 14.

Even though perl modules are available .

in case i try to compile and build dahdi on board itself , it sys different kernel versions dahdi modules are built with 3.12. but uname

root@p2020rdb:~# ls /lib/modules/3.12.19-rt30-QorIQ-SDK-V1.7+g6619b8b/
dahdi/               modules.alias        modules.builtin      modules.dep          modules.devname      modules.softdep      modules.symbols.bin
extra/               modules.alias.bin    modules.builtin.bin  modules.dep.bin      modules.order        modules.symbols
root@p2020rdb:~# ls /lib/modules/3.12.19-rt30-QorIQ-SDK-V1.7+g6619b8b/dahdi/
dahdi.ko                dahdi_dynamic_loc.ko    dahdi_echocan_sec.ko    pciradio.ko             wcb4xxp/                wctc4xxp/               wcte12xp/
dahdi_dynamic.ko        dahdi_echocan_jpah.ko   dahdi_echocan_sec2.ko   tor2.ko                 wcfxo.ko                wctdm.ko                wcte13xp.ko
dahdi_dynamic_eth.ko    dahdi_echocan_kb1.ko    dahdi_transcode.ko      voicebus/               wct1xxp.ko              wctdm24xxp/             wcte43x.ko
dahdi_dynamic_ethmf.ko  dahdi_echocan_mg2.ko    oct612x/                wcaxx.ko                wct4xxp/                wcte11xp.ko             xpp/

dahdi modules coming installed is of kernel version 3.12 , but uname -a  give kernel version 3.8

Tried rebuilding kernel with bitbake and even uImage is also created with kernel 3.12 but when booting same old kernel is being showed.

please help to resolve asap.

0 Kudos
4 Replies

712 Views
Pavel
NXP Employee
NXP Employee

It looks like that you load different version of the kernel.

Test your board if kernel, .dtb and RAM disk are loaded using TFTP.

Send please message dump for your loading.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

712 Views
mohitduggal
Contributor II

I got the correct linux version for SDK 1.7 i.e. 3.12......

But dahdi modules are not loading and following error is coming.

Loading DAHDI hardware modules:
dahdi: Unknown symbol crc_ccitt_table (err 0)
modprobe: ERROR: could not insert 'dahdi': Unknown symbol in module, or unknown parameter (see dmesg)
   wct4xdahdi: Unknown symbol crc_ccitt_table (err 0)
xp: error   wcte43x: dahdi: Unknown symbol crc_ccitt_table (err 0)
error   wcte12xp: dahdi: Unknown symbol crc_ccitt_table (err 0)
error   wcte13xp: dahdi: Unknown symbol crc_ccitt_table (err 0)
error   wct1xxp: dahdi: Unknown symbol crc_ccitt_table (err 0)
error   wcte11xp: dahdi: Unknown symbol crc_ccitt_table (err 0)
error   wctdm24xxp: dahdi: Unknown symbol crc_ccitt_table (err 0)
error   wcaxx: dahdi: Unknown symbol crc_ccitt_table (err 0)
error   wcfxo: dahdi: Unknown symbol crc_ccitt_table (err 0)
error   wctdm: dahdi: Unknown symbol crc_ccitt_table (err 0)
error   wcb4xxp: dahdi: Unknown symbol crc_ccitt_table (err 0)
error   wctc4xxp: dahdi: Unknown symbol crc_ccitt_table (err 0)
error   xpp_usb: dahdi: Unknown symbol crc_ccitt_table (err 0)
error
Error: missing /dev/dahdi!

Some how finally there is missing kernel-module-crc-ccitt module. Could someone help in loading this module in the kernel of SDk 1.7.

Thanks in advance.........................

0 Kudos

712 Views
Pavel
NXP Employee
NXP Employee

I have tested SDK 1.7. This SDK kernel version is 3.12.19.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

712 Views
mohitduggal
Contributor II

Yes correct , but when i prepare image using this SDK , it always shows linux kernel version 3.8 .

Please help to upgrade it to 3.12.

Thanks in advance

0 Kudos