Browse Source

device: no ODROID and ORANGEPI for now #137

pull/141/head
Franco Fichtner 1 year ago
parent
commit
dfefa3379f
6 changed files with 2 additions and 110 deletions
  1. +1
    -2
      README.md
  2. +1
    -14
      build/arm.sh
  3. +0
    -36
      config/19.1/SMP-ODROID-XU3
  4. +0
    -36
      config/19.1/SMP-ORANGEPI-PC2
  5. +0
    -11
      device/odroid-xu3.conf
  6. +0
    -11
      device/orangepi-pc2.conf

+ 1
- 2
README.md View File

@ -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
==============================

+ 1
- 14
build/arm.sh View File

@ -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}

+ 0
- 36
config/19.1/SMP-ODROID-XU3 View File

@ -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

+ 0
- 36
config/19.1/SMP-ORANGEPI-PC2 View File

@ -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

+ 0
- 11
device/odroid-xu3.conf View File

@ -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"

+ 0
- 11
device/orangepi-pc2.conf View File

@ -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…
Cancel
Save