[PATCH v3 2/2] board: rockchip: Add support for rk3588 based Cool Pi CM5 EVB

2024-02-17 Thread Andy Yan
Type A out x 2 - HDMI Type D in x 1 - USB 2.0 Host x 2 - USB 3.0 OTG x 1 - USB 3.0 Host x 1 - PCIE M.2 E Key for Wireless connection - PCIE M.2 M Key for NVME connection - 40 pin header The dts is from linux-6.8 rc1. Signed-off-by: Andy Yan Reviewed-by: Kever Yang [0]https://patchwork.kernel.org

[PATCH v3 1/2] board: rockchip: Add support for rk3588s based Cool Pi 4B

2024-02-17 Thread Andy Yan
module AIC8800 - 40 pin header The dts is from linux-6.8 rc1. Signed-off-by: Andy Yan Reviewed-by: Kever Yang [0]https://patchwork.kernel.org/project/linux-rockchip/patch/2450634.jE0xQCEvom@phil/ --- Changes in v3: - remove spl-boot-order as it is already in rk3588s-u-boot.dtsi - Enable

Re:Re: [PATCH v2 1/2] board: rockchip: Add support for rk3588s based Cool Pi 4B

2024-02-16 Thread Andy Yan
Hi Quentin: 在 2024-02-15 20:42:56,"Quentin Schulz" 写道: >Hi Andy, > >On 2/15/24 12:55, Andy Yan wrote: >> [You don't often get email from andys...@163.com. Learn why this is >> important at https://aka.ms/LearnAboutSenderIdentification ] >> >> Hi Q

Re:Re: [PATCH v2 1/2] board: rockchip: Add support for rk3588s based Cool Pi 4B

2024-02-15 Thread Andy Yan
Hi Quentin: At 2024-02-15 18:40:25, "Quentin Schulz" wrote: >Hi Andy, > >On 2/15/24 11:35, Andy Yan wrote: >[...] >>>> diff --git a/configs/coolpi-4b-rk3588s_defconfig >>>> b/configs/coolpi-4b-rk3588s_defconfig >>>> new file mode 1

Re:Re: [PATCH v2 1/2] board: rockchip: Add support for rk3588s based Cool Pi 4B

2024-02-15 Thread Andy Yan
At 2024-02-14 22:13:08, "Quentin Schulz" wrote: >Hi Andy, > >On 2/14/24 10:31, Andy Yan wrote: >> [You don't often get email from andys...@163.com. Learn why this is >> important at https://aka.ms/LearnAboutSenderIdentification ] >> >> CoolPi 4B i

[PATCH v2 1/2] board: rockchip: Add support for rk3588s based Cool Pi 4B

2024-02-14 Thread Andy Yan
module AIC8800 - 40 pin header The dts is from linux-6.8 rc1. Signed-off-by: Andy Yan Reviewed-by: Kever Yang --- Changes in v2: - sync dts from linux-rockchip which will be in linux-6.8 rc6[0] [0]https://patchwork.kernel.org/project/linux-rockchip/patch/2450634.jE0xQCEvom@phil/ arch/arm/dts

[PATCH v2 2/2] board: rockchip: Add support for rk3588 based Cool Pi CM5 EVB

2024-02-14 Thread Andy Yan
Type A out x 2 - HDMI Type D in x 1 - USB 2.0 Host x 2 - USB 3.0 OTG x 1 - USB 3.0 Host x 1 - PCIE M.2 E Key for Wireless connection - PCIE M.2 M Key for NVME connection - 40 pin header The dts is from linux-6.8 rc1. Signed-off-by: Andy Yan Reviewed-by: Kever Yang --- Changes in v2: - sync dts

[PATCH] rockchip: rk3588-evb: Enable USB support

2024-02-03 Thread Andy Yan
From: Andy Yan Enable USB releated config to support boot from usb. Signed-off-by: Andy Yan --- configs/evb-rk3588_defconfig | 12 1 file changed, 12 insertions(+) diff --git a/configs/evb-rk3588_defconfig b/configs/evb-rk3588_defconfig index 0b7b4f2f627..8a6aa91cb29 100644

[PATCH 1/2] board: rockchip: Add support for rk3588s based Cool Pi 4B

2024-01-20 Thread Andy Yan
module AIC8800 - 40 pin header The dts is from linux-6.8 rc1. Signed-off-by: Andy Yan --- arch/arm/dts/Makefile | 1 + arch/arm/dts/rk3588s-coolpi-4b-u-boot.dtsi | 30 + arch/arm/dts/rk3588s-coolpi-4b.dts | 813 + board/rockchip/evb_rk3588

[PATCH 2/2] board: rockchip: Add support for rk3588 based Cool Pi CM5 EVB

2024-01-20 Thread Andy Yan
Type A out x 2 - HDMI Type D in x 1 - USB 2.0 Host x 2 - USB 3.0 OTG x 1 - USB 3.0 Host x 1 - PCIE M.2 E Key for Wireless connection - PCIE M.2 M Key for NVME connection - 40 pin header The dts is from linux-6.8 rc1. Signed-off-by: Andy Yan --- .../arm/dts/rk3588-coolpi-cm5-evb-u-boot.dtsi | 30

Re:Re: [PATCH v2 13/17] video: rockchip: Add rk3328 vop support

2023-12-19 Thread Andy Yan
Hi Jaqan, 在 2023-12-19 15:42:26,"Jagan Teki" 写道: >Hi Andy, > >On Tue, Dec 19, 2023 at 6:50 AM Andy Yan wrote: >> >> >> Hi Jaqan: >> >> At 2023-12-19 03:11:10, "Jagan Teki" wrote: >> >From: Jagan Teki >> > >>

Re:[PATCH v2 13/17] video: rockchip: Add rk3328 vop support

2023-12-18 Thread Andy Yan
Hi Jaqan: At 2023-12-19 03:11:10, "Jagan Teki" wrote: >From: Jagan Teki > >Add support for Rockchip RK3328 VOP. > >Require VOP cleanup before handoff to Linux by writing reset values to >WIN registers. Without this Linux VOP trigger page fault as below >[0.752016] Loading compiled-in X.509

[PATCH v4] rockchip: rk3568: Add EmbedFire Lubancat 2 support

2023-08-05 Thread Andy Yan
for 2280 NVME - 40 pin header The dts file is sync from linux mainline. Signed-off-by: Andy Yan --- Changes in v4: - Add entry for this board to evb_rk3568/MAINTAINERS - document this board at doc/board/rockchip/rockchip.rst - restore the copyright header of dts from linux kernel - remove

Re:Re: [PATCH v3] rockchip: rk3568: Add EmbedFire Lubancat 2 support

2023-07-30 Thread Andy Yan
Hi Jonas: Thanks for you kindly review。 At 2023-07-30 21:22:36, "Jonas Karlman" wrote: >Hi Andy, > >On 2023-07-29 13:58, Andy Yan wrote: >> LubanCat2 is a rk3568 based SBC from EmbedFire. >> >> Specification: >> - Rockchip rk3568 &

[PATCH v3] rockchip: rk3568: Add EmbedFire Lubancat 2 support

2023-07-29 Thread Andy Yan
for 2280 NVME - 40 pin header The dts file is sync from linux mainline. There are some dts bootph-all and USB3 update according to Jonas suggestion[0], so this patch based on Jonas patch [1] [2]. Signed-off-by: Andy Yan [0]:http://patchwork.ozlabs.org/project/uboot/patch/20230708102556.25472-1-andys

[PATCH v2] rockchip: rk3568: Add support for Lubancat2 board from EmbedFire

2023-07-08 Thread Andy Yan
for 2280 NVME - 40 pin header The dts file is sync from linux mainline. Signed-off-by: Andy Yan --- Changes in v2: - enable SPL_FIT_SIGNATURE arch/arm/dts/Makefile | 3 +- arch/arm/dts/rk3568-lubancat-2-u-boot.dtsi | 87 +++ arch/arm/dts/rk3568-lubancat-2.dts | 734

Re:Re: [PATCH] rockchip: Restore support for boot scripts in legacy image format

2023-06-29 Thread Andy Yan
Hi: 在 2023-06-29 22:07:05,"Jonas Karlman" 写道: >Hi Kever, > >On 2023-06-29 12:51, Kever Yang wrote: >> Hi Jonas, >> >> What is the legacy image format, does these boards really use than? >> >> I think most of the board using linux distro image. > >The legacy image format

[PATCH] rockchip: rk3568: Add support for Lubancat2 board from EmbedFire

2023-06-22 Thread Andy Yan
for 2280 NVME - 40 pin header The dts file is sync from linux mainline. Signed-off-by: Andy Yan --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/rk3568-lubancat-2-u-boot.dtsi | 87 +++ arch/arm/dts/rk3568-lubancat-2.dts | 734 + configs/lubancat-2

Re: rockchip: correctly set vop0 or vop1

2020-06-27 Thread Andy Yan
Hi : On 6/27/20 8:56 PM, Kever Yang wrote: +Andy Yan for this topic, Hi Patrick and Arnaud,     I would like to leave this patch until the code fits for all the socs, Thanks, - Kever On 2020/6/8 下午8:39, Patrick Wildt wrote: On Mon, Jun 08, 2020 at 02:24:32PM +0200, Arnaud Patard wrote

[PATCH 1/2] rockchip: rk3308: allow loading larger kernel Image

2019-12-25 Thread Andy Yan
for them. Signed-off-by: Andy Yan --- include/configs/rk3308_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/rk3308_common.h b/include/configs/rk3308_common.h index a67d3d7d1b..bd9ac826f3 100644 --- a/include/configs/rk3308_common.h +++ b/include

[PATCH 2/2] doc: rockchip: Fix reference the wrong defconfig name of ROC-CC-RK3308

2019-12-25 Thread Andy Yan
The defconfig file for ROC-CC-RK3308 is roc-cc-rk3308_defconfig. Fixes: 7f08bfb74f04 ("doc: rockchip: Add documentation for rk3308 based boards") Signed-off-by: Andy Yan --- doc/README.rockchip | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/README.rock

[U-Boot] [PATCH 2/4] rockchip: rk3308: enable spl-fifo-mode for emmc

2019-11-26 Thread Andy Yan
We need load some parts of ATF to sram, but rockchip dwmmc controllers can't do dma to non-ddr addresses space, so set the mmc controller into fifo mode in spl. And show my best respect to Heiko's work for this solution. Signed-off-by: Andy Yan --- arch/arm/dts/rk3308-u-boot.dtsi | 2 ++ 1

[U-Boot] [PATCH 4/4] rockchip: evb-px5: disable NET

2019-11-26 Thread Andy Yan
PX5 evb has no ETH port, so disable it. Signed-off-by: Andy Yan --- configs/evb-px5_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/evb-px5_defconfig b/configs/evb-px5_defconfig index f9b17be10e..2d18da6cc8 100644 --- a/configs/evb-px5_defconfig +++ b

[U-Boot] [PATCH 1/4] doc: rockchip: Update build instruction for rk3308

2019-11-26 Thread Andy Yan
After commit d8765e2422cd ("Enable building of u-boot.itb on Rockchip platform"), u-boot.itb will automatically generated by "make all" command, manually command "make u-boot.itb" is no longer needed. Signed-off-by: Andy Yan --- doc/README.rockchip | 1 - 1 fil

[U-Boot] [PATCH 3/4] rockchip: px5: enable spl-fifo-mode for emmc for px5-evb

2019-11-26 Thread Andy Yan
We need load some parts of ATF to sram, but rockchip dwmmc controllers can't do dma to non-ddr addresses space, so set the mmc controller into fifo mode in spl. Signed-off-by: Andy Yan --- arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm

[U-Boot] [PATCH v3 9/9] doc: rockchip: Add documentation for rk3308 based boards

2019-11-13 Thread Andy Yan
Add build documentation for rk3308 based boards. Signed-off-by: Andy Yan --- Changes in v3: - Doc update with more detail message. doc/README.rockchip | 92 - 1 file changed, 91 insertions(+), 1 deletion(-) diff --git a/doc/README.rockchip b/doc

[U-Boot] [PATCH v3 8/9] rockchip: rk3308: Add support for ROC-RK3308-CC board

2019-11-13 Thread Andy Yan
ROC-RK3308-CC is a rk3308 based board designed by Firelfy, with eMMC and 256MB DDR3 and RTL8188 Wifi on board. Signed-off-by: Andy Yan --- Changes in v3: - rename config to roc-cc-rk3308_defconfig arch/arm/mach-rockchip/rk3308/Kconfig| 5 ++ board/firefly/firefly-rk3308/Kconfig

[U-Boot] [PATCH v3 7/9] rockchip: rk3308: Add dts for ROC-RK3308-CC

2019-11-13 Thread Andy Yan
Add dts file for ROC-RK3308-CC from firefly. Sync form linux rockchip for v5.5-armsoc/dts64: "arm64: dts: rockchip: Add devicetree for board roc-rk3308-cc" (sha1: 4403e1237be3af0977aa23ef399e3496316317a0) Signed-off-by: Andy Yan --- Changes in v3: - Add commit message. arch/arm/dt

[U-Boot] [PATCH v3 5/9] rockchip: rk3308: Add sdram driver

2019-11-13 Thread Andy Yan
A dm based dram driver for rk3308 u-boot to get capacity. Signed-off-by: Andy Yan Reviewed-by: Kever Yang --- Changes in v3: None drivers/ram/rockchip/Makefile | 1 + drivers/ram/rockchip/sdram_rk3308.c | 55 + 2 files changed, 56 insertions(+) create mode

[U-Boot] [PATCH v3 6/9] rockchip: mkimage: add support for RK3308

2019-11-13 Thread Andy Yan
Usage: (1) tools/mkimage -n rk3308 -T rksd -d tpl/u-boot-tpl.bin idbloader.img (2) cat spl/u-boot-spl.bin >> idbloader.img (3) upgrade_tool wl 0x40 idbloader.img Note: When use a ddr binary from rkbin as tpl, use it replace u-boot-tpl.bin in (1) Signed-off-by: Andy Yan Reviewed-by:

[U-Boot] [PATCH v3 2/9] rockchip: clk: Add clk driver for rk3308

2019-11-13 Thread Andy Yan
From: Finley Xiao Add clk controller driver for RK3308 SOC. This patch depends on Elaine's pll patch[0]. [0]http://patchwork.ozlabs.org/patch/1183718/ Signed-off-by: Andy Yan Reviewed-by: Kever Yang --- Changes in v3: None drivers/clk/rockchip/Makefile |1 + drivers/clk

[U-Boot] [PATCH v3 3/9] arm: dts: rockchip: Add dts for rk3308 evb

2019-11-13 Thread Andy Yan
Add dts for rk3308 evb, sync from the linux kernel upstream list [0]. [0]https://patchwork.kernel.org/patch/11201555/ Signed-off-by: Andy Yan Reviewed-by: Kever Yang --- Changes in v3: None arch/arm/dts/Makefile |3 + arch/arm/dts/rk3308-evb-u-boot.dtsi | 17 + arch/arm

[U-Boot] [PATCH v3 4/9] board: rockchip: Add rk3308 evb support

2019-11-13 Thread Andy Yan
Add support for rk3308 evaluation board. Signed-off-by: Andy Yan Reviewed-by: Kever Yang --- Changes in v3: None arch/arm/mach-rockchip/rk3308/Kconfig | 8 +++ board/rockchip/evb_rk3308/Kconfig | 15 + board/rockchip/evb_rk3308/MAINTAINERS | 6 ++ board/rockchip/evb_rk3308

[U-Boot] [PATCH v3 0/9] Add support for RK3308 SOC

2019-11-13 Thread Andy Yan
commit message. - rename config to roc-cc-rk3308_defconfig - Doc update with more detail message. Andy Yan (8): arm: rockchip: Add RK3308 SOC support arm: dts: rockchip: Add dts for rk3308 evb board: rockchip: Add rk3308 evb support rockchip: rk3308: Add sdram driver rockchip: mkimage: add

[U-Boot] [PATCH v3 1/9] arm: rockchip: Add RK3308 SOC support

2019-11-13 Thread Andy Yan
RK3308 is a quad Cortex A35 based SOC with rich audio interfaces(I2S/PCM/TDM/PDM/SPDIF/VAD/HDMI ARC), which designed for intelligent voice interaction and audio input/output processing. Signed-off-by: Andy Yan Reviewed-by: Kever Yang --- Changes in v3: None arch/arm/include/asm/arch-rk3308

[U-Boot] [PATCH v2 7/9] rockchip: rk3308: Add dts for ROC-RK3308-CC

2019-10-30 Thread Andy Yan
Signed-off-by: Andy Yan --- Changes in v2: None arch/arm/dts/Makefile | 3 +- arch/arm/dts/rk3308-roc-cc-u-boot.dtsi | 17 +++ arch/arm/dts/rk3308-roc-cc.dts | 190 + 3 files changed, 209 insertions(+), 1 deletion(-) create mode 100644 arch

[U-Boot] [PATCH v2 9/9] doc: rockchip: Add documentation for rk3308 based boards

2019-10-30 Thread Andy Yan
Add build documentation for rk3308 based boards. Signed-off-by: Andy Yan --- Changes in v2: - Update doc/README.rockchip doc/README.rockchip | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/doc/README.rockchip b/doc/README.rockchip index d17afeabdd

[U-Boot] [PATCH v2 6/9] rockchip: mkimage: add support for RK3308

2019-10-30 Thread Andy Yan
Usage: (1) tools/mkimage -n rk3308 -T rksd -d tpl/u-boot-tpl.bin idbloader.img (2) cat spl/u-boot-spl.bin >> idbloader.img (3) upgrade_tool wl 0x40 idbloader.img Note: When use a ddr binary from rkbin as tpl, use it replace u-boot-tpl.bin in (1) Signed-off-by: Andy Yan --- Changes

[U-Boot] [PATCH v2 5/9] rockchip: rk3308: Add sdram driver

2019-10-30 Thread Andy Yan
A dm based dram driver for rk3308 u-boot to get capacity. Signed-off-by: Andy Yan --- Changes in v2: None drivers/ram/rockchip/Makefile | 1 + drivers/ram/rockchip/sdram_rk3308.c | 55 + 2 files changed, 56 insertions(+) create mode 100644 drivers/ram

[U-Boot] [PATCH v2 8/9] rockchip: rk3308: Add support for ROC-RK3308-CC board

2019-10-30 Thread Andy Yan
Signed-off-by: Andy Yan --- Changes in v2: - Add board ROC-rk3308-CC arch/arm/mach-rockchip/rk3308/Kconfig| 5 ++ board/firefly/firefly-rk3308/Kconfig | 15 board/firefly/firefly-rk3308/MAINTAINERS | 5 ++ board/firefly/firefly-rk3308/Makefile| 7 ++ board

[U-Boot] [PATCH v2 1/9] arm: rockchip: Add RK3308 SOC support

2019-10-30 Thread Andy Yan
RK3308 is a quad Cortex A35 based SOC with rich audio interfaces(I2S/PCM/TDM/PDM/SPDIF/VAD/HDMI ARC), which designed for intelligent voice interaction and audio input/output processing. Signed-off-by: Andy Yan --- Changes in v2: None arch/arm/include/asm/arch-rk3308/boot0.h | 11

[U-Boot] [PATCH v2 2/9] rockchip: clk: Add clk driver for rk3308

2019-10-30 Thread Andy Yan
From: Finley Xiao Add clk controller driver for RK3308 SOC. Signed-off-by: Andy Yan --- Changes in v2: None drivers/clk/rockchip/Makefile |1 + drivers/clk/rockchip/clk_rk3308.c | 1078 include/dt-bindings/clock/rk3308-cru.h | 387 + 3

[U-Boot] [PATCH v2 3/9] arm: dts: rockchip: Add dts for rk3308 evb

2019-10-30 Thread Andy Yan
Add dts for rk3308 evb, sync from the linux kernel upstream list [0]. [0]https://patchwork.kernel.org/patch/11201555/ Signed-off-by: Andy Yan --- Changes in v2: None arch/arm/dts/Makefile |3 + arch/arm/dts/rk3308-evb-u-boot.dtsi | 17 + arch/arm/dts/rk3308-evb.dts

[U-Boot] [PATCH v2 4/9] board: rockchip: Add rk3308 evb support

2019-10-30 Thread Andy Yan
Add support for rk3308 evaluation board. Signed-off-by: Andy Yan --- Changes in v2: None arch/arm/mach-rockchip/rk3308/Kconfig | 8 +++ board/rockchip/evb_rk3308/Kconfig | 15 + board/rockchip/evb_rk3308/MAINTAINERS | 6 ++ board/rockchip/evb_rk3308/Makefile | 7 +++ board

[U-Boot] [PATCH v2 0/9] Add support for RK3308 SOC

2019-10-30 Thread Andy Yan
-RK3308-CC will coming soon. Changes in v2: - Add board ROC-rk3308-CC - Update doc/README.rockchip Andy Yan (8): arm: rockchip: Add RK3308 SOC support arm: dts: rockchip: Add dts for rk3308 evb board: rockchip: Add rk3308 evb support rockchip: rk3308: Add sdram driver rockchip: mkimage: add

[U-Boot] [PATCH 6/6] rockchip: mkimage: add support for RK3308

2019-10-25 Thread Andy Yan
Usage: (1) tools/mkimage -n rk3308 -T rksd -d tpl/u-boot-tpl.bin idbloader.img (2) cat spl/u-boot-spl.bin >> idbloader.img (3) upgrade_tool wl 0x40 idbloader.img Note: When use a ddr binary from rkbin as tpl, use it replace u-boot-tpl.bin in (1) Signed-off-by: Andy Yan ---

[U-Boot] [PATCH 5/6] rockchip: rk3308: Add sdram driver

2019-10-25 Thread Andy Yan
A dm based dram driver for rk3308 u-boot to get capacity. Signed-off-by: Andy Yan --- drivers/ram/rockchip/Makefile | 1 + drivers/ram/rockchip/sdram_rk3308.c | 55 + 2 files changed, 56 insertions(+) create mode 100644 drivers/ram/rockchip/sdram_rk3308.c

[U-Boot] [PATCH 4/6] board: rockchip: Add rk3308 evb support

2019-10-25 Thread Andy Yan
Add support for rk3308 evaluation board. Signed-off-by: Andy Yan --- arch/arm/mach-rockchip/rk3308/Kconfig | 8 +++ board/rockchip/evb_rk3308/Kconfig | 15 + board/rockchip/evb_rk3308/MAINTAINERS | 6 ++ board/rockchip/evb_rk3308/Makefile | 7 +++ board/rockchip/evb_rk3308

[U-Boot] [PATCH 2/6] rockchip: clk: Add clk driver for rk3308

2019-10-25 Thread Andy Yan
From: Finley Xiao Add clk controller driver for RK3308 SOC. Signed-off-by: Andy Yan --- drivers/clk/rockchip/Makefile |1 + drivers/clk/rockchip/clk_rk3308.c | 1078 include/dt-bindings/clock/rk3308-cru.h | 387 + 3 files changed, 1466

[U-Boot] [PATCH 0/6] Add support for RK3308 SOC

2019-10-25 Thread Andy Yan
-RK3308-CC will coming soon. Andy Yan (5): arm: rockchip: Add RK3308 SOC support arm: dts: rockchip: Add dts for rk3308 evb board: rockchip: Add rk3308 evb support rockchip: rk3308: Add sdram driver rockchip: mkimage: add support for RK3308 Finley Xiao (1): rockchip: clk: Add clk driver

[U-Boot] [PATCH 3/6] arm: dts: rockchip: Add dts for rk3308 evb

2019-10-25 Thread Andy Yan
Add dts for rk3308 evb, sync from the linux kernel upstream list [0]. [0]https://patchwork.kernel.org/patch/11201555/ Signed-off-by: Andy Yan --- arch/arm/dts/Makefile |3 + arch/arm/dts/rk3308-evb-u-boot.dtsi | 17 + arch/arm/dts/rk3308-evb.dts | 230 arch

[U-Boot] [PATCH 1/6] arm: rockchip: Add RK3308 SOC support

2019-10-25 Thread Andy Yan
RK3308 is a quad Cortex A35 based SOC with rich audio interfaces(I2S/PCM/TDM/PDM/SPDIF/VAD/HDMI ARC), which designed for intelligent voice interaction and audio input/output processing. Signed-off-by: Andy Yan --- arch/arm/include/asm/arch-rk3308/boot0.h | 11 + arch/arm/include/asm

[U-Boot] [PATCH] rockchip: rk3399: Add Leez P710 support

2019-09-21 Thread Andy Yan
From: Andy Yan Specification - Rockchip RK3399 - LPDDR4 - TF sd scard slot - eMMC - M.2 B-Key for 4G LTE - AP6256 for WiFi + BT - Gigabit ethernet - HDMI out - 40 pin header - USB 2.0 x 2 - USB 3.0 x 1 - USB 3.0 Type-C x 1 - TYPE-C Power supply Signed-off-by: Andy Yan Signed-off-by: Andy Yan

Re: [U-Boot] [PATCH v3 1/2] rockchip: make_fit_atf.py: Eliminate pyelftools dependency

2019-07-16 Thread Andy Yan
into variables named to exactly match the ELF spec to ensure the destructuring code is reasonably self-documenting. Signed-off-by: Chris Webb Reviewed-by: Andy Yan --- arch/arm/mach-rockchip/make_fit_atf.py | 75 +++--- 1 file changed, 32 insertions(+), 43 deletions(-) diff

Re: [U-Boot] [PATCH v2 1/2] rockchip: make_fit_atf.py: Eliminate pyelftools dependency

2019-07-16 Thread Andy Yan
Hi Chris: On 7/14/19 4:46 PM, Chris Webb wrote: make_fit_aft.py depends on the non-standard library pyelftools to pull out PT_LOAD segments from ELF files. However, this is as easy to do manually, without imposing the extra dependency on users. Structures in the ELF file are unpacked into

[U-Boot] [PATCH] rockchip: dts: rk3399: Add 'same-as-spl' for Rock PI 4

2019-07-16 Thread Andy Yan
Let the board continue boot from the storage device where it bootup. Signed-off-by: Andy Yan --- arch/arm/dts/rk3399-rock-pi-4-u-boot.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/rk3399-rock-pi-4-u-boot.dtsi b/arch/arm/dts/rk3399-rock-pi-4-u-boot.dtsi

Re: [U-Boot] [PATCH] rockchip: dts: rk3399: Add spl-boot-order for Rock PI 4

2019-07-07 Thread Andy Yan
Hi Mark: Mark Kettenis 于2019年7月4日周四 下午3:16写道: > > From: Andy Yan > > Date: Thu, 4 Jul 2019 14:52:47 +0800 > > > > RK3399 use sdhci for eMMC and DW MMC for SD Card, and > > spl will only try to boot from SDMMC if we don't specify > > other boot device for sp

Re: [U-Boot] [PATCH] rockchip: make_fit_atf.py: fix loadables property set error【请注意,邮件由mark.kette...@sibelius.xs4all.nl代发】

2019-07-07 Thread Andy Yan
, Andy Yan wrote: Commit b238e4b00ced ("rockchip: Cleanup of make_fit_atf.py.") set firmware = "atf_1"; loadables = "uboot","atf_1","atf_2"; Actually it should be: firmware = "atf_1"; loadables = "uboot","atf_2",&quo

Re: [U-Boot] [PATCH v2 2/3] spl: add relocation support【请注意,邮件由s...@google.com代发】

2019-07-06 Thread Andy Yan
Hi Simon: Simon Glass 于2019年7月7日周日 上午1:16写道: > Hi Andy, > > On Mon, 24 Jun 2019 at 04:37, Andy Yan wrote: > > > > Hi Simon: > > > > Glad to see you online again. > > > > On 2019/6/23 上午3:10, Simon Glass wrote: > > > Hi Andy, >

Re: [U-Boot] [PATCH] rockchip: make_fit_atf.py: fix loadables property set error

2019-07-05 Thread Andy Yan
Hi  Christoph: On 2019/7/5 下午5:15, Christoph Müllner wrote: On 04.07.19 11:44, Andy Yan wrote: Commit b238e4b00ced ("rockchip: Cleanup of make_fit_atf.py.") set firmware = "atf_1"; loadables = "uboot","atf_1","atf_2"; Actually it should

[U-Boot] [PATCH] rockchip: make_fit_atf.py: fix loadables property set error

2019-07-04 Thread Andy Yan
Commit b238e4b00ced ("rockchip: Cleanup of make_fit_atf.py.") set firmware = "atf_1"; loadables = "uboot","atf_1","atf_2"; Actually it should be: firmware = "atf_1"; loadables = "uboot","atf_2","atf_3"; Si

[U-Boot] [PATCH] rockchip: dts: rk3399: Add spl-boot-order for Rock PI 4

2019-07-04 Thread Andy Yan
RK3399 use sdhci for eMMC and DW MMC for SD Card, and spl will only try to boot from SDMMC if we don't specify other boot device for spl-boot-order. So add sdhci and sdmmc for spl-boot-order here. Signed-off-by: Andy Yan --- arch/arm/dts/rk3399-rock-pi-4-u-boot.dtsi | 5 + 1 file changed

Re: [U-Boot] [PATCH v2 2/3] spl: add relocation support【请注意,邮件由s...@google.com代发】

2019-06-24 Thread Andy Yan
Hi Simon: Glad to see you online again. On 2019/6/23 上午3:10, Simon Glass wrote: Hi Andy, On Tue, 28 May 2019 at 09:34, Andy Yan wrote: Hi Simon: On 2019/5/23 上午3:39, Simon Glass wrote: Hi Andy, On Tue, 21 May 2019 at 19:56, Andy Yan wrote: Hi Simon: Simon Glass 于2019年5月22日周三 上午8:28写道

[U-Boot] [PATCH] dm: mmc: remove unused U_BOOT_DRIVER(mmc)

2019-05-31 Thread Andy Yan
From: Andy Yan When look through the code, I found this bare metal drives is not used, so remove it. Signed-off-by: Andy Yan --- drivers/mmc/mmc-uclass.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/mmc/mmc-uclass.c b/drivers/mmc/mmc-uclass.c index a9c8f335c1..7e641ed5a6

Re: [U-Boot] [PATCH v2 2/3] spl: add relocation support【请注意,邮件由s...@google.com代发】

2019-05-28 Thread Andy Yan
Hi Simon: On 2019/5/23 上午3:39, Simon Glass wrote: Hi Andy, On Tue, 21 May 2019 at 19:43, Andy Yan wrote: Hi Andre: Andre Przywara 于2019年5月20日周一 下午11:59写道: On Mon, 20 May 2019 14:34:01 +0800 Andy Yan wrote: Hi, On 2019/5/19 上午12:26, Simon Glass wrote: Hi Andy, Instead of this could

Re: [U-Boot] [PATCH v2 2/3] spl: add relocation support【请注意,邮件由s...@google.com代发】

2019-05-28 Thread Andy Yan
Hi Simon: On 2019/5/23 上午3:39, Simon Glass wrote: Hi Andy, On Tue, 21 May 2019 at 19:56, Andy Yan wrote: Hi Simon: Simon Glass 于2019年5月22日周三 上午8:28写道: Hi Andy, On Tue, 21 May 2019 at 00:51, Andy Yan wrote: Hi Simon: On 2019/5/20 下午11:35, Simon Glass wrote: Hi Andy, On Mon, 20 May

Re: [U-Boot] [PATCH v2 2/3] spl: add relocation support【请注意,邮件由s...@google.com代发】

2019-05-21 Thread Andy Yan
Hi Simon: Simon Glass 于2019年5月22日周三 上午8:28写道: > Hi Andy, > > On Tue, 21 May 2019 at 00:51, Andy Yan wrote: > > > > Hi Simon: > > > > On 2019/5/20 下午11:35, Simon Glass wrote: > > > Hi Andy, > > > > > > On Mon, 20 May 2019 at 00:34, An

Re: [U-Boot] [PATCH v2 2/3] spl: add relocation support【请注意,邮件由s...@google.com代发】

2019-05-21 Thread Andy Yan
Hi Andre: Andre Przywara 于2019年5月20日周一 下午11:59写道: > On Mon, 20 May 2019 14:34:01 +0800 > Andy Yan wrote: > > Hi, > > > On 2019/5/19 上午12:26, Simon Glass wrote: > > > Hi Andy, > > > > > > Instead of this could you: > > > > > > -

Re: [U-Boot] [PATCH v2 2/3] spl: add relocation support【请注意,邮件由s...@google.com代发】

2019-05-21 Thread Andy Yan
Hi Simon: On 2019/5/20 下午11:35, Simon Glass wrote: Hi Andy, On Mon, 20 May 2019 at 00:34, Andy Yan wrote: Hi Simon: On 2019/5/19 上午12:26, Simon Glass wrote: Hi Andy, Instead of this could you: - move ATF? All rockchip based arm64 ATF run from the start 64KB of dram as this will give

Re: [U-Boot] [PATCH v2 2/3] spl: add relocation support【请注意,邮件由s...@google.com代发】

2019-05-20 Thread Andy Yan
and run it (I think x86 does this) Regards, Simon On Thu, 16 May 2019 at 06:22, Andy Yan wrote: Some times we want to relocate spl code to dram after dram initialization or relocate spl code to a high memory to avoid code overid. For example on Rockchip armv8 platform, we run with boot flow TPL->

Re: [U-Boot] [PATCH v2 2/3] spl: add relocation support

2019-05-17 Thread Andy Yan
Hi Lukasz: On 2019/5/17 下午4:34, Lukasz Majewski wrote: On Thu, 16 May 2019 20:21:50 +0800 Andy Yan wrote: Some times we want to relocate spl code to dram after dram initialization or relocate spl code to a high memory to avoid code overid. For example on Rockchip armv8 platform, we run

[U-Boot] [PATCH v2 3/3] arm: add spl relocation support for arm

2019-05-16 Thread Andy Yan
run from the start address of dram and is responsible for loading ATF and U-Boot. The case here is that the ATF load address is from 64KB of dram, which overlaps with spl code itself. So we want to relocate spl itself to high memory to aovid this. Signed-off-by: Andy Yan --- Changes in v2: - Add mo

[U-Boot] [PATCH v2 2/3] spl: add relocation support

2019-05-16 Thread Andy Yan
run from the start address of dram and is responsible for loading ATF and U-Boot. The case here is that the ATF load address is from 64KB of dram, which overlaps with spl code itself. So we want to relocate spl itself to high memory to aovid this. Signed-off-by: Andy Yan --- Changes in v2: - Mov

[U-Boot] [PATCH v2 1/3] powerpc: Convert CONFIG_SPL_RELOC_TEXT_BASE to Kconfig

2019-05-16 Thread Andy Yan
Move CONFIG_SPL_RELOC_TEXT_BASE and CONFIG_SPL_SKIP_RELOCATE to Kconfig, so we can reuse it for cross other platform. Signed-off-by: Andy Yan --- Changes in v2: None common/spl/Kconfig | 13 + configs/BSC9131RDB_NAND_SYSCLK100_defconfig | 2 ++ configs

[U-Boot] [PATCH v2 0/3] Enable spl relocation on arm

2019-05-16 Thread Andy Yan
ation. So I dicide share the config with powerpc. Changes in v2: - Move Kconfig modification to PATCH 1/3 - Add more detial commit message Andy Yan (3): powerpc: Convert CONFIG_SPL_RELOC_TEXT_BASE to Kconfig spl: add relocation support arm: add spl relocation support for arm arch/arm/

Re: [U-Boot] [PATCH 2/2] arm: add spl relocation support for armv8

2019-04-29 Thread Andy Yan
Hi Marek, Fabio: On 2019/4/29 下午7:46, Marek Vasut wrote: On 4/29/19 1:38 PM, Andy Yan wrote: Hi Fabio: On 2019/4/29 下午7:08, Fabio Estevam wrote: Hi Andy, On Mon, Apr 29, 2019 at 6:06 AM Andy Yan wrote: Relocate spl itself to a high memory. Please improve the commit message and explain

Re: [U-Boot] [PATCH 2/2] arm: add spl relocation support for armv8

2019-04-29 Thread Andy Yan
Hi Fabio: On 2019/4/29 下午7:08, Fabio Estevam wrote: Hi Andy, On Mon, Apr 29, 2019 at 6:06 AM Andy Yan wrote: Relocate spl itself to a high memory. Please improve the commit message and explain the reason for doing this. The detail reason I described in [PATCH 1/2],  you are in the list

Re: [U-Boot] [PATCH 3/3] rockchip: rk3399: update defconfig for TPL

2019-04-29 Thread Andy Yan
fly-rk3399_defconfig | 6 -- > 2 files changed, 8 insertions(+), 4 deletions(-) > > Tested-by: Andy Yan > diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig > index 3a0ed1808b..b5a6019343 100644 > --- a/configs/evb-rk3399_defconfig > +++ b/configs/evb-rk

Re: [U-Boot] [PATCH v2 09/10] rockchip: rk3399: use grf structure to access reg

2019-04-29 Thread Andy Yan
Kever Yang 于2019年3月29日周五 上午9:13写道: > Prefer to use structure to access register if we could. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3399/rk3399.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > Tested-by: Andy Yan &

Re: [U-Boot] [PATCH 3/8] rockchip: px5: update SPL size for spl/tpl

2019-04-29 Thread Andy Yan
Kever Yang 于2019年3月29日周五 下午10:55写道: > Signed-off-by: Kever Yang > --- > > include/configs/evb_px5.h | 1 + > include/configs/rk3368_common.h | 3 ++- > 2 files changed, 3 insertions(+), 1 deletion(-) > > Tested-by: Andy Yan > diff --git a/include/configs/

Re: [U-Boot] [PATCH 8/8] rockchip: px5: add timer0 dts node as tick timer

2019-04-29 Thread Andy Yan
Kever Yang 于2019年3月29日周五 下午10:54写道: > Let's use rockchip timer before stimer patches can be merged. > > Signed-off-by: Kever Yang > --- > > arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 7 +++ > 1 file changed, 7 insertions(+) > > Tested-by: Andy Yan > diff -

Re: [U-Boot] [PATCH 2/3] rockchip: ram: rk3399: update for TPL

2019-04-29 Thread Andy Yan
Kever Yang 于2019年4月1日周一 下午5:25写道: > Init the ddr sdram in TPL instead of SPL, update the code. > > Signed-off-by: Kever Yang > --- > > drivers/ram/rockchip/sdram_rk3399.c | 15 ++- > 1 file changed, 10 insertions(+), 5 deletions(-) > > Tested-by: Andy Ya

Re: [U-Boot] [PATCH 7/8] rockchip: rk3368: remove uart iomux init in SPL

2019-04-29 Thread Andy Yan
Hi Kever: Kever Yang 于2019年3月29日周五 下午10:55写道: > The iomux should have been set in board_debug_uart_init(), > do not set in board_init_f(), remove it. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3368-board-spl.c | 13 - > 1 file changed, 13 deletions(-) > >

Re: [U-Boot] [PATCH 1/8] rockchip: rk3368: support UART2/4 in board_debug_uart_init()

2019-04-29 Thread Andy Yan
Kever Yang 于2019年3月29日周五 下午10:54写道: > evb-rk3368 is using UART2 and PX5 evb is using UART4 > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3368/rk3368.c | 40 ++ > 1 file changed, 40 insertions(+) > > Tested-by: Andy Yan &

Re: [U-Boot] [PATCH 4/8] rockchip: px5: update defconfig for TPL/SPL

2019-04-29 Thread Andy Yan
Kever Yang 于2019年3月29日周五 下午10:54写道: > Signed-off-by: Kever Yang > --- > > configs/evb-px5_defconfig | 56 +-- > 1 file changed, 54 insertions(+), 2 deletions(-) > > Tested-by: Andy Yan > diff --git a/configs/evb-px5_defconfig b/c

Re: [U-Boot] [PATCH 6/8] rockchip: dmc: rk3368: update rank number for evb-px5

2019-04-29 Thread Andy Yan
Kever Yang 于2019年3月29日周五 下午10:53写道: > evb-px5 has only 1 CS, update for it. > > Signed-off-by: Kever Yang > --- > > drivers/ram/rockchip/dmc-rk3368.c | 4 > 1 file changed, 4 insertions(+) > > Tested-by: Andy Yan > diff --git a/drivers/ram/rockchip/dmc-rk3

Re: [U-Boot] [PATCH 2/8] rockchip: px5 update dts for spl/tpl

2019-04-29 Thread Andy Yan
Kever Yang 于2019年3月29日周五 下午10:52写道: > TPL need dmc to init ddr sdram, and emmc, boot-order. > > Signed-off-by: Kever Yang > --- > > arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 29 + > 1 file changed, 29 insertions(+) > > Tested-by: Andy Yan

Re: [U-Boot] [PATCH v2 08/10] rockchip: rk3368: move board_debug_uart_init() to rk3368.c

2019-04-29 Thread Andy Yan
| 8 -- > arch/arm/mach-rockchip/rk3368-board-tpl.c | 33 +-- > arch/arm/mach-rockchip/rk3368/rk3368.c| 31 + > 3 files changed, 32 insertions(+), 40 deletions(-) > > Tested-by: Andy Yan > diff --git a/arch/arm/mach-rockchip/rk3

[U-Boot] [PATCH 2/2] arm: add spl relocation support for armv8

2019-04-29 Thread Andy Yan
Relocate spl itself to a high memory. Signed-off-by: Andy Yan --- arch/arm/config.mk| 6 ++ arch/arm/cpu/armv8/start.S| 4 arch/arm/cpu/armv8/u-boot-spl.lds | 17 + arch/arm/lib/Makefile | 2 +- arch/arm/lib/crt0_64.S

[U-Boot] [PATCH 1/2] spl: add relocation support

2019-04-29 Thread Andy Yan
run from the start address of dram and is responsible for loading ATF and U-Boot. The case here is that the ATF load address is from 64KB of dram, which overlaps with spl code itself. So we want to relocate spl itself to high memory to aovid this. Signed-off-by: Andy Yan --- common/spl/Kco

Re: [U-Boot] [U-Boot, 2/2] rockchip: Drop call to rockchip_dnl_mode_check() for now【请注意,邮件由u-boot-boun...@lists.denx.de代发】【请注意,邮件由s...@google.com代发】

2019-03-12 Thread Andy Yan
Hi Simon: On 2019/3/11 上午10:30, Simon Glass wrote: Hi Andy, On Wed, 6 Mar 2019 at 03:52, Andy Yan wrote: Hi Simon: On 2019/2/12 下午11:31, Simon Glass wrote: HI Andy, On Tue, 12 Feb 2019 at 04:05, Andy Yan wrote: Hi Philipp: Sorry for the late reply, we just come back from

Re: [U-Boot] [U-Boot, 2/2] rockchip: Drop call to rockchip_dnl_mode_check() for now【请注意,邮件由u-boot-boun...@lists.denx.de代发】【请注意,邮件由s...@google.com代发】

2019-03-06 Thread Andy Yan
Hi Simon: On 2019/2/12 下午11:31, Simon Glass wrote: HI Andy, On Tue, 12 Feb 2019 at 04:05, Andy Yan wrote: Hi Philipp: Sorry for the late reply, we just come back from the Chinese Spring Festival. On 2019/2/1 下午6:26, Philipp Tomsich wrote: Kever, Independent of whether we revert

Re: [U-Boot] [U-Boot, 2/2] rockchip: Drop call to rockchip_dnl_mode_check() for now【请注意,邮件由u-boot-boun...@lists.denx.de代发】

2019-02-11 Thread Andy Yan
Hi Philipp:     Sorry for the late reply, we just come back from the Chinese Spring Festival. On 2019/2/1 下午6:26, Philipp Tomsich wrote: Kever, Independent of whether we revert this for the current cycle (and also independent of if I ever find the other patch you had been referring to — I

Re: [U-Boot] [PATCH 05/18] rockchip: Add mention of other boards

2019-01-20 Thread Andy Yan
Hi Simon: Simon Glass 于2019年1月10日周四 下午12:30写道: > At present some Rockchip SoCs and boards are not mentioned in the README. > So that people can see which SoCs are supported, expand the list to > include everything. > > Signed-off-by: Simon Glass > --- > > doc/README.rockchip | 43

Re: [U-Boot] [PATCH v3 0/9] Stop AXP from crashing when enabling LDO3

2018-11-28 Thread Andy Yan
Hi : Priit Laes 于2018年11月28日周三 下午10:23写道: > On Wed, Nov 28, 2018 at 08:23:37PM +0800, Andy Yan wrote: > > Hi : > > Andy Yan 于2018年11月28日周三 下午7:10写道: > > > > > Hi: > > > Priit Laes 于2018年11月22日周四 上午2:06写道: > > > > > >> This is

Re: [U-Boot] [PATCH v3 0/9] Stop AXP from crashing when enabling LDO3

2018-11-28 Thread Andy Yan
Hi : Andy Yan 于2018年11月28日周三 下午7:10写道: > Hi: > Priit Laes 于2018年11月22日周四 上午2:06写道: > >> This is a resend/v2 of a "Stop AXP from crashing when enabling LDO3" >> series, >> posted by Olliver Schinagl in March 2017. Unfortunately it never got past >> in

Re: [U-Boot] [PATCH v3 0/9] Stop AXP from crashing when enabling LDO3

2018-11-28 Thread Andy Yan
Hi: Priit Laes 于2018年11月22日周四 上午2:06写道: > This is a resend/v2 of a "Stop AXP from crashing when enabling LDO3" > series, > posted by Olliver Schinagl in March 2017. Unfortunately it never got past > initial discussion [1], but most Olimex Lime2 boards are still running > into this bug. > > When

Re: [U-Boot] [PATCH v2 3/5] rv1108: Enable eMMC support

2018-11-26 Thread Andy Yan
Hi: On 2018/11/27 上午12:18, Otavio Salvador wrote: On Tue, Nov 20, 2018 at 4:56 PM Otavio Salvador wrote: This adds the pinctrl handles to enable the use of eMMC on custom boards (as minievk) and makes it easier for later addition. Signed-off-by: Otavio Salvador Andy, did you review it? Is

Re: [U-Boot] [PATCH v2 5/5] rv1108: Add support for default distro_bootcmd

2018-11-26 Thread Andy Yan
TTINGS \ + ENV_MEM_LAYOUT_SETTINGS \ + "fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \ + "partitions=" PARTS_DEFAULT \ + BOOTENV +#endif Reviewed-by: Andy Yan ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v2 4/5] rv1108: Make USB OTG functional

2018-11-26 Thread Andy Yan
Hi: On 2018/11/21 上午2:55, Otavio Salvador wrote: Like it is done for other Rockchip SoCs, introduce a board_usb_init() function so that USB OTG can be functional on rv1108 too. Signed-off-by: Otavio Salvador --- Changes in v2: None arch/arm/dts/rv1108.dtsi | 45

  1   2   3   >