hi Tiger,
Sorry! It's a little late.
Albert has merged arm64 patch set. I have tested and it works fine on
Foundation Model.
So, you could get it from git tree of u-boot-arm branch.
Regards,
David
> Hi, fenghua:
> How to get u-boot code with arch/arm/cpu/armv8 director
hi bhupesh,
> Hi David,
>
> In reference to my mail above, I see that the transition to EL2 (from EL3)
> which occurs very early
> in start.S needs to be changed on lines of the ARMv7 code, i.e. the EL2
> transition should happen just
> before Linux is booted up by the u-boot.
>
> The reason fo
> -Original Messages-
> From: tiger...@viatech.com.cn
> Sent Time: 2014-01-15 08:45:16 (Wednesday)
> To: scottw...@freescale.com, bhupesh.sha...@freescale.com
> Cc: feng...@phytium.com.cn, tr...@ti.com, u-boot@lists.denx.de
> Subject: Re: [U-Boot] how to get u-boot code with arm64: core su
From: David Feng
This patch add gicv3 support to uboot armv8 platform.
Modifications cover 4 source files, as follows:
gic.S: gicv3 initialization and sgi interrupt raising.
goc.h: gicv3 register definitions.
vexpress_aemv8a.h: add CONFIG_GICV2/CONFIG_GICV3 switch.
start.S: set SCR_EL3.NS
hi bhupesh,
> -Original Messages-
> From: "bhupesh.sha...@freescale.com"
> Sent Time: 2014-01-15 22:19:02 (Wednesday)
> To: "'feng...@phytium.com.cn'" ,
> "u-boot@lists.denx.de"
> Cc: "tr...@ti.com" , "arnab.b...@freescale.com"
>
> Subject: RE: [U-Boot] [PATCH] arm64 patch: gicv3 su
> -Original Messages-
> From: "bhupesh.sha...@freescale.com"
> Sent Time: 2014-01-16 11:45:18 (Thursday)
> To: 'FengHua'
> Cc: "u-boot@lists.denx.de" , "tr...@ti.com"
> , "arnab.b...@freescale.com"
> Subject: R
> -Original Messages-
> From: "Tom Rini"
> Sent Time: 2014-01-21 06:47:25 (Tuesday)
> To: u-boot@lists.denx.de
> Cc:
> Subject: [U-Boot] [PATCH] fdt_support.c: Correct linux, initrd-start/end
> setting
>
> The change to add 64bit initrd support broke 32bit initrd support as it
> always
> -Original Messages-
> From: tiger...@viatech.com.cn
> Sent Time: 2014-01-23 14:44:36 (Thursday)
> To: u-boot@lists.denx.de
> Cc:
> Subject: [U-Boot] U-boot for 64bit ARMv8
>
> Hi, experts:
> I found ARMv8/Exceptions.S only created a 8 items vector table.
>
> But based on ARMv8 Arch
Hi Scott,
> -Original Messages-
> From: "Scott Wood"
> Sent Time: 2014-01-23 08:28:06 (Thursday)
> To: FengHua
> Cc: "bhupesh.sha...@freescale.com" ,
> "'tr...@ti.com'" , "'u-boot@lists.denx.de'"
>
hi Linus:
> While the Freescale ARMv8 board LS2085A will enter U-Boot both
> on a master and a secondary (slave) CPU, this is not the common
> behaviour on ARMv8 platforms. The norm is that U-Boot is entered
> from the master CPU only, while the other CPUs are kept in
> WFI (wait for interru
From: David Feng
Armv7 and Armv8 allow outer cache exist, it is outside of the architecture
defined cache hierarchy and can not be manipulated by architecture defined
instructions. It's processor specific.
This patch merge v7_outer_cache_* and v8 l3_cache_*.
Signed-off-by: David Feng
---
arch/
From: David Feng
Currently serial_pl01x.c driver contain DM and non-DM mode,
but it will access static varible in non-DM mode.
So, u-boot using non-DM pl01x driver can not be placed in flash.
This patch set enable pre-allocation malloc that is required by DM
and enable DM in vexpress64 board.
Da
From: David Feng
Allocate memory space for pre-allocation malloc and zero global data.
This code is partly from crt0.S.
Signed-off-by: David Feng
---
arch/arm/include/asm/config.h |4
arch/arm/lib/crt0_64.S| 13 +++--
2 files changed, 11 insertions(+), 6 deletions(-)
From: David Feng
Signed-off-by: David Feng
---
board/armltd/vexpress64/vexpress64.c | 13 +
include/configs/vexpress_aemv8a.h| 14 --
2 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/board/armltd/vexpress64/vexpress64.c
b/board/armltd/vexpress64/v
From: David Feng
1. Fix a bug of mmu_setup that variable i and j should be
type long instead of int.
2. Give mmu_setup weak attribute so that other implementation
can redfine it.
3. A more common set_pgtable_section().
4. Give device memory PXN and UXN attribute. CPU may speculatively
pr
From: David Feng
PCI specification allow prefetchable memory to be 32-bit or 64-bit.
PCI express specification states that all memmory bars for prefetchable
memory must be implemented as 64-bit. They all require that 64 bit
prefetchble memory are suported especially when u-boot is ported to
more
From: David Feng
PCI specification allow prefetchable memory to be 32-bit or 64-bit.
PCI express specification states that all memmory bars for prefetchable
memory must be implemented as 64-bit. They all require that 64 bit
prefetchble memory are suported especially when u-boot is ported to
more
From: David Feng
This patch replace CONFIG_ARM64 with gcc builtin __aarch64__.
CONFIG_ARM64 is still needed in makefile and config.mk.
Maybe them could be replace with something like *_V8 later.
Signed-off-by: David Feng
---
arch/arm/include/asm/cache.h|2 +-
arch/arm/include/a
From: David Feng
This patch add Kconfig to armv8.
Signed-off-by: David Feng
---
arch/arm/Kconfig | 16 +++-
arch/arm/cpu/armv8/Kconfig | 10 ++
2 files changed, 21 insertions(+), 5 deletions(-)
create mode 100644 arch/arm/cpu/armv8/Kconfig
diff --git a/arch/
hi Linus,
The following is some advice about the multi entry patch.
> While the Freescale ARMv8 board LS2085A will enter U-Boot both
> on a master and a secondary (slave) CPU, this is not the common
> behaviour on ARMv8 platforms. The norm is that U-Boot is entered
> from the master
From: David Feng
The cache disable operation shoud be performed after flush_dcache_all().
If cache disable operation is performed before
flush_dcache_all(), flush_dcache_all() store data directly to memory
and may be overrided by data copy in cache.
Signed-off-by: David Feng
---
arch/arm/cpu/a
hi Mark,
Thank you review this patch.
> -Original Messages-
> From: "Mark Rutland"
> Sent Time: 2015-02-09 19:05:54 (Monday)
> To: "feng...@phytium.com.cn"
> Cc: "u-boot@lists.denx.de"
> Subject: Re: [U-Boot] [PATCH] ARMv8: Bug fix of dcache_disable()
>
> On Mon, Feb 09, 2015 at 0
From: David Feng
This patch deal with error message of mtest command.
When test failed, the mtest command will output error information
that include memory address and value. But the address field is
not correct or misleading.
Signed-off-by: David Feng
---
common/cmd_mem.c | 14 +
> -Original Messages-
> From: "Wolfgang Denk"
> Sent Time: 2014-02-13 06:11:01 (Thursday)
> To: "York Sun"
> Cc: scottw...@freescale.com, u-boot@lists.denx.de
> Subject: Re: [U-Boot] [RFC] Add 64-bit data support for memory commands
>
> Dear York Sun,
>
> In message <1392240023-25205
hi York,
> -Original Messages-
> From: "York Sun"
> Sent Time: 2014-02-11 05:55:52 (Tuesday)
> To: albert.u.b...@aribaud.net
> Cc: scottw...@freescale.com, "York Sun" , "David Feng"
>
> Subject: [PATCH 1/3] armv8/cache: Consolidate setting for MAIR and TCR
>
> Move setting for MAIR an
From: David Feng
u-boot did not program the upper 32 bits of prefetchable base and limit
in pci bridge config space. I think it's needed when 64 bit address space
is used.
Signed-off-by: David Feng
---
drivers/pci/pci_auto.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
di
From: David Feng
u-boot did not program the upper 32 bits of prefetchable base and limit
in pci bridge config space. I think it's needed when 64 bit address space
is used.
Changes for v1:
- use lowest bit of prefechable base(or limit) to determine whether
the bridge support 64 bit prefechab
> -Original Messages-
> From: "Wolfgang Denk"
> Sent Time: 2014-02-14 00:30:24 (Friday)
> To: feng...@phytium.com.cn
> Cc: u-boot@lists.denx.de, tr...@ti.com, albert.u.b...@aribaud.net
> Subject: Re: [PATCH][RFC v2] add pci 64 bit prefechable mem support
>
> Dear feng...@phytium.com.cn
> -Original Messages-
> From: "Albert ARIBAUD"
> Sent Time: 2014-02-22 00:38:05 (Saturday)
> To: feng...@phytium.com.cn
> Cc: u-boot@lists.denx.de, tr...@ti.com
> Subject: Re: [PATCH] arm64 patch: gicv3 support
>
> Hi feng...@phytium.com.cn,
>
> On Wed, 15 Jan 2014 16:10:56 +0800, fen
From: David Feng
This patch add gicv3 support to uboot armv8 platform.
Changes for v2:
- rename arm/cpu/armv8/gic.S with arm/lib/gic_64.S
- move smp_kick_all_cpus() from gic.S to start.S, it would be
implementation dependent.
- Each core initialize it's own ReDistributor instead of mas
From: David Feng
The porting has been merged with arm architecture.
Most architecture codes are placed in
arch/arm/cpu/armv8 directory. Generic board is also
supported after a few bugs are fixed.
u-boot could be running at EL1 or EL2.
Changes for v7:
- Integrate SMC9 patch of sharma bhupes
From: David Feng
Signed-off-by: David Feng
---
common/fdt_support.c | 66 ++
1 file changed, 34 insertions(+), 32 deletions(-)
diff --git a/common/fdt_support.c b/common/fdt_support.c
index b034c98..9bc5821 100644
--- a/common/fdt_support.c
+++
From: David Feng
Signed-off-by: David Feng
---
common/cmd_pxe.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c
index a2fb50a..df58522 100644
--- a/common/cmd_pxe.c
+++ b/common/cmd_pxe.c
@@ -57,7 +57,7 @@ static int format_mac_pxe(
From: David Feng
Signed-off-by: David Feng
---
common/board_f.c | 19 +++
common/board_r.c | 18 ++
2 files changed, 29 insertions(+), 8 deletions(-)
diff --git a/common/board_f.c b/common/board_f.c
index 0ada1af..f6ca610 100644
--- a/common/board_f.c
+++ b/
From: David Feng
Signed-off-by: David Feng
---
MAINTAINERS |4 +
board/armltd/dts/vexpress64.dts | 439 ++
board/armltd/vexpress64/Makefile | 27 +++
board/armltd/vexpress64/vexpress64.c | 70 ++
boards.cfg
From: David Feng
Signed-off-by: David Feng
---
arch/arm/config.mk |4 +
arch/arm/cpu/armv8/Makefile | 38 +
arch/arm/cpu/armv8/cache.S | 130 +
arch/arm/cpu/armv8/cache_v8.c | 228 +
From: David Feng
Signed-off-by: David Feng
---
common/board_f.c | 19 +++
common/board_r.c | 18 ++
2 files changed, 29 insertions(+), 8 deletions(-)
diff --git a/common/board_f.c b/common/board_f.c
index 0ada1af..f6ca610 100644
--- a/common/board_f.c
+++ b/
From: David Feng
Signed-off-by: David Feng and Sharma Bhupesh
---
MAINTAINERS |4 +
board/armltd/dts/vexpress64.dts | 439 ++
board/armltd/vexpress64/Makefile | 27 +++
board/armltd/vexpress64/vexpress64.c | 70 ++
From: David Feng
Signed-off-by: David Feng
---
common/fdt_support.c | 66 ++
1 file changed, 34 insertions(+), 32 deletions(-)
diff --git a/common/fdt_support.c b/common/fdt_support.c
index b034c98..9bc5821 100644
--- a/common/fdt_support.c
+++
From: David Feng
The porting has been merged with arm architecture.
Most architecture codes are placed in
arch/arm/cpu/armv8 directory. Generic board is also
supported after a few bugs are fixed.
u-boot could be running at EL1 or EL2.
Changes for v8:
- add Signed-off-by information to patch "b
From: David Feng
Signed-off-by: David Feng
---
arch/arm/config.mk |4 +
arch/arm/cpu/armv8/Makefile | 38 +
arch/arm/cpu/armv8/cache.S | 130 +
arch/arm/cpu/armv8/cache_v8.c | 228 +
From: David Feng
Signed-off-by: David Feng
---
common/cmd_pxe.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c
index a2fb50a..df58522 100644
--- a/common/cmd_pxe.c
+++ b/common/cmd_pxe.c
@@ -57,7 +57,7 @@ static int format_mac_pxe(
> -原始邮件-
> 发件人: "Wolfgang Denk"
> 发送时间: 2013年9月14日 星期六
> 收件人: feng...@phytium.com.cn
> 抄送: u-boot@lists.denx.de, tr...@ti.com, albert.u.b...@aribaud.net,
> scottw...@freescale.com
> 主题: Re: [PATCH v9 0/5] arm64 patch
>
> Dear feng...@phytium.com.cn,
>
> In message <1379061539-38972-1
From: David Feng
Signed-off-by: David Feng
---
common/cmd_pxe.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c
index a2fb50a..df58522 100644
--- a/common/cmd_pxe.c
+++ b/common/cmd_pxe.c
@@ -57,7 +57,7 @@ static int format_mac_pxe(
From: David Feng
Signed-off-by: David Feng
---
common/fdt_support.c | 66 ++
1 file changed, 34 insertions(+), 32 deletions(-)
diff --git a/common/fdt_support.c b/common/fdt_support.c
index b034c98..9bc5821 100644
--- a/common/fdt_support.c
+++
From: David Feng
Signed-off-by: David Feng
Signed-off-by: Bhupesh Sharma
---
MAINTAINERS |4 +
board/armltd/dts/vexpress64.dts | 439 ++
board/armltd/vexpress64/Makefile | 27 +++
board/armltd/vexpress64/vexpress64.c |
From: David Feng
Signed-off-by: David Feng
---
arch/arm/config.mk |4 +
arch/arm/cpu/armv8/Makefile | 38 +
arch/arm/cpu/armv8/cache.S | 130 +
arch/arm/cpu/armv8/cache_v8.c | 228 +
From: David Feng
Signed-off-by: David Feng
---
include/linux/linkage.h |4
1 file changed, 4 insertions(+)
diff --git a/include/linux/linkage.h b/include/linux/linkage.h
index 9ddf830..2a2848a 100644
--- a/include/linux/linkage.h
+++ b/include/linux/linkage.h
@@ -49,6 +49,10 @@
From: David Feng
Signed-off-by: David Feng
---
common/board_f.c | 18 +++---
common/board_r.c | 18 ++
2 files changed, 29 insertions(+), 7 deletions(-)
diff --git a/common/board_f.c b/common/board_f.c
index 0ada1af..f92a39e 100644
--- a/common/board_f.c
+++ b/c
From: David Feng
Changes for v10:
- add weak definition to include/linux/linkage.h and make
setup_el2/setup_el3/lowlevel_init weak routines,
so them can be easily overridden by processor specific code.
- modify s-o-f of 0002-board-support-of-vexpress_aemv8a which
use wrong mail ad
> -原始邮件-
> 发件人: "Scott Wood"
> 发送时间: 2013年9月17日 星期二
> 收件人: feng...@phytium.com.cn
> 抄送: u-boot@lists.denx.de, tr...@ti.com, albert.u.b...@aribaud.net,
> w...@denx.de, b45...@freescale.com
> 主题: Re: [PATCH v10 1/6] core support of arm64
>
> On Mon, 2013-09-16 at 16:08 +0800, feng...@ph
From: David Feng
Signed-off-by: David Feng
Signed-off-by: Bhupesh Sharma
---
MAINTAINERS |4 +
board/armltd/dts/vexpress64.dts | 439 ++
board/armltd/vexpress64/Makefile | 27 +++
board/armltd/vexpress64/vexpress64.c |
From: David Feng
Signed-off-by: David Feng
---
common/fdt_support.c | 66 ++
1 file changed, 34 insertions(+), 32 deletions(-)
diff --git a/common/fdt_support.c b/common/fdt_support.c
index b034c98..9bc5821 100644
--- a/common/fdt_support.c
+++
From: David Feng
Signed-off-by: David Feng
---
include/linux/linkage.h |4
1 file changed, 4 insertions(+)
diff --git a/include/linux/linkage.h b/include/linux/linkage.h
index 9ddf830..2a2848a 100644
--- a/include/linux/linkage.h
+++ b/include/linux/linkage.h
@@ -49,6 +49,10 @@
From: David Feng
Signed-off-by: David Feng
---
common/board_f.c | 18 +++---
common/board_r.c | 18 ++
2 files changed, 29 insertions(+), 7 deletions(-)
diff --git a/common/board_f.c b/common/board_f.c
index 0ada1af..5891ad2 100644
--- a/common/board_f.c
+++ b/c
From: David Feng
Signed-off-by: David Feng
---
arch/arm/config.mk |4 +
arch/arm/cpu/armv8/Makefile | 38 +
arch/arm/cpu/armv8/cache.S | 130 +
arch/arm/cpu/armv8/cache_v8.c | 228 +
From: David Feng
Signed-off-by: David Feng
---
common/cmd_pxe.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c
index a2fb50a..df58522 100644
--- a/common/cmd_pxe.c
+++ b/common/cmd_pxe.c
@@ -57,7 +57,7 @@ static int format_mac_pxe(
From: David Feng
Changes for v11:
- Replace CONFIG_ARMV8 with CONFIG_ARM64. Currently,
it's hard to distinguish what is armv8 specific and
what is aarch64 specific, so we use CONFIG_ARM64
only, no CONFIG_ARMV8 used.
- rename README.armv8 with README.arm64 and make some modificatio
From: David Feng
Changes for v12:
- custom the patches to new format boards.cfg.
Changes for v11:
- Replace CONFIG_ARMV8 with CONFIG_ARM64. Currently,
it's hard to distinguish what is armv8 specific and
what is aarch64 specific, so we use CONFIG_ARM64
only, no CONFIG_ARMV8 used.
From: David Feng
Signed-off-by: David Feng
---
include/linux/linkage.h |4
1 file changed, 4 insertions(+)
diff --git a/include/linux/linkage.h b/include/linux/linkage.h
index 9ddf830..2a2848a 100644
--- a/include/linux/linkage.h
+++ b/include/linux/linkage.h
@@ -49,6 +49,10 @@
From: David Feng
Signed-off-by: David Feng
---
common/board_f.c | 18 +++---
common/board_r.c | 18 ++
2 files changed, 29 insertions(+), 7 deletions(-)
diff --git a/common/board_f.c b/common/board_f.c
index 0ada1af..5891ad2 100644
--- a/common/board_f.c
+++ b/c
From: David Feng
Signed-off-by: David Feng
---
common/cmd_pxe.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c
index a2fb50a..df58522 100644
--- a/common/cmd_pxe.c
+++ b/common/cmd_pxe.c
@@ -57,7 +57,7 @@ static int format_mac_pxe(
From: David Feng
Signed-off-by: David Feng
Signed-off-by: Bhupesh Sharma
---
board/armltd/dts/vexpress64.dts | 439 ++
board/armltd/vexpress64/Makefile | 27 +++
board/armltd/vexpress64/vexpress64.c | 70 ++
boards.cfg
From: David Feng
Signed-off-by: David Feng
---
common/fdt_support.c | 66 ++
1 file changed, 34 insertions(+), 32 deletions(-)
diff --git a/common/fdt_support.c b/common/fdt_support.c
index b034c98..9bc5821 100644
--- a/common/fdt_support.c
+++
From: David Feng
Signed-off-by: David Feng
---
arch/arm/config.mk |4 +
arch/arm/cpu/armv8/Makefile | 38 +
arch/arm/cpu/armv8/cache.S | 130 +
arch/arm/cpu/armv8/cache_v8.c | 228 +
> Date: Wed, 25 Sep 2013 20:10:13 -0500
> From: Scott Wood
> Subject: Re: [U-Boot] When to create a SoC directory for ARM
> To: sun york-R58495
> Cc: Rini , Wood Scott-B07421 ,
> "u-boot@lists.denx.de" , Tom
> Message-ID: <1380157813.24959.237.ca...@snotra.buserror.net>
> Content-Type: text
> -原始邮件-
> 发件人: "sun york-R58495"
> 发送时间: 2013年9月26日 星期四
> 收件人: FengHua
> 抄送: "albert.u.boot" , trini , "Wood
> Scott-B07421" , u-boot
> 主题: Re: [U-Boot] When to create a SoC directory for ARM
>
>
> On Sep 25, 2013, at 10
From: David Feng
Signed-off-by: David Feng
---
common/board_f.c | 18 +++---
common/board_r.c | 20 +++-
2 files changed, 30 insertions(+), 8 deletions(-)
diff --git a/common/board_f.c b/common/board_f.c
index 0ada1af..5891ad2 100644
--- a/common/board_f.c
+++ b
From: David Feng
Signed-off-by: David Feng
---
include/linux/linkage.h |4
1 file changed, 4 insertions(+)
diff --git a/include/linux/linkage.h b/include/linux/linkage.h
index 9ddf830..2a2848a 100644
--- a/include/linux/linkage.h
+++ b/include/linux/linkage.h
@@ -49,6 +49,10 @@
From: David Feng
Signed-off-by: David Feng
Signed-off-by: Bhupesh Sharma
---
board/armltd/dts/vexpress64.dts | 439 ++
board/armltd/vexpress64/Makefile | 27 +++
board/armltd/vexpress64/vexpress64.c | 70 ++
boards.cfg
From: David Feng
Changes for v13:
- fix the bug of board_r.c and arm/lib/board.c due to
CONFIG_NEED_MANUAL_RELOC. adjust initr_serial() in board_r.c
to the first entry of init_sequence_r[] and relocate
serial_initialize() in arm/lib/board.c, routines of serial_device
should be r
From: David Feng
Signed-off-by: David Feng
---
common/fdt_support.c | 66 ++
1 file changed, 34 insertions(+), 32 deletions(-)
diff --git a/common/fdt_support.c b/common/fdt_support.c
index b034c98..9bc5821 100644
--- a/common/fdt_support.c
+++
From: David Feng
Signed-off-by: David Feng
---
common/cmd_pxe.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c
index a2fb50a..df58522 100644
--- a/common/cmd_pxe.c
+++ b/common/cmd_pxe.c
@@ -57,7 +57,7 @@ static int format_mac_pxe(
hi albert,
do_bootm_linux() of arm architecture mdoes not support
BOOTM_STATE_OS_CMDLINE so bootm
command failed with not supported subcommand warning.
Please review it.
Regards,
David.
___
U-Boot mailing list
U-Boot@lists.denx.de
h
> -原始邮件-
> 发件人: "Scott Wood"
> 发送时间: 2013年10月1日 星期二
> 收件人: "Simon Glass"
> 抄送: trini , u-boot , FengHua
>
> 主题: Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero
> gd_t
>
> On Mon, 2013-09-09 at 20:54 -0500,
> -原始邮件-
> 发件人: "Scott Wood"
> 发送时间: 2013年10月1日 星期二
> 收件人: FengHua
> 抄送: "Simon Glass" , trini , u-boot
>
> 主题: Re: Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and
> zero gd_t
>
> On Tue, 2013-10-01 at 19:
> >
> > > -原始邮件-
> > > 发件人: "Scott Wood"
> > > 发送时间: 2013年10月1日 星期二
> > > 收件人: FengHua
> > > 抄送: "Simon Glass" , trini , u-boot
> > >
> > > 主题: Re: Re: [U-Boot] [PATCH v4 3/4] generic board
> arm64: rela relocation
>
> This lets us remove the manual relocation stuff from the arm64 patchset
> (the symbol itself is removed by this patchset, but not all the new
> manual relocations added by the arm64 patchset).
>
> I'm not terribly happy with the way relocate-rela is now, versus some
> ARM64 uses the newer RELA-style relocations rather than the older REL.
> RELA relocations have an addend in the relocation struct, rather than
> expecting the loader to read a value from the location to be updated.
>
> While this is beneficial for ordinary program loading, it's problematic
How
> This turns off CONFIG_NEEDS_MANUAL_RELOC and turns on -pie.
>
> The bss part of the linker script is changed to be more like arm32,
> as the previous arm64 approach was generating bad relocations (even
> readelf didn't like them).
>
> relocate_64.S is made to look more like relocate.S, and the
> Hi FengHua,
>
> On Fri, 4 Oct 2013 23:55:01 +0800 (GMT+08:00), FengHua
> wrote:
>
> >
> >
> > > arm64: rela relocation
> > >
> > > This lets us remove the manual relocation stuff from the arm64 patchset
> > > (the symbol itsel
> diff --git a/tools/relocate-rela.c b/tools/relocate-rela.c
> new file mode 100644
> index 000..47afe0b
> --- /dev/null
> +++ b/tools/relocate-rela.c
> @@ -0,0 +1,185 @@
> +/*
> + * Copyright 2013 Freescale Semiconductor, Inc.
> + *
> + * SPDX-License-Identifier: GPL-2.0+ BSD-2-Clause
> + *
From: David Feng
Signed-off-by: David Feng
---
include/linux/linkage.h |4
1 file changed, 4 insertions(+)
diff --git a/include/linux/linkage.h b/include/linux/linkage.h
index 9ddf830..2a2848a 100644
--- a/include/linux/linkage.h
+++ b/include/linux/linkage.h
@@ -49,6 +49,10 @@
From: David Feng
Changes for v14:
- Merge rela relocation patches from Scott Wood
.
- Remove all CONFIG_NEED_MANUAL_RELOC and other fixups
due to manual relocation. With rela relocation patches
them are not needed.
- Fix the bug of MEMORY_ATTRIBUTES definition due to
assembl
From: David Feng
Signed-off-by: David Feng
---
common/fdt_support.c | 66 ++
1 file changed, 34 insertions(+), 32 deletions(-)
diff --git a/common/fdt_support.c b/common/fdt_support.c
index b034c98..9bc5821 100644
--- a/common/fdt_support.c
+++
From: David Feng
Signed-off-by: David Feng
---
common/board_f.c | 20 +---
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/common/board_f.c b/common/board_f.c
index 0ada1af..d821dbe 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -458,7 +458,7 @@ static
From: David Feng
Signed-off-by: David Feng
---
MAKEALL | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/MAKEALL b/MAKEALL
index 956f3da..cb414ca 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -370,6 +370,12 @@ LIST_ARM11="$(boards_by_cpu arm1136) \
LIST_ARMV7="$(
From: David Feng
Signed-off-by: David Feng
---
common/cmd_pxe.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c
index c5f4a22..1df9a8a 100644
--- a/common/cmd_pxe.c
+++ b/common/cmd_pxe.c
@@ -57,7 +57,7 @@ static int format_mac_pxe(
From: David Feng
While performing relocations on u-boot.bin should be good enough for
booting on real hardware, some simulators insist on booting an ELF file
(and yet don't perform ELF relocations), so convert the relocated
binary back into an ELF file. This can go away in the future if we
chang
From: David Feng
Relocation code based on a patch by Scott Wood, which is:
Signed-off-by: Scott Wood
Signed-off-by: David Feng
---
arch/arm/config.mk |3 +-
arch/arm/cpu/armv8/Makefile | 38 +
arch/arm/cpu/armv8/cache.S | 130 ++
From: David Feng
Signed-off-by: Scott Wood
Signed-off-by: David Feng
---
Makefile | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
index 86464c9..edf52f2 100644
--- a/Makefile
+++ b/Makefile
@@ -805,12 +805,16 @@ tools: $(VERSION_FILE) $(
From: David Feng
ARM64 uses the newer RELA-style relocations rather than the older REL.
RELA relocations have an addend in the relocation struct, rather than
expecting the loader to read a value from the location to be updated.
While this is beneficial for ordinary program loading, it's problema
From: David Feng
Signed-off-by: David Feng
---
board/armltd/vexpress64/Makefile | 27 +
board/armltd/vexpress64/vexpress64.c | 50 +
boards.cfg |1 +
include/configs/vexpress_aemv8a.h| 191 ++
4 files changed
From: David Feng
Signed-off-by: David Feng
Signed-off-by: Bhupesh Sharma
---
board/armltd/vexpress64/Makefile | 27 +
board/armltd/vexpress64/vexpress64.c | 50 +
boards.cfg |1 +
include/configs/vexpress_aemv8a.h| 191
From: David Feng
Signed-off-by: David Feng
---
include/linux/linkage.h |4
1 file changed, 4 insertions(+)
diff --git a/include/linux/linkage.h b/include/linux/linkage.h
index 9ddf830..2a2848a 100644
--- a/include/linux/linkage.h
+++ b/include/linux/linkage.h
@@ -49,6 +49,10 @@
From: David Feng
The content is same with original v14.
04/05/06 patches is totally provided by scott wood.
Them are mistakenly encoded "From: David Feng",
so modify its to "From: Scott Wood".
Changes for v14:
- Merge rela relocation patches from Scott Wood
.
- Remove all CONFIG_NEED_M
From: Scott Wood
Signed-off-by: Scott Wood
Signed-off-by: David Feng
---
Makefile | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
index 86464c9..edf52f2 100644
--- a/Makefile
+++ b/Makefile
@@ -805,12 +805,16 @@ tools: $(VERSION_FILE) $(
From: Scott Wood
While performing relocations on u-boot.bin should be good enough for
booting on real hardware, some simulators insist on booting an ELF file
(and yet don't perform ELF relocations), so convert the relocated
binary back into an ELF file. This can go away in the future if we
chang
From: Scott Wood
ARM64 uses the newer RELA-style relocations rather than the older REL.
RELA relocations have an addend in the relocation struct, rather than
expecting the loader to read a value from the location to be updated.
While this is beneficial for ordinary program loading, it's problema
From: David Feng
Signed-off-by: David Feng
---
MAKEALL | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/MAKEALL b/MAKEALL
index 956f3da..cb414ca 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -370,6 +370,12 @@ LIST_ARM11="$(boards_by_cpu arm1136) \
LIST_ARMV7="$(
1 - 100 of 194 matches
Mail list logo