Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-10 Thread FengHua
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

Re: [U-Boot] [PATCH v15 07/10] arm64: core support

2014-01-13 Thread FengHua
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

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread FengHua
> -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

[U-Boot] [PATCH] arm64 patch: gicv3 support

2014-01-15 Thread fenghua
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

Re: [U-Boot] [PATCH] arm64 patch: gicv3 support

2014-01-15 Thread FengHua
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

Re: [U-Boot] [PATCH] arm64 patch: gicv3 support

2014-01-15 Thread FengHua
> -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

Re: [U-Boot] [PATCH] fdt_support.c: Correct linux, initrd-start/end setting

2014-01-21 Thread FengHua
> -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

Re: [U-Boot] U-boot for 64bit ARMv8

2014-01-23 Thread FengHua
> -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

Re: [U-Boot] [PATCH v15 07/10] arm64: core support

2014-01-23 Thread FengHua
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'" >

Re: [U-Boot] [PATCH v2] armv8/vexpress64: make multientry conditional

2015-02-01 Thread FengHua
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

[U-Boot] [RFC PATCH] ARM: Merge v7 and v8 outer cache operations

2015-02-01 Thread fenghua
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/

[U-Boot] [PATCH 0/2] ARMv8: driver model enable

2015-02-01 Thread fenghua
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

[U-Boot] [PATCH 1/2] ARMv8: enable pre-allocation malloc

2015-02-01 Thread fenghua
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(-)

[U-Boot] [PATCH 2/2] ARMv8: enable DM in vexpress64 board

2015-02-01 Thread fenghua
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

[U-Boot] [PATCH] ARMv8: bug fix of mmu setup and code optimization

2015-02-01 Thread fenghua
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

[U-Boot] [PATCH] PCI: add 64-bit prefetchable memory support

2015-02-01 Thread fenghua
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

[U-Boot] [PATCH v2] PCI: add 64-bit prefetchable memory support

2015-02-02 Thread fenghua
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

[U-Boot] [RFC PATCH] ARMv8: replace CONFIG_ARM64 with builtin __aarch64__

2015-02-03 Thread fenghua
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

[U-Boot] [RFC PATCH] ARMv8: add Kconfig and CPU_V8 option

2015-02-03 Thread fenghua
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/

Re: [U-Boot] [PATCH v2] armv8/vexpress64: make multientry conditional

2015-02-04 Thread FengHua
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

[U-Boot] [PATCH] ARMv8: Bug fix of dcache_disable()

2015-02-09 Thread fenghua
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

Re: [U-Boot] [PATCH] ARMv8: Bug fix of dcache_disable()

2015-02-10 Thread FengHua
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

[U-Boot] [PATCH] fix address of error message in mtest command

2014-02-12 Thread fenghua
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 +

Re: [U-Boot] [RFC] Add 64-bit data support for memory commands

2014-02-12 Thread FengHua
> -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

Re: [U-Boot] [PATCH 1/3] armv8/cache: Consolidate setting for MAIR and TCR

2014-02-12 Thread FengHua
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

[U-Boot] [PATCH][RFC] add pci bridge 64 bit prefechable mem support

2014-02-13 Thread fenghua
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

[U-Boot] [PATCH][RFC v2] add pci 64 bit prefechable mem support

2014-02-13 Thread fenghua
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

Re: [U-Boot] [PATCH][RFC v2] add pci 64 bit prefechable mem support

2014-02-13 Thread FengHua
> -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

Re: [U-Boot] [PATCH] arm64 patch: gicv3 support

2014-02-24 Thread FengHua
> -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

[U-Boot] [PATCH v2] arm64 patch: gicv3 support

2014-03-13 Thread fenghua
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

[U-Boot] [PATCH v8 0/5] arm64 patch

2013-09-12 Thread fenghua
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

[U-Boot] [PATCH v8 4/5] 64bit initrd start address support

2013-09-12 Thread fenghua
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 +++

[U-Boot] [PATCH v8 5/5] remove compiling warnings

