Closed tcal-x closed 4 years ago
The tensorflow submodule is at 224fd9873557a2e2d8a8fd9f1c6d3e7d2128ccdc
.
Should I check out master instead?
This looks like some of the pulp libraries have not been built. Check that the pulp-builder directory and the pulp-builder/install exists. regardless you make want to rerun the arnold-sdk/patch/patch.bash script and then run pulp-builder/scripts/build-runtime to create the appropriate libraries.
Thanks Greg, I'll look into this after my morning meetings.
Yep, it seems I had trouble with the pulp-builder build --- prettytable:
plpflags gen --input=arnold@config_file=chips/arnold/arnold.json --config=platform=board --config=**/rt/type=pulp-rt --output-dir=/home/tim/quicklogic/arnold-sdk/pulp-builder/build/pulp-rt/arnold --makefile=/home/tim/quicklogic/arnold-sdk/pulp-builder/build/pulp-rt/arnold/config.mk --property=fc/archi --property=pe/archi --property=pulp_chip --property=pulp_chip_family --property=cluster/version --property=host/archi --property=fc_itc/version --property=udma/hyper/version --property=udma/cpi/version --property=udma/i2c/version --property=soc/fll/version --property=udma/i2s/version --property=udma/uart/version --property=event_unit/version --property=perf_counters --property=fll/version --property=soc/spi_master --property=soc/apb_uart --property=padframe/version --property=udma/spim/version --property=gpio/version --property=udma/archi --property=udma/version --property=soc_eu/version --property=compiler --property=rtc/version --property=udma/mram/version --lib=rt --lib=omp --lib=rtio --lib=bench
Traceback (most recent call last):
File "/home/tim/quicklogic/arnold-sdk/pulp-builder/install/ws/bin/plpflags", line 8, in <module>
import plptree
File "/home/tim/quicklogic/arnold-sdk/pulp-builder/install/ws/python/plptree.py", line 25, in <module>
import Regmap as regmap
File "/home/tim/quicklogic/arnold-sdk/pulp-builder/install/ws/python/Regmap.py", line 21, in <module>
from prettytable import PrettyTable
ModuleNotFoundError: No module named 'prettytable'
My install.log had this:
---------------install prettytable
Requirement already satisfied: prettytable in /home/tim/.local/lib/python3.8/site-packages (1.0.1)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from prettytable) (45.2.0)
Requirement already satisfied: wcwidth in /usr/lib/python3/dist-packages (from prettytable) (0.1.8)
I'm guessing it's some issue with Python virtual environments, or Python 2 vs 3. I'm somewhat new to this area.
I redid a few things, reinstalled python2 and pip, and now it seems to work. At least, make
gets me to a message ft2232: ftdi_stream_inout has failed
, which probably means it's trying to talk to the board, which I haven't yet hooked up. So in other words, it appears to be compiling correctly.
ftdi_stream errors is indicative of not having the olimex JTAG connected or not mapped to the VM if you your using one. Also issues with the udev stuff can cause this which results in the driver not connected correctly