Type A out x 2
- HDMI Type D in x 1
- USB 2.0 Host x 2
- USB 3.0 OTG x 1
- USB 3.0 Host x 1
- PCIE M.2 E Key for Wireless connection
- PCIE M.2 M Key for NVME connection
- 40 pin header
The dts is from linux-6.8 rc1.
Signed-off-by: Andy Yan
Reviewed-by: Kever Yang
[0]https://patchwork.kernel.org
module AIC8800
- 40 pin header
The dts is from linux-6.8 rc1.
Signed-off-by: Andy Yan
Reviewed-by: Kever Yang
[0]https://patchwork.kernel.org/project/linux-rockchip/patch/2450634.jE0xQCEvom@phil/
---
Changes in v3:
- remove spl-boot-order as it is already in rk3588s-u-boot.dtsi
- Enable
Hi Quentin:
在 2024-02-15 20:42:56,"Quentin Schulz"
写道:
>Hi Andy,
>
>On 2/15/24 12:55, Andy Yan wrote:
>> [You don't often get email from andys...@163.com. Learn why this is
>> important at https://aka.ms/LearnAboutSenderIdentification ]
>>
>> Hi Q
Hi Quentin:
At 2024-02-15 18:40:25, "Quentin Schulz"
wrote:
>Hi Andy,
>
>On 2/15/24 11:35, Andy Yan wrote:
>[...]
>>>> diff --git a/configs/coolpi-4b-rk3588s_defconfig
>>>> b/configs/coolpi-4b-rk3588s_defconfig
>>>> new file mode 1
At 2024-02-14 22:13:08, "Quentin Schulz"
wrote:
>Hi Andy,
>
>On 2/14/24 10:31, Andy Yan wrote:
>> [You don't often get email from andys...@163.com. Learn why this is
>> important at https://aka.ms/LearnAboutSenderIdentification ]
>>
>> CoolPi 4B i
module AIC8800
- 40 pin header
The dts is from linux-6.8 rc1.
Signed-off-by: Andy Yan
Reviewed-by: Kever Yang
---
Changes in v2:
- sync dts from linux-rockchip which will be in linux-6.8 rc6[0]
[0]https://patchwork.kernel.org/project/linux-rockchip/patch/2450634.jE0xQCEvom@phil/
arch/arm/dts
Type A out x 2
- HDMI Type D in x 1
- USB 2.0 Host x 2
- USB 3.0 OTG x 1
- USB 3.0 Host x 1
- PCIE M.2 E Key for Wireless connection
- PCIE M.2 M Key for NVME connection
- 40 pin header
The dts is from linux-6.8 rc1.
Signed-off-by: Andy Yan
Reviewed-by: Kever Yang
---
Changes in v2:
- sync dts
From: Andy Yan
Enable USB releated config to support
boot from usb.
Signed-off-by: Andy Yan
---
configs/evb-rk3588_defconfig | 12
1 file changed, 12 insertions(+)
diff --git a/configs/evb-rk3588_defconfig b/configs/evb-rk3588_defconfig
index 0b7b4f2f627..8a6aa91cb29 100644
module AIC8800
- 40 pin header
The dts is from linux-6.8 rc1.
Signed-off-by: Andy Yan
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/rk3588s-coolpi-4b-u-boot.dtsi | 30 +
arch/arm/dts/rk3588s-coolpi-4b.dts | 813 +
board/rockchip/evb_rk3588
Type A out x 2
- HDMI Type D in x 1
- USB 2.0 Host x 2
- USB 3.0 OTG x 1
- USB 3.0 Host x 1
- PCIE M.2 E Key for Wireless connection
- PCIE M.2 M Key for NVME connection
- 40 pin header
The dts is from linux-6.8 rc1.
Signed-off-by: Andy Yan
---
.../arm/dts/rk3588-coolpi-cm5-evb-u-boot.dtsi | 30
Hi Jaqan,
在 2023-12-19 15:42:26,"Jagan Teki" 写道:
>Hi Andy,
>
>On Tue, Dec 19, 2023 at 6:50 AM Andy Yan wrote:
>>
>>
>> Hi Jaqan:
>>
>> At 2023-12-19 03:11:10, "Jagan Teki" wrote:
>> >From: Jagan Teki
>> >
>>
Hi Jaqan:
At 2023-12-19 03:11:10, "Jagan Teki" wrote:
>From: Jagan Teki
>
>Add support for Rockchip RK3328 VOP.
>
>Require VOP cleanup before handoff to Linux by writing reset values to
>WIN registers. Without this Linux VOP trigger page fault as below
>[0.752016] Loading compiled-in X.509
for 2280 NVME
- 40 pin header
The dts file is sync from linux mainline.
Signed-off-by: Andy Yan
---
Changes in v4:
- Add entry for this board to evb_rk3568/MAINTAINERS
- document this board at doc/board/rockchip/rockchip.rst
- restore the copyright header of dts from linux kernel
- remove
Hi Jonas:
Thanks for you kindly review。
At 2023-07-30 21:22:36, "Jonas Karlman" wrote:
>Hi Andy,
>
>On 2023-07-29 13:58, Andy Yan wrote:
>> LubanCat2 is a rk3568 based SBC from EmbedFire.
>>
>> Specification:
>> - Rockchip rk3568
&
for 2280 NVME
- 40 pin header
The dts file is sync from linux mainline.
There are some dts bootph-all and USB3 update according to Jonas suggestion[0],
so this patch based on Jonas patch [1] [2].
Signed-off-by: Andy Yan
[0]:http://patchwork.ozlabs.org/project/uboot/patch/20230708102556.25472-1-andys
for 2280 NVME
- 40 pin header
The dts file is sync from linux mainline.
Signed-off-by: Andy Yan
---
Changes in v2:
- enable SPL_FIT_SIGNATURE
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/rk3568-lubancat-2-u-boot.dtsi | 87 +++
arch/arm/dts/rk3568-lubancat-2.dts | 734
Hi:
在 2023-06-29 22:07:05,"Jonas Karlman" 写道:
>Hi Kever,
>
>On 2023-06-29 12:51, Kever Yang wrote:
>> Hi Jonas,
>>
>> What is the legacy image format, does these boards really use than?
>>
>> I think most of the board using linux distro image.
>
>The legacy image format
for 2280 NVME
- 40 pin header
The dts file is sync from linux mainline.
Signed-off-by: Andy Yan
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/rk3568-lubancat-2-u-boot.dtsi | 87 +++
arch/arm/dts/rk3568-lubancat-2.dts | 734 +
configs/lubancat-2
Hi :
On 6/27/20 8:56 PM, Kever Yang wrote:
+Andy Yan for this topic,
Hi Patrick and Arnaud,
I would like to leave this patch until the code fits for all the
socs,
Thanks,
- Kever
On 2020/6/8 下午8:39, Patrick Wildt wrote:
On Mon, Jun 08, 2020 at 02:24:32PM +0200, Arnaud Patard wrote
for them.
Signed-off-by: Andy Yan
---
include/configs/rk3308_common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/rk3308_common.h b/include/configs/rk3308_common.h
index a67d3d7d1b..bd9ac826f3 100644
--- a/include/configs/rk3308_common.h
+++ b/include
The defconfig file for ROC-CC-RK3308 is roc-cc-rk3308_defconfig.
Fixes: 7f08bfb74f04 ("doc: rockchip: Add documentation for rk3308 based
boards")
Signed-off-by: Andy Yan
---
doc/README.rockchip | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/README.rock
We need load some parts of ATF to sram, but rockchip
dwmmc controllers can't do dma to non-ddr addresses
space, so set the mmc controller into fifo mode in spl.
And show my best respect to Heiko's work for this solution.
Signed-off-by: Andy Yan
---
arch/arm/dts/rk3308-u-boot.dtsi | 2 ++
1
PX5 evb has no ETH port, so disable it.
Signed-off-by: Andy Yan
---
configs/evb-px5_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/evb-px5_defconfig b/configs/evb-px5_defconfig
index f9b17be10e..2d18da6cc8 100644
--- a/configs/evb-px5_defconfig
+++ b
After commit d8765e2422cd ("Enable building of u-boot.itb
on Rockchip platform"), u-boot.itb will automatically
generated by "make all" command, manually command
"make u-boot.itb" is no longer needed.
Signed-off-by: Andy Yan
---
doc/README.rockchip | 1 -
1 fil
We need load some parts of ATF to sram, but rockchip
dwmmc controllers can't do dma to non-ddr addresses
space, so set the mmc controller into fifo mode in spl.
Signed-off-by: Andy Yan
---
arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm
Add build documentation for rk3308 based boards.
Signed-off-by: Andy Yan
---
Changes in v3:
- Doc update with more detail message.
doc/README.rockchip | 92 -
1 file changed, 91 insertions(+), 1 deletion(-)
diff --git a/doc/README.rockchip b/doc
ROC-RK3308-CC is a rk3308 based board designed by
Firelfy, with eMMC and 256MB DDR3 and RTL8188 Wifi
on board.
Signed-off-by: Andy Yan
---
Changes in v3:
- rename config to roc-cc-rk3308_defconfig
arch/arm/mach-rockchip/rk3308/Kconfig| 5 ++
board/firefly/firefly-rk3308/Kconfig
Add dts file for ROC-RK3308-CC from firefly.
Sync form linux rockchip for v5.5-armsoc/dts64:
"arm64: dts: rockchip: Add devicetree for board roc-rk3308-cc"
(sha1: 4403e1237be3af0977aa23ef399e3496316317a0)
Signed-off-by: Andy Yan
---
Changes in v3:
- Add commit message.
arch/arm/dt
A dm based dram driver for rk3308 u-boot
to get capacity.
Signed-off-by: Andy Yan
Reviewed-by: Kever Yang
---
Changes in v3: None
drivers/ram/rockchip/Makefile | 1 +
drivers/ram/rockchip/sdram_rk3308.c | 55 +
2 files changed, 56 insertions(+)
create mode
Usage:
(1) tools/mkimage -n rk3308 -T rksd -d tpl/u-boot-tpl.bin idbloader.img
(2) cat spl/u-boot-spl.bin >> idbloader.img
(3) upgrade_tool wl 0x40 idbloader.img
Note:
When use a ddr binary from rkbin as tpl, use it replace u-boot-tpl.bin in (1)
Signed-off-by: Andy Yan
Reviewed-by:
From: Finley Xiao
Add clk controller driver for RK3308 SOC.
This patch depends on Elaine's pll patch[0].
[0]http://patchwork.ozlabs.org/patch/1183718/
Signed-off-by: Andy Yan
Reviewed-by: Kever Yang
---
Changes in v3: None
drivers/clk/rockchip/Makefile |1 +
drivers/clk
Add dts for rk3308 evb, sync from the linux kernel
upstream list [0].
[0]https://patchwork.kernel.org/patch/11201555/
Signed-off-by: Andy Yan
Reviewed-by: Kever Yang
---
Changes in v3: None
arch/arm/dts/Makefile |3 +
arch/arm/dts/rk3308-evb-u-boot.dtsi | 17 +
arch/arm
Add support for rk3308 evaluation board.
Signed-off-by: Andy Yan
Reviewed-by: Kever Yang
---
Changes in v3: None
arch/arm/mach-rockchip/rk3308/Kconfig | 8 +++
board/rockchip/evb_rk3308/Kconfig | 15 +
board/rockchip/evb_rk3308/MAINTAINERS | 6 ++
board/rockchip/evb_rk3308
commit message.
- rename config to roc-cc-rk3308_defconfig
- Doc update with more detail message.
Andy Yan (8):
arm: rockchip: Add RK3308 SOC support
arm: dts: rockchip: Add dts for rk3308 evb
board: rockchip: Add rk3308 evb support
rockchip: rk3308: Add sdram driver
rockchip: mkimage: add
RK3308 is a quad Cortex A35 based SOC with rich audio
interfaces(I2S/PCM/TDM/PDM/SPDIF/VAD/HDMI ARC), which
designed for intelligent voice interaction and audio
input/output processing.
Signed-off-by: Andy Yan
Reviewed-by: Kever Yang
---
Changes in v3: None
arch/arm/include/asm/arch-rk3308
Signed-off-by: Andy Yan
---
Changes in v2: None
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/rk3308-roc-cc-u-boot.dtsi | 17 +++
arch/arm/dts/rk3308-roc-cc.dts | 190 +
3 files changed, 209 insertions(+), 1 deletion(-)
create mode 100644 arch
Add build documentation for rk3308 based boards.
Signed-off-by: Andy Yan
---
Changes in v2:
- Update doc/README.rockchip
doc/README.rockchip | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/doc/README.rockchip b/doc/README.rockchip
index d17afeabdd
Usage:
(1) tools/mkimage -n rk3308 -T rksd -d tpl/u-boot-tpl.bin idbloader.img
(2) cat spl/u-boot-spl.bin >> idbloader.img
(3) upgrade_tool wl 0x40 idbloader.img
Note:
When use a ddr binary from rkbin as tpl, use it replace u-boot-tpl.bin in (1)
Signed-off-by: Andy Yan
---
Changes
A dm based dram driver for rk3308 u-boot
to get capacity.
Signed-off-by: Andy Yan
---
Changes in v2: None
drivers/ram/rockchip/Makefile | 1 +
drivers/ram/rockchip/sdram_rk3308.c | 55 +
2 files changed, 56 insertions(+)
create mode 100644 drivers/ram
Signed-off-by: Andy Yan
---
Changes in v2:
- Add board ROC-rk3308-CC
arch/arm/mach-rockchip/rk3308/Kconfig| 5 ++
board/firefly/firefly-rk3308/Kconfig | 15
board/firefly/firefly-rk3308/MAINTAINERS | 5 ++
board/firefly/firefly-rk3308/Makefile| 7 ++
board
RK3308 is a quad Cortex A35 based SOC with rich audio
interfaces(I2S/PCM/TDM/PDM/SPDIF/VAD/HDMI ARC), which
designed for intelligent voice interaction and audio
input/output processing.
Signed-off-by: Andy Yan
---
Changes in v2: None
arch/arm/include/asm/arch-rk3308/boot0.h | 11
From: Finley Xiao
Add clk controller driver for RK3308 SOC.
Signed-off-by: Andy Yan
---
Changes in v2: None
drivers/clk/rockchip/Makefile |1 +
drivers/clk/rockchip/clk_rk3308.c | 1078
include/dt-bindings/clock/rk3308-cru.h | 387 +
3
Add dts for rk3308 evb, sync from the linux kernel
upstream list [0].
[0]https://patchwork.kernel.org/patch/11201555/
Signed-off-by: Andy Yan
---
Changes in v2: None
arch/arm/dts/Makefile |3 +
arch/arm/dts/rk3308-evb-u-boot.dtsi | 17 +
arch/arm/dts/rk3308-evb.dts
Add support for rk3308 evaluation board.
Signed-off-by: Andy Yan
---
Changes in v2: None
arch/arm/mach-rockchip/rk3308/Kconfig | 8 +++
board/rockchip/evb_rk3308/Kconfig | 15 +
board/rockchip/evb_rk3308/MAINTAINERS | 6 ++
board/rockchip/evb_rk3308/Makefile | 7 +++
board
-RK3308-CC will coming soon.
Changes in v2:
- Add board ROC-rk3308-CC
- Update doc/README.rockchip
Andy Yan (8):
arm: rockchip: Add RK3308 SOC support
arm: dts: rockchip: Add dts for rk3308 evb
board: rockchip: Add rk3308 evb support
rockchip: rk3308: Add sdram driver
rockchip: mkimage: add
Usage:
(1) tools/mkimage -n rk3308 -T rksd -d tpl/u-boot-tpl.bin idbloader.img
(2) cat spl/u-boot-spl.bin >> idbloader.img
(3) upgrade_tool wl 0x40 idbloader.img
Note:
When use a ddr binary from rkbin as tpl, use it replace u-boot-tpl.bin in (1)
Signed-off-by: Andy Yan
---
A dm based dram driver for rk3308 u-boot
to get capacity.
Signed-off-by: Andy Yan
---
drivers/ram/rockchip/Makefile | 1 +
drivers/ram/rockchip/sdram_rk3308.c | 55 +
2 files changed, 56 insertions(+)
create mode 100644 drivers/ram/rockchip/sdram_rk3308.c
Add support for rk3308 evaluation board.
Signed-off-by: Andy Yan
---
arch/arm/mach-rockchip/rk3308/Kconfig | 8 +++
board/rockchip/evb_rk3308/Kconfig | 15 +
board/rockchip/evb_rk3308/MAINTAINERS | 6 ++
board/rockchip/evb_rk3308/Makefile | 7 +++
board/rockchip/evb_rk3308
From: Finley Xiao
Add clk controller driver for RK3308 SOC.
Signed-off-by: Andy Yan
---
drivers/clk/rockchip/Makefile |1 +
drivers/clk/rockchip/clk_rk3308.c | 1078
include/dt-bindings/clock/rk3308-cru.h | 387 +
3 files changed, 1466
-RK3308-CC will coming soon.
Andy Yan (5):
arm: rockchip: Add RK3308 SOC support
arm: dts: rockchip: Add dts for rk3308 evb
board: rockchip: Add rk3308 evb support
rockchip: rk3308: Add sdram driver
rockchip: mkimage: add support for RK3308
Finley Xiao (1):
rockchip: clk: Add clk driver
Add dts for rk3308 evb, sync from the linux kernel
upstream list [0].
[0]https://patchwork.kernel.org/patch/11201555/
Signed-off-by: Andy Yan
---
arch/arm/dts/Makefile |3 +
arch/arm/dts/rk3308-evb-u-boot.dtsi | 17 +
arch/arm/dts/rk3308-evb.dts | 230
arch
RK3308 is a quad Cortex A35 based SOC with rich audio
interfaces(I2S/PCM/TDM/PDM/SPDIF/VAD/HDMI ARC), which
designed for intelligent voice interaction and audio
input/output processing.
Signed-off-by: Andy Yan
---
arch/arm/include/asm/arch-rk3308/boot0.h | 11 +
arch/arm/include/asm
From: Andy Yan
Specification
- Rockchip RK3399
- LPDDR4
- TF sd scard slot
- eMMC
- M.2 B-Key for 4G LTE
- AP6256 for WiFi + BT
- Gigabit ethernet
- HDMI out
- 40 pin header
- USB 2.0 x 2
- USB 3.0 x 1
- USB 3.0 Type-C x 1
- TYPE-C Power supply
Signed-off-by: Andy Yan
Signed-off-by: Andy Yan
into variables named to exactly
match the ELF spec to ensure the destructuring code is reasonably
self-documenting.
Signed-off-by: Chris Webb
Reviewed-by: Andy Yan
---
arch/arm/mach-rockchip/make_fit_atf.py | 75 +++---
1 file changed, 32 insertions(+), 43 deletions(-)
diff
Hi Chris:
On 7/14/19 4:46 PM, Chris Webb wrote:
make_fit_aft.py depends on the non-standard library pyelftools to pull
out PT_LOAD segments from ELF files. However, this is as easy to do
manually, without imposing the extra dependency on users.
Structures in the ELF file are unpacked into
Let the board continue boot from the storage device where
it bootup.
Signed-off-by: Andy Yan
---
arch/arm/dts/rk3399-rock-pi-4-u-boot.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dts/rk3399-rock-pi-4-u-boot.dtsi
b/arch/arm/dts/rk3399-rock-pi-4-u-boot.dtsi
Hi Mark:
Mark Kettenis 于2019年7月4日周四 下午3:16写道:
> > From: Andy Yan
> > Date: Thu, 4 Jul 2019 14:52:47 +0800
> >
> > RK3399 use sdhci for eMMC and DW MMC for SD Card, and
> > spl will only try to boot from SDMMC if we don't specify
> > other boot device for sp
, Andy Yan wrote:
Commit b238e4b00ced ("rockchip: Cleanup of make_fit_atf.py.") set
firmware = "atf_1";
loadables = "uboot","atf_1","atf_2";
Actually it should be:
firmware = "atf_1";
loadables = "uboot","atf_2",&quo
Hi Simon:
Simon Glass 于2019年7月7日周日 上午1:16写道:
> Hi Andy,
>
> On Mon, 24 Jun 2019 at 04:37, Andy Yan wrote:
> >
> > Hi Simon:
> >
> > Glad to see you online again.
> >
> > On 2019/6/23 上午3:10, Simon Glass wrote:
> > > Hi Andy,
>
Hi Christoph:
On 2019/7/5 下午5:15, Christoph Müllner wrote:
On 04.07.19 11:44, Andy Yan wrote:
Commit b238e4b00ced ("rockchip: Cleanup of make_fit_atf.py.") set
firmware = "atf_1";
loadables = "uboot","atf_1","atf_2";
Actually it should
Commit b238e4b00ced ("rockchip: Cleanup of make_fit_atf.py.") set
firmware = "atf_1";
loadables = "uboot","atf_1","atf_2";
Actually it should be:
firmware = "atf_1";
loadables = "uboot","atf_2","atf_3";
Si
RK3399 use sdhci for eMMC and DW MMC for SD Card, and
spl will only try to boot from SDMMC if we don't specify
other boot device for spl-boot-order. So add sdhci and sdmmc
for spl-boot-order here.
Signed-off-by: Andy Yan
---
arch/arm/dts/rk3399-rock-pi-4-u-boot.dtsi | 5 +
1 file changed
Hi Simon:
Glad to see you online again.
On 2019/6/23 上午3:10, Simon Glass wrote:
Hi Andy,
On Tue, 28 May 2019 at 09:34, Andy Yan wrote:
Hi Simon:
On 2019/5/23 上午3:39, Simon Glass wrote:
Hi Andy,
On Tue, 21 May 2019 at 19:56, Andy Yan wrote:
Hi Simon:
Simon Glass 于2019年5月22日周三 上午8:28写道
From: Andy Yan
When look through the code, I found this bare metal
drives is not used, so remove it.
Signed-off-by: Andy Yan
---
drivers/mmc/mmc-uclass.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/mmc/mmc-uclass.c b/drivers/mmc/mmc-uclass.c
index a9c8f335c1..7e641ed5a6
Hi Simon:
On 2019/5/23 上午3:39, Simon Glass wrote:
Hi Andy,
On Tue, 21 May 2019 at 19:43, Andy Yan wrote:
Hi Andre:
Andre Przywara 于2019年5月20日周一 下午11:59写道:
On Mon, 20 May 2019 14:34:01 +0800
Andy Yan wrote:
Hi,
On 2019/5/19 上午12:26, Simon Glass wrote:
Hi Andy,
Instead of this could
Hi Simon:
On 2019/5/23 上午3:39, Simon Glass wrote:
Hi Andy,
On Tue, 21 May 2019 at 19:56, Andy Yan wrote:
Hi Simon:
Simon Glass 于2019年5月22日周三 上午8:28写道:
Hi Andy,
On Tue, 21 May 2019 at 00:51, Andy Yan wrote:
Hi Simon:
On 2019/5/20 下午11:35, Simon Glass wrote:
Hi Andy,
On Mon, 20 May
Hi Simon:
Simon Glass 于2019年5月22日周三 上午8:28写道:
> Hi Andy,
>
> On Tue, 21 May 2019 at 00:51, Andy Yan wrote:
> >
> > Hi Simon:
> >
> > On 2019/5/20 下午11:35, Simon Glass wrote:
> > > Hi Andy,
> > >
> > > On Mon, 20 May 2019 at 00:34, An
Hi Andre:
Andre Przywara 于2019年5月20日周一 下午11:59写道:
> On Mon, 20 May 2019 14:34:01 +0800
> Andy Yan wrote:
>
> Hi,
>
> > On 2019/5/19 上午12:26, Simon Glass wrote:
> > > Hi Andy,
> > >
> > > Instead of this could you:
> > >
> > > -
Hi Simon:
On 2019/5/20 下午11:35, Simon Glass wrote:
Hi Andy,
On Mon, 20 May 2019 at 00:34, Andy Yan wrote:
Hi Simon:
On 2019/5/19 上午12:26, Simon Glass wrote:
Hi Andy,
Instead of this could you:
- move ATF?
All rockchip based arm64 ATF run from the start 64KB of dram as this
will give
and run it (I think x86 does this)
Regards,
Simon
On Thu, 16 May 2019 at 06:22, Andy Yan wrote:
Some times we want to relocate spl code to dram after dram
initialization or relocate spl code to a high memory to avoid
code overid.
For example on Rockchip armv8 platform, we run with boot flow
TPL->
Hi Lukasz:
On 2019/5/17 下午4:34, Lukasz Majewski wrote:
On Thu, 16 May 2019 20:21:50 +0800
Andy Yan wrote:
Some times we want to relocate spl code to dram after dram
initialization or relocate spl code to a high memory to avoid
code overid.
For example on Rockchip armv8 platform, we run
run from the start address of dram and is responsible for
loading ATF and U-Boot.
The case here is that the ATF load address is from 64KB of dram,
which overlaps with spl code itself.
So we want to relocate spl itself to high memory to aovid this.
Signed-off-by: Andy Yan
---
Changes in v2:
- Add mo
run from the start address of dram and is responsible for
loading ATF and U-Boot.
The case here is that the ATF load address is from 64KB of dram,
which overlaps with spl code itself.
So we want to relocate spl itself to high memory to aovid this.
Signed-off-by: Andy Yan
---
Changes in v2:
- Mov
Move CONFIG_SPL_RELOC_TEXT_BASE and CONFIG_SPL_SKIP_RELOCATE
to Kconfig, so we can reuse it for cross other platform.
Signed-off-by: Andy Yan
---
Changes in v2: None
common/spl/Kconfig | 13 +
configs/BSC9131RDB_NAND_SYSCLK100_defconfig | 2 ++
configs
ation. So
I dicide share the config with powerpc.
Changes in v2:
- Move Kconfig modification to PATCH 1/3
- Add more detial commit message
Andy Yan (3):
powerpc: Convert CONFIG_SPL_RELOC_TEXT_BASE to Kconfig
spl: add relocation support
arm: add spl relocation support for arm
arch/arm/
Hi Marek, Fabio:
On 2019/4/29 下午7:46, Marek Vasut wrote:
On 4/29/19 1:38 PM, Andy Yan wrote:
Hi Fabio:
On 2019/4/29 下午7:08, Fabio Estevam wrote:
Hi Andy,
On Mon, Apr 29, 2019 at 6:06 AM Andy Yan wrote:
Relocate spl itself to a high memory.
Please improve the commit message and explain
Hi Fabio:
On 2019/4/29 下午7:08, Fabio Estevam wrote:
Hi Andy,
On Mon, Apr 29, 2019 at 6:06 AM Andy Yan wrote:
Relocate spl itself to a high memory.
Please improve the commit message and explain the reason for doing this.
The detail reason I described in [PATCH 1/2], you are in the list
fly-rk3399_defconfig | 6 --
> 2 files changed, 8 insertions(+), 4 deletions(-)
>
> Tested-by: Andy Yan
> diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig
> index 3a0ed1808b..b5a6019343 100644
> --- a/configs/evb-rk3399_defconfig
> +++ b/configs/evb-rk
Kever Yang 于2019年3月29日周五 上午9:13写道:
> Prefer to use structure to access register if we could.
>
> Signed-off-by: Kever Yang
> ---
>
> arch/arm/mach-rockchip/rk3399/rk3399.c | 5 -
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
>
Tested-by: Andy Yan
&
Kever Yang 于2019年3月29日周五 下午10:55写道:
> Signed-off-by: Kever Yang
> ---
>
> include/configs/evb_px5.h | 1 +
> include/configs/rk3368_common.h | 3 ++-
> 2 files changed, 3 insertions(+), 1 deletion(-)
>
>
Tested-by: Andy Yan
> diff --git a/include/configs/
Kever Yang 于2019年3月29日周五 下午10:54写道:
> Let's use rockchip timer before stimer patches can be merged.
>
> Signed-off-by: Kever Yang
> ---
>
> arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 7 +++
> 1 file changed, 7 insertions(+)
>
> Tested-by: Andy Yan
> diff -
Kever Yang 于2019年4月1日周一 下午5:25写道:
> Init the ddr sdram in TPL instead of SPL, update the code.
>
> Signed-off-by: Kever Yang
> ---
>
> drivers/ram/rockchip/sdram_rk3399.c | 15 ++-
> 1 file changed, 10 insertions(+), 5 deletions(-)
>
>
Tested-by: Andy Ya
Hi Kever:
Kever Yang 于2019年3月29日周五 下午10:55写道:
> The iomux should have been set in board_debug_uart_init(),
> do not set in board_init_f(), remove it.
>
> Signed-off-by: Kever Yang
> ---
>
> arch/arm/mach-rockchip/rk3368-board-spl.c | 13 -
> 1 file changed, 13 deletions(-)
>
>
Kever Yang 于2019年3月29日周五 下午10:54写道:
> evb-rk3368 is using UART2 and PX5 evb is using UART4
>
> Signed-off-by: Kever Yang
> ---
>
> arch/arm/mach-rockchip/rk3368/rk3368.c | 40 ++
> 1 file changed, 40 insertions(+)
>
>
Tested-by: Andy Yan
&
Kever Yang 于2019年3月29日周五 下午10:54写道:
> Signed-off-by: Kever Yang
> ---
>
> configs/evb-px5_defconfig | 56 +--
> 1 file changed, 54 insertions(+), 2 deletions(-)
>
>
Tested-by: Andy Yan
> diff --git a/configs/evb-px5_defconfig b/c
Kever Yang 于2019年3月29日周五 下午10:53写道:
> evb-px5 has only 1 CS, update for it.
>
> Signed-off-by: Kever Yang
> ---
>
> drivers/ram/rockchip/dmc-rk3368.c | 4
> 1 file changed, 4 insertions(+)
>
>
Tested-by: Andy Yan
> diff --git a/drivers/ram/rockchip/dmc-rk3
Kever Yang 于2019年3月29日周五 下午10:52写道:
> TPL need dmc to init ddr sdram, and emmc, boot-order.
>
> Signed-off-by: Kever Yang
> ---
>
> arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 29 +
> 1 file changed, 29 insertions(+)
>
>
Tested-by: Andy Yan
| 8 --
> arch/arm/mach-rockchip/rk3368-board-tpl.c | 33 +--
> arch/arm/mach-rockchip/rk3368/rk3368.c| 31 +
> 3 files changed, 32 insertions(+), 40 deletions(-)
>
>
Tested-by: Andy Yan
> diff --git a/arch/arm/mach-rockchip/rk3
Relocate spl itself to a high memory.
Signed-off-by: Andy Yan
---
arch/arm/config.mk| 6 ++
arch/arm/cpu/armv8/start.S| 4
arch/arm/cpu/armv8/u-boot-spl.lds | 17 +
arch/arm/lib/Makefile | 2 +-
arch/arm/lib/crt0_64.S
run from the start address of dram and is responsible for
loading ATF and U-Boot.
The case here is that the ATF load address is from 64KB of dram,
which overlaps with spl code itself.
So we want to relocate spl itself to high memory to aovid this.
Signed-off-by: Andy Yan
---
common/spl/Kco
Hi Simon:
On 2019/3/11 上午10:30, Simon Glass wrote:
Hi Andy,
On Wed, 6 Mar 2019 at 03:52, Andy Yan wrote:
Hi Simon:
On 2019/2/12 下午11:31, Simon Glass wrote:
HI Andy,
On Tue, 12 Feb 2019 at 04:05, Andy Yan wrote:
Hi Philipp:
Sorry for the late reply, we just come back from
Hi Simon:
On 2019/2/12 下午11:31, Simon Glass wrote:
HI Andy,
On Tue, 12 Feb 2019 at 04:05, Andy Yan wrote:
Hi Philipp:
Sorry for the late reply, we just come back from the Chinese Spring
Festival.
On 2019/2/1 下午6:26, Philipp Tomsich wrote:
Kever,
Independent of whether we revert
Hi Philipp:
Sorry for the late reply, we just come back from the Chinese Spring
Festival.
On 2019/2/1 下午6:26, Philipp Tomsich wrote:
Kever,
Independent of whether we revert this for the current cycle (and also
independent of
if I ever find the other patch you had been referring to — I
Hi Simon:
Simon Glass 于2019年1月10日周四 下午12:30写道:
> At present some Rockchip SoCs and boards are not mentioned in the README.
> So that people can see which SoCs are supported, expand the list to
> include everything.
>
> Signed-off-by: Simon Glass
> ---
>
> doc/README.rockchip | 43
Hi :
Priit Laes 于2018年11月28日周三 下午10:23写道:
> On Wed, Nov 28, 2018 at 08:23:37PM +0800, Andy Yan wrote:
> > Hi :
> > Andy Yan 于2018年11月28日周三 下午7:10写道:
> >
> > > Hi:
> > > Priit Laes 于2018年11月22日周四 上午2:06写道:
> > >
> > >> This is
Hi :
Andy Yan 于2018年11月28日周三 下午7:10写道:
> Hi:
> Priit Laes 于2018年11月22日周四 上午2:06写道:
>
>> This is a resend/v2 of a "Stop AXP from crashing when enabling LDO3"
>> series,
>> posted by Olliver Schinagl in March 2017. Unfortunately it never got past
>> in
Hi:
Priit Laes 于2018年11月22日周四 上午2:06写道:
> This is a resend/v2 of a "Stop AXP from crashing when enabling LDO3"
> series,
> posted by Olliver Schinagl in March 2017. Unfortunately it never got past
> initial discussion [1], but most Olimex Lime2 boards are still running
> into this bug.
>
> When
Hi:
On 2018/11/27 上午12:18, Otavio Salvador wrote:
On Tue, Nov 20, 2018 at 4:56 PM Otavio Salvador wrote:
This adds the pinctrl handles to enable the use of eMMC on custom
boards (as minievk) and makes it easier for later addition.
Signed-off-by: Otavio Salvador
Andy, did you review it? Is
TTINGS \
+ ENV_MEM_LAYOUT_SETTINGS \
+ "fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \
+ "partitions=" PARTS_DEFAULT \
+ BOOTENV
+#endif
Reviewed-by: Andy Yan
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
Hi:
On 2018/11/21 上午2:55, Otavio Salvador wrote:
Like it is done for other Rockchip SoCs, introduce a board_usb_init()
function so that USB OTG can be functional on rv1108 too.
Signed-off-by: Otavio Salvador
---
Changes in v2: None
arch/arm/dts/rv1108.dtsi | 45
1 - 100 of 271 matches
Mail list logo