Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 21 21:19
    lurch commented #2908
  • Sep 21 03:33
    DefunctLizard opened #2908
  • Sep 20 19:58
    zaltal commented #2833
  • Sep 20 16:59
    petrosagg closed #2890
  • Sep 20 16:59
    petrosagg commented #2890
  • Sep 20 16:57
    petrosagg commented #2890
  • Sep 20 16:49
    petrosagg commented #2890
  • Sep 20 14:57
    thefaj commented #2890
  • Sep 20 13:16
    lurch commented #2599
  • Sep 20 11:44
    rradar commented #2599
  • Sep 20 11:33
    rradar commented #2890
  • Sep 20 09:01
    queeup commented #2731
  • Sep 20 08:57
    KEINOS commented #2894
  • Sep 20 05:06
    netyrk commented #2833
  • Sep 19 19:42
    KEINOS commented #2894
  • Sep 19 14:15
    404ClickBait commented #2907
  • Sep 19 14:15
    404ClickBait commented #2907
  • Sep 19 14:14
    404ClickBait commented #2907
  • Sep 19 14:11
    lurch commented #2907
  • Sep 19 13:54
    404ClickBait commented #2907
Ravi Kumar Prasad
@ravikp7
@jviotti what's the current process for rpi usbboot, how things go through from device detection and so on?
Balena team
@resinio
[Alexandros Marinos (alexandrosm)] maybe the best way to start is to send a PR adding a new folder into that folder, start by copying maybe the usbboot example, and ripping everything out, replacing with what is needed for RNDIS, maybe adding the node server you guys have written?
[Alexandros Marinos (alexandrosm)] basically the good thing with usbboot in terms of etcher is that it uses the same workflow. usbboot only does the initialisation step, and as soon as the device becomes a mass storage device, it uses the normal block device flasher
[Juan Cruz Viotti (jviotti)] @ravikp7 The usbboot adapter implements a single hook, `.scan()` (https://github.com/resin-io/etcher/blob/master/lib/sdk/adapters/blockdevice/index.js#L71), that detects `usbboot` capable devices and triggers the process to transform them to block devices in the background. At some point, they become block devices, so then the `blockdevice` adaptor carries over with the work
[Alexandros Marinos (alexandrosm)] so what you need to write is something that hooks into the same places, but for RNDIS devices
[Juan Cruz Viotti (jviotti)] @ravikp7 I believe beagleboot maps quite well to that approach, so you could largely re-use the boilerplate of that adaptor
Ravi Kumar Prasad
@ravikp7
thanks a lot folks for help, I'll have a look into this and get back to you if get a blocker
Balena team
@resinio
[Alexandros Marinos (alexandrosm)] @jviotti, any recommendations for how @ravikp7 can get a good development flow while he's iterating?
Ravi Kumar Prasad
@ravikp7
yeah, guidelines are most welcome :)
Balena team
@resinio
[Juan Cruz Viotti (jviotti)] @alexandrosm, @ravikp7 I can’t think of anything in particular with the current state. We use the `debug` module to emit logging information to DevTools from the adaptors, so you can use that and run Etcher while plugging the BBB, etc
[Juan Cruz Viotti (jviotti)] Things will get better once the SDK is more decoupled, as you will be able to easily test from the command line
Squoose
@Squoose
hi
Ravi Kumar Prasad
@ravikp7
@jviotti Hi, I'm trying to integrate beagleboot to etcher. I've added an adapter as beagleboot in adapters. In drive-scanner I've replaced usbboot with beagleboot for testing on Linux. In the beagleboot adapter class I'm emitting like this event after device detection. On running etcher, then on device detection it's throwing this error
Here's code for the adapter.
It'd be really helpful if you point out the possible causes for this error
Ravi Kumar Prasad
@ravikp7
@jhermsmeier @Shou please have a look at this, I'm clueless about this error
Jonas Hermsmeier
@jhermsmeier
@ravikp7 couple of things I can see; for one you're not calling the callback, and second, the adapter's .devices array isn't being populated with the local devices array
Ravi Kumar Prasad
@ravikp7
@jhermsmeier the callback is optional . See this and I'm using beagle-boot server as a node module, which currently hasn't any api to expose local devices. So, just pushing out a device object on device detection (which is possible through provided api)
If you can help me in identifying when above said error occurs or what does that mean, it'd be really helpful
I guess, it's a gui error, and I'm not familiar with angular, so having a hard time understanding it
Benedict Aas
@Shou
@ravikp7 that error happens whenever you try to select a drive that's nil
Ravi Kumar Prasad
@ravikp7
@Shou Thanks :)
Ravi Kumar Prasad
@ravikp7
@Shou @jhermsmeier I've got BeagleBoot adapter integrated in etcher, it's working good except a problem. When the flashing finishes and the app moves to the successful flashing page, the UI freezes. Here's the console log https://pastebin.com/7yrQd5iz
there's some unhandled rejection error, no idea what's causing that error
@lurch can you help here?
Balena team
@resinio
[Juan Cruz Viotti (jviotti)] @ravikp7 What is the error that you’re getting? I see a gist with some code, but no particular error message
Alexis Susset
@alexissusset
Quick feature request for Etcher:
Could we have an option for SD card/Disk cleanup? that is remove all partitions and putting the SD card/Disk back into “as new” state
Had to do that in order to create a update disk for Adelbaran NAO Robot, their flasher only accepts virgin disk. Was a bit of a nightmare removing allt he resin/linux partitions (MacOS diskutil CLI didn’t want to do it for some reason, had to use a Linux VM with gparted)
Balena team
@resinio
[Alexandros Marinos (alexandrosm)] @alexis it's not high on our list as it's not trivial to do in a cross-platform way, but happy to take PRs :) otherwise it will happen eventually, but it will take a while.
[Alexandros Marinos (alexandrosm)] hmmm... actually, maybe zero-filling the disk will do the trick.. but it's still quite an edge case, and the need is to satisfy the weirdness of some other flasher... not sure it justifies the space in the Etcher ui
Kimmo Huoman
@kipe
hmph, how is the compute module flashing support supposed to work?
I haven't had any luck on Kubuntu 18.04, even when running the latest release as root
Balena team
@resinio
[Jonas Hermsmeier (jhermsmeier)] @kipe are you using the appimage, or did you install the deb package via apt?
Kimmo Huoman
@kipe
@jhermsmeier I tried both ways
Balena team
@resinio
[Jonas Hermsmeier (jhermsmeier)] @kipe we're aware that this is broken for some people on the latest version, and it's going to be fixed in the next release, which we're working on atm. Do you see any error or other output in the devtools (you can open them with `Ctrl+Shift+I`)?
Kimmo Huoman
@kipe
I'll try it tomorrow, once I'm back at the office
Kimmo Huoman
@kipe
@jhermsmeier can you actually hilight me now, as I'm going away from PC, I'll get a reminder hilight at the office tomorrow morning :D
Balena team
@resinio
[Jonas Hermsmeier (jhermsmeier)] @kipe what do you mean by hilight?
Kimmo Huoman
@kipe
exactly that, @kipe... I don't know what it's called in these modern communication systems... maybe a "mention"? :D
Balena team
@resinio
[Jonas Hermsmeier (jhermsmeier)] Aaaah, okay :D
Kimmo Huoman
@kipe
@jhermsmeier 'Unknown adapter "usbboot"'
it's the same for both .deb and appimage
Balena team
@resinio
[Jonas Hermsmeier (jhermsmeier)] @kipe aye, thanks - you're seeing the known issue where the usbboot lib doesn't load
[Jonas Hermsmeier (jhermsmeier)] I'm afraid we don't really have an in-place workaround for this
[Jonas Hermsmeier (jhermsmeier)] but we'll fix it in the next release as I mentioned before
Kimmo Huoman
@kipe
@jhermsmeier ok, thanks, good to know
Ravi Kumar Prasad
@ravikp7
@resinio Sorry, couldn't catch up since last time. Got busy with other stuff. I'd already fixed the issue. BeagleBoot USB boot is working good with Etcher. Would you be able to review the changes https://github.com/ravikp7/etcher/commits/beagleboot ? We've some cross platform issues left with our module. As soon as it gets fixed, I'll be sending a pull request.
Balena team
@resinio
[Alexandros Marinos (alexandrosm)] cc @jviotti @zvin
Balena team
@resinio
[Juan Cruz Viotti (jviotti)] @ravikp7 That’s great news! I’d love to have @zvin and @jhermsmeier taking a look at this
LuisOchoaUSA
@LuisOchoaUSA
@LuisOchoaUSA
hello, need help with etcher, thanks ahead of time.
using Ubuntu and cli Etcher