Hello Guix,

I have a rockpro64 on which I flashed U-boot on the SPI using
https://github.com/sigmaris/u-boot/wiki/Flashing-U-Boot-to-SPI. On that
machine, I can boot Debian 13.

I tried the Guix 1.5 aarch64 installer on it. On the display connected via
HDMI, after a while, there is a menu with two entries: Install GNU Guix 1.5
and Firmware setup. In several boot attempts, I managed once to go to the
second menu by pressing the down arrow key on a USB keyboard, but between
the key press and the star changing to the second entry, it is more than 10
seconds.

When the boot process continues, on the serial console, it ends up with a
guile prompt (there is nothing on the HDMI display at all):

U-Boot 2021.04-11556-g9ecacf77d2 (Jun 30 2021 - 17:48:07 +0000)

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 SPIFlash... 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: usb maximum-speed not found
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... 1 USB Device(s) found
scanning bus dwc3 for devices... cannot reset port 1!?
2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
Hit any key to stop autoboot:  0 
Card did not respond to voltage select! : -110
Card did not respond to voltage select! : -110

Device 0: unknown device
scanning bus for devices...
Target spinup took 0 ms.
Target spinup took 0 ms.
Target spinup took 0 ms.
Target spinup took 0 ms.
Target spinup took 0 ms.
Target spinup took 0 ms.
Target spinup took 0 ms.
Target spinup took 0 ms.
AHCI 0001.0200 32 slots 8 ports 6 Gbps 0xff impl SATA mode
flags: 64bit ncq pio 
No Link on this port!
Can not start port 1
No Link on this port!
Can not start port 2
No Link on this port!
Can not start port 3
No Link on this port!
Can not start port 4
No Link on this port!
Can not start port 5
No Link on this port!
Can not start port 6
timeout exit!

Device 0: unknown device

Device 0: Vendor: Verbatim Rev: PMAP Prod: STORE N GO      
            Type: Removable Hard Disk
            Capacity: 59153.0 MB = 57.7 GB (121145344 x 512)
... is now current device
Scanning usb 0:2...
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Card did not respond to voltage select! : -110
Scanning disk [email protected]...
Disk [email protected] not ready
Card did not respond to voltage select! : -110
Scanning disk [email protected]...
Disk [email protected] not ready
Card did not respond to voltage select! : -110
Scanning disk [email protected]...
Disk [email protected] not ready
Scanning disk usb_mass_storage.lun0...
Found 2 disks
** Unable to read file ubootefi.var **
Failed to load EFI variables
BootOrder not defined
EFI boot manager: Cannot load any image
Found EFI removable media binary efi/boot/bootaa64.efi
229376 bytes read in 5 ms (43.7 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Booting /efi\boot\bootaa64.efi
EFI stub: ERROR: FIRMWARE BUG: kernel image not aligned on 64k boundary
GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main
thread
GC Warning: Could not open /proc/stat
Welcome, this is GNU's early boot Guile.
Use 'gnu.repl' for an initrd REPL.

loading kernel modules...
waiting for partition '31393730-3031-3031-3139-313133333833' to appear...
waiting for partition '31393730-3031-3031-3139-313133333833' to appear...
waiting for partition '31393730-3031-3031-3139-313133333833' to appear...
waiting for partition '31393730-3031-3031-3139-313133333833' to appear...
waiting for partition '31393730-3031-3031-3139-313133333833' to appear...
waiting for partition '31393730-3031-3031-3139-313133333833' to appear...
waiting for partition '31393730-3031-3031-3139-313133333833' to appear...
waiting for partition '31393730-3031-3031-3139-313133333833' to appear...
waiting for partition '31393730-3031-3031-3139-313133333833' to appear...
waiting for partition '31393730-3031-3031-3139-313133333833' to appear...
waiting for partition '31393730-3031-3031-3139-313133333833' to appear...
waiting for partition '31393730-3031-3031-3139-313133333833' to appear...
waiting for partition '31393730-3031-3031-3139-313133333833' to appear...
waiting for partition '31393730-3031-3031-3139-313133333833' to appear...
waiting for partition '31393730-3031-3031-3139-313133333833' to appear...
waiting for partition '31393730-3031-3031-3139-313133333833' to appear...
waiting for partition '31393730-3031-3031-3139-313133333833' to appear...
waiting for partition '31393730-3031-3031-3139-313133333833' to appear...
waiting for partition '31393730-3031-3031-3139-313133333833' to appear...
waiting for partition '31393730-3031-3031-3139-313133333833' to appear...
waiting for partition '31393730-3031-3031-3139-313133333833' to appear...
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
failed to resolve partition "31393730-3031-3031-3139-313133333833"

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
GNU Guile 3.0.9
Copyright (C) 1995-2023 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> 

During this, the time spent on "Booting /efi\boot\bootaa64.efi", before
getting the next entry (EFI Stub: ERROR) was rather long.

At this point, I have no clue what to do.

I welcome any advice on how to proceed to install Guix on this board.

Cheers,
David.

Reply via email to