Linux running on the ZYNQ
#1
hello,

I am trying to run Helloworld on zedboard.

Configuration: Ubuntu 18.04.LTS, Vivado 15.01, ri5cy_gnu_toolchain compiled for RISCY core. Uart cable connected, transferred spiload, spi_stim.txt to root partiton.


When I try to boot from sd card with Putty, it goes to
Code:
Welcome to Buildroot
buildroot login:
 It does not goes to he expected "zynq>"

If I login with root and try to run Helloworld application
I get the following error
Code:
./spiload -t20 spi_stim.txt
Device has been reset
Sending block addr 00000000 with 256 entries
**Device not found**
: No such file or directory
*** **Error in `./spiload': free(): invalid pointer: 0x0000a2c0** ***
======= Backtrace: =========
/lib/libc.so.6(+0x6818c)[0x36e1f18c]
/lib/libc.so.6(+0x6de38)[0x36e24e38]
/lib/libc.so.6(+0x6e7c4)[0x36e257c4]
./spiload[0x956c]
./spiload[0x9acc]
./spiload[0x96dc]
/lib/libc.so.6(__libc_start_main+0x114)[0x36dcd4bc]
======= Memory map: ========
00008000-0000b000 r-xp 00000000 b3:02 18         /spiload
00012000-00013000 rw-p 00002000 b3:02 18         /spiload
00013000-00034000 rw-p 00000000 00:00 0          [heap]
36db7000-36ee0000 r-xp 00000000 b3:02 781847     /lib/libc-2.20.so
36ee0000-36ee7000 ---p 00129000 b3:02 781847     /lib/libc-2.20.so
36ee7000-36ee9000 r--p 00128000 b3:02 781847     /lib/libc-2.20.so
36ee9000-36eea000 rw-p 0012a000 b3:02 781847     /lib/libc-2.20.so
36eea000-36eed000 rw-p 00000000 00:00 0
36eed000-36f02000 r-xp 00000000 b3:02 781843     /lib/libpthread-2.20.so
36f02000-36f09000 ---p 00015000 b3:02 781843     /lib/libpthread-2.20.so
36f09000-36f0a000 r--p 00014000 b3:02 781843     /lib/libpthread-2.20.so
36f0a000-36f0b000 rw-p 00015000 b3:02 781843     /lib/libpthread-2.20.so
36f0b000-36f0d000 rw-p 00000000 00:00 0
36f0d000-36f2a000 r-xp 00000000 b3:02 781846     /lib/libgcc_s.so.1
36f2a000-36f31000 ---p 0001d000 b3:02 781846     /lib/libgcc_s.so.1
36f31000-36f32000 rw-p 0001c000 b3:02 781846     /lib/libgcc_s.so.1
36f32000-36f52000 r-xp 00000000 b3:02 781851     /lib/ld-2.20.so
36f54000-36f58000 rw-p 00000000 00:00 0
36f58000-36f59000 rw-p 00000000 00:00 0
36f59000-36f5a000 r--p 0001f000 b3:02 781851     /lib/ld-2.20.so
36f5a000-36f5b000 rw-p 00020000 b3:02 781851     /lib/ld-2.20.so
3ea71000-3eab3000 rw-p 00000000 00:00 0          [stack]
3eed4000-3eed5000 r-xp 00000000 00:00 0          [sigpage]
ffff0000-ffff1000 r-xp 00000000 00:00 0          [vectors]
Aborted


built process attached
Reply


Messages In This Thread
Linux running on the ZYNQ - by soyedtuhin - 11-09-2018, 01:00 PM
RE: Linux running on the ZYNQ - by soyedtuhin - 11-13-2018, 02:48 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)