e184a4583b
keep awin_device_register under control. Board configuration scripts can be found here: https://github.com/linux-sunxi/sunxi-boards/blob/master/sys_config You can compile them with the "fex2bin" tool found here: https://github.com/linux-sunxi/sunxi-tools To use, copy the compiled FEX to your MS-DOS partition, load it with U-Boot, and then tell the kernel where to find it with the "sysconfig=" boot option. For example, uEnv.txt on a Cubieboard2 might look like this: bootargs=root=ld0a sysconfig=0x43000000 uenvcmd=mmc dev 0; mmc rescan; fatload mmc 0:1 43000000 cubieboard2.bin; fatload mmc 0:1 82000000 netbsd.ub; bootm 82000000
34 lines
974 B
Plaintext
34 lines
974 B
Plaintext
# $NetBSD: std.awin,v 1.5 2014/10/22 00:24:52 jmcneill Exp $
|
|
#
|
|
# standard NetBSD/evbarm for Allwinner based options
|
|
|
|
machine evbarm arm
|
|
include "arch/evbarm/conf/std.evbarm"
|
|
|
|
# Pull in CUBIEBOARD config definitions.
|
|
include "arch/evbarm/conf/files.awin"
|
|
|
|
# To support easy transit to ../arch/arm/arm32
|
|
options MODULAR
|
|
options MODULAR_DEFAULT_AUTOLOAD
|
|
options __HAVE_CPU_COUNTER
|
|
options CORTEX_PMC
|
|
options __HAVE_FAST_SOFTINTS # should be in types.h
|
|
options ARM_HAS_VBAR
|
|
options __HAVE_MM_MD_DIRECT_MAPPED_PHYS
|
|
options TPIDRPRW_IS_CURCPU
|
|
options KERNEL_BASE_EXT=0x80000000
|
|
options FPU_VFP
|
|
options GTTWSI_ALLWINNER
|
|
options MOTG_ALLWINNER
|
|
options AWIN_SYSCONFIG
|
|
|
|
makeoptions KERNEL_BASE_PHYS="0x40007800"
|
|
makeoptions KERNEL_BASE_VIRT="0x80007800"
|
|
makeoptions BOARDTYPE="awin"
|
|
makeoptions BOARDMKFRAG="${THISARM}/conf/mk.awin"
|
|
makeoptions CPUFLAGS="-mcpu=cortex-a8 -mfpu=neon"
|
|
|
|
options ARM_INTR_IMPL="<arch/arm/allwinner/awin_intr.h>"
|
|
options ARM_GENERIC_TODR
|