Good afternoon, I have a Pine64 RockPro64 single-board ARM computer. I am trying to get Guix running on it, and running into an odd issue. The folks in the IRC chat suggested I reach out to the mailing list for help.
I am able to run Debian on an SD card and install Guix there. I have an EMMC module (linked below) that I can attach to the board while Debian is running. https://pine64.com/product/128gb-emmc-module/ I am able to successfully partition the module, mount the ext4 partition and run 'guix system init' to install. Starting the board with only the EMMC module attached, the bootloader starts successfully, but fails to find the installation partition. Running 'ls /dev' in the bourneish shell doesn't show any mmc devices. I tried looking through dmesg in Debian and adding any kernel modules that seemed relevant to initrd-modules, but got the same result. I've also tried to modify the SCM to look for the partition by UUID instead of path, with no success. I'm attaching my config.scm and the log from u-boot. Any help would be appreciated! - Dakota
config-initrd-anonymized.scm
Description: Lotus Screencam
U-Boot TPL 2025.01 (Jan 01 1970 - 00:00:01) lpddr4_set_rate: change freq to 400MHz 0, 1 Channel 0: LPDDR4, 400MHz BW=32 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=2048MB Channel 1: LPDDR4, 400MHz BW=32 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=2048MB 256B stride lpddr4_set_rate: change freq to 800MHz 1, 0 Trying to boot from BOOTROM Returning to boot ROM... U-Boot SPL 2025.01 (Jan 01 1970 - 00:00:01 +0000) Trying to boot from MMC1 load_simple_fit: Skip load 'atf-6': image size is 0! U-Boot 2025.01 (Jan 01 1970 - 00:00:01 +0000) SoC: Rockchip rk3399 Reset cause: POR Model: Pine64 RockPro64 v2.1 DRAM: 4 GiB (effective 3.9 GiB) PMIC: RK808 Core: 323 devices, 34 uclasses, devicetree: separate MMC: mmc@fe310000: 3, mmc@fe320000: 1, mmc@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,usbkbd Out: serial,vidconsole Err: serial,vidconsole Model: Pine64 RockPro64 v2.1 Net: eth0: ethernet@fe300000 Hit any key to stop autoboot: 0 Scanning for bootflows in all bootdevs Seq Method State Uclass Part Name Filename --- ----------- ------ -------- ---- ------------------------ ---------------- Scanning global bootmeth 'efi_mgr': Card did not respond to voltage select! : -110 Card did not respond to voltage select! : -110 ** File not found ubootefi.var ** Failed to load EFI variables ** Unable to write file ubootefi.var ** Failed to persist EFI variables ** Unable to write file ubootefi.var ** Failed to persist EFI variables ** Unable to write file ubootefi.var ** Failed to persist EFI variables 0 efi_mgr ready (none) 0 <NULL> ** Booting bootflow '<NULL>' with efi_mgr Loading Boot0000 'mmc 0' failed EFI boot manager: Cannot load any image Boot failed (err=-14) Scanning bootdev '[email protected]': Card did not respond to voltage select! : -110 Scanning bootdev '[email protected]': 1 extlinux ready mmc 1 [email protected] /boot/extlinux/extlinux.conf ** Booting bootflow '[email protected]_1' with extlinux Ignoring unknown command: UI GNU Guix Boot Options 1: GNU with Linux-Libre 6.17.12 Enter choice: 1: GNU with Linux-Libre 6.17.12 Retrieving file: /gnu/store/dxpqhwgfblphhs051p4c6xk8szs50b21-linux-libre-6.17.12/Image Retrieving file: /gnu/store/4gqxxfsj0lij6bv8bfrmg3myf2cyfbb0-raw-initrd/initrd.cpio.gz append: root=/dev/mmcblk1p1 gnu.system=/gnu/store/ygnky18qmwpr3g7i5hyl0y6fxvxr00d9-system gnu.load=/gnu/store/ygnky18qmwpr3g7i5hyl0y6fxvxr00d9-system/boot modprobe.blacklist=usbmouse,usbkbd quiet Retrieving file: /gnu/store/dxpqhwgfblphhs051p4c6xk8szs50b21-linux-libre-6.17.12/lib/dtbs/rockchip/rk3399-rockpro64.dtb Moving Image from 0x2080000 to 0x2200000, end=0x4660000 ## Flattened Device Tree blob at 01e00000 Booting using the fdt blob at 0x1e00000 Working FDT set to 1e00000 Loading Ramdisk to f00d3000, end f0ec5b87 ... OK Loading Device Tree to 00000000f00bb000, end 00000000f00d2ba3 ... OK Working FDT set to f00bb000 Timer summary in microseconds (13 records): Mark Elapsed Stage 0 0 reset 493,666 493,666 board_init_f 1,878,936 1,385,270 board_init_r 1,994,368 115,432 eth_common_init 2,165,646 171,278 eth_initialize 2,165,924 278 main_loop 11,250,342 9,084,418 bootm_start 11,650,527 400,185 boot_ramdisk_high 11,687,735 37,208 boot_jump_linux 11,687,736 1 start_kernel Accumulated time: 1,030,704 dm_f 13,775 of_live 17,939 dm_r Starting kernel ... 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... e2fsck: No such file or directory while trying to open /dev/mmcblk1p1 Possibly non-existent device? File system check on /dev/mmcblk1p1 failed Spawning Bourne-like REPL. 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. bournish@(guile-user)>
