Re: [PATCH v2 0/2] ARM: dts: fix Ethernet and random MAC's on WeTek Hub/Play2

2024-03-25 Thread Neil Armstrong
Hi, On Sun, 24 Mar 2024 15:19:03 +, Christian Hewitt wrote: > In submitting the original patches for WeTek Hub/Play2 I appear to have > squashed an experimental change to place the u-boot.dtsi file on the common > board dtsi, but this was incorrect and results in broken Ethernet. Patch 1 > cre

Re: [PATCH v2] board: amlogic: fix buffler overflow in seria, mac & usid read

2024-03-25 Thread Neil Armstrong
Hi, On Wed, 20 Mar 2024 09:46:11 +0100, Neil Armstrong wrote: > While meson_sm_read_efuse() doesn't overflow, the string is not > zero terminated and env_set*() will buffer overflow and add random > characters to environment. > > Thanks, Applied to https://source.denx.de

Re: [PATCH v1 3/3] board: amlogic: jethubj100: update docs

2024-03-25 Thread Neil Armstrong
On 27/02/2024 07:54, Viacheslav Bocharov wrote: Improove documentation, add new revision. Signed-off-by: Viacheslav Bocharov --- doc/board/amlogic/jethub-j100.rst | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/board/amlogic/jethub-j100.rst b/doc/board/amlog

[GIT PULL] Please pull u-boot-amlogic-fixes-20240325

2024-03-25 Thread Neil Armstrong
amlogic: add meson_generate_serial_ethaddr fallback to p200 Neil Armstrong (1): board: amlogic: fix buffler overflow in seria, mac & usid read ...b-wetek-u-boot.dtsi => meson-gxbb-wetek-hub-u-boot.dtsi} | 0 arch/arm/dts/meson-gxbb-wetek-play2-u-boot.dtsi | 13 + board/a

Re: [PATCH v1] board: amlogic: jethubj100: fix update docs

2024-03-26 Thread Neil Armstrong
On 26/03/2024 09:19, Viacheslav Bocharov wrote: Fix linter errors Fixes: 2fc5e3c1668cffdb4b894986e98c1ee10f6e9955 Signed-off-by: Viacheslav Bocharov --- doc/board/amlogic/jethub-j100.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/board/amlogic/jethub-j100.rst b

Re: [PATCH 0/4] arm: meson: Switch to using upstream DT for GXL, GXM, AXG, G12A, G12B & SM1 SoCs

2024-03-28 Thread neil . armstrong
t;\0" \ "fdtoverlay_addr_r=" FDTOVERLAY_ADDR_R "\0" \ "ramdisk_addr_r=" RAMDISK_ADDR_R "\0" \ - "fdtfile=amlogic/" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \ + "fdtfile=" FDTFILE_NAME "\0" \

Re: [PATCH 0/4] arm: meson: Switch to using upstream DT for GXL, GXM, AXG, G12A, G12B & SM1 SoCs

2024-03-28 Thread Neil Armstrong
Hi Mattijs, On 19/03/2024 15:42, Neil Armstrong wrote: Enable OF_UPSTREAM to use upstream DT and add amlogic/ prefix to the DEFAULT_DEVICE_TREE. And thereby directly build DTB from dts/upstream/src/ including *-u-boot.dtsi files from arch/$(ARCH)/dts/ directory and drop redundant files from

Re: [PATCH 0/4] arm: meson: Switch to using upstream DT for GXL, GXM, AXG, G12A, G12B & SM1 SoCs

2024-03-28 Thread neil . armstrong
Y_ADDR_R "\0" \ "ramdisk_addr_r=" RAMDISK_ADDR_R "\0" \ -   "fdtfile=amlogic/" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \ +   "fdtfile=" FDTFILE_NAME "\0" \ "dfu_alt_info=fitimage ram " KERNEL_ADDR_R " 0

[PATCH 0/2] ARM: arch-meson: add support for Odroid Go Ultra

2023-01-19 Thread Neil Armstrong
Halt Cc: u-boot@lists.denx.de Cc: u-boot-amlo...@groups.io Signed-off-by: Neil Armstrong --- Neil Armstrong (2): ARM: dts: sync Amlogic ARM64 DT from v6.2-rc1 ARM: meson: add support for Odroid Go Ultra arch/arm/dts/Makefile | 1 + arch/arm/dts/meson

[PATCH 1/2] ARM: dts: sync Amlogic ARM64 DT from v6.2-rc1

2023-01-19 Thread Neil Armstrong
This syncs the Amlogic G12A, G12B & SM1 base DT + the Odroid Go Ultra DT from Linux v6.2-rc1 from commmit [1]. [1] 1b929c02afd3 ("Linux 6.2-rc1") Signed-off-by: Neil Armstrong --- arch/arm/dts/Makefile | 1 + arch/arm/dts/meson-g12-common.dtsi

[PATCH 2/2] ARM: meson: add support for Odroid Go Ultra

2023-01-19 Thread Neil Armstrong
-off-by: Neil Armstrong --- .../arm/dts/meson-g12b-odroid-go-ultra-u-boot.dtsi | 16 + configs/odroid-go-ultra_defconfig | 70 ++ doc/board/amlogic/index.rst| 4 +- doc/board/amlogic/odroid-go-ultra.rst | 34 ++

Re: [PATCH 0/2] mach-meson: port GXL & AXG dwc2_otg usage to CONFIG_DM_USB_GADGET=y

2023-01-20 Thread Neil Armstrong
Hi, On Tue, 17 Jan 2023 10:11:45 +0100, Neil Armstrong wrote: > This is the port of Mattijs work at [1] for G12A over GXL & AXG. > > It uses the same design and should work as-is, it still needs to be > be extensively tested over the main GXL & AXG boards. > > [1] >

