Re: [PATCH 1/2] riscv: Add Kconfig options to distinguish Zaamo and Zalrsc

2025-08-02 Thread Yixun Lan
eb5cab43645 100644 > --- a/configs/ibex-ast2700_defconfig > +++ b/configs/ibex-ast2700_defconfig > @@ -23,7 +23,8 @@ CONFIG_SYS_MEM_TOP_HIDE=0x1000 > CONFIG_BUILD_TARGET="" > CONFIG_TARGET_ASPEED_AST2700_IBEX=y > # CONFIG_RISCV_ISA_F is not set > -# CONFIG_RISCV_ISA_A is not set > +# CONFIG_RISCV_ISA_ZAAMO is not set > +# CONFIG_RISCV_ISA_ZALRSC is not set this is confusing, while in this patchset it actually equal to : # CONFIG_RISCV_ISA_ZAAMO is not set CONFIG_RISCV_ISA_ZALRSC=y also I believe changes for configs/ibex-ast2700_defconfig should go as an independent patch, please separate it > # CONFIG_SPL_SMP is not set > CONFIG_XIP=y > CONFIG_SPL_XIP=y > -- > 2.50.1 > -- Yixun Lan (dlan)

Re: [PATCH 2/2] riscv: Add a Zalrsc-only alternative for synchronization in start.S

2025-08-02 Thread Yixun Lan
sc.w.rl t1, t1, 0(t0) > +#endif > bnezt1, 1b > > /* register available harts in the available_harts mask */ > @@ -200,7 +219,12 @@ wait_for_gd_init: > or t2, t2, t1 > SREGt2, GD_AVAILABLE_HARTS(gp) > > +#if CONFIG_IS_ENABLED(RISCV_ISA_ZAAMO) > amoswap.w.rl zero, zero, 0(t0) > +#else > + fence rw, w > + sw zero, 0(t0) > +#endif > #endif > > /* > -- > 2.50.1 > -- Yixun Lan (dlan)

Re: [PATCH 1/2] riscv: Add Kconfig options to distinguish Zaamo and Zalrsc

2025-08-02 Thread Yixun Lan
$(CONFIG_RISCV_ISA_ZALRSC)),y) > ARCH_A = a > endif > ifeq ($(CONFIG_RISCV_ISA_F),y) > diff --git a/configs/ibex-ast2700_defconfig b/configs/ibex-ast2700_defconfig > index f088aec8716..eb5cab43645 100644 > --- a/configs/ibex-ast2700_defconfig > +++ b/configs/ibex-ast2700_defconfig > @@ -23,7 +23,8 @@ CONFIG_SYS_MEM_TOP_HIDE=0x1000 > CONFIG_BUILD_TARGET="" > CONFIG_TARGET_ASPEED_AST2700_IBEX=y > # CONFIG_RISCV_ISA_F is not set > -# CONFIG_RISCV_ISA_A is not set > +# CONFIG_RISCV_ISA_ZAAMO is not set > +# CONFIG_RISCV_ISA_ZALRSC is not set > # CONFIG_SPL_SMP is not set > CONFIG_XIP=y > CONFIG_SPL_XIP=y > -- > 2.50.1 > -- Yixun Lan (dlan)

Re: [PATCH 0/2] sunxi: a523: enable Ethernet

2025-08-01 Thread Yixun Lan
hanks for pushing this Tested-by: Yixun Lan # Radxa A5E > Cheers, > Andre > > Andre Przywara (2): > pinctrl: sunxi: a523: change Ethernet pin function name > sunxi: a527: radxa/avaota: enable Ethernet > > configs/avaota-a1_defconfig | 2 ++ > config

Re: [PATCH] board: spacemit: Add SpacemiT MUSE Pi Pro

