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

2023-07-08 Thread Andy Yan
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

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

2023-07-29 Thread Andy Yan
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

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 v4] rockchip: rk3568: Add EmbedFire Lubancat 2 support

2023-08-05 Thread Andy Yan
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:[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

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 >> > >> &

[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

[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] 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 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 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

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

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-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 ] >> >>

[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

[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

[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 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 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 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 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 + driver

[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 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 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 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 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 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 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 for

[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 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 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 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 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 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 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 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 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 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 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 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 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

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
M gab 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/in

[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

Re: [U-Boot] [PATCH v2 1/5] clk_rv1108: Sync with vendor tree

2018-11-26 Thread Andy Yan
Hi On 2018/11/21 上午2:55, Otavio Salvador wrote: Make adjustments to the rv1108 clock driver in order to align it with the internal Rockchip version. Signed-off-by: Otavio Salvador --- Changes in v2: None .../include/asm/arch-rockchip/cru_rv1108.h| 143 +- drivers/clk/rockchip/clk_

Re: [U-Boot] [PATCH v2 2/5] rv1108: Enable BOUNCE_BUFFER

2018-11-26 Thread Andy Yan
) #define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 0x200) 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 3/5] rv1108: Enable eMMC support

2018-11-26 Thread Andy Yan
Hi:  The subject should be something like: "Arm: dts: rockchip: add emmc pinctrl for rv1108" On 2018/11/21 上午2:55, 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 Salvad

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 ++-

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 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 t

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 p

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月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

[U-Boot] [PATCH] image-fdt: reserve lmb for fdt

2018-08-07 Thread Andy Yan
t a fdt - must RESET the board to recover. FDT creation failed! hanging...### ERROR ### Please RESET the board ### Signed-off-by: Andy Yan --- common/image-fdt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/image-fdt.c b/common/image-fdt.c index 9b41f16248..56f6d7e26b 100644

Re: [U-Boot] [PATCH] image-fdt: reserve lmb for fdt

2018-08-24 Thread Andy Yan
ping Andy Yan 于2018年8月7日周二 下午7:43写道: > Memory region for fdt should be reserved, or they > may be allocated by other module via lmb_alloc. > Then the fdt data will be destroy. > > We found a case on a board with 64MB DRAM like bellow: > > No ethernet found. > Hit any

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 c

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] Rockchip RV1108 eMMC support not working

2018-10-08 Thread Andy Yan
Hi Otavio: Otavio Salvador 于2018年10月9日周二 上午3:29写道: > Hi, > > We have a custom board based on rv1108 evb where we are trying to add > eMMC support. > > Here are the changes we made so far: > > arch/arm/dts/rv1108-evb.dts | 45 > + > configs/evb-rv1108_d

Re: [U-Boot] Rockchip RV1108 eMMC support not working

2018-10-08 Thread Andy Yan
Hi Otavio: I sent a mmc patch to you which I got from vincent, please have a try. Otavio Salvador 于2018年10月9日周二 上午10:21写道: > Hello Andy, > > On Mon, Oct 8, 2018 at 11:03 PM Andy Yan wrote: > > Otavio Salvador 于2018年10月9日周二 > 上午3:29写道: > > I don't have a 11

Re: [U-Boot] [PATCH] image-fdt: reserve lmb for fdt

2018-10-09 Thread Andy Yan
Hi Simon: Simon Glass 于2018年8月30日周四 上午8:42写道: > On 7 August 2018 at 05:44, Andy Yan wrote: > > Memory region for fdt should be reserved, or they > > may be allocated by other module via lmb_alloc. > > Then the fdt data will be destroy. > > > > We found a ca

Re: [U-Boot] [PATCH 2/4] rv1108: Enable eMMC support

2018-11-18 Thread Andy Yan
Hi Otavio: It's better to spilt the dtsi and config header file as two patches. And when you send different versions , you should mark your series with v1, v2... On 2018/11/19 上午4:56, Otavio Salvador wrote: In order to be able to build the Rockchip eMMC driver on rv1108, the CONFIG_BOUNCE_B

[U-Boot] [PATCH] ARM: make memset and memcpy prompt message more clearly

2017-06-28 Thread Andy Yan
The origin SPL_USE_ARCH_MEMSET/MEMCPY use same prompt message as USE_ARCH_MEMSET/MEMCPY, which makes it's hard to distinguish them in menuconfig interface. This patch gives them different prompt messages for spl and none-spl config. Signed-off-by: Andy Yan --- arch/arm/Kconfig | 4 ++-- 1

Re: [U-Boot] [PATCH 0/5] fix the boot issue of Rockchip RK3036

2017-07-03 Thread Andy Yan
Hi Philipp: On 2017年06月30日 16:14, Dr. Philipp Tomsich wrote: Andy, On 30 Jun 2017, at 09:47, Andy Yan wrote: As Kever mentioned in [0], the RK3036 based boards could't bootup for a long time. After a git bisect, I found the RK3036 SPL code size has increased from patch [1] [2]. B

Re: [U-Boot] [PATCH 0/5] fix the boot issue of Rockchip RK3036

2017-07-04 Thread Andy Yan
Hi Heiko: On 2017年07月05日 03:54, Heiko Stübner wrote: Hi Andy, Am Montag, 3. Juli 2017, 16:02:59 CEST schrieb Andy Yan: On 2017年06月30日 16:14, Dr. Philipp Tomsich wrote: On 30 Jun 2017, at 09:47, Andy Yan wrote: As Kever mentioned in [0], the RK3036 based boards could't bootup for a

Re: [U-Boot] [PATCH 0/5] fix the boot issue of Rockchip RK3036

2017-07-04 Thread Andy Yan
Hi Tom: On 2017年07月04日 21:32, Tom Rini wrote: On Mon, Jul 03, 2017 at 04:02:59PM +0800, Andy Yan wrote: Hi Philipp: On 2017年06月30日 16:14, Dr. Philipp Tomsich wrote: Andy, On 30 Jun 2017, at 09:47, Andy Yan wrote: As Kever mentioned in [0], the RK3036 based boards could't bootup

Re: [U-Boot] [PATCH 0/5] fix the boot issue of Rockchip RK3036

2017-07-04 Thread Andy Yan
Hi Tom: On 2017年07月05日 09:56, Tom Rini wrote: On Wed, Jul 05, 2017 at 09:08:47AM +0800, Andy Yan wrote: Hi Tom: On 2017年07月04日 21:32, Tom Rini wrote: On Mon, Jul 03, 2017 at 04:02:59PM +0800, Andy Yan wrote: Hi Philipp: On 2017年06月30日 16:14, Dr. Philipp Tomsich wrote: Andy, On 30 Jun

Re: [U-Boot] [PATCH 1/5] board_init.c: make the reserve functions as weak

2017-07-06 Thread Andy Yan
Hi Simon: On 2017年07月07日 11:58, Simon Glass wrote: Hi Andy, On 30 June 2017 at 01:47, Andy Yan wrote: Some platform like rk3036 has no enough sapce for malloc and also has no necessary to use malloc function in spl stage. But the malloc pool is need in u-boot stage before relocation.Make

[U-Boot] [PATCH v2 2/9] mips: spl and normal u-boot stage set SYS_MALLOC_F indepently

2017-07-12 Thread Andy Yan
Some platforms has very small sram to run spl code, so it may have no enough sapce for so much malloc pool before relocation in spl stage as the normal u-boot stage. Signed-off-by: Andy Yan --- Changes in v2: None arch/mips/cpu/start.S | 8 ++-- 1 file changed, 6 insertions(+), 2

[U-Boot] [PATCH v2 3/9] powerpc: spl and normal u-boot stage set SYS_MALLOC_F indepently

2017-07-12 Thread Andy Yan
Some platforms has very small sram to run spl code, so it may have no enough sapce for so much malloc pool before relocation in spl stage as the normal u-boot stage. Signed-off-by: Andy Yan --- Changes in v2: None arch/powerpc/cpu/mpc83xx/start.S | 13 + arch/powerpc/cpu/mpc85xx

[U-Boot] [PATCH v2 4/9] microblaze: spl and normal u-boot stage set SYS_MALLOC_F indepently

2017-07-12 Thread Andy Yan
Some platforms has very small sram to run spl code, so it may have no enough sapce for so much malloc pool before relocation in spl stage as the normal u-boot stage. Signed-off-by: Andy Yan --- Changes in v2: None arch/microblaze/cpu/start.S | 11 --- 1 file changed, 8 insertions

[U-Boot] [PATCH v2 5/9] rockchip: set malloc pool size to 0 before relocation in spl state on rk3036 based board

2017-07-12 Thread Andy Yan
RK3036 only has 4kb sram, the spl code will use 3.4 ~ 3.5 kb, the last 0.5kb are used for SP and GD, so there is no space for malloc. Also, the spl will directly return to bootrom after dram initialized, they never need the space for malloc. Signed-off-by: Andy Yan --- Changes in v2: - set spl

[U-Boot] [PATCH v2 6/9] rockchip: disable SPL_ARCH_MEMCPY/MEMSET for rk3036

2017-07-12 Thread Andy Yan
RK3036 has no enough sapce use ARCH_MEMCPY/MEMSET in spl stage Signed-off-by: Andy Yan Reviewed-by: Simon Glass --- Changes in v2: None configs/evb-rk3036_defconfig | 2 ++ configs/kylin-rk3036_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/evb-rk3036_defconfig b

[U-Boot] [PATCH v2 7/9] rockchip: enable SPL_LIBGENERIC for rk3036 based boards

2017-07-12 Thread Andy Yan
function board_init_f_init_reserve will call memset, which is implemented in lib, and enabled by CONFIG_SPL_LIBGENERIC_SUPPORT in spl stage. To reduce the code size, also enable SPL_TINY_MEMSET. Signed-off-by: Andy Yan --- Changes in v2: None arch/arm/mach-rockchip/rk3036-board-spl.c | 6

[U-Boot] [PATCH v2 8/9] rockchip: use debug() instead of printf when back to bootrom

2017-07-12 Thread Andy Yan
printf will increase the code size more than 1kb, but platform like rk3036 has no enough space for it. Signed-off-by: Andy Yan --- Changes in v2: None arch/arm/mach-rockchip/bootrom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-rockchip/bootrom.c b/arch

[U-Boot] [PATCH v2 9/9] rockchip: add u-boot specific dts for rk3036 sdk

2017-07-12 Thread Andy Yan
Add this dts to enable debug uart releated devices before relocation. Signed-off-by: Andy Yan Reviewed-by: Simon Glass --- Changes in v2: None arch/arm/dts/rk3036-sdk-u-boot.dtsi | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 arch/arm/dts/rk3036-sdk-u-boot.dtsi diff

[U-Boot] [PATCH v2 0/9] make SPL and normal u-boot stage use independent SYS_MALLOC_F_LEN

2017-07-13 Thread Andy Yan
SYS_MALLOC_F_LEN. [1]https://lists.denx.de/pipermail/u-boot/2017-July/297370.html [2]https://lists.denx.de/pipermail/u-boot/2017-July/297504.html Changes in v2: - introduce a new control CONFIG_SPL_SYS_MALLOC_F_LEN, adviced by Simon - set spl pre relocation malloc pool by CONFIG_SPL_SYS_MALLOC_F_LEN Andy

[U-Boot] [PATCH v2 1/9] make SPL and normal u-boot stage use independent SYS_MALLOC_F_LEN

2017-07-13 Thread Andy Yan
memory space indepently. Signed-off-by: Andy Yan --- Changes in v2: - introduce a new control CONFIG_SPL_SYS_MALLOC_F_LEN, adviced by Simon Kconfig | 10 ++ arch/sandbox/cpu/start.c | 2 +- cmd/bdinfo.c | 2 +- common/Makefile

Re: [U-Boot] [PATCH 2/2] [rfc] support booting arm64 android image

2017-07-14 Thread Andy Yan
Hi: 2017-07-13 15:33 GMT+08:00 Bin Chen : > Hi Tom, > > Thanks for the review. > > On 13 July 2017 at 04:25, Tom Rini wrote: > > > On Tue, Jul 11, 2017 at 03:56:04PM +1000, Bin Chen wrote: > > > > > It's my understanding that we are supposed to use booti, instead of > > bootm, > > > for arm64 im

Re: [U-Boot] [PATCH 2/2] [rfc] support booting arm64 android image

2017-07-14 Thread Andy Yan
Hi: 2017-07-13 15:33 GMT+08:00 Bin Chen : > Hi Tom, > > Thanks for the review. > > On 13 July 2017 at 04:25, Tom Rini wrote: > > > On Tue, Jul 11, 2017 at 03:56:04PM +1000, Bin Chen wrote: > > > > > It's my understanding that we are supposed to use booti, instead of > > bootm, > > > for arm64 im

Re: [U-Boot] [PATCH 00/52] Support OF_PLATDATA in TPL, enable RK3368 DRAM init and add RK3368-uQ7

2017-07-20 Thread Andy Yan
Hi: On 2017年07月19日 04:35, Philipp Tomsich wrote: Here's a series that has a lot going on, but I didn't want to split it to allow everyone to understand the motivation between some of the changes to the SPL/TPL framework. The short summary of this is "enablement for DRAM init on the RK3368 with

Re: [U-Boot] [PATCH 29/52] rockchip: rk3368: syscon: MSCH/PMUGRF/GRF support for OF_PLATDATA

2017-07-20 Thread Andy Yan
k3368/syscon_rk3368.c +++ b/arch/arm/mach-rockchip/rk3368/syscon_rk3368.c @@ -1,6 +1,8 @@ /* * (C) Copyright 2017 Rockchip Electronics Co., Ltd * Author: Andy Yan + * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH + * * SPDX-License-Identifier: GPL-2.0+ */ @@ -14,6

Re: [U-Boot] [PATCH 30/52] rockchip: rk3368: grf: use shifted-constants and prefix with RK3368_

2017-07-20 Thread Andy Yan
Hi Philipp: On 2017年07月19日 04:36, Philipp Tomsich wrote: The RK3368 GRF header was still defines with a shifted-mask but with non-shifted function selectors for the IOMUX defines. As the RK3368 support is still fresh enough to allow a quick rename, we do this now before having more code use th

Re: [U-Boot] [PATCH 34/52] rockchip: clk: rk3368: support OF_PLATDATA for the RK3368 clk driver

2017-07-20 Thread Andy Yan
Hi Philipp: On 2017年07月19日 04:36, Philipp Tomsich wrote: With the RK3368's limited TPL size, we'll want to use OF_PLATFDATA for the SPL stage. This implements support for OF_PLATDATA in the clock TPL or SPL? driver for the RK3368. Signed-off-by: Philipp Tomsich --- drivers/clk/r

Re: [U-Boot] [PATCH 45/52] rockchip: dts: rk3368: add DMC node in rk3368.dtsi

2017-07-21 Thread Andy Yan
Hi Philipp: On 2017年07月19日 04:36, Philipp Tomsich wrote: For full SPL support, including DRAM initialisation, we need a few nodes from the DTS: this commit adds the DMC (DRAM controller) node, the service_msch (memory scheduler) node and marks GRF, PMUGRF and CRU as 'u-boot,dm-pre-reloc'. In a

Re: [U-Boot] [PATCH 30/52] rockchip: rk3368: grf: use shifted-constants and prefix with RK3368_

2017-07-24 Thread Andy Yan
Hi Philipp: On 2017年07月21日 16:34, Dr. Philipp Tomsich wrote: On 21 Jul 2017, at 05:50, Andy Yan wrote: Hi Philipp: On 2017年07月19日 04:36, Philipp Tomsich wrote: The RK3368 GRF header was still defines with a shifted-mask but with non-shifted function selectors for the IOMUX defines. As

[U-Boot] [PATCH v3 00/10] make SPL and normal u-boot stage use independent SYS_MALLOC_F_LEN

2017-07-24 Thread Andy Yan
: - introduce a new control CONFIG_SPL_SYS_MALLOC_F_LEN, adviced by Simon Andy Yan (10): make SPL and normal u-boot stage use independent SYS_MALLOC_F_LEN mips: spl and normal u-boot stage set SYS_MALLOC_F_LEN indepently powerpc: spl and normal u-boot stage set SYS_MALLOC_F_LEN indepently

[U-Boot] [PATCH v3 01/10] make SPL and normal u-boot stage use independent SYS_MALLOC_F_LEN

2017-07-24 Thread Andy Yan
memory space indepently. Signed-off-by: Andy Yan Reviewed-by: Tom Rini --- Changes in v3: - use CONFIG_VAL(), which suggested by Simon Changes in v2: - introduce a new control CONFIG_SPL_SYS_MALLOC_F_LEN, adviced by Simon Kconfig | 10 ++ cmd/bdinfo.c

[U-Boot] [PATCH v3 02/10] mips: spl and normal u-boot stage set SYS_MALLOC_F_LEN indepently

2017-07-24 Thread Andy Yan
Some platforms has very small sram to run spl code, so it may have no enough sapce for so much malloc pool before relocation in spl stage as the normal u-boot stage. Use CONFIG_VAL(SYS_MALLOC_F_LEN) to fit this condition. Signed-off-by: Andy Yan Acked-by: Daniel Schwierzeck --- Changes in v3

[U-Boot] [PATCH v3 03/10] powerpc: spl and normal u-boot stage set SYS_MALLOC_F_LEN indepently

2017-07-24 Thread Andy Yan
Some platforms has very small sram to run spl code, so it may have no enough sapce for so much malloc pool before relocation in spl stage as the normal u-boot stage. Use CONFIG_VAL(SYS_MALLOC_F_LEN) to fit this condition. Signed-off-by: Andy Yan --- Changes in v3: - use CONFIG_VAL(), which

[U-Boot] [PATCH v3 05/10] sandbox: use CONFIG_VAL(SYS_MALLOC_F_LEN) to distinguish malloc pool size before relocation

2017-07-24 Thread Andy Yan
From: Andy Yan SPL and normal u-boot stage use different malloc pool size configuration before relocation, so use CONFIG_VAL(SYS_MALLOC_F_LEN) to fit different boot stage. Signed-off-by: Andy Yan Changes in v3: - use CONFIG_VAL(), which suggested by Simon Changes in v2: None arch/sandbox

[U-Boot] [PATCH v3 04/10] microblaze: spl and normal u-boot stage set SYS_MALLOC_F_LEN indepently

2017-07-24 Thread Andy Yan
Some platforms has very small sram to run spl code, so it may have no enough sapce for so much malloc pool before relocation in spl stage as the normal u-boot stage. Use CONFIG_VAL(SYS_MALLOC_F_LEN) to fit this condition. Signed-off-by: Andy Yan --- Changes in v3: - use CONFIG_VAL(), which

[U-Boot] [PATCH v3 06/10] rockchip: set malloc pool size to 0 before relocation in spl state on rk3036 based board

2017-07-24 Thread Andy Yan
RK3036 only has 4kb sram, the spl code will use 3.4 ~ 3.5 kb, the last 0.5kb are used for SP and GD, so there is no space for malloc. Also, the spl will directly return to bootrom after dram initialized, they never need the space for malloc. Signed-off-by: Andy Yan Reviewed-by: Simon Glass

[U-Boot] [PATCH v3 07/10] rockchip: disable SPL_ARCH_MEMCPY/MEMSET for rk3036

2017-07-24 Thread Andy Yan
RK3036 has no enough sapce use ARCH_MEMCPY/MEMSET in spl stage Signed-off-by: Andy Yan Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None configs/evb-rk3036_defconfig | 2 ++ configs/kylin-rk3036_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/evb

[U-Boot] [PATCH v3 10/10] rockchip: add u-boot specific dts for rk3036 sdk

2017-07-24 Thread Andy Yan
Add this dts to enable debug uart releated devices before relocation. Signed-off-by: Andy Yan Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/arm/dts/rk3036-sdk-u-boot.dtsi | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 arch/arm/dts/rk3036

[U-Boot] [PATCH v3 09/10] rockchip: use puts instead of printf when back to bootrom

2017-07-24 Thread Andy Yan
printf will increase the code size more than 1kb, but platform like rk3036 has no enough space for it. Signed-off-by: Andy Yan --- Changes in v3: - use puts instead of printf, which suggested by Simon Changes in v2: None arch/arm/mach-rockchip/bootrom.c | 4 ++-- 1 file changed, 2

[U-Boot] [PATCH v3 08/10] rockchip: enable SPL_LIBGENERIC for rk3036 based boards

2017-07-24 Thread Andy Yan
disable SPL_DM_SERIAL. Signed-off-by: Andy Yan Reviewed-by: Simon Glass --- Changes in v3: - disable SPL_DM_SERIAL Changes in v2: None arch/arm/mach-rockchip/rk3036-board-spl.c | 6 -- configs/evb-rk3036_defconfig | 4 +++- configs/kylin-rk3036_defconfig| 4

Re: [U-Boot] [PATCH 00/52] Support OF_PLATDATA in TPL, enable RK3368 DRAM init and add RK3368-uQ7

2017-07-24 Thread Andy Yan
Hi Philipp: On 2017年07月21日 18:55, Dr. Philipp Tomsich wrote: On 21 Jul 2017, at 04:33, Andy Yan wrote: Hi: On 2017年07月19日 04:35, Philipp Tomsich wrote: Here's a series that has a lot going on, but I didn't want to split it to allow everyone to understand the motivation between s

[U-Boot] [PATCH 0/7] Add basic support for Rockchip RK3368 SOC

2017-04-20 Thread Andy Yan
The RK3368 is an octa-core Cortex-A53 SoC from Rockchip. This adds basic support to chain-load U-Boot from Rockchip's miniloader. Andreas Färber (2): rockchip: rk3368: Add core start-up code for RK3368 rockchip: rk3368: Add initial support for RK3368 based GeekBox Andy Yan (5): roc

  1   2   3   4   >