[U-Boot] [PATCH 1/1] Fix README for Khadas VIM board

2018-07-10 Thread Loic Devulder
Fix documentation to be able to cross-compile U-Boot on Khadas VIM board. Signed-off-by: Loic Devulder --- board/amlogic/khadas-vim/README | 32 +--- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/board/amlogic/khadas-vim/README b/board/amlogic/khadas

[U-Boot] [PATCH 0/1] Fix README for Khadas VIM board

2018-07-10 Thread Loic Devulder
This patch fix the README file to be able to cross-compile U-Boot on Khadas VIM board. Loic Devulder (1): Fix README for Khadas VIM board board/amlogic/khadas-vim/README | 32 +--- 1 file changed, 25 insertions(+), 7 deletions(-) -- 2.13.7

[U-Boot] [PATCH v3 0/2] Fix USB and enable ADC on Khadas VIM

2018-07-10 Thread Loic Devulder
message for DTS backport Changes since v1: - remove duplicated lines in configs/khadas-vim_defconfig Loic Devulder (2): ARM64: meson: Add 'usb2_phy0' in P212 DT file configs: Update Meson GX configs arch/arm/dts/meson-gxl-s905x-p212.dtsi | 7 configs/khadas-vim_defconfig

[U-Boot] [[PATCH v3] 1/2] ARM64: meson: Sync DT with Linux 4.17.5

2018-07-10 Thread Loic Devulder
Synchronize the Linux Device Tree for Amlogic Meson GX boards from Linux 4.17.5 (Linux commit 54fb3c180d05e9dfda892a93413514e99f0cbb19). This will enable HDMI_5V for USB Amlogic Meson GXL P212 based boards. Signed-off-by: Loic Devulder --- arch/arm/dts/meson-gxl-s905x-p212.dtsi | 7 +++ 1

[U-Boot] [[PATCH v3] 2/2] configs: Update Meson GX configs

2018-07-10 Thread Loic Devulder
Enable ADC support on the Khadas VIM board. Signed-off-by: Loic Devulder Acked-by: Neil Armstrong --- configs/khadas-vim_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/khadas-vim_defconfig b/configs/khadas-vim_defconfig index 1eb13df4b4..fd1ec8157b 100644

[U-Boot] [PATCH v4 2/2] configs: Update Meson GX configs

2018-07-10 Thread Loic Devulder
Enable ADC support on the Khadas VIM board. Signed-off-by: Loic Devulder Acked-by: Neil Armstrong --- configs/khadas-vim_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/khadas-vim_defconfig b/configs/khadas-vim_defconfig index 1eb13df4b4..fd1ec8157b 100644

[U-Boot] [PATCH v4 0/2] Fix USB and enable ADC on Khadas VIM

2018-07-10 Thread Loic Devulder
in Subject... sorry! Changes since v2: - change commit message for DTS backport Changes since v1: - remove duplicated lines in configs/khadas-vim_defconfig Loic Devulder (2): ARM64: meson: Add 'usb2_phy0' in P212 DT file configs: Update Meson GX configs arch/arm/dts/meson-gxl-s905x-p212.dtsi | 7

[U-Boot] [PATCH v4 1/2] ARM64: meson: Sync DT with Linux 4.17.5

2018-07-10 Thread Loic Devulder
Synchronize the Linux Device Tree for Amlogic Meson GX boards from Linux 4.17.5 (Linux commit 54fb3c180d05e9dfda892a93413514e99f0cbb19). This will enable HDMI_5V for USB Amlogic Meson GXL P212 based boards. Signed-off-by: Loic Devulder --- arch/arm/dts/meson-gxl-s905x-p212.dtsi | 7 +++ 1

Re: [U-Boot] [PATCH v2 1/2] ARM64: meson: Add 'usb2_phy0' in P212 DT file

2018-07-09 Thread Loic Devulder
Hi Neil, Sure, I did not see you'd done the change on Linux DTS :) On 07/09/2018 08:14 PM, Neil Armstrong wrote: > Hi Loic, > > On 09/07/2018 17:34, Loic Devulder wrote: >> Enable power supply for USB Amlogic Meson GXL P212 based boards. >> >> Signed-off-by: Loic Dev

Re: [U-Boot] [PATCH 1/1] Fix README for Khadas VIM board

2018-07-10 Thread Loic Devulder
Hi Neil, On 07/10/2018 03:43 PM, Neil Armstrong wrote: > Hi Loic, > > On 10/07/2018 15:15, Loic Devulder wrote: >> Fix documentation to be able to cross-compile U-Boot on Khadas VIM board. >> >> Signed-off-by: Loic Devulder >> --- >>

[U-Boot] [PATCH v2 1/1] Fix README for Khadas VIM board

2018-07-13 Thread Loic Devulder
Explicitly add 'python' call for 'acs_tool.pyc', to avoid failed execution on some OSes. Signed-off-by: Loic Devulder diff --git a/board/amlogic/khadas-vim/README b/board/amlogic/khadas-vim/README index 7eaca724f8..2f30831436 100644 --- a/board/amlogic/khadas-vim/README +++ b/board/amlogic

[U-Boot] [PATCH v2 0/1] Fix README for Khadas VIM board

2018-07-13 Thread Loic Devulder
This patch explicitly add 'python' call for 'acs_tool.pyc', to avoid failed execution on some OSes. Change since v1: - remove USB addition, already done by Neil Armstrong - only let the 'python' addition in the README file Loic Devulder (1): Fix README for Khadas VIM board board/amlogic

[U-Boot] [PATCH 0/2] Fix USB and enable ADC on Khadas VIM

2018-07-09 Thread Loic Devulder
This patch series add power supply entry for P212 like meson-gx boards. It also enable ADC support for Khadas VIM board. Based on the Neil Armstrong's patches. Note: it's my first (small!) patch for U-Boot, I tried to add all needed and useful informations :-) Loic Devulder (2): ARM64: meson

[U-Boot] [PATCH 1/2] ARM64: meson: Add 'usb2_phy0' in P212 DT file

2018-07-09 Thread Loic Devulder
Enable power supply for USB Amlogic Meson GXL P212 based boards. Signed-off-by: Loic Devulder --- arch/arm/dts/meson-gxl-s905x-p212.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/meson-gxl-s905x-p212.dtsi b/arch/arm/dts/meson-gxl-s905x-p212.dtsi index 0cfd701809

[U-Boot] [PATCH 2/2] configs: Update Meson GX configs

2018-07-09 Thread Loic Devulder
Enable ADC support on the Khadas VIM board. Signed-off-by: Loic Devulder --- configs/khadas-vim_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/khadas-vim_defconfig b/configs/khadas-vim_defconfig index 1eb13df4b4..116acb5507 100644 --- a/configs/khadas-vim_defconfig

[U-Boot] [PATCH v2 2/2] configs: Update Meson GX configs

2018-07-09 Thread Loic Devulder
Enable ADC support on the Khadas VIM board. Signed-off-by: Loic Devulder --- configs/khadas-vim_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/khadas-vim_defconfig b/configs/khadas-vim_defconfig index 1eb13df4b4..fd1ec8157b 100644 --- a/configs/khadas-vim_defconfig

[U-Boot] [PATCH v2 0/2] Fix USB and enable ADC on Khadas VIM

2018-07-09 Thread Loic Devulder
duplicated lines in configs/khadas-vim_defconfig Loic Devulder (2): ARM64: meson: Add 'usb2_phy0' in P212 DT file configs: Update Meson GX configs arch/arm/dts/meson-gxl-s905x-p212.dtsi | 8 configs/khadas-vim_defconfig | 5 + 2 files changed, 13 insertions(+) -- 2.13.7

[U-Boot] [PATCH v2 1/2] ARM64: meson: Add 'usb2_phy0' in P212 DT file

2018-07-09 Thread Loic Devulder
Enable power supply for USB Amlogic Meson GXL P212 based boards. Signed-off-by: Loic Devulder --- arch/arm/dts/meson-gxl-s905x-p212.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/meson-gxl-s905x-p212.dtsi b/arch/arm/dts/meson-gxl-s905x-p212.dtsi index 0cfd701809

[U-Boot] [RFC PATCH 3/3] ARM: dts: meson: Update dts files from Linux v4.19

2018-11-02 Thread Loic Devulder
This patch modifies Device Tree of meson boards. The dts files are synchronized from Linux 4.19. Signed-off-by: Loic Devulder --- arch/arm/dts/meson-gx.dtsi| 31 + arch/arm/dts/meson-gxbb-nanopi-k2.dts | 48 +++ arch/arm

[U-Boot] [RFC PATCH 1/3] ARM: meson: Add regmap support for clock driver

2018-11-02 Thread Loic Devulder
This patch modifies the meson clock driver to use syscon/regmap like the Linux kernel does, as it is needed if we want to share the same DTS files. Compatibility is kept with the old behaviour, if needed. Signed-off-by: Loic Devulder --- drivers/clk/clk_meson.c | 49

[U-Boot] [RFC PATCH 0/3] ARM: meson: Use syscon/regmap for clock driver

2018-11-02 Thread Loic Devulder
I don't expect any issue with that board, but if someone is able to test on nanopo-k2 and odroid-c2 it could be great :-) I opened this patch series as a RFC, as it's not a tricky part (for me!) and pretty new to me, so any feedback are welcome and wanted! Loic Devulder (3): ARM: meson: Add

[U-Boot] [RFC PATCH 2/3] ARM: meson: Enable syscon on all supported boards

2018-11-02 Thread Loic Devulder
This patch enable CONFIG_SYSCON option on all supported meson boards, as this is need for the new clock driver to work. Signed-off-by: Loic Devulder --- configs/khadas-vim2_defconfig | 1 + configs/khadas-vim_defconfig | 1 + configs/libretech-cc_defconfig | 1 + configs/nanopi-k2_defconfig

Re: [U-Boot] [PATCH v4 5/5] sunxi: DT: add support for Pinebook

2018-10-29 Thread Loic Devulder
pvdd"; > +}; > + > +_eldo3 { > + regulator-min-microvolt = <180>; > + regulator-max-microvolt = <180>; > + regulator-name = "vdd-1v8-csi"; > +}; > + > +_fldo1 { > + regulator-min-microvolt = <120>; >

Re: [U-Boot] [PATCH 0/2] Add Khadas VIM2 board support

2018-10-03 Thread Loic Devulder
Hi Neil, On 10/3/18 12:58 PM, Neil Armstrong wrote: > Hi Loic, > > On 03/10/2018 12:02, Loic Devulder wrote: >> This adds platform code for the Khadas VIM2 board based on a >> Meson GXM (S912) SoC with the Meson GXM configuration. > > With the "ARM: meson: Exten

Re: [U-Boot] [PATCH v3 0/8] Improvements for the dwc3_generic driver

2018-10-09 Thread Loic Devulder
st > operations. The code to enable DM USB host & dev support for those > platforms will be submitted in a separate series. > > Michal Simek has tested this series: > " I have tested it on zcu100 with usb stick, usb to ethernet converter and > also dfu. > Tested-by: Mi

[U-Boot] [PATCH 0/2] Add Khadas VIM2 board support

2018-10-03 Thread Loic Devulder
on my board. Loic Devulder (2): ARM: meson: Add Khadas VIM2 board DT ARM: meson: Add Khadas VIM2 board support arch/arm/dts/Makefile | 3 +- arch/arm/dts/meson-gxm-khadas-vim2.dts | 412 arch/arm/dts/meson-gxm.dtsi | 119

[U-Boot] [PATCH 1/2] ARM: meson: Add Khadas VIM2 board DT

2018-10-03 Thread Loic Devulder
This adds Device Tree for the Khadas VIM2 board. The meson-gxm-khadas-vim2.dts is synchronized from Linux 4.18.10. Signed-off-by: Neil Armstrong Signed-off-by: Loic Devulder --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/meson-gxm-khadas-vim2.dts | 412

