Skip to content

Commit e656cb4

Browse files
pavelvkozlovxxkent
authored andcommitted
ARCv3:HS6x_haps: change RAM base to address 0
New FPGA images are now built with DDR mapped to address 0, update the LINUX_RAM_BASE and LINUX_LINK_BASE in default configs for arc64 and create new haps_hs6x.dts and haps_hs6x_idu.dts. Same as commit a3e8772 ("ARCv3:HS5x_haps: change RAM base to address 0") but for hs6x. Signed-off-by: Pavel Kozlov <[email protected]>
1 parent 74872ca commit e656cb4

File tree

4 files changed

+49
-4
lines changed

4 files changed

+49
-4
lines changed

arch/arc/boot/dts/haps_hs6x.dts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
2+
/*
3+
* Copyright (C) 2023 Synopsys, Inc. (www.synopsys.com)
4+
*/
5+
/dts-v1/;
6+
7+
/include/ "skeleton_hs.dtsi"
8+
/include/ "skeleton_haps.dtsi"
9+
10+
/ {
11+
model = "snps,zebu_hs6x";
12+
compatible = "snps,zebu_hs";
13+
14+
memory {
15+
/* CONFIG_LINUX_RAM_BASE needs to match low mem start */
16+
reg = <0x0 0x00000000 0x0 0x80000000>; /* 2 GB mem */
17+
};
18+
19+
chosen {
20+
bootargs = "earlycon=uart8250,mmio32,0xf0000000,115200n8 console=ttyS0,115200n8 debug print-fatal-signals=1";
21+
};
22+
};

arch/arc/boot/dts/haps_hs6x_idu.dts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
2+
/*
3+
* Copyright (C) 2023 Synopsys, Inc. (www.synopsys.com)
4+
*/
5+
/dts-v1/;
6+
7+
/include/ "skeleton_hs_idu.dtsi"
8+
/include/ "skeleton_haps_idu.dtsi"
9+
10+
/ {
11+
model = "snps,zebu_hs6x-smp";
12+
compatible = "snps,zebu_hs";
13+
14+
memory {
15+
reg = <0x00000000 0x80000000>; /* 2GB */
16+
};
17+
18+
chosen {
19+
bootargs = "earlycon=uart8250,mmio32,0xf0000000,115200n8 console=ttyS0,115200n8 debug print-fatal-signals=1";
20+
};
21+
};

arch/arc/configs/haps_arc64_defconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ CONFIG_SLAB=y
1919
CONFIG_ISA_ARCV3=y
2020
CONFIG_PGTABLE_LEVELS=4
2121
# CONFIG_ARC_HAS_ACCL_REGS is not set
22-
CONFIG_LINUX_LINK_BASE=0x80000000
23-
CONFIG_LINUX_RAM_BASE=0x80000000
24-
CONFIG_ARC_BUILTIN_DTB_NAME="haps_hs"
22+
CONFIG_LINUX_LINK_BASE=0x00000000
23+
CONFIG_LINUX_MAP_SIZE=0x80000000
24+
CONFIG_ARC_BUILTIN_DTB_NAME="haps_hs6x"
2525
CONFIG_COMPAT_32BIT_TIME=y
2626
CONFIG_MODULES=y
2727
# CONFIG_BLK_DEV_BSG is not set

arch/arc/configs/haps_arc64_smp_defconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ CONFIG_SMP=y
2020
CONFIG_ISA_ARCV3=y
2121
CONFIG_PGTABLE_LEVELS=4
2222
# CONFIG_ARC_HAS_ACCL_REGS is not set
23-
CONFIG_ARC_BUILTIN_DTB_NAME="haps_hs_idu"
23+
CONFIG_LINUX_LINK_BASE=0x00000000
24+
CONFIG_LINUX_MAP_SIZE=0x80000000
25+
CONFIG_ARC_BUILTIN_DTB_NAME="haps_hs6x_idu"
2426
CONFIG_COMPAT_32BIT_TIME=y
2527
CONFIG_MODULES=y
2628
# CONFIG_BLK_DEV_BSG is not set

0 commit comments

Comments
 (0)