Hello, I am a novice when it comes to using the BBB. I have a revC and I 
have just started to play around with it. I have just updated the board to 
the latest image from the beagleboard.org/latest-images web site, which is 
the Debian 8.3 "Jessie" build from 24-Jan, and I cannot get anything to 
work via Bonescript on this build.

Upon unboxing I had previously played around a little with blinking the 
on-board LEDs as per the "getting started" tutorial. Using Cloud9 I was 
able to run the LED3 1s "blink" cycle, set one of the GPIO pins to output a 
PWM wave, etc. Due to repeating problems when connecting a USB hub (for 
hooking up mouse & keyboard) I decided to upgrade the OS image to the 
above. 

After performing this task, I am happy to report that the USB hub now works 
perfectly. However, nothing else does! And by this I mean that I cannot 
execute anything via Bonescript. Say, for example, I browse to the "getting 
started" tutorial at 127.0.0.1. There is a box that you can click that 
should turn on all 4 user LEDs for 2s. This box is grayed out and does not 
work.

And if I go to Cloud9 and try to execute anything, I get the following 
output in the debugger:

+++++

debugger listening on port 15454
info: Error writing to /sys/kernel/debug/omap_mux/gpmc_ad9: Error: EACCES, 
permission denied '/sys/kernel/debug/omap_mux/gpmc_ad9'

fs.js:443
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), 
mode);
                 ^
Error: ENOENT, no such file or directory 'undefined/run'
    at Object.fs.openSync (fs.js:443:18)
    at Object.fs.writeFileSync (fs.js:982:15)
    at Object.exports.writePWMFreqAndValue 
(/usr/local/lib/node_modules/bonescript/src/hw_oldkernel.js:167:12)
    at Object.f.analogWrite 
(/usr/local/lib/node_modules/bonescript/src/index.js:448:15)
    at Object.<anonymous> (/var/lib/cloud9/PWM-P8_13.js:2:3)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.runMain [as _onTimeout] (module.js:497:10)


Process exited with code: 8

+++++

It seems to me like this image is not setup to run Bonescript out of the 
box. Can anyone tell me what is going on? Should I switch to some different 
OS image, or is there a way to fix this one, or am I making some user 
error...?

I am not sure how relevant the following information is. But I will also 
mention that I verified the downloaded SD card image with the SHA-256 hash, 
and it was OK. Also I have programmed the eMMC from the SD card & am 
booting off that (as opposed to running directly from the SD card). And 
finally I have done nothing to modify the image in any way. 

Thanks in advance. 

-- 
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/e3df68a0-6598-4c97-b136-373d9298bd8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to