Re: [PATCH 0/2] ARM: arch-meson: add support for Odroid Go Ultra

2023-01-24 Thread Neil Armstrong
Hi, On Thu, 19 Jan 2023 14:44:17 +0100, Neil Armstrong wrote: > This adds initial support for the Hardkernel Odroid Go Ultra. > > The Odroid Go Ultra is a portable gaming device with the following > characteristics: > - Amlogic S922X SoC > - RK817 & RK818 PMICs > - 2GiB

[PATCH 0/2] ARM: meson: Add support for Odroid-N2L

2023-01-26 Thread Neil Armstrong
e ADC revision collides with Odroid-N2+ and since it doesn't have on-board ethernet no need to load the MAC address from eFuses. [1] https://lore.kernel.org/all/20230122-topic-odroid-n2l-upstream-initial-v2-0-8d3fea6d4...@linaro.org/ Signed-off-by: Neil Armstrong --- Neil Armstrong (2):

[PATCH 2/2] ARM: meson: Add support for Odroid-N2L

2023-01-26 Thread Neil Armstrong
e on-board ethernet no need to load the MAC address from eFuses. Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-g12b-odroid-n2l-u-boot.dtsi | 7 +++ configs/odroid-n2l_defconfig | 70 ++ doc/board/amlogic/index.rst| 2 + doc/boa

[PATCH 1/2] ARM: dts: Import Odroid-N2L support

2023-01-26 Thread Neil Armstrong
Import Odroid-N2L support posted at [1] and merged for Linux v6.3-rc1. [1] https://lore.kernel.org/all/20230122-topic-odroid-n2l-upstream-initial-v2-0-8d3fea6d4...@linaro.org/ Signed-off-by: Neil Armstrong --- arch/arm/dts/Makefile | 1 + arch/arm/dts/meson-g12b-odroid-n2

Re: [PATCH 0/2] ARM: meson: Add support for Odroid-N2L

2023-01-30 Thread Neil Armstrong
Hi, On Thu, 26 Jan 2023 10:48:19 +0100, Neil Armstrong wrote: > ODROID-N2L is a variant SBC in small form factor and some peripherals > are removed from ODROID-N2PLUS based on S922X SoC. > > - On-board ethernet is removed > - On-board RTC is removed > - USB 3.0 hub is removed,

[GIT PULL] Please pull u-boot-amlogic-20230131

2023-01-31 Thread Neil Armstrong
meson: sm: introduce efusedump command doc/usage: cmd: sm: documentation efusedump cmd Mattijs Korpershoek (2): usb: dwc3-meson-g12a: force mode on child add/removal ARM: meson: g12a: switch dwc2 otg to DM Neil Armstrong (6): usb: dwc3-meson-gxl: force mode on child add/removal

Re: [PATCH 160/171] Correct SPL uses of USB_DWC3_MESON_GXL

2023-01-31 Thread Neil Armstrong
Hi, On 30/01/2023 16:16, Simon Glass wrote: This converts 2 usages of this option to the non-SPL form, since there is no SPL_USB_DWC3_MESON_GXL defined in Kconfig Signed-off-by: Simon Glass --- arch/arm/mach-meson/board-axg.c | 2 +- arch/arm/mach-meson/board-gx.c | 2 +- 2 files changed

Re: [PATCH 162/171] Correct SPL uses of USB_GADGET_DWC2_OTG

2023-01-31 Thread Neil Armstrong
On 30/01/2023 16:16, Simon Glass wrote: This converts 3 usages of this option to the non-SPL form, since there is no SPL_USB_GADGET_DWC2_OTG defined in Kconfig Signed-off-by: Simon Glass --- arch/arm/mach-meson/board-axg.c | 2 +- arch/arm/mach-meson/board-g12a.c | 2 +- arch/arm/mach-mes

Re: [PATCH v2] ARM: amlogic: update JetHub D1/H1 configs (was: add SYS_LOAD_ADDR to JetHub D1/H1 configs)

2021-10-07 Thread Neil Armstrong
Hi, On 06/10/2021 17:11, Vyacheslav Bocharov wrote: > - late fix for 49c8ef0e45a91ec894ef15e7d043dafe8f1c5efd commit by Tom Rini. > - enable i2c, rtc, eeprom thanks, I'll squash it on the previous patch on my u-boot-amlogic-next tree. Neil > > Changes: > - add i2c, rtc, eeprom > > Signed-off-

[PULL u-boot] Please pull u-boot-amlogic-20211007

2021-10-07 Thread Neil Armstrong
mlogic Makefile section ARM: dts: add support for Radxa Zero boards: amlogic: add Radxa Zero defconfig doc: boards: amlogic: update for Radxa Zero Neil Armstrong (11): pci: pcie_dw_meson: fix usb fail when pci link fails to go up ARM: meson: Sync Amlogic DT from Linux

Re: [PATCH] ARM: amlogic: add sm efuse write support and cmd for read/write efuse

2021-10-20 Thread Neil Armstrong
On 05/10/2021 14:00, Vyacheslav Bocharov wrote: > This adds support for amlogic efuse write and provides two subcommands > of "sm" command: "efuseread" and "efusewrite" to read/write bytes between > memory and efuse. > > Signed-off-by: Vyacheslav Bocharov > --- > arch/arm/mach-meson/sm.c | 68 ++

Re: [U-Boot] [PATCH 4/4] board: amlogic: Add missing config option

2019-11-27 Thread Neil Armstrong
Hi, On 26/11/2019 22:12, Anand Moon wrote: > Add missing config option CONFIG_MESON_GXBB and CONFIG_SYS_BOARD, > for odroid-c2 and nanopi k2 board > > Signed-off-by: Anand Moon > --- > configs/nanopi-k2_defconfig | 2 ++ > configs/odroid-c2_defconfig | 2 ++ > 2 files changed, 4 insertions(+) >

