Le support aux utilisateurs et les demandes de création de comptes externes doivent être faites depuis les issues du projet GitLab HEFR (https://gitlab.forge.hefr.ch/forge-hefr/gitlab-hefr)

Commit 9ab29acd authored by papauxg's avatar papauxg
Browse files

add a 3.12 kernel configuration

parent bbb53ab9
/linux-bins-*
/linux-3-12-src
#!/bin/bash
#######
# Change according to your system configuration...
export ARCH=arm
export CROSS_COMPILE=arm-linux-gnueabihf-
BUILD_NB_THREADS=8
#######
# No need to modify these variables
KERNEL_BUILD_DIR=linux-3-12-src
KERNEL_GIT_SRC=git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
KERNEL_GIT_BRANCH=origin/linux-3.12.y
KERNEL_DEFCONFIG=vexpress_defconfig
KERNEL_CONFIG_FILE=linux-config-vexpress-a15
INST_PATH=linux-bins-initrd
MODULES_INST_PATH=${INST_PATH}/modules
DTB_FILE=${KERNEL_BUILD_DIR}/arch/arm/boot/dts/vexpress-v2p-ca15-tc1.dtb
# include commeon kernel guest build file
source ../../build_guest_common_functions.sh
# execute main function
main
#!/bin/bash
#######
# Change according to your system configuration...
export ARCH=arm
export CROSS_COMPILE=arm-linux-gnueabihf-
BUILD_NB_THREADS=8
#######
# No need to modify these variables
KERNEL_BUILD_DIR=linux-3-12-src
KERNEL_GIT_SRC=git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
KERNEL_GIT_BRANCH=origin/linux-3.12.y
KERNEL_DEFCONFIG=vexpress_defconfig
KERNEL_CONFIG_FILE=linux-config-vexpress-a15-sdcard
INST_PATH=linux-bins-sd
MODULES_INST_PATH=${INST_PATH}/modules
DTB_FILE=${KERNEL_BUILD_DIR}/arch/arm/boot/dts/vexpress-v2p-ca15-tc1.dtb
# include commeon kernel guest build file
source ../../build_guest_common_functions.sh
# execute main function
main
#!/bin/bash
echo "Deleting folders..."
echo "rm -rf linux-3-12-src"
rm -rf linux-3-12-src
echo "rm -rf linux-bins-sd"
rm -rf linux-bins-sd
<domain type='kvm'>
<name>linux310</name>
<memory unit='KiB'>131072</memory>
<currentMemory unit='KiB'>131072</currentMemory>
<vcpu>1</vcpu>
<os>
<type arch='armv7l' machine='vexpress-a15'>hvm</type>
<kernel>/var/lib/libvirt/images/linux-3-12/zImage</kernel>
<initrd>/var/lib/libvirt/images/linux-3-12/rootfs-buildroot.cpio.gz</initrd>
<cmdline>console=ttyAMA0 mem=128M</cmdline>
<dtb>/var/lib/libvirt/images/linux-3-12/vexpress-v2p-ca15-tc1.dtb</dtb>
</os>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/bin/qemu-system-arm</emulator>
<interface type='network'>
<source network='default'/>
<model type='lan9118'/>
</interface>
<serial type='pty'>
<target port='0'/>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
</devices>
</domain>
<domain type='kvm'>
<name>linux310-nfs</name>
<memory unit='KiB'>131072</memory>
<currentMemory unit='KiB'>131072</currentMemory>
<vcpu>1</vcpu>
<os>
<type arch='armv7l' machine='vexpress-a15'>hvm</type>
<kernel>/var/lib/libvirt/images/linux-3-12/zImage</kernel>
<cmdline>console=ttyAMA0 mem=128M root=/dev/nfs nfsroot=192.168.1.15:/workspace/nfs-rootfs/linux310 rw ip=192.168.1.31</cmdline>
<dtb>/var/lib/libvirt/images/linux-3-12/vexpress-v2p-ca15-tc1.dtb</dtb>
</os>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/bin/qemu-system-arm</emulator>
<interface type='bridge'>
<source bridge='br0'/>
<model type='lan9118'/>
</interface>
<serial type='pty'>
<target port='0'/>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
</devices>
</domain>
<domain type="kvm">
<name>linux312-sd</name>
<memory>131072</memory>
<currentMemory>131072</currentMemory>
<vcpu>1</vcpu>
<os>
<type arch="armv7l" machine="vexpress-a15">hvm</type>
<kernel>/var/lib/libvirt/images/linux-3-12/zImage-sd</kernel>
<cmdline>console=ttyAMA0 mem=128M root=/dev/mmcblk0p1 rw rootfstype=ext3</cmdline>
<dtb>/var/lib/libvirt/images/linux-3-12/vexpress-v2p-ca15-tc1.dtb</dtb>
</os>
<clock offset="utc"/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/bin/qemu-system-arm</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/var/lib/libvirt/images/linux-3-12/rootfs.qcow2' />
<target bus='sd' dev='sda'/>
</disk>
<serial type='pty'>
<target port='0'/>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<interface type='bridge'>
<source bridge='br0'/>
<model type='lan9118'/>
</interface>
</devices>
</domain>
<domain type="kvm">
<name>linux312-sd</name>
<memory>131072</memory>
<currentMemory>131072</currentMemory>
<vcpu>1</vcpu>
<os>
<type arch="armv7l" machine="vexpress-a15">hvm</type>
<kernel>/var/lib/libvirt/images/linux-3-12/zImage-sd</kernel>
<cmdline>console=ttyAMA0 mem=128M root=/dev/mmcblk0p1 rw rootfstype=ext3</cmdline>
<dtb>/var/lib/libvirt/images/linux-3-12/vexpress-v2p-ca15-tc1.dtb</dtb>
</os>
<clock offset="utc"/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/bin/qemu-system-arm</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/var/lib/libvirt/images/linux-3-12/rootfs.qcow2' />
<target bus='sd' dev='sda'/>
</disk>
<serial type='pty'>
<target port='0'/>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<interface type='network'>
<source network='default'/>
</interface>
</devices>
</domain>
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment