Verified Commit 10f41ee5 authored by OyyoDams's avatar OyyoDams

chore(xu4): file cleaning

parent b35cc872
......@@ -18,33 +18,6 @@
# http://odroid.com/dokuwiki/doku.php?id=en:xu3_partition_table
# https://github.com/hardkernel/u-boot/blob/odroidxu3-v2012.07/sd_fuse/hardkernel/sd_fusing.sh
xu4_fusing() {
BINARIES_DIR=$1
RECALBOXIMG=$2
# fusing
signed_bl1_position=1
bl2_position=31
uboot_position=63
tzsw_position=719
env_position=1231
echo "BL1 fusing"
dd if="${BINARIES_DIR}/bl1.bin.hardkernel" of="${RECALBOXIMG}" seek=$signed_bl1_position conv=notrunc || return 1
echo "BL2 fusing"
dd if="${BINARIES_DIR}/bl2.bin.hardkernel.720k_uboot" of="${RECALBOXIMG}" seek=$bl2_position conv=notrunc || return 1
echo "u-boot fusing"
dd if="${BINARIES_DIR}/u-boot.bin.hardkernel" of="${RECALBOXIMG}" seek=$uboot_position conv=notrunc || return 1
echo "TrustZone S/W fusing"
dd if="${BINARIES_DIR}/tzsw.bin.hardkernel" of="${RECALBOXIMG}" seek=$tzsw_position conv=notrunc || return 1
echo "u-boot env erase"
dd if=/dev/zero of="${RECALBOXIMG}" seek=$env_position count=32 bs=512 conv=notrunc || return 1
}
# C2 SD CARD
#
# 1 97 1281
......@@ -132,7 +105,6 @@ case "${RECALBOX_TARGET}" in
# recalbox.img
support/scripts/genimage.sh -c "${BR2_EXTERNAL_RECALBOX_PATH}/board/recalbox/xu4/genimage.cfg" || exit 1
#xu4_fusing "${BINARIES_DIR}" "${BINARIES_DIR}/recalbox.img" || exit 1
sync || exit 1
;;
......
......@@ -30,9 +30,6 @@ BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_RECALBOX_PATH)/board/recalbox/fsoverlay $(BR2
BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_RECALBOX_PATH)/board/recalbox/recalbox-patch-target.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_RECALBOX_PATH)/board/recalbox/copy-recalbox-archives.sh"
BR2_LINUX_KERNEL=y
#BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
#BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,hardkernel,linux,47a5fc086ac384dbc813e63e4304aafb2442d5d0)/linux-47a5fc086ac384dbc813e63e4304aafb2442d5d0.tar.gz"
#BR2_LINUX_KERNEL_PATCH="$(BR2_EXTERNAL_RECALBOX_PATH)/board/recalbox/xu4/kernel_patches"
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/hardkernel/linux.git"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="4.14.16-104"
......@@ -222,8 +219,6 @@ BR2_PACKAGE_RECALBOX_THEMES=y
BR2_PACKAGE_RECALBOX_CONFIGGEN=y
BR2_PACKAGE_MOONLIGHT_EMBEDDED=y
BR2_PACKAGE_RECALBOX_MANAGER2=y
BR2_PACKAGE_UBOOT_XU4=n
#
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_GIT=y
......@@ -234,7 +229,6 @@ BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_FORMAT_DTB_BIN=y
BR2_TARGET_UBOOT_SPL=y
BR2_TARGET_UBOOT_SPL_NAME="sd_fuse/bl1.bin.hardkernel sd_fuse/bl2.bin.hardkernel.720k_uboot sd_fuse/tzsw.bin.hardkernel "
#
BR2_PACKAGE_MALI_T62X=y
BR2_PACKAGE_EVWAIT=y
BR2_PACKAGE_RECALBOX_EMULATIONSTATION2=y
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment