All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/6] qemu_mips_malta_defconfig: move to qemu_mips32r2_malta_defconfig
@ 2016-07-01  9:27 Vicente Olivert Riera
  2016-07-01  9:27 ` [Buildroot] [PATCH v2 2/6] qemu_mipsel_malta_defconfig: move to qemu_mips32r2el_malta_defconfig Vicente Olivert Riera
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Vicente Olivert Riera @ 2016-07-01  9:27 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
Changes v1 -> v2:
 - Use mips32r2 instead of mips_32r2 in the defconfig name.
 - Use mips32r2 instead of mips-32r2 in the board dir name.

 board/qemu/{mips-malta => mips32r2-malta}/linux-4.6.config           | 0
 board/qemu/{mips-malta => mips32r2-malta}/readme.txt                 | 0
 configs/{qemu_mips_malta_defconfig => qemu_mips32r2_malta_defconfig} | 2 +-
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename board/qemu/{mips-malta => mips32r2-malta}/linux-4.6.config (100%)
 rename board/qemu/{mips-malta => mips32r2-malta}/readme.txt (100%)
 rename configs/{qemu_mips_malta_defconfig => qemu_mips32r2_malta_defconfig} (86%)

diff --git a/board/qemu/mips-malta/linux-4.6.config b/board/qemu/mips32r2-malta/linux-4.6.config
similarity index 100%
rename from board/qemu/mips-malta/linux-4.6.config
rename to board/qemu/mips32r2-malta/linux-4.6.config
diff --git a/board/qemu/mips-malta/readme.txt b/board/qemu/mips32r2-malta/readme.txt
similarity index 100%
rename from board/qemu/mips-malta/readme.txt
rename to board/qemu/mips32r2-malta/readme.txt
diff --git a/configs/qemu_mips_malta_defconfig b/configs/qemu_mips32r2_malta_defconfig
similarity index 86%
rename from configs/qemu_mips_malta_defconfig
rename to configs/qemu_mips32r2_malta_defconfig
index 66b67a5..ed19982 100644
--- a/configs/qemu_mips_malta_defconfig
+++ b/configs/qemu_mips32r2_malta_defconfig
@@ -17,7 +17,7 @@ BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.6.1"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips-malta/linux-4.6.config"
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips32r2-malta/linux-4.6.config"
 BR2_LINUX_KERNEL_VMLINUX=y
 
 # Serial port config
-- 
2.7.3

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH v2 2/6] qemu_mipsel_malta_defconfig: move to qemu_mips32r2el_malta_defconfig
  2016-07-01  9:27 [Buildroot] [PATCH v2 1/6] qemu_mips_malta_defconfig: move to qemu_mips32r2_malta_defconfig Vicente Olivert Riera
@ 2016-07-01  9:27 ` Vicente Olivert Riera
  2016-07-01 12:40   ` Gustavo Zacarias
  2016-07-01  9:27 ` [Buildroot] [PATCH v2 3/6] Add qemu_mips32r6_malta_defconfig Vicente Olivert Riera
                   ` (5 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Vicente Olivert Riera @ 2016-07-01  9:27 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
Changes v1 -> v2:
 - Use mips32r2el instead of mipsel_32r2 in the defconfig name.
 - Use mips32r2el instead of mipsel-32r2 in the board dir name.

 board/qemu/{mipsel-malta => mips32r2el-malta}/linux-4.6.config          | 0
 board/qemu/{mipsel-malta => mips32r2el-malta}/readme.txt                | 0
 .../{qemu_mipsel_malta_defconfig => qemu_mips32r2el_malta_defconfig}    | 2 +-
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename board/qemu/{mipsel-malta => mips32r2el-malta}/linux-4.6.config (100%)
 rename board/qemu/{mipsel-malta => mips32r2el-malta}/readme.txt (100%)
 rename configs/{qemu_mipsel_malta_defconfig => qemu_mips32r2el_malta_defconfig} (85%)

diff --git a/board/qemu/mipsel-malta/linux-4.6.config b/board/qemu/mips32r2el-malta/linux-4.6.config
similarity index 100%
rename from board/qemu/mipsel-malta/linux-4.6.config
rename to board/qemu/mips32r2el-malta/linux-4.6.config
diff --git a/board/qemu/mipsel-malta/readme.txt b/board/qemu/mips32r2el-malta/readme.txt
similarity index 100%
rename from board/qemu/mipsel-malta/readme.txt
rename to board/qemu/mips32r2el-malta/readme.txt
diff --git a/configs/qemu_mipsel_malta_defconfig b/configs/qemu_mips32r2el_malta_defconfig
similarity index 85%
rename from configs/qemu_mipsel_malta_defconfig
rename to configs/qemu_mips32r2el_malta_defconfig
index 4e4f838..c103d9a 100644
--- a/configs/qemu_mipsel_malta_defconfig
+++ b/configs/qemu_mips32r2el_malta_defconfig
@@ -17,7 +17,7 @@ BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.6.1"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mipsel-malta/linux-4.6.config"
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips32r2el-malta/linux-4.6.config"
 BR2_LINUX_KERNEL_VMLINUX=y
 
 # Serial port config
-- 
2.7.3

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH v2 3/6] Add qemu_mips32r6_malta_defconfig
  2016-07-01  9:27 [Buildroot] [PATCH v2 1/6] qemu_mips_malta_defconfig: move to qemu_mips32r2_malta_defconfig Vicente Olivert Riera
  2016-07-01  9:27 ` [Buildroot] [PATCH v2 2/6] qemu_mipsel_malta_defconfig: move to qemu_mips32r2el_malta_defconfig Vicente Olivert Riera
