From: Jerome Brunet
MESON_FDTFILE_SETTING is used to define the default name of the fdt
file in u-boot environment. We can easily derive it from
CONFIG_DEFAULT_DEVICE_TREE instead. This will help factorize the code
a bit
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
include
: Neil Armstrong
---
arch/arm/mach-meson/Kconfig | 11 +---
board/amlogic/nanopi-k2/Kconfig | 12
board/amlogic/nanopi-k2/MAINTAINERS | 6 --
board/amlogic/nanopi-k2/Makefile | 7 ---
board/amlogic/nanopi-k2/README | 99
The Khadas vim2 derive from amlogic s912 reference design (Q200).
This patch moves the khadas-vim2 board support to a generic Q200 board,
while keeping a dedicated defconfig to customize the names and device tree.
Signed-off-by: Neil Armstrong
---
arch/arm/mach-meson/Kconfig | 9
CONFIGs and the duplicate boards configs headers in
favor of a single meson64.h config header.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
arch/arm/mach-meson/Kconfig | 75 +++
board/amlogic/odroid-c2/Kconfig | 12 ---
board/amlogic
dedicated defconfig to customize the names
and device tree.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
arch/arm/mach-meson/Kconfig | 22 +--
board/amlogic/khadas-vim/Kconfig | 12
board/amlogic/khadas-vim/MAINTAINERS | 6 --
board/amlogic
The meson_gates table should be set static in the clk_meson driver.
Signed-off-by: Neil Armstrong
---
drivers/clk/clk_meson.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/clk_meson.c b/drivers/clk/clk_meson.c
index 236d734..509872b 100644
--- a/drivers/clk
issue.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
include/configs/meson64.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/configs/meson64.h b/include/configs/meson64.h
index 1929a3e..80c883e 100644
--- a/include/configs/meson64.h
+++ b
From: Jerome Brunet
Meson pinctrl needs generic pinctrl, rather than depending on it
select it
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
drivers/pinctrl/meson/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/meson/Kconfig b
From: Jerome Brunet
In preparation of supporting the new Amlogix AGX SoCs, we need to move
the Amlogic GX pinmux functions out of the common code to be able to
add a different set of SoC specific pinmux functions for AXG.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
drivers
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
arch/arm/mach-meson/Kconfig| 1 +
board/amlogic/s400/MAINTAINERS | 6 +++
board/amlogic/s400/Makefile| 6 +++
board/amlogic/s400/README | 110 +
board/amlogic/s400/s400.c
From: Jerome Brunet
This adds support for the Amlogic AXG SoC pinctrl and GPIO controller
using a specific set of pinctrl functions which differs from the GX SoCs.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
drivers/pinctrl/meson/Kconfig | 8 +
drivers
- The clock tree is different enough to use a different driver
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
arch/arm/include/asm/arch-meson/axg.h | 51
arch/arm/mach-meson/Kconfig | 8 +++
arch/arm/mach-meson/Makefile | 1 +
arch/arm/mach
From: Jerome Brunet
This debug print was not designed to be active in non-debug mode.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
drivers/clk/clk_meson.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/clk_meson.c b/drivers/clk/clk_meson.c
] https://github.com/superna/pyamlboot/blob/master/PROTOCOL.md
[2] https://github.com/superna/pyamlboot/blob/master/README.md
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
arch/arm/include/asm/arch-meson/axg.h | 1 +
arch/arm/include/asm/arch-meson/boot.h | 20
Synchronize the Amlogic AXG Device Tree files and bindings include from
the recent Linux 4.20-rc1, because it includes patches fixing support for
U-boot.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
arch/arm/dts/Makefile |3 +-
arch/arm/dts
From: Jerome Brunet
Now we have moved all the Amlogic board support to common generic board code,
we can move the identical board_init() and ft_board_setup() functions to
weak functions into the board-common mach-meson file.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
arch
From: Jerome Brunet
We are about to add support for the Amlogic AXG SoC. While very close to
the Gx SoC family, we will need to handle a few thing which are different
in this SoC. Rework the meson arch directory to prepare for this.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
This patch adds a minimal clock driver for the Amlogic AXG SoC to handle
the basic gates and PLLs.
Signed-off-by: Neil Armstrong
---
arch/arm/include/asm/arch-meson/clock-axg.h | 104 +
drivers/clk/Makefile| 2 +-
drivers/clk/clk_meson_axg.c
Hi,
On 06/11/2018 10:25, 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.
I found a bug in this dri
From: Jerome Brunet
clk81 divider is 0 based (meaning that 0 value in the register means
divide by 1). Fix clk81 rate calculation for this.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
drivers/clk/clk_meson.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff
: Neil Armstrong
---
Changes since v1 :
- removed the meson_spifc_claim_bus/meson_spifc_release_bus enabling disabling
the clock and making register access with the clock disabled
drivers/spi/Kconfig | 8 +
drivers/spi/Makefile | 1 +
drivers/spi/meson_spifc.c | 335
On 14/11/2018 05:25, Jagan Teki wrote:
> On Tue, Nov 13, 2018 at 4:20 PM 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 c
The Amlogic Meson SoCs embeds a Flash oriented SPI Controller name SPIFC.
This patchset add the driver ported from linux, but also import the regmap
regmap_read_poll_timeout() to implify the register polling in the driver.
Neil Armstrong (3):
regmap: add regmap_read_poll_timeout() helper
Add test to regmap_read_poll_timeout() helper to check the timeout works
properly but cannot test proper condition matching since read/write calls
are not executed in sandbox.
Signed-off-by: Neil Armstrong
---
test/dm/regmap.c | 26 ++
1 file changed, 26 insertions
Add the regmap_read_poll_timeout() macro based on the Linux implementation
to simplify register polling with configurable timeout and sleep.
Signed-off-by: Neil Armstrong
---
include/regmap.h | 38 ++
1 file changed, 38 insertions(+)
diff --git a/include
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.
Signed-off-by: Neil Armstrong
---
drivers/spi/Kconfig | 8 +
drivers/spi/Makefile
On 14/11/2018 14:11, Jagan Teki wrote:
> On Wed, Nov 14, 2018 at 3:57 PM 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 c
Hi Loic,
I totally missed this patchset
It looks ok, can you rebase it on top of the huge "Amlogic Meson cleanup for
AXG SoC support" patchset ?
You can remove the RFC tag I think.
Thanks,
Neil
On 02/11/2018 15:32, Loic Devulder wrote:
> This patch series modifies the meson clock driver t
Hi Loic,
On 20/11/2018 22:08, Loic Devulder wrote:
> Hi Neil,
>
> On 11/9/18 4:26 PM, Neil Armstrong wrote:
>> The S400 board is the Amlogic AXG SoC reference board including :
>> - Amlogic A113DX ARM Cortex-A53 quad-core SoC @ 1.2GHz
>> - 1GB DDR4 SDRAM
>> -
Hi Carlo,
On 20/11/2018 15:47, Carlo Caione wrote:
> On Fri, 2018-11-09 at 16:26 +0100, Neil Armstrong wrote:
>> From: Jerome Brunet
>>
>> This adds support for the Amlogic AXG SoC pinctrl and GPIO controller
>> using a specific set of pinctrl functions which
Hi Loic,
On 20/11/2018 22:11, Loic Devulder wrote:
> Hi Neil,
>
> On 11/9/18 4:26 PM, Neil Armstrong wrote:
>> From: Jerome Brunet
>>
>> We are about to add support for the Amlogic AXG SoC. While very close to
>> the Gx SoC family, we will need to handle a fe
6,8 +876,8 @@ static ulong meson_clk_set_rate(struct clk *clk, ulong
> rate)
> if (IS_ERR_VALUE(ret))
> return ret;
>
> - printf("clock %lu has new rate %lu\n", clk->id,
> -meson_clk_get_rate_by_id(clk, clk->id));
&
s = <1>;
> - reg = <0x0 0x0 0x0 0x3db>;
> };
> };
>
> @@ -346,7 +337,7 @@
> };
> };
>
> - spi_pins: spi {
> + spi_pins: spi-pins {
> mux {
> groups = "spi_miso",
> "spi_mosi",
> @@ -725,13 +716,15 @@
><&clkc CLKID_SD_EMMC_A_CLK0>,
><&clkc CLKID_FCLK_DIV2>;
> clock-names = "core", "clkin0", "clkin1";
> + resets = <&reset RESET_SD_EMMC_A>;
> };
>
> &sd_emmc_b {
> clocks = <&clkc CLKID_SD_EMMC_B>,
><&clkc CLKID_SD_EMMC_B_CLK0>,
><&clkc CLKID_FCLK_DIV2>;
> - clock-names = "core", "clkin0", "clkin1";
> + clock-names = "core", "clkin0", "clkin1";
> + resets = <&reset RESET_SD_EMMC_B>;
> };
>
> &sd_emmc_c {
> @@ -739,6 +732,7 @@
><&clkc CLKID_SD_EMMC_C_CLK0>,
><&clkc CLKID_FCLK_DIV2>;
> clock-names = "core", "clkin0", "clkin1";
> + resets = <&reset RESET_SD_EMMC_C>;
> };
>
> &spicc {
> @@ -758,12 +752,12 @@
> };
>
> &uart_AO {
> - clocks = <&xtal>, <&clkc CLKID_CLK81>, <&xtal>;
> + clocks = <&xtal>, <&clkc_AO CLKID_AO_UART1>, <&xtal>;
> clock-names = "xtal", "pclk", "baud";
> };
>
> &uart_AO_B {
> - clocks = <&xtal>, <&clkc CLKID_CLK81>, <&xtal>;
> + clocks = <&xtal>, <&clkc_AO CLKID_AO_UART2>, <&xtal>;
> clock-names = "xtal", "pclk", "baud";
> };
>
> diff --git a/arch/arm/dts/meson-gxm-khadas-vim2.dts
> b/arch/arm/dts/meson-gxm-khadas-vim2.dts
> index 0868da476e..313f88f875 100644
> --- a/arch/arm/dts/meson-gxm-khadas-vim2.dts
> +++ b/arch/arm/dts/meson-gxm-khadas-vim2.dts
> @@ -209,10 +209,34 @@
> #cooling-cells = <2>;
> };
>
> +&cpu1 {
> + #cooling-cells = <2>;
> +};
> +
> +&cpu2 {
> + #cooling-cells = <2>;
> +};
> +
> +&cpu3 {
> + #cooling-cells = <2>;
> +};
> +
> &cpu4 {
> #cooling-cells = <2>;
> };
>
> +&cpu5 {
> + #cooling-cells = <2>;
> +};
> +
> +&cpu6 {
> + #cooling-cells = <2>;
> +};
> +
> +&cpu7 {
> + #cooling-cells = <2>;
> +};
> +
> ðmac {
> pinctrl-0 = <ð_pins>;
> pinctrl-names = "default";
>
Squashed with the clock driver change :
Acked-by: Neil Armstrong
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On 21/11/2018 00:50, Loic Devulder wrote:
> 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/l
On 22/11/2018 07:40, Jagan Teki wrote:
> On Wed, Nov 14, 2018 at 3:55 PM Neil Armstrong
> wrote:
>>
>> The Amlogic Meson SoCs embeds a Flash oriented SPI Controller name SPIFC.
>>
>> This patchset add the driver ported from linux, but also import the regmap
&g
: Jerome Brunet
Signed-off-by: Neil Armstrong
---
arch/arm/mach-meson/Kconfig | 51 +++--
1 file changed, 20 insertions(+), 31 deletions(-)
diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig
index cc943443b3..bc0f6a169b 100644
--- a/arch/arm/mach
pare for new SoC
ARM: meson: factorize common code out amlogic's boards
Neil Armstrong (7):
board: amlogic: move khadas-vim2 as q200 ref board
clk: meson: add static to meson_gates table
ARM: meson: Add support for AXG family
ARM: dts: Sync Amlogic Meson AXG DT from Linux 4.20-rc1
From: Jerome Brunet
MESON_FDTFILE_SETTING is used to define the default name of the fdt
file in u-boot environment. We can easily derive it from
CONFIG_DEFAULT_DEVICE_TREE instead. This will help factorize the code
a bit
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
include
dedicated defconfig to customize the names
and device tree.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
arch/arm/mach-meson/Kconfig | 22 +--
board/amlogic/khadas-vim/Kconfig | 12
board/amlogic/khadas-vim/MAINTAINERS | 6 --
board
The Khadas vim2 derive from amlogic s912 reference design (Q200).
This patch moves the khadas-vim2 board support to a generic Q200 board,
while keeping a dedicated defconfig to customize the names and device tree.
Signed-off-by: Neil Armstrong
---
arch/arm/mach-meson/Kconfig
issue.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
include/configs/meson64.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/configs/meson64.h b/include/configs/meson64.h
index 1929a3e406..80c883e3f4 100644
--- a/include/configs/meson64.h
: Neil Armstrong
---
arch/arm/mach-meson/Kconfig | 11 +---
board/amlogic/nanopi-k2/Kconfig | 12
board/amlogic/nanopi-k2/MAINTAINERS | 6 --
board/amlogic/nanopi-k2/Makefile | 7 ---
board/amlogic/nanopi-k2/nanopi-k2.c | 55
CONFIGs and the duplicate boards configs headers in
favor of a single meson64.h config header.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
arch/arm/mach-meson/Kconfig | 73 +--
board/amlogic/odroid-c2/Kconfig | 12 ---
board/amlogic
From: Jerome Brunet
This adds support for the Amlogic AXG SoC pinctrl and GPIO controller
using a specific set of pinctrl functions which differs from the GX SoCs.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
drivers/pinctrl/meson/Kconfig | 8 +
drivers
From: Jerome Brunet
In preparation of supporting the new Amlogix AGX SoCs, we need to move
the Amlogic GX pinmux functions out of the common code to be able to
add a different set of SoC specific pinmux functions for AXG.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
drivers
From: Jerome Brunet
This debug print was not designed to be active in non-debug mode.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
drivers/clk/clk_meson.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/clk_meson.c b/drivers/clk/clk_meson.c
The meson_gates table should be set static in the clk_meson driver.
Signed-off-by: Neil Armstrong
---
drivers/clk/clk_meson.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/clk_meson.c b/drivers/clk/clk_meson.c
index c44858822d..a096a3582c 100644
--- a/drivers
From: Jerome Brunet
Meson pinctrl needs generic pinctrl, rather than depending on it
select it
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
drivers/pinctrl/meson/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/meson/Kconfig b
Synchronize the Amlogic AXG Device Tree files and bindings include from
the recent Linux 4.20-rc1, because it includes patches fixing support for
U-boot.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
arch/arm/dts/Makefile |3 +-
arch/arm/dts/meson
] https://github.com/superna/pyamlboot/blob/master/PROTOCOL.md
[2] https://github.com/superna/pyamlboot/blob/master/README.md
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
arch/arm/include/asm/arch-meson/axg.h | 1 +
arch/arm/include/asm/arch-meson/boot.h | 20
This patch adds a minimal clock driver for the Amlogic AXG SoC to handle
the basic gates and PLLs.
Signed-off-by: Neil Armstrong
---
arch/arm/include/asm/arch-meson/clock-axg.h | 104 +++
drivers/clk/Makefile| 2 +-
drivers/clk/clk_meson_axg.c | 316
- The clock tree is different enough to use a different driver
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
arch/arm/include/asm/arch-meson/axg.h | 51
arch/arm/mach-meson/Kconfig | 8 ++
arch/arm/mach-meson/Makefile | 1 +
arch/arm/mach-meson
From: Jerome Brunet
We are about to add support for the Amlogic AXG SoC. While very close to
the Gx SoC family, we will need to handle a few thing which are different
in this SoC. Rework the meson arch directory to prepare for this.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
From: Jerome Brunet
Now we have moved all the Amlogic board support to common generic board code,
we can move the identical board_init() and ft_board_setup() functions to
weak functions into the board-common mach-meson file.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
arch
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
arch/arm/mach-meson/Kconfig| 1 +
board/amlogic/s400/MAINTAINERS | 6 ++
board/amlogic/s400/Makefile| 6 ++
board/amlogic/s400/README | 110 +
board/amlogic/s400/s400.c | 33
The Amlogic Meson SoCs embeds a Flash oriented SPI Controller name SPIFC.
This patchset add the driver ported from linux, but also import the regmap
regmap_read_poll_timeout() to implify the register polling in the driver.
Neil Armstrong (3):
regmap: add regmap_read_poll_timeout() helper
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.
Reviewed-by: Jagan Teki
Signed-off-by: Neil Armstrong
---
drivers/spi/Kconfig | 8
Add the regmap_read_poll_timeout() macro based on the Linux implementation
to simplify register polling with configurable timeout and sleep.
Acked-by: Jagan Teki
Signed-off-by: Neil Armstrong
---
include/regmap.h | 38 ++
1 file changed, 38 insertions
Add test to regmap_read_poll_timeout() helper to check the timeout works
properly but cannot test proper condition matching since read/write calls
are not executed in sandbox.
Acked-by: Jagan Teki
Signed-off-by: Neil Armstrong
---
test/dm/regmap.c | 26 ++
1 file
PTE_BLOCK_NON_SHARE |
>PTE_BLOCK_PXN | PTE_BLOCK_UXN
>
You were faster than me, and already reviewed physically by Marek and Alexander
!!
This will fix support for upcoming 3GiB capable boards !
Acked-by: Neil Armstrong
Neil
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
Hi Loic,
Thanks for pushing this !
On 03/10/2018 12:02, Loic Devulder wrote:
> 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
Acked-
ed upstream, with the onboard SPI NOR flash to
store U-boot, it's a very good candidate for a full EBBR experience !
Neil
>
> This initial submission supports UART, MMC/SDCard and Ethernet.
> USB is partially supported.
>
> All the code is from Neil Armstrong! I just rebased
ially supported.
>
> All the code is from Neil Armstrong! I just rebased the code, do
> some cleanup and tested on my board.
>
> Signed-off-by: Neil Armstrong
> Signed-off-by: Loic Devulder
Acked-by: Neil Armstrong
Neil
> ---
> arch/arm/mach-meson/Kconfig
Hi,
I want to start an U-Boot port to a custom Uniprocessor Cortex-A9 based SoC to
boot a Device Tree enabled 4.4 kernel,
but I'm struggling to find a good starting point/example code in order to do it
"the right way".
I was present at the Dublin's ELC prosentation on Driver Model, and it seems
Le 29/10/2017 10:09, Beniamino Galvani a écrit :
> Signed-off-by: Beniamino Galvani
> ---
> arch/arm/include/asm/arch-meson/gxbb.h | 1 +
> board/amlogic/odroid-c2/odroid-c2.c| 1 +
> configs/odroid-c2_defconfig| 3 +++
> 3 files changed, 5 insertions(+)
>
> diff --git a/arch/a
div;
> +
> + div = DIV_ROUND_UP(clk_rate, speed * 4);
> +
> + /* clock divider has 12 bits */
> + if (div >= (1 << 12)) {
> + debug("meson i2c: requested bus frequency too low\n");
> + div = (1 << 12) - 1;
> + }
Le 29/10/2017 13:04, Tom Rini a écrit :
> On Thu, Oct 26, 2017 at 03:39:17PM +0200, Neil Armstrong wrote:
>> On 22/10/2017 16:36, Simon Glass wrote:
>>> On 18 October 2017 at 10:02, Neil Armstrong wrote:
>>>> The Amlogic Meson GXL/GXM families embeds an internal RM
On 19/10/2017 20:38, Ben Dooks wrote:
> On 2017-10-19 14:22, Neil Armstrong wrote:
>> As discussed at [1], the Amlogic Meson GX SoCs can embed a BL31 firmware
>> and a secondary BL32 firmware.
>> Since mid-2017, the reserved memory address of the BL31 firmware was moved
>
in the board README.
The following work will be pushed later on :
- Support for dynamic reading of DDR memory size from registers
- USB DWC3 Host Support with PHY support
Neil Armstrong (2):
arm: Add LibreTech CC support based on Meson GXL family
arm: Add Khadas VIM support based on Meson GXL
the linux 4.13
stable tree as of 4.13.8.
Signed-off-by: Neil Armstrong
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/meson-gxl-s905x-libretech-cc.dts | 171 ++
arch/arm/mach-meson/Kconfig | 9 ++
board/amlogic/libretech-
4.13.8.
Signed-off-by: Neil Armstrong
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/meson-gxl-s905x-khadas-vim.dts | 137
arch/arm/mach-meson/Kconfig | 9 ++
board/amlogic/khadas-vim/Kconfig| 12 +++
board
-C2 static memory mapping as exception
Changes since RFC v1:
- switch to fdt rsv mem table and efi reserve memory
- replaced in_le32 by readl()
Signed-off-by: Neil Armstrong
---
arch/arm/include/asm/arch-meson/gxbb.h| 17 +++
arch/arm/mach-meson/board.c
Hi Simon,
On 21/11/2017 05:08, Simon Glass wrote:
> Hi Neil,
>
> On 20 November 2017 at 08:04, Neil Armstrong wrote:
>> This adds platform code for the Libre Computer CC "Le Potato" board based on
>> a
>> Meson GXL (S905X) SoC with the Meson GXL configu
On 21/11/2017 05:09, Simon Glass wrote:
> Hi Neil,
>
> On 20 November 2017 at 08:04, Neil Armstrong wrote:
>> This adds platform code for the Khadas VIM board based on a
>> Meson GXL (S905X) SoC with the Meson GXL configuration.
>>
>> This initial submiss
size from registers
- USB DWC3 Host Support with PHY support
Changes since v1:
- Add common ethernet init function
- Switch P212 and Odroid-C2 to use this ethernet init function
- Fix typos in READMEs
- Drop #define CONFIG_CONS_INDEX
Neil Armstrong (5):
ARM: arch-meson: add ethernet common init
Switch Odroid-C2 Ethernet init to the common Ethernet init function.
Signed-off-by: Neil Armstrong
---
board/amlogic/odroid-c2/odroid-c2.c | 11 ++-
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/board/amlogic/odroid-c2/odroid-c2.c
b/board/amlogic/odroid-c2/odroid-c2.c
the linux 4.13
stable tree as of 4.13.8.
Signed-off-by: Neil Armstrong
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/meson-gxl-s905x-libretech-cc.dts | 171 ++
arch/arm/mach-meson/Kconfig | 9 ++
board/amlogic/libretech-
Introduce a generic common Ethernet Hardware init function
common to all Amlogic GX SoCs with support for the
Internal PHY enable for GXL SoCs.
Signed-off-by: Neil Armstrong
---
arch/arm/include/asm/arch-meson/eth.h | 15 ++
arch/arm/mach-meson/Makefile | 2 +-
arch/arm/mach
4.13.8.
Signed-off-by: Neil Armstrong
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/meson-gxl-s905x-khadas-vim.dts | 137
arch/arm/mach-meson/Kconfig | 9 ++
board/amlogic/khadas-vim/Kconfig| 12 +++
board
Switch P212 Ethernet init to the common Ethernet init function.
Signed-off-by: Neil Armstrong
---
board/amlogic/p212/p212.c | 14 ++
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/board/amlogic/p212/p212.c b/board/amlogic/p212/p212.c
index ece8096..a120ab0 100644
ne have an idea except disabling data cache ?
Thanks,
Neil
--
Neil Armstrong
Embedded Linux Software Engineer
BayLibre - At the Heart of Embedded Linux
www.baylibre.com
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
Hi Łukasz,
On 23/11/2017 20:55, Lukasz Majewski wrote:
> Hi Neil,
>
>> Hi,
>>
>> I'm having a strange issue while porting the DART-MX6 and it's
>> carrier board to mainline U-Boot.
>>
>> Everything works as expected except "fatls" where I get the following
>> output :
>
> Please look into:
> htt
oC cache line.
Fixes: 09fa964bba80 ("fs/fat: Fix 'CACHE: Misaligned operation at range'
warnings")
Suggested-by: Lukasz Majewski
Signed-off-by: Neil Armstrong
---
fs/fat/fat.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/fs/fat/fat.c b/fs/fat/fa
Hi Simon,
Le 24/11/2017 23:35, Simon Glass a écrit :
> Hi Neil,
>
> On 22 November 2017 at 06:25, Neil Armstrong wrote:
>> Introduce a generic common Ethernet Hardware init function
>> common to all Amlogic GX SoCs with support for the
>> Internal PHY enable for GX
Le 24/11/2017 23:35, Simon Glass a écrit :
> Hi Neil,
>
> On 22 November 2017 at 06:25, Neil Armstrong wrote:
>> This adds platform code for the Libre Computer CC "Le Potato" board based on
>> a
>> Meson GXL (S905X) SoC with the Meson GXL configuration.
&
Hi Tom, Simon,
Le 22/11/2017 14:25, Neil Armstrong a écrit :
> This patchset aimed to add minimal support for the following Amlogic GXL SoC
> based board:
> - LibreTech-CC
> - Khadas VIM
>
> The initial support is composed of :
> - Minimal boot support with serial, MMC
Hi Simon,
Le 24/11/2017 23:35, Simon Glass a écrit :
> Hi Neil,
>
> On 20 November 2017 at 08:36, Neil Armstrong wrote:
>> As discussed at [1], the Amlogic Meson GX SoCs can embed a BL31 firmware
>> and a secondary BL32 firmware.
>> Since mid-2017, the reserved
On 26/11/2017 12:39, Simon Glass wrote:
> Hi Neil,
>
> On 25 November 2017 at 02:45, Neil Armstrong wrote:
>> Hi Simon,
>>
>> Le 24/11/2017 23:35, Simon Glass a écrit :
>>> Hi Neil,
>>>
>>> On 22 November 2017 at 06:25, Neil Armstrong
-boot" README typos
- Added Simon's tags
Changes since v1:
- Add common ethernet init function
- Switch P212 and Odroid-C2 to use this ethernet init function
- Fix typos in READMEs
- Drop #define CONFIG_CONS_INDEX
Neil Armstrong (5):
ARM: arch-meson: add ethernet common init function
b
Switch Odroid-C2 Ethernet init to the common Ethernet init function.
Reviewed-by: Simon Glass
Signed-off-by: Neil Armstrong
---
board/amlogic/odroid-c2/odroid-c2.c | 11 ++-
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/board/amlogic/odroid-c2/odroid-c2.c
b/board
Introduce a generic common Ethernet Hardware init function
common to all Amlogic GX SoCs with support for the
Internal PHY enable for GXL SoCs.
Signed-off-by: Neil Armstrong
---
arch/arm/include/asm/arch-meson/eth.h | 23 +++
arch/arm/mach-meson/Makefile | 2 +-
arch/arm
the linux 4.13
stable tree as of 4.13.8.
Reviewed-by: Simon Glass
Signed-off-by: Neil Armstrong
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/meson-gxl-s905x-libretech-cc.dts | 171 ++
arch/arm/mach-meson/Kconfig | 9 ++
boa
4.13.8.
Reviewed-by: Simon Glass
Signed-off-by: Neil Armstrong
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/meson-gxl-s905x-khadas-vim.dts | 137
arch/arm/mach-meson/Kconfig | 9 ++
board/amlogic/khadas-vim/Kconfig
Switch P212 Ethernet init to the common Ethernet init function.
Reviewed-by: Simon Glass
Signed-off-by: Neil Armstrong
---
board/amlogic/p212/p212.c | 14 ++
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/board/amlogic/p212/p212.c b/board/amlogic/p212/p212.c
index
table and efi reserve memory
- replaced in_le32 by readl()
Reviewed-by: Simon Glass
Signed-off-by: Neil Armstrong
---
arch/arm/include/asm/arch-meson/gxbb.h| 17 +++
arch/arm/include/asm/arch-meson/mem.h | 16 +++
arch/arm/mach-meson/board.c
Hi Beniamino,
On 03/12/2017 10:17, Beniamino Galvani wrote:
> Hi,
>
> this is a basic clock driver for u-boot that supports
> enabling/disabling clock gates and getting their frequency. With this,
> some hardcoded initializations can be removed from the board code, and
> drivers can use the infor
low U-Boot to work correctly.
Neil Armstrong (2):
ARM: meson: rename GXBB to GX
ARM: meson: Add cpu info display for GX SoCs
arch/arm/include/asm/arch-meson/{gxbb.h => gx.h} | 91 +-
arch/arm/mach-meson/Makefile | 2 +-
arch/arm/mach-
Taking into account the Amlogic Family name starts with GX, including
the GXBB, GXL and GXM SoCs.
Signed-off-by: Neil Armstrong
---
arch/arm/include/asm/arch-meson/{gxbb.h => gx.h} | 90 +++---
arch/arm/mach-meson/board.c| 28 +++
arch/arm/m
The Amlogic SoCs have a registers containing the die revision
and packaging type to determine the SoC family and package marketing
name like S905X for the GXL SoC Family.
This code is taken for the Linux meson-gx-socinfo driver and adapted
to U-Boot printing.
Signed-off-by: Neil Armstrong
On 28/03/2018 12:52, Beniamino Galvani wrote:
> 2018-03-28 10:59 GMT+02:00 Neil Armstrong :
>
>> Do you plan to re-send the driver soon ?
>
> Yes, I plan to submit it again in the next days.
>
> Beniamino
>
Cool ! Thanks !
Can you base it after my "ARM: meson
901 - 1000 of 1715 matches
Mail list logo