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

2013-10-14 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] [RESEND PATCH v14 02/10] cmd_pxe: remove compiling warnings

2013-10-14 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] [RESEND PATCH v14 07/10] arm64: core support

2013-10-14 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] [RESEND PATCH v14 08/10] arm64: generic board support

2013-10-14 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] [RESEND PATCH v14 09/10] arm64: board support of vexpress_aemv8a

2013-10-14 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] [PATCH v15 02/10] cmd_pxe: remove compiling warnings

2013-11-14 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 db6b156..c27ec35 100644 --- a/common/cmd_pxe.c +++ b/common/cmd_pxe.c @@ -59,7 +59,7 @@ static int format_mac_pxe(

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

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

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

2013-11-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 39c712e..7435fcd 100644 --- a/include/linux/linkage.h +++ b/include/linux/linkage.h @@ -48,6 +48,10 @@

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

2013-11-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] [PATCH v15 01/10] fdt_support: 64bit initrd start address support

2013-11-14 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 1f0d8f5..a3f7442 100644 --- a/common/fdt_support.c +++

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

2013-11-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] [PATCH v15 06/10] arm64: Make checkarmreloc accept arm64 relocations

2013-11-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 44546ff..01e1268 100644 --- a/Makefile +++ b/Makefile @@ -771,12 +771,16 @@ tools: $(VERSION_FILE) $(

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

2013-11-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 80cd4f8..213383d 100755 --- a/MAKEALL +++ b/MAKEALL @@ -368,6 +368,12 @@ LIST_ARM11="$(targets_by_cpu arm1136) \ LIST_ARMV7="$(

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

2013-11-14 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 f0664bc..d918e4b 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -462,7 +462,7 @@ static

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

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

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

2013-11-29 Thread FengHua
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

Re: [U-Boot] why u-boot relocate it self to RAM from flash?

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

Re: [U-Boot] Why u-boot relocate from flash to RAM

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

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

2013-12-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 1f0d8f5..a3f7442 100644 --- a/common/fdt_support.c +++

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

2013-12-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 db6b156..c27ec35 100644 --- a/common/cmd_pxe.c +++ b/common/cmd_pxe.c @@ -59,7 +59,7 @@ static int format_mac_pxe(

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

2013-12-13 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] [PATCH v16 00/10] arm64 patch

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

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

2013-12-13 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 f0664bc..d918e4b 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -462,7 +462,7 @@ static

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

2013-12-13 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] [PATCH v16 10/10] arm64: MAKEALL, filter armv8 boards from LIST_arm

2013-12-13 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 a74f0fc..562071a 100755 --- a/MAKEALL +++ b/MAKEALL @@ -381,6 +381,12 @@ LIST_ARM11="$(targets_by_cpu arm1136) \ LIST_ARMV7="$(

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

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

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

2013-12-13 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 861f31e..e331d35 100644 --- a/Makefile +++ b/Makefile @@ -742,12 +742,16 @@ tools: $(VERSION_FILE) $(

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

2013-12-13 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 39c712e..7435fcd 100644 --- a/include/linux/linkage.h +++ b/include/linux/linkage.h @@ -48,6 +48,10 @@

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

2013-12-19 Thread FengHua
> 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

Re: [U-Boot] [PATCH] part1 of arm64. This patch provide u-boot with arm64 support. Currently it works on Foundation Model for armv8 or Fast Model for armv8.

2013-08-13 Thread FengHua
del for armv8 or Fast Model for > armv8. > > On Mon, 2013-08-12 at 00:05 +0800, feng...@phytium.com.cn wrote: > > From: fenghua > > > > This patch provide u-boot with arm64 support. Currently, it works on > > Foundation Model for armv8 or Fast Model for armv8.

[U-Boot] [PATCH v2 1/4] core support of arm64

2013-08-14 Thread fenghua
From: David Feng This patch provide u-boot with arm64 support. Currently, it works on Foundation Model for armv8 or Fast Model for armv8. Signed-off-by: David Feng --- Changes for v2: - fix EXPORT_FUNC macro to use register x9 according to "Scott Wood" mail - redefine some copyright tex

[U-Boot] [PATCH v2 3/4] arm64/lib support of arm64

2013-08-14 Thread fenghua
From: David Feng This patch provide u-boot with arm64 support. Currently, it works on Foundation Model for armv8 or Fast Model for armv8. Signed-off-by: David Feng --- Changes for v2: - fix EXPORT_FUNC macro to use register x9 according to "Scott Wood" mail - redefine some copyright tex

[U-Boot] [PATCH v2 2/4] board support of arm64

2013-08-14 Thread fenghua
From: David Feng This patch provide u-boot with arm64 support. Currently, it works on Foundation Model for armv8 or Fast Model for armv8. Signed-off-by: David Feng --- Changes for v2: - fix EXPORT_FUNC macro to use register x9 according to "Scott Wood" mail - redefine some copyright tex

[U-Boot] [PATCH v2 0/4] arm64 support

2013-08-14 Thread fenghua
From: David Feng *** BLURB HERE *** David Feng (4): core support of arm64 board support of arm64 arch/lib support of arm64 arch/cpu and arch/include and arch/dts support of arm64 arch/arm64/config.mk| 32 +++ arch/arm64/cpu/armv8/Makefile | 51 ar

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

2013-08-15 Thread fenghua
From: David Feng *** BLURB HERE *** Changes for v3: - rewrite cache.S and exception.S that partly originated from linux kernel, so the license should be ok. - according to scott wood's advice, make the fdt 64bit initrd start address support a seperate patch. David Feng (5): core

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

2013-08-15 Thread fenghua
From: David Feng This patch provide u-boot with arm64 support. Currently, it works on Foundation Model for armv8 or Fast Model for armv8. Signed-off-by: David Feng --- Changes for v3: - rewrite cache.S and exception.S that partly originated from linux kernel, so the license should be

[U-Boot] [PATCH v3 2/5] board support of arm64

2013-08-15 Thread fenghua
From: David Feng This patch provide u-boot with arm64 support. Currently, it works on Foundation Model for armv8 or Fast Model for armv8. Signed-off-by: David Feng --- Changes for v3: - rewrite cache.S and exception.S that partly originated from linux kernel, so the license should be

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

2013-08-15 Thread fenghua
From: David Feng This patch fix the fdt_initrd function. It will get #address_cells property first, then write "linux,initrd-start" and "linux,initrd-end" property value to fdt according to address cell size. So, the 64bit initrd start address could be supported. Signed-off-by: David Feng ---

[U-Boot] [PATCH v3 3/5] arch support 1 of arm64

2013-08-15 Thread fenghua
From: David Feng This patch provide u-boot with arm64 support. Currently, it works on Foundation Model for armv8 or Fast Model for armv8. Signed-off-by: David Feng --- Changes for v3: - rewrite cache.S and exception.S that partly originated from linux kernel, so the license should be

[U-Boot] about CONFIG_SYS_GENERIC_BOARD

2013-08-15 Thread FengHua
hi Simon, I have worked on generic board for a few days, but something confuse me.         Why it is needed?         Each processor architecture has different features, this will affect processor specific and board specific code. Putting board_init_* code of each platform into one file wi

[U-Boot] merge arm64 to arm

2013-08-16 Thread FengHua
hi tom, hi albert, yes, it's right. the u-boot could be more uniformly and maintainable if merging armv8 to arm architecture. I will try to migrate arm64 to armv8 subarchitecture of arm. do you have any other advice? Regards. David ___

Re: [U-Boot] merge arm64 to arm

2013-08-17 Thread FengHua
> -原始邮件- > 发件人: "Måns Rullgård" > 发送时间: 2013年8月17日 星期六 > 收件人: FengHua > 抄送: u-boot@lists.denx.de, tr...@ti.com, scottw...@freescale.com > 主题: Re: merge arm64 to arm > > FengHua writes: > > > hi tom, > > hi albert, > >

Re: [U-Boot] merge arm64 to arm

2013-08-17 Thread FengHua
> -原始邮件- > 发件人: "Måns Rullgård" > 发送时间: 2013年8月17日 星期六 > 收件人: FengHua > 抄送: "Måns Rullgård" , trini , u-boot > , "albert.u.boot" , > scottwood > 主题: Re: merge arm64 to arm > > FengHua writes: > > >> FengHu

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

2013-08-20 Thread fenghua
From: David Feng This patch fix the fdt_initrd function. It will get #adress_cells property fisrt, then write "linux,initrd-start" and "linux,initrd-end" property value to fdt according to address cell size such that the 64bit initrd start address could be supported. Signed-off-by: David Feng -

[U-Boot] [PATCH v4 2/4] board support of arm64

2013-08-20 Thread fenghua
From: David Feng Signed-off-by: David Feng --- board/armltd/dts/vexpress64.dts | 439 ++ board/armltd/vexpress64/Makefile | 43 board/armltd/vexpress64/vexpress64.c | 79 ++ boards.cfg |1 + include/configs/vex

[U-Boot] [PATCH v4 0/4] arm64 patch

2013-08-20 Thread fenghua
From: David Feng *** BLURB HERE *** The porting has been merged with arm architecture. There are many arguments about whether the porting should be made as a seperated architecture. We could make comparition now. Most architecture codes are placed in arch/arm/cpu/armv8 directory, but CONFIG_ARM

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

2013-08-20 Thread fenghua
From: David Feng 1. function board_init_f in board_f.c should firstly zero gd_t structure before it call initcall_run_list, otherwise the debug print will go run if DEBUG is defined. Because the printf function will use global data to determine whether serial port is initialized and coul

[U-Boot] arm64 porting

2013-08-20 Thread FengHua
hi, The merging of arm64 to arm is complete. I have updated the "PATCH v4". There are many arguments about whether the porting should be made as a seperated architecture. now we can make comparison. When porting as a seperated architecture, all architecture specific files and incl

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

2013-08-21 Thread FengHua
> -原始邮件- > 发件人: "Simon Glass" > 发送时间: 2013年8月21日 星期三 > 收件人: FengHua > 抄送: "U-Boot Mailing List" , "tr...@ti.com" > > 主题: Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero > gd_t > > Hi David, &g

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

2013-08-21 Thread FengHua
> -原始邮件- > 发件人: "Scott Wood" > 发送时间: 2013年8月22日 星期四 > 收件人: "Simon Glass" > 抄送: FengHua , "tr...@ti.com" , "U-Boot > Mailing List" > 主题: Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero > gd_t &

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

2013-08-22 Thread FengHua
On Thu, Aug 22, 2013 at 09:31:35AM +0800, FengHua wrote: > > > > > -- > > ?: "Scott Wood" > > : 2013???8???22??? ? > > ?????: "Simon Glass" > > ??: FengHua , "tr...@ti.com&quo

[U-Boot] [PATCH v5 0/4] arm64 patch

2013-08-23 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. Changes for v4: - fix the generic board_f.c, remove zero_global_data from init_sequence_f array

[U-Boot] [PATCH v5 0/4] arm64 patch

2013-08-23 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. Changes for v4: - fix the generic board_f.c, remove zero_global_data from init_sequence_f array

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

2013-08-23 Thread fenghua
From: David Feng 1. function board_init_f in board_f.c should firstly zero gd_t structure before it call initcall_run_list, otherwise the debug print will go run if DEBUG is defined. Because the printf function will use global data to determine whether serial port is initialized and coul

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

2013-08-23 Thread fenghua
From: David Feng 1. function board_init_f in board_f.c should firstly zero gd_t structure before it call initcall_run_list, otherwise the debug print will go run if DEBUG is defined. Because the printf function will use global data to determine whether serial port is initialized and coul

[U-Boot] [PATCH v5 2/4] board support of arm64

2013-08-23 Thread fenghua
From: David Feng Signed-off-by: David Feng --- Changes for v4: - No board/armltd/dts/vexpress64.dts | 439 ++ board/armltd/vexpress64/Makefile | 43 board/armltd/vexpress64/vexpress64.c | 79 ++ boards.cfg |

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

2013-08-23 Thread fenghua
From: David Feng This patch fix the fdt_initrd function. It will get #adress_cells property fisrt, then write "linux,initrd-start" and "linux,initrd-end" property value to fdt according to address cell size such that the 64bit initrd start address could be supported. Signed-off-by: David Feng -

[U-Boot] [PATCH v5 2/4] board support of arm64

2013-08-23 Thread fenghua
From: David Feng Signed-off-by: David Feng --- board/armltd/dts/vexpress64.dts | 439 ++ board/armltd/vexpress64/Makefile | 43 board/armltd/vexpress64/vexpress64.c | 79 ++ boards.cfg |1 + include/configs/vex

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

2013-08-23 Thread fenghua
From: David Feng This patch fix the fdt_initrd function. It will get #adress_cells property fisrt, then write "linux,initrd-start" and "linux,initrd-end" property value to fdt according to address cell size such that the 64bit initrd start address could be supported. Signed-off-by: David Feng -

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

2013-08-23 Thread FengHua
> -原始邮件- > 发件人: "Scott Wood" > 发送时间: 2013年8月24日 星期六 > 收件人: "Simon Glass" > 抄送: FengHua , trini , u-boot > > 主题: Re: Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and > zero gd_t > > On Fri, 2013-08-23 at 18:12

[U-Boot] Sorry, the patch v5 of arm64 port is duplicated, please remove unwanted.

2013-08-24 Thread FengHua
I am so sorry, the patch v5 of arm64 port is duplicated, please remove unwanted. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v5 0/4] arm64 patch

2013-08-28 Thread FengHua
Yes, currently I clone a git tree from u-boot and work on it. It's a little complicated when I update a new version patch. I must restore the git tree status and make modification then commit and generate the patches. Actually I use svn before. I am learning git now. Many Thanks. Best

Re: [U-Boot] [PATCH] vexpress/v8: Add support for SMSC91C111 integrated MAC and PHY module

2013-09-03 Thread FengHua
> -原始邮件- > 发件人: "Bhupesh Sharma" > 发送时间: 2013年9月4日 星期三 > 收件人: u-boot@lists.denx.de > 抄送: tr...@ti.com, feng...@phytium.com.cn, "Bhupesh Sharma" > > 主题: [PATCH] vexpress/v8: Add support for SMSC91C111 integrated MAC and PHY > module > > This patch enables ethernet support in ARMv8 fo

Re: [U-Boot] [PATCH v5 1/4] core support of arm64

2013-09-07 Thread FengHua
cache_disable"))); > > + > > +void __v8_outer_cache_flush_all(void) {} > > +void v8_outer_cache_flush_all(void) > > + __attribute__((weak, alias("__v8_outer_cache_flush_all"))); > > + > > +void __v8_outer_cache_inval_all(void) {} > > +vo

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

2013-09-09 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. Changes for v5: - Make modification to inappropriate licensed file and bugs according to ScottWoo

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

2013-09-09 Thread fenghua
From: David Feng 1. function board_init_f in board_f.c should firstly zero gd_t structure before it call initcall_run_list, otherwise the debug print will go run if DEBUG is defined. Because the printf function will use global data to determine whether serial port is initialized and coul

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

2013-09-09 Thread fenghua
From: David Feng This patch fix the fdt_initrd function. It will get #adress_cells property fisrt, then write "linux,initrd-start" and "linux,initrd-end" property value to fdt according to address cell size such that the 64bit initrd start address could be supported. Signed-off-by: David Feng -

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

2013-09-09 Thread fenghua
From: David Feng Signed-off-by: David Feng --- common/cmd_pxe.c |4 ++-- lib/hashtable.c |1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c index a2fb50a..52375a4 100644 --- a/common/cmd_pxe.c +++ b/common/cmd_pxe.c @@ -57,7 +57,7 @

[U-Boot] [PATCH v6 2/5] board support of arm64

2013-09-09 Thread fenghua
From: David Feng Signed-off-by: David Feng --- Changes for v5: - add CONFIG_BOOTING_EL1 configuration to vexpress_aemv8a.h board/armltd/dts/vexpress64.dts | 439 ++ board/armltd/vexpress64/Makefile | 43 board/armltd/vexpress64/vexpress64.c |

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

2013-09-10 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 v7 4/5] 64bit initrd start address support

2013-09-10 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 v7 0/5] arm64 patch

