device: no ODROID and ORANGEPI for now #137
This commit is contained in:
parent
24bf4e00c0
commit
dfefa3379f
|
@ -154,8 +154,7 @@ The final image is built using:
|
|||
|
||||
# make arm-<size> DEVICE=BANANAPI
|
||||
|
||||
Currently available device are: BANANAPI, odroid-xu3, orangepi-pc2,
|
||||
and RPI2.
|
||||
Currently available device are: BANANAPI and RPI2.
|
||||
|
||||
About other scripts and tweaks
|
||||
==============================
|
||||
|
|
15
build/arm.sh
15
build/arm.sh
|
@ -100,20 +100,7 @@ arm_unmount()
|
|||
|
||||
echo -n ">>> Building arm image... "
|
||||
|
||||
if [ -n "$(type arm_install_uboot 2> /dev/null)" ]; then
|
||||
arm_install_uboot
|
||||
fi
|
||||
|
||||
case "${PRODUCT_DEVICE}" in
|
||||
odroid-xu3)
|
||||
cp -p ${STAGEDIR}/boot/dtb/exynos5422-odroidxu3.dtb ${STAGEDIR}/boot/msdos/exynos5422-odroidxu3.dtb
|
||||
cp -p /usr/local/share/u-boot/u-boot-odroid-xu3/* ${STAGEDIR}/boot/msdos
|
||||
;;
|
||||
orangepi-pc2)
|
||||
cp -p ${STAGEDIR}/boot/dtb/sun50i-h5-orangepi-pc2.dtb ${STAGEDIR}/boot/msdos/sun50i-h5-orangepi-pc2.dtb
|
||||
cp -p /usr/local/share/u-boot/u-boot-orangepi-pc2/* ${STAGEDIR}/boot/msdos
|
||||
;;
|
||||
esac
|
||||
arm_install_uboot
|
||||
|
||||
arm_unmount
|
||||
mdconfig -d -u ${DEV}
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
include EXYNOS5420
|
||||
|
||||
ident SMP-ODROID-XU3
|
||||
|
||||
# Remove to build a debug kernel:
|
||||
nomakeoptions DEBUG
|
||||
|
||||
options DDB
|
||||
options GEOM_BDE
|
||||
options GEOM_ELI
|
||||
options GEOM_MIRROR
|
||||
options GEOM_UZIP
|
||||
options IPFIREWALL_DEFAULT_TO_ACCEPT
|
||||
options IPFIREWALL_VERBOSE
|
||||
options IPSTEALTH
|
||||
options MROUTING
|
||||
options PPS_SYNC
|
||||
options TCP_SIGNATURE
|
||||
|
||||
# Wireless features
|
||||
device wlan_acl
|
||||
device wlan_xauth
|
||||
|
||||
# Not all architectures have a consistent GENERIC
|
||||
device netmap
|
||||
|
||||
# HardenedBSD goodies
|
||||
options PAX
|
||||
options PAX_ASLR
|
||||
options PAX_HARDENING
|
||||
options PAX_SEGVGUARD
|
||||
options PAX_INSECURE_MODE
|
||||
options PAX_CONTROL_ACL
|
||||
options PAX_CONTROL_ACL_OVERRIDE_SUPPORT
|
||||
options PAX_CONTROL_EXTATTR
|
||||
options PAX_JAIL_SUPPORT
|
|
@ -1,36 +0,0 @@
|
|||
include GENERIC
|
||||
|
||||
ident SMP-ORANGEPI-PC2
|
||||
|
||||
# Remove to build a debug kernel:
|
||||
nomakeoptions DEBUG
|
||||
|
||||
options DDB
|
||||
options GEOM_BDE
|
||||
options GEOM_ELI
|
||||
options GEOM_MIRROR
|
||||
options GEOM_UZIP
|
||||
options IPFIREWALL_DEFAULT_TO_ACCEPT
|
||||
options IPFIREWALL_VERBOSE
|
||||
options IPSTEALTH
|
||||
options MROUTING
|
||||
options PPS_SYNC
|
||||
options TCP_SIGNATURE
|
||||
|
||||
# Wireless features
|
||||
device wlan_acl
|
||||
device wlan_xauth
|
||||
|
||||
# Not all architectures have a consistent GENERIC
|
||||
device netmap
|
||||
|
||||
# HardenedBSD goodies
|
||||
options PAX
|
||||
options PAX_ASLR
|
||||
options PAX_HARDENING
|
||||
options PAX_SEGVGUARD
|
||||
options PAX_INSECURE_MODE
|
||||
options PAX_CONTROL_ACL
|
||||
options PAX_CONTROL_ACL_OVERRIDE_SUPPORT
|
||||
options PAX_CONTROL_EXTATTR
|
||||
options PAX_JAIL_SUPPORT
|
|
@ -1,11 +0,0 @@
|
|||
# https://www.hardkernel.com/shop/odroid-xu4-special-price/
|
||||
|
||||
export MAKE_ARGS_DEV="
|
||||
CROSS_BINUTILS_PREFIX=/usr/local/arm-gnueabi-freebsd11.2/bin
|
||||
UBLDR_LOADADDR=0x42000000
|
||||
"
|
||||
|
||||
export PRODUCT_KERNEL=SMP-ODROID-XU3
|
||||
export PRODUCT_TARGET=arm
|
||||
export PRODUCT_ARCH=armv6
|
||||
export PRODUCT_WANTS="arm-gnueabi-binutils qemu-user-static u-boot-odroid-xu3"
|
|
@ -1,11 +0,0 @@
|
|||
# http://www.orangepi.org/orangepipc2/
|
||||
|
||||
export MAKE_ARGS_DEV="
|
||||
CROSS_BINUTILS_PREFIX=/usr/local/aarch64-unknown-freebsd11.2/bin
|
||||
UBLDR_LOADADDR=0x42000000
|
||||
"
|
||||
|
||||
export PRODUCT_KERNEL=SMP-ORANGEPI-PC2
|
||||
export PRODUCT_TARGET=arm64
|
||||
export PRODUCT_ARCH=aarch64
|
||||
export PRODUCT_WANTS="aarch64-binutils qemu-user-static u-boot-orangepi-pc2"
|
Loading…
Reference in New Issue