UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Continuation of rpi effort and how to test

    Scheduled Pinned Locked Moved UT for Raspberry Pi
    36 Posts 7 Posters 8.0k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • jezekJ Offline
        jezek @mariogrip
        last edited by

        @mariogrip said in Continuation of rpi effort and how to test:

        This has been tested on rpi3, but should work on anything newer then 3 (as it needs arm64)

        does this mean it can be installed to pinebook? thanks...

        jEzEk

        U 1 Reply Last reply Reply Quote 0
        • U Offline
          UniSuperBox @jezek
          last edited by

          @jezek

          No. Bespoke ARM images can only be installed to their target devices. Similarly to phone images.

          1 Reply Last reply Reply Quote 0
          • jezekJ Offline
            jezek
            last edited by

            @UniSuperBox said in Continuation of rpi effort and how to test:

            @jezek

            No. Bespoke ARM images can only be installed to their target devices. Similarly to phone images.

            so, it is possible, but there needs to happen some porting magic?

            jEzEk

            mariogripM 1 Reply Last reply Reply Quote 0
            • mariogripM Offline
              mariogrip Administrators @jezek
              last edited by

              @jezek We have images here that are designed for the pinebook https://ci.ubports.com/job/rootfs/job/rootfs-pinebook/ 🙂 but please note that these are really early images, so they are not stable at all, and there is some bugs 🙂

              1 Reply Last reply Reply Quote 1
              • Aury88A Offline
                Aury88 @mariogrip
                last edited by Aury88

                This post is deleted!
                1 Reply Last reply Reply Quote 1
                • Aury88A Offline
                  Aury88 @mariogrip
                  last edited by

                  @mariogrip so I tried again ( I still don't know why those links works) and this is my PR with this diff

                  1 Reply Last reply Reply Quote 0
                  • Aury88A Offline
                    Aury88
                    last edited by

                    Link to Bug report about Rpi4

                    1 Reply Last reply Reply Quote 1
                    • MarkM Offline
                      Mark
                      last edited by Mark

                      Good to see great progress.
                      Using the latest image the Pi4 boots and runs well although a graphics issue means that you can't read anything opened in a window.
                      Scaling is now sorted on the monitor and when using the 7 inch touch screen.
                      The graphics issue does not affect the Pi3 but it is (understandably) frustratingly slow.
                      The touch screen worked on the first image but not on the most recent one. UPDATE It woked after a reboot but as the left and right edges are slightly offscreen it restricts its usefuleness.
                      UT on the Raspberry Pi feels much closer now to something that will work. Thanks to those who understand all this far more than me for putting the work in.

                      MarkM 1 Reply Last reply Reply Quote 0
                      • Pulsar33P Offline
                        Pulsar33
                        last edited by Pulsar33

                        Hello,

                        Trying v66 on RPI4B 4GB flashed on SDCard with dd command :

                        • Connected to 1920x1080 screen through HDMI0 => ok
                        • Need to disconnect/reconnect radio interface for keyboard/mouse
                        • Overscan is always activated : ~48 pixels/lines black borders
                        • First and second boot : horizontal view, initial parameters, keyboard layout ok
                        • Third boot login : rotated, after login : switched to horizontal by itself
                        • Third boot : wrong keyboard layout (uk instead of previous fr selected)
                        • Ethernet connected but not seen, WiFi activated, Bluetooth not found
                        • After third boot, shutdown makes a restart, not a shutdown
                        • Next time, the shutdown was complete

                        Main problem :

                        • The window manager displays the frames and menus correctly
                        • The application show a correct initial display for one second
                        • Then, the inner part of the window becomes garbage
                        • It reminds me something like incoherent window size and viewport size

                        Rotated login
                        V66-RotatedLogin.jpg

                        Calc just started (correct)
                        V66-CalcJustStarted.jpg

                        Calc after one or two seconds (garbage)
                        V66-CalcAfterSomeSeconds.jpg

                        Multiple apps : all garbage, menu and notification : all clean
                        V66-MultipleWindows.jpg

                        Best regards
                        Pulsar33

                        Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                        Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                        Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                        1 Reply Last reply Reply Quote 0
                        • Pulsar33P Offline
                          Pulsar33
                          last edited by

                          To remove overscan, uncomment this line

                          disable_overscan=1
                          

                          in /firmware/config.txt

                          If your mouse lags, try to add this :

                          usbhid.mousepoll=0
                          

                          at the end of the line in /firmware/cmdline.txt

                          BR
                          Pulsar33

                          Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                          Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                          Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                          Aury88A 1 Reply Last reply Reply Quote 1
                          • Pulsar33P Offline
                            Pulsar33
                            last edited by

                            Another tip : print screen key works
                            Easy to access to the snapshots by reading the SDCard on my desktop
                            Will use it next time instead of the ugly pictures above ... Here is a reduced to 720p example :
                            InnerWindowGarbage.png

                            Maintaining the Super (Windows or Apple) Key displays the available shortcuts. They work AFAIK.

                            Unfortunately, I was looking for CTRL-ALT-F1 and CTRL-ALT-F7 shortcuts but they don't seem to exist, do they ?

                            BR
                            Pulsar33

                            Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                            Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                            Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                            1 Reply Last reply Reply Quote 0
                            • Pulsar33P Offline
                              Pulsar33
                              last edited by Pulsar33

                              As said above ethernet is not seen (in the notification area) however ethernet is working !

                              So, one more tip if you want : ssh works too
                              On your desktop/laptop, use the following command in the /firmware folder of the SDCard

                              touch ssh
                              

                              After booting, you can login from your desktop/laptop with

                              ssh phablet@[local-IP]
                              password: phablet
                              

                              Have a nice evening
                              Pulsar33

                              Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                              Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                              Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                              1 Reply Last reply Reply Quote 1
                              • Aury88A Offline
                                Aury88 @Pulsar33
                                last edited by

                                @Pulsar33 the CTRL-ALT-F1 and CTRL-ALT-F7 I confirm they don't work

                                1 Reply Last reply Reply Quote 1
                                • Pulsar33P Offline
                                  Pulsar33
                                  last edited by

                                  Hello,
                                  Is there some progress about graphical problem for Pi4 ?
                                  BR
                                  Pulsar33

                                  Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                                  Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                                  Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                                  1 Reply Last reply Reply Quote 0
                                  • Pulsar33P Offline
                                    Pulsar33
                                    last edited by

                                    Hum, seems to regress.
                                    Tried the #77 and I've a black screen after the boot listing and reboot.
                                    However ssh works but don't know what to do with it.
                                    BR
                                    Pulsar33

                                    Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                                    Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                                    Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                                    1 Reply Last reply Reply Quote 0
                                    • MarkM Offline
                                      Mark @Mark
                                      last edited by

                                      @Mark The work on preparing UT apps for other arm64 platforms gives us something to work with now. The UT Tweak Tool seems to work reasonably as does TELEports and File Manager. I can get sound output from the terminal but not through the apps. Mouse behaviour is a little odd and seems to deteriorate - most of my experience is on the Touchscreen which seems more stable and easier to use. Adding Swap has been helpful, particularly when having multiple open tabs on the Morph Browser. If someone can get to the bottom of the (compositor?) issue with the Pi4 the resource related issues should be much reduced, particulatly with the 2 and 4 GB versions.

                                      1 Reply Last reply Reply Quote 0
                                      • MarkM Offline
                                        Mark
                                        last edited by

                                        Would the approach taken here (with Gentoo running arm64 including camera, sound and display) work for us or is it too far from the way UT works? https://github.com/sakaki-/gentoo-on-rpi-64bit

                                        1 Reply Last reply Reply Quote 0
                                        • MarkM Offline
                                          Mark
                                          last edited by Mark

                                          There has been a lot going on but it is only recorded in the Telegram group. https://t.me/UBports_pi
                                          The Pi3 is working fairly well (with swap) although sound and wifi are still issues and selection (without a touch screen) has its peculiarities. Morph browser and Dekko email seem pretty stable, Terminal works a treat for installing click packages built for Arm64. Running update and upgrade mostly brings improvements but might break it so consider making a backup.

                                          Here is what is in the Telegram pinned post:
                                          Installing Ubuntu touch is pretty easy. The default login is phablet as is the password. It should just login itself but you will need that when using the terminal for things requiring sudo or when changing some settings in the GUI. If you can use an ethernet cable at the setup stage it avoids any wifi issues (that are being worked on). Selection by mouse is a bit buggy still, sometimes selecting with "Tab" then hitting "Return" will be easier.

                                          Download an image from https://ci.ubports.com/job/rootfs/job/rootfs-rpi/

                                          After image #90 (15th December) there was a change which meant that the Pi 4 graphics were broken not just on windows but on the login screen (it works but you can't see that it works on a monitor) - keep trying newer images as that will eventually be fixed. This is not a problem for the Pi 3.
                                          Feel free to experiment with newer images and let us know your experiences but there may not be someone else to compare notes with yet.

                                          Flash SD card:
                                          Use DD in the Linux terminal or on windows https://www.balena.io/etcher/ to write the image to the sd card once you have unzipped it. Raspberry Pi sites will give details of how to do all this.
                                          Remember to expand the main partition to fill the card. Easiest to use a card no bigger than 32GB.

                                          Swap:
                                          It works better with swap. Type sudo apt-get install dc dphys-swapfile in the terminal if you want a swap partition of 2GB

                                          Development:
                                          https://gitlab.com/ubports/core/rootfs-builder-debos and the multiple deb packages that are used are built on ci.ubports.com with the source on github.com/ubports/

                                          Apps:
                                          https://forums.ubports.com/topic/3323/arm64-apps-and-testing is a good place to start when looking for arm64 apps and how to install and test them.
                                          Some of the arm64 apps being tested for the pinephone and other arm64 devices work, others just shut down or behave oddly. Openstore is getting more arm64 architecture apps.

                                          Sound is not sorted yet and neither is the Pi camera. However the Pi touchscreen works. Expect bugs and crashes - we are at an early stage. Probably more Alpha than Beta testing but things are developing quickly. Wifi pretends to work but ethernet works well. Have fun and please use the UBports forums, Github or associated Telegram groups to learn more, to give feedback or to help solve bugs or other issues.

                                          ? 1 Reply Last reply Reply Quote 0
                                          • ? Offline
                                            A Former User @Mark
                                            last edited by A Former User

                                            Hi @Mark
                                            I'm not sure what I'm doing wrong:

                                            I wget https://ci.ubports.com/job/rootfs/job/rootfs-rpi/90/artifact/ubuntu-touch-raspberrypi.img.gz
                                            I flashed it onto an 16GB SD card (which is formatted with Disks) using Etcher.

                                            But my Pi 3 just flashes the green light 7 times, repeatedly...

                                            😕 I really would like to try UT on Pi.

                                            MarkM 2 Replies Last reply Reply Quote 0
                                            • MarkM Offline
                                              Mark @Guest
                                              last edited by

                                              @3arn0wl Possibly you just need to redo the SD card. Did you unzip the image before writing it? After writing the card did you expand the root partition into the unallocated space and did you use a beefed up power supply and connect up an Ethernet cable when trying to boot?
                                              Seven blinks suggests that the kernel image is not found. https://raspberrypi.stackexchange.com/questions/41450/raspberry-pi-not-working/41455#41455
                                              I've never used Etcher.

                                              ? 1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post