9068fe0dea
With this config you can bootup a Linux kernel in GDB simulator and test Blackfin kernel and userland. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
35 lines
850 B
Plaintext
35 lines
850 B
Plaintext
# Architecture
|
|
BR2_bfin=y
|
|
BR2_bf512=y
|
|
|
|
# Filesystem
|
|
BR2_TARGET_ROOTFS_INITRAMFS=y
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|
|
|
|
BR2_ROOTFS_POST_BUILD_SCRIPT="board/gdb/post-build.sh"
|
|
|
|
# Linux headers same as kernel, a 4.6 series
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6=y
|
|
|
|
# Kernel
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.6.3"
|
|
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
|
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/gdb/bfin-bf512/linux-4.6.config"
|
|
BR2_LINUX_KERNEL_VMLINUX=y
|
|
|
|
# Serial port config
|
|
BR2_TARGET_GENERIC_GETTY=y
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttyBF0"
|
|
|
|
# use minimal busybox with hush
|
|
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config"
|
|
|
|
# compile gdb sim
|
|
BR2_PACKAGE_HOST_GDB=y
|
|
# BR2_PACKAGE_HOST_GDB_TUI is not set
|
|
# BR2_PACKAGE_HOST_GDB_PYTHON is not set
|
|
BR2_PACKAGE_HOST_GDB_SIM=y
|
|
|