On Sat, Feb 20, 2021 at 12:49 PM Aaron Siegel <admin(a)siegel-tech.net> wrote:
Hello
I am stuck, I cannot install Fedora on a rockpro64. I have tried arm-image-
installer and with U-Boot installed on the SPI using the iso installer.
You don't mention the arm-image-installer command line option you're using.
If you're using U-Boot on the SPI flash you should use the target of
--target=none because you don't want to write out firmware onto the SD
card because you already have it on SPI flash.
The rockchip firmwaare is quite large and tends to over write the
beginning of the VFAT partition, which is one of the main reasons we
don't currently fully support the rockchip boards.
Of course with the firmware on SPI you don't need to write out the
firmware to the SD card and it works fine when not writing firmware to
the SD card.
> The arm-image-installer does not boot, I receive the error as described in
> this blog:
>
https://marcin.juszkiewicz.com.pl/2020/06/22/installing-fedora-on-rockpro64/
> When I mount the SD cards efi partition on a desktop I receive an I/O error
> message and cannot read the EFI directory.
>
> I have also load U-Boot on the SPI using the instruction below. I am able to
> boot the Fedora IOT 20210214 iso and complete most of the installation but at
> the end I receive error:
> "The following error occurred while installing the boot loader. The system
> will not be bootable. Would you like to ignore this and continue with
> installation?
>
> Failed to set new EFI boot target this is most likely a kernel or firmware
> bug."
>
> Has anyone had successfully installed Fedora IOT on a Rockpro64?
>
> The message when trying to boot with U-Boot loaded into the SPI
> U-Boot 2020.07-rc4-00056-g0ce4047820 (Jun 17 2020 - 16:46:23 +0200)
>
> SoC: Rockchip rk3399
> Reset cause: POR
> Model: Pine64 RockPro64 v2.1
> DRAM: 3.9 GiB
> PMIC: RK808
> MMC: mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0
> Loading Environment from SPI Flash... SF: Detected gd25q128 with page size 256
> Bytes, erase size 4 KiB, total 16 MiB
> *** Warning - bad CRC, using default environment
>
> In: serial
> Out: vidconsole
> Err: vidconsole
> Model: Pine64 RockPro64 v2.1
> Net: eth0: ethernet@fe300000
> starting USB...
> Bus usb@fe380000: USB EHCI 1.00
> Bus usb@fe3a0000: USB OHCI 1.0
> Bus usb@fe3c0000: USB EHCI 1.00
> Bus usb@fe3e0000: USB OHCI 1.0
> Bus dwc3: Register 2000140 NbrPorts 2
> Starting the controller
> USB XHCI 1.10
> Bus dwc3: Register 2000140 NbrPorts 2
> Starting the controller
> USB XHCI 1.10
> scanning bus usb@fe380000 for devices... 1 USB Device(s) found
> scanning bus usb@fe3a0000 for devices... 2 USB Device(s) found
> scanning bus usb@fe3c0000 for devices... 1 USB Device(s) found
> scanning bus usb@fe3e0000 for devices... 2 USB Device(s) found
> scanning bus dwc3 for devices... 1 USB Device(s) found
> scanning bus dwc3 for devices... 1 USB Device(s) found
> scanning usb for storage devices... 0 Storage Device(s) found
> Hit any key to stop autoboot: 0
> switch to partitions #0, OK
> mmc0(part 0) is current device
> Scanning mmc 0:1...
> Found EFI removable media binary efi/boot/bootaa64.efi
> libfdt fdt_check_header(): FDT_ERR_BADMAGIC
> Card did not respond to voltage select!
> Scanning disk mmc@fe310000.blk...
> Disk mmc(a)fe310000.blk not ready
> Card did not respond to voltage select!
> Scanning disk mmc@fe320000.blk...
> Disk mmc(a)fe320000.blk not ready
> Scanning disk sdhci@fe330000.blk...
> ** Unrecognized filesystem type **
> Found 4 disks
> BootOrder not defined
> EFI boot manager: Cannot load any image
> 858216 bytes read in 108 ms (7.6 MiB/s)
> libfdt fdt_check_header(): FDT_ERR_BADMAGIC
> System BootOrder not found. Initializing defaults.
> Could not read \EFI\: Invalid Parameter
> Error: could not find boot options: Invalid Parameter
> start_image() returned Invalid Parameter
> ## Application terminated, r = 2
> EFI LOAD FAILED: continuing...
> Card did not respond to voltage select!
> PCIe link training gen1 timeout!
>
> Device 0: unknown device
>
> Device 0: unknown device
> failed to find ep-gpios property
>
> Thank you
> Aaron
>
> _______________________________________________
> IoT mailing list -- iot(a)lists.fedoraproject.org
> To unsubscribe send an email to iot-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
https://lists.fedoraproject.org/archives/list/iot@lists.fedoraproject.org
> Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure