Sorry, you need to enable JavaScript to visit this website.

Problem apllication under linux

3 posts / 0 new
Problem apllication under linux


i am trying to create a sample code under linux (in the SD card) and when i creat my apllication in SSDK IE i have this :

Building file: ../src/helloworld.c
Invoking: ARM Linux gcc compiler
arm-xilinx-linux-gnueabi-gcc -Wall -O0 -g3 -c -fmessage-length=0 -MMD -MP -MF"src/helloworld.d" -MT"src/helloworld.d" -o "src/helloworld.o" "../src/helloworld.c"
C:\QNX630\host\win32\x86\usr\bin\sh.exe: *** heap allocated but not at 0x590000
0 [main] sh 7928 sync_with_child: child 8996(0x17C) died before initialization with status code 0x1
3704 [main] sh 7928 sync_with_child: *** child state waiting for longjmp
/cygdrive/c/QNX630/host/win32/x86/usr/bin/sh: arm-xilinx-linux-gnueabi-gcc: Bad address
make: *** [src/helloworld.o] Erreur 1

Can any one help me ?


Look at the Zynq Concepts, Tools and Techniques

If you would like to develop your Linux application using the SDK there is an example in the Zynq Concepts, Tools and Techniques tutorial as referenced here:
You can find the Zynq Concepts, Tools and Techniques tutorial to match the version of the Xilinx tools you are using here:

Running zImage on dual core Zynq


Thanks for your answer. This example shows how pre-built a linux image using u-boot which means booting Linux on one CPU. Whant i am trying to do is running zImage Linux on the Zynq dual core. The examples provided descrive only u-boot.
I didn't find examples that show how to generate a new OS image ?
Or how to configure the current image for dual core -SMP.