GNU bug report logs - #70892
[PATCH 0/6] Add visionfive2 support.

Previous Next

Package: guix-patches;

Reported by: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>

Date: Sun, 12 May 2024 11:01:01 UTC

Severity: normal

Tags: patch

Done: Z572 <zhengjunjie <at> iscas.ac.cn>

Bug is archived. No further changes may be made.

Full log


Message #59 received at 70892 <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
Cc: 70892 <at> debbugs.gnu.org
Subject: Re: [bug#70892] [PATCH v2 7/7] system: images: Add visionfive2 module.
Date: Sun, 19 May 2024 17:33:47 +0800
Zheng Junjie <zhengjunjie <at> iscas.ac.cn> writes:

> [...]
> +
> +;;; Commentary:
> +;;;
> +;;; If trying to boot from MMC2, and see
> +;;; "No FDT memory address configured. Please configure",
> +;;; please boot from spl and do the following.
> +;;;
> +;;; uboot> setenv fdtfile starfive/jh7110-starfive-visionfive-2-v1.3b.dtb
> +;;; uboot> savenv
> +;;;
> +;;; and then try again boot from MMC2.

It's not clear to me what are MMC2 and spl, how about:

  VisionFive2 can boot from MMC1 (SPI flash) or MMC2 (SD card) selected
  by DIP switches MSEL[1:0], you may want boot from MMC2 to use the
  U-Boot from Guix System instead of the vendor U-Boot in MMC1.  Before
  doing so, make sure you have a correct 'fdtfile' in the environment:

    uboot> setenv fdtfile starfive/jh7110-starfive-visionfive-2-v1.3b.dtb
    uboot> saveenv
  
> +;;;
> +;;; ./pre-inst-env guix system image gnu/system/images/visionfive2.scm \
> +;;;      --target=riscv64-linux-gnu --no-grafts
> +;;;

This image building command is not related to the previous boot
commentary, I think it can be dropped.




This bug report was last modified 1 year and 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.