Re:Re: [PATCH v2 06/11] video: rockchip: Add VOP2 support

2025-03-03 Thread Andy Yan
Hi Danq, At 2025-03-02 12:09:34, "Dang Huynh" wrote: >Hi Chaoyi Chen, > >On Thursday, February 27, 2025 6:29:13 AM UTC Chaoyi Chen wrote: >> >> Could you use a naming prefix like "rkvop2" to explicitly indicate the >> use of vop2, thereby distinguishing it from rk_vop.c? >> >Yes. This will be

Re:Re: [PATCH] doc: coolpi: Fix the defconfig name

2025-01-19 Thread Andy Yan
Hi Quentin, At 2025-01-15 17:29:10, "Quentin Schulz" wrote: >Hi Andy, > >On 1/13/25 11:56 AM, Andy Yan wrote: >> The defconfig name should be: coolpi-cm5-genbook-rk3588_defconfig >> >> Signed-off-by: Andy Yan > >Reviewed-by: Quen

Re:[PATCH 05/10] video: rockchip: Add VOP2 support

2025-01-19 Thread Andy Yan
Hi Danq, At 2025-01-16 17:15:54, "Dang Huynh" wrote: >VOP2 (Video Output Processor v2) is a display controller on Rockchip >SoCs. It can be found on RK3566/8 and RK3588. > >This commit currently only supports RK3566/8. > >Signed-off-by: Dang Huynh >--- > arch/arm/include/asm/arch-rockchip/vop_r

[PATCH] doc: coolpi: Fix the defconfig name

2025-01-13 Thread Andy Yan
The defconfig name should be: coolpi-cm5-genbook-rk3588_defconfig Signed-off-by: Andy Yan --- doc/board/coolpi/genbook_cm5_rk3588.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/board/coolpi/genbook_cm5_rk3588.rst b/doc/board/coolpi/genbook_cm5_rk3588.rst index

Re:unable to access 'https://source.denx.de/u-boot/u-boot.git/'

2024-12-02 Thread Andy Yan
Hi All, At 2024-12-02 17:08:48, "Patrice CHOTARD" wrote: >Hi All > >Since several days, it seems that U-Boot git repository is not accessible. > >Fetching or cloning u-boot repo leads to the following issue: > >git clone https://source.denx.de/u-boot/u-boot.git >Cloning into 'u-boot'... >fatal:

[PATCH] doc: coolpi: Fix document style

2024-12-02 Thread Andy Yan
Add a blank line after title "Specification:" to make it render correctly html. And also remove the useless > in bash code block. Signed-off-by: Andy Yan --- doc/board/coolpi/genbook_cm5_rk3588.rst | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --gi

[PATCH v6 1/3] arm64: dts: rockchip: Add support for rk3588 based Cool Pi CM5 GenBook

2024-11-04 Thread Andy Yan
- eDP panel with 1920x1080 This patch add basic support to bringup eMMC/USB HOST/WiFi/TouchPad/ Battery/PCIE NVME, and can also drive a HDMI output with out of tree hdmi patches. [0] https://www.crowdsupply.com/shenzhen-tianmao-technology-co-ltd/genbook-rk3588 Signed-off-by: Andy Yan Link

[PATCH v6 2/3] rockchip: Make it possible to define per board boot_targets

2024-11-04 Thread Andy Yan
Some board may want to have a different boot priority(a laptop may want to usb has the highest boot priority for third-part os installation). So let the board can define it's own boot_targets. Signed-off-by: Andy Yan --- (no changes since v1) include/configs/rockchip-common.h | 2 ++ 1

[PATCH v6 0/3] Add support for Cool Pi GenBook

2024-11-04 Thread Andy Yan
https://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git - split the dts to a separate commit - rename to genbook_cm5_rk3588 - move readme to doc/board, and write as reStructuredText format - alphabetically reorder - update doc/board/rockchip Andy Yan (3): arm64: dts: rockchip

[PATCH v6 3/3] board: rockchip: Add support for rk3588 GenBook

2024-11-04 Thread Andy Yan
NVME connection - eDP panel with 1920x1080 Tested by Armbian boot on USB disk. Signed-off-by: Andy Yan cool --- Changes in v6: - avoid re-define CFG_EXTRA_ENV_SETTINGS. Changes in v5: - Fix document isn't included in any toctree error ini rst doc Changes in v4: - Fix a underline too

[PATCH v5 2/2] board: rockchip: Add support for rk3588 GenBook

2024-11-01 Thread Andy Yan
NVME connection - eDP panel with 1920x1080 Tested by Armbian boot on USB disk. Signed-off-by: Andy Yan --- Changes in v5: - Fix document isn't included in any toctree error ini rst doc Changes in v4: - Fix a underline too short error in rst doc Changes in v3: - Remove upstreamed dt in ge