Re: [U-Boot] [PATCH 3/4] board: amlogic: select PWRSEQ for all amlogic platform

2019-11-27 Thread Neil Armstrong
,7 @@ config MESON64_COMMON > select DM_SERIAL > select SYSCON > select REGMAP > + select PWRSEQ > select BOARD_LATE_INIT > imply CMD_DM > > Reviewed-by: Neil Armstrong ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 2/4] configs: meson64: enable GIC support for G12A/G12B

2019-11-27 Thread Neil Armstrong
ESON_AXG) || defined(CONFIG_MESON_G12A)) > #define GICD_BASE0xffc01000 > #define GICC_BASE0xffc02000 > #else /* MESON GXL and GXBB */ > Thanks for spotting this ! Reviewed-by: Neil Armstrong ___

Re: [U-Boot] [PATCH 1/4] mmc: meson-gx: Fix tx phase in the tuning process

2019-11-27 Thread Neil Armstrong
Hi, On 26/11/2019 22:12, Anand Moon wrote: > odroid n2 eMMC module would failed to boot up, > because of TX phase clk failure, fix the typo in > TX phase macro to help tune correct clk freqency. > > Before these changes. > clock is enabled (380953Hz) > clock is enabled (2500Hz) > after th

Re: [U-Boot] [PATCH 1/4] mmc: meson-gx: Fix tx phase in the tuning process

2019-12-04 Thread Neil Armstrong
Hi, On 27/11/2019 15:42, Anand Moon wrote: > Hi Neil, > > On Wed, 27 Nov 2019 at 18:30, Neil Armstrong wrote: >> >> Hi, >> >> On 26/11/2019 22:12, Anand Moon wrote: >>> odroid n2 eMMC module would failed to boot up, >>> because of TX phase clk

Re: [PATCH] ARM: amlogic: add JetHub D1 eth mac generation with manufacturer OUI

2021-10-29 Thread Neil Armstrong
On 29/10/2021 09:08, Vyacheslav Bocharov wrote: > JetHome has own MAC OUI. Add jethub-j100 board file. Update config. > > Signed-off-by: Vyacheslav Bocharov > --- > board/amlogic/jethub-j100/MAINTAINERS | 8 + > board/amlogic/jethub-j100/Makefile | 6 > board/amlogic/jethub-j10

Re: [PATCH] ARM: amlogic: add JetHub D1 eth mac generation with manufacturer OUI

2021-10-29 Thread Neil Armstrong
32(0, (unsigned char *)serial, SM_SERIAL_SIZE); 1518+ | Can you send a fix I can squash on the commit ? Neil On 29/10/2021 14:21, Vyacheslav wrote: > Thanks. > > 29.10.2021 15:08, Neil Armstrong пишет: >> On 29/10/2021 09:08, Vyacheslav Bocharov wrote: >>> JetHome has own

Re: [PATCH] ARM: amlogic: add JetHub D1 eth mac generation with manufacturer OUI

2021-10-29 Thread Neil Armstrong
On 29/10/2021 16:49, Vyacheslav wrote: > #include Thanks, Applied & squashed ! Neil

[PULL u-boot] Please pull u-boot-amlogic-20211102

2021-11-02 Thread Neil Armstrong
Hi Tom, Here's 2 simple changes, one to add commands to read/write fuses and another to add proper MAC generation for the JetHub D1 product. The CI job is at https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic/pipelines/9712 Thanks, Neil The following changes since commit aafc378a6caef453

Re: [PATCH v2] pinctrl: meson: Correct the driver GPIO declaration

2021-11-15 Thread Neil Armstrong
On 13/11/2021 16:49, Tom Rini wrote: > On Sat, Nov 13, 2021 at 07:07:15AM -0700, Simon Glass wrote: > >> This should use the provided U_BOOT_DRIVER() macro so that the driver gets >> added to the appropriate linker list. Fix it. >> >> Signed-off-by: Simon Glass >> Fixes: 7c9dcfed50f ("pinctrl: me

Re: [PATCH 0/2] meson64_android: fix initial flashing failures

2021-11-17 Thread Neil Armstrong
21.07/integ > [3] > https://gitlab.com/baylibre/amlogic/atv/aosp/device/amlogic/yukawa/-/wikis/Khadas_VIM3#flash-android-bootloader > > Neil Armstrong (2): > configs: meson64_android: bypass other checks on run_fastboot=1 > configs: meson64_android: add PANIC stage for

[PULL u-boot] Please pull u-boot-amlogic-20211119

2021-11-19 Thread Neil Armstrong
the driver GPIO declaration - meson64_android: handle errors on boot and run fastboot on boot failure ---- Neil Armstrong (2): configs: meson64_android: bypass other checks on run_fastboot=1 configs: meson64_android: add PANIC s

Re: [PATCH] usb: gadget: dwc2_udc_otg: set ep's desc during enable/disable

2022-01-06 Thread Neil Armstrong
HUTDOWN); > > + _ep->desc = NULL; > ep->desc = 0; > ep->stopped = 1; > > An off-tree patch removed from our Yukawa backlog, thanks ! Reviewed-by: Neil Armstrong Neil

Re: [PATCH] configs: amlogic: Disable CONFIG_NET_RANDOM_ETHADDR when unnecessary

2022-01-07 Thread Neil Armstrong
On 22/11/2021 12:07, Neil Armstrong wrote: > On Meson GXL, GXM, AXG, G12A, G12B & SM1 SoCs, we can generate an unique > MAC address if none valid found in the eFuses storage. > > Only the GXBB based boards doesn't have a fallback way to generate an > unique MA