@ 2016-07-01  9:27 ` Vicente Olivert Riera
  2016-07-01 12:40   ` Gustavo Zacarias
  2016-07-01  9:27 ` [Buildroot] [PATCH v2 4/6] Add qemu_mips32r6el_malta_defconfig Vicente Olivert Riera
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Vicente Olivert Riera @ 2016-07-01  9:27 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
Changes v1 -> v2:
 - Use mips32r6 instead of mips_32r6 in the defconfig name.
 - Use mips32r6 instead of mips-32r6 in the board dir name.
 - Use kernel 4.6.3.
 - Drop the MSA patch since its included in 4.6.3.

 board/qemu/mips32r6-malta/linux-4.6.config | 30 ++++++++++++++++++++++++++++++
 board/qemu/mips32r6-malta/readme.txt       |  7 +++++++
 configs/qemu_mips32r6_malta_defconfig      | 29 +++++++++++++++++++++++++++++
 3 files changed, 66 insertions(+)
 create mode 100644 board/qemu/mips32r6-malta/linux-4.6.config
 create mode 100644 board/qemu/mips32r6-malta/readme.txt
 create mode 100644 configs/qemu_mips32r6_malta_defconfig

diff --git a/board/qemu/mips32r6-malta/linux-4.6.config b/board/qemu/mips32r6-malta/linux-4.6.config
new file mode 100644
index 0000000..d559676
--- /dev/null
+++ b/board/qemu/mips32r6-malta/linux-4.6.config
@@ -0,0 +1,30 @@
+CONFIG_MIPS_MALTA=y
+CONFIG_CPU_MIPS32_R6=y
+CONFIG_MIPS_MT_SMP=y
+CONFIG_NR_CPUS=2
+CONFIG_SYSVIPC=y
+CONFIG_HIGH_RES_TIMERS=y
+CONFIG_MODULES=y
+CONFIG_MODULE_UNLOAD=y
+CONFIG_PCI=y
+CONFIG_NET=y
+CONFIG_PACKET=y
+CONFIG_UNIX=y
+CONFIG_INET=y
+CONFIG_IDE=y
+CONFIG_BLK_DEV_IDECD=y
+CONFIG_IDE_GENERIC=y
+CONFIG_BLK_DEV_GENERIC=y
+CONFIG_BLK_DEV_PIIX=y
+CONFIG_NETDEVICES=y
+CONFIG_PCNET32=y
+CONFIG_INPUT_EVDEV=y
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_FB=y
+CONFIG_FB_CIRRUS=y
+CONFIG_USB=y
+CONFIG_USB_UHCI_HCD=y
+CONFIG_EXT4_FS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
diff --git a/board/qemu/mips32r6-malta/readme.txt b/board/qemu/mips32r6-malta/readme.txt
new file mode 100644
index 0000000..107c47d
--- /dev/null
+++ b/board/qemu/mips32r6-malta/readme.txt
@@ -0,0 +1,7 @@
+Run the emulation with:
+
+qemu-system-mips -M malta -cpu mips32r6-generic -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "root=/dev/hda" -nographic
+
+The login prompt will appear in the terminal that started Qemu.
+
+Tested with QEMU 2.6.0
diff --git a/configs/qemu_mips32r6_malta_defconfig b/configs/qemu_mips32r6_malta_defconfig
new file mode 100644
index 0000000..4c53512
--- /dev/null
+++ b/configs/qemu_mips32r6_malta_defconfig
@@ -0,0 +1,29 @@
+# Architecture
+BR2_mips=y
+BR2_mips_32r6=y
+
+# System
+BR2_SYSTEM_DHCP="eth0"
+
+# Filesystem
+BR2_TARGET_ROOTFS_EXT2=y
+# BR2_TARGET_ROOTFS_TAR is not set
+
+# Linux headers same as kernel, a 4.6 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6=y
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.6.3"
+BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips32r6-malta/linux-4.6.config"
+BR2_LINUX_KERNEL_VMLINUX=y
+
+# Compiler
+# linux >= 4.4 uses -mcompact-branches which is only available since gcc-6
+BR2_GCC_VERSION_6_X=y
+
+# Serial port config
+BR2_TARGET_GENERIC_GETTY=y
+BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
-- 
2.7.3

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH v2 4/6] Add qemu_mips32r6el_malta_defconfig
  2016-07-01  9:27 [Buildroot] [PATCH v2 1/6] qemu_mips_malta_defconfig: move to qemu_mips32r2_malta_defconfig Vicente Olivert Riera
  2016-07-01  9:27 ` [Buildroot] [PATCH v2 2/6] qemu_mipsel_malta_defconfig: move to qemu_mips32r2el_malta_defconfig Vicente Olivert Riera
  2016-07-01  9:27 ` [Buildroot] [PATCH v2 3/6] Add qemu_mips32r6_malta_defconfig Vicente Olivert Riera
@ 2016-07-01  9:27 ` Vicente Olivert Riera
  2016-07-01 12:41   ` Gustavo Zacarias
  2016-07-01  9:27 ` [Buildroot] [PATCH v2 5/6] Add qemu_mips64r6_malta_defconfig Vicente Olivert Riera
                   ` (3 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Vicente Olivert Riera @ 2016-07-01  9:27 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
Changes v1 -> v2:
 - Use mips32r6el instead of mips_32r6el in the defconfig name.
 - Use mips32r6el instead of mips-32r6el in the board dir name.
 - Use kernel 4.6.3.
 - Drop the MSA patch since its included in 4.6.3.

 board/qemu/mips32r6el-malta/linux-4.6.config | 30 ++++++++++++++++++++++++++++
 board/qemu/mips32r6el-malta/readme.txt       |  7 +++++++
 configs/qemu_mips32r6el_malta_defconfig      | 29 +++++++++++++++++++++++++++
 3 files changed, 66 insertions(+)
 create mode 100644 board/qemu/mips32r6el-malta/linux-4.6.config
 create mode 100644 board/qemu/mips32r6el-malta/readme.txt
 create mode 100644 configs/qemu_mips32r6el_malta_defconfig

diff --git a/board/qemu/mips32r6el-malta/linux-4.6.config b/board/qemu/mips32r6el-malta/linux-4.6.config
new file mode 100644
index 0000000..d559676
--- /dev/null
+++ b/board/qemu/mips32r6el-malta/linux-4.6.config
@@ -0,0 +1,30 @@
+CONFIG_MIPS_MALTA=y
+CONFIG_CPU_MIPS32_R6=y
+CONFIG_MIPS_MT_SMP=y
+CONFIG_NR_CPUS=2
+CONFIG_SYSVIPC=y
+CONFIG_HIGH_RES_TIMERS=y
+CONFIG_MODULES=y
+CONFIG_MODULE_UNLOAD=y
+CONFIG_PCI=y
+CONFIG_NET=y
+CONFIG_PACKET=y
+CONFIG_UNIX=y
+CONFIG_INET=y
+CONFIG_IDE=y
+CONFIG_BLK_DEV_IDECD=y
+CONFIG_IDE_GENERIC=y
+CONFIG_BLK_DEV_GENERIC=y
+CONFIG_BLK_DEV_PIIX=y
+CONFIG_NETDEVICES=y
+CONFIG_PCNET32=y
+CONFIG_INPUT_EVDEV=y
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_FB=y
+CONFIG_FB_CIRRUS=y
+CONFIG_USB=y
+CONFIG_USB_UHCI_HCD=y
+CONFIG_EXT4_FS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
diff --git a/board/qemu/mips32r6el-malta/readme.txt b/board/qemu/mips32r6el-malta/readme.txt
new file mode 100644
index 0000000..e29115f
--- /dev/null
+++ b/board/qemu/mips32r6el-malta/readme.txt
@@ -0,0 +1,7 @@
+Run the emulation with:
+
+qemu-system-mipsel -M malta -cpu mips32r6-generic -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "root=/dev/hda" -net nic,model=pcnet -net user -nographic
+
+The login prompt will appear in the terminal that started Qemu.
+
+Tested with QEMU 2.6.0
diff --git a/configs/qemu_mips32r6el_malta_defconfig b/configs/qemu_mips32r6el_malta_defconfig
new file mode 100644
index 0000000..7d0fb89
--- /dev/null
+++ b/configs/qemu_mips32r6el_malta_defconfig
@@ -0,0 +1,29 @@
+# Architecture
+BR2_mipsel=y
+BR2_mips_32r6=y
+
+# System
+BR2_SYSTEM_DHCP="eth0"
+
+# Filesystem
+BR2_TARGET_ROOTFS_EXT2=y
+# BR2_TARGET_ROOTFS_TAR is not set
+
+# Linux headers same as kernel, a 4.6 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6=y
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.6.3"
+BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips32r6el-malta/linux-4.6.config"
+BR2_LINUX_KERNEL_VMLINUX=y
+
+# Compiler
+# linux >= 4.4 uses -mcompact-branches which is only available since GCC 6.x
+BR2_GCC_VERSION_6_X=y
+
+# Serial port config
+BR2_TARGET_GENERIC_GETTY=y
+BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
-- 
2.7.3

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH v2 5/6] Add qemu_mips64r6_malta_defconfig
  2016-07-01  9:27 [Buildroot] [PATCH v2 1/6] qemu_mips_malta_defconfig: move to qemu_mips32r2_malta_defconfig Vicente Olivert Riera
                   ` (2 preceding siblings ...)
  2016-07-01  9:27 ` [Buildroot] [PATCH v2 4/6] Add qemu_mips32r6el_malta_defconfig Vicente Olivert Riera
@ 2016-07-01  9:27 ` Vicente Olivert Riera
  2016-07-01 12:41   ` Gustavo Zacarias
  2016-07-01  9:27 ` [Buildroot] [PATCH v2 6/6] Add qemu_mips64r6el_malta_defconfig Vicente Olivert Riera
                   ` (2 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Vicente Olivert Riera @ 2016-07-01  9:27 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
Changes v1 -> v2:
 - Use mips64r6 instead of mips_64r6 in the defconfig name.
 - Use mips64r6 instead of mips-64r6 in the board dir name.
 - Use kernel 4.6.3.
 - Drop the MSA patch since its included in 4.6.3.

 board/qemu/mips64r6-malta/linux-4.6.config | 34 ++++++++++++++++++++++++++++++
 board/qemu/mips64r6-malta/readme.txt       |  7 ++++++
 configs/qemu_mips64r6_malta_defconfig      | 30 ++++++++++++++++++++++++++
 3 files changed, 71 insertions(+)
 create mode 100644 board/qemu/mips64r6-malta/linux-4.6.config
 create mode 100644 board/qemu/mips64r6-malta/readme.txt
 create mode 100644 configs/qemu_mips64r6_malta_defconfig

diff --git a/board/qemu/mips64r6-malta/linux-4.6.config b/board/qemu/mips64r6-malta/linux-4.6.config
new file mode 100644
index 0000000..0ebfdbd
--- /dev/null
+++ b/board/qemu/mips64r6-malta/linux-4.6.config
@@ -0,0 +1,34 @@
+CONFIG_MIPS_MALTA=y
+CONFIG_CPU_MIPS64_R6=y
+CONFIG_64BIT=y
+CONFIG_MIPS_MT_SMP=y
+CONFIG_NR_CPUS=2
+CONFIG_SYSVIPC=y
+CONFIG_HIGH_RES_TIMERS=y
+CONFIG_MODULES=y
+CONFIG_MODULE_UNLOAD=y
+CONFIG_PCI=y
+CONFIG_MIPS32_COMPAT=y
+CONFIG_MIPS32_O32=y
+CONFIG_MIPS32_N32=y
+CONFIG_NET=y
+CONFIG_PACKET=y
+CONFIG_UNIX=y
+CONFIG_INET=y
+CONFIG_IDE=y
+CONFIG_BLK_DEV_IDECD=y
+CONFIG_IDE_GENERIC=y
+CONFIG_BLK_DEV_GENERIC=y
+CONFIG_BLK_DEV_PIIX=y
+CONFIG_NETDEVICES=y
+CONFIG_PCNET32=y
+CONFIG_INPUT_EVDEV=y
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_FB=y
+CONFIG_FB_CIRRUS=y
+CONFIG_USB=y
+CONFIG_USB_UHCI_HCD=y
+CONFIG_EXT4_FS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
diff --git a/board/qemu/mips64r6-malta/readme.txt b/board/qemu/mips64r6-malta/readme.txt
new file mode 100644
index 0000000..8f792a0
--- /dev/null
+++ b/board/qemu/mips64r6-malta/readme.txt
@@ -0,0 +1,7 @@
+Run the emulation with:
+
+ qemu-system-mips64 -M malta -cpu MIPS64R6-generic -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "root=/dev/hda" -nographic
+
+The login prompt will appear in the terminal that started Qemu.
+
+Tested with QEMU 2.6.0
diff --git a/configs/qemu_mips64r6_malta_defconfig b/configs/qemu_mips64r6_malta_defconfig
new file mode 100644
index 0000000..2b150f0
--- /dev/null
+++ b/configs/qemu_mips64r6_malta_defconfig
@@ -0,0 +1,30 @@
+# Architecture
+BR2_mips64=y
+BR2_mips_64r6=y
+BR2_MIPS_NABI64=y
+
+# System
+BR2_SYSTEM_DHCP="eth0"
+
+# Filesystem
+BR2_TARGET_ROOTFS_EXT2=y
+# BR2_TARGET_ROOTFS_TAR is not set
+
+# Linux headers same as kernel, a 4.6 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6=y
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.6.3"
+BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips64r6-malta/linux-4.6.config"
+BR2_LINUX_KERNEL_VMLINUX=y
+
+# Compiler
+# linux >= 4.4 uses -mcompact-branches which is only available since gcc-6
+BR2_GCC_VERSION_6_X=y
+
+# Serial port config
+BR2_TARGET_GENERIC_GETTY=y
+BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
-- 
2.7.3

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH v2 6/6] Add qemu_mips64r6el_malta_defconfig
  2016-07-01  9:27 [Buildroot] [PATCH v2 1/6] qemu_mips_malta_defconfig: move to qemu_mips32r2_malta_defconfig Vicente Olivert Riera
                   ` (3 preceding siblings ...)
  2016-07-01  9:27 ` [Buildroot] [PATCH v2 5/6] Add qemu_mips64r6_malta_defconfig Vicente Olivert Riera
@ 2016-07-01  9:27 ` Vicente Olivert Riera
  2016-07-01 12:42   ` Gustavo Zacarias
  2016-07-01 12:39 ` [Buildroot] [PATCH v2 1/6] qemu_mips_malta_defconfig: move to qemu_mips32r2_malta_defconfig Gustavo Zacarias
  2016-07-01 13:00 ` Thomas Petazzoni
  6 siblings, 1 reply; 14+ messages in thread
From: Vicente Olivert Riera @ 2016-07-01  9:27 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
Changes v1 -> v2:
 - Use mips64r6el instead of mips_64r6el in the defconfig name.
 - Use mips64r6el instead of mips-64r6el in the board dir name.
 - Use kernel 4.6.3.
 - Drop the MSA patch since its included in 4.6.3.

 board/qemu/mips64r6el-malta/linux-4.6.config | 34 ++++++++++++++++++++++++++++
 board/qemu/mips64r6el-malta/readme.txt       |  7 ++++++
 configs/qemu_mips64r6el_malta_defconfig      | 30 ++++++++++++++++++++++++
 3 files changed, 71 insertions(+)
 create mode 100644 board/qemu/mips64r6el-malta/linux-4.6.config
 create mode 100644 board/qemu/mips64r6el-malta/readme.txt
 create mode 100644 configs/qemu_mips64r6el_malta_defconfig

diff --git a/board/qemu/mips64r6el-malta/linux-4.6.config b/board/qemu/mips64r6el-malta/linux-4.6.config
new file mode 100644
index 0000000..0ebfdbd
--- /dev/null
+++ b/board/qemu/mips64r6el-malta/linux-4.6.config
@@ -0,0 +1,34 @@
+CONFIG_MIPS_MALTA=y
+CONFIG_CPU_MIPS64_R6=y
+CONFIG_64BIT=y
+CONFIG_MIPS_MT_SMP=y
+CONFIG_NR_CPUS=2
+CONFIG_SYSVIPC=y
+CONFIG_HIGH_RES_TIMERS=y
+CONFIG_MODULES=y
+CONFIG_MODULE_UNLOAD=y
+CONFIG_PCI=y
+CONFIG_MIPS32_COMPAT=y
+CONFIG_MIPS32_O32=y
+CONFIG_MIPS32_N32=y
+CONFIG_NET=y
+CONFIG_PACKET=y
+CONFIG_UNIX=y
+CONFIG_INET=y
+CONFIG_IDE=y
+CONFIG_BLK_DEV_IDECD=y
+CONFIG_IDE_GENERIC=y
+CONFIG_BLK_DEV_GENERIC=y
+CONFIG_BLK_DEV_PIIX=y
+CONFIG_NETDEVICES=y
+CONFIG_PCNET32=y
+CONFIG_INPUT_EVDEV=y
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_FB=y
+CONFIG_FB_CIRRUS=y
+CONFIG_USB=y
+CONFIG_USB_UHCI_HCD=y
+CONFIG_EXT4_FS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
diff --git a/board/qemu/mips64r6el-malta/readme.txt b/board/qemu/mips64r6el-malta/readme.txt
new file mode 100644
index 0000000..3459a87
--- /dev/null
+++ b/board/qemu/mips64r6el-malta/readme.txt
@@ -0,0 +1,7 @@
+Run the emulation with:
+
+ qemu-system-mips64el -M malta -cpu MIPS64R6-generic -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "root=/dev/hda" -nographic
+
+The login prompt will appear in the terminal that started Qemu.
+
+Tested with QEMU 2.6.0
diff --git a/configs/qemu_mips64r6el_malta_defconfig b/configs/qemu_mips64r6el_malta_defconfig
new file mode 100644
index 0000000..c7803a5
--- /dev/null
+++ b/configs/qemu_mips64r6el_malta_defconfig
@@ -0,0 +1,30 @@
+# Architecture
+BR2_mips64el=y
+BR2_mips_64r6=y
+BR2_MIPS_NABI64=y
+
+# System
+BR2_SYSTEM_DHCP="eth0"
+
+# Filesystem
+BR2_TARGET_ROOTFS_EXT2=y
+# BR2_TARGET_ROOTFS_TAR is not set
+
+# Linux headers same as kernel, a 4.6 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6=y
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.6.3"
+BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips64r6el-malta/linux-4.6.config"
+BR2_LINUX_KERNEL_VMLINUX=y
+
+# Compiler
+# linux >= 4.4 uses -mcompact-branches which is only available since gcc-6
+BR2_GCC_VERSION_6_X=y
+
+# Serial port config
+BR2_TARGET_GENERIC_GETTY=y
+BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
-- 
2.7.3

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH v2 1/6] qemu_mips_malta_defconfig: move to qemu_mips32r2_malta_defconfig
  2016-07-01  9:27 [Buildroot] [PATCH v2 1/6] qemu_mips_malta_defconfig: move to qemu_mips32r2_malta_defconfig Vicente Olivert Riera
                   ` (4 preceding siblings ...)
  2016-07-01  9:27 ` [Buildroot] [PATCH v2 6/6] Add qemu_mips64r6el_malta_defconfig Vicente Olivert Riera
@ 2016-07-01 12:39 ` Gustavo Zacarias
  2016-07-01 13:00 ` Thomas Petazzoni
  6 siblings, 0 replies; 14+ messages in thread
From: Gustavo Zacarias @ 2016-07-01 12:39 UTC (permalink / raw)
  To: buildroot

On 2016-07-01 06:27, Vicente Olivert Riera wrote:

> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>

Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH v2 2/6] qemu_mipsel_malta_defconfig: move to qemu_mips32r2el_malta_defconfig
  2016-07-01  9:27 ` [Buildroot] [PATCH v2 2/6] qemu_mipsel_malta_defconfig: move to qemu_mips32r2el_malta_defconfig Vicente Olivert Riera