[PATCH v5 0/2] Add support for Cool Pi GenBook

2024-11-01 Thread Andy Yan
etree-rebasing.git - split the dts to a separate commit - rename to genbook_cm5_rk3588 - move readme to doc/board, and write as reStructuredText format - alphabetically reorder - update doc/board/rockchip Andy Yan (2): arm64: dts: rockchip: Add support for rk3588 based Cool Pi CM5 GenBook

[PATCH v5 1/2] arm64: dts: rockchip: Add support for rk3588 based Cool Pi CM5 GenBook

2024-11-01 Thread Andy Yan
- eDP panel with 1920x1080 This patch add basic support to bringup eMMC/USB HOST/WiFi/TouchPad/ Battery/PCIE NVME, and can also drive a HDMI output with out of tree hdmi patches. [0] https://www.crowdsupply.com/shenzhen-tianmao-technology-co-ltd/genbook-rk3588 Signed-off-by: Andy Yan Link

[PATCH v4 0/2] Add support for Cool Pi GenBook

2024-10-30 Thread Andy Yan
- move readme to doc/board, and write as reStructuredText format - alphabetically reorder - update doc/board/rockchip Andy Yan (2): arm64: dts: rockchip: Add support for rk3588 based Cool Pi CM5 GenBook board: rockchip: Add support for rk3588 GenBook .../dts/rk3588-coolpi-cm5-genbook-u

[PATCH v4 1/2] arm64: dts: rockchip: Add support for rk3588 based Cool Pi CM5 GenBook

2024-10-30 Thread Andy Yan
- eDP panel with 1920x1080 This patch add basic support to bringup eMMC/USB HOST/WiFi/TouchPad/ Battery/PCIE NVME, and can also drive a HDMI output with out of tree hdmi patches. [0] https://www.crowdsupply.com/shenzhen-tianmao-technology-co-ltd/genbook-rk3588 Signed-off-by: Andy Yan Link

[PATCH v4 2/2] board: rockchip: Add support for rk3588 GenBook

2024-10-30 Thread Andy Yan
NVME connection - eDP panel with 1920x1080 Tested by Armbian boot on USB disk. Signed-off-by: Andy Yan --- Changes in v4: - Fix a underline too short error in rst doc Changes in v3: - Remove upstreamed dt in genbook-u-boot.dtsi - Remove MMC releated config as there is no SD-card on this

[PATCH v3 0/2] Add support for Cool Pi GenBook

2024-10-26 Thread Andy Yan
format - alphabetically reorder - update doc/board/rockchip Andy Yan (2): arm64: dts: rockchip: Add support for rk3588 based Cool Pi CM5 GenBook board: rockchip: Add support for rk3588 GenBook .../dts/rk3588-coolpi-cm5-genbook-u-boot.dtsi | 20 + arch/arm/mach-rockchip/rk3588/Kconfig

[PATCH v3 1/2] arm64: dts: rockchip: Add support for rk3588 based Cool Pi CM5 GenBook

2024-10-26 Thread Andy Yan
- eDP panel with 1920x1080 This patch add basic support to bringup eMMC/USB HOST/WiFi/TouchPad/ Battery/PCIE NVME, and can also drive a HDMI output with out of tree hdmi patches. [0] https://www.crowdsupply.com/shenzhen-tianmao-technology-co-ltd/genbook-rk3588 Signed-off-by: Andy Yan Link

[PATCH v3 2/2] board: rockchip: Add support for rk3588 GenBook

2024-10-26 Thread Andy Yan
NVME connection - eDP panel with 1920x1080 Tested by Armbian boot on USB disk. Signed-off-by: Andy Yan --- Changes in v3: - Remove upstreamed dt in genbook-u-boot.dtsi - Remove MMC releated config as there is no SD-card on this machine - Enable LED config - Enable rk8xx pmic - rename defconfig

Re:Re: [PATCH v2 2/2] board: rockchip: Add support for rk3588 GenBook

2024-10-23 Thread Andy Yan
Hi Jonas, Thanks for your review. At 2024-10-21 15:01:18, "Jonas Karlman" wrote: >Hi Andy, > >On 2024-10-19 12:47, Andy Yan wrote: >> Add support for Cool Pi GenBook, it works as a carrier board >> connect with CM5 SOM. >> >> Specification

[PATCH v2 2/2] board: rockchip: Add support for rk3588 GenBook

2024-10-19 Thread Andy Yan
NVME connection - eDP panel with 1920x1080 Tested by Armbian boot on USB disk. Signed-off-by: Andy Yan --- Changes in v2: - split the dts to a separate commit - rename to genbook_cm5_rk3588 - move readme to doc/board, and write as reStructuredText format - alphabetically reorder - update doc

