Skip to contentSkip to conversation

qemu/mips64-malta: update defconfig to Linux 3.15.x

PATCH New Waldemar Brodkorb 3 participants 6 messages Jul 21, 2014 – Jul 22, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu/mips64-malta: update defconfig to Linux 3.15.x

Update to 3.15.x, use Ext2 instead of Ext4. Genext2fs generates ext2 filesystem, so better use ext2 as used for qemu/mips-malta and qemu/mipsel-malta.

---
 board/qemu/mips64-malta/linux-3.13.config |   59 -----------------------------
 board/qemu/mips64-malta/linux-3.15.config |   59 +++++++++++++++++++++++++++++
 board/qemu/mips64-malta/readme.txt        |    2 +-
 configs/qemu_mips64_malta_defconfig       |   10 ++---
 4 files changed, 65 insertions(+), 65 deletions(-)
 delete mode 100644 board/qemu/mips64-malta/linux-3.13.config
 create mode 100644 board/qemu/mips64-malta/linux-3.15.config
board/qemu/mips64-malta/linux-3.13.config deleted +0 -59
deleted file mode 100644
index c112793..0000000
@@ -1,59 +0,0 @@
-CONFIG_MIPS_MALTA=y
-CONFIG_CPU_MIPS64_R1=y
-CONFIG_64BIT=y
-CONFIG_MIPS_MT_SMP=y
-CONFIG_NR_CPUS=2
-CONFIG_HZ_100=y
-CONFIG_SYSVIPC=y
-CONFIG_NO_HZ=y
-CONFIG_HIGH_RES_TIMERS=y
-CONFIG_LOG_BUF_SHIFT=15
-CONFIG_NAMESPACES=y
-CONFIG_RELAY=y
-CONFIG_EMBEDDED=y
-# CONFIG_COMPAT_BRK is not set
-CONFIG_SLAB=y
-CONFIG_MODULES=y
-CONFIG_MODULE_UNLOAD=y
-CONFIG_MODVERSIONS=y
-CONFIG_MODULE_SRCVERSION_ALL=y
-# CONFIG_BLK_DEV_BSG is not set
-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_IP_PNP=y
-# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
-# CONFIG_INET_XFRM_MODE_TUNNEL is not set
-# CONFIG_INET_XFRM_MODE_BEET is not set
-# CONFIG_INET_LRO is not set
-# CONFIG_INET_DIAG is not set
-# CONFIG_IPV6 is not set
-# CONFIG_WIRELESS is not set
-CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
-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_WLAN is not set
-CONFIG_VT_HW_CONSOLE_BINDING=y
-CONFIG_SERIAL_8250=y
-CONFIG_SERIAL_8250_CONSOLE=y
-# CONFIG_HW_RANDOM is not set
-# CONFIG_HWMON is not set
-CONFIG_FB=y
-CONFIG_FB_CIRRUS=y
-# CONFIG_VGA_CONSOLE is not set
-# CONFIG_USB_SUPPORT is not set
-CONFIG_EXT4_FS=y
-CONFIG_PROC_KCORE=y
-CONFIG_TMPFS=y
-CONFIG_NFS_FS=y
-CONFIG_ROOT_NFS=y
board/qemu/mips64-malta/linux-3.15.config new file +59 -0

59 lines not on this page · raw message

board/qemu/mips64-malta/readme.txt +1 -1
index 3ce3c62..967ea76 100644
@@ -5,4 +5,4 @@ Run the emulation with:
 The login prompt will appear in the terminal that started Qemu. The
 graphical window is the framebuffer.
 
-Tested with QEMU 1.7.0
+Tested with QEMU 2.0.0
configs/qemu_mips64_malta_defconfig +5 -5
index 97937d1..5929bc5 100644
@@ -6,17 +6,17 @@ BR2_MIPS_NABI64=y
 BR2_TARGET_ROOTFS_EXT2=y
 # BR2_TARGET_ROOTFS_TAR is not set
 
