tar x86_64 WIP.

This commit is contained in:
2017-04-19 23:03:33 +02:00
parent ab2b694eec
commit bacbaeedd9
4 changed files with 75 additions and 8 deletions

View File

@@ -11,9 +11,9 @@ include $(BR_BOARD)/main.mk
include qemu-args.mk
qemu:
qemu-system-x86_64 -kernel "$(AW_STAGING)/buildroot/images/bzImage" -fsdev "local,id=root,path=$(AW_STAGING)/buildroot/target,security_model=mapped-xattr" -device virtio-9p-pci,fsdev=root,mount_tag=/dev/root -append "rootfs=root rootfstype=9p rootflags=trans=virtio,version=9p2000.L console=ttyS0" -serial mon:stdio -nographic -usb $(QEMU_ARGS)
qemu-system-x86_64 -kernel "$(BR_STAGING)/buildroot/images/bzImage" -fsdev "local,id=root,path=$(BR_STAGING)/buildroot/target,security_model=mapped-xattr" -device virtio-9p-pci,fsdev=root,mount_tag=/dev/root -append "rootfs=root rootfstype=9p rootflags=trans=virtio,version=9p2000.L console=ttyS0" -serial mon:stdio -nographic -usb $(QEMU_ARGS)
qemu.map-all-xattr:
PATH="${PATH}:$(AW_STAGING)/cross/usr/bin" $(AW_PROJECT)/map-all-xattr.sh "$(AW_STAGING)/buildroot/target"
PATH="${PATH}:$(BR_STAGING)/cross/usr/bin" $(BR_PROJECT)/map-all-xattr.sh "$(BR_STAGING)/buildroot/target"
.PHONY: qemu qemu.map-all-xattr

View File

@@ -1,7 +1,8 @@
BR2_x86_64=y
BR2_DL_DIR="$(BR_LOCAL_BUILDS_ROOT)/dl"
BR2_DL_DIR="$(BUILDS_ROOT)/dl"
BR2_HOST_DIR="$(WORKSPACE_DIR)/cross"
BR2_PRIMARY_SITE="http://serveur.nadal-fr.com/buildroot/"
BR2_ENABLE_DEBUG=y
BR2_STRIP_none=y
BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL)/patches"
BR2_TOOLCHAIN_EXTERNAL=y

View File

@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.7.2 Kernel Configuration
# Linux/x86_64 4.7.2 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
@@ -2226,7 +2226,7 @@ CONFIG_USB_UHCI_HCD=y
#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not set
CONFIG_USB_ACM=y
# CONFIG_USB_PRINTER is not set
# CONFIG_USB_WDM is not set
# CONFIG_USB_TMC is not set
@@ -2238,7 +2238,22 @@ CONFIG_USB_UHCI_HCD=y
#
# also be needed; see USB_STORAGE Help for more info
#
# CONFIG_USB_STORAGE is not set
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_REALTEK is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_USBAT is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_STORAGE_ALAUDA is not set
# CONFIG_USB_STORAGE_ONETOUCH is not set
# CONFIG_USB_STORAGE_KARMA is not set
# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
# CONFIG_USB_STORAGE_ENE_UB6250 is not set
# CONFIG_USB_UAS is not set
#
# USB Imaging devices
@@ -2255,7 +2270,58 @@ CONFIG_USB_UHCI_HCD=y
#
# USB port drivers
#
# CONFIG_USB_SERIAL is not set
CONFIG_USB_SERIAL=y
# CONFIG_USB_SERIAL_CONSOLE is not set
# CONFIG_USB_SERIAL_GENERIC is not set
# CONFIG_USB_SERIAL_SIMPLE is not set
# CONFIG_USB_SERIAL_AIRCABLE is not set
# CONFIG_USB_SERIAL_ARK3116 is not set
# CONFIG_USB_SERIAL_BELKIN is not set
# CONFIG_USB_SERIAL_CH341 is not set
# CONFIG_USB_SERIAL_WHITEHEAT is not set
# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
# CONFIG_USB_SERIAL_CP210X is not set
# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
# CONFIG_USB_SERIAL_EMPEG is not set
# CONFIG_USB_SERIAL_FTDI_SIO is not set
# CONFIG_USB_SERIAL_VISOR is not set
# CONFIG_USB_SERIAL_IPAQ is not set
# CONFIG_USB_SERIAL_IR is not set
# CONFIG_USB_SERIAL_EDGEPORT is not set
# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
# CONFIG_USB_SERIAL_F81232 is not set
# CONFIG_USB_SERIAL_GARMIN is not set
# CONFIG_USB_SERIAL_IPW is not set
# CONFIG_USB_SERIAL_IUU is not set
# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
# CONFIG_USB_SERIAL_KEYSPAN is not set
# CONFIG_USB_SERIAL_KLSI is not set
# CONFIG_USB_SERIAL_KOBIL_SCT is not set
# CONFIG_USB_SERIAL_MCT_U232 is not set
# CONFIG_USB_SERIAL_METRO is not set
# CONFIG_USB_SERIAL_MOS7720 is not set
# CONFIG_USB_SERIAL_MOS7840 is not set
# CONFIG_USB_SERIAL_MXUPORT is not set
# CONFIG_USB_SERIAL_NAVMAN is not set
# CONFIG_USB_SERIAL_PL2303 is not set
# CONFIG_USB_SERIAL_OTI6858 is not set
# CONFIG_USB_SERIAL_QCAUX is not set
# CONFIG_USB_SERIAL_QUALCOMM is not set
# CONFIG_USB_SERIAL_SPCP8X5 is not set
# CONFIG_USB_SERIAL_SAFE is not set
# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
# CONFIG_USB_SERIAL_SYMBOL is not set
# CONFIG_USB_SERIAL_TI is not set
# CONFIG_USB_SERIAL_CYBERJACK is not set
# CONFIG_USB_SERIAL_XIRCOM is not set
# CONFIG_USB_SERIAL_OPTION is not set
# CONFIG_USB_SERIAL_OMNINET is not set
# CONFIG_USB_SERIAL_OPTICON is not set
# CONFIG_USB_SERIAL_XSENS_MT is not set
# CONFIG_USB_SERIAL_WISHBONE is not set
# CONFIG_USB_SERIAL_SSU100 is not set
# CONFIG_USB_SERIAL_QT2 is not set
# CONFIG_USB_SERIAL_DEBUG is not set
#
# USB Miscellaneous drivers

View File

@@ -18,7 +18,7 @@ QEMU_ARGS += -soundhw ac97
#QEMU_ARGS += -gdb tcp::1234
# create a virtual ethernet interface and plug it with tap0
QEMU_ARGS += -netdev tap,id=tap0,ifname=tap0,script=no,downscript=no -device virtio-net,netdev=tap0
#QEMU_ARGS += -netdev tap,id=tap0,ifname=tap0,script=no,downscript=no -device virtio-net,netdev=tap0
# add a second serial port for debugging
QEMU_ARGS += -device pci-serial,chardev=gdb -chardev pty,id=gdb