@ 2016-07-01 12:40   ` Gustavo Zacarias
  0 siblings, 0 replies; 14+ messages in thread
From: Gustavo Zacarias @ 2016-07-01 12:40 UTC (permalink / raw)
  To: buildroot

On 2016-07-01 06:27, Vicente Olivert Riera wrote:

> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>

Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH v2 3/6] Add qemu_mips32r6_malta_defconfig
  2016-07-01  9:27 ` [Buildroot] [PATCH v2 3/6] Add qemu_mips32r6_malta_defconfig Vicente Olivert Riera
@ 2016-07-01 12:40   ` Gustavo Zacarias
  0 siblings, 0 replies; 14+ messages in thread
From: Gustavo Zacarias @ 2016-07-01 12:40 UTC (permalink / raw)
  To: buildroot

On 2016-07-01 06:27, Vicente Olivert Riera wrote:

> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>

Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH v2 4/6] Add qemu_mips32r6el_malta_defconfig
  2016-07-01  9:27 ` [Buildroot] [PATCH v2 4/6] Add qemu_mips32r6el_malta_defconfig Vicente Olivert Riera
@ 2016-07-01 12:41   ` Gustavo Zacarias
  0 siblings, 0 replies; 14+ messages in thread
From: Gustavo Zacarias @ 2016-07-01 12:41 UTC (permalink / raw)
  To: buildroot

On 2016-07-01 06:27, Vicente Olivert Riera wrote:

> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>

Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH v2 5/6] Add qemu_mips64r6_malta_defconfig
  2016-07-01  9:27 ` [Buildroot] [PATCH v2 5/6] Add qemu_mips64r6_malta_defconfig Vicente Olivert Riera
@ 2016-07-01 12:41   ` Gustavo Zacarias
  0 siblings, 0 replies; 14+ messages in thread
From: Gustavo Zacarias @ 2016-07-01 12:41 UTC (permalink / raw)
  To: buildroot

On 2016-07-01 06:27, Vicente Olivert Riera wrote:

> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>

Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH v2 6/6] Add qemu_mips64r6el_malta_defconfig
  2016-07-01  9:27 ` [Buildroot] [PATCH v2 6/6] Add qemu_mips64r6el_malta_defconfig Vicente Olivert Riera
@ 2016-07-01 12:42   ` Gustavo Zacarias
  0 siblings, 0 replies; 14+ messages in thread
From: Gustavo Zacarias @ 2016-07-01 12:42 UTC (permalink / raw)
  To: buildroot

On 2016-07-01 06:27, Vicente Olivert Riera wrote:

> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>

Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH v2 1/6] qemu_mips_malta_defconfig: move to qemu_mips32r2_malta_defconfig
  2016-07-01  9:27 [Buildroot] [PATCH v2 1/6] qemu_mips_malta_defconfig: move to qemu_mips32r2_malta_defconfig Vicente Olivert Riera
                   ` (5 preceding siblings ...)
  2016-07-01 12:39 ` [Buildroot] [PATCH v2 1/6] qemu_mips_malta_defconfig: move to qemu_mips32r2_malta_defconfig Gustavo Zacarias
@ 2016-07-01 13:00 ` Thomas Petazzoni
  2016-07-01 13:03   ` Gustavo Zacarias
  6 siblings, 1 reply; 14+ messages in thread
From: Thomas Petazzoni @ 2016-07-01 13:00 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri, 1 Jul 2016 10:27:20 +0100, Vicente Olivert Riera wrote:
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> ---
> Changes v1 -> v2:
>  - Use mips32r2 instead of mips_32r2 in the defconfig name.
>  - Use mips32r2 instead of mips-32r2 in the board dir name.

Entire series applied to master, after tweaking the commit titles.

Note that I hesitated a bit, since I'm not sure how worth it it is to
have 8 different Qemu configuration for MIPS. It starts to be quite a
lot.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH v2 1/6] qemu_mips_malta_defconfig: move to qemu_mips32r2_malta_defconfig
  2016-07-01 13:00 ` Thomas Petazzoni
