All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Enable booting from SCSI on rockpro64-rk3399.
@ 2022-04-06 20:42 Vagrant Cascadian
  2022-04-06 20:42 ` [PATCH 1/2] rockchip: Enable SCSI in distro bootcmd for rk3399 Vagrant Cascadian
  2022-04-06 20:42 ` [PATCH 2/2] rockchip: Enable AHCI/SCSI/SATA on rockpro64-rk3399 Vagrant Cascadian
  0 siblings, 2 replies; 5+ messages in thread
From: Vagrant Cascadian @ 2022-04-06 20:42 UTC (permalink / raw)
  To: u-boot
  Cc: Vagrant Cascadian, Akash Gajjar, Alex Bee, Jagan Teki,
	Kever Yang, Philipp Tomsich, Philipp Tomsich, Simon Glass

This patch series adds SCSI booting to rockchip-common.h to enable
scsi boot options from distro boot, and enables SCSI options in the
rockpro64-rk3399 configuration.


Vagrant Cascadian (2):
  rockchip: Enable SCSI in distro bootcmd for rk3399.
  rockchip: Enable AHCI/SCSI/SATA on rockpro64-rk3399.

 configs/rockpro64-rk3399_defconfig | 7 +++++++
 include/configs/rockchip-common.h  | 7 +++++++
 2 files changed, 14 insertions(+)

-- 
2.35.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] rockchip: Enable SCSI in distro bootcmd for rk3399.
  2022-04-06 20:42 [PATCH 0/2] Enable booting from SCSI on rockpro64-rk3399 Vagrant Cascadian
@ 2022-04-06 20:42 ` Vagrant Cascadian
  2022-04-09  2:30   ` Kever Yang
  2022-04-06 20:42 ` [PATCH 2/2] rockchip: Enable AHCI/SCSI/SATA on rockpro64-rk3399 Vagrant Cascadian
  1 sibling, 1 reply; 5+ messages in thread
From: Vagrant Cascadian @ 2022-04-06 20:42 UTC (permalink / raw)
  To: u-boot
  Cc: Vagrant Cascadian, Alex Bee, Kever Yang, Philipp Tomsich,
	Philipp Tomsich, Simon Glass

Include SCSI in the list of boot targets if CONFIG_CMD_SCSI is
enabled.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
---

 include/configs/rockchip-common.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/include/configs/rockchip-common.h b/include/configs/rockchip-common.h
index ba7061a287..0c08776ae2 100644
--- a/include/configs/rockchip-common.h
+++ b/include/configs/rockchip-common.h
@@ -29,6 +29,12 @@
 	#define BOOT_TARGET_NVME(func)
 #endif
 
+#if CONFIG_IS_ENABLED(CMD_SCSI)
+	#define BOOT_TARGET_SCSI(func) func(SCSI, scsi, 0)
+#else
+	#define BOOT_TARGET_SCSI(func)
+#endif
+
 #if CONFIG_IS_ENABLED(CMD_USB)
 	#define BOOT_TARGET_USB(func) func(USB, usb, 0)
 #else
@@ -57,6 +63,7 @@
 #define BOOT_TARGET_DEVICES(func) \
 	BOOT_TARGET_MMC(func) \
 	BOOT_TARGET_NVME(func) \
+	BOOT_TARGET_SCSI(func) \
 	BOOT_TARGET_USB(func) \
 	BOOT_TARGET_PXE(func) \
 	BOOT_TARGET_DHCP(func) \
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] rockchip: Enable AHCI/SCSI/SATA on rockpro64-rk3399.
  2022-04-06 20:42 [PATCH 0/2] Enable booting from SCSI on rockpro64-rk3399 Vagrant Cascadian
  2022-04-06 20:42 ` [PATCH 1/2] rockchip: Enable SCSI in distro bootcmd for rk3399 Vagrant Cascadian
@ 2022-04-06 20:42 ` Vagrant Cascadian
  2022-04-09  2:30   ` Kever Yang
  1 sibling, 1 reply; 5+ messages in thread
From: Vagrant Cascadian @ 2022-04-06 20:42 UTC (permalink / raw)
  To: u-boot
  Cc: Vagrant Cascadian, Akash Gajjar, Jagan Teki, Kever Yang,
	Philipp Tomsich, Simon Glass

Add options to enable AHCI, SCSI and SATA.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
---

 configs/rockpro64-rk3399_defconfig | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/configs/rockpro64-rk3399_defconfig b/configs/rockpro64-rk3399_defconfig
index d5e98a4f73..858410e8f7 100644
--- a/configs/rockpro64-rk3399_defconfig
+++ b/configs/rockpro64-rk3399_defconfig
@@ -28,6 +28,13 @@ CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PCI=y
 CONFIG_CMD_USB=y
