Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| zed_machine_conf [2019/05/05 16:05] – [machine-xilinx-overrides.inc] rpjday | zed_machine_conf [2019/05/05 16:06] (current) – [machine-xilinx-default.inc] rpjday | ||
|---|---|---|---|
| Line 94: | Line 94: | ||
| </ | </ | ||
| ==== machine-xilinx-default.inc ==== | ==== machine-xilinx-default.inc ==== | ||
| + | |||
| + | < | ||
| + | # Default Xilinx BSP Machine settings | ||
| + | |||
| + | MACHINE_FEATURES_BACKFILL_CONSIDERED += " | ||
| + | |||
| + | # File System Configuration | ||
| + | IMAGE_FSTYPES ?= " | ||
| + | |||
| + | # Kernel Configuration | ||
| + | XILINX_DEFAULT_KERNEL := " | ||
| + | XILINX_DEFAULT_KERNEL_microblaze := " | ||
| + | XILINX_DEFAULT_KERNEL_zynqmp := " | ||
| + | PREFERRED_PROVIDER_virtual/ | ||
| + | |||
| + | # U-Boot Configuration | ||
| + | XILINX_DEFAULT_UBOOT := " | ||
| + | XILINX_DEFAULT_UBOOT_zynqmp := " | ||
| + | PREFERRED_PROVIDER_virtual/ | ||
| + | PREFERRED_PROVIDER_virtual/ | ||
| + | |||
| + | UBOOT_SUFFIX ?= " | ||
| + | UBOOT_SUFFIX_zynqmp ?= " | ||
| + | UBOOT_SUFFIX_microblaze ?= " | ||
| + | |||
| + | UBOOT_BINARY ?= " | ||
| + | UBOOT_ELF ?= " | ||
| + | UBOOT_ELF_aarch64 ?= " | ||
| + | |||
| + | #Hardware accelaration | ||
| + | PREFERRED_PROVIDER_virtual/ | ||
| + | PREFERRED_PROVIDER_virtual/ | ||
| + | PREFERRED_PROVIDER_virtual/ | ||
| + | PREFERRED_PROVIDER_virtual/ | ||
| + | PREFERRED_PROVIDER_virtual/ | ||
| + | |||
| + | |||
| + | XSERVER ?= " \ | ||
| + | xserver-xorg \ | ||
| + | xf86-input-evdev \ | ||
| + | xf86-input-mouse \ | ||
| + | xf86-input-keyboard \ | ||
| + | xf86-video-fbdev \ | ||
| + | ${XSERVER_EXT} \ | ||
| + | " | ||
| + | |||
| + | IMAGE_BOOT_FILES ?= " | ||
| + | |||
| + | def get_default_image_boot_files(d): | ||
| + | files = [] | ||
| + | |||
| + | # kernel images | ||
| + | kerneltypes = set((d.getVar(" | ||
| + | kerneltypes |= set((d.getVar(" | ||
| + | for i in kerneltypes: | ||
| + | files.append(i) | ||
| + | |||
| + | # u-boot image | ||
| + | if d.getVar(" | ||
| + | files.append(d.getVar(" | ||
| + | |||
| + | # device trees (device-tree only), these are first as they are likely desired over the kernel ones | ||
| + | if " | ||
| + | files.append(" | ||
| + | |||
| + | |||
| + | # device trees (kernel only) | ||
| + | if d.getVar(" | ||
| + | dtbs = d.getVar(" | ||
| + | dtbs = [os.path.basename(d) for d in dtbs] | ||
| + | for dtb in dtbs: | ||
| + | files.append(dtb) | ||
| + | |||
| + | return " " | ||
| + | |||
| + | XSERVER_EXT ?= "" | ||
| + | XSERVER_EXT_zynqmp ?= " | ||
| + | |||
| + | # For MicroBlaze default all microblaze machines to use GDB 7.7.1 (for gdbserver/ | ||
| + | PREFERRED_VERSION_gdb_microblaze = " | ||
| + | </ | ||