2013-09-12 Thread fenghua
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(

[U-Boot] [PATCH v8 3/5] generic board patch of manual reloc and zero gd_t

2013-09-12 Thread fenghua
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/

[U-Boot] [PATCH v8 2/5] board support of vexpress_aemv8a

2013-09-12 Thread fenghua
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

[U-Boot] [PATCH v8 1/5] core support of arm64

2013-09-12 Thread fenghua
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 +

[U-Boot] [PATCH v9 3/5] generic board patch of manual reloc and zero gd_t

2013-09-13 Thread fenghua
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/

[U-Boot] [PATCH v9 2/5] board support of vexpress_aemv8a

2013-09-13 Thread fenghua
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 ++

[U-Boot] [PATCH v9 4/5] 64bit initrd start address support

2013-09-13 Thread fenghua
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 +++

[U-Boot] [PATCH v9 0/5] arm64 patch

2013-09-13 Thread fenghua
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

[U-Boot] [PATCH v9 1/5] core support of arm64

2013-09-13 Thread fenghua
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 +

[U-Boot] [PATCH v9 5/5] remove compiling warnings

2013-09-13 Thread fenghua
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(

Re: [U-Boot] [PATCH v9 0/5] arm64 patch

2013-09-13 Thread FengHua
> -原始邮件- > 发件人: "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

[U-Boot] [PATCH v10 5/6] remove compiling warnings

2013-09-16 Thread fenghua
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(

[U-Boot] [PATCH v10 4/6] 64bit initrd start address support

2013-09-16 Thread fenghua
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 +++

[U-Boot] [PATCH v10 2/6] board support of vexpress_aemv8a

2013-09-16 Thread fenghua
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 |

[U-Boot] [PATCH v10 1/6] core support of arm64

2013-09-16 Thread fenghua
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 +

[U-Boot] [PATCH v10 6/6] add weak entry definition

2013-09-16 Thread fenghua
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 @@

[U-Boot] [PATCH v10 3/6] generic board patch of manual reloc and zero gd_t

2013-09-16 Thread fenghua
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

[U-Boot] [PATCH v10 0/6] arm64 patch

2013-09-16 Thread fenghua
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

Re: [U-Boot] [PATCH v10 1/6] core support of arm64

2013-09-17 Thread FengHua
> -原始邮件- > 发件人: "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

[U-Boot] [PATCH v11 2/6] board support of vexpress_aemv8a

2013-09-18 Thread fenghua
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 |

[U-Boot] [PATCH v11 4/6] 64bit initrd start address support

2013-09-18 Thread fenghua
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 +++

[U-Boot] [PATCH v11 6/6] add weak entry definition

2013-09-18 Thread fenghua
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 @@

[U-Boot] [PATCH v11 3/6] generic board patch of manual reloc and zero gd_t

2013-09-18 Thread fenghua
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

[U-Boot] [PATCH v11 1/6] core support of arm64

2013-09-18 Thread fenghua
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 +

[U-Boot] [PATCH v11 5/6] remove compiling warnings

2013-09-18 Thread fenghua
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(

[U-Boot] [PATCH v11 0/6] arm64 patch

2013-09-18 Thread fenghua
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

[U-Boot] [PATCH v12 0/6] arm64 patch

2013-09-21 Thread fenghua
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.

[U-Boot] [PATCH v12 6/6] add weak entry definition

2013-09-21 Thread fenghua
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 @@

[U-Boot] [PATCH v12 3/6] generic board patch of manual reloc and zero gd_t

2013-09-21 Thread fenghua
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

[U-Boot] [PATCH v12 5/6] remove compiling warnings

2013-09-21 Thread fenghua
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(

[U-Boot] [PATCH v12 2/6] board support of vexpress_aemv8a

2013-09-21 Thread fenghua
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

[U-Boot] [PATCH v12 4/6] 64bit initrd start address support

2013-09-21 Thread fenghua
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 +++

[U-Boot] [PATCH v12 1/6] core support of arm64

2013-09-21 Thread fenghua
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 +

Re: [U-Boot] When to create a SoC directory for ARM

2013-09-25 Thread FengHua
> 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

Re: [U-Boot] When to create a SoC directory for ARM

2013-09-26 Thread FengHua
> -原始邮件- > 发件人: "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

[U-Boot] [PATCH v13 3/6] generic board patch of manual reloc and zero gd_t

2013-09-26 Thread fenghua
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

[U-Boot] [PATCH v13 6/6] add weak entry definition

2013-09-26 Thread fenghua
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 @@

[U-Boot] [PATCH v13 2/6] board support of vexpress_aemv8a

2013-09-26 Thread fenghua
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

[U-Boot] [PATCH v13 0/6] arm64 patch

2013-09-26 Thread fenghua
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

[U-Boot] [PATCH v13 4/6] 64bit initrd start address support

2013-09-26 Thread fenghua
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 +++

[U-Boot] [PATCH v13 5/6] remove compiling warnings

2013-09-26 Thread fenghua
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(

[U-Boot] BOOTM_STATE_OS_CMDLINE: corrupt arm bootm?

2013-09-27 Thread FengHua
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

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-10-01 Thread FengHua
> -原始邮件- > 发件人: "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,

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-10-01 Thread FengHua
> -原始邮件- > 发件人: "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:

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-10-02 Thread FengHua
> > > > > -原始邮件- > > > 发件人: "Scott Wood" > > > 发送时间: 2013年10月1日 星期二 > > > 收件人: FengHua > > > 抄送: "Simon Glass" , trini , u-boot > > > > > > 主题: Re: Re: [U-Boot] [PATCH v4 3/4] generic board

Re: [U-Boot] [PATCH 0/4] arm64: rela relocation

2013-10-04 Thread FengHua
> 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

Re: [U-Boot] [PATCH 1/4] arm64: Add tool to statically apply RELA relocations

2013-10-04 Thread FengHua
> 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

Re: [U-Boot] [PATCH 3/4] arm64: Non-manual relocation

2013-10-04 Thread FengHua
> 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

Re: [U-Boot] [PATCH 0/4] arm64: rela relocation

2013-10-07 Thread FengHua
> 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

Re: [U-Boot] [PATCH 1/4] arm64: Add tool to statically apply RELA relocations

2013-10-08 Thread FengHua
> 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 > + *

[U-Boot] [PATCH v14 03/10] add weak entry definition

2013-10-12 Thread fenghua
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 @@

[U-Boot] [PATCH v14 00/10] arm64 patch

2013-10-12 Thread fenghua
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

[U-Boot] [PATCH v14 01/10] fdt_support: 64bit initrd start address support

2013-10-12 Thread fenghua
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 +++

[U-Boot] [PATCH v14 08/10] arm64: generic board support

2013-10-12 Thread fenghua
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

[U-Boot] [PATCH v14 10/10] arm64: MAKEALL, filter armv8 boards from LIST_arm

2013-10-12 Thread fenghua
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="$(

[U-Boot] [PATCH v14 02/10] cmd_pxe: remove compiling warnings

2013-10-12 Thread fenghua
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(

[U-Boot] [PATCH v14 05/10] arm64: Turn u-boot.bin back into an ELF file after relocate-rela

2013-10-12 Thread fenghua
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

[U-Boot] [PATCH v14 07/10] arm64: core support

2013-10-12 Thread fenghua
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 ++

[U-Boot] [PATCH v14 06/10] arm64: Make checkarmreloc accept arm64 relocations

2013-10-12 Thread fenghua
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) $(

[U-Boot] [PATCH v14 04/10] arm64: Add tool to statically apply RELA relocations

2013-10-12 Thread fenghua
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

[U-Boot] [PATCH v14 09/10] arm64: board support of vexpress_aemv8a

2013-10-12 Thread fenghua
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

[U-Boot] [PATCH v14 09/10] arm64: board support of vexpress_aemv8a

2013-10-13 Thread fenghua
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

[U-Boot] [RESEND PATCH v14 03/10] add weak entry definition

2013-10-14 Thread fenghua
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 @@

[U-Boot] [RESEND PATCH v14 00/10] arm64 pat

2013-10-14 Thread fenghua
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

[U-Boot] [RESEND PATCH v14 06/10] arm64: Make checkarmreloc accept arm64 relocations

2013-10-14 Thread fenghua
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) $(

[U-Boot] [RESEND PATCH v14 05/10] arm64: Turn u-boot.bin back into an ELF file after relocate-rela

2013-10-14 Thread fenghua
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

[U-Boot] [RESEND PATCH v14 04/10] arm64: Add tool to statically apply RELA relocations

2013-10-14 Thread fenghua
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

[U-Boot] [RESEND PATCH v14 10/10] arm64: MAKEALL, filter armv8 boards from LIST_arm

2013-10-14 Thread fenghua
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   2   >