Welcome, Guest |
You have to register before you can post on our site.
|
|
|
hero-sdk build process |
Posted by: dave.mcewan - 12-12-2018, 07:22 PM - Forum: PULP General questions
- Replies (5)
|
 |
Hello,
I'm building the hero-sdk as per the github instructions but it's failing at the pulp-sdk stage.
Actually I'm trying on 2 systems, Debian 9.2 and Ubuntu 16.04.
Both have the same result and symptoms.
It looks like some files which should be copied from ./pulp-sdk/json-tools to ./pulp-sdk/build/sdk/json-tools are missing. I.E there's no Makefile so make doesn't know what to do.
Anybody on here have an idea what's going wrong?
Code: $ ./hero-z-7045-builder -p
Configuring HERO SDK at: /home/user0/hero-sdk
Your PATH is correctly set. Skipping installation.
Your LD_LIBRARY_PATH is correctly set. Skipping installation.
Warning: Cannot set compiler and linker flags for libgomp plugin and mkoffload. Missing environment variables PULP_SDK_INSTALL and/or HERO_SUPPORT_DIR!
Your PATH is correctly set. Skipping installation.
Your LD_LIBRARY_PATH is correctly set. Skipping installation.
Configuring HERO SDK at: /home/user0/hero-sdk
Your PATH is correctly set. Skipping installation.
Your PATH is correctly set. Skipping installation.
Your LD_LIBRARY_PATH is correctly set. Skipping installation.
Your LD_LIBRARY_PATH is correctly set. Skipping installation.
Warning: Cannot set compiler and linker flags for libgomp plugin and mkoffload. Missing environment variables PULP_SDK_INSTALL and/or HERO_SUPPORT_DIR!
Your PATH is correctly set. Skipping installation.
Your LD_LIBRARY_PATH is correctly set. Skipping installation.
Configuring Pulp project at /home/user0/hero-sdk/pulp-sdk
sdk:json-tools:build: make all install
#### Building in /home/user0/hero-sdk/pulp-sdk/build/sdk/json-tools
#### Release type is RelWithDebInfo
#### Installing to /home/user0/hero-sdk/pulp-sdk/pkg/sdk/dev/install/ws
( cd /home/user0/hero-sdk/pulp-sdk/build/sdk/json-tools ; make all VERBOSE=0 )
make[1]: Entering directory '/home/user0/hero-sdk/pulp-sdk/build/sdk/json-tools'
make[1]: *** No rule to make target 'all'. Stop.
make[1]: Leaving directory '/home/user0/hero-sdk/pulp-sdk/build/sdk/json-tools'
Makefile:46: recipe for target 'all' failed
make: *** [all] Error 2
Reached EOF with exit status 2
FATAL ERROR: the command 'build' has failed
And on STDERR:
Code: No LSB modules are available.
No LSB modules are available.
|
|
|
I2C on Pulpissimo |
Posted by: magseet - 12-03-2018, 09:41 PM - Forum: PULP General questions
- Replies (9)
|
 |
Hi,
I'm trying to use the I2C controller to communicate with my own I2C peripheral. First, I was trying to build the tb by including the I2C EEPROM (I've followed the README instructions). The problem is that, when using the example program for I2C, the RTL simulation gets stuck at the first write operation. Moreover, SDA and SCL signals never toggle during RTL simulation.
Do you have an example program I can use to make I2C work? I guess I need to make some initialization..
|
|
|
PULP Memories Address Maps |
Posted by: Bassma - 11-24-2018, 04:26 PM - Forum: PULP General questions
- Replies (1)
|
 |
Hi,
I'm trying to preload the program in L2 cache but i'm unable to trace which addresses goes into which memory
so far what i got tracing is the hello world example:
/tb_pulp/i_dut/soc_domain_i/pulp_soc_i/l2_ram_i/bank_sram24k_scm8k_pri0_i/cut_0/MEM
addresses in stimuli file from 1C000000 - 1C001030 go in this memory
/tb_pulp/i_dut/soc_domain_i/pulp_soc_i/l2_ram_i/bank_sram_pri1_i/MEM
address in stimuli file from 1C008000 - 1C00AF80 go in this memory
but i have no idea where the rest goes.
Question 1: is the mapping mentioned anywhere in the hdl files?
Question 2: I've not been able to build the documents in ipstools due to python libraries errors is there a pdf or a latex version i can get anywhere else online?
Thanks,
Bassma
|
|
|
Linux running on the ZYNQ |
Posted by: soyedtuhin - 11-09-2018, 01:00 PM - Forum: PULP General questions
- Replies (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
|
|
|
|