Re: [PATCH v2 0/4] meson64_android: add support for vim3/vim3l boards

2022-01-07 Thread Neil Armstrong
On 22/11/2021 16:22, Mattijs Korpershoek wrote: > The VIM3 and VIM3L boards are well supported in the > Android Open Source project via the yukawa [1] platform. > > Their U-Boot version, despite being public [2] is not in mainline. > > [1] https://android.googlesource.com/device/amlogic/yukawa >

[PULL u-boot] Please pull u-boot-amlogic-20220107

2022-01-07 Thread Neil Armstrong
ttijs Korpershoek (4): configs: meson64_android: add board specific env settings configs: add khadas-vim3{l}_android for AOSP support configs: prepare khadas-vim3{l}_ab_android for AOSP support configs: khadas-vim3{l}_android_ab: enable A/B support Neil Armstro

Re: [PATCH] configs: amlogic: Disable CONFIG_NET_RANDOM_ETHADDR for android

2022-01-12 Thread Neil Armstrong
On 12/01/2022 09:40, Mattijs Korpershoek wrote: > The Khadas vim3 and vim3l defconfigs introduced with: > * f89b90d2d9 ("configs: add khadas-vim3{l}_android for AOSP support") > * 425f06f86e ("configs: prepare khadas-vim3{l}_ab_android for AOSP support") > > were based on an outdated defconfig pri

Re: [PATCH] configs: meson64_android: define raw parts for bootloader

2022-01-12 Thread Neil Armstrong
On 07/01/2022 17:39, Mattijs Korpershoek wrote: > Per the android documentation[1]: > - the mmc2boot0 partition should be labeled "bootloader". > - the mmc2boot1 partition should be labeled "bootenv". > > Also the u-boot documentation[2] refers to a BOOT1_OFFSET of 1 block. > > Define 2 raw parti

Re: [PATCH] board: amlogic: vim3: configure serial# from ethaddr

2022-01-19 Thread Neil Armstrong
{ > + eth_env_get_enetaddr("ethaddr", mac_addr); > + sprintf(serial_string, "%02X%02X%02X%02X%02X%02X", > + mac_addr[0], mac_addr[1], mac_addr[2], > + mac_addr[3], mac_addr[4], mac_addr[5]); > + env_set("serial#", serial_string); > + } > + > return 0; > } > Reviewed-by: Neil Armstrong

Re: [PATCH] board: amlogic: vim3: configure serial# from ethaddr

2022-01-19 Thread Neil Armstrong
Hi, On Wed, 19 Jan 2022 15:24:00 +0100, Mattijs Korpershoek wrote: > The Khadas VIM3 and VIM3L boards, which are supported in Android via > Yukawa [1] need a serial number for usb/fastboot enumeration. > > Whenever the environment does not provide a serial#, use the eth mac > address as serial#.

[PULL u-boot] Please pull u-boot-amlogic-20220120

2022-01-20 Thread Neil Armstrong
Hi Tom, Here's a few changes : - CONFIG_NET_RANDOM_ETHADDR cleanup for VIM3/L Android configs I missed - raw parts for bootloader to flash bootloader with fastboot with Android configs - Add missing serial# like sei510/610 in order to satisfy fastboot The CI job is at https://source.denx.de/u-b

Re: [PATCH v2] image-board: fix wrong implementation ram disk address setup from cmdline

2022-01-24 Thread Neil Armstrong
t;> + done = true; >>> } >>> } >>> if (!done) { >> >> I think we still need this? Can you please confirm and if so rebase to >> master again, sorry, thanks! > > i have check master which have new c

Re: [PATCH] configs: meson64_android: don't show logo on ROM USB boot

2020-10-30 Thread Neil Armstrong
On 30/10/2020 16:03, Mattijs Korpershoek wrote: > From: Guillaume La Roque > > When booting from rom usb, skip the boot logo logic as it's possible > that the partition containing the logo does not exist yet. > > Signed-off-by: Neil Armstrong > Signed-off-by: Guilla

Re: [PATCH] configs: meson64: relocate config_distro_bootcmmd header

2020-11-02 Thread Neil Armstrong
hcp, na) > #endif > > +#include > + > #ifndef CONFIG_EXTRA_ENV_SETTINGS > #define CONFIG_EXTRA_ENV_SETTINGS \ > "stdin=" STDIN_CFG "\0" \ > @@ -83,6 +85,5 @@ > BOOTENV > #endif > > -#include > > #endif /* __MESON64_CONFIG_H */ > Thanks, Acked-by: Neil Armstrong

Re: [PATCH] configs: meson64: relocate config_distro_bootcmmd header

2020-11-02 Thread Neil Armstrong
hcp, na) > #endif > > +#include > + > #ifndef CONFIG_EXTRA_ENV_SETTINGS > #define CONFIG_EXTRA_ENV_SETTINGS \ > "stdin=" STDIN_CFG "\0" \ > @@ -83,6 +85,5 @@ > BOOTENV > #endif > > -#include > > #endif /* __MESON64_CONFIG_H */ > Thanks, Acked-by: Neil Armstrong

Re: [PATCH] configs: meson64: relocate config_distro_bootcmmd header

2020-11-02 Thread Neil Armstrong
hcp, na) > #endif > > +#include > + > #ifndef CONFIG_EXTRA_ENV_SETTINGS > #define CONFIG_EXTRA_ENV_SETTINGS \ > "stdin=" STDIN_CFG "\0" \ > @@ -83,6 +85,5 @@ > BOOTENV > #endif > > -#include > > #endif /* __MESON64_CONFIG_H */ > Thanks, Acked-by: Neil Armstrong

Re: [PATCH 2/2] arm64: meson: add support for libretech-cc v2

2020-11-05 Thread Neil Armstrong
Hi, On 05/11/2020 15:15, Jerome Brunet wrote: > Add support for the Amlogic based libretech cc version 2. > As version 1, it is based on the s905x SoC. > > Signed-off-by: Jerome Brunet > --- > arch/arm/dts/Makefile | 1 + > ...eson-gxl-s905x-libretech-cc-v2-u-boot.dtsi

Re: [PATCH 2/2] arm64: meson: add support for libretech-cc v2

2020-11-05 Thread Neil Armstrong
On 05/11/2020 15:35, Jerome Brunet wrote: > > On Thu 05 Nov 2020 at 15:22, Neil Armstrong wrote: > >> Hi, >> >> On 05/11/2020 15:15, Jerome Brunet wrote: >>> Add support for the Amlogic based libretech cc version 2. >>> As version 1, it is based on

[PATCH 2/2] doc: board: vim3: Fix build instructions

2020-11-05 Thread Neil Armstrong
The build instructions were buggy and changed a little since they were written. Signed-off-by: Neil Armstrong --- doc/board/amlogic/khadas-vim3.rst | 9 + doc/board/amlogic/khadas-vim3l.rst | 11 +++ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/doc/board

[PATCH 1/2] doc: board: amlogic: Update support matrix

2020-11-05 Thread Neil Armstrong
Update the matrix table with new supported features and new SoC features to support. Signed-off-by: Neil Armstrong --- doc/board/amlogic/index.rst | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/board/amlogic/index.rst b/doc/board/amlogic/index.rst index

[PATCH 0/3] mmc: meson-gx: fix mmc & scard failure on SM1 SoCs

2020-11-06 Thread Neil Armstrong
le to distinguish the controller in a new meson-sm1-u-boot.dtsi and reworks the other -u-boot.dtsi to use this for SM1 based boards. Finally a TOFIX is added to precise the clock management should use the clock controller instead of local management with fixed clock rates. Neil Armstrong (3): mmc:

Re: Fail to reset on Odroid-C4

2020-11-06 Thread Neil Armstrong
Hi, On 06/11/2020 03:10, Jaehoon Chung wrote: > Hi, > > I have checked U-boot on Odroid-C4 with v2020.10. > I found a problem about reset behavior. > > In my environment, > - Boot to SD-card, > - built u-boot v2020.10 with ordoid-c4_defconfig > - Referred to doc/board/amlogic/odroid-c4.rst > >

[PATCH 2/3] mmc: meson-gx: limit max frequency on SM1 SoCs

2020-11-06 Thread Neil Armstrong
le to distinguish the controller. Finally a TOFIX is added to precise the clock management should use the clock controller instead of local management with fixed clock rates. Signed-off-by: Neil Armstrong --- drivers/mmc/meson_gx_mmc.c | 26 +++--- drivers/mmc/meson_gx_mmc.h

[PATCH 1/3] mmc: meson-gx: move arch header to local header

2020-11-06 Thread Neil Armstrong
Move the asm/arch-meson/sd_emmc.h to a local meson_gx_mmc.h, remove the useless if/then and fix the meson_gx_mmc.c include. Signed-off-by: Neil Armstrong --- drivers/mmc/meson_gx_mmc.c | 4 ++-- .../asm/arch-meson/sd_emmc.h => drivers/mmc/meson_gx_mmc.h

[PATCH 3/3] ARM: dts: meson-sm1: add u-boot specific MMC controller compatible

2020-11-06 Thread Neil Armstrong
In order to enable the Amlogic SM1 MMC controller fix, we need to add a u-boot specific MMC controller compatible. This adds a new meson-sm1-u-boot.dtsi and reworks the other -u-boot.dtsi to use this for SM1 based boards. Signed-off-by: Neil Armstrong --- .../meson-g12b-a311d-khadas-vim3-u

Re: [PATCH v2 0/2] arm64: meson: add libretech cc v2 support

2020-11-06 Thread Neil Armstrong
Hi, On 06/11/2020 10:07, Jerome Brunet wrote: > This patchset adds support for the Amlogic based libretech cc v2. > Like the v1, this revised platform used the s905x SoC. > > Changes since v1: > - Move Makefile change to patch #1 > - Amend documentation for libretech cc v2 Seems you had a patch

Re: [PATCH 0/2] Fix the potential warning without DM_REGULATOR

