mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/3] Documentation: Rockchip: Update documentation to latest binaries
@ 2023-01-23  8:35 Sascha Hauer
  2023-01-23  8:35 ` [PATCH 2/3] arm: rockchip: oldconfig rockchip_v8_defconfig Sascha Hauer
  2023-01-23  8:35 ` [PATCH 3/3] arm: rockchip_v8_defconfig: Disable PIO mode for MCI_DW Sascha Hauer
  0 siblings, 2 replies; 5+ messages in thread
From: Sascha Hauer @ 2023-01-23  8:35 UTC (permalink / raw)
  To: Barebox List

Upstream rkbin repository has been updated, update the paths in the
documentation accordingly.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 Documentation/boards/rockchip.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/boards/rockchip.rst b/Documentation/boards/rockchip.rst
index d4f8a9c5a3..0e8738bbf1 100644
--- a/Documentation/boards/rockchip.rst
+++ b/Documentation/boards/rockchip.rst
@@ -73,9 +73,9 @@ The build process needs three binary files which have to be copied from the
 
 .. code-block:: sh
 
-  cp $RKBIN/bin/rk35/rk3568_bl31_v1.24.elf firmware/rk3568-bl31.bin
-  cp $RKBIN/bin/rk35/rk3568_bl32_v1.05.bin firmware/rk3568-op-tee.bin
-  cp $RKBIN/bin/rk35/rk3568_ddr_1560MHz_v1.08.bin arch/arm/boards/rockchip-rk3568-evb/sdram-init.bin
+  cp $RKBIN/bin/rk35/rk3568_bl31_v1.34.elf firmware/rk3568-bl31.bin
+  cp $RKBIN/bin/rk35/rk3568_bl32_v2.08.bin firmware/rk3568-op-tee.bin
+  cp $RKBIN/bin/rk35/rk3568_ddr_1560MHz_v1.13.bin arch/arm/boards/rockchip-rk3568-evb/sdram-init.bin
 
 With these barebox can be compiled as:
 
-- 
2.30.2




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

* [PATCH 2/3] arm: rockchip: oldconfig rockchip_v8_defconfig
  2023-01-23  8:35 [PATCH 1/3] Documentation: Rockchip: Update documentation to latest binaries Sascha Hauer
@ 2023-01-23  8:35 ` Sascha Hauer
  2023-01-23  8:35 ` [PATCH 3/3] arm: rockchip_v8_defconfig: Disable PIO mode for MCI_DW Sascha Hauer
  1 sibling, 0 replies; 5+ messages in thread
From: Sascha Hauer @ 2023-01-23  8:35 UTC (permalink / raw)
  To: Barebox List

Just an oldconfig to make changing the defconfig easier in the next
step.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/configs/rockchip_v8_defconfig | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/arch/arm/configs/rockchip_v8_defconfig b/arch/arm/configs/rockchip_v8_defconfig
index d673f7f788..dce22036f2 100644
--- a/arch/arm/configs/rockchip_v8_defconfig
+++ b/arch/arm/configs/rockchip_v8_defconfig
@@ -26,7 +26,6 @@ CONFIG_CONSOLE_ACTIVATE_NONE=y
 CONFIG_CONSOLE_ALLOW_COLOR=y
 CONFIG_PBL_CONSOLE=y
 CONFIG_PARTITION_DISK_EFI=y
-CONFIG_DEFAULT_COMPRESSION_LZO=y
 CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
 CONFIG_STATE=y
 CONFIG_BOOTCHOOSER=y
@@ -88,7 +87,6 @@ CONFIG_NET_NETCONSOLE=y
 CONFIG_OFDEVICE=y
 CONFIG_OF_BAREBOX_DRIVERS=y
 CONFIG_DRIVER_SERIAL_NS16550=y
-CONFIG_DRIVER_NET_DESIGNWARE_EQOS=y
 CONFIG_DRIVER_NET_DESIGNWARE_ROCKCHIP=y
 CONFIG_REALTEK_PHY=y
 CONFIG_SMSC_PHY=y
@@ -99,6 +97,7 @@ CONFIG_NET_USB_SMSC95XX=y
 CONFIG_NET_USB_RTL8152=y
 CONFIG_I2C=y
 CONFIG_I2C_GPIO=y
+CONFIG_I2C_RK3X=y
 CONFIG_USB_HOST=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_DUAL_ROLE=y
@@ -116,6 +115,7 @@ CONFIG_MCI_DW_PIO=y
 CONFIG_MCI_ROCKCHIP_DWCMSHC=y
 CONFIG_MCI_ARASAN=y
 CONFIG_MFD_ACT8846=y
+CONFIG_MFD_RK808=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
 CONFIG_LED_GPIO_OF=y
@@ -124,10 +124,12 @@ CONFIG_WATCHDOG_POLLER=y
 CONFIG_WATCHDOG_DW=y
 CONFIG_REGULATOR=y
 CONFIG_REGULATOR_FIXED=y
+CONFIG_REGULATOR_RK808=y
 CONFIG_GENERIC_PHY=y
 CONFIG_USB_NOP_XCEIV=y
 CONFIG_PHY_ROCKCHIP_INNO_USB2=y
 CONFIG_PHY_ROCKCHIP_NANENG_COMBO_PHY=y
