Coder Social home page Coder Social logo

ravikp7 / node-beagle-boot Goto Github PK

View Code? Open in Web Editor NEW
17.0 2.0 3.0 1.86 MB

A node.js USB bootloader server for BeagleBone for booting it into mass storage mode

License: MIT License

JavaScript 100.00%
beaglebone beaglebone-black beaglebone-blue beaglebone-green-wireless boot usb nodejs

node-beagle-boot's People

Contributors

jadonk avatar parthi-g avatar ravikp7 avatar

Stargazers

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

Watchers

 avatar  avatar

node-beagle-boot's Issues

enable RNDIS support

Hi, I want to enable RNDIS in U-Boot. So I find your project.
I can not find RNDIS settings in U-Boot menuconfig.
How do you achieve this?

spl not working when built by instructions

Hi! I'm trying to build u-boot binaries and instructions on main page produce spl file that does not work (only blank screen in serial console). What's more, I see that in 1.2.1 spl binary is from 2014 u-boot version (seems to be from ages of BBBlfs) and not 2018 that is in instructions.
Could you tell me how you created a recent working u-boot image, especially SPL?

Milestone #1

  • Choose binary parser modules for JavaScript and create an example
  • Write code for ether packet and verify hardware address of BeagleBone from BOOTP request data packet received by server

Windows Support

Here's the issues we face on Windows

  • After transferring SPL to the device.
  • The device runs SPL, and the new device detected by host is SPL device.
  • Now, this SPL device has two usb configurations. Config 1 has one interface while config 2 has two interfaces.
  • For uboot transfer we need the host to use config 2.
  • But on Windows, by default config 1 is set and changing usb configs by libusub isn't supported on Windows.
    So, for Windows Support, we need to change default usb configurations either by updating u-boot/SPL or by initiating control transfer to select desired one for transfer.

missing usb_bindings.node?

I got npm install to work via the instructions (+ adding libpcap-dev to the apt-get line) but when I try to start it via npm start I get teh following error:

> [email protected] start /home/debian/node-beagle-boot
> node runServer.js

internal/modules/cjs/loader.js:583
    throw err;
    ^

Error: Cannot find module '/home/debian/node-beagle-boot/node_modules/usb/src/binding/usb_bindings.node'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
    at Function.Module._load (internal/modules/cjs/loader.js:507:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (/home/debian/node-beagle-boot/node_modules/usb/usb.js:5:38)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)

No link or instructions for rebuilding u-boot

Having randomly working binaries isn't acceptable. We need to know how they were built.

I'd like to patch your u-boot with one that will take netconsole commands and use the netconsole commands to enter UMS mode, rather than enter it directly.... at least not without a timeout period. This would allow arbitrary u-boot commands to be executed, potentially changing the mmc to export, enabling us to probe various hardware features and more.

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.