+CONFIG_AHCI=y
+CONFIG_AHCI_PCI=y
+CONFIG_SATA=y
+CONFIG_SATA_SIL=y
+CONFIG_SCSI=y
+CONFIG_SCSI_AHCI=y
+CONFIG_DM_SCSI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TIME=y
 CONFIG_SPL_OF_CONTROL=y
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] rockchip: Enable SCSI in distro bootcmd for rk3399.
  2022-04-06 20:42 ` [PATCH 1/2] rockchip: Enable SCSI in distro bootcmd for rk3399 Vagrant Cascadian
@ 2022-04-09  2:30   ` Kever Yang
  0 siblings, 0 replies; 5+ messages in thread
From: Kever Yang @ 2022-04-09  2:30 UTC (permalink / raw)
  To: Vagrant Cascadian, u-boot
  Cc: Alex Bee, Philipp Tomsich, Philipp Tomsich, Simon Glass


On 2022/4/7 04:42, Vagrant Cascadian wrote:
> Include SCSI in the list of boot targets if CONFIG_CMD_SCSI is
> enabled.
>
> Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

Thanks,
- Kever
> ---
>
>   include/configs/rockchip-common.h | 7 +++++++
>   1 file changed, 7 insertions(+)
>
> diff --git a/include/configs/rockchip-common.h b/include/configs/rockchip-common.h
> index ba7061a287..0c08776ae2 100644
> --- a/include/configs/rockchip-common.h
> +++ b/include/configs/rockchip-common.h
> @@ -29,6 +29,12 @@
>   	#define BOOT_TARGET_NVME(func)
>   #endif
>   
> +#if CONFIG_IS_ENABLED(CMD_SCSI)
> +	#define BOOT_TARGET_SCSI(func) func(SCSI, scsi, 0)
> +#else
> +	#define BOOT_TARGET_SCSI(func)
> +#endif
> +
>   #if CONFIG_IS_ENABLED(CMD_USB)
>   	#define BOOT_TARGET_USB(func) func(USB, usb, 0)
>   #else
> @@ -57,6 +63,7 @@
>   #define BOOT_TARGET_DEVICES(func) \
>   	BOOT_TARGET_MMC(func) \
>   	BOOT_TARGET_NVME(func) \
> +	BOOT_TARGET_SCSI(func) \
>   	BOOT_TARGET_USB(func) \
>   	BOOT_TARGET_PXE(func) \
>   	BOOT_TARGET_DHCP(func) \

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] rockchip: Enable AHCI/SCSI/SATA on rockpro64-rk3399.
  2022-04-06 20:42 ` [PATCH 2/2] rockchip: Enable AHCI/SCSI/SATA on rockpro64-rk3399 Vagrant Cascadian
@ 2022-04-09  2:30   ` Kever Yang
  0 siblings, 0 replies; 5+ messages in thread
From: Kever Yang @ 2022-04-09  2:30 UTC (permalink / raw)
  To: Vagrant Cascadian, u-boot
  Cc: Akash Gajjar, Jagan Teki, Philipp Tomsich, Simon Glass


On 2022/4/7 04:42, Vagrant Cascadian wrote:
> Add options to enable AHCI, SCSI and SATA.
>
> Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

Thanks,
- Kever
> ---
>
>   configs/rockpro64-rk3399_defconfig | 7 +++++++
>   1 file changed, 7 insertions(+)
>
> diff --git a/configs/rockpro64-rk3399_defconfig b/configs/rockpro64-rk3399_defconfig
> index d5e98a4f73..858410e8f7 100644
> --- a/configs/rockpro64-rk3399_defconfig
> +++ b/configs/rockpro64-rk3399_defconfig
> @@ -28,6 +28,13 @@ CONFIG_CMD_GPT=y
>   CONFIG_CMD_MMC=y
>   CONFIG_CMD_PCI=y
>   CONFIG_CMD_USB=y
> +CONFIG_AHCI=y
> +CONFIG_AHCI_PCI=y
> +CONFIG_SATA=y
> +CONFIG_SATA_SIL=y
> +CONFIG_SCSI=y
> +CONFIG_SCSI_AHCI=y
> +CONFIG_DM_SCSI=y
>   # CONFIG_CMD_SETEXPR is not set
>   CONFIG_CMD_TIME=y
>   CONFIG_SPL_OF_CONTROL=y

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-04-09  2:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-06 20:42 [PATCH 0/2] Enable booting from SCSI on rockpro64-rk3399 Vagrant Cascadian
2022-04-06 20:42 ` [PATCH 1/2] rockchip: Enable SCSI in distro bootcmd for rk3399 Vagrant Cascadian
2022-04-09  2:30   ` Kever Yang
2022-04-06 20:42 ` [PATCH 2/2] rockchip: Enable AHCI/SCSI/SATA on rockpro64-rk3399 Vagrant Cascadian
2022-04-09  2:30   ` Kever Yang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.