Navigation

    Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    UEFI boot from EMMC/SD issues on Compute stick blkstk1a32sc. NO CSM.

    Recalbox General
    uefi boot emmcsd compute stick
    2
    6
    1180
    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.
    • myne
      myne last edited by

      As per title, I figure this little thing would be good for this.
      However, while recalbox will recognise the emmc and mount it when booted from USB, when it's DD'd to the EMMC (even with the SD slot disabled), OR to an SD card (enabled), in verbose mode it stalls, repeating:

      mount: mounting LABEL=RECALBOX on /new_root failed: No such file or directory
      Waiting for the root device
      (repeat)

      As per the title, this little compute stick has NO Compatibility Support Module (traditional BIOS mode). It cannot boot in anything but UEFI.
      It's got 1x USB port, and I'd rather not use a hub to use a controller.

      Theory: the EMMC driver isn't loaded early enough during the boot process?

      Does anyone have any suggestions short of "just use USB" or "use another machine"?

      My linux knowledge is... enough to get around the command line with plenty of googling.

      Thanks.

      Zing 1 Reply Last reply Reply Quote 0
      • Zing
        Zing Global moderator Translator
        Translation Master
        Tester
        Global moderator
        @myne
        last edited by

        @myne I think your problem is to be trying to boot via UEFI (I understand that you can not change this, but it seems that's the problem). You should try to boot via USB, this would be a test: if that is the problem, it will not boot from USB. If you can boot from USB, you will know that the problem is not UEFI.
        I do not know how to help you, but, I know there is a tutorial here in the forum (in French), which teaches you to do dual boot, even by UEFI, it might be useful for you to read:
        https://forum.recalbox.com/topic/15678/dualboot-recalbox-windows-sur-pcs-laptops-avec-bios-ou-uefi

        As I do not know this "Compute stick blkstk1a32sc", it might be a driver incompatibility, and you will not be able to boot in any way, but just testing the other possibilities to make sure that's it. To avoid incompatibility issues, use the latest official version:
        https://archive.recalbox.com/

        Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
        If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

        1 Reply Last reply Reply Quote 0
        • myne
          myne last edited by

          It boots fine from usb. When booted from usb, the emmc is recognised and mounts.
          Dual booting isn't necessary.

          I think the problem is that the emmc driver isn't loaded during the early ?bootloader? part of the process.

          My knowledge doesn't extend far enough to know how to add that driver to that part.

          Zing 1 Reply Last reply Reply Quote 0
          • Zing
            Zing Global moderator Translator
            Translation Master
            Tester
            Global moderator
            @myne
            last edited by

            @myne It is not easy to add a driver to the system, only the developers know how to do this, it is necessary to recompile the entire system.
            The pen drive boots via UEFI too and does it work? So the problem is not the drivers, not even the UEFI.
            The problem may be in the way the first boot of Recalbox is done: when you burn the Recalbox image, it creates the BOOT partition and the RECALBOX partition, the first boot is created, the SHARE partition is created, with everything the remaining available space on the device. Maybe it is not able to format emmc to create the SHARE partition?
            I AM NOT SURE, I am raising possibilities, I am not aware enough either, I am trying to help.
            Did you say you can boot via SD card, or did I misunderstand (I do not speak English)? If you make a backup of the image of the pendrive after already having given the first boot, and burn that image to an SD card, does it work?

            I know that dual boot is not necessary, the link I went through was to help you better understand the boot process, so you have more information about where you can modify ... It is an example that can be useful, even if you do not do dual boot, I recommend reading.

            Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
            If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

            myne 1 Reply Last reply Reply Quote 0
            • myne
              myne @Zing last edited by

              It is not easy to add a driver to the system, only the developers know how to do this, it is necessary to recompile the entire system.

              Right. Then it's not going to work.

              The pen drive boots via UEFI too and does it work? So the problem is not the drivers, not even the UEFI.

              Yes. As I said. It works.

              The problem may be in the way the first boot of Recalbox is done: when you burn the Recalbox image, it creates the BOOT partition and the RECALBOX partition, the first boot is created, the SHARE partition is created, with everything the remaining available space on the device. Maybe it is not able to format emmc to create the SHARE partition?

              As I said, it can mount the EMMC once booted.

              Did you say you can boot via SD card, or did I misunderstand (I do not speak English)? If you make a backup of the image of the pendrive after already having given the first boot, and burn that image to an SD card, does it work?

              SD doesn't work.

              I know that dual boot is not necessary, the link I went through was to help you better understand the boot process, so you have more information about where you can modify ... It is an example that can be useful, even if you do not do dual boot, I recommend reading.

              I don't see much about the boot process in there. It's mostly just partitioning and setting grub.

              Thanks for your help, but I think I'll need a dev to respond.

              1 Reply Last reply Reply Quote 0
              • myne
                myne last edited by

                No devs?

                I've done a bit of research and I think the issue is mmc_block isn't loaded during the initrd.gz

                I have thus far been unable to figure out how to add it to that.

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

                Want to support us ?

                87
                Online

                87.3k
                Users

                25.6k
                Topics

                178.2k
                Posts

                Copyright © 2021 recalbox.com