Hello,

If you want, back-up your eMMC and then erase the contents w/:

I'd erase the eMMC:

sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=100

Then utilize any image on the microSD..

I found this online at:

https://beagleboard.org/discuss?place=msg%2Fbeagleboard%2FVVhdRE72JFE%2FhlfkrZqQDAAJ.
 

I think this was an onset of ideas. There may be an easier way, I know 
there is actually an easier way, but I cannot remember and my notes right 
now are lost in space for now. Let me keep looking for erasing the eMMC 
ideas and just booting w/ an updated bootloader on the eMMC if the eMMC is 
not erased.

...

Try ./rc_blink.c instead of trying to compile it. If you do not have 
permissions to just run .c source, then use sudo first like this: sudo 
./rc_blink.c

Look here:

https://github.com/StrawsonDesign/librobotcontrol

and...here:

http://strawsondesign.com/docs/librobotcontrol/

Seth

P.S. Did you get the prompt for setting up librobotcontrol for when 
booting? They used to have a prompt on Debian for librobotcontrol that 
would make it easy to set up for working on boot.

On Monday, July 8, 2019 at 9:48:39 PM UTC-5, Steven Coddington wrote:
>
> I started from scratch and still have the same errors.  also the red and 
> green led's are alternately blinking (did not see that before)  also, board 
> is quite warm.  Here are the steps I followed.  What errors have I made?
>
> 1. formatted micro sd card to assure clean
> 2. downloaded compressed image file Debian 9.5 2018-10-07 4GB eMMC IoT 
> Flasher 
> 3. un zipped using 7-zip.
> 4. used etcher to copy unzip file to micro card
> 5. booted board by powering with usb cable
> 6. connected using puTTY
> 7. followed instructions at 
> https://github.com/beagleboard/beaglebone-blue/wiki/Flashing-firmware
> a In the terminal window enter the following commands:
> mkdir sd_tmp
> sudo mount /dev/mmcblk0p1 sd_tmp
> sudo su
> echo "cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh" >> 
> sd_tmp/boot/uEnv.txt
> exit
> sudo umount sd_tmp
> b. Now power off your board
> c.Hold the update button labeled SD (the one by itself) to boot off the 
> sdcard.
> d. Restart (RST button) or power up (while still pushing SD button).
> e. Flashing can take some minutes.
> 8. blue leds in "pong" pattern.  waited till all 4 are solid blue. 
> 9. waited a bit more till all lights off.
> 10. removed sd card. 
> 11. powered back up by pushing "pow" button
> 12. followed instructions in YouTube video from Arrow.  
> a. set up and tested wifi
> b. sudo apt-get update
> c reboot using "sudo shutdown -r now"
> c. made new directory "sandbox"
> d. cd into "debian@beaglebone/sandbox"
> e. in git found librobotcontrol.  cloned. got address. did git clone 
> "address"
> 13. all files appear to be there.  
> 14. did sudo dpkg-reconfigure librobotcontrol and sudo apt update && sudo 
> apt upgrade librobotcontrol
> 14. tried cc rc_blink.c.  got same errors about undefined references.
>
> Help is greatly appreciated.
>
> On Sunday, July 7, 2019 at 12:44:21 PM UTC-6, Steven Coddington wrote:
>>
>> just installed (again) latest image.  got Strawson librobotics in a 
>> directory.  tried to run rc_blink.c and got following message:
>>
>> Compiling /var/lib/cloud9/sandbox/librobotcontrol/examples/src/rc_blink.c 
>> ...
>> cc     rc_blink.c   -o rc_blink
>> /tmp/ccRBAW5I.o: In function `__on_pause_release':
>> rc_blink.c:(.text+0x8): undefined reference to `rc_get_state'
>> rc_blink.c:(.text+0x14): undefined reference to `rc_set_state'
>> rc_blink.c:(.text+0x24): undefined reference to `rc_get_state'
>> rc_blink.c:(.text+0x30): undefined reference to `rc_set_state'
>> /tmp/ccRBAW5I.o: In function `__on_pause_press':
>>
>> there were lots more undefined reference but, you get the idea.  I swear 
>> this worked last week.  Do I have to configure something to make these 
>> references available?
>>
>>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/a1cd135f-0391-4409-9551-f3a0f3c28ec2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to