Re: [U-Boot] [Patch V4 4/4] MIPS: add mips64 standalone support

2012-09-02 Thread Wolfgang Denk
Dear Zhi-zhou Zhang,

In message  
you wrote:
>
> > > Signed-off-by: Zhizhou Zhang 
> > > ---
> > >  board/qemu-mips/config.mk  |   10 ---
> > >  examples/standalone/mips64.lds |   59
> > 
> > >  include/configs/qemu-mips.h|1 +
> > >  3 files changed, 60 insertions(+), 10 deletions(-)
> > >  delete mode 100644 board/qemu-mips/config.mk
> > >  create mode 100644 examples/standalone/mips64.lds
> >
> > This patch appears to be too late in this patch series  Either
> > re-order and/or squash with other parts to ensure bisectability.
> >
> >
> > I'm sorry, I can't catch you.  So what should I do now? Do you mean I should
> resend these patch again?

No.  I already wrote what to do: please either re-order the patches so
thatfiles get added before they are referenced, or squash with other
parts so that they get added with the code that references them first.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
PoB = "Prisoner of Bill" -- those held captive, unwillingly or other-
wise, by the contemptible Microsoft monopoly.
 -- Tom Christiansen in <6abo45$3lc$2...@csnews.cs.colorado.edu>
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [Patch V4 4/4] MIPS: add mips64 standalone support

2012-09-02 Thread Zhi-zhou Zhang
Dear Wolfgang Denk,

On Sat, Sep 1, 2012 at 8:48 PM, Wolfgang Denk  wrote:

> Dear Zhizhou Zhang,
>
> In message <1346071750-6634-10-git-send-email-etou...@gmail.com> you
> wrote:
> > Move CONFIG_SYS_TEXT_BASE to the board specified header file. So
> > change qemu-mips.h also. board/qemu-mips/config.mk is not used, then
> > remove it.
> >
> > Signed-off-by: Zhizhou Zhang 
> > ---
> >  board/qemu-mips/config.mk  |   10 ---
> >  examples/standalone/mips64.lds |   59
> 
> >  include/configs/qemu-mips.h|1 +
> >  3 files changed, 60 insertions(+), 10 deletions(-)
> >  delete mode 100644 board/qemu-mips/config.mk
> >  create mode 100644 examples/standalone/mips64.lds
>
> This patch appears to be too late in this patch series  Either
> re-order and/or squash with other parts to ensure bisectability.
>
>
> I'm sorry, I can't catch you.  So what should I do now? Do you mean I
should
resend these patch again?

> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
> If I ever needed a brain transplant, I'd choose a teenager's  because
> I'd want a brain that had never been used.
>



-- 
Regards,
Zhizhou Zhang
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [Patch V4 4/4] MIPS: add mips64 standalone support

2012-09-01 Thread Wolfgang Denk
Dear Zhizhou Zhang,

In message <1346071750-6634-10-git-send-email-etou...@gmail.com> you wrote:
> Move CONFIG_SYS_TEXT_BASE to the board specified header file. So
> change qemu-mips.h also. board/qemu-mips/config.mk is not used, then
> remove it.
> 
> Signed-off-by: Zhizhou Zhang 
> ---
>  board/qemu-mips/config.mk  |   10 ---
>  examples/standalone/mips64.lds |   59 
> 
>  include/configs/qemu-mips.h|1 +
>  3 files changed, 60 insertions(+), 10 deletions(-)
>  delete mode 100644 board/qemu-mips/config.mk
>  create mode 100644 examples/standalone/mips64.lds

This patch appears to be too late in this patch series  Either
re-order and/or squash with other parts to ensure bisectability.


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
If I ever needed a brain transplant, I'd choose a teenager's  because
I'd want a brain that had never been used.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [Patch V4 4/4] MIPS: add mips64 standalone support

2012-08-27 Thread Zhizhou Zhang
Move CONFIG_SYS_TEXT_BASE to the board specified header file. So
change qemu-mips.h also. board/qemu-mips/config.mk is not used, then
remove it.

Signed-off-by: Zhizhou Zhang 
---
 board/qemu-mips/config.mk  |   10 ---
 examples/standalone/mips64.lds |   59 
 include/configs/qemu-mips.h|1 +
 3 files changed, 60 insertions(+), 10 deletions(-)
 delete mode 100644 board/qemu-mips/config.mk
 create mode 100644 examples/standalone/mips64.lds

