MCIMX53SMD LTIB set up issue

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

MCIMX53SMD LTIB set up issue

Jump to solution
2,092 Views
winstonrodrigue
Contributor IV

Dear pals,

          I have been working on building QT-embedded with LTIB for iMX53 SABRE tablet. And I m running into the following error which

is hard to undesrstand.

-------------------------------------------------------------------------------------------------------------------------------------

/../libs/gstbufmeta -I../../../../libs/vss -I../../../../libs/hbuf_alloc -g -O2 -I/home/wintu/ltib/rootfs/usr/include/mm_ghdr -DARM -D_GNUC_ -MT libmfw_gst_vpu_enc_la-mfw_gst_vpu_encoder.lo -MD -MP -MF .deps/libmfw_gst_vpu_enc_la-mfw_gst_vpu_encoder.Tpo -c mfw_gst_vpu_encoder.c  -fPIC -DPIC -o .libs/libmfw_gst_vpu_enc_la-mfw_gst_vpu_encoder.o

mfw_gst_vpu_encoder.c:70:1: warning: "GST_ERROR" redefined

In file included from /home/wintu/ltib/rootfs/usr/include/gstreamer-0.10/gst/gst.h:47,

                 from mfw_gst_vpu_encoder.c:45:

/home/wintu/ltib/rootfs/usr/include/gstreamer-0.10/gst/gstinfo.h:794:1: warning: this is the location of the previous definition

mfw_gst_vpu_encoder.c: In function 'mfw_gst_vpuenc_vpuinitialize':

mfw_gst_vpu_encoder.c:1057: error: too few arguments to function 'vpu_EncRegisterFrameBuffer'

mfw_gst_vpu_encoder.c: In function 'mfw_gst_vpuenc_copy_sink_start_frame':

mfw_gst_vpu_encoder.c:1197: warning: pointer/integer type mismatch in conditional expression

mfw_gst_vpu_encoder.c:1197: warning: assignment makes integer from pointer without a cast

mfw_gst_vpu_encoder.c: In function 'mfw_gst_vpuenc_class_init':

mfw_gst_vpu_encoder.c:2272: warning: assignment from incompatible pointer type

mfw_gst_vpu_encoder.c:2273: warning: assignment from incompatible pointer type

mfw_gst_vpu_encoder.c: In function 'mfw_gst_vpuenc_buffer_alloc':

mfw_gst_vpu_encoder.c:2407: warning: initialization from incompatible pointer type

mfw_gst_vpu_encoder.c:2414: warning: assignment makes pointer from integer without a cast

mfw_gst_vpu_encoder.c:2421: warning: assignment from incompatible pointer type

mfw_gst_vpu_encoder.c:2423: warning: assignment from incompatible pointer type

mfw_gst_vpu_encoder.c:2424: warning: assignment from incompatible pointer type

make[1]: *** [libmfw_gst_vpu_enc_la-mfw_gst_vpu_encoder.lo] Error 1