+CONFIG_ROCKCHIP_IODOMAIN=y
 # CONFIG_VIRTIO_MENU is not set
 CONFIG_FS_CRAMFS=y
 CONFIG_FS_EXT4=y
@@ -139,7 +141,3 @@ CONFIG_FS_FAT_LFN=y
 CONFIG_FS_BPKFS=y
 CONFIG_FS_UIMAGEFS=y
 CONFIG_LZO_DECOMPRESS=y
-CONFIG_I2C_RK3X=y
-CONFIG_MFD_RK808=y
-CONFIG_REGULATOR_RK808=y
-CONFIG_ROCKCHIP_IODOMAIN=y
-- 
2.30.2




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

* [PATCH 3/3] arm: rockchip_v8_defconfig: Disable PIO mode for MCI_DW
  2023-01-23  8:35 [PATCH 1/3] Documentation: Rockchip: Update documentation to latest binaries Sascha Hauer
  2023-01-23  8:35 ` [PATCH 2/3] arm: rockchip: oldconfig rockchip_v8_defconfig Sascha Hauer
@ 2023-01-23  8:35 ` Sascha Hauer
  2023-01-23  9:17   ` Ahmad Fatoum
  1 sibling, 1 reply; 5+ messages in thread
From: Sascha Hauer @ 2023-01-23  8:35 UTC (permalink / raw)
  To: Barebox List

MCI_DW in PIO mode doesn't work for me. We should search for the
reason, but in the end we want to do DMA anyway, which works here.
Disable PIO mode for now.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/configs/rockchip_v8_defconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/configs/rockchip_v8_defconfig b/arch/arm/configs/rockchip_v8_defconfig
index dce22036f2..339247cc1c 100644
--- a/arch/arm/configs/rockchip_v8_defconfig
+++ b/arch/arm/configs/rockchip_v8_defconfig
@@ -111,7 +111,6 @@ CONFIG_MCI=y
 CONFIG_MCI_STARTUP=y
 CONFIG_MCI_MMC_BOOT_PARTITIONS=y
 CONFIG_MCI_DW=y
-CONFIG_MCI_DW_PIO=y
 CONFIG_MCI_ROCKCHIP_DWCMSHC=y
 CONFIG_MCI_ARASAN=y
 CONFIG_MFD_ACT8846=y
-- 
2.30.2




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

* Re: [PATCH 3/3] arm: rockchip_v8_defconfig: Disable PIO mode for MCI_DW
  2023-01-23  8:35 ` [PATCH 3/3] arm: rockchip_v8_defconfig: Disable PIO mode for MCI_DW Sascha Hauer
@ 2023-01-23  9:17   ` Ahmad Fatoum
  2023-01-23 11:47     ` Sascha Hauer
  0 siblings, 1 reply; 5+ messages in thread
From: Ahmad Fatoum @ 2023-01-23  9:17 UTC (permalink / raw)
  To: Sascha Hauer, Barebox List

On 23.01.23 09:35, Sascha Hauer wrote:
> MCI_DW in PIO mode doesn't work for me. We should search for the
> reason, but in the end we want to do DMA anyway, which works here.
> Disable PIO mode for now.

On what SoC?

> 
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> ---
>  arch/arm/configs/rockchip_v8_defconfig | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm/configs/rockchip_v8_defconfig b/arch/arm/configs/rockchip_v8_defconfig
> index dce22036f2..339247cc1c 100644
> --- a/arch/arm/configs/rockchip_v8_defconfig
> +++ b/arch/arm/configs/rockchip_v8_defconfig
> @@ -111,7 +111,6 @@ CONFIG_MCI=y
>  CONFIG_MCI_STARTUP=y
>  CONFIG_MCI_MMC_BOOT_PARTITIONS=y
>  CONFIG_MCI_DW=y
> -CONFIG_MCI_DW_PIO=y
>  CONFIG_MCI_ROCKCHIP_DWCMSHC=y
>  CONFIG_MCI_ARASAN=y
>  CONFIG_MFD_ACT8846=y

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




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

* Re: [PATCH 3/3] arm: rockchip_v8_defconfig: Disable PIO mode for MCI_DW
  2023-01-23  9:17   ` Ahmad Fatoum
@ 2023-01-23 11:47     ` Sascha Hauer
  0 siblings, 0 replies; 5+ messages in thread
From: Sascha Hauer @ 2023-01-23 11:47 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: Barebox List

On Mon, Jan 23, 2023 at 10:17:11AM +0100, Ahmad Fatoum wrote:
> On 23.01.23 09:35, Sascha Hauer wrote:
> > MCI_DW in PIO mode doesn't work for me. We should search for the
> > reason, but in the end we want to do DMA anyway, which works here.
> > Disable PIO mode for now.
> 
> On what SoC?

rk3568

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



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

end of thread, other threads:[~2023-01-23 11:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-23  8:35 [PATCH 1/3] Documentation: Rockchip: Update documentation to latest binaries Sascha Hauer
2023-01-23  8:35 ` [PATCH 2/3] arm: rockchip: oldconfig rockchip_v8_defconfig Sascha Hauer
2023-01-23  8:35 ` [PATCH 3/3] arm: rockchip_v8_defconfig: Disable PIO mode for MCI_DW Sascha Hauer
2023-01-23  9:17   ` Ahmad Fatoum
2023-01-23 11:47     ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox