GithubHelp home page GithubHelp logo

Comments (2)

sven-frotscher avatar sven-frotscher commented on May 23, 2024

Running source /init_functions.sh and then setup_usb_configfs in the shell (if Jumpdrive reaches it) raises the fatal error Couldn't create /config/usb_gadget/g1. Trying to escape that with ^Z briefly shows the reason:

Setting up an USB gadget through configfs...
mkdir: can't create directory '/config/usb_gadget/g1': File exists
�[H�[J�[;0H
  Couldn't create /config/usb_gadget/g1

^Zmkdir: can't create directory '/config/usb_gadget/g1/strings/0x409': File exists
  Couldn't create /config/usb_gadget/g1/strings/0x409
mkdir: can't create directory '/config/usb_gadget/g1/functions/rndis.usb0': File exists
  Couldn't create /config/usb_gadget/g1/functions/rndis.usb0
mkdir: can't create directory '/config/usb_gadget/g1/functions/mass_storage.0': File exists
  Couldn't create /config/usb_gadget/g1/functions/mass_storage.0
mkdir: can't create directory '/config/usb_gadget/g1/functions/mass_storage.0/lun.1': File exists
  Couldn't create /config/usb_gadget/g1/functions/mass_storage.0/lun.1
mkdir: can't create directory '/config/usb_gadget/g1/configs/c.1': File exists
  Couldn't create /config/usb_gadget/g1/configs/c.1
mkdir: can't create directory '/config/usb_gadget/g1/configs/c.1/strings/0x409': File exists
  Couldn't create /config/usb_gadget/g1/configs/c.1/strings/0x409
ln: /config/usb_gadget/g1/configs/c.1/rndis.usb0: File exists
  Couldn't symlink rndis.usb0
ln: /config/usb_gadget/g1/configs/c.1/mass_storage.0: File exists
  Couldn't symlink mass_storage.0
sh: write error: Device or resource busy

and then raises another fatal error (Couldn't write to UDC), but I can escape that one with ^Z and get back to the shell.

from jumpdrive.

sven-frotscher avatar sven-frotscher commented on May 23, 2024

Weirdly enough, Jumpdrive works fine when booted from megi's multi-boot image flashed to a microSD card. It then connects as an Ethernet adapter and two block devices (eMMC and microSD), as expected.

from jumpdrive.

Related Issues (20)

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.