2025-07-28 Thread Yixun Lan
+ > + U-Boot 2025.07-00902-gf2f451d9d6d3-dirty (Jul 28 2025 - 14:38:51 +0800) > + > + DRAM: 16 GiB > + Core: 21 devices, 9 uclasses, devicetree: separate > + Loading Environment from nowhere... OK > + In:serial@d4017000 > + Out: serial@d4017000 > + Err: serial@d4017000 > + Net: No ethernet found. > + => cpu list > + 0: cpu@0 spacemit,x60 > + 1: cpu@1 spacemit,x60 > + 2: cpu@2 spacemit,x60 > + 3: cpu@3 spacemit,x60 > + 4: cpu@4 spacemit,x60 > + 5: cpu@5 spacemit,x60 > + 6: cpu@6 spacemit,x60 > + 7: cpu@7 spacemit,x60 > + => > \ No newline at end of file > diff --git a/include/configs/muse-pi-pro.h b/include/configs/muse-pi-pro.h > new file mode 100644 > index 000..706dcc7f486 > --- /dev/null > +++ b/include/configs/muse-pi-pro.h > @@ -0,0 +1,11 @@ > +/* > + * Copyright The U-Boot Contributors copyright isn't correct > + */ > + .. > +#ifndef __CONFIG_H > +#define __CONFIG_H I'd personally rather have a file specific macro.. but it seems quite common to use this macro, so I will others for comments > + > +#define CFG_SYS_SDRAM_BASE 0x0 > +#define CFG_SYS_NS16550_IER0x40 > + > +#endif /* __CONFIG_H */ > -- > 2.45.2 -- Yixun Lan (dlan)

Re: [PATCH v2 20/20] sunxi: A523: add defconfigs for three boards

2025-07-23 Thread Yixun Lan
#x27;t mind to have a long name for the config, so even radxa-cubie-a5e-a527_defconfig is ok for me (which similar to the style of radxa-zero-3-rk3566_defconfig) -- Yixun Lan (dlan)

Re: [PATCH v2 20/20] sunxi: A523: add defconfigs for three boards

2025-07-21 Thread Yixun Lan
gt; +CONFIG_AXP717_POWER=y > > +CONFIG_AXP_DCDC2_VOLT=920 > > +CONFIG_AXP_DCDC3_VOLT=1100 > > +CONFIG_USB_EHCI_HCD=y > > +CONFIG_USB_OHCI_HCD=y > > This is missing CONFIG_MMC_SUNXI_SLOT_EXTRA=2 and > CONFIG_SUPPORT_EMMC_BOOT=y, as there are Radxa boards with eMMC. confirmed, the two configs are exactly what I've added to make eMMC work > The DT describes this, so we should follow suit here, to allow eMMC > booting. Should not harm boards without the eMMC chip. > agree! I'd assume you would take care of the config? and send out an updated version next time? thanks -- Yixun Lan (dlan)

Re: [PATCH v2 00/20] sunxi: Add Allwinner A523 support

2025-07-18 Thread Yixun Lan
lopment boards and > one TV box. The most interesting bits in there are the DRAM parameters. > > Please have a look, review, and test. > for the series, I've only got one clk warning, but otherwise works for me.. Tested-by: Yixun Lan # Radxa A5E -- Yixun Lan (dlan)

Re: [PATCH v1 1/5] arm: socfpga: agilex5: Add MMU mapping region

2025-05-03 Thread Yixun Lan
; > > [...] > Reviewed-by: Tien Fong Chee > You can simply reply to cover letter to give all patches a Reviewed-by (No need to do for each) and use tools like - b4 trailers to collect -- Yixun Lan (dlan)

Re: SpacemiT K1x / Ky X1 DRAM init

2025-04-24 Thread Yixun Lan
cemit mailing list to see if people interested.. -- Yixun Lan (dlan)

Re: [PATCH v2 2/3] sunxi: add "fake" FEL pin support

