Unable to run "bonescript" on BeagleBone

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

Unable to run "bonescript" on BeagleBone

Postby pramode » Sat Feb 18, 2012 5:55 pm

Hello,

Tried running "bonescript" ( https://github.com/jadonk/bonescript ) on BeagleBone after installing Arch - couldn't
get it working because of the unavailability of /sys/kernel/debug. It seems the kernel does not come with "debugfs"
enabled ...

regards,
pramode
pramode
 
Posts: 3
Joined: Fri Feb 17, 2012 6:45 pm

Re: Unable to run "bonescript" on BeagleBone

Postby teachop » Sat Feb 18, 2012 11:16 pm

Well, I was planning to try that too, hmmm. (Frankly bonescript I/O has a long way to go, and got started out in a questionable direction.)
teachop
 
Posts: 15
Joined: Fri Dec 09, 2011 8:46 pm

Re: Unable to run "bonescript" on BeagleBone

Postby pramode » Sun Feb 19, 2012 3:41 pm

This is the first time I am trying out Arch linux - let me check out the Arch wiki to find out how to
contribute stuff! Enabling debugfs should should be very simple - it would be nice to have it in the
Arch kernel.
pramode
 
Posts: 3
Joined: Fri Feb 17, 2012 6:45 pm

Re: Unable to run "bonescript" on BeagleBone

Postby teachop » Mon Feb 20, 2012 12:10 am

Ok, let us know if that goes well, this isn't cross compile country, and I have not tried to learn how to use distcc yet!

The beaglebone version of node is 0.4 (old) and the Arch Linux ARM version is 0.6.11 (fresh). Hope that will work OK with bonescript.

It took some tweaks for the bleeding edge cloud9 to build - it seems to run with node 0.6.11, but I have in approx. zero testing in so far. The latest cloud9 is brain dead with Firefox, must use Chromium.

I didn't try to set up Gate One like beaglebone Angstrom. Shell in a Box from the Arch AUR built fine as a replacement and I like it better.
teachop
 
Posts: 15
Joined: Fri Dec 09, 2011 8:46 pm

Re: Unable to run "bonescript" on BeagleBone

Postby WarheadsSE » Mon Feb 20, 2012 1:34 pm

Please, share these cloud9 changes. I had to fidget over and over to get mine running. Thanks to o3-xml & the annoying dep/deps/depsdeps/depsdepsdeps pathing that it uses with NPM.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Unable to run "bonescript" on BeagleBone

Postby teachop » Mon Feb 20, 2012 9:57 pm

Not so share-worthy as I hacked my way>
$this->bbcode_second_pass_code('', 'git clone git://github.com/gero3/cloud9.git
cloud9/bin/cloud9.sh')
"npm install libxml" fails there (http://registry.npmjs.org/libxml), so I
$this->bbcode_second_pass_code('', 'git clone git://github.com/ajaxorg/node-libxml.git
wget http://registry.npmjs.org/libxml/-/libxml-0.0.4.tgz')
to get rid of x86 specific '-msse2' options in package/support/o3/wscript. I had to pacman -S libxml so things would build, then mv from node-libxml to node_modules/libxml. Now I can:
$this->bbcode_second_pass_code('', '# node cloud9/bin/cloud9.js -l 0.0.0.0')
and it seems to work with Chromium browser. BUT. I have done zero testing so far, except hey look it came up...
teachop
 
Posts: 15
Joined: Fri Dec 09, 2011 8:46 pm

Re: Unable to run "bonescript" on BeagleBone

Postby WarheadsSE » Mon Feb 20, 2012 10:02 pm

Hmm.. That's pretty much what I did as well, but had to make some other mods.. I'll pull from origin tonight...

And yeah, arggg npm install script ;)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Unable to run "bonescript" on BeagleBone

Postby teachop » Thu Feb 23, 2012 7:00 am

I see /sys/kernel/debug is enabled now.
teachop
 
Posts: 15
Joined: Fri Dec 09, 2011 8:46 pm

Re: Unable to run "bonescript" on BeagleBone

Postby teachop » Thu Feb 23, 2012 9:10 am

While bonescript is working (running blinkled.js blinks the led!) cloud9 flags anything from bonescript as undefined in the editor. Is that a config/setup problem on my part?
teachop
 
Posts: 15
Joined: Fri Dec 09, 2011 8:46 pm

Re: Unable to run "bonescript" on BeagleBone

Postby WarheadsSE » Thu Feb 23, 2012 12:22 pm

Releax.. JSlint isn't perfect ;)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 3 guests