[U-Boot] [PATCH 2/2] ARM: meson: Add Khadas VIM2 board support

2018-10-03 Thread Loic Devulder
on my board. Signed-off-by: Neil Armstrong Signed-off-by: Loic Devulder --- arch/arm/mach-meson/Kconfig | 23 +++ board/amlogic/khadas-vim2/Kconfig | 12 board/amlogic/khadas-vim2/MAINTAINERS | 6 ++ board/amlogic/khadas-vim2/Makefile | 6 ++ board

[U-Boot] [PATCH 1/1] ARM: meson: Extend mem_map to support 3GiB of RAM

2018-09-25 Thread Loic Devulder
with S912 SoC. Signed-off-by: Loic Devulder --- arch/arm/mach-meson/board.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-meson/board.c b/arch/arm/mach-meson/board.c index 1ef7e5a6d1..48096ca7cf 100644 --- a/arch/arm/mach-meson/board.c +++ b/arch/arm

[U-Boot] [PATCH v2 1/1] ARM: meson: Extend mem_map to support 3GiB of RAM

2018-09-25 Thread Loic Devulder
with S912 SoC. Signed-off-by: Loic Devulder --- v2: set the correct size for devices memory map arch/arm/mach-meson/board.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-meson/board.c b/arch/arm/mach-meson/board.c index 1ef7e5a6d1..48096ca7cf 100644

Re: [U-Boot] [PATCH v2] efi_loader: Make RTS relocation more robust

2018-12-11 Thread Loic Devulder
Hi Alex, Tested successfully on Khadas VIM board, fix my panic with efivars. Tested-by: Loic Devulder On 12/11/18 10:00 AM, Alexander Graf wrote: > While changing the RTS alignment to 64KB in commit 7a82c3051c8f > ("efi_loader: Align runtime section to 64kb") the relocatio

Re: [U-Boot] [PATCH v4 00/10] Improvements for the dwc3_generic driver

2018-12-06 Thread Loic Devulder
ok, I can plug/unplug USB key and do the reset, all works as expected. Since my last test lot of changes has been done in Amlogic SoCs, maybe it's because of this? So if you want you can add my tested-by flag. Tested-by: Loic Devulder On 11/29/18 10:52 AM, Jean-Jacques Hiblot wrote: > >

Re: [U-Boot] [PATCH u-boot 13/19] ARM: meson: rework soc arch file to prepare for new SoC

2018-11-20 Thread Loic Devulder
c b/arch/arm/mach-meson/sm.c > index 0bba5e4..a07b468 100644 > --- a/arch/arm/mach-meson/sm.c > +++ b/arch/arm/mach-meson/sm.c > @@ -6,7 +6,6 @@ > */ > > #include > -#include > #include > > #define FN_GET_SHARE_MEM_INPUT_BASE 0x8220 > diff --git a/board/am

Re: [U-Boot] [PATCH u-boot] spi: Add Amlogic Meson SPI Flash Controller driver

2018-11-20 Thread Loic Devulder
Neil, I just saw that you found a bug and you will send a v2 patch, so I will retest it with the new version. On 11/21/18 12:45 AM, Loic Devulder wrote: > Hi Neil, > > I was able to detect the W25Q16FW SPI flash of my Khadas VIM2 with your > patch: > => sspi > SF: Detect

[U-Boot] [PATCH v2 0/3] ARM: meson: Use syscon/regmap for clock driver

2018-11-20 Thread Loic Devulder
to test on nanopo-k2 and odroid-c2 it could be great :-) I opened this patch series as a RFC, as it's not a tricky part (for me!) and pretty new to me, so any feedback are welcome and wanted! Changes since v1: - rebased on the "Amlogic Meson cleanup for AXG SoC support" patchset from

[U-Boot] [PATCH v2 3/3] ARM: dts: meson: Update dts files from Linux v4.19