diff --git a/board/qemu-mips/config.mk b/board/qemu-mips/config.mk
deleted file mode 100644
index 27cd34a..000
--- a/board/qemu-mips/config.mk
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# Qemu -M mips system emulator
-# See http://fabrice.bellard.free.fr/qemu
-#
-
-# ROM version
-CONFIG_SYS_TEXT_BASE = 0xbfc0
-
-# RAM version
-#CONFIG_SYS_TEXT_BASE = 0x80001000
diff --git a/examples/standalone/mips64.lds b/examples/standalone/mips64.lds
new file mode 100644
index 000..9b27ef4
--- /dev/null
+++ b/examples/standalone/mips64.lds
@@ -0,0 +1,59 @@
+/*
+ * (C) Copyright 2003
+ * Wolfgang Denk Engineering, 
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+/*
+OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-bigmips")
+*/
+OUTPUT_FORMAT("elf64-tradbigmips", "elf64-tradbigmips", "elf64-tradlittlemips")
+OUTPUT_ARCH(mips)
+SECTIONS
+{
+   .text   :
+   {
+ *(.text*)
+   }
+
+   . = ALIGN(4);
+   .rodata  : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
+
+   . = ALIGN(4);
+   .data  : { *(.data*) }
+
+   . = .;
+   _gp = ALIGN(16) + 0x7ff0;
+
+   .got : {
+ __got_start = .;
+ *(.got)
+ __got_end = .;
+   }
+
+   .sdata  : { *(.sdata*) }
+
+   . = ALIGN(4);
+   __bss_start = .;
+   .sbss (NOLOAD) : { *(.sbss*) }
+   .bss (NOLOAD)  : { *(.bss*) . = ALIGN(4); }
+
+   _end = .;
+}
diff --git a/include/configs/qemu-mips.h b/include/configs/qemu-mips.h
index b8b9705..bab3fb1 100644
--- a/include/configs/qemu-mips.h
+++ b/include/configs/qemu-mips.h
@@ -137,6 +137,7 @@
  */
 
 /* The following #defines are needed to get flash environment right */
+#define CONFIG_SYS_TEXT_BASE   0xbfc0 /* Rom version */
 #define CONFIG_SYS_MONITOR_BASECONFIG_SYS_TEXT_BASE
 #define CONFIG_SYS_MONITOR_LEN (192 << 10)
 
-- 
1.7.9.5

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [Patch V4 4/4] MIPS: add mips64 standalone support

2012-08-27 Thread Zhizhou Zhang
Move CONFIG_SYS_TEXT_BASE to the board specified header file. So
change qemu-mips.h also. board/qemu-mips/config.mk is not used, then
remove it.

Signed-off-by: Zhizhou Zhang 
---
 board/qemu-mips/config.mk  |   10 ---
 examples/standalone/mips64.lds |   59 
 include/configs/qemu-mips.h|1 +
 3 files changed, 60 insertions(+), 10 deletions(-)
 delete mode 100644 board/qemu-mips/config.mk
 create mode 100644 examples/standalone/mips64.lds

diff --git a/board/qemu-mips/config.mk b/board/qemu-mips/config.mk
deleted file mode 100644
index 27cd34a..000
--- a/board/qemu-mips/config.mk
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# Qemu -M mips system emulator
-# See http://fabrice.bellard.free.fr/qemu
-#
-
-# ROM version
-CONFIG_SYS_TEXT_BASE = 0xbfc0
-
-# RAM version
-#CONFIG_SYS_TEXT_BASE = 0x80001000
diff --git a/examples/standalone/mips64.lds b/examples/standalone/mips64.lds
new file mode 100644
index 000..9b27ef4
--- /dev/null
+++ b/examples/standalone/mips64.lds
@@ -0,0 +1,59 @@
+/*
+ * (C) Copyright 2003
+ * Wolfgang Denk Engineering, 
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+/*
+OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-bigmips")
+*/
+OUTPUT_FORMAT("elf64-tradbigmips", "elf64-tradbigmips", "elf64-tradlittlemips")
+OUTPUT_ARCH(mips)
+SECTIONS
+{
+   .text   :
+   {
+ *(.text*)
+   }
+
+   . = ALIGN(4);
+   .rodata  : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
+
+   . = ALIGN(4);
+   .data  : { *(.data*) }
+
+   . = .;
+   _gp = ALIGN(16) + 0x7ff0;
+
+   .got : {
+ __got_start = .;
+ *(.got)
+ __got_end = .;
+   }
+
+   .sdata  : { *(.sdata*) }
+
+   . = ALIGN(4);
+   __bss_start = .;
+   .sbss (NOLOAD) : { *(.sbss*) }
+   .bss (NOLOAD)  : { *(.bss*) . = ALIGN(4); }
+
+   _end = .;
+}
diff --git a/include/configs/qemu-mips.h b/include/configs/qemu-mips.h
index b8b9705..bab3fb1 100644
--- a/include/configs/qemu-mips.h
+++ b/include/configs/qemu-mips.h
@@ -137,6 +137,7 @@
  */
 
 /* The following #defines are needed to get flash environment right */
+#define CONFIG_SYS_TEXT_BASE   0xbfc0 /* Rom version */
 #define CONFIG_SYS_MONITOR_BASECONFIG_SYS_TEXT_BASE
 #define CONFIG_SYS_MONITOR_LEN (192 << 10)
 
-- 
1.7.9.5

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot