Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/conf/GENERIC
Show All 17 Lines | |||||
# | # | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
ident GENERIC | ident GENERIC | ||||
cpu CPU_CORTEXA | cpu CPU_CORTEXA | ||||
options SMP_ON_UP | options SMP_ON_UP | ||||
machine arm armv6 | machine arm armv6 | ||||
makeoptions CONF_CFLAGS="-march=armv7a" | makeoptions CONF_CFLAGS="-march=armv7a -mcpu=cortex-a7" | ||||
andrew: Will this break running on Cortex-A8 or A9? | |||||
mihaiAuthorUnsubmitted Not Done Inline ActionsYes this will break the others. If I don't put the mcpu flag, the compiler doesn't recognize the virtualization instruction. Where should we include these? Or what other flag should I use in order for the compiler to recognize the virtualization instructions? mihai: Yes this will break the others. If I don't put the mcpu flag, the compiler doesn't recognize… | |||||
andrewUnsubmitted Not Done Inline ActionsWhich files? In .S files you should use .arch_extension virt, for .c files you will need to create a wrapper file build with the needed cflags in files.arm and the module Makefile. andrew: Which files? In `.S` files you should use `.arch_extension virt`, for `.c` files you will need… | |||||
makeoptions KERNVIRTADDR=0xc0000000 | makeoptions KERNVIRTADDR=0xc0000000 | ||||
options KERNVIRTADDR=0xc0000000 | options KERNVIRTADDR=0xc0000000 | ||||
include "std.armv6" | include "std.armv6" | ||||
files "../allwinner/files.allwinner" | files "../allwinner/files.allwinner" | ||||
files "../allwinner/files.allwinner_up" | files "../allwinner/files.allwinner_up" | ||||
files "../allwinner/a10/files.a10" | files "../allwinner/a10/files.a10" | ||||
▲ Show 20 Lines • Show All 187 Lines • ▼ Show 20 Lines | |||||
# Mailbox support | # Mailbox support | ||||
device ti_mbox | device ti_mbox | ||||
# DMA controller | # DMA controller | ||||
device ti_sdma | device ti_sdma | ||||
# Extensible Firmware Interface | # Extensible Firmware Interface | ||||
options EFI | options EFI | ||||
# VMM ARM VGIC | |||||
options VMM_ARM_VGIC | |||||
# Flattened Device Tree | # Flattened Device Tree | ||||
options FDT # Configure using FDT/DTB data | options FDT # Configure using FDT/DTB data | ||||
makeoptions MODULES_EXTRA="dtb/allwinner dtb/am335x dtb/nvidia dtb/rpi dtb/omap4" | makeoptions MODULES_EXTRA="dtb/allwinner dtb/am335x dtb/nvidia dtb/rpi dtb/omap4" |
Will this break running on Cortex-A8 or A9?