2020-11-06 Thread Neil Armstrong
On 06/11/2020 06:57, Jaehoon Chung wrote: > When CONFIG_DM_REGULATOR is disabled, there are some warnings. > This patch-set is fixed them. > > drivers/phy/meson-g12a-usb2.c: In function 'phy_meson_g12a_usb2_power_on': > drivers/phy/meson-g12a-usb2.c:70:35: warning: unused variable 'priv' > [-Wunu

[PULL u-boot] Please pull u-boot-amlogic-20201105

2020-11-06 Thread Neil Armstrong
eader Guillaume La Roque (1): configs: meson64_android: don't show logo on ROM USB boot Jaehoon Chung (1): configs: meson64: relocate config_distro_bootcmmd header Neil Armstrong (2): doc: board: amlogic: Update support matrix doc: board: vim3:

Re: Fail to reset on Odroid-C4

2020-11-06 Thread Neil Armstrong
On 06/11/2020 10:59, Jaehoon Chung wrote: > Hi, > > On 11/6/20 6:28 PM, Neil Armstrong wrote: >> Hi, >> >> On 06/11/2020 03:10, Jaehoon Chung wrote: >>> Hi, >>> >>> I have checked U-boot on Odroid-C4 with v2020.10. >>> I found a prob

[PATCH 0/4] ARM: upgrade Amlogic DT to Linux 5.10

2020-11-06 Thread Neil Armstrong
This syncs the Amlogic DT to 5.10, and : - adds support for the new common MESON_EE_POWER_DOMAIN synced on 5.10 - adds Odroid-N2+ DT using the Odroid-N2 DT as base Neil Armstrong (4): ARM: dts: sync Amlogic GX & AXG from Linux 5.10-rc1 power: domain: meson-ee-pwrc: add support for the M

[PATCH 2/4] power: domain: meson-ee-pwrc: add support for the Meson GX SoCs

2020-11-06 Thread Neil Armstrong
This syncs with the linux meson-ee-pwrc driver from Linux 5.10-rc1. Signed-off-by: Neil Armstrong --- drivers/power/domain/meson-ee-pwrc.c | 26 -- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/drivers/power/domain/meson-ee-pwrc.c b/drivers/power/domain

[PATCH 1/4] ARM: dts: sync Amlogic GX & AXG from Linux 5.10-rc1

2020-11-06 Thread Neil Armstrong
Synced from Linux commit 3650b228f83a ("Linux 5.10-rc1") Signed-off-by: Neil Armstrong --- arch/arm/dts/Makefile | 1 + arch/arm/dts/meson-axg.dtsi | 6 +- arch/arm/dts/meson-g12b-khadas-vim3.dtsi | 88 --- arch/arm/dts/meson-g12b

[PATCH 3/4] power: domain: meson-ee-pwrc: add support for the Meson AXG SoCs

2020-11-06 Thread Neil Armstrong
This syncs with the linux meson-ee-pwrc driver from Linux 5.10-rc1. Signed-off-by: Neil Armstrong --- drivers/power/domain/meson-ee-pwrc.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/drivers/power/domain/meson-ee-pwrc.c b/drivers/power/domain/meson-ee-pwrc.c

[PATCH 4/4] configs: use the new MESON_EE_POWER_DOMAIN driver for Amlogic GXBB/GXL/GXM boards

2020-11-06 Thread Neil Armstrong
Linux 5.10-rc1 uses the new generic driver, so switch to it since GXBB and later is now supported. Signed-off-by: Neil Armstrong --- configs/libretech-ac_defconfig | 2 +- configs/libretech-cc_defconfig | 2 +- configs/libretech-s905d-pc_defconfig | 2 +- configs/libretech-s912

Re: [PATCH 1/3] mmc: meson-gx: move arch header to local header

2020-11-06 Thread Neil Armstrong
On 06/11/2020 11:27, Jaehoon Chung wrote: > On 11/6/20 6:27 PM, Neil Armstrong wrote: >> Move the asm/arch-meson/sd_emmc.h to a local meson_gx_mmc.h, >> remove the useless if/then and fix the meson_gx_mmc.c include. >> >> Signed-off-by: Neil Armstrong >> -

[PATCH] video: add TDO tl070wsh30 panel driver

2020-11-06 Thread Neil Armstrong
This adds support for the TDO TL070WSH30 TFT-LCD panel module. The panel has a 1024×600 resolution and uses 24 bit RGB per pixel. It provides a MIPI DSI interface to the host, a built-in LED backlight and touch controller. Signed-off-by: Neil Armstrong --- drivers/video/Kconfig | 9

Re: [PATCH 2/3] mmc: meson-gx: limit max frequency on SM1 SoCs

2020-11-06 Thread Neil Armstrong
On 06/11/2020 11:32, Jaehoon Chung wrote: > On 11/6/20 6:27 PM, Neil Armstrong wrote: >> Amlogic SM1 SoCs doesn't handle very well high clocks from the DIV2 input >> Thus we limit the max freq to 26MHz on SM1 SoCs until we handle higher >> frequencies via the first in

[PATCH] ARM: mach-meson: update SoC IDs

2020-11-09 Thread Neil Armstrong
quot;soc: amlogic: meson-gx-socinfo: Fix S905X3 and S905D3 ID's") Signed-off-by: Neil Armstrong --- arch/arm/mach-meson/board-info.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-meson/board-info.c b/arch/arm/mach-meson/board-info.c index 3abb

Re: [PATCH] mmc: meson_gx_mmc: change a clock phase to stable value

2020-11-09 Thread Neil Armstrong
Hi, On 09/11/2020 04:12, Jaehoon Chung wrote: > Core clock phase value is changed from 180' to 270'. > It's more stable than before. > - Odroidn-N2/C4 : Working fine with 52MHz > - VIM3 : Working fine with 52MHz > > Before this patch, Odroid-C4 doesn't work fine with 52MHz. > > Signed-off-by: Ja

Re: Fail to reset on Odroid-C4

2020-11-09 Thread Neil Armstrong
On 09/11/2020 09:37, Jaehoon Chung wrote: > On 11/6/20 7:01 PM, Neil Armstrong wrote: >> On 06/11/2020 10:59, Jaehoon Chung wrote: >>> Hi, >>> >>> On 11/6/20 6:28 PM, Neil Armstrong wrote: >>>> Hi, >>>> >>>> On 06/11/2020 03

Re: [PATCH] mmc: meson_gx_mmc: change a clock phase to stable value

2020-11-09 Thread Neil Armstrong
On 09/11/2020 15:10, Mark Kettenis wrote: >> From: Neil Armstrong >> Date: Mon, 9 Nov 2020 14:37:09 +0100 >> >> Hi, >> >> On 09/11/2020 04:12, Jaehoon Chung wrote: >>> Core clock phase value is changed from 180' to 270'. >>> It&#x

Re: [PATCH] mmc: meson_gx_mmc: change a clock phase to stable value

2020-11-10 Thread Neil Armstrong
On 09/11/2020 23:19, Jaehoon Chung wrote: > On 11/9/20 11:23 PM, Neil Armstrong wrote: >> On 09/11/2020 15:10, Mark Kettenis wrote: >>>> From: Neil Armstrong >>>> Date: Mon, 9 Nov 2020 14:37:09 +0100 >>>> >>>> Hi, >>>> >>&

Re: [PATCH] mmc: meson_gx_mmc: control ddr_mode bit

2020-11-10 Thread Neil Armstrong
On 10/11/2020 08:50, Jaehoon Chung wrote: > EMMC_CFG register has a cfg_ddr bit(BIT[2]). > It needs to set when mmc is running to ddr mode. > Otherwise, its bit should be cleared. > CFG_DDR[2] - 1: DDR mode, 0: SDR mode > > Signed-off-by: Jaehoon Chung > --- > arch/arm/include/asm/arch-meson/sd_

Re: [PATCH] mmc: meson_gx_mmc: change a clock phase to stable value

2020-11-10 Thread Neil Armstrong
On 10/11/2020 09:36, Jaehoon Chung wrote: > On 11/10/20 5:05 PM, Neil Armstrong wrote: >> On 09/11/2020 23:19, Jaehoon Chung wrote: >>> On 11/9/20 11:23 PM, Neil Armstrong wrote: >>>> On 09/11/2020 15:10, Mark Kettenis wrote: >>>>>> From: Neil Armstr

Re: [PATCH] ARM: mach-meson: update SoC IDs

2020-11-12 Thread Neil Armstrong
On 09/11/2020 14:33, Neil Armstrong wrote: > Update From Linux commits > - 240051cb833b ("soc: amlogic: meson-gx-socinfo: Add A1 and A113L IDs") > - 1d7c541b8a5b ("soc: amlogic: meson-gx-socinfo: Add S905X3 ID for VIM3L") > - fdfc6997bd08 ("soc: amlogic: meso

Re: [PATCH v2 0/3] mmc: meson-gx: fix mmc & sdcard failur on SM1 SoCs

2020-11-12 Thread Neil Armstrong
Rewrote "[2/3] mmc: meson-gx: limit max frequency on SM1 SoCs" > - Applied "mmc: meson_gx_mmc: change a clock phase to stable value" > - Add Jaehoon's Signed-off tag > > Neil Armstrong (3): > mmc: meson-gx: move arch header to local header > mmc: m

Re: [PATCH] video: add TDO tl070wsh30 panel driver

2020-11-12 Thread Neil Armstrong
On 06/11/2020 20:02, Anatolij Gustschin wrote: > On Fri, 6 Nov 2020 11:29:47 +0100 > Neil Armstrong narmstr...@baylibre.com wrote: > >> This adds support for the TDO TL070WSH30 TFT-LCD panel module. >> The panel has a 1024×600 resolution and uses 24 bit RGB per pixel. >

Re: [PATCH 0/4] ARM: upgrade Amlogic DT to Linux 5.10

2020-11-12 Thread Neil Armstrong
On 06/11/2020 11:18, Neil Armstrong wrote: > This syncs the Amlogic DT to 5.10, and : > - adds support for the new common MESON_EE_POWER_DOMAIN synced on 5.10 > - adds Odroid-N2+ DT using the Odroid-N2 DT as base > > Neil Armstrong (4): > ARM: dts: sync Amlogic GX & A

Re: [PATCH RESEND v2 0/2] arm64: meson: add libretech cc v2 support

2020-11-12 Thread Neil Armstrong
On 06/11/2020 10:45, Jerome Brunet wrote: > This patchset adds support for the Amlogic based libretech cc v2. > Like the v1, this revised platform used the s905x SoC. > > Changes since v1: > - Move Makefile change to patch #1 > - Amend documentation for libretech cc v2 > > Jerome Brunet (2): >

[PULL u-boot] Please pull u-boot-amlogic-20201116

2020-11-16 Thread Neil Armstrong
phy Jaehoon Chung (2): phy: meson-g12a-usb2: fix the potential build warning video: meson: meson_dw_hdmi: fix the potential build warning Neil Armstrong (4): ARM: mach-meson: update SoC IDs mmc: meson-gx: move

Re: [PATCH 1/7] amlogic: Remove ARCH= references from documentation

2020-05-20 Thread Neil Armstrong
Hi, Le 19/05/2020 à 16:51, Tom Rini a écrit : > When building U-Boot we select the architecture via Kconfig and not ARCH > being passed in via the environment or make cmdline. > > Cc: Beniamino Galvani > Cc: Neil Armstrong > Cc: u-boot-amlo...@groups.io > Signed-off-by: To

[PATCH] arm: dts: meson-gxl: fix USB gadget by adding missing nodes for U-Boot

2020-05-28 Thread Neil Armstrong
Brunet Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-gxl-s805x-libretech-ac-u-boot.dtsi | 6 +- arch/arm/dts/meson-gxl-s905d-libretech-pc-u-boot.dtsi | 6 +- arch/arm/dts/meson-gxl-s905x-khadas-vim-u-boot.dtsi | 4 arch/arm/dts/meson-gxm-khadas-vim2-u-boot.dtsi| 6 ++

Re: [PATCH] arm: dts: meson-gxl: fix USB gadget by adding missing nodes for U-Boot

2020-05-29 Thread Neil Armstrong
On 28/05/2020 15:47, Neil Armstrong wrote: > The khadas-vim, khadas-vim2, libretech-ac & libretech-*-pc boards were missing > DT tweak to enable USB gadget. > Add them to their -u-boot.dtsi files and include the right gxl-u-boot.dtsi. > > Fixes: a19e8a0f03 ("arm: dts: m

[PULL u-boot] Please pull u-boot-amlogic-20200529

2020-05-29 Thread Neil Armstrong
amp; vim/vim2 boards ---- Neil Armstrong (3): arm: dts: khadas-vim3: include meson-g12-common-u-boot.dtsi to enable HDMI output configs: khadas-vim3: enable HDMI output arm: dts: meson-gxl: fix USB gadget by adding missi

Re: [PATCH] ARM: meson: Add S905Y2 SOC ID

2021-08-30 Thread Neil Armstrong
905Y2", 0x28, 0x30, 0xf0 }, > { "S905X2", 0x28, 0x40, 0xf0 }, > { "A311D", 0x29, 0x10, 0xf0 }, > { "S922X", 0x29, 0x40, 0xf0 }, > Reviewed-by: Neil Armstrong

Re: [PATCH] ARM: meson: Add S905Y2 SOC ID

2021-08-30 Thread Neil Armstrong
On 20/08/2021 04:18, Christian Hewitt wrote: > Add the SOC ID for the S905Y2 to board info, see below for before/after > tested with a Radxa Zero board: > > SoC: Amlogic Meson G12A (Unknown) Revision 28:b (30:2) > SoC: Amlogic Meson G12A (S905Y2) Revision 28:b (30:2) > > Signed-off-by: Christ

[PATCH] pci: pcie_dw_meson: fix usb fail when pci link fails to go up

2021-09-08 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- drivers/pci/pcie_dw_meson.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/pci/pcie_dw_meson.c b/drivers/pci/pcie_dw_meson.c index 0525ecbea6..07da9fa533 100644 --- a/drivers/pci/pcie_dw_meson.c +++ b/drivers/pci/pcie_dw_meson.c

[PATCH v2 2/9] ARM: meson: keep HW order for MMC devices

2021-09-08 Thread Neil Armstrong
Since Linux commmit [1], the order is fixed with aliases, in order to keep the MMC device order, set it back to HW order in U-Boot dtsi files. [1] ab547c4fb39f ("arm64: dts: amlogic: Assign a fixed index to mmc devices") Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-g1

[PATCH v2 3/9] ARM: meson-axg: remove local USB nodes

2021-09-08 Thread Neil Armstrong
Drop the local USB nodes after Linux 5.14 sync. Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-axg-s400-u-boot.dtsi | 8 arch/arm/dts/meson-axg-u-boot.dtsi | 62 - 2 files changed, 70 deletions(-) delete mode 100644 arch/arm/dts/meson-axg-u-boot.dtsi

[PATCH v2 5/9] distro_bootcmd: run pci enum for scsi_boot just like it is done for nvme_boot

2021-09-08 Thread Neil Armstrong
The SCSI device can be a PCIe adapter, so run pcie enum if enabled. Signed-off-by: Mark Kettenis Signed-off-by: Neil Armstrong --- include/config_distro_bootcmd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h index

[PATCH v2 4/9] configs: meson64: add SCSI boot target

2021-09-08 Thread Neil Armstrong
Add SCSI target to be able to boot from the SATA disks on the Odroid HC4 using an on-board AHCI PCIe controller. Signed-off-by: Neil Armstrong Signed-off-by: Mark Kettenis --- include/configs/meson64.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/meson64.h b

[PATCH v2 6/9] ARM: amlogic: add support for Odroid-HC4 device

2021-09-08 Thread Neil Armstrong
The Odroid-HC4 is a variant of the Odroid-C4 board but with an PCIe-SATA bridge instead of the USB3 ports. Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-sm1-odroid-hc4-u-boot.dtsi | 23 + configs/odroid-hc4_defconfig | 83 +++ 2 files changed, 106

[PATCH v2 7/9] doc: boards: amlogic: update for Odroid HC4

2021-09-08 Thread Neil Armstrong
Add documentation bits for the Odroid-HC4. Signed-off-by: Neil Armstrong --- doc/board/amlogic/index.rst | 2 +- doc/board/amlogic/odroid-c4.rst | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/board/amlogic/index.rst b/doc/board/amlogic/index.rst index 8da7afddb4

[PATCH v2 1/9] ARM: meson: Sync Amlogic DT from Linux 5.14

2021-09-08 Thread Neil Armstrong
Import Amlogic DT changes from Linux commit 7d2a07b76933 ("Linux 5.14"), dt-bindings clock changes and new meson-g12b-gsking-x.dts, meson-sm1-bananapi-m5 & odroid-hc4 boards. Signed-off-by: Neil Armstrong --- arch/arm/dts/Makefile | 3 + arch/arm/dts/meso

[PATCH v2 8/9] ARM: meson: add Beelink GS-King X board

2021-09-08 Thread Neil Armstrong
The Beelink GS-King X is a variant of the GS King boards but with an internal USB to SATA bridge and advanced audio features. Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-g12b-gsking-x-u-boot.dtsi | 7 ++ configs/beelink-gsking-x_defconfig | 70 doc/board

[PATCH v2 9/9] ARM: amlogic: add Banana Pi M5

2021-09-08 Thread Neil Armstrong
Button - 40 pins header + 3pins debug header Signed-off-by: Neil Armstrong --- .../arm/dts/meson-sm1-bananapi-m5-u-boot.dtsi | 13 configs/bananapi-m5_defconfig | 73 +++ doc/board/amlogic/index.rst | 1 + 3 files changed, 87 insertions

Re: [PATCH v2 1/9] ARM: meson: Sync Amlogic DT from Linux 5.14

2021-09-09 Thread Neil Armstrong
Hi Tom, On 08/09/2021 17:46, Tom Rini wrote: > On Wed, Sep 08, 2021 at 04:17:20PM +0200, Neil Armstrong wrote: > >> Import Amlogic DT changes from Linux commit 7d2a07b76933 ("Linux 5.14"), >> dt-bindings clock changes and new meson-g12b-gsking-x.dts, >> meson-s

<    9   10   11   12   13   14   15   16   17   18   >