2019-01-23 09:56:00 +03:00
|
|
|
# devices Kconfig
|
|
|
|
source 9pfs/Kconfig
|
|
|
|
source acpi/Kconfig
|
|
|
|
source adc/Kconfig
|
|
|
|
source audio/Kconfig
|
|
|
|
source block/Kconfig
|
|
|
|
source char/Kconfig
|
|
|
|
source core/Kconfig
|
|
|
|
source display/Kconfig
|
|
|
|
source dma/Kconfig
|
|
|
|
source gpio/Kconfig
|
|
|
|
source hyperv/Kconfig
|
|
|
|
source i2c/Kconfig
|
|
|
|
source ide/Kconfig
|
|
|
|
source input/Kconfig
|
|
|
|
source intc/Kconfig
|
|
|
|
source ipack/Kconfig
|
|
|
|
source ipmi/Kconfig
|
|
|
|
source isa/Kconfig
|
|
|
|
source mem/Kconfig
|
|
|
|
source misc/Kconfig
|
|
|
|
source net/Kconfig
|
2019-10-26 19:45:42 +03:00
|
|
|
source nubus/Kconfig
|
2019-01-23 09:56:00 +03:00
|
|
|
source nvram/Kconfig
|
|
|
|
source pci-bridge/Kconfig
|
|
|
|
source pci-host/Kconfig
|
|
|
|
source pcmcia/Kconfig
|
|
|
|
source pci/Kconfig
|
2019-03-14 16:09:09 +03:00
|
|
|
source rdma/Kconfig
|
2019-10-04 02:03:52 +03:00
|
|
|
source rtc/Kconfig
|
2019-01-23 09:56:00 +03:00
|
|
|
source scsi/Kconfig
|
|
|
|
source sd/Kconfig
|
2019-05-13 17:25:27 +03:00
|
|
|
source semihosting/Kconfig
|
2019-01-23 09:56:00 +03:00
|
|
|
source smbios/Kconfig
|
|
|
|
source ssi/Kconfig
|
|
|
|
source timer/Kconfig
|
|
|
|
source tpm/Kconfig
|
|
|
|
source usb/Kconfig
|
|
|
|
source virtio/Kconfig
|
|
|
|
source vfio/Kconfig
|
|
|
|
source watchdog/Kconfig
|
|
|
|
|
|
|
|
# arch Kconfig
|
|
|
|
source arm/Kconfig
|
|
|
|
source alpha/Kconfig
|
2020-01-24 03:51:27 +03:00
|
|
|
source avr/Kconfig
|
2019-01-23 09:56:00 +03:00
|
|
|
source cris/Kconfig
|
|
|
|
source hppa/Kconfig
|
|
|
|
source i386/Kconfig
|
|
|
|
source lm32/Kconfig
|
|
|
|
source m68k/Kconfig
|
|
|
|
source microblaze/Kconfig
|
|
|
|
source mips/Kconfig
|
|
|
|
source moxie/Kconfig
|
|
|
|
source nios2/Kconfig
|
|
|
|
source openrisc/Kconfig
|
|
|
|
source ppc/Kconfig
|
|
|
|
source riscv/Kconfig
|
2019-01-21 16:16:00 +03:00
|
|
|
source rx/Kconfig
|
2019-01-23 09:56:00 +03:00
|
|
|
source s390x/Kconfig
|
|
|
|
source sh4/Kconfig
|
|
|
|
source sparc/Kconfig
|
|
|
|
source sparc64/Kconfig
|
|
|
|
source tricore/Kconfig
|
|
|
|
source unicore32/Kconfig
|
|
|
|
source xtensa/Kconfig
|
|
|
|
|
|
|
|
# Symbols used by multiple targets
|
2019-01-25 08:48:56 +03:00
|
|
|
config TEST_DEVICES
|
|
|
|
bool
|
|
|
|
|
2019-01-23 09:56:00 +03:00
|
|
|
config XILINX
|
|
|
|
bool
|
2019-01-23 09:56:12 +03:00
|
|
|
select PTIMER # for hw/timer/xilinx_timer.c
|
2019-01-23 09:56:00 +03:00
|
|
|
|
|
|
|
config XILINX_AXI
|
|
|
|
bool
|
2019-01-23 09:56:12 +03:00
|
|
|
select PTIMER # for hw/dma/xilinx_axidma.c
|
2019-04-27 17:14:57 +03:00
|
|
|
|
|
|
|
config XLNX_ZYNQMP
|
|
|
|
bool
|
2019-05-14 08:59:34 +03:00
|
|
|
select REGISTER
|
hw/net/can: Introduce Xilinx ZynqMP CAN controller
The Xilinx ZynqMP CAN controller is developed based on SocketCAN, QEMU CAN bus
implementation. Bus connection and socketCAN connection for each CAN module
can be set through command lines.
Example for using single CAN:
-object can-bus,id=canbus0 \
-machine xlnx-zcu102.canbus0=canbus0 \
-object can-host-socketcan,id=socketcan0,if=vcan0,canbus=canbus0
Example for connecting both CAN to same virtual CAN on host machine:
-object can-bus,id=canbus0 -object can-bus,id=canbus1 \
-machine xlnx-zcu102.canbus0=canbus0 \
-machine xlnx-zcu102.canbus1=canbus1 \
-object can-host-socketcan,id=socketcan0,if=vcan0,canbus=canbus0 \
-object can-host-socketcan,id=socketcan1,if=vcan0,canbus=canbus1
To create virtual CAN on the host machine, please check the QEMU CAN docs:
https://github.com/qemu/qemu/blob/master/docs/can.txt
Signed-off-by: Vikram Garhwal <fnu.vikram@xilinx.com>
Message-id: 1605728926-352690-2-git-send-email-fnu.vikram@xilinx.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2020-11-18 22:48:43 +03:00
|
|
|
select CAN_BUS
|