ePython error on first run for multicore code

Discussion about Parallella (and Epiphany) Software Development

Moderators: amylaar, jeremybennett, simoncook

Re: ePython error on first run for multicore code

Postby GlasierXplor » Fri Aug 04, 2017 2:24 pm

Hi sorry for such a late reply. Been busy with school work.

I have the correct image loaded - I am running the Kickstarter board.

The output I got when running `sudo modprobe epiphany` is as follows:
Code: Select all
elink 81000000.elink0: Could not get power supplies


And the output I got when running `dmesg` is as follows:
Code: Select all
[  164.187676] elink 81000000.elink0: elink: vdd regulator not ready, retry
[  164.187694] elink 81000000.elink0: Could not get power supplies
[  164.192247] elink 81000000.elink0: Deferring probe.
GlasierXplor
 
Posts: 9
Joined: Thu Mar 09, 2017 8:46 am

Re: ePython error on first run for multicore code

Postby olajep » Sat Aug 05, 2017 10:21 am

Seems i2C isn't working (could be b/c wrong bitstream) or the ISL9305 regulator is b0rken.

1. Please PM me the S/N number of your board. (Small white sticker in one of the corners)

2. Post the output of these commands:

Code: Select all
sudo mount /dev/mmcblk0p1 /mnt/
ls -l /mnt/parallella.bit.bin
md5sum /mnt/parallella.bit.bin


Code: Select all
ls /dev/i2c*
sudo apt-get install i2c-tools
sudo i2cdetect -y -r 0


// Ola
_start = 266470723;
olajep
 
Posts: 117
Joined: Mon Dec 17, 2012 3:24 am
Location: Sweden

Re: ePython error on first run for multicore code

Postby GlasierXplor » Tue Aug 08, 2017 3:29 pm

Hi, the output are as follows:

Code: Select all
$ ls -l /mnt/parallella.bit.bin
-rwxr-xr-x 1 root root 4045568 Dec 15  2016 /mnt/parallella.bit.bin


Code: Select all
$ md5sum /mnt/parallella.bit.bin
dd5b98916885f02a49dad5f136a35bc6  /mnt/parallella.bit.bin


Code: Select all
$ ls /dev/i2c*
/dev/i2c-0


Code: Select all
$ sudo apt-get install i2c-tools
i2c-tools is already the newest version.


Code: Select all
$ sudo i2cdetect -y -r 0
#repeat printing of
cdns-i2c e0004000.i2c: timeout waiting on completion
GlasierXplor
 
Posts: 9
Joined: Thu Mar 09, 2017 8:46 am

Re: ePython error on first run for multicore code

Postby olajep » Wed Aug 09, 2017 1:30 pm

So the culprit is i2c, which needs the correct fpga bitstream loaded to work.
I believe you have a A101020 board, which comes with the Xilinx z7010 SoC.
The A101020 is not the kickstarter variant. The kickstarter model name is "A101040".

You can use this to verify which Zynq is on your board:
Code: Select all
$ cd /tmp
$ wget https://github.com/parallella/parallella-flash/raw/master/linux/getfpga
$ chmod +x getfpga
$ sudo ./getfpga


Download one of the P1600/P1601 compatible images here:
https://www.parallella.org/create-sdcard/

The image names end with z70x0 to identify which Zynq chip they're compatible with.

Please reply here if this solves the issue so we can mark this thread as solved

Thanks,
Ola
_start = 266470723;
olajep
 
Posts: 117
Joined: Mon Dec 17, 2012 3:24 am
Location: Sweden

Previous

Return to Programming Q & A

Who is online

Users browsing this forum: Bing [Bot] and 3 guests