2025-04-18 Thread Yixun Lan
..@donnerap.manchester.arm.com/ maybe better add a SPL prefix to config? or some info in help docs to state clearly it should only work in SPL phase? > While the FEL button on the X96 is "fake", it does what it says, just in > software, maybe that is close enough to "hardware definition" which > would make it suitable for the DT (well, we also store binman nodes in > the DT, which aren't strictly speaking hardware definition either :) ). > > Cheers, > Quentin -- Yixun Lan (dlan)

Re: [PATCH v2 0/3] sunxi: add "fake" FEL button feature

2025-04-17 Thread Yixun Lan
gt; logic. > > This is used on the X96 Mate TV box, where the hidden "update" button is > actually just some GPIO, checked by the vendor firmware. > > Please have a look! > for the series Tested-by: Yixun Lan # On A527 SoC Reviewed-by: Yixun Lan > Cheers, &

Re: [PATCH v2 2/3] sunxi: add "fake" FEL pin support

2025-04-16 Thread Yixun Lan
Hi Andre, On 03:39 Thu 17 Apr , Yixun Lan wrote: > Hi Andre, > > On 01:05 Thu 17 Apr , Andre Przywara wrote: > > Some boards with Allwinner SoCs feature a "FEL" key, sometimes also > > labelled "uboot", which triggers the BootROM FEL mode, when

Re: [PATCH v2 2/3] sunxi: add "fake" FEL pin support

2025-04-16 Thread Yixun Lan
ke_fel_button(); > + this isn't a problem, I can understand calling it here will make board enter FEL mode as early as possible.. just wondering if better to move this function after preloader_console_init(), and log out a message to let user know explicitly - entering FEL mode from SPL.. (I personally find it helpful) but, if you prefer not to change, then fine by me.. > sunxi_sram_init(); > > /* Enable non-secure access to some peripherals */ > -- > 2.46.3 > -- Yixun Lan (dlan)

Re: [PATCH 33/34] sunxi: A523: add DT files from Linux v3 branch

2025-04-09 Thread Yixun Lan
&ccu CLK_PLL_AUDIO0_4X>; U-Boot 2025.04-rc5-00056-g1ef486ead58d (Apr 09 2025 - 22:06:21 +0800) Allwinner Technology CPU: Allwinner A523 (SUN55I) Model: Radxa A5E DRAM: 4 GiB sunxi_set_gate: (CLK#35) unhandled Core: 77 devices, 21 uclasses, devicetree: separate .. I've got a &qu

Re: [PATCH] sunxi: add "fake" FEL pin support

2025-04-08 Thread Yixun Lan
n "GPIO == 1" (which means gpio high level)? maybe we should document in the Kconfig help section: setting GPIO low to enter FEL mode or even great if the gpio can be configurable for FEL mode > + > + /* Older SoCs maps the BootROM high in the address space. */ > + if (fel_

Re: [PATCH 30/34] sunxi: A523: add DRAM initialisation routine

2025-04-05 Thread Yixun Lan
> +#include > +#include > +#include > + ...snip > +static void mctl_auto_detect_dram_size(const struct dram_para *para, > +struct dram_config *config) > +{ > + /* detect row address bits */ > + config->cols = 8; > +

Re: [PATCH 00/34] sunxi: clock refactoring and Allwinner A523 support

2025-04-05 Thread Yixun Lan
Hi Andre: On 13:32 Sat 05 Apr , Andre Przywara wrote: > On Sat, 5 Apr 2025 02:44:33 + > Yixun Lan wrote: > > Hi, > > > On 11:35 Sun 23 Mar , Andre Przywara wrote: > > > This series introduces support for the Allwinner A523 SoC family. The >

Re: [PATCH 00/34] sunxi: clock refactoring and Allwinner A523 support

2025-04-04 Thread Yixun Lan
ge "U-Boot" (657216 bytes) to 0x4a00 loading DTB "sun55i-a527-radxa-a5e" (19024 bytes) Starting U-Boot (0x00054000). Store entry point 0x00054000 to RVBAR 0x0840, and request warm reset with RMR mode 3... done. is ATF loading address correct, 0x54000 here? which seems override sp address? thanks -- Yixun Lan (dlan) Gentoo Linux Developer GPG Key ID AABEFD55

Re: [PATCH] riscv: dts: spacemit: Update UART compatible for k1

2025-02-23 Thread Yixun Lan
n Zhou > Signed-off-by: Junhui Liu Reviewed-by: Yixun Lan > --- > arch/riscv/dts/k1.dtsi | 22 +++--- > 1 file changed, 11 insertions(+), 11 deletions(-) > > diff --git a/arch/riscv/dts/k1.dtsi b/arch/riscv/dts/k1.dtsi > index > 514be453dbaf6713cdf4ad5

Re: [RFC PATCH 0/3] Unify implementation of cleanup_before_linux() for RISC-V ports

2025-01-29 Thread Yixun Lan
anged, 17 insertions(+), 47 deletions(-) > delete mode 100644 arch/riscv/cpu/generic/cpu.c > delete mode 100644 arch/riscv/cpu/jh7110/cpu.c > > -- > 2.48.0 > -- Yixun Lan (dlan) Gentoo Linux Developer GPG Key ID AABEFD55

Re: [PATCH v4] riscv: spacemit: k1: probe dram size during boot phase.

2025-01-19 Thread Yixun Lan
oid) > { > gd->ram_base = CFG_SYS_SDRAM_BASE; > - /* TODO get ram size from ddr controller */ > - gd->ram_size = SZ_4G; > + gd->ram_size = ddr_get_density() * SZ_1M; > return 0; > } > > > --- any way, please always make sure

Re: [PATCH v2] riscv: spacemit: k1: probe dram size during boot phase.

2025-01-13 Thread Yixun Lan
ize = cs0_size + cs1_size; > > + > > + return ddr_size; > > +} > > + > > int dram_init(void) > > { > > gd->ram_base = CFG_SYS_SDRAM_BASE; > > - /* TODO get ram size from ddr controller */ > > - gd->ram_size = SZ_4G; > > + gd->ram_size = ddr_get_density() * SZ_1M; > > return 0; > > } > > > > > > --- > > base-commit: 19fc0b7f7d907119a13e9c207991899f0817f8fc > > change-id: 20250108-get-dram-size-65cf59a15201 > > > > Best regards, > > -- > > Huan Zhou > > with above fixed, then Reviewed-by: Yixun Lan -- Yixun Lan (dlan) Gentoo Linux Developer GPG Key ID AABEFD55

Re: [PATCH] riscv: spacemit: k1: probe dram size during boot phase.

2025-01-08 Thread Yixun Lan
SDRAM_BASE; > - /* TODO get ram size from ddr controller */ > - gd->ram_size = SZ_4G; > + gd->ram_size = (u64)ddr_get_density() * SZ_1M; while using cast, why not define ddr_get_density() return as same type? also it's more reasonable to use phys_size_t as I checked gd_t > return 0; > } > > > --- > base-commit: 19fc0b7f7d907119a13e9c207991899f0817f8fc > change-id: 20250108-get-dram-size-65cf59a15201 > > Best regards, > -- > Huan Zhou > -- Yixun Lan (dlan) Gentoo Linux Developer GPG Key ID AABEFD55

Re: Secure boot on Milk V duo 256

2025-01-02 Thread Yixun Lan
asheet, see chapter 14 https://github.com/milkv-duo/duo-files/blob/main/duo/datasheet/CV1800B-CV1801B-Preliminary-Datasheet-full-en.pdf > Regards > > Waldo Alvarez > Desarrollo de Software / Software Development > https://pipflow.com > https://tradingfuturo.com > > Sent

Re: [PATCH v6 0/2] riscv: spacemit: add support for bananapi-f3

2024-12-13 Thread Yixun Lan
u > Signed-off-by: Kongyang Liu .. > Tested-by: Marcel Ziswiler it's wrong to add Marcel's tag to the cover letter here, instead, you need to apply to patch [1,2] as he gave for whole series also for this series Reviewed-by: Yixun Lan > --- > Kongyang Liu (2): &g

Re: [PATCH v5 2/2] doc: spacemit: bananapi_f3: document Banana Pi F3 board

2024-12-09 Thread Yixun Lan
spacemit,x60 > + 6: cpu@6 spacemit,x60 > + 7: cpu@7 spacemit,x60 > + => test > + => > + > diff --git a/doc/board/spacemit/index.rst b/doc/board/spacemit/index.rst > new file mode 100644 > index > ..e7d3d94e4599fbeb8da16c8a837e777a0be06227 > --- /dev/null > +++ b/doc/board/spacemit/index.rst > @@ -0,0 +1,9 @@ > +.. SPDX-License-Identifier: GPL-2.0-or-later > + > +SpacemiT > + > +.. toctree:: > + :maxdepth: 1 > + > + bananapi-f3 > + > > -- > 2.39.5 > -- Yixun Lan (dlan) Gentoo Linux Developer GPG Key ID AABEFD55

Re: [PATCH v5 1/2] riscv: spacemit: bananapi_f3: initial support added

2024-12-09 Thread Yixun Lan
0x40 I'd suggest to keep the comment.. #define CFG_SYS_NS16550_IER 0x40 /* UART Unit Enable */ > + > +#endif /* __CONFIG_H */ > > -- > 2.39.5 > -- Yixun Lan (dlan) Gentoo Linux Developer GPG Key ID AABEFD55

Re: [PATCH v5 0/2] riscv: spacemit: add support for bananapi-f3

2024-12-09 Thread Yixun Lan
/board.c | 9 + > configs/bananapi-f3_defconfig | 20 ++ > doc/board/index.rst| 1 + > doc/board/spacemit/bananapi-f3.rst | 86 ++ > doc/board/spacemit/index.rst | 9 + > include/configs/bananapi-f3.h | 13 + > 17 fi

Re: [PATCH v4 2/2] doc: spacemit: bananapi_f3: document Banana Pi F3 board

2024-12-03 Thread Yixun Lan
cpu@0  spacemit,x60 > > +   1: cpu@1  spacemit,x60 > > +   2: cpu@2  spacemit,x60 > > +   3: cpu@3  spacemit,x60 > > +   4: cpu@4  spacemit,x60 > > +   5: cpu@5  spacemit,x60 > > +   6: cpu@6  spacemit,x60 > > +   7: cpu@7  spacemit,x60 > > +   => test > > +   => > > trailing whitespace > > > + > > diff --git a/doc/board/spacemit/index.rst b/doc/board/spacemit/index.rst > > new file mode 100644 > > index > > ..3fb7d804ac8fc8dd4c7ee67ffc877f9ad323162d > > --- /dev/null > > +++ b/doc/board/spacemit/index.rst > > @@ -0,0 +1,8 @@ > > +.. SPDX-License-Identifier: GPL-2.0-or-later > > + > > +SpacemiT > > + > > +.. toctree:: > > +   :maxdepth: 1 > > + > > +   bananapi-f3 > > > > new blank line at EOF > > Cheers > > Marcel -- Yixun Lan (dlan) Gentoo Linux Developer GPG Key ID AABEFD55

Re: [PATCH v3 2/2] doc: spacemit: bananapi_f3: document Banana Pi F3 board

2024-11-14 Thread Yixun Lan
emit,x60 > > + ID = 1, freq = 0 Hz: MMU > > + 2: cpu@2 spacemit,x60 > > + ID = 2, freq = 0 Hz: MMU > > + 3: cpu@3 spacemit,x60 > > + ID = 3, freq = 0 Hz: MMU > > + 4: cpu@4 spacemit,x60 > > + ID = 4, freq = 0 Hz: MMU > > + 5: cpu@5 spacemit,x60 > > + ID = 5, freq = 0 Hz: MMU > > + 6: cpu@6 spacemit,x60 > > + ID = 6, freq = 0 Hz: MMU > > + 7: cpu@7 spacemit,x60 > > + ID = 7, freq = 0 Hz: MMU > > + bananapi_f3# > > diff --git a/doc/board/spacemit/index.rst b/doc/board/spacemit/index.rst > > new file mode 100644 > > index > > ..3fb7d804ac8fc8dd4c7ee67ffc877f9ad323162d > > --- /dev/null > > +++ b/doc/board/spacemit/index.rst > > @@ -0,0 +1,8 @@ > > +.. SPDX-License-Identifier: GPL-2.0-or-later > > + > > +SpacemiT > > + > > +.. toctree:: > > + :maxdepth: 1 > > + > > + bananapi-f3 > > > -- Yixun Lan (dlan) Gentoo Linux Developer GPG Key ID AABEFD55

Re: [PATCH v3 0/2] riscv: spacemit: add support for bananapi-f3

2024-11-14 Thread Yixun Lan
pi-f3_defconfig | 20 ++ > doc/board/index.rst| 1 + > doc/board/spacemit/bananapi-f3.rst | 78 ++ > doc/board/spacemit/index.rst | 8 + > include/configs/bananapi-f3.h | 13 + > 17 files changed, 743 insertions(+) > --- >

Re: [PATCH 2/4] clk: sophgo: cv1800b: Add clock controller driver for cv1800b SoC

2024-05-22 Thread Yixun Lan
best_rate = new_rate; > + pre_div_sel = pre_div; > + post_div_sel = post_div; > + div_sel = div; > + } > + } > + } > + } > + > + FOR_RANGE(mode, PLL_MODE) -- Yixun Lan (dlan) Gentoo Linux Developer GPG Key ID AABEFD55

Re: [PATCH v4 3/3] doc: sophgo: milkv_duo: document Milk-V Duo board

2024-01-28 Thread Yixun Lan
p.bin file. > > +Subsequently, it will transition to OpenSBI, and finally, OpenSBI will > > invoke > > +U-Boot. > > + > > + > > +Sample boot log from Milk-V Duo board > > +~ > > +.. code-block:: none > > + > > + U-Boot 2024.01-rc5-00010-g51965baa36 (Dec 28 2023 - 13:15:53 > > +0800)milkv_duo > > + > > + DRAM: 63.3 MiB > > + Core: 10 devices, 8 uclasses, devicetree: separate > > + Loading Environment from nowhere... OK > > + In:serial@414 > > + Out: serial@414 > > + Err: serial@414 > > + Net: No ethernet found. > > + milkv_duo# cpu detail > > + 0: cpu@0 rv64imafdc > > + ID = 0, freq = 0 Hz: L1 cache, MMU > > + milkv_duo# -- Yixun Lan (dlan) Gentoo Linux Developer GPG Key ID AABEFD55

Re: [PATCH v3 1/3] riscv: dts: sophgo: add basic device tree for Milk-V Duo board

2024-01-27 Thread Yixun Lan
;47 IRQ_TYPE_LEVEL_HIGH>; > + clocks = <&osc>; > + reg-shift = <2>; > + reg-io-width = <4>; > + status = "disabled"; > + }; > + > + uart4: serial@41c { >

[PATCH v2 4/4] doc: t-head: lpi4a: document Lichee PI 4A board

2023-07-08 Thread Yixun Lan
Reviewed-by: Wei Fu Signed-off-by: Yixun Lan --- doc/board/index.rst | 1 + doc/board/thead/index.rst | 9 +++ doc/board/thead/lpi4a.rst | 129 ++ 3 files changed, 139 insertions(+) create mode 100644 doc/board/thead/index.rst create mode 100644

[PATCH v2 3/4] configs: th1520_lpi4a_defconfig: Add initial config

2023-07-08 Thread Yixun Lan
Add basic config for Sipeed Lichee PI 4A board which make it capable of booting into serial console. Reviewed-by: Wei Fu Signed-off-by: Yixun Lan --- configs/th1520_lpi4a_defconfig | 82 ++ 1 file changed, 82 insertions(+) create mode 100644 configs

[PATCH v2 2/4] riscv: dts: t-head: Add basic device tree for Sipeed Lichee PI 4A board

2023-07-08 Thread Yixun Lan
Only add basic support for CPU, PLIC UART and Timer. Reviewed-by: Wei Fu Signed-off-by: Yixun Lan --- arch/riscv/dts/Makefile | 1 + arch/riscv/dts/th1520-lichee-module-4a.dtsi | 34 ++ arch/riscv/dts/th1520-lichee-pi-4a.dts | 32 ++ arch/riscv/dts/th1520.dtsi

[PATCH v2 1/4] riscv: t-head: licheepi4a: initial support added

2023-07-08 Thread Yixun Lan
Add support for Sipeed's Lichee Pi 4A board which based on T-HEAD's TH1520 SoC, only minimal device tree and serial console are enabled, so it's capable of chain booting from T-HEAD's vendor u-boot. Reviewed-by: Wei Fu Signed-off-by: Yixun Lan --- arch/riscv/Kconfig

[PATCH v2 0/4] riscv: Initial support for Lichee PI 4A board

2023-07-08 Thread Yixun Lan
.kernel.org/all/20230526124107.894-1-d...@gentoo.org Yixun Lan (4): riscv: t-head: licheepi4a: initial support added riscv: dts: t-head: Add basic device tree for Sipeed Lichee PI 4A board configs: th1520_lpi4a_defconfig: Add initial config doc: t-head: lpi4a: document Lichee PI

Re: [RESEND PATCH v1 1/4] riscv: t-head: licheepi4a: initial support added

2023-07-07 Thread Yixun Lan
Hi Leo On 02:55 Thu 29 Jun , Leo Liang wrote: > Hi YiXun, > On Fri, May 26, 2023 at 08:41:04PM +0800, Yixun Lan wrote: > > Add support for Sipeed's Lichee Pi 4A board which based on > > T-HEAD's TH1520 SoC, only minimal device tree and serial onsole are enabled,

Re: [RESEND PATCH v1 2/4] riscv: dts: t-head: Add basic device tree for Sipeed Lichee PI 4A board

2023-05-29 Thread Yixun Lan
Hi Guo: On 16:22 Mon 29 May , Guo Ren wrote: > On Mon, May 29, 2023 at 3:54 PM Yixun Lan wrote: > > > > Hi Guo: > > > > On 14:50 Mon 29 May , Guo Ren wrote: > > > On Mon, May 29, 2023 at 11:01 AM Yixun Lan wrote: > > > > >

Re: [RESEND PATCH v1 2/4] riscv: dts: t-head: Add basic device tree for Sipeed Lichee PI 4A board

2023-05-29 Thread Yixun Lan
Hi Guo: On 14:50 Mon 29 May , Guo Ren wrote: > On Mon, May 29, 2023 at 11:01 AM Yixun Lan wrote: > > > > Hi Guo: > > > > see my comment below. > > > > On 09:19 Mon 29 May , Guo Ren wrote: > > > On Sat, May 27, 2023 at 5:17 PM Yixun Lan w

Re: [RESEND PATCH v1 1/4] riscv: t-head: licheepi4a: initial support added

2023-05-28 Thread Yixun Lan
Hi Bin: On 09:12 Mon 29 May , Bin Meng wrote: > On Sat, May 27, 2023 at 9:41 PM Yixun Lan wrote: > > > > Hi Guo, Jisheng: > > > > On 11:36 Sat 27 May , Guo Ren wrote: > > > On Fri, May 26, 2023 at 8:41 PM Yixun Lan wrote: > > > > > >

Re: [RESEND PATCH v1 2/4] riscv: dts: t-head: Add basic device tree for Sipeed Lichee PI 4A board

2023-05-28 Thread Yixun Lan
Hi Guo: see my comment below. On 09:19 Mon 29 May , Guo Ren wrote: > On Sat, May 27, 2023 at 5:17 PM Yixun Lan wrote: > > > > Hi Guo: > > > > On 09:43 Sat 27 May , Guo Ren wrote: > > > Sorry, why we need dts here? If we put dts here, we could dele

Re: [RESEND PATCH v1 1/4] riscv: t-head: licheepi4a: initial support added

2023-05-27 Thread Yixun Lan
Hi Guo, Jisheng: On 11:36 Sat 27 May , Guo Ren wrote: > On Fri, May 26, 2023 at 8:41 PM Yixun Lan wrote: > > > > Add support for Sipeed's Lichee Pi 4A board which based on > > T-HEAD's TH1520 SoC, only minimal device tree and serial onsole are enabled, >

Re: [RESEND PATCH v1 1/4] riscv: t-head: licheepi4a: initial support added

2023-05-27 Thread Yixun Lan
Hi Guo: On 09:45 Sat 27 May , Guo Ren wrote: > On Fri, May 26, 2023 at 8:41 PM Yixun Lan wrote: > > > > Add support for Sipeed's Lichee Pi 4A board which based on > > T-HEAD's TH1520 SoC, only minimal device tree and serial onsole are enabled, > > so

Re: [RESEND PATCH v1 2/4] riscv: dts: t-head: Add basic device tree for Sipeed Lichee PI 4A board

2023-05-27 Thread Yixun Lan
on here. so, please conside this patch as RFC, and may change in next revisions.. > > On Fri, May 26, 2023 at 8:41 PM Yixun Lan wrote: > > > > Only add basic support for CPU, PLIC UART and Timer. > > > > Reviewed-by: Wei Fu > > Signed-off-by: Yixun Lan

[RESEND PATCH v1 4/4] doc: t-head: lpi4a: document Lichee PI 4A board

2023-05-26 Thread Yixun Lan
Reviewed-by: Wei Fu Signed-off-by: Yixun Lan --- doc/board/index.rst | 1 + doc/board/thead/index.rst | 9 +++ doc/board/thead/lpi4a.rst | 112 ++ 3 files changed, 122 insertions(+) create mode 100644 doc/board/thead/index.rst create mode 100644

[RESEND PATCH v1 2/4] riscv: dts: t-head: Add basic device tree for Sipeed Lichee PI 4A board

2023-05-26 Thread Yixun Lan
Only add basic support for CPU, PLIC UART and Timer. Reviewed-by: Wei Fu Signed-off-by: Yixun Lan --- arch/riscv/dts/Makefile | 1 + arch/riscv/dts/th1520-lichee-module-4a.dtsi | 34 ++ arch/riscv/dts/th1520-lichee-pi-4a.dts | 32 ++ arch/riscv/dts/th1520.dtsi

[RESEND PATCH v1 3/4] configs: th1520_lpi4a_defconfig: Add initial config

2023-05-26 Thread Yixun Lan
Add basic config for Sipeed Lichee PI 4A board which make it capable of booting into serial console. Reviewed-by: Wei Fu Signed-off-by: Yixun Lan --- configs/th1520_lpi4a_defconfig | 82 ++ 1 file changed, 82 insertions(+) create mode 100644 configs

[RESEND PATCH v1 1/4] riscv: t-head: licheepi4a: initial support added

2023-05-26 Thread Yixun Lan
Add support for Sipeed's Lichee Pi 4A board which based on T-HEAD's TH1520 SoC, only minimal device tree and serial onsole are enabled, so it's capable of chain booting from T-HEAD's vendor u-boot. Reviewed-by: Wei Fu Signed-off-by: Yixun Lan --- arch/riscv/Kconfig

[RESEND PATCH v1 0/4] riscv: Initial support for Lichee PI 4A board

2023-05-26 Thread Yixun Lan
submitted by Jisheng Zhang in his patch V2 [1], it's still under review, so may change in the future. [1] https://lore.kernel.org/all/20230518184541.2627-1-jszh...@kernel.org Yixun Lan (4): riscv: t-head: licheepi4a: initial support added riscv: dts: t-head: Add basic device tree for S

[PATCH 0/4] riscv: Initial support for Lichee PI 4A board

2023-05-26 Thread Yixun Lan
submitted by Jisheng Zhang in his patch V2 [1], it's still under review, so may change in the future. [1] https://lore.kernel.org/all/20230518184541.2627-1-jszh...@kernel.org Yixun Lan (4): riscv: t-head: licheepi4a: initial support added riscv: dts: t-head: Add basic device tree for S