2013-09-10 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 v6: - Check the patches with checkpatch.pl and

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

2013-09-10 Thread fenghua
From: David Feng Signed-off-by: David Feng --- board/armltd/dts/vexpress64.dts | 439 ++ board/armltd/vexpress64/Makefile | 43 board/armltd/vexpress64/vexpress64.c | 79 ++ boards.cfg |1 + include/configs/vex

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

2013-09-10 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/

Re: [U-Boot] [PATCH] vexpress/v8: Add support for SMSC91C111 integrated MAC and PHY module

2013-09-10 Thread FengHua
hi Bhupesh, I want to incoporate this patch to the arm64 patch so that it is more complete. My I have your authorization? Best Regards, David > -原始邮件- > 发件人: "Bhupesh Sharma" > 发送时间: 2013年9月4日 星期三 > 收件人: u-boot@lists.denx.de > 抄送: tr...@ti.com, feng...@phytium.com.cn, "Bhupes

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

2013-09-11 Thread FengHua
> -原始邮件- > 发件人: "Wolfgang Denk" > 发送时间: 2013年9月11日 星期三 > 收件人: feng...@phytium.com.cn > 抄送: u-boot@lists.denx.de, tr...@ti.com, albert.u.b...@aribaud.net > 主题: Re: [PATCH v7 0/5] arm64 patch > > Dear feng...@phytium.com.cn, > > In message <1378800731-16462-1-git-send-email-feng...@phyt

