[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - Build confusion. e-loader lib confusion

Build confusion. e-loader lib confusion

Discussion about Parallella (and Epiphany) Software Development

Moderators: amylaar, jeremybennett, simoncook

Build confusion. e-loader lib confusion

Postby AndyC » Sun Aug 10, 2014 3:00 pm

Hi Guys,

I have built the latest 5.13.09.10 sdk on a linux box for cross compiling.

The installed version on the parallella is also 5.13.09.10.

Now the linux box sdk used the e-loader.lib for building, while the contents of this lib seem to be in e-hal on the parallella board.

So when I cross compile and run on the parallella the e-loader.so is missing.

why are the two different? Do I have to build the sdk on the parallella board as well to get it the same?

thanks for any help

Andy
AndyC
 
Posts: 184
Joined: Fri Jun 27, 2014 5:46 pm

Re: Build confusion. e-loader lib confusion

Postby AndyC » Sun Aug 10, 2014 4:19 pm

Ok rebuilt esdk on the Paralella and switched esdks to new one with the symbolic link in /opt/adapteva.

Now I'm getting:

linaro-nano:/opt/adapteva> e-reset
e-reset.e: ee_write_esys(): /dev/epiphany file open failure.
e-reset.e: e_open(): /dev/epiphany file open failure.
e-reset.e: e_reset_system(): e_open() failure.


I'm really beginning to loose the will to live with this board!

Is the only support route through this forum?
AndyC
 
Posts: 184
Joined: Fri Jun 27, 2014 5:46 pm

Re: Build confusion. e-loader lib confusion

Postby bcxcube » Mon Aug 11, 2014 3:29 pm

Andy,

If you are building the SDK from git you will need to use a Linux kernel which contains the Epiphany device driver. You can build a kernel which includes the Epiphany driver from the bcxcube_epiphany_driver branch of the parallella-linux-adi repository (https://github.com/parallella/parallella-linux-adi.git). Also, you'll need to either manually change the permissions on the /dev/epiphany device node or create a file named /etc/udev/rules.d/90-epiphany-device.rules which contains the following:

[bcxcube@parallella-bsc ~]$ cat /etc/udev/rules.d/90-epiphany-device.rules
################################################
##/etc/udev/rules.d/90-epiphany-device.rules

# Set appropriate permissions on the epiphany device node
KERNEL=="epiphany", MODE="0666"

Using a udev rule to set the device node permissions is recommended so that the permissions will be set automatically when the parallella boots.

Regards,
Ben
User avatar
bcxcube
 
Posts: 7
Joined: Tue Jul 29, 2014 4:00 pm
Location: Nashua, NH

Re: Build confusion. e-loader lib confusion

Postby AndyC » Mon Aug 11, 2014 3:45 pm

Hi Ben,

Thanks for the info.

I had just about given up all hope, I will build the kernel and give that a try.

Many thanks

Andy
AndyC
 
Posts: 184
Joined: Fri Jun 27, 2014 5:46 pm

Re: Build confusion. e-loader lib confusion

Postby AndyC » Tue Aug 12, 2014 1:55 pm

Hi Ben,

I just want to say thanks.

I built the bcxcube_epiphany_driver branch and installed it.

Now I can cross compile correctly from my linux box, very happy camper now :)

Cheers

Andy
AndyC
 
Posts: 184
Joined: Fri Jun 27, 2014 5:46 pm

Re: Build confusion. e-loader lib confusion

Postby 9600 » Tue Aug 12, 2014 3:06 pm

Andrew Back
User avatar
9600
 
Posts: 997
Joined: Mon Dec 17, 2012 3:25 am


Return to Programming Q & A

Who is online

Users browsing this forum: No registered users and 32 guests

cron