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
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
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
&
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 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
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
>> >
>> &
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
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
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
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
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
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
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
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 ]
>>
>>
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
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
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
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
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
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
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 +
driver
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:
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
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 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
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
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-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 for
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
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
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
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
---
-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
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
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
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
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
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
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
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
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
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
M
gab 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/in
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
Hi
On 2018/11/21 上午2:55, Otavio Salvador wrote:
Make adjustments to the rv1108 clock driver in order to align it
with the internal Rockchip version.
Signed-off-by: Otavio Salvador
---
Changes in v2: None
.../include/asm/arch-rockchip/cru_rv1108.h| 143 +-
drivers/clk/rockchip/clk_
)
#define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 0x200)
Reviewed-by: Andy Yan
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
Hi:
The subject should be something like: "Arm: dts: rockchip: add emmc
pinctrl for rv1108"
On 2018/11/21 上午2:55, 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 Salvad
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 ++-
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/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 t
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 p
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月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
t a fdt - must RESET the board to recover.
FDT creation failed! hanging...### ERROR ### Please RESET the board ###
Signed-off-by: Andy Yan
---
common/image-fdt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/image-fdt.c b/common/image-fdt.c
index 9b41f16248..56f6d7e26b 100644
ping
Andy Yan 于2018年8月7日周二 下午7:43写道:
> Memory region for fdt should be reserved, or they
> may be allocated by other module via lmb_alloc.
> Then the fdt data will be destroy.
>
> We found a case on a board with 64MB DRAM like bellow:
>
> No ethernet found.
> Hit any
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 c
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 Otavio:
Otavio Salvador 于2018年10月9日周二 上午3:29写道:
> Hi,
>
> We have a custom board based on rv1108 evb where we are trying to add
> eMMC support.
>
> Here are the changes we made so far:
>
> arch/arm/dts/rv1108-evb.dts | 45
> +
> configs/evb-rv1108_d
Hi Otavio:
I sent a mmc patch to you which I got from vincent, please have a
try.
Otavio Salvador 于2018年10月9日周二 上午10:21写道:
> Hello Andy,
>
> On Mon, Oct 8, 2018 at 11:03 PM Andy Yan wrote:
> > Otavio Salvador 于2018年10月9日周二
> 上午3:29写道:
> > I don't have a 11
Hi Simon:
Simon Glass 于2018年8月30日周四 上午8:42写道:
> On 7 August 2018 at 05:44, Andy Yan wrote:
> > Memory region for fdt should be reserved, or they
> > may be allocated by other module via lmb_alloc.
> > Then the fdt data will be destroy.
> >
> > We found a ca
Hi Otavio:
It's better to spilt the dtsi and config header file as two patches. And
when you send different versions , you should mark your series with v1,
v2...
On 2018/11/19 上午4:56, Otavio Salvador wrote:
In order to be able to build the Rockchip eMMC driver
on rv1108, the CONFIG_BOUNCE_B
The origin SPL_USE_ARCH_MEMSET/MEMCPY use same prompt message
as USE_ARCH_MEMSET/MEMCPY, which makes it's hard to distinguish
them in menuconfig interface. This patch gives them different
prompt messages for spl and none-spl config.
Signed-off-by: Andy Yan
---
arch/arm/Kconfig | 4 ++--
1
Hi Philipp:
On 2017年06月30日 16:14, Dr. Philipp Tomsich wrote:
Andy,
On 30 Jun 2017, at 09:47, Andy Yan wrote:
As Kever mentioned in [0], the RK3036 based boards could't
bootup for a long time.
After a git bisect, I found the RK3036 SPL code size has
increased from patch [1] [2]. B
Hi Heiko:
On 2017年07月05日 03:54, Heiko Stübner wrote:
Hi Andy,
Am Montag, 3. Juli 2017, 16:02:59 CEST schrieb Andy Yan:
On 2017年06月30日 16:14, Dr. Philipp Tomsich wrote:
On 30 Jun 2017, at 09:47, Andy Yan wrote:
As Kever mentioned in [0], the RK3036 based boards could't
bootup for a
Hi Tom:
On 2017年07月04日 21:32, Tom Rini wrote:
On Mon, Jul 03, 2017 at 04:02:59PM +0800, Andy Yan wrote:
Hi Philipp:
On 2017年06月30日 16:14, Dr. Philipp Tomsich wrote:
Andy,
On 30 Jun 2017, at 09:47, Andy Yan wrote:
As Kever mentioned in [0], the RK3036 based boards could't
bootup
Hi Tom:
On 2017年07月05日 09:56, Tom Rini wrote:
On Wed, Jul 05, 2017 at 09:08:47AM +0800, Andy Yan wrote:
Hi Tom:
On 2017年07月04日 21:32, Tom Rini wrote:
On Mon, Jul 03, 2017 at 04:02:59PM +0800, Andy Yan wrote:
Hi Philipp:
On 2017年06月30日 16:14, Dr. Philipp Tomsich wrote:
Andy,
On 30 Jun
Hi Simon:
On 2017年07月07日 11:58, Simon Glass wrote:
Hi Andy,
On 30 June 2017 at 01:47, Andy Yan wrote:
Some platform like rk3036 has no enough sapce for
malloc and also has no necessary to use malloc function
in spl stage. But the malloc pool is need in u-boot stage
before relocation.Make
Some platforms has very small sram to run spl code, so
it may have no enough sapce for so much malloc pool before
relocation in spl stage as the normal u-boot stage.
Signed-off-by: Andy Yan
---
Changes in v2: None
arch/mips/cpu/start.S | 8 ++--
1 file changed, 6 insertions(+), 2
Some platforms has very small sram to run spl code, so
it may have no enough sapce for so much malloc pool before
relocation in spl stage as the normal u-boot stage.
Signed-off-by: Andy Yan
---
Changes in v2: None
arch/powerpc/cpu/mpc83xx/start.S | 13 +
arch/powerpc/cpu/mpc85xx
Some platforms has very small sram to run spl code, so
it may have no enough sapce for so much malloc pool before
relocation in spl stage as the normal u-boot stage.
Signed-off-by: Andy Yan
---
Changes in v2: None
arch/microblaze/cpu/start.S | 11 ---
1 file changed, 8 insertions
RK3036 only has 4kb sram, the spl code will use
3.4 ~ 3.5 kb, the last 0.5kb are used for SP and
GD, so there is no space for malloc. Also, the spl
will directly return to bootrom after dram initialized,
they never need the space for malloc.
Signed-off-by: Andy Yan
---
Changes in v2:
- set spl
RK3036 has no enough sapce use ARCH_MEMCPY/MEMSET in spl stage
Signed-off-by: Andy Yan
Reviewed-by: Simon Glass
---
Changes in v2: None
configs/evb-rk3036_defconfig | 2 ++
configs/kylin-rk3036_defconfig | 2 ++
2 files changed, 4 insertions(+)
diff --git a/configs/evb-rk3036_defconfig b
function board_init_f_init_reserve will call memset, which
is implemented in lib, and enabled by CONFIG_SPL_LIBGENERIC_SUPPORT
in spl stage.
To reduce the code size, also enable SPL_TINY_MEMSET.
Signed-off-by: Andy Yan
---
Changes in v2: None
arch/arm/mach-rockchip/rk3036-board-spl.c | 6
printf will increase the code size more than 1kb, but platform
like rk3036 has no enough space for it.
Signed-off-by: Andy Yan
---
Changes in v2: None
arch/arm/mach-rockchip/bootrom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-rockchip/bootrom.c b/arch
Add this dts to enable debug uart releated devices
before relocation.
Signed-off-by: Andy Yan
Reviewed-by: Simon Glass
---
Changes in v2: None
arch/arm/dts/rk3036-sdk-u-boot.dtsi | 11 +++
1 file changed, 11 insertions(+)
create mode 100644 arch/arm/dts/rk3036-sdk-u-boot.dtsi
diff
SYS_MALLOC_F_LEN.
[1]https://lists.denx.de/pipermail/u-boot/2017-July/297370.html
[2]https://lists.denx.de/pipermail/u-boot/2017-July/297504.html
Changes in v2:
- introduce a new control CONFIG_SPL_SYS_MALLOC_F_LEN, adviced by Simon
- set spl pre relocation malloc pool by CONFIG_SPL_SYS_MALLOC_F_LEN
Andy
memory space indepently.
Signed-off-by: Andy Yan
---
Changes in v2:
- introduce a new control CONFIG_SPL_SYS_MALLOC_F_LEN, adviced by Simon
Kconfig | 10 ++
arch/sandbox/cpu/start.c | 2 +-
cmd/bdinfo.c | 2 +-
common/Makefile
Hi:
2017-07-13 15:33 GMT+08:00 Bin Chen :
> Hi Tom,
>
> Thanks for the review.
>
> On 13 July 2017 at 04:25, Tom Rini wrote:
>
> > On Tue, Jul 11, 2017 at 03:56:04PM +1000, Bin Chen wrote:
> >
> > > It's my understanding that we are supposed to use booti, instead of
> > bootm,
> > > for arm64 im
Hi:
2017-07-13 15:33 GMT+08:00 Bin Chen :
> Hi Tom,
>
> Thanks for the review.
>
> On 13 July 2017 at 04:25, Tom Rini wrote:
>
> > On Tue, Jul 11, 2017 at 03:56:04PM +1000, Bin Chen wrote:
> >
> > > It's my understanding that we are supposed to use booti, instead of
> > bootm,
> > > for arm64 im
Hi:
On 2017年07月19日 04:35, Philipp Tomsich wrote:
Here's a series that has a lot going on, but I didn't want to split it
to allow everyone to understand the motivation between some of the
changes to the SPL/TPL framework. The short summary of this is
"enablement for DRAM init on the RK3368 with
k3368/syscon_rk3368.c
+++ b/arch/arm/mach-rockchip/rk3368/syscon_rk3368.c
@@ -1,6 +1,8 @@
/*
* (C) Copyright 2017 Rockchip Electronics Co., Ltd
* Author: Andy Yan
+ * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
+ *
* SPDX-License-Identifier: GPL-2.0+
*/
@@ -14,6
Hi Philipp:
On 2017年07月19日 04:36, Philipp Tomsich wrote:
The RK3368 GRF header was still defines with a shifted-mask but with
non-shifted function selectors for the IOMUX defines. As the RK3368
support is still fresh enough to allow a quick rename, we do this now
before having more code use th
Hi Philipp:
On 2017年07月19日 04:36, Philipp Tomsich wrote:
With the RK3368's limited TPL size, we'll want to use OF_PLATFDATA for
the SPL stage. This implements support for OF_PLATDATA in the clock
TPL or SPL?
driver for the RK3368.
Signed-off-by: Philipp Tomsich
---
drivers/clk/r
Hi Philipp:
On 2017年07月19日 04:36, Philipp Tomsich wrote:
For full SPL support, including DRAM initialisation, we need a few
nodes from the DTS: this commit adds the DMC (DRAM controller) node,
the service_msch (memory scheduler) node and marks GRF, PMUGRF and CRU
as 'u-boot,dm-pre-reloc'. In a
Hi Philipp:
On 2017年07月21日 16:34, Dr. Philipp Tomsich wrote:
On 21 Jul 2017, at 05:50, Andy Yan wrote:
Hi Philipp:
On 2017年07月19日 04:36, Philipp Tomsich wrote:
The RK3368 GRF header was still defines with a shifted-mask but with
non-shifted function selectors for the IOMUX defines. As
:
- introduce a new control CONFIG_SPL_SYS_MALLOC_F_LEN, adviced by Simon
Andy Yan (10):
make SPL and normal u-boot stage use independent SYS_MALLOC_F_LEN
mips: spl and normal u-boot stage set SYS_MALLOC_F_LEN indepently
powerpc: spl and normal u-boot stage set SYS_MALLOC_F_LEN indepently
memory space indepently.
Signed-off-by: Andy Yan
Reviewed-by: Tom Rini
---
Changes in v3:
- use CONFIG_VAL(), which suggested by Simon
Changes in v2:
- introduce a new control CONFIG_SPL_SYS_MALLOC_F_LEN, adviced by Simon
Kconfig | 10 ++
cmd/bdinfo.c
Some platforms has very small sram to run spl code, so
it may have no enough sapce for so much malloc pool before
relocation in spl stage as the normal u-boot stage.
Use CONFIG_VAL(SYS_MALLOC_F_LEN) to fit this condition.
Signed-off-by: Andy Yan
Acked-by: Daniel Schwierzeck
---
Changes in v3
Some platforms has very small sram to run spl code, so
it may have no enough sapce for so much malloc pool before
relocation in spl stage as the normal u-boot stage.
Use CONFIG_VAL(SYS_MALLOC_F_LEN) to fit this condition.
Signed-off-by: Andy Yan
---
Changes in v3:
- use CONFIG_VAL(), which
From: Andy Yan
SPL and normal u-boot stage use different malloc pool size
configuration before relocation, so use CONFIG_VAL(SYS_MALLOC_F_LEN)
to fit different boot stage.
Signed-off-by: Andy Yan
Changes in v3:
- use CONFIG_VAL(), which suggested by Simon
Changes in v2: None
arch/sandbox
Some platforms has very small sram to run spl code, so
it may have no enough sapce for so much malloc pool before
relocation in spl stage as the normal u-boot stage.
Use CONFIG_VAL(SYS_MALLOC_F_LEN) to fit this condition.
Signed-off-by: Andy Yan
---
Changes in v3:
- use CONFIG_VAL(), which
RK3036 only has 4kb sram, the spl code will use
3.4 ~ 3.5 kb, the last 0.5kb are used for SP and
GD, so there is no space for malloc. Also, the spl
will directly return to bootrom after dram initialized,
they never need the space for malloc.
Signed-off-by: Andy Yan
Reviewed-by: Simon Glass
RK3036 has no enough sapce use ARCH_MEMCPY/MEMSET in spl stage
Signed-off-by: Andy Yan
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
configs/evb-rk3036_defconfig | 2 ++
configs/kylin-rk3036_defconfig | 2 ++
2 files changed, 4 insertions(+)
diff --git a/configs/evb
Add this dts to enable debug uart releated devices
before relocation.
Signed-off-by: Andy Yan
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
arch/arm/dts/rk3036-sdk-u-boot.dtsi | 11 +++
1 file changed, 11 insertions(+)
create mode 100644 arch/arm/dts/rk3036
printf will increase the code size more than 1kb, but platform
like rk3036 has no enough space for it.
Signed-off-by: Andy Yan
---
Changes in v3:
- use puts instead of printf, which suggested by Simon
Changes in v2: None
arch/arm/mach-rockchip/bootrom.c | 4 ++--
1 file changed, 2
disable
SPL_DM_SERIAL.
Signed-off-by: Andy Yan
Reviewed-by: Simon Glass
---
Changes in v3:
- disable SPL_DM_SERIAL
Changes in v2: None
arch/arm/mach-rockchip/rk3036-board-spl.c | 6 --
configs/evb-rk3036_defconfig | 4 +++-
configs/kylin-rk3036_defconfig| 4
Hi Philipp:
On 2017年07月21日 18:55, Dr. Philipp Tomsich wrote:
On 21 Jul 2017, at 04:33, Andy Yan wrote:
Hi:
On 2017年07月19日 04:35, Philipp Tomsich wrote:
Here's a series that has a lot going on, but I didn't want to split it
to allow everyone to understand the motivation between s
The RK3368 is an octa-core Cortex-A53 SoC from Rockchip.
This adds basic support to chain-load U-Boot from Rockchip's
miniloader.
Andreas Färber (2):
rockchip: rk3368: Add core start-up code for RK3368
rockchip: rk3368: Add initial support for RK3368 based GeekBox
Andy Yan (5):
roc
1 - 100 of 304 matches
Mail list logo