-# Lock to 3.13 headers to avoid breaking with newer kernels
+# Lock to 3.15 headers to avoid breaking with newer kernels
 BR2_KERNEL_HEADERS_VERSION=y
-BR2_DEFAULT_KERNEL_VERSION="3.13.5"
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13=y
+BR2_DEFAULT_KERNEL_VERSION="3.15.6"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15=y
 
 # Kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.13.5"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.15.6"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips64-malta/linux-3.13.config"
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips64-malta/linux-3.15.config"
 BR2_LINUX_KERNEL_VMLINUX=y
 
 # Serial port config
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 qemu/mips64-malta: update defconfig to Linux 3.15.x

Dear Waldemar Brodkorb,

Quoted 3 lines · Waldemar Brodkorb

Update to 3.15.x, use Ext2 instead of Ext4. Genext2fs generates ext2 filesystem, so better use ext2 as used for qemu/mips-malta and qemu/mipsel-malta.

Well, actually, Buildroot can generate ext3 and ext4 filesystems:
http://git.buildroot.net/buildroot/tree/fs/ext2/Config.in#n13.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 qemu/mips64-malta: update defconfig to Linux 3.15.x

Quoted 10 lines · Thomas Petazzoni

Dear Waldemar Brodkorb,

Quoted 3 lines · Waldemar Brodkorb

Update to 3.15.x, use Ext2 instead of Ext4. Genext2fs generates ext2 filesystem, so better use ext2 as used for qemu/mips-malta and qemu/mipsel-malta.

Well, actually, Buildroot can generate ext3 and ext4 filesystems:
http://git.buildroot.net/buildroot/tree/fs/ext2/Config.in#n13.

And there's also CONFIG_EXT4_USE_FOR_EXT23 for the kernel side, which makes the EXT4 option in the kernel cover all use cases. Regards.

#3 lore raw

PATCH 1/1 qemu/mips64-malta: update defconfig to Linux 3.15.x

Gustavo, Waldemar,

Quoted 5 lines · Gustavo Zacarias
Quoted 2 lines

Well, actually, Buildroot can generate ext3 and ext4 filesystems:
http://git.buildroot.net/buildroot/tree/fs/ext2/Config.in#n13.

And there's also CONFIG_EXT4_USE_FOR_EXT23 for the kernel side, which makes the EXT4 option in the kernel cover all use cases.

So maybe, Waldemar, could you respin with CONFIG_EXT4 + CONFIG_EXT4_USE_FOR_EXT23 ?

Thanks a lot!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#4 lore raw

PATCH 1/1 qemu/mips64-malta: update defconfig to Linux 3.15.x

Quoted 4 lines · Thomas Petazzoni

So maybe, Waldemar, could you respin with CONFIG_EXT4 + CONFIG_EXT4_USE_FOR_EXT23 ?

Thanks a lot!

CONFIG_EXT4_USE_FOR_EXT23 is default y when there's EXT4, which is the case right now, i did the config after all.
On the BR side i kept ext2 output because it was the standard norm for disk-backed samples, but we can always change that. Regards.

#5 lore raw

PATCH 1/1 qemu/mips64-malta: update defconfig to Linux 3.15.x

Hi,
Gustavo Zacarias wrote,

Quoted 5 lines · Thomas Petazzoni
Quoted 4 lines

So maybe, Waldemar, could you respin with CONFIG_EXT4 + CONFIG_EXT4_USE_FOR_EXT23 ?

Quoted 7 lines
Quoted 1 line

Thanks a lot!

CONFIG_EXT4_USE_FOR_EXT23 is default y when there's EXT4, which is the case right now, i did the config after all.
On the BR side i kept ext2 output because it was the standard norm for disk-backed samples, but we can always change that. Regards.

Should I respin the patches to use ext4 instead of ext2 for qemu/mips-malta and qemu/mipsel-malta?

Didn't know that a genextfs filesystem could be converted to ext3/ext4. And indeed when using ext4, all three types can be used to bootup a system.

best regards
Waldemar