Re: [U-Boot] [PATCH v5 1/4] core support of arm64

2013-09-11 Thread FengHua
> -原始邮件- > 发件人: "Scott Wood" > 发送时间: 2013年9月10日 星期二 > 收件人: FengHua > 抄送: u-boot@lists.denx.de, tr...@ti.com > 主题: Re: Re: [U-Boot] [PATCH v5 1/4] core support of arm64 > > On Sat, 2013-09-07 at 22:56 +0800, FengHua wrote: > > F

Re: [U-Boot] [PATCH v7 1/5] core support of arm64

2013-09-11 Thread FengHua
hi, The following codes are originated from linux kernel. I am not sure whether license issues exist. I list the original codes at the bottom. Please check it and give me some advice. If license issues actually exist I would like to remove it. The exception state push action just should

Re: [U-Boot] [PATCH v7 1/5] core support of arm64

2013-09-11 Thread FengHua
> -原始邮件- > 发件人: "Scott Wood" > 发送时间: 2013年9月12日 星期四 > 收件人: feng...@phytium.com.cn > 抄送: u-boot@lists.denx.de, tr...@ti.com > 主题: Re: [U-Boot] [PATCH v7 1/5] core support of arm64 > > On Tue, 2013-09-10 at 16:12 +0800, feng...@phytium.com.cn wrote: > > +/* > > + * Enter Exception. > > +

Re: [U-Boot] [PATCH] ARMv8: fix bug for flush data cache by set/way

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

Re: [U-Boot] [PATCH] armv8: Flush dcache before switching to EL2

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

Re: [U-Boot] CONFIG_REMAKE_ELF for aarch64

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

Re: [U-Boot] [PATCH v5 3/9] arm: add support for arch timer

2014-04-04 Thread FengHua
> -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, > >

[U-Boot] [PATCH] Arm64 fix a bug of vbar_el3 initialization

2014-04-18 Thread fenghua
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

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

2015-02-26 Thread FengHua
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, &

[U-Boot] [PATCH] Armv8: Initializing CNTVOFF_EL2

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

[U-Boot] [PATCH] Vexpress64: Fix the compiling error when CONFIG_ARMV8_MULTIENTRY defined

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

Re: [U-Boot] [PATCH] Vexpress64: Fix the compiling error when CONFIG_ARMV8_MULTIENTRY defined

2015-03-12 Thread FengHua
> -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

Re: [U-Boot] [PATCH 2/6] armv8: Implement CONFIG_SYS_MALLOC_F_LEN support

2015-03-24 Thread FengHua
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()

Re: [U-Boot] [PATCH 1/6] armv8/cache: Fix page table creation

2015-03-24 Thread FengHua
> -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

Re: [U-Boot] [PATCH 3/6] armv8/mmu: Clean up TCR programming

2015-03-24 Thread FengHua
> -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

Re: [U-Boot] [PATCH 6/6] armv8: Allow SoCs to override the generic timer

2015-03-24 Thread FengHua
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

Re: [U-Boot] [PATCH] Vexpress64: Fix the compiling error when CONFIG_ARMV8_MULTIENTRY defined

2015-03-24 Thread FengHua
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

Re: [U-Boot] [PATCH 4/6] armv8/mmu: Set bits marked RES1 in TCR

2015-03-24 Thread FengHua
> -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

<    1   2