On 2022/4/10 00:55, Johan Jonker wrote:
The serial_rockchip.c driver converts platdata to the data structure
used in the ns16550.c file and then calls the function
ns16550_serial_probe().
When compiled with OF_REAL the serial_rockchip.c driver returns
now -ENODEV when probed and does no harm.
On 2022/4/10 00:55, Johan Jonker wrote:
When a defconfig for rk3288 is compiled it gives the warning:
rockchip_rk3288_uart: Missing .compatible in
./drivers/serial/serial_rockchip.c
: WARNING: the driver rockchip_rk3288_uart
On 2022/4/10 00:55, Johan Jonker wrote:
The Rockchip SoCs rk3066/rk3188 have MMC DT nodes
with as compatible string "rockchip,rk2928-dw-mshc".
Add OF_PLATDATA support to the existing driver with
help of a DM_DRIVER_ALIAS.
This type needs a permanent enabled fifo.
The other Rockchip SoCs
On 2022/4/10 00:55, Johan Jonker wrote:
The Rockchip SoCs rk3066/rk3188 have no CONFIG_ROCKCHIP_STIMER_BASE
defined. Currently there's no exception in TPL. Make this more
generic and compile the code inside the function rockchip_stimer_init()
only when CONFIG_ROCKCHIP_STIMER_BASE is available.
On 2022/4/10 00:55, Johan Jonker wrote:
The Rockchip SoCs rk3066/rk3188 have no CONFIG_ROCKCHIP_STIMER_BASE
defined. Currently only rk3188 has an exception in SPL. Make this more
generic and compile code inside the function rockchip_stimer_init()
only when CONFIG_ROCKCHIP_STIMER_BASE is
On 2022/4/10 13:13, Samuel Holland wrote:
Now that the pinmux conflict is handled in the board code (by skipping
setup for the one conflicting MMC controller), the driver does not need
to be entirely disabled based on the UART pinmux.
Signed-off-by: Samuel Holland
Reviewed-by: Peng Fan
On 2022/4/10 23:28, Tom Rini wrote:
On Sun, Apr 10, 2022 at 04:31:57PM +0800, Peng Fan (OSS) wrote:
From: Peng Fan
Make COUNTER_FREQUENCY usable to armv8 and armv7-a, not limited to
versal.
Signed-off-by: Peng Fan
---
arch/arm/Kconfig | 7 +++
Add rk3066 Rikomagic MK808 to the list of
mainline supported Rockchip boards.
Include instructions for creating and programming
images to NAND and SD card.
Signed-off-by: Johan Jonker
---
Changed V10:
add more info
---
doc/board/rockchip/rockchip.rst | 111
1
There are several PX30/RK3326 boards in use without
mentioning in rockchip.rst. Add boards and examples.
Signed-off-by: Johan Jonker
---
doc/board/rockchip/rockchip.rst | 16
1 file changed, 16 insertions(+)
diff --git a/doc/board/rockchip/rockchip.rst
With more text coming to the rockchip.rst document,
give it a restyle first.
Changed:
sort build examples alphabetically
add git clone example
fix bash examples
fix phrases (grammer)
fix typos
Signed-off-by: Johan Jonker
---
doc/board/rockchip/rockchip.rst | 138
Add the core architecture code for the rk3066.
Signed-off-by: Johan Jonker
---
arch/arm/include/asm/arch-rk3066/boot0.h | 8 +++
arch/arm/include/asm/arch-rk3066/gpio.h | 8 +++
arch/arm/include/asm/arch-rk3066/timer.h | 6 ++
arch/arm/mach-rockchip/Kconfig|
This commit adds the default configuration file and
relevant description for a MK808 board.
Signed-off-by: Johan Jonker
Reviewed-by: Kever Yang
---
changed V9:
enable led gpio
disable STIMER
Changed V8:
use default log level
ENV_IS_NOWHERE
---
configs/mk808_defconfig | 100
MK808 is a RK3066-based board with 1 USB host and 1 USB OTG port,
HDMI and a micro-SD card slot. It also includes on-board NAND
and 1GB of SDRAM.
Signed-off-by: Johan Jonker
Reviewed-by: Kever Yang
---
arch/arm/mach-rockchip/rk3066/Kconfig | 9 +
board/rikomagic/mk808/Kconfig
In the Linux DT the file rk3xxx.dtsi is shared between
rk3066 and rk3188. Add rk3066a.dtsi. Move U-boot specific
things in a rk3066a-u-boot.dtsi file.
Signed-off-by: Johan Jonker
Reviewed-by: Kever Yang
---
Changed V9:
fix include rk3066a-u-boot.dtsi
Changed V8:
update dtsi
---
MK808 is a RK3066-based board with 1 USB host and 1 USB OTG port,
HDMI and a micro-SD card slot. It also includes on-board NAND
and 1GB of SDRAM. Add rk3066a-mk808.dts. Move U-boot specific
things in a rk3066a-mk808-u-boot.dtsi file.
Signed-off-by: Johan Jonker
Reviewed-by: Kever Yang
---
Add rk3066 support to rkcommon.c
Signed-off-by: Johan Jonker
Reviewed-by: Kever Yang
---
tools/rkcommon.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/rkcommon.c b/tools/rkcommon.c
index 29f2676c19..860785f839 100644
--- a/tools/rkcommon.c
+++ b/tools/rkcommon.c
@@ -123,6 +123,7
Move the include for rk3xxx-u-boot.dtsi to rk3188-u-boot.dtsi
to stay in line with U-boot dtsi files.
Signed-off-by: Johan Jonker
Reviewed-by: Kever Yang
---
arch/arm/dts/rk3188-u-boot.dtsi | 1 +
arch/arm/dts/rk3188.dtsi| 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git
The file rk3xxx-u-boot.dtsi was original only for rk3188 and SPL.
With rk3066 added some nodes are also needed in TPL,
so change them to u-boot,dm-pre-reloc
Signed-off-by: Johan Jonker
Reviewed-by: Kever Yang
---
arch/arm/dts/rk3xxx-u-boot.dtsi | 8
1 file changed, 4 insertions(+), 4
From: Paweł Jarosz
Add rockchip rk3066 sdram driver
Signed-off-by: Paweł Jarosz
Signed-off-by: Johan Jonker
Reviewed-by: Kever Yang
---
Changed V7:
restyle
rename TEST_PATTERN
changed function prefix
changed #if where possible
restyle U_BOOT_DRIVER structure
remove
From: Paweł Jarosz
Add the clock driver for the rk3066 platform.
Derived from the rk3288 and rk3188 driver it
supports only a bare minimum to bring up the system
to reduce the TPL size for:
SDRAM clock configuration.
The boot devices NAND, EMMC, SDMMC, SPI.
A UART for the debug messages
From: Paweł Jarosz
Add driver supporting pin multiplexing on rk3066 platform.
Signed-off-by: Paweł Jarosz
Signed-off-by: Johan Jonker
Reviewed-by: Kever Yang
---
Changed V9:
change regmap source
Changed V7:
restyle
changed function prefix.
restyle U_BOOT_DRIVER structure
use
From: Paweł Jarosz
grf is needed by various drivers for rk3066 soc.
Signed-off-by: Paweł Jarosz
Signed-off-by: Johan Jonker
Reviewed-by: Kever Yang
---
Changed V9:
fix TAB
Changed V8:
add GRF_GPIO3B_IOMUX for SDMMC0
use GENMASK, __bf_shf and REG defines
add includes
---
In order to update the DT for rk3066
sync the power domain dt-binding header.
This is the state as of v5.12 in Linux.
Signed-off-by: Johan Jonker
Reviewed-by: Kever Yang
---
include/dt-bindings/power/rk3066-power.h | 22 ++
1 file changed, 22 insertions(+)
create mode
MK808 is a RK3066-based board with 1 USB host and 1 USB OTG port,
HDMI and a micro-SD card slot. It also includes on-board NAND
and 1GB of SDRAM.
Changed V10:
add u-boot,spl-fifo-mode property
combine patches core support
restyle doc rockchip.rst
add more px30 doc info
add more rk3066
On Sun, Apr 10, 2022 at 09:38:06AM +0200, Heinrich Schuchardt wrote:
> Dear Tom,
>
> The following changes since commit d46e86d25c2a504b3e2e4ab17d70b2f0be440f34:
>
> configs: Resync with savedefconfig (2022-04-08 13:36:51 -0400)
>
> are available in the Git repository at:
>
>
I initially ignored this test because I didn't like the implementation
anyway, but I disagree with some of Sean's comments here so I wanted to
add on what I think.
On 08/04/2022 22:26, Ivan Mikhaylov wrote:
> On Fri, 2022-04-08 at 11:39 -0400, Sean Anderson wrote:
>> On 3/21/22 5:43 PM, Ivan
On 4/10/22 13:54, felix.vietme...@jila.colorado.edu wrote:
From your description it seems like the board I was working on must have
had an environment on NOR or eMMC which could be loaded but did not allow
the board to come up.
Then, the patch forces u-boot to use the default environment
From: Kyle Evans
Up until commit 5f59518a7b1ae ("efi_loader: setting boot device"), we
could boot an arbitrary blob with bootefi. Indeed, efi_run_image() even
has a special case for missing device paths indicating a payload that
was directly loaded via JTAG, for example.
Restore the ability to
On 09/04/2022 15:53, Heinrich Schuchardt wrote:
> 'make tests' fails on Ubuntu 22.04 with:
>
> binman: ./tools/binman/binman:12: DeprecationWarning:
> The distutils package is deprecated and slated for removal in Python 3.12.
> Use setuptools or check PEP 632 for potential alternatives
> from
On Sun, Apr 10, 2022 at 04:31:57PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan
>
> Make COUNTER_FREQUENCY usable to armv8 and armv7-a, not limited to
> versal.
>
> Signed-off-by: Peng Fan
> ---
> arch/arm/Kconfig | 7 +++
> arch/arm/mach-versal/Kconfig | 6 --
> 2 files
On Sun, Apr 10, 2022 at 06:46:52AM +0200, Marek Vasut wrote:
> This reverts commit 8d61237edbf6314a701cf78da2c5893a73ff5438.
>
> This commit broke environment on literally every board I have access
> to, with this revert in place, environment works as it should again.
> The problem I observe
On Tue, Mar 22, 2022 at 03:38:36PM +0100, Luca Ellero wrote:
> From: Luca Ellero
>
> Take as reference Linux kernel code:
> drivers/gpio/gpio-pca953x.c
>
> Signed-off-by: Luca Ellero
> Reviewed-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP
On Mon, Feb 07, 2022 at 05:09:01PM -0600, Eddie James wrote:
> Use the CONFIG macros to conditionally build the GPIO hogging support in
> either the SPL or U-Boot, or both, depending on the configuration. Also
> call the GPIO hog probe function in the common SPL board initialization
> as an
On Mon, Jan 31, 2022 at 01:54:05PM +1030, Andrew Jeffery wrote:
> Add support for the upstream gpio-line-names property already described
> in the common GPIO binding document[1]. The ability to search for a line
> name allows boards to lift the implementation of common GPIO behaviours
> away
On Mon, May 31, 2021 at 04:23:51PM +0530, opensource@gmail.com wrote:
> From: Adarsh Babu Kalepalli
>
> Generic Python Test cases are developed to verfiy 'gpio' command.
>
> Signed-off-by: Adarsh Babu Kalepalli
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP
>From your description it seems like the board I was working on must have
had an environment on NOR or eMMC which could be loaded but did not allow
the board to come up.
Then, the patch forces u-boot to use the default environment despite an
existing env on NOR or eMMC.
> This reverts commit
From: Peng Fan
Set CONFIG_COUNTER_FREQUENCY according to COUNTER_FREQUENCY in
config header file.
Signed-off-by: Peng Fan
---
configs/a3y17lte_defconfig| 1 +
configs/a5y17lte_defconfig| 1 +
configs/a7y17lte_defconfig| 1 +
From: Peng Fan
Set CONFIG_COUNTER_FREQUENCY according to COUNTER_FREQUENCY in
config header file.
Signed-off-by: Peng Fan
---
configs/a3y17lte_defconfig| 1 +
configs/a5y17lte_defconfig| 1 +
configs/a7y17lte_defconfig| 1 +
On 4/9/22 06:00, Kever Yang wrote:
>
> On 2022/4/4 22:19, Johan Jonker wrote:
>> Add rk3066 Rikomagic MK808 to the list of
>> mainline supported Rockchip boards.
>>
>> Signed-off-by: Johan Jonker
>
> Is there any document need for setup build/flash firmware environment
> for rk3066?
How
From: Peng Fan
Enable CONFIG_DM_SERIAL. uart2 and its pinmux was already
marked with u-boot,dm-spl.
File generated with make savedefconfig
Signed-off-by: Peng Fan
---
configs/imx8mn_ddr4_evk_defconfig | 4 ++--
configs/imx8mn_evk_defconfig | 4 ++--
2 files changed, 4 insertions(+), 4
From: Peng Fan
Enable CONFIG_DM_SERIAL. uart2 and its pinmux was already
marked with u-boot,dm-spl.
File generated with make savedefconfig
Signed-off-by: Peng Fan
---
configs/imx8mm_evk_defconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
From: Peng Fan
Enable CONFIG_DM_SERIAL. uart2 and its pinmux was already
marked with u-boot,dm-spl.
File generated with make savedefconfig
Signed-off-by: Peng Fan
---
configs/imx8mp_evk_defconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
From: Peng Fan
Since we have CONFIG_COUNTER_FREQUENCY enabled, no need COUNTER_FREQUENCY
Signed-off-by: Peng Fan
---
arch/arm/cpu/armv8/fsl-layerscape/spintable.S | 2 +-
include/configs/apalis-imx8.h | 1 -
include/configs/apalis-imx8x.h| 1 -
From: Peng Fan
Since COUNTER_FREQUENCY is obselete, so set cntfrq_el0 if
CONFIG_COUNTER_FREQUENCY is valid
Signed-off-by: Peng Fan
---
arch/arm/cpu/armv8/start.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/cpu/armv8/start.S b/arch/arm/cpu/armv8/start.S
From: Peng Fan
i.MX6UL/ULL/7D/8QM/8QXP all has system counter frequency run at 8MHz,
so set default value for them.
Signed-off-by: Peng Fan
---
arch/arm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index d84c10d732e5..c515abb73ffc 100644
---
From: Peng Fan
Make COUNTER_FREQUENCY usable to armv8 and armv7-a, not limited to
versal.
Signed-off-by: Peng Fan
---
arch/arm/Kconfig | 7 +++
arch/arm/mach-versal/Kconfig | 6 --
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/arch/arm/Kconfig
From: Peng Fan
Since versal has CONFIG_COUNTER_FREQUENCY, so use it. And
COUNTER_FREQUENCY will be dropped.
Signed-off-by: Peng Fan
---
board/xilinx/versal/board.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/xilinx/versal/board.c b/board/xilinx/versal/board.c
From: Peng Fan
V2:
Drop imx93 which is wrongly included
This patchset is to convert COUNTER_FREQUENCY to CONFIG_COUNTER_FREQUENCY
for arm64. arm32 is not included for now, this could be in following up
patches if this patchset is accepted.
This patchset touches lots of boards, so please help
Dear Tom,
The following changes since commit d46e86d25c2a504b3e2e4ab17d70b2f0be440f34:
configs: Resync with savedefconfig (2022-04-08 13:36:51 -0400)
are available in the Git repository at:
https://source.denx.de/u-boot/custodians/u-boot-efi.git
tags/efi-2022-07-rc1
for you to fetch
Lyle, please see below. you commit fails the CI.
-- Forwarded message -
From: DENX GitLab
Date: Sun, Apr 10, 2022 at 8:59 AM
Subject: Network U-Boot Custodian Tree | Failed pipeline for next | 19ca279e
To:
Pipeline #11640 has failed!
Project: Network U-Boot Custodian Tree (
50 matches
Mail list logo