* [Buildroot] [PATCH 1/2] uClibc: fix sparc build breakage
@ 2011-11-11 21:12 Gustavo Zacarias
2011-11-11 21:12 ` [Buildroot] [PATCH 2/2] qemu_sparc: add new qemu defconfig Gustavo Zacarias
2011-11-11 21:15 ` [Buildroot] [PATCH 1/2] uClibc: fix sparc build breakage Peter Korsgaard
0 siblings, 2 replies; 6+ messages in thread
From: Gustavo Zacarias @ 2011-11-11 21:12 UTC (permalink / raw)
To: buildroot
Fix build breakage for sparc as reported in bug #4021
Patches from Konrad Eisele <konrad@gaisler.com>
Submitted in the uclibc mailing list.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
.../uClibc/uClibc-0.9.31.1-sparc-errno-fix.patch | 11 +++++++++++
.../uClibc/uClibc-0.9.32-sparc-errno-fix.patch | 11 +++++++++++
2 files changed, 22 insertions(+), 0 deletions(-)
create mode 100644 toolchain/uClibc/uClibc-0.9.31.1-sparc-errno-fix.patch
create mode 100644 toolchain/uClibc/uClibc-0.9.32-sparc-errno-fix.patch
diff --git a/toolchain/uClibc/uClibc-0.9.31.1-sparc-errno-fix.patch b/toolchain/uClibc/uClibc-0.9.31.1-sparc-errno-fix.patch
new file mode 100644
index 0000000..44d06cb
--- /dev/null
+++ b/toolchain/uClibc/uClibc-0.9.31.1-sparc-errno-fix.patch
@@ -0,0 +1,11 @@
+--- uClibc-0.9.32.ori/libc/sysdeps/linux/sparc/pipe.S 2011-06-08 21:35:20.000000000 +0200
++++ uClibc-0.9.32/libc/sysdeps/linux/sparc/pipe.S 2011-11-11 15:57:25.000000000 +0100
+@@ -52,7 +52,7 @@
+ restore %g0,%g0,%o0
+
+ .Lerror:
+- call HIDDEN_JUMPTARGET(__errno_location)
++ call __errno_location
+ or %g0,EINVAL,%i0
+ st %i0,[%o0]
+ ret
diff --git a/toolchain/uClibc/uClibc-0.9.32-sparc-errno-fix.patch b/toolchain/uClibc/uClibc-0.9.32-sparc-errno-fix.patch
new file mode 100644
index 0000000..44d06cb
--- /dev/null
+++ b/toolchain/uClibc/uClibc-0.9.32-sparc-errno-fix.patch
@@ -0,0 +1,11 @@
+--- uClibc-0.9.32.ori/libc/sysdeps/linux/sparc/pipe.S 2011-06-08 21:35:20.000000000 +0200
++++ uClibc-0.9.32/libc/sysdeps/linux/sparc/pipe.S 2011-11-11 15:57:25.000000000 +0100
+@@ -52,7 +52,7 @@
+ restore %g0,%g0,%o0
+
+ .Lerror:
+- call HIDDEN_JUMPTARGET(__errno_location)
++ call __errno_location
+ or %g0,EINVAL,%i0
+ st %i0,[%o0]
+ ret
--
1.7.3.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/2] qemu_sparc: add new qemu defconfig
2011-11-11 21:12 [Buildroot] [PATCH 1/2] uClibc: fix sparc build breakage Gustavo Zacarias
@ 2011-11-11 21:12 ` Gustavo Zacarias
2011-11-11 21:15 ` Peter Korsgaard
2011-11-11 21:15 ` [Buildroot] [PATCH 1/2] uClibc: fix sparc build breakage Peter Korsgaard
1 sibling, 1 reply; 6+ messages in thread
From: Gustavo Zacarias @ 2011-11-11 21:12 UTC (permalink / raw)
To: buildroot
Add a new qemu sample config for the SPARC architecture.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
board/qemu/sparc-ss10/readme.txt | 7 +++++++
configs/qemu_sparc_ss10_defconfig | 14 ++++++++++++++
2 files changed, 21 insertions(+), 0 deletions(-)
create mode 100644 board/qemu/sparc-ss10/readme.txt
create mode 100644 configs/qemu_sparc_ss10_defconfig
diff --git a/board/qemu/sparc-ss10/readme.txt b/board/qemu/sparc-ss10/readme.txt
new file mode 100644
index 0000000..5f01efa
--- /dev/null
+++ b/board/qemu/sparc-ss10/readme.txt
@@ -0,0 +1,7 @@
+Run the emulation with:
+
+ qemu-system-sparc -M SS-10 -kernel output/images/zImage -drive file=output/images/rootfs.ext2 -append "root=/dev/sda console=ttyS0,115200" -serial stdio
+
+The login prompt will appear in the terminal that started Qemu.
+The graphical window is the framebuffer.
+
diff --git a/configs/qemu_sparc_ss10_defconfig b/configs/qemu_sparc_ss10_defconfig
new file mode 100644
index 0000000..20cd9fb
--- /dev/null
+++ b/configs/qemu_sparc_ss10_defconfig
@@ -0,0 +1,14 @@
+# Architecture
+BR2_sparc=y
+BR2_sparc_supersparc=y
+
+# filesystem
+BR2_TARGET_ROOTFS_EXT2=y
+# BR2_TARGET_ROOTFS_TAR is not set
+
+# Linux kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.1"
+BR2_LINUX_KERNEL_DEFCONFIG="sparc32"
+BR2_LINUX_KERNEL_ZIMAGE=y
--
1.7.3.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] uClibc: fix sparc build breakage
2011-11-11 21:12 [Buildroot] [PATCH 1/2] uClibc: fix sparc build breakage Gustavo Zacarias
2011-11-11 21:12 ` [Buildroot] [PATCH 2/2] qemu_sparc: add new qemu defconfig Gustavo Zacarias
@ 2011-11-11 21:15 ` Peter Korsgaard
2011-11-13 8:56 ` Thomas Petazzoni
1 sibling, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2011-11-11 21:15 UTC (permalink / raw)
To: buildroot
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Fix build breakage for sparc as reported in bug #4021
Gustavo> Patches from Konrad Eisele <konrad@gaisler.com>
Gustavo> Submitted in the uclibc mailing list.
Committed to next, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/2] qemu_sparc: add new qemu defconfig
2011-11-11 21:12 ` [Buildroot] [PATCH 2/2] qemu_sparc: add new qemu defconfig Gustavo Zacarias
@ 2011-11-11 21:15 ` Peter Korsgaard
0 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2011-11-11 21:15 UTC (permalink / raw)
To: buildroot
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Add a new qemu sample config for the SPARC architecture.
Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Committed to next, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] uClibc: fix sparc build breakage
2011-11-11 21:15 ` [Buildroot] [PATCH 1/2] uClibc: fix sparc build breakage Peter Korsgaard
@ 2011-11-13 8:56 ` Thomas Petazzoni
2011-11-13 20:34 ` Peter Korsgaard
0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2011-11-13 8:56 UTC (permalink / raw)
To: buildroot
Le Fri, 11 Nov 2011 22:15:45 +0100,
Peter Korsgaard <jacmet@uclibc.org> a ?crit :
> >>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
>
> Gustavo> Fix build breakage for sparc as reported in bug #4021
> Gustavo> Patches from Konrad Eisele <konrad@gaisler.com>
> Gustavo> Submitted in the uclibc mailing list.
>
> Committed to next, thanks.
Since it fixes a build breakage, shouldn't it be applied to 2011.11
instead ? The fix itself only touches Sparc, so the risk is fairly
minimal.
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] uClibc: fix sparc build breakage
2011-11-13 8:56 ` Thomas Petazzoni
@ 2011-11-13 20:34 ` Peter Korsgaard
0 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2011-11-13 20:34 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Hi,
>> Committed to next, thanks.
Thomas> Since it fixes a build breakage, shouldn't it be applied to
Thomas> 2011.11 instead ? The fix itself only touches Sparc, so the
Thomas> risk is fairly minimal.
Perhaps, but I would like to see some feedback on the uClibc list first.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-11-13 20:34 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-11 21:12 [Buildroot] [PATCH 1/2] uClibc: fix sparc build breakage Gustavo Zacarias
2011-11-11 21:12 ` [Buildroot] [PATCH 2/2] qemu_sparc: add new qemu defconfig Gustavo Zacarias
2011-11-11 21:15 ` Peter Korsgaard
2011-11-11 21:15 ` [Buildroot] [PATCH 1/2] uClibc: fix sparc build breakage Peter Korsgaard
2011-11-13 8:56 ` Thomas Petazzoni
2011-11-13 20:34 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox