> -Original Messages-
> From: "Thierry Reding"
> Sent Time: 2015-03-20 19:47:51 (Friday)
> To: u-boot@lists.denx.de
> Cc: "Marc Zyngier"
> Subject: [U-Boot] [PATCH 4/6] armv8/mmu: Set bits marked RES1 in TCR
>
> From: Thierry Reding
>
> For EL3 and EL2, the documentation says that b
hi Linus,
> -Original Messages-
> From: "Linus Walleij"
> Sent Time: 2015-03-20 17:39:48 (Friday)
> To: FengHua
> Cc: "U-Boot Mailing List" , "albert.u.boot"
>
> Subject: Re: Re: [PATCH] Vexpress64: Fix the compiling error when
&g
hi Thierry,
> -Original Messages-
> From: "Thierry Reding"
> Sent Time: 2015-03-20 19:47:53 (Friday)
> To: u-boot@lists.denx.de
> Cc: "Marc Zyngier"
> Subject: [U-Boot] [PATCH 6/6] armv8: Allow SoCs to override the generic timer
>
> From: Thierry Reding
>
> Some SoCs come with a cus
> -Original Messages-
> From: "Thierry Reding"
> Sent Time: 2015-03-20 19:47:50 (Friday)
> To: u-boot@lists.denx.de
> Cc: "Marc Zyngier"
> Subject: [U-Boot] [PATCH 3/6] armv8/mmu: Clean up TCR programming
>
> From: Thierry Reding
>
> Use the inner shareable attribute for memory, whi
> -Original Messages-
> From: "Thierry Reding"
> Sent Time: 2015-03-20 19:47:48 (Friday)
> To: u-boot@lists.denx.de
> Cc: "Marc Zyngier"
> Subject: [U-Boot] [PATCH 1/6] armv8/cache: Fix page table creation
>
> From: Thierry Reding
>
> While generating the page tables, a running inte
hi Thierry,
> -Original Messages-
> From: "Thierry Reding"
> Sent Time: 2015-03-20 19:47:49 (Friday)
> To: u-boot@lists.denx.de
> Cc: "Marc Zyngier"
> Subject: [U-Boot] [PATCH 2/6] armv8: Implement CONFIG_SYS_MALLOC_F_LEN support
>
> From: Thierry Reding
>
> Implement early malloc()
> -Original Messages-
> From: "Linus Walleij"
> Sent Time: 2015-03-10 18:08:03 (Tuesday)
> To: "David Feng"
> Cc: "U-Boot Mailing List" , "Tom Rini" ,
> "Albert ARIBAUD"
> Subject: Re: [PATCH] Vexpress64: Fix the compiling error when
> CONFIG_ARMV8_MULTIENTRY defined
>
> On Tue, Ma
From: David Feng
CPU_RELEASE_ADDR should be defined when CONFIG_ARMV8_MULTIENTRY is used.
Signed-off-by: David Feng
---
board/armltd/vexpress64/vexpress64.c |8
include/configs/vexpress_aemv8a.h|9 +
2 files changed, 17 insertions(+)
diff --git a/board/armltd/vexp
From: David Feng
Linux-arm64 require that CNTVOFF_EL2 should be programmed with
a consistent value on all cpus. Initializing CNTVOFF_EL2 at state
transition instead of start.S could prevent potential different value
on cpus if ATF exist and u-boot runs at only one cpu.
Signed-off-by: David Feng
2015-02-11 23:51:15 (Wednesday)
> To: FengHua
> Cc: "u-boot@lists.denx.de" , "albert.u.boot"
>
> Subject: Re: Re: [U-Boot] [PATCH] ARMv8: Bug fix of dcache_disable()
>
> On Wed, Feb 11, 2015 at 03:26:06AM +, FengHua wrote:
> >
> > hi Mark,
&
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
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 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
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/
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
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
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
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
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
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
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
Signed-off-by: David Feng
---
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
index 33d3f36..4b11aa4 100644
--- a/arch/arm/cpu/armv8/start.S
+++ b/arch/arm/cpu/armv8/st
> -Original Messages-
> From: "Andrianov, Vitaly"
> Sent Time: 2014-04-03 19:22:34 (Thursday)
> To: "Masahiro Yamada" , "Karicheri, Muralidharan"
>
> Cc: "Rini, Tom" , "u-boot@lists.denx.de"
> Subject: Re: [U-Boot] [PATCH v5 3/9] arm: add support for arch timer
>
> Hi Masahiro,
>
>
> -Original Messages-
> From: "York Sun"
> Sent Time: 2014-03-22 02:10:39 (Saturday)
> To: "Scott Wood"
> Cc: FengHua , "u-boot@lists.denx.de"
>
> Subject: CONFIG_REMAKE_ELF for aarch64
>
> Scott,
>
> I am having a probl
> -Original Messages-
> From: "York Sun"
> Sent Time: 2014-04-01 05:40:32 (Tuesday)
> To: albert.u.b...@aribaud.net
> Cc: u-boot@lists.denx.de, "York Sun"
> Subject: [U-Boot] [PATCH] armv8: Flush dcache before switching to EL2
>
> For ARMv8, U-boot has been running at EL3 with cache a
> -Original Messages-
> From: "Leo Yan"
> Sent Time: 2014-03-31 09:11:47 (Monday)
> To: u-boot@lists.denx.de, "David Feng" , "Scott Wood"
>
> Cc: "Leo Yan"
> Subject: [PATCH] ARMv8: fix bug for flush data cache by set/way
>
> When flush the d$ with set/way instruction, it need calcu
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
> -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
> -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
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
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
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
> -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
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 +
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'"
>
> -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
> -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: "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
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
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
> -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
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
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
> On Sat, Dec 14, 2013 at 9:17 AM, wrote:
> > 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 db6b156..c27ec35 100644
> > --- a/c
From: David Feng
Signed-off-by: David Feng
Signed-off-by: Bhupesh Sharma
---
board/armltd/vexpress64/Makefile |8 ++
board/armltd/vexpress64/vexpress64.c | 56 ++
boards.cfg |1 +
include/configs/vexpress_aemv8a.h| 189 ++
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 861f31e..e331d35 100644
--- a/Makefile
+++ b/Makefile
@@ -742,12 +742,16 @@ tools: $(VERSION_FILE) $(
From: David Feng
Signed-off-by: David Feng
---
MAKEALL | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/MAKEALL b/MAKEALL
index a74f0fc..562071a 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -381,6 +381,12 @@ LIST_ARM11="$(targets_by_cpu arm1136) \
LIST_ARMV7="$(
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 39c712e..7435fcd 100644
--- a/include/linux/linkage.h
+++ b/include/linux/linkage.h
@@ -48,6 +48,10 @@
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
Changes for v16:
- make the patches work with latest recently u-boot.
add rela relocation type to OBJCFLAGS definition
at arm/config.mk.
Changes for v15:
- modify boot process, u-boot will run at the highest
exception level until it prepare jump to OS.
- Fix a
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: 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 f0664bc..d918e4b 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -462,7 +462,7 @@ static
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 1f0d8f5..a3f7442 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 db6b156..c27ec35 100644
--- a/common/cmd_pxe.c
+++ b/common/cmd_pxe.c
@@ -59,7 +59,7 @@ static int format_mac_pxe(
> Hi,
>
> I can't understand that why u-boot code relocate itself form flash to RAM?
> why it doesn't execute from flash?
> Can anybody explain. Plz
>
First, flash is slow.
Second, there are many data structures or variables which should be writable.
So, we should copy u-boot to RAM and relocate
> Hi,
>
> I can not understand why u-boot relocate it self to RAM from flash? Why is
> it not executing from flash?
> Can anybody explain.
>
First, flash is slow.
Second, there are many data structures or variables which should be writable.
So, we should copy u-boot to RAM and relocate it.
Reg
hi Bhupesh,
Thank you for reviewing of the patch.
> > +/*
> > + * Generic timer implementation of timer_read_counter()
> > + */
> > +unsigned long timer_read_counter(void)
> > +{
> > + unsigned long cntpct;
> > + isb();
> > + asm volatile("mrs %0, cntpct_el0" : "=r" (cntpct));
> > + r
From: David Feng
Signed-off-by: David Feng
Signed-off-by: Bhupesh Sharma
---
board/armltd/vexpress64/Makefile |8 ++
board/armltd/vexpress64/vexpress64.c | 56 ++
boards.cfg |1 +
include/configs/vexpress_aemv8a.h| 189 ++
From: David Feng
Signed-off-by: David Feng
---
MAKEALL | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/MAKEALL b/MAKEALL
index 80cd4f8..213383d 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -368,6 +368,12 @@ LIST_ARM11="$(targets_by_cpu arm1136) \
LIST_ARMV7="$(
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 f0664bc..d918e4b 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -462,7 +462,7 @@ static
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 44546ff..01e1268 100644
--- a/Makefile
+++ b/Makefile
@@ -771,12 +771,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: 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 39c712e..7435fcd 100644
--- a/include/linux/linkage.h
+++ b/include/linux/linkage.h
@@ -48,6 +48,10 @@
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
---
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 1f0d8f5..a3f7442 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 db6b156..c27ec35 100644
--- a/common/cmd_pxe.c
+++ b/common/cmd_pxe.c
@@ -59,7 +59,7 @@ static int format_mac_pxe(
From: David Feng
Changes for v15:
- modify boot process, u-boot will run at the highest
exception level until it prepare jump to OS.
- Fix a few bugs in cache.S.These bug is reported by
York Sun and Scott Wood
.
- when booting, slaves will wait on WFI, master wakeup
slaves
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
---
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
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: 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/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: 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: 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: 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: 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
---
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: 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
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
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
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
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
---
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
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
---
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 @@
> 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
> + *
> 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
> 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
> 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
> 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
> >
> > > -原始邮件-
> > > 发件人: "Scott Wood"
> > > 发送时间: 2013年10月1日 星期二
> > > 收件人: FengHua
> > > 抄送: "Simon Glass" , trini , u-boot
> > >
> > > 主题: Re: Re: [U-Boot] [PATCH v4 3/4] generic board
> -原始邮件-
> 发件人: "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日 星期二
> 收件人: "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,
1 - 100 of 194 matches
Mail list logo