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

    Generate device tree (dts) from a Windows install

    Scheduled Pinned Locked Moved Off topic
    5 Posts 4 Posters 685 Views 2 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.
      • B Offline
        byron.hawkins
        last edited by byron.hawkins

        I have a Pipo W12 tablet PC with a Snapdragon 850 CPU (armv8) running Windows 10, and I'm trying to install linux as a dual boot. The closest machine with linux support is the Lenovo Yoga 630 which has the same CPU but a different device tree. Installers for the Yoga 630 have the whole device tree in /boot, and it is specified in grub. So it seems like the Yoga 630 kernel might work on my Pipo if I can create a proper device tree.

        Is there an easy way to generate a linux device tree (the dts file) based on a running instance of Windows? Unfortunately there is no way to run WSL-2 on the machine because it requires hardware virtualization support, which is not available on the Snapdragon 850. So I can't see the device tree from WSL-1 because it doesn't have its own kernel (only WSL-2 has a kernel).

        If there is no tool to do this, how would I go about manually created the device tree, using my Windows desktop as a reference?

        LakotaubpL 1 Reply Last reply Reply Quote 0
        • LakotaubpL Lakotaubp moved this topic from Porting on
        • LakotaubpL Offline
          Lakotaubp @byron.hawkins
          last edited by

          @byron-hawkins I have moved this to OT as 1, We don't support dual boot and 2, I think you need a normal Ubuntu forum not this which is for Ubuntu Touch for mobile devices.

          B 1 Reply Last reply Reply Quote 1
          • B Offline
            byron.hawkins @Lakotaubp
            last edited by

            @lakotaubp ok, though the Pipo W12 is a touch-screen device, basically a 12" tablet with optional (detachable) keyboard. The fact that it's a mobile architecture means the installer needs to do mobile-specific stuff. Dual boot is not really part of the question, and it's not difficult because the device has an ordinary BIOS that I can configure (F2 on splash).

            KenedaK N 2 Replies Last reply Reply Quote 0
            • KenedaK Offline
              Keneda @byron.hawkins
              last edited by

              @byron-hawkins
              Yes a "transformer" device can be perfect with UT well ported on it.

              2015-2023 : Meizu MX4 ☠️⚰️✝️
              2023-2024 : Nexus 5 ☠️⚰️✝️
              2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
              🇲🇫🇬🇧

              1 Reply Last reply Reply Quote 0
              • N Offline
                nero355 @byron.hawkins
                last edited by

                @byron-hawkins said in Generate device tree (dts) from a Windows install:

                the device has an ordinary BIOS that I can configure (F2 on splash).

                Then try booting Ubuntu or Kubuntu for the right ARM platform from a USB Stick and see if that works ?!

                If it does and you like it : Install to local disk! 😄

                My phones :

                • BQ Aquaris E5 HD Ubuntu Phone Edition - Ubuntu Touch 16.04 LTS
                • ZUK Z2 Pro - ZUI Android 8.x
                • Xiaomi Mi 9T - Jolla SailFish 3.4.x Community Build

                P.S. : I am NOT a developer! ;)

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