Hi,
As part of the yocto build I need to specify parameters about the epiphany chip as follows:
TARGET_OS TARGET_ARCH MACHINE, OSABI, ABIVERSION, Little Endian, 32bit?
"e-os" : { "epiphany": ( 4643, 0, 0, True, 32),
I got the machine number from epiphany-binutils but was not sure what to enter for the target os.. any thoughts about this would be welcome.
The code is at https://github.com/peteasa/poky.git in file poky/meta/classes/insane.bbclass and if you want to try out the yocto build clone https://github.com/peteasa/parallella-yoctobuild.git and then in the parallella-yoctobuild folder type source initgitsubmodules.sh and follow the instructions using bitbake hdmi-image to create a yocto distribution (ie point a web server at the appropriate folder and you can use apt-get or smart to update packages).
The epiphany-elf-gcc compiler now works - I proved it by building the epiphany libraries and running the hello world example application on the epiphany chip.
The next step is to create the yocto SDK that will allow epiphany development on the build machine using the yocto eclipse ide.
If you want a fully functional yocto environment with the sdk loaded from zip files you can always use bitbake core-image-epiphany that uses the layer from https://github.com/nathanrossi/meta-parallella.git and it should work.