Booting Fedora on the Dragonboard

TL;DR: All the crazy bootloader shit that affected 32 bit ARM infects 64 bit ARM too.

I pretty much followed Robert Gadsdon’s instructions here, except I had to compile mkbootimg by hand from the CyanogenMod sources as it doesn’t seem to be available in Fedora.

Luckily I have all the bits you need to attach a USB serial port:

20151112_162617

U-boot was installed as the bootloader as above.

For the disk image, I started with the virt-builder Fedora 23 aarch64 image. I copied this image to the SD card by doing:

virt-builder --arch aarch64 fedora-23 --output /dev/mmcblkX

I didn’t expect this would boot, because the kernel is wrong, and the u-boot I flashed to the Dragonboard is in any case looking for a different file. So I cross-compiled a kernel by following the Linaro instructions here (only up to the make Image step).

I didn’t manage to get the kernel to boot, because it just doesn’t load. Or maybe it does load but doesn’t find the serial port. Whatever.

7 Comments

Filed under Uncategorized

7 responses to “Booting Fedora on the Dragonboard

  1. Laszlo Ersek

    Re: All the crazy bootloader shit that affected 32 bit ARM infects 64 bit ARM too.

    Not if your platform conforms to the Server Base Boot Requirements (SBBR) 🙂

  2. Gerd Hoffmann

    rpms and images at https://www.kraxel.org/repos/qcom/
    (didn’t try u-boot, boot partition carries linux kernel image).

  3. davidlt

    These boards are the beginning and developers are using them to build standard comforting of software. At that’s the current state. It’s gonna take time before things are correct, before they upstreamed and before these boards are released with pieces working according to the standard. The idea was to get hardware out so that developers can work on it.

    • rich

      They’re going about it the wrong way. Android forks Linux and doesn’t upstream very much, and the ARM partners write crap drivers that can’t ever be upstreamed. I don’t see how any improvement is possible until that process is fixed.

  4. Pingback: Gigabyte MP30-AR0 | Richard WM Jones

  5. Pingback: Linaro Connect: Jon Masters talking about the importance of standards | Richard WM Jones

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.