[PATCH v2 1/2] arm64: dts: rockchip: Add support for rk3588 based Cool Pi CM5 GenBook

2024-10-19 Thread Andy Yan
- eDP panel with 1920x1080 This patch add basic support to bringup eMMC/USB HOST/WiFi/TouchPad/ Battery/PCIE NVME, and can also drive a HDMI output with out of tree hdmi patches. [0] https://www.crowdsupply.com/shenzhen-tianmao-technology-co-ltd/genbook-rk3588 Signed-off-by: Andy Yan Link

[PATCH v2 0/2] Add support for Cool Pi GenBook

2024-10-19 Thread Andy Yan
readme to doc/board, and write as reStructuredText format - alphabetically reorder - update doc/board/rockchip Andy Yan (2): arm64: dts: rockchip: Add support for rk3588 based Cool Pi CM5 GenBook board: rockchip: Add support for rk3588 GenBook .../dts/rk3588-coolpi-cm5-genbook-u-boot.dtsi | 70

Re:Re: [Regression] rk3588 failed to boot linux

2024-10-14 Thread Andy Yan
Helllo, 在 2024-10-14 23:14:04,"Jonas Karlman" 写道: >Hi Sughosh, > >On 2024-10-14 13:32, Sughosh Ganu wrote: >> On Mon, 14 Oct 2024 at 16:49, Andy Yan wrote: >>> >>> >>> Hi Sughosh, >>> >>> At 2024-10-14 19:00:24, &qu

Re:Re: Re: [Regression] rk3588 failed to boot linux

2024-10-14 Thread Andy Yan
Hi Sughosh, At 2024-10-14 19:00:24, "Sughosh Ganu" wrote: >On Mon, 14 Oct 2024 at 16:12, Andy Yan wrote: >> >> >> Hi Suqhosh, >> >> At 2024-10-14 18:13:35, "Sughosh Ganu" wrote: >> >On Mon, 14 Oct 2024 at 15:12, Andy Yan wrote:

Re:Re: [Regression] rk3588 failed to boot linux

2024-10-14 Thread Andy Yan
Hi Suqhosh, At 2024-10-14 18:13:35, "Sughosh Ganu" wrote: >On Mon, 14 Oct 2024 at 15:12, Andy Yan wrote: >> >> When test with current main branch on rk3588 based coolpi 4b, >> the board failed to boot linux os[0]: >> I do the same test on another board

[Regression] rk3588 failed to boot linux

2024-10-14 Thread Andy Yan
When test with current main branch on rk3588 based coolpi 4b, the board failed to boot linux os[0]: I do the same test on another board that is preparing to send patches upstream, and it also failed. The two boards boots fine with v2024.10. With some bisect, it seems that this issue is caused by:

Re:Re: [PATCH 1/1] board: rockchip: Add support for rk3588 GenBook

2024-08-12 Thread Andy Yan
Hi Quetin, 在 2024-08-12 16:23:06,"Quentin Schulz" 写道: >Hi Andy, > >>> @@ -323,5 +329,6 @@ source "board/rockchip/evb_rk3588/Kconfig" >>>  source "board/rockchip/toybrick_rk3588/Kconfig" >>>  source "board/theobroma-systems/jaguar_rk3588/Kconfig" >>>  source "board/theobroma-systems/tiger_rk3588/

Re:Re: [PATCH 1/1] board: rockchip: Add support for rk3588 GenBook

2024-08-11 Thread Andy Yan
Hello Dragan, At 2024-08-12 05:26:36, "Dragan Simic" wrote: >Hello Andy, > >Please see a few comments below. > >On 2024-08-11 12:02, Andy Yan wrote: >> Add support for Cool Pi GenBook. >> >> Specification: >> - Rockchip RK3588 >> - L

[PATCH 0/1] Add support for Cool Pi GenBook

2024-08-11 Thread Andy Yan
Support for Cool Pi GenBook is landing linux-rockchip[], so also add the support for u-boot here. [0] https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git/commit/?h=v6.12-armsoc/dts64&id=4a8c1161b843c366776fc872a6fe45b743b2983e Andy Yan (1): board: rockchip:

[PATCH 1/1] board: rockchip: Add support for rk3588 GenBook

2024-08-11 Thread Andy Yan
by a Armbian boot on USB disk. Signed-off-by: Andy Yan --- .../dts/rk3588-coolpi-cm5-genbook-u-boot.dtsi | 70 arch/arm/mach-rockchip/rk3588/Kconfig | 7 + board/coolpi/genbook/Kconfig | 12 + board/coolpi/genbook/MAINTAINERS | 7 + board/coolpi

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

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

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

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

2023-06-22 Thread Andy Yan
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
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

[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

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

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

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

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

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

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","a

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-03 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 ch

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

  1   2   3   4   >