@ 2016-07-01 13:03   ` Gustavo Zacarias
  0 siblings, 0 replies; 14+ messages in thread
From: Gustavo Zacarias @ 2016-07-01 13:03 UTC (permalink / raw)
  To: buildroot

On 2016-07-01 10:00, Thomas Petazzoni wrote:

> Hello,
> 
> On Fri, 1 Jul 2016 10:27:20 +0100, Vicente Olivert Riera wrote:
>> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
>> ---
>> Changes v1 -> v2:
>>  - Use mips32r2 instead of mips_32r2 in the defconfig name.
>>  - Use mips32r2 instead of mips-32r2 in the board dir name.
> 
> Entire series applied to master, after tweaking the commit titles.
> 
> Note that I hesitated a bit, since I'm not sure how worth it it is to
> have 8 different Qemu configuration for MIPS. It starts to be quite a
> lot.
> 
> Thanks,
> 
> Thomas

Hi.
I've hesitated a bit as well, but then r2 and r6 cores are quite a bit 
different and it's good to have some way of testing toolchain output.
Regards.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-07-01 13:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-01  9:27 [Buildroot] [PATCH v2 1/6] qemu_mips_malta_defconfig: move to qemu_mips32r2_malta_defconfig Vicente Olivert Riera
2016-07-01  9:27 ` [Buildroot] [PATCH v2 2/6] qemu_mipsel_malta_defconfig: move to qemu_mips32r2el_malta_defconfig Vicente Olivert Riera
2016-07-01 12:40   ` Gustavo Zacarias
2016-07-01  9:27 ` [Buildroot] [PATCH v2 3/6] Add qemu_mips32r6_malta_defconfig Vicente Olivert Riera
2016-07-01 12:40   ` Gustavo Zacarias
2016-07-01  9:27 ` [Buildroot] [PATCH v2 4/6] Add qemu_mips32r6el_malta_defconfig Vicente Olivert Riera
2016-07-01 12:41   ` Gustavo Zacarias
2016-07-01  9:27 ` [Buildroot] [PATCH v2 5/6] Add qemu_mips64r6_malta_defconfig Vicente Olivert Riera
2016-07-01 12:41   ` Gustavo Zacarias
2016-07-01  9:27 ` [Buildroot] [PATCH v2 6/6] Add qemu_mips64r6el_malta_defconfig Vicente Olivert Riera
2016-07-01 12:42   ` Gustavo Zacarias
2016-07-01 12:39 ` [Buildroot] [PATCH v2 1/6] qemu_mips_malta_defconfig: move to qemu_mips32r2_malta_defconfig Gustavo Zacarias
2016-07-01 13:00 ` Thomas Petazzoni
2016-07-01 13:03   ` Gustavo Zacarias

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.