Skip to content
Snippets Groups Projects

Nextbit Robin booting. SSH over USB working

Merged Imported Administrator requested to merge ashirviskas:device-nextbit-robin into master

Created by: ashirviskas

Got SSH over USB working. Nothing else tested.

Merge request reports

Approval is optional

Merged by avatar (Mar 29, 2025 6:47pm UTC)

Merge details

  • Changes merged into master with 561d92bb.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Administrator
  • Administrator
  • Administrator
  • Author Owner

    Created by: ashirviskas

    @ollieparanoid You can check it right now! Everything should be in place.

    By * postmarketOS Bot on 2018-01-26T16:26:28

  • Author Owner

    Created by: ashirviskas

    I got these: image

    image

    By doing this: while [ ! ]; do cat /sys/class/graphics/fb0/modes | sudo tee /sys/class/graphics/fb0/mode; done

    EDIT:

    Is it proper to have this dirty line included in the main repository? If so, what would be the best approach?

    I'm still figuring out all of this stuff, so I may ask tons of questions in the next weeks/months. Love this project!

    By * postmarketOS Bot on 2018-01-27T02:08:50

    Edited by Ghost User
  • Author Owner

    Created by: ollieparanoid

    Thanks for making the change, and updating the wiki! \o/ I can confirm that compiling the packages works, shipping. :ship:

    while [ ! ]; do cat /sys/class/graphics/fb0/modes | sudo tee /sys/class/graphics/fb0/mode; done Is it proper to have this dirty line included in the main repository? If so, what would be the best approach?

    Can you try out the msm-fb-refresher? (enable it in your deviceinfo and add the msm-fb-refersher to the depends of your device package, look at other packages where it is used if necessary (grep -r msm-fb-refresher pmbootstrap/aports/)).

    The idea is, that the msm-fb-refresher is the proper workaround for the display refreshing (until we have the device mainlined and don't need such a hack at all). And if the msm-fb-refresher can't handle it, we could extend it (it's just a short C program).

    I'm still figuring out all of this stuff, so I may ask tons of questions in the next weeks/months. Love this project!

    Fantastic, we'll be happy to answer everything you want to know :smile:

    By * postmarketOS Bot on 2018-01-27T14:52:19

    Edited by Ghost User
  • Author Owner

    Created by: ashirviskas

    @ollieparanoid Thank's! I was playing with it again and now it works! Kinda..

    I still need to do "while [ ! ]; do msm-fb-refresher; done"

    Running it once just refreshes a single frame.

    By * postmarketOS Bot on 2018-01-31T21:37:09

  • Author Owner

    @ashirviskas You're gonna need the --loop argument of msm-fb-refresher.

    By Attila Szollosi on 2018-01-31T21:40:10

  • Author Owner

    Created by: ollieparanoid

    So the msm-fb-refersher (enable it as described above) does not work? @ata2001's comment makes more sense :thumbsup:

    By * postmarketOS Bot on 2018-01-31T21:42:06

    Edited by Ghost User
  • Author Owner

    Created by: ashirviskas

    Adding --loop argument works.

    By * postmarketOS Bot on 2018-01-31T22:54:01

  • Author Owner

    Created by: ashirviskas

    But why then is it not ran automatically on boot? Do I add some manual script or do I need to add some other build parameters? I have msm-fb-refresher in depends and deviceinfo_msm_refresher="true", but this doesn't make msm-fb-refresher --loop run on every boot, even though it should. (1, 2)

    Am I missing something?

    By * postmarketOS Bot on 2018-02-01T00:37:13

    Edited by Ghost User
  • Author Owner

    @ashirviskas with the deviceinfo_msm_refresher="true" variable it should start automatically in the initramfs and it will be killed right before leaving it (chroot to the system partition). When the system loads, it should start again as a service (https://github.com/postmarketOS/pmbootstrap/blob/master/aports/main/msm-fb-refresher/msm-fb-refresher.init). Could you check the status of the service? (using rc-status)

    By Daniele Debernardi on 2018-02-01T00:43:09

    Edited by Ghost User
  • Author Owner

    Created by: ashirviskas

    It's not running.

    P.s. The display is refreshed once when it starts booting (Without it I'd still see bootloader screen when device boots and with it bootloader screen is replaced with a dark/empty screen when device boots/boots up)

    By * postmarketOS Bot on 2018-02-01T01:02:14

  • Author Owner

    Created by: ollieparanoid

    Thanks for checking! After you have enabled msm-fb-refresher, have you re-installed your system image? If you did not, you need to run the following line manually to enable the service:

    https://github.com/postmarketOS/pmbootstrap/blob/b0869380ff1c03af3fb23401fc3376ce608825e0/aports/main/postmarketos-base/postmarketos-base.post-install#L23

    By * postmarketOS Bot on 2018-02-01T21:50:50

  • Author Owner

    Created by: ashirviskas

    My mistake, after making a clean clone it's now working perfectly!

    PR

    By * postmarketOS Bot on 2018-02-01T22:16:29

  • Please register or sign in to reply
    Loading