develop branch doesn't work

25 views
Skip to first unread message

Sebastian Meisner

unread,
Nov 8, 2016, 4:31:08 AM11/8/16
to rec...@googlegroups.com
Hi folks!

I have a strange problem: the hardware build from the main branch works, the
hardware from the develop branch does not. The difference seems to be, that in
the main branch it is the VHDL implementation of the sort_demo, while in the
develop branch it is the HLS implementation.

I use the software/Linux Kernel from the main branch tutorial and download the
resulting develop branch .bit file via JTAG to the ZedBoard.

./reconos_init.sh works: when the bitstream is not loaded it stalls, as soon
as downloading the bitstream finished, reconos_init.sh finishes. This tells me
that at least proc_control module works?

When starting the sort_demo however, it get's stuck:

/opt/reconos # ./sort_demo 1 0 16
Creating 1 hw-threads: 0[reconos_osif_open] num 0
Creating 0 sw-threads:
[reconos_osif_read] fd 4
malloc page aligned of 32 bytes...
generate data ...
Printing of generated data skipped.
Putting 16 blocks into job queue: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Waiting for 16 acknowledgements: 0


I debugged it a bit and it seems that the (HLS) HW-thread is not doing
anything. Any ideas?

When using the hardware from the main branch, everything works.

Kind regards,
Sebastian

Guanwen (Henry) Zhong

unread,
Nov 8, 2016, 5:13:16 AM11/8/16
to ReconOS
Hello Sebastian,

The development branch works for me. I think you need to update the loadable kernel module and use the sort_demo.elf BOTH from the develop branch. Linux image is fine, just use the one created by main branch, since we don't change it.

Thanks,
Guanwen(Henry)

Sebastian Meisner

unread,
Nov 8, 2016, 7:48:22 AM11/8/16
to rec...@googlegroups.com
Hi Guanwen(Henry),

thanks for the help! However, I checked the source code for the kernel module
and the sortdemo application in both branches: they are identical. So this
should not be the problem...

Kind regards,
Sebastian
Reply all
Reply to author
Forward
0 new messages