make[1]: Leaving directory `/home/wintu/ltib/rpm/BUILD/gst-fsl-plugin-2.0.1/src/video/vpu_enc/src'

make: *** [all-recursive] Error 1

error: Bad exit status from /home/wintu/ltib/tmp/rpm-tmp.20278 (%build)

RPM build errors:

    Bad exit status from /home/wintu/ltib/tmp/rpm-tmp.20278 (%build)

Build time for gst-fsl-plugin: 13 seconds

Failed building gst-fsl-plugin

f_buildrpms() returned an error, exiting

traceback:

main:560

Started: Tue Jan  8 05:48:05 2013

Ended:   Tue Jan  8 05:48:19 2013

Elapsed: 14 seconds

These packages failed to build:

gst-fsl-plugin

Build Failed

Exiting on error or interrupt

--------------------------------------------------------


  Could someone help me please.. 

Thanks in advance...


   Winston.

1 Solution
1,424 Views
jimmychan
NXP TechSupport
NXP TechSupport

which BSP ar you using?  For i.MX53 , you can download the BSP from here:

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX53_SW

Basically, there are two BSP version. One is 11.09 and one is 11.05. So please use the same version for both BSP and Codec package. e.g. if you use 11.05 BSP source code, please use the same 11.05 Codec source code.

View solution in original post

11 Replies
1,424 Views
Yuri
NXP Employee
NXP Employee

Please use the recent codec package. It also contains  new gst plugins and instructions how
to install them.

https://www.freescale.com/webapp/Download?colCode=IMX53_11_09_LINUX_MMCODECS&appType=license&locatio...

0 Kudos
1,424 Views
winstonrodrigue
Contributor IV

Dear Yuri Muhin,

    Thanks for the reply. As u sad I installed latest plugins. but the same error is coming.

drivers/mxc/ssi/ssi.c: In function 'get_ssi_fifo_addr':

drivers/mxc/ssi/ssi.c:111: error: dereferencing pointer to incomplete type

drivers/mxc/ssi/ssi.c: In function 'get_ssi_base_addr':

drivers/mxc/ssi/ssi.c:128: error: dereferencing pointer to incomplete type

  I think its regarding SSI driver. while compiling the kernel. And I m using the BSP relese 11.05.

  Thanks n regards,

   Winston


0 Kudos
1,424 Views
sebastianstriss
Contributor I

Hi Winston,

I had the same problem with my i.mx6. Fixed it by including following line into mxc/ssi/ssi.c
#include <linux/fsl_devices.h>

1,424 Views
winstonrodrigue
Contributor IV

Thank you Sebastian Strissel,   Now its compiling perfectly.. I have not yet tested the audio... Once i play a .wav song I will let you know... 

0 Kudos
1,424 Views
Yuri
NXP Employee
NXP Employee

> And I m using the BSP relese 11.05.

Why don't use 11.09 with the recent patches ( exactly for 11.09) ?

0 Kudos
1,424 Views
winstonrodrigue
Contributor IV

Dear Yuri Muhin,

    I tried using 11.09 BSP too. But exact same error that of SSI.  And in patches folder there are no patches regarding  SSI driver. Is there any other way we can get audio in imx53. ?

0 Kudos
1,424 Views
icantreed
Contributor I

Dear Winston Rodrigues,

I´m having the same error here. Could you fix it?

0 Kudos
1,424 Views
winstonrodrigue
Contributor IV

Dear icantreed,

     No luck till now.. If u have found the problem, please post it.

0 Kudos
1,424 Views
winstonrodrigue
Contributor IV

Dear jimmychan ,

       You are right... :smileyhappy: I was using BSP 11.09... So i downloaded 11.05 and compiled it.

It went well. But theres another problem here while compiling SSI ( sound ) driver ( in MXC Support Drivers-> MXC SSI Support-> SSI Support) ..

I need audio badly.. Or can u suggest any other driver ?? I'm working on SABRE tablet..

Here is last few lines of output...

make[1]: `include/generated/mach-types.h' is up to date.

  CALL    scripts/checksyscalls.sh

  CHK     include/generated/compile.h

  GZIP    kernel/config_data.gz

  IKCFG   kernel/config_data.h

  CC      kernel/configs.o

  LD      kernel/built-in.o

  CC      drivers/mxc/ssi/ssi.o

  CC      drivers/mxc/vpu/mxc_vpu.o

  CC      drivers/mxc/vpu/mxc_vl2cc.o

drivers/mxc/ssi/ssi.c: In function 'get_ssi_fifo_addr':

drivers/mxc/ssi/ssi.c:111: error: dereferencing pointer to incomplete type

drivers/mxc/ssi/ssi.c: In function 'get_ssi_base_addr':

drivers/mxc/ssi/ssi.c:128: error: dereferencing pointer to incomplete type

drivers/mxc/ssi/ssi.c: In function 'ssi_rx_fifo_counter':

drivers/mxc/ssi/ssi.c:568: warning: overflow in implicit constant conversion

drivers/mxc/ssi/ssi.c:572: warning: overflow in implicit constant conversion

drivers/mxc/ssi/ssi.c: In function 'ssi_tx_fifo_counter':

drivers/mxc/ssi/ssi.c:939: warning: overflow in implicit constant conversion

drivers/mxc/ssi/ssi.c:943: warning: overflow in implicit constant conversion

make[3]: *** [drivers/mxc/ssi/ssi.o] Error 1

make[2]: *** [drivers/mxc/ssi] Error 2

make[2]: *** Waiting for unfinished jobs....

  CC      drivers/video/logo/logo_linux_mono.o

  CC      drivers/video/logo/logo.o

  LD      drivers/video/logo/built-in.o

  LD      drivers/video/built-in.o

  LD      drivers/mxc/vpu/vpu.o

  LD      drivers/mxc/vpu/built-in.o

make[1]: *** [drivers/mxc] Error 2

make: *** [drivers] Error 2

error: Bad exit status from /home/wintu/ltib/tmp/rpm-tmp.30321 (%build)

RPM build errors:

    Bad exit status from /home/wintu/ltib/tmp/rpm-tmp.30321 (%build)

Build time for kernel-2.6.35: 4316 seconds

Failed building kernel-2.6.35

f_buildrpms() returned an error, exiting

traceback:

main:560

Started: Tue Jan 15 05:07:36 2013

Ended:   Tue Jan 15 06:19:33 2013

Elapsed: 4317 seconds

These packages failed to build:

kernel-2.6.35

Build Failed

Exiting on error or interrupt


   I get error regarding dereferenced pointer. Could you please check it out. ..

0 Kudos
1,425 Views
jimmychan
NXP TechSupport
NXP TechSupport

which BSP ar you using?  For i.MX53 , you can download the BSP from here:

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX53_SW

Basically, there are two BSP version. One is 11.09 and one is 11.05. So please use the same version for both BSP and Codec package. e.g. if you use 11.05 BSP source code, please use the same 11.05 Codec source code.

1,424 Views
winstonrodrigue
Contributor IV

Dear jimmychan ,

       You are right... :smileyhappy: I was using BSP 11.09... So i downloaded 11.05 and compiled it.

It went well. But theres another problem here while compiling SSI ( sound ) driver ( in MXC Support Drivers-> MXC SSI Support-> SSI Support) ..

I get error regarding dereferenced pointer. Could you please check it out. ..

I need audio badly.. Or can u suggest any other driver ?? I'm working on SABRE tablet..

Here is last few lines of output...

make[1]: `include/generated/mach-types.h' is up to date.

  CALL    scripts/checksyscalls.sh

  CHK     include/generated/compile.h

  GZIP    kernel/config_data.gz

  IKCFG   kernel/config_data.h

  CC      kernel/configs.o

  LD      kernel/built-in.o

  CC      drivers/mxc/ssi/ssi.o

  CC      drivers/mxc/vpu/mxc_vpu.o

  CC      drivers/mxc/vpu/mxc_vl2cc.o

drivers/mxc/ssi/ssi.c: In function 'get_ssi_fifo_addr':

drivers/mxc/ssi/ssi.c:111: error: dereferencing pointer to incomplete type

drivers/mxc/ssi/ssi.c: In function 'get_ssi_base_addr':

drivers/mxc/ssi/ssi.c:128: error: dereferencing pointer to incomplete type

drivers/mxc/ssi/ssi.c: In function 'ssi_rx_fifo_counter':

drivers/mxc/ssi/ssi.c:568: warning: overflow in implicit constant conversion

drivers/mxc/ssi/ssi.c:572: warning: overflow in implicit constant conversion

drivers/mxc/ssi/ssi.c: In function 'ssi_tx_fifo_counter':

drivers/mxc/ssi/ssi.c:939: warning: overflow in implicit constant conversion

drivers/mxc/ssi/ssi.c:943: warning: overflow in implicit constant conversion

make[3]: *** [drivers/mxc/ssi/ssi.o] Error 1

make[2]: *** [drivers/mxc/ssi] Error 2

make[2]: *** Waiting for unfinished jobs....

  CC      drivers/video/logo/logo_linux_mono.o

  CC      drivers/video/logo/logo.o

  LD      drivers/video/logo/built-in.o

  LD      drivers/video/built-in.o

  LD      drivers/mxc/vpu/vpu.o

  LD      drivers/mxc/vpu/built-in.o

make[1]: *** [drivers/mxc] Error 2

make: *** [drivers] Error 2

error: Bad exit status from /home/wintu/ltib/tmp/rpm-tmp.30321 (%build)

RPM build errors:

    Bad exit status from /home/wintu/ltib/tmp/rpm-tmp.30321 (%build)

Build time for kernel-2.6.35: 4316 seconds

Failed building kernel-2.6.35

f_buildrpms() returned an error, exiting

traceback:

main:560

Started: Tue Jan 15 05:07:36 2013

Ended:   Tue Jan 15 06:19:33 2013

Elapsed: 4317 seconds

These packages failed to build:

kernel-2.6.35

Build Failed

Exiting on error or interrupt


 


0 Kudos