mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
94 lines
2.4 KiB
Plaintext
94 lines
2.4 KiB
Plaintext
BR2_GLOBAL_PATCH_DIR="../global_patch_dir"
|
|
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="../kernel_config_fragment"
|
|
BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="../busybox_config_fragment"
|
|
BR2_PACKAGE_KERNEL_MODULE=y
|
|
BR2_PACKAGE_OVERRIDE_FILE="../buildroot_override"
|
|
BR2_PACKAGE_STRACE=y
|
|
BR2_ROOTFS_OVERLAY="../rootfs_overlay"
|
|
BR2_ROOTFS_USERS_TABLES="../user_table"
|
|
|
|
# Host GDB
|
|
BR2_GDB_VERSION="7.11.1"
|
|
BR2_GDB_VERSION_7_10=n
|
|
BR2_GDB_VERSION_7_11=y
|
|
BR2_GDB_VERSION_7_12=n
|
|
BR2_PACKAGE_HOST_GDB=y
|
|
BR2_PACKAGE_HOST_GDB_PYTHON=y
|
|
BR2_PACKAGE_HOST_GDB_SIM=y
|
|
BR2_PACKAGE_HOST_GDB_TUI=y
|
|
|
|
# gdbserver
|
|
BR2_DEBUG_3=y
|
|
BR2_ENABLE_DEBUG=y
|
|
BR2_OPTIMIZE_0=y
|
|
BR2_PACKAGE_GDB=y
|
|
BR2_PTHREAD_DEBUG=y
|
|
|
|
# QEMU
|
|
BR2_PACKAGE_HOST_QEMU=y
|
|
# False because otherwise we need the host to be as recent as guest.
|
|
BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE=n
|
|
BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
|
|
BR2_PACKAGE_HOST_QEMU_VDE2=y
|
|
|
|
# ftrace
|
|
BR2_PACKAGE_TRACE_CMD=y
|
|
|
|
# GPIO: lsgpio, gpio-event-mon, gpio-hammer
|
|
BR2_PACKAGE_LINUX_TOOLS=y
|
|
BR2_PACKAGE_LINUX_TOOLS_GPIO=y
|
|
|
|
# DTC
|
|
BR2_PACKAGE_DTC=y
|
|
BR2_PACKAGE_DTC_PROGRAMS=y
|
|
BR2_PACKAGE_HOST_DTC=y
|
|
|
|
# Provides setpci and a lspci more advanced than Busybox's
|
|
#
|
|
# setpci can read and write to PCI configuration registers.
|
|
#
|
|
# Read is possible from Linux with:
|
|
#
|
|
# hexdump /sys/bus/pci/devices/0000:00:05.0/config
|
|
#
|
|
# and /dev/mem can of course do both reads and writes,
|
|
# but setpci provies nice human readable register names, e.g.:
|
|
#
|
|
# setpci --dumpregs
|
|
#
|
|
# then and then get the values with either bus or device id:
|
|
#
|
|
# setpci -s 0000:00:05.0 BASE_ADDRESS_0
|
|
# setpci -d 1234:11e9 BASE_ADDRESS_0
|
|
#
|
|
# Note however that BASE_ADDRESS_0 also appears when you do:
|
|
#
|
|
# lspci -v
|
|
#
|
|
# Then you can try messing with that address with:
|
|
#
|
|
# devmem2 0xfeb52000 w 0x12345678
|
|
#
|
|
# which for our pci_min device fires interrupts.
|
|
#
|
|
BR2_PACKAGE_PCIUTILS=y
|
|
|
|
# X11
|
|
# https://unix.stackexchange.com/questions/70931/how-to-install-x11-on-my-own-linux-buildroot-system/306116#306116
|
|
BR2_PACKAGE_XAPP_TWM=y
|
|
BR2_PACKAGE_XAPP_XCALC=y
|
|
BR2_PACKAGE_XAPP_XCLOCK=y
|
|
BR2_PACKAGE_XAPP_XEYES=y
|
|
BR2_PACKAGE_XAPP_XINIT=y
|
|
BR2_PACKAGE_XDRIVER_XF86_INPUT_KEYBOARD=y
|
|
BR2_PACKAGE_XDRIVER_XF86_INPUT_MOUSE=y
|
|
BR2_PACKAGE_XDRIVER_XF86_VIDEO_CIRRUS=y
|
|
BR2_PACKAGE_XDRIVER_XF86_VIDEO_FBDEV=y
|
|
BR2_PACKAGE_XDRIVER_XF86_VIDEO_VESA=y
|
|
BR2_PACKAGE_XORG7=y
|
|
BR2_PACKAGE_XSERVER_XORG_SERVER=y
|
|
BR2_PACKAGE_XTERM=y
|
|
BR2_TOOLCHAIN_BUILDROOT_CXX=y
|
|
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
|
|
BR2_USE_WCHAR=y
|