Hi, I have just got my RPI2, and starting with a fresh install. I have downloaded the latest Raspbian image, and have cloaned the GIT to get the updated tools. But the build fails.
I get a message saying
gcc: fatal error: no input files
And further down recipe for target 'serial_fpga_loader.o' failed
If I ls the folder I can't see serial_fpga_loader.o
Is this missing from the GIT?
Mark
Comments
i just corrected a bug in teh loader coe that was updated for PI2, can you do a gill pull on logi-tools ? For the PI2, there are multiple things to do before eveyrthing works :
1) to a clean in stall of latest logi-tools
2) go in the logi-tools/logipi_loader directory
3) do a "make clean" followed by a "make PI_VER=PI2" and finally "sudo make install"
4) got to the /boot directory of your PI, and edit the config.txt file
5) add the line "device_tree=" to disable device_tree and reboot
At this point everything should be working fine.
Regards,
Jonathan Piat
LOGI_LOADER VERSION : 0.1.0
Compiled for LOGI-PI
could not open I2C device : /dev/i2c-1!
Cannot detect LOGI-PI with I2C_LOADER, switching to old bit-bang loader
Board variant is LOGIPI_R1.0
can't open /dev/mem
Blink LED App *************************************************************************
I'm using the latest image from the wiki logi_2015-02-16-raspbian-wheezy. I did a git pull to make sure I had the latest code for logi-tools.
thanks
To enable SPI on latest raspbian distro, edit /boot/config.txt (as sudo) and add :
dtparam=spi=on
To enable I2C on latest raspbian distro, edit /boot/config.txt (as sudo )and add :
dtparam=i2c_arm=on
to the file.
also edit /etc/modules (as sudo) and add the line :
i2c-dev