* [Buildroot] [PATCH 2/6] qemu_arm_versatile: use kernel 3.1 and add readme
2011-10-24 19:42 [Buildroot] [PATCH 1/6] linux: vmlinux target is valid for powerpc too Gustavo Zacarias
@ 2011-10-24 19:42 ` Gustavo Zacarias
2011-10-25 6:20 ` Peter Korsgaard
2011-10-24 19:42 ` [Buildroot] [PATCH 3/6] qemu_mipsel_malta: update to kernel 3.1 Gustavo Zacarias
` (4 subsequent siblings)
5 siblings, 1 reply; 18+ messages in thread
From: Gustavo Zacarias @ 2011-10-24 19:42 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
.../{linux-2.6.38.config => linux-3.1.config} | 0
board/qemu/arm-versatile/readme.txt | 6 ++++++
configs/qemu_arm_versatile_defconfig | 4 ++--
3 files changed, 8 insertions(+), 2 deletions(-)
rename board/qemu/arm-versatile/{linux-2.6.38.config => linux-3.1.config} (100%)
create mode 100644 board/qemu/arm-versatile/readme.txt
diff --git a/board/qemu/arm-versatile/linux-2.6.38.config b/board/qemu/arm-versatile/linux-3.1.config
similarity index 100%
rename from board/qemu/arm-versatile/linux-2.6.38.config
rename to board/qemu/arm-versatile/linux-3.1.config
diff --git a/board/qemu/arm-versatile/readme.txt b/board/qemu/arm-versatile/readme.txt
new file mode 100644
index 0000000..834b0e0
--- /dev/null
+++ b/board/qemu/arm-versatile/readme.txt
@@ -0,0 +1,6 @@
+Run the emulation with:
+
+ qemu-system-arm -M versatilepb -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=scsi -append "root=/dev/sda console=ttyAMA0,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_arm_versatile_defconfig b/configs/qemu_arm_versatile_defconfig
index e4a7024..b629ba9 100644
--- a/configs/qemu_arm_versatile_defconfig
+++ b/configs/qemu_arm_versatile_defconfig
@@ -13,7 +13,7 @@ BR2_TARGET_ROOTFS_EXT2=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="2.6.38.8"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.1"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/arm-versatile/linux-2.6.38.config"
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/arm-versatile/linux-3.1.config"
BR2_LINUX_KERNEL_ZIMAGE=y
--
1.7.3.4
^ permalink raw reply related [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 3/6] qemu_mipsel_malta: update to kernel 3.1
2011-10-24 19:42 [Buildroot] [PATCH 1/6] linux: vmlinux target is valid for powerpc too Gustavo Zacarias
2011-10-24 19:42 ` [Buildroot] [PATCH 2/6] qemu_arm_versatile: use kernel 3.1 and add readme Gustavo Zacarias
@ 2011-10-24 19:42 ` Gustavo Zacarias
2011-10-25 6:21 ` Peter Korsgaard
2011-10-24 19:42 ` [Buildroot] [PATCH 4/6] qemu_x86: update to kernel 3.1 and add readme Gustavo Zacarias
` (3 subsequent siblings)
5 siblings, 1 reply; 18+ messages in thread
From: Gustavo Zacarias @ 2011-10-24 19:42 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
.../{linux-2.6.38.config => linux-3.1.config} | 0
configs/qemu_mipsel_malta_defconfig | 4 ++--
2 files changed, 2 insertions(+), 2 deletions(-)
rename board/qemu/mipsel-malta/{linux-2.6.38.config => linux-3.1.config} (100%)
diff --git a/board/qemu/mipsel-malta/linux-2.6.38.config b/board/qemu/mipsel-malta/linux-3.1.config
similarity index 100%
rename from board/qemu/mipsel-malta/linux-2.6.38.config
rename to board/qemu/mipsel-malta/linux-3.1.config
diff --git a/configs/qemu_mipsel_malta_defconfig b/configs/qemu_mipsel_malta_defconfig
index f95fe24..3f558fe 100644
--- a/configs/qemu_mipsel_malta_defconfig
+++ b/configs/qemu_mipsel_malta_defconfig
@@ -9,9 +9,9 @@ BR2_TARGET_ROOTFS_EXT2=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="2.6.38.8"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.1"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mipsel-malta/linux-2.6.38.config"
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mipsel-malta/linux-3.1.config"
BR2_LINUX_KERNEL_VMLINUX=y
# Serial port config
--
1.7.3.4
^ permalink raw reply related [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 4/6] qemu_x86: update to kernel 3.1 and add readme
2011-10-24 19:42 [Buildroot] [PATCH 1/6] linux: vmlinux target is valid for powerpc too Gustavo Zacarias
2011-10-24 19:42 ` [Buildroot] [PATCH 2/6] qemu_arm_versatile: use kernel 3.1 and add readme Gustavo Zacarias
2011-10-24 19:42 ` [Buildroot] [PATCH 3/6] qemu_mipsel_malta: update to kernel 3.1 Gustavo Zacarias
@ 2011-10-24 19:42 ` Gustavo Zacarias
2011-10-25 6:27 ` Peter Korsgaard
2011-10-24 19:42 ` [Buildroot] [PATCH 5/6] qemu_sh4_r2d: update to kernel 3.1 and update readme Gustavo Zacarias
` (2 subsequent siblings)
5 siblings, 1 reply; 18+ messages in thread
From: Gustavo Zacarias @ 2011-10-24 19:42 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
.../x86/{linux-3.0.config => linux-3.1.config} | 0
board/qemu/x86/readme.txt | 5 +++++
configs/qemu_x86_defconfig | 5 +++--
3 files changed, 8 insertions(+), 2 deletions(-)
rename board/qemu/x86/{linux-3.0.config => linux-3.1.config} (100%)
create mode 100644 board/qemu/x86/readme.txt
diff --git a/board/qemu/x86/linux-3.0.config b/board/qemu/x86/linux-3.1.config
similarity index 100%
rename from board/qemu/x86/linux-3.0.config
rename to board/qemu/x86/linux-3.1.config
diff --git a/board/qemu/x86/readme.txt b/board/qemu/x86/readme.txt
new file mode 100644
index 0000000..c06d24f
--- /dev/null
+++ b/board/qemu/x86/readme.txt
@@ -0,0 +1,5 @@
+Run the emulation with:
+
+ qemu-system-x86_64 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=ide -append root=/dev/sda
+
+The login prompt will appear in the graphical window.
diff --git a/configs/qemu_x86_defconfig b/configs/qemu_x86_defconfig
index d60b38d..8efe9ae 100644
--- a/configs/qemu_x86_defconfig
+++ b/configs/qemu_x86_defconfig
@@ -4,6 +4,7 @@ BR2_x86_pentiumpro=y
# system
BR2_TARGET_GENERIC_GETTY=y
+BR2_TARGET_GENERIC_GETTY_PORT="tty1"
# filesystem
BR2_TARGET_ROOTFS_EXT2=y
@@ -12,6 +13,6 @@ BR2_TARGET_ROOTFS_EXT2=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.0.4"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.1"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86/linux-3.0.config"
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86/linux-3.1.config"
--
1.7.3.4
^ permalink raw reply related [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 4/6] qemu_x86: update to kernel 3.1 and add readme
2011-10-24 19:42 ` [Buildroot] [PATCH 4/6] qemu_x86: update to kernel 3.1 and add readme Gustavo Zacarias
@ 2011-10-25 6:27 ` Peter Korsgaard
2011-10-25 9:52 ` Gustavo Zacarias
0 siblings, 1 reply; 18+ messages in thread
From: Peter Korsgaard @ 2011-10-25 6:27 UTC (permalink / raw)
To: buildroot
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Gustavo> ---
Gustavo> .../x86/{linux-3.0.config => linux-3.1.config} | 0
Gustavo> board/qemu/x86/readme.txt | 5 +++++
Gustavo> configs/qemu_x86_defconfig | 5 +++--
Gustavo> 3 files changed, 8 insertions(+), 2 deletions(-)
Gustavo> rename board/qemu/x86/{linux-3.0.config => linux-3.1.config} (100%)
Gustavo> create mode 100644 board/qemu/x86/readme.txt
Gustavo> diff --git a/board/qemu/x86/linux-3.0.config b/board/qemu/x86/linux-3.1.config
Gustavo> similarity index 100%
Gustavo> rename from board/qemu/x86/linux-3.0.config
Gustavo> rename to board/qemu/x86/linux-3.1.config
Gustavo> diff --git a/board/qemu/x86/readme.txt b/board/qemu/x86/readme.txt
Gustavo> new file mode 100644
Gustavo> index 0000000..c06d24f
Gustavo> --- /dev/null
Gustavo> +++ b/board/qemu/x86/readme.txt
Gustavo> @@ -0,0 +1,5 @@
Gustavo> +Run the emulation with:
Gustavo> +
Gustavo> + qemu-system-x86_64 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=ide -append root=/dev/sda
Why not qemu-system-i386? I would prefer to have console=ttyS0,115200 on
the cmdline as well.
Gustavo> +
Gustavo> +The login prompt will appear in the graphical window.
And then change this line.
Gustavo> diff --git a/configs/qemu_x86_defconfig b/configs/qemu_x86_defconfig
Gustavo> index d60b38d..8efe9ae 100644
Gustavo> --- a/configs/qemu_x86_defconfig
Gustavo> +++ b/configs/qemu_x86_defconfig
Gustavo> @@ -4,6 +4,7 @@ BR2_x86_pentiumpro=y
Gustavo> # system
Gustavo> BR2_TARGET_GENERIC_GETTY=y
Gustavo> +BR2_TARGET_GENERIC_GETTY_PORT="tty1"
Please keep it on ttyS0.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 4/6] qemu_x86: update to kernel 3.1 and add readme
2011-10-25 6:27 ` Peter Korsgaard
@ 2011-10-25 9:52 ` Gustavo Zacarias
2011-10-25 10:30 ` Peter Korsgaard
0 siblings, 1 reply; 18+ messages in thread
From: Gustavo Zacarias @ 2011-10-25 9:52 UTC (permalink / raw)
To: buildroot
On 25.10.2011 03:27, Peter Korsgaard wrote:
> Why not qemu-system-i386? I would prefer to have console=ttyS0,115200
> on
> the cmdline as well.
qemu-system-i386 is deprecated.
When it's present, and that doesn't hold true for every distro, it's
just a symlink to qemu-system-x86_64.
> And then change this line.
> Please keep it on ttyS0.
Any particular reason for this on x86?
It would make things simpler to test graphics apps (X11) keeping it
PC-like IMHO.
Regards.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Buildroot] [PATCH 4/6] qemu_x86: update to kernel 3.1 and add readme
2011-10-25 9:52 ` Gustavo Zacarias
@ 2011-10-25 10:30 ` Peter Korsgaard
2011-10-25 10:38 ` Gustavo Zacarias
0 siblings, 1 reply; 18+ messages in thread
From: Peter Korsgaard @ 2011-10-25 10:30 UTC (permalink / raw)
To: buildroot
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Hi,
Gustavo> qemu-system-i386 is deprecated.
Gustavo> When it's present, and that doesn't hold true for every distro, it's
Gustavo> just a symlink to qemu-system-x86_64.
Ok
>> And then change this line.
>> Please keep it on ttyS0.
Gustavo> Any particular reason for this on x86?
Gustavo> It would make things simpler to test graphics apps (X11) keeping it
Gustavo> PC-like IMHO.
Just to keep it closer to the other configs (E.G. the versatile
config). What's the problem with running X11 from a getty on ttyS0?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Buildroot] [PATCH 4/6] qemu_x86: update to kernel 3.1 and add readme
2011-10-25 10:30 ` Peter Korsgaard
@ 2011-10-25 10:38 ` Gustavo Zacarias
0 siblings, 0 replies; 18+ messages in thread
From: Gustavo Zacarias @ 2011-10-25 10:38 UTC (permalink / raw)
To: buildroot
On 25.10.2011 07:30, Peter Korsgaard wrote:
> Gustavo> Any particular reason for this on x86?
> Gustavo> It would make things simpler to test graphics apps (X11)
> keeping it
> Gustavo> PC-like IMHO.
>
> Just to keep it closer to the other configs (E.G. the versatile
> config). What's the problem with running X11 from a getty on ttyS0?
On x86-land we've got two scenarios:
1) The usual PC-like hardware with VGA and for which modern
implementations mostly lack serial ports (even if they have them they
lack the connector/level converters thus not having them in practical
terms).
2) The really-embedded x86 boards which completely lack video out and
use serial as a console (soekris, pcengines and others).
If we intend for the qemu sample configs to work on real hardware we
should choose one of the above scenarios.
I think we sholdn't limit ourselves to keep the configs as close as
possible between themselves, rather as close as the hardware and use
scenario.
I'm not against serial console for x86, just that many people would
probably expect the resulting image to work on a standard non-serial
bearing PC. After all qemu emulates a PC rather than a embedded-ish x86
with GPIO and other embedded features.
Regards.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Buildroot] [PATCH 5/6] qemu_sh4_r2d: update to kernel 3.1 and update readme
2011-10-24 19:42 [Buildroot] [PATCH 1/6] linux: vmlinux target is valid for powerpc too Gustavo Zacarias
` (2 preceding siblings ...)
2011-10-24 19:42 ` [Buildroot] [PATCH 4/6] qemu_x86: update to kernel 3.1 and add readme Gustavo Zacarias
@ 2011-10-24 19:42 ` Gustavo Zacarias
2011-10-25 6:24 ` Peter Korsgaard
2011-10-24 19:42 ` [Buildroot] [PATCH 6/6] qemu_ppc_g3beige: update to kernel 3.1 Gustavo Zacarias
2011-10-25 6:20 ` [Buildroot] [PATCH 1/6] linux: vmlinux target is valid for powerpc too Peter Korsgaard
5 siblings, 1 reply; 18+ messages in thread
From: Gustavo Zacarias @ 2011-10-24 19:42 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
...-missing-consts-to-sys_execve-declaration.patch | 17 -----------------
.../linux-sh-fix-kconfig-warning.patch | 13 -------------
.../{linux-2.6.36.config => linux-3.1.config} | 0
board/qemu/sh4-r2d/readme.txt | 18 +++---------------
configs/qemu_sh4_r2d_defconfig | 9 ++++++---
5 files changed, 9 insertions(+), 48 deletions(-)
delete mode 100644 board/qemu/sh4-r2d/kernel-patches/linux-06-17-SH-Add-missing-consts-to-sys_execve-declaration.patch
delete mode 100644 board/qemu/sh4-r2d/kernel-patches/linux-sh-fix-kconfig-warning.patch
rename board/qemu/sh4-r2d/{linux-2.6.36.config => linux-3.1.config} (100%)
diff --git a/board/qemu/sh4-r2d/kernel-patches/linux-06-17-SH-Add-missing-consts-to-sys_execve-declaration.patch b/board/qemu/sh4-r2d/kernel-patches/linux-06-17-SH-Add-missing-consts-to-sys_execve-declaration.patch
deleted file mode 100644
index f702abe..0000000
--- a/board/qemu/sh4-r2d/kernel-patches/linux-06-17-SH-Add-missing-consts-to-sys_execve-declaration.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/arch/sh/include/asm/syscalls_32.h b/arch/sh/include/asm/syscalls_32.h
-index be201fd..454538a 100644
---- a/arch/sh/include/asm/syscalls_32.h
-+++ b/arch/sh/include/asm/syscalls_32.h
-@@ -19,8 +19,10 @@ asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp,
- asmlinkage int sys_vfork(unsigned long r4, unsigned long r5,
- unsigned long r6, unsigned long r7,
- struct pt_regs __regs);
--asmlinkage int sys_execve(const char __user *ufilename, char __user * __user *uargv,
-- char __user * __user *uenvp, unsigned long r7,
-+asmlinkage int sys_execve(const char __user *ufilename,
-+ const char __user *const __user *uargv,
-+ const char __user *const __user *uenvp,
-+ unsigned long r7,
- struct pt_regs __regs);
- asmlinkage int sys_sigsuspend(old_sigset_t mask, unsigned long r5,
- unsigned long r6, unsigned long r7,
diff --git a/board/qemu/sh4-r2d/kernel-patches/linux-sh-fix-kconfig-warning.patch b/board/qemu/sh4-r2d/kernel-patches/linux-sh-fix-kconfig-warning.patch
deleted file mode 100644
index 0ac07f2..0000000
--- a/board/qemu/sh4-r2d/kernel-patches/linux-sh-fix-kconfig-warning.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
-index 33990fa..06645b6 100644
---- a/arch/sh/Kconfig
-+++ b/arch/sh/Kconfig
-@@ -45,7 +45,7 @@ config SUPERH32
- select HAVE_ARCH_KGDB
- select HAVE_HW_BREAKPOINT
- select HAVE_MIXED_BREAKPOINTS_REGS
-- select PERF_EVENTS if HAVE_HW_BREAKPOINT
-+ select PERF_EVENTS
- select ARCH_HIBERNATION_POSSIBLE if MMU
-
- config SUPERH64
diff --git a/board/qemu/sh4-r2d/linux-2.6.36.config b/board/qemu/sh4-r2d/linux-3.1.config
similarity index 100%
rename from board/qemu/sh4-r2d/linux-2.6.36.config
rename to board/qemu/sh4-r2d/linux-3.1.config
diff --git a/board/qemu/sh4-r2d/readme.txt b/board/qemu/sh4-r2d/readme.txt
index b237596..76eafac 100644
--- a/board/qemu/sh4-r2d/readme.txt
+++ b/board/qemu/sh4-r2d/readme.txt
@@ -1,17 +1,5 @@
-This little documentation explains how to build a kernel and a rootfs
-for qemu with sh4 architecture.
+Run the emulation with:
-1) Select qemu sh4 configuration and compile it :
+ qemu-system-sh4 -M r2d -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=ide -append "root=/dev/sda noiotrap"
-make sh4_defconfig
-make all
-
-2) Run qemu-system-sh4 with the kernel and rootfs previously generated
-
-It's recommended to use a git release for qemu (the current stable
-version has framebuffer display issues). If you want to avoid building
-all target, you can use this option on qemu configure :
---target-list=sh4-softmmu
-
-The command is :
-qemu-system-sh4 -M r2d -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=ide,format=raw -append root=/dev/sda console=ttySC1,115200 noiotrap
+The login prompt will appear in the graphical window.
diff --git a/configs/qemu_sh4_r2d_defconfig b/configs/qemu_sh4_r2d_defconfig
index f40633c..32835de 100644
--- a/configs/qemu_sh4_r2d_defconfig
+++ b/configs/qemu_sh4_r2d_defconfig
@@ -2,6 +2,10 @@
BR2_sh=y
BR2_sh4=y
+# system
+BR2_TARGET_GENERIC_GETTY=y
+BR2_TARGET_GENERIC_GETTY_PORT="tty1"
+
# filesystem
BR2_TARGET_ROOTFS_EXT2=y
# BR2_TARGET_ROOTFS_TAR is not set
@@ -14,8 +18,7 @@ BR2_EXTRA_GCC_CONFIG_OPTIONS="--with-multilib-list=m4,m4-nofpu"
# Linux kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="2.6.36"
-BR2_LINUX_KERNEL_PATCH="board/qemu/sh4-r2d/kernel-patches/"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.1"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sh4-r2d/linux-2.6.36.config"
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sh4-r2d/linux-3.1.config"
BR2_LINUX_KERNEL_ZIMAGE=y
--
1.7.3.4
^ permalink raw reply related [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 5/6] qemu_sh4_r2d: update to kernel 3.1 and update readme
2011-10-24 19:42 ` [Buildroot] [PATCH 5/6] qemu_sh4_r2d: update to kernel 3.1 and update readme Gustavo Zacarias
@ 2011-10-25 6:24 ` Peter Korsgaard
2011-10-25 9:53 ` Gustavo Zacarias
0 siblings, 1 reply; 18+ messages in thread
From: Peter Korsgaard @ 2011-10-25 6:24 UTC (permalink / raw)
To: buildroot
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> +++ b/configs/qemu_sh4_r2d_defconfig
Gustavo> @@ -2,6 +2,10 @@
Gustavo> BR2_sh=y
Gustavo> BR2_sh4=y
Gustavo> +# system
Gustavo> +BR2_TARGET_GENERIC_GETTY=y
Gustavo> +BR2_TARGET_GENERIC_GETTY_PORT="tty1"
No serial port emulated? From the defconfig I see:
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_SH_SCI=y
CONFIG_SERIAL_SH_SCI_NR_UARTS=1
I prefer to run the getty on the serial port for the qemu defconfigs,
because it's closer to what is typically done on hw (and makes it easier
to reuse rootfs on real hw).
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Buildroot] [PATCH 5/6] qemu_sh4_r2d: update to kernel 3.1 and update readme
2011-10-25 6:24 ` Peter Korsgaard
@ 2011-10-25 9:53 ` Gustavo Zacarias
2011-10-25 10:30 ` Peter Korsgaard
0 siblings, 1 reply; 18+ messages in thread
From: Gustavo Zacarias @ 2011-10-25 9:53 UTC (permalink / raw)
To: buildroot
On 25.10.2011 03:24, Peter Korsgaard wrote:
> No serial port emulated? From the defconfig I see:
>
> CONFIG_SERIAL_8250=y
> CONFIG_SERIAL_SH_SCI=y
> CONFIG_SERIAL_SH_SCI_NR_UARTS=1
>
> I prefer to run the getty on the serial port for the qemu defconfigs,
> because it's closer to what is typically done on hw (and makes it
> easier
> to reuse rootfs on real hw).
Me too for real embedded targets unlike qemu-system-x86.
Unfortunately either qemu 0.14 doesn't emulate the UART and/or the real
target doesn't have one.
Regards.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Buildroot] [PATCH 5/6] qemu_sh4_r2d: update to kernel 3.1 and update readme
2011-10-25 9:53 ` Gustavo Zacarias
@ 2011-10-25 10:30 ` Peter Korsgaard
2011-10-25 12:10 ` Gustavo Zacarias
0 siblings, 1 reply; 18+ messages in thread
From: Peter Korsgaard @ 2011-10-25 10:30 UTC (permalink / raw)
To: buildroot
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
>> I prefer to run the getty on the serial port for the qemu defconfigs,
>> because it's closer to what is typically done on hw (and makes it
>> easier
>> to reuse rootfs on real hw).
Gustavo> Me too for real embedded targets unlike qemu-system-x86.
Gustavo> Unfortunately either qemu 0.14 doesn't emulate the UART and/or the
Gustavo> real target doesn't have one.
Ok, I'll commit it then - Thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Buildroot] [PATCH 5/6] qemu_sh4_r2d: update to kernel 3.1 and update readme
2011-10-25 10:30 ` Peter Korsgaard
@ 2011-10-25 12:10 ` Gustavo Zacarias
0 siblings, 0 replies; 18+ messages in thread
From: Gustavo Zacarias @ 2011-10-25 12:10 UTC (permalink / raw)
To: buildroot
On 25.10.2011 07:30, Peter Korsgaard wrote:
> Gustavo> Me too for real embedded targets unlike qemu-system-x86.
> Gustavo> Unfortunately either qemu 0.14 doesn't emulate the UART
> and/or the
> Gustavo> real target doesn't have one.
>
> Ok, I'll commit it then - Thanks.
Found a fix.
It seems there were kernel changes and qemu behaviour changes too that
prevented it from showing up and working.
Patches will follow.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Buildroot] [PATCH 6/6] qemu_ppc_g3beige: update to kernel 3.1
2011-10-24 19:42 [Buildroot] [PATCH 1/6] linux: vmlinux target is valid for powerpc too Gustavo Zacarias
` (3 preceding siblings ...)
2011-10-24 19:42 ` [Buildroot] [PATCH 5/6] qemu_sh4_r2d: update to kernel 3.1 and update readme Gustavo Zacarias
@ 2011-10-24 19:42 ` Gustavo Zacarias
2011-10-25 6:27 ` Peter Korsgaard
2011-10-25 6:20 ` [Buildroot] [PATCH 1/6] linux: vmlinux target is valid for powerpc too Peter Korsgaard
5 siblings, 1 reply; 18+ messages in thread
From: Gustavo Zacarias @ 2011-10-24 19:42 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
.../{linux-2.6.36.config => linux-3.1.config} | 0
configs/qemu_ppc_g3beige_defconfig | 4 ++--
2 files changed, 2 insertions(+), 2 deletions(-)
rename board/qemu/powerpc-g3beige/{linux-2.6.36.config => linux-3.1.config} (100%)
diff --git a/board/qemu/powerpc-g3beige/linux-2.6.36.config b/board/qemu/powerpc-g3beige/linux-3.1.config
similarity index 100%
rename from board/qemu/powerpc-g3beige/linux-2.6.36.config
rename to board/qemu/powerpc-g3beige/linux-3.1.config
diff --git a/configs/qemu_ppc_g3beige_defconfig b/configs/qemu_ppc_g3beige_defconfig
index db7ef74..cf875f0 100644
--- a/configs/qemu_ppc_g3beige_defconfig
+++ b/configs/qemu_ppc_g3beige_defconfig
@@ -9,9 +9,9 @@ BR2_TARGET_ROOTFS_EXT2=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="2.6.36"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.1"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/powerpc-g3beige/linux-2.6.36.config"
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/powerpc-g3beige/linux-3.1.config"
BR2_LINUX_KERNEL_VMLINUX=y
# Serial port config
--
1.7.3.4
^ permalink raw reply related [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 1/6] linux: vmlinux target is valid for powerpc too
2011-10-24 19:42 [Buildroot] [PATCH 1/6] linux: vmlinux target is valid for powerpc too Gustavo Zacarias
` (4 preceding siblings ...)
2011-10-24 19:42 ` [Buildroot] [PATCH 6/6] qemu_ppc_g3beige: update to kernel 3.1 Gustavo Zacarias
@ 2011-10-25 6:20 ` Peter Korsgaard
5 siblings, 0 replies; 18+ messages in thread
From: Peter Korsgaard @ 2011-10-25 6:20 UTC (permalink / raw)
To: buildroot
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> The vmlinux kernel target is valid for powerpc kernels too.
Gustavo> In fact this broke the qemu sample config.
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 18+ messages in thread