IMX 53 QSB: Application not getting launched.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX 53 QSB: Application not getting launched.

723件の閲覧回数
Swamy
Contributor III

Hello All,

I have built the module on IMX 53 QSB. If I run the output(viewer) I need to see the Navigation screen. But as I launch the binary, there is no output.

 

I have built the kernel, rootfs and u-boot having FSL GNOME using LTIB.

 

$ uname -a
Linux lucid-desktop 2.6.35.3-744-g27fdf7b #1 PREEMPT Thu Jan 27 15:10:16 CST 201
1 armv7l GNU/Linux

 

Request you to please help.

 

Regards,

Swamy

 

This is my Makefile...

##############################
# Viewer Makefile
##############################
TARGET?=linux

CROSS=
CC=$(CROSS)gcc
CFLAGS+= -O2 -g
CPPFLAGS = $(CFLAGS)
APP_BINARY=viewer
OBJECTS=viewer.o event.o audio.o video.o
LIBS=-lpthread -lm -lrt -losal -lasound

# Common files
all: libosal.a viewer


# OS specific files
ifeq ($(TARGET), linux)
# Linux (Ubuntu) rules
OBJECTS+=/usr/lib/libX11.so.6
OSAL_LIBPATH=osal/linux/lib

# Applications:

libosal.a:
    make -C $(OSAL_LIBPATH)/..

viewer:        $(OBJECTS) $(OSAL_LIBPATH)/libosal.a
    $(CC) -L$(OSAL_LIBPATH) $(CFLAGS) $(OBJECTS) -o $(APP_BINARY) -Bdynamic -Bstatic $(LIBS)
    chmod 755 $(APP_BINARY)

endif

# Common clean rule
clean:
    @echo "Cleaning up directory."
    rm -f *.a *.o $(APP_BINARY) core *~
    @echo "Cleaning OSAL library."
    make -C $(OSAL_LIBPATH)/.. clean

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 返信

682件の閲覧回数
hake
NXP Employee
NXP Employee

the gnome rootfs does not support x11, you need use the ubuntu rootfs instead. also if you cross build your app, below should changed:

OBJECTS+=/usr/lib/libX11.so.6
OSAL_LIBPATH=osal/linux/lib

0 件の賞賛
返信