* [PATCH v1 1/2] configs: starfive: Enable PCIE auto enum and NVME/USB stuff for Starfive Visionfive 2 [not found] <20230822143357.2818-1-wiagn233@outlook.com> @ 2023-08-22 14:33 ` Shengyu Qu 2023-08-23 20:38 ` Milan P. Stanić 2023-09-05 5:58 ` Dennis Gilmore 2023-08-22 14:33 ` [PATCH v1 2/2] doc: board: starfive: Add more info about supported driver Shengyu Qu 1 sibling, 2 replies; 7+ messages in thread From: Shengyu Qu @ 2023-08-22 14:33 UTC (permalink / raw) To: xypron.glpk, chanho61.park, ycliang, yanhong.wang, u-boot; +Cc: mps, Shengyu Qu Although PCIE driver already exists, board defconfig isn't configured to enable PCIE enum on boot, thus USB storage device and NVME drive are not supported by default. So modify defconfig to enable PCIE auto enum, then start USB subsystem and scan nvme drive on boot. Signed-off-by: Shengyu Qu <wiagn233@outlook.com> --- configs/starfive_visionfive2_defconfig | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configs/starfive_visionfive2_defconfig b/configs/starfive_visionfive2_defconfig index e9b63e5b84..3002c96f0e 100644 --- a/configs/starfive_visionfive2_defconfig +++ b/configs/starfive_visionfive2_defconfig @@ -30,6 +30,7 @@ CONFIG_SPL_SPI=y CONFIG_SYS_LOAD_ADDR=0x82000000 CONFIG_SYS_PCI_64BIT=y CONFIG_PCI=y +CONFIG_PCI_INIT_R=y CONFIG_TARGET_STARFIVE_VISIONFIVE2=y CONFIG_SPL_OPENSBI_LOAD_ADDR=0x40000000 CONFIG_ARCH_RV64I=y @@ -43,7 +44,7 @@ CONFIG_SD_BOOT=y CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="console=ttyS0,115200 debug rootwait earlycon=sbi" CONFIG_USE_PREBOOT=y -CONFIG_PREBOOT="setenv fdt_addr ${fdtcontroladdr};fdt addr ${fdtcontroladdr};" +CONFIG_PREBOOT="nvme scan; usb start; setenv fdt_addr ${fdtcontroladdr}; fdt addr ${fdtcontroladdr};" CONFIG_DEFAULT_FDT_FILE="starfive/jh7110-starfive-visionfive-2.dtb" CONFIG_DISPLAY_CPUINFO=y CONFIG_DISPLAY_BOARDINFO=y @@ -124,4 +125,9 @@ CONFIG_TIMER_EARLY=y CONFIG_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_PCI=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_PCI=y +CONFIG_USB_OHCI_HCD=y +CONFIG_USB_OHCI_PCI=y +CONFIG_USB_STORAGE=y CONFIG_USB_KEYBOARD=y -- 2.42.0 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v1 1/2] configs: starfive: Enable PCIE auto enum and NVME/USB stuff for Starfive Visionfive 2 2023-08-22 14:33 ` [PATCH v1 1/2] configs: starfive: Enable PCIE auto enum and NVME/USB stuff for Starfive Visionfive 2 Shengyu Qu @ 2023-08-23 20:38 ` Milan P. Stanić 2023-09-05 5:58 ` Dennis Gilmore 1 sibling, 0 replies; 7+ messages in thread From: Milan P. Stanić @ 2023-08-23 20:38 UTC (permalink / raw) To: Shengyu Qu; +Cc: xypron.glpk, chanho61.park, ycliang, yanhong.wang, u-boot On Tue, 2023-08-22 at 22:33, Shengyu Qu wrote: > Although PCIE driver already exists, board defconfig isn't configured to > enable PCIE enum on boot, thus USB storage device and NVME drive are not > supported by default. So modify defconfig to enable PCIE auto enum, then > start USB subsystem and scan nvme drive on boot. > > Signed-off-by: Shengyu Qu <wiagn233@outlook.com> Tested-by: Milan P. Stanić <mps@arvanta.net> > --- > configs/starfive_visionfive2_defconfig | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/configs/starfive_visionfive2_defconfig b/configs/starfive_visionfive2_defconfig > index e9b63e5b84..3002c96f0e 100644 > --- a/configs/starfive_visionfive2_defconfig > +++ b/configs/starfive_visionfive2_defconfig > @@ -30,6 +30,7 @@ CONFIG_SPL_SPI=y > CONFIG_SYS_LOAD_ADDR=0x82000000 > CONFIG_SYS_PCI_64BIT=y > CONFIG_PCI=y > +CONFIG_PCI_INIT_R=y > CONFIG_TARGET_STARFIVE_VISIONFIVE2=y > CONFIG_SPL_OPENSBI_LOAD_ADDR=0x40000000 > CONFIG_ARCH_RV64I=y > @@ -43,7 +44,7 @@ CONFIG_SD_BOOT=y > CONFIG_USE_BOOTARGS=y > CONFIG_BOOTARGS="console=ttyS0,115200 debug rootwait earlycon=sbi" > CONFIG_USE_PREBOOT=y > -CONFIG_PREBOOT="setenv fdt_addr ${fdtcontroladdr};fdt addr ${fdtcontroladdr};" > +CONFIG_PREBOOT="nvme scan; usb start; setenv fdt_addr ${fdtcontroladdr}; fdt addr ${fdtcontroladdr};" > CONFIG_DEFAULT_FDT_FILE="starfive/jh7110-starfive-visionfive-2.dtb" > CONFIG_DISPLAY_CPUINFO=y > CONFIG_DISPLAY_BOARDINFO=y > @@ -124,4 +125,9 @@ CONFIG_TIMER_EARLY=y > CONFIG_USB=y > CONFIG_USB_XHCI_HCD=y > CONFIG_USB_XHCI_PCI=y > +CONFIG_USB_EHCI_HCD=y > +CONFIG_USB_EHCI_PCI=y > +CONFIG_USB_OHCI_HCD=y > +CONFIG_USB_OHCI_PCI=y > +CONFIG_USB_STORAGE=y > CONFIG_USB_KEYBOARD=y > -- > 2.42.0 > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1 1/2] configs: starfive: Enable PCIE auto enum and NVME/USB stuff for Starfive Visionfive 2 2023-08-22 14:33 ` [PATCH v1 1/2] configs: starfive: Enable PCIE auto enum and NVME/USB stuff for Starfive Visionfive 2 Shengyu Qu 2023-08-23 20:38 ` Milan P. Stanić @ 2023-09-05 5:58 ` Dennis Gilmore 1 sibling, 0 replies; 7+ messages in thread From: Dennis Gilmore @ 2023-09-05 5:58 UTC (permalink / raw) To: Shengyu Qu; +Cc: xypron.glpk, chanho61.park, ycliang, yanhong.wang, u-boot, mps On Tue, Aug 22, 2023 at 9:34 AM Shengyu Qu <wiagn233@outlook.com> wrote: > Although PCIE driver already exists, board defconfig isn't configured to > enable PCIE enum on boot, thus USB storage device and NVME drive are not > supported by default. So modify defconfig to enable PCIE auto enum, then > start USB subsystem and scan nvme drive on boot. > > Signed-off-by: Shengyu Qu <wiagn233@outlook.com> > Tested-by: Dennis Gilmore <dennis@ausil.us> > --- > configs/starfive_visionfive2_defconfig | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/configs/starfive_visionfive2_defconfig > b/configs/starfive_visionfive2_defconfig > index e9b63e5b84..3002c96f0e 100644 > --- a/configs/starfive_visionfive2_defconfig > +++ b/configs/starfive_visionfive2_defconfig > @@ -30,6 +30,7 @@ CONFIG_SPL_SPI=y > CONFIG_SYS_LOAD_ADDR=0x82000000 > CONFIG_SYS_PCI_64BIT=y > CONFIG_PCI=y > +CONFIG_PCI_INIT_R=y > CONFIG_TARGET_STARFIVE_VISIONFIVE2=y > CONFIG_SPL_OPENSBI_LOAD_ADDR=0x40000000 > CONFIG_ARCH_RV64I=y > @@ -43,7 +44,7 @@ CONFIG_SD_BOOT=y > CONFIG_USE_BOOTARGS=y > CONFIG_BOOTARGS="console=ttyS0,115200 debug rootwait earlycon=sbi" > CONFIG_USE_PREBOOT=y > -CONFIG_PREBOOT="setenv fdt_addr ${fdtcontroladdr};fdt addr > ${fdtcontroladdr};" > +CONFIG_PREBOOT="nvme scan; usb start; setenv fdt_addr ${fdtcontroladdr}; > fdt addr ${fdtcontroladdr};" > CONFIG_DEFAULT_FDT_FILE="starfive/jh7110-starfive-visionfive-2.dtb" > CONFIG_DISPLAY_CPUINFO=y > CONFIG_DISPLAY_BOARDINFO=y > @@ -124,4 +125,9 @@ CONFIG_TIMER_EARLY=y > CONFIG_USB=y > CONFIG_USB_XHCI_HCD=y > CONFIG_USB_XHCI_PCI=y > +CONFIG_USB_EHCI_HCD=y > +CONFIG_USB_EHCI_PCI=y > +CONFIG_USB_OHCI_HCD=y > +CONFIG_USB_OHCI_PCI=y > +CONFIG_USB_STORAGE=y > CONFIG_USB_KEYBOARD=y > -- > 2.42.0 > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v1 2/2] doc: board: starfive: Add more info about supported driver [not found] <20230822143357.2818-1-wiagn233@outlook.com> 2023-08-22 14:33 ` [PATCH v1 1/2] configs: starfive: Enable PCIE auto enum and NVME/USB stuff for Starfive Visionfive 2 Shengyu Qu @ 2023-08-22 14:33 ` Shengyu Qu 2023-08-23 20:39 ` Milan P. Stanić ` (2 more replies) 1 sibling, 3 replies; 7+ messages in thread From: Shengyu Qu @ 2023-08-22 14:33 UTC (permalink / raw) To: xypron.glpk, chanho61.park, ycliang, yanhong.wang, u-boot; +Cc: mps, Shengyu Qu Since PLDA PCIE driver is added and VL805 support is enabled in defconfig for Starfive Visionfive 2, modify the document to keep consistent. Signed-off-by: Shengyu Qu <wiagn233@outlook.com> --- doc/board/starfive/visionfive2.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/board/starfive/visionfive2.rst b/doc/board/starfive/visionfive2.rst index 941899a0a4..460f23aec3 100644 --- a/doc/board/starfive/visionfive2.rst +++ b/doc/board/starfive/visionfive2.rst @@ -20,6 +20,8 @@ The support for following drivers are already enabled: 3. StarFive JH7110 reset Driver. 4. Cadence QSPI controller Driver. 5. MMC SPI Driver for MMC/SD support. +6. PLDA PCIE controller driver. +7. On-board VL805 PCIE-USB controller driver. Booting from MMC using U-Boot SPL --------------------------------- -- 2.42.0 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v1 2/2] doc: board: starfive: Add more info about supported driver 2023-08-22 14:33 ` [PATCH v1 2/2] doc: board: starfive: Add more info about supported driver Shengyu Qu @ 2023-08-23 20:39 ` Milan P. Stanić 2023-09-05 5:58 ` Dennis Gilmore 2023-09-05 6:46 ` Heinrich Schuchardt 2 siblings, 0 replies; 7+ messages in thread From: Milan P. Stanić @ 2023-08-23 20:39 UTC (permalink / raw) To: Shengyu Qu; +Cc: xypron.glpk, chanho61.park, ycliang, yanhong.wang, u-boot On Tue, 2023-08-22 at 22:33, Shengyu Qu wrote: > Since PLDA PCIE driver is added and VL805 support is enabled in > defconfig for Starfive Visionfive 2, modify the document to keep > consistent. > > Signed-off-by: Shengyu Qu <wiagn233@outlook.com> Tested-by: Milan P. Stanić <mps@arvanta.net> > --- > doc/board/starfive/visionfive2.rst | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/doc/board/starfive/visionfive2.rst b/doc/board/starfive/visionfive2.rst > index 941899a0a4..460f23aec3 100644 > --- a/doc/board/starfive/visionfive2.rst > +++ b/doc/board/starfive/visionfive2.rst > @@ -20,6 +20,8 @@ The support for following drivers are already enabled: > 3. StarFive JH7110 reset Driver. > 4. Cadence QSPI controller Driver. > 5. MMC SPI Driver for MMC/SD support. > +6. PLDA PCIE controller driver. > +7. On-board VL805 PCIE-USB controller driver. > > Booting from MMC using U-Boot SPL > --------------------------------- > -- > 2.42.0 > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1 2/2] doc: board: starfive: Add more info about supported driver 2023-08-22 14:33 ` [PATCH v1 2/2] doc: board: starfive: Add more info about supported driver Shengyu Qu 2023-08-23 20:39 ` Milan P. Stanić @ 2023-09-05 5:58 ` Dennis Gilmore 2023-09-05 6:46 ` Heinrich Schuchardt 2 siblings, 0 replies; 7+ messages in thread From: Dennis Gilmore @ 2023-09-05 5:58 UTC (permalink / raw) To: Shengyu Qu; +Cc: xypron.glpk, chanho61.park, ycliang, yanhong.wang, u-boot, mps On Tue, Aug 22, 2023 at 9:34 AM Shengyu Qu <wiagn233@outlook.com> wrote: > Since PLDA PCIE driver is added and VL805 support is enabled in > defconfig for Starfive Visionfive 2, modify the document to keep > consistent. > > Signed-off-by: Shengyu Qu <wiagn233@outlook.com> > Tested-by: Dennis Gilmore <dennis@ausil.us> > --- > doc/board/starfive/visionfive2.rst | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/doc/board/starfive/visionfive2.rst > b/doc/board/starfive/visionfive2.rst > index 941899a0a4..460f23aec3 100644 > --- a/doc/board/starfive/visionfive2.rst > +++ b/doc/board/starfive/visionfive2.rst > @@ -20,6 +20,8 @@ The support for following drivers are already enabled: > 3. StarFive JH7110 reset Driver. > 4. Cadence QSPI controller Driver. > 5. MMC SPI Driver for MMC/SD support. > +6. PLDA PCIE controller driver. > +7. On-board VL805 PCIE-USB controller driver. > > Booting from MMC using U-Boot SPL > --------------------------------- > -- > 2.42.0 > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1 2/2] doc: board: starfive: Add more info about supported driver 2023-08-22 14:33 ` [PATCH v1 2/2] doc: board: starfive: Add more info about supported driver Shengyu Qu 2023-08-23 20:39 ` Milan P. Stanić 2023-09-05 5:58 ` Dennis Gilmore @ 2023-09-05 6:46 ` Heinrich Schuchardt 2 siblings, 0 replies; 7+ messages in thread From: Heinrich Schuchardt @ 2023-09-05 6:46 UTC (permalink / raw) To: Shengyu Qu; +Cc: mps, chanho61.park, ycliang, yanhong.wang, u-boot On 8/22/23 16:33, Shengyu Qu wrote: > Since PLDA PCIE driver is added and VL805 support is enabled in > defconfig for Starfive Visionfive 2, modify the document to keep > consistent. > > Signed-off-by: Shengyu Qu <wiagn233@outlook.com> > --- > doc/board/starfive/visionfive2.rst | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/doc/board/starfive/visionfive2.rst b/doc/board/starfive/visionfive2.rst > index 941899a0a4..460f23aec3 100644 > --- a/doc/board/starfive/visionfive2.rst > +++ b/doc/board/starfive/visionfive2.rst > @@ -20,6 +20,8 @@ The support for following drivers are already enabled: Nits: Support for the following drivers is already enabled: Best regards Heinrich > 3. StarFive JH7110 reset Driver. > 4. Cadence QSPI controller Driver. > 5. MMC SPI Driver for MMC/SD support. > +6. PLDA PCIE controller driver. > +7. On-board VL805 PCIE-USB controller driver. > > Booting from MMC using U-Boot SPL > --------------------------------- ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-09-05 6:46 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20230822143357.2818-1-wiagn233@outlook.com>
2023-08-22 14:33 ` [PATCH v1 1/2] configs: starfive: Enable PCIE auto enum and NVME/USB stuff for Starfive Visionfive 2 Shengyu Qu
2023-08-23 20:38 ` Milan P. Stanić
2023-09-05 5:58 ` Dennis Gilmore
2023-08-22 14:33 ` [PATCH v1 2/2] doc: board: starfive: Add more info about supported driver Shengyu Qu
2023-08-23 20:39 ` Milan P. Stanić
2023-09-05 5:58 ` Dennis Gilmore
2023-09-05 6:46 ` Heinrich Schuchardt
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox