(Logi bone with Ubuntu Logi bone image. Running blink led demo)
Where is the fpga config file stored after loading it to the fpga?
I noticed the following and don't understand why:
1. Load the blink led demo (sudo ./make_demo.sh)
2. LED0 and LED1 appear to be blinking as expected
3. Power off BeagleBone Black (BBB)
4. Power on BBB
5. LED0 and LED1 no longer blink (I need to re-do the sudo ./make_demo.sh again to make the LEDs blink)
For the above step #3, if, instead of powering off BBB, I reboot BBB, then the LEDs keep blinking.
So, if the config (bit) file is stored in (fpga ?) RAM, why rebooting BBB doesn't lose the config? Anyway to store the bit file in flash memory so that there is no need to reload it after powering off?
I may be missing something very basic or doing something wrong.
Thanks.
Comments
3. Power off BeagleBone Black (BBB)
For the "power off" part ---
Hardware setup:
Logi bone is connected on top of BBB like a BBB "shield". Power is supplied via the 5V barrel connector of BBB.
By "powering off BBB", I meant:
1. sudo poweroff from BBB's command prompt,
or
2. sudo shutdown -h now from BBB's command prompt,
then, remove the power cable from the BBB's 5v barrel connector or leave the power cable connected. Either way, the result is the same.
Thanks again.
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
sudo logi_loader /home/ubuntu/logi-apps/blink_led_app/logibone_r1_blink.bit
exit 0