Giter Club home page Giter Club logo

beagleboot's People

Contributors

ravikp7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

beagleboot's Issues

windows support

LK"I

Hi ,

Is there any support for windows?
when i try to :
npm run electron-rebuild

I get these errors:

[email protected] electron-rebuild C:\projects_node\test_burner\BeagleBoot
electron-rebuild

x Rebuild Failed

An unhandled error occurred inside electron-rebuild
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
core.c
descriptor.c
hotplug.c
io.c
strerror.c
sync.c
poll_windows.c
threads_windows.c
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
rojects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
..\libusb\libusb\io.c(1227): warning C4244: '=': conversion from 'time_t' to 'long', possible loss of data [C:\projects_node\test_burner\BeagleBoot\nod
..\libusb\libusb\io.c(1902): warning C4244: '=': conversion from 'time_t' to 'long', possible loss of data [C:\projects_node\test_burner\BeagleBoot\nod
..\libusb\libusb\io.c(2435): warning C4244: '=': conversion from 'time_t' to 'long', possible loss of data [C:\projects_node\test_burner\BeagleBoot\nod
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
[C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
windows_usb.c
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
c) [C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
[C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
windows.c) [C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
..\libusb\libusb\os\threads_windows.c(194): warning C4244: '=': conversion from 'time_t' to 'long', possible loss of data [C:\projects_node\test_burner
]
..\libusb\libusb\os\threads_windows.c(196): warning C4244: '=': conversion from 'const time_t' to 'long', possible loss of data [C:\projects_node\test_
cxproj]
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
dows.c) [C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
usb.c) [C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
..\libusb\libusb\os\windows_usb.c(586): warning C4244: '=': conversion from '__int64' to 'unsigned int', possible loss of data [C:\projects_node\test_b
xproj]
..\libusb\libusb\os\windows_usb.c(1017): warning C4996: 'GetVersionExA': was declared deprecated [C:\projects_node\test_burner\BeagleBoot\node_modules
C:\Program Files (x86)\Windows Kits\8.1\Include\um\sysinfoapi.h(433): note: see declaration of 'GetVersionExA'
..\libusb\libusb\os\windows_usb.c(1020): warning C4996: 'GetVersionExA': was declared deprecated [C:\projects_node\test_burner\BeagleBoot\node_modules
C:\Program Files (x86)\Windows Kits\8.1\Include\um\sysinfoapi.h(433): note: see declaration of 'GetVersionExA'
..\libusb\libusb\os\windows_usb.c(1423): warning C4244: '=': conversion from '_int64' to 'unsigned int', possible loss of data [C:\projects_node\test
cxproj]
..\libusb\libusb\os\windows_usb.c(2558): warning C4018: '<': signed/unsigned mismatch [C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\l
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\projects_node\test_burner\BeagleBoot\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\projects_node\test_burner\BeagleBoot\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
//atom.io/download/electron" "--build-from-source" "--module_name=usb_bindings" "--module_path=C:\projects_node\test_burner\BeagleBoot\node_modules
essel/node-usb/releases/download/" "--remote_path=1.2.0"
gyp ERR! cwd C:\projects_node\test_burner\BeagleBoot\node_modules\usb
gyp ERR! node -v v6.11.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok

Failed with exit code: 1

Error: Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
core.c
descriptor.c
hotplug.c
io.c
strerror.c
sync.c
poll_windows.c
threads_windows.c
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
rojects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
..\libusb\libusb\io.c(1227): warning C4244: '=': conversion from 'time_t' to 'long', possible loss of data [C:\projects_node\test_burner\BeagleBoot\nod
..\libusb\libusb\io.c(1902): warning C4244: '=': conversion from 'time_t' to 'long', possible loss of data [C:\projects_node\test_burner\BeagleBoot\nod
..\libusb\libusb\io.c(2435): warning C4244: '=': conversion from 'time_t' to 'long', possible loss of data [C:\projects_node\test_burner\BeagleBoot\nod
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
[C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
windows_usb.c
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
c) [C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
[C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
windows.c) [C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
..\libusb\libusb\os\threads_windows.c(194): warning C4244: '=': conversion from 'time_t' to 'long', possible loss of data [C:\projects_node\test_burner
]
..\libusb\libusb\os\threads_windows.c(196): warning C4244: '=': conversion from 'const time_t' to 'long', possible loss of data [C:\projects_node\test_
cxproj]
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
dows.c) [C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
C:\projects_node\test_burner\BeagleBoot\node_modules\usb\libusb\libusb\os/threads_windows.h(47): error C2011: 'timespec': 'struct' type redefinition (c
usb.c) [C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\libusb.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(39): note: see declaration of 'timespec' (compiling source file ..\libusb\lib
..\libusb\libusb\os\windows_usb.c(586): warning C4244: '=': conversion from '__int64' to 'unsigned int', possible loss of data [C:\projects_node\test_b
xproj]
..\libusb\libusb\os\windows_usb.c(1017): warning C4996: 'GetVersionExA': was declared deprecated [C:\projects_node\test_burner\BeagleBoot\node_modules
C:\Program Files (x86)\Windows Kits\8.1\Include\um\sysinfoapi.h(433): note: see declaration of 'GetVersionExA'
..\libusb\libusb\os\windows_usb.c(1020): warning C4996: 'GetVersionExA': was declared deprecated [C:\projects_node\test_burner\BeagleBoot\node_modules
C:\Program Files (x86)\Windows Kits\8.1\Include\um\sysinfoapi.h(433): note: see declaration of 'GetVersionExA'
..\libusb\libusb\os\windows_usb.c(1423): warning C4244: '=': conversion from '_int64' to 'unsigned int', possible loss of data [C:\projects_node\test
cxproj]
..\libusb\libusb\os\windows_usb.c(2558): warning C4018: '<': signed/unsigned mismatch [C:\projects_node\test_burner\BeagleBoot\node_modules\usb\build\l
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\projects_node\test_burner\BeagleBoot\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\projects_node\test_burner\BeagleBoot\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
//atom.io/download/electron" "--build-from-source" "--module_name=usb_bindings" "--module_path=C:\projects_node\test_burner\BeagleBoot\node_modules
essel/node-usb/releases/download/" "--remote_path=1.2.0"
gyp ERR! cwd C:\projects_node\test_burner\BeagleBoot\node_modules\usb
gyp ERR! node -v v6.11.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok

Failed with exit code: 1
at SafeSubscriber._error (C:\projects_node\test_burner\BeagleBoot\node_modules\spawn-rx\lib\src\index.js:267:84)
at SafeSubscriber.__tryOrUnsub (C:\projects_node\test_burner\BeagleBoot\node_modules\rxjs\Subscriber.js:238:16)
at SafeSubscriber.error (C:\projects_node\test_burner\BeagleBoot\node_modules\rxjs\Subscriber.js:197:26)
at Subscriber._error (C:\projects_node\test_burner\BeagleBoot\node_modules\rxjs\Subscriber.js:128:26)
at Subscriber.error (C:\projects_node\test_burner\BeagleBoot\node_modules\rxjs\Subscriber.js:102:18)
at MapSubscriber.Subscriber._error (C:\projects_node\test_burner\BeagleBoot\node_modules\rxjs\Subscriber.js:128:26)
at MapSubscriber.Subscriber.error (C:\projects_node\test_burner\BeagleBoot\node_modules\rxjs\Subscriber.js:102:18)
at SafeSubscriber._next (C:\projects_node\test_burner\BeagleBoot\node_modules\spawn-rx\lib\src\index.js:241:65)
at SafeSubscriber.__tryOrUnsub (C:\projects_node\test_burner\BeagleBoot\node_modules\rxjs\Subscriber.js:238:16)
at SafeSubscriber.next (C:\projects_node\test_burner\BeagleBoot\node_modules\rxjs\Subscriber.js:185:22)

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "electron-rebuild"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] electron-rebuild: electron-rebuild
npm ERR! Exit status 4294967295
npm ERR!
npm ERR! Failed at the [email protected] electron-rebuild script 'electron-rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the beagleboot package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! electron-rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs beagleboot
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls beagleboot
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\projects_node\test_burner\BeagleBoot\npm-debug.log

BeagleBoot no longer runs under Ubuntu 20.04

I have been a happy user of BeagleBoot under Ubuntu 18.04. I've just updated my system to Ubuntu 20.04, and BeagleBoot no longer runs. I have tried to re-install, both with the .deb file and re-building with no luck. I have encountered a number of errors which I may or may not have successfully solved. It is all pretty clearly due to dependencies being updated, but I don't know enough about electron apps to make much progress on fixing my problems. The latest issue is:

~/src/BeagleBoot-0.9.0$ npm start

> [email protected] start /home/ben-warrington/src/BeagleBoot-0.9.0
> electron .


(electron:1376281): Pango-ERROR **: 11:32:44.360: Harfbuzz version too old (1.3.1)

About the only advice I can find on googling this is to ask the developer for an update. This is probably not the only remaining problem. I would happily update the project myself, but as I said, I know next to nothing about electron apps. Any advice you can offer would be appreciated.

debug information

LK"I

Hi,
I tried this amazing tool and it stuck at "spi transfer complete"
Is there any way to printout some debug information so I can figure out why is it stuck?

Harel

Nothing happens following power+S2 step

I wish I could give a more precise title, but I simply don't have the information with which to do so.

The BeagleBone Black is connected via a USB cable and adapter that I've confirmed support data transfer. The board works fine (boots to eMMC when powered on without S2 being pressed). I open the app, click the USB Mass Storage button, enter my password, hold down the S2 button on the board while powering it on, and… nothing happens. The app just continues to say to press S2, and only the power light on the board lights up. Clearly the app is failing to boot the board, but as far as I can tell there's no diagnostic output to help figure out where exactly the process is breaking down.

BeagleBoot 0.9.0 on macOS 10.14.5

Linux AppImage can't elevate script with sudo-prompt

Currently, the Linux AppImage isn't functional as it can't elevate scripts with sudo-prompt. Clicking on USB Mass Storage button and then after entering password, app throws sudo-prompt error. The problem is that AppImages are mounted using FUSE, which only allows execution permissions on the mounted image to the user that actually executed the image. See AppImage/AppImageKit#146 . So, su can't execute scripts with it. We'd have to remount the AppImage as root to get it working.

Transfer rate speedup

Hi Ravi

Awesome work. I am just getting started using it. The transfer rates seem a little slow for USB. I'm averaging about 1.5 to 1.6 MB/s. Do you know why that rate is slow. Or a better question, where the bottleneck is?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.