2018-11-20 Thread Loic Devulder
This patch modifies Device Tree of meson boards. The dts files are synchronized from Linux 4.19. Signed-off-by: Loic Devulder --- arch/arm/dts/meson-gx.dtsi| 31 + arch/arm/dts/meson-gxbb-nanopi-k2.dts | 48 +++ arch/arm

[U-Boot] [PATCH v2 1/3] ARM: meson: Add regmap support for clock driver

2018-11-20 Thread Loic Devulder
This patch modifies the meson clock driver to use syscon/regmap like the Linux kernel does, as it is needed if we want to share the same DTS files. Signed-off-by: Loic Devulder --- drivers/clk/clk_meson.c | 59 + 1 file changed, 30 insertions

[U-Boot] [PATCH v2 2/3] ARM: meson: Enable syscon on all supported boards

2018-11-20 Thread Loic Devulder
This patch enable CONFIG_SYSCON option on all supported meson boards, as this is need for the new clock driver to work. Signed-off-by: Loic Devulder --- configs/khadas-vim2_defconfig | 1 + configs/khadas-vim_defconfig | 1 + configs/libretech-cc_defconfig | 1 + configs/nanopi-k2_defconfig

Re: [U-Boot] [PATCH u-boot] spi: Add Amlogic Meson SPI Flash Controller driver

2018-11-20 Thread Loic Devulder
quot;Tested-by: Loic Devulder " :) On 11/6/18 10:25 AM, Neil Armstrong wrote: > The Amlogic Meson SoCs embeds a Flash oriented SPI Controller name SPIFC. > This driver, ported from the Linux meson-spi-spifc driver, add support > for this controller on the Amlogic Meson GX SoCs in U-Boot.

Re: [U-Boot] [PATCH u-boot 17/19] board: amlogic: add support for S400 board

2018-11-20 Thread Loic Devulder
8 @@ > +CONFIG_ARM=y > +CONFIG_ARCH_MESON=y > +CONFIG_SYS_TEXT_BASE=0x0100 > +CONFIG_MESON_AXG=y > +CONFIG_DEBUG_UART_BASE=0xff803000 > +CONFIG_DEBUG_UART_CLOCK=2400 > +CONFIG_IDENT_STRING=" s400" > +CONFIG_DEBUG_UART=y > +CONFIG_NR_DRAM_BANKS=1 > +CONF

[U-Boot] [PATCH v3] ARM: meson: Add regmap support for clock driver

2018-11-27 Thread Loic Devulder
This patch modifies the meson clock driver to use syscon/regmap like the Linux kernel does, as it is needed if we want to share the same DTS files. DTS files are synchronized from Linux 4.19. Signed-off-by: Loic Devulder Acked-by: Neil Armstrong --- Note: this patch needs to be merged *after

[PATCH v1 0/2] Add roc-rk3328-cc support

2020-02-14 Thread Loic Devulder
works fine but SPL fails to find a bootable device. I didn't used the DTS from Linux kernel: USB2 fails in that case, this should be corrected but maybe later? Note: sorry if this serie has been send twice, but I had issue with my email server... Loic Devulder (2): rockchip: rk3328: dts: add L2

[PATCH v1 2/2] rockchip: rk3328: add roc-rk3328-cc support

2020-02-14 Thread Loic Devulder
ROC-RK3328-CC is a board made by Firefly/Libre Computer based on rk3328 SoC: - 2 USB2.0 Host port - 1 USB3.0 Host port - 1 HDMI port - 2 10/100M eth port - 1GB or 2GB DDR4 - UART to USB debug port This port is based on evb-rk3328 already available in U-Boot. Signed-off-by: Loic Devulder

[PATCH v1 1/2] rockchip: rk3328: dts: add L2 cache entry

2020-02-14 Thread Loic Devulder
Add missing L2 cache entry in dts to avoid warning during Linux kernel boot. Signed-off-by: Loic Devulder --- arch/arm/dts/rk3328.dtsi | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/rk3328.dtsi b/arch/arm/dts/rk3328.dtsi index