<commit_before># Build:
# - First-stage boot loader
# - Device tree
# - U-boot
# - Linux kernel

PATCHES := $(BOARD_PATH)/patches
PROC := ps7_cortexa9_0
HSI := source /opt/Xilinx/Vivado/$(VIVADO_VERSION)/settings64.sh && hsi -nolog -nojournal -mode batch
BOOTGEN := source $(FPGA_PATH)/settings.sh && bootgen

BOARD := $(shell basename $(BOARD_PATH))

# Linux and U-boot
UBOOT_TAG := koheron-$(BOARD)-v$(VIVADO_VERSION)
LINUX_TAG := koheron-$(BOARD)-v$(VIVADO_VERSION)
DTREE_TAG := xilinx-v$(VIVADO_VERSION)

TMP_OS_PATH := $(TMP_PROJECT_PATH)/os

UBOOT_PATH := $(TMP_OS_PATH)/u-boot-xlnx-$(UBOOT_TAG)
LINUX_PATH := $(TMP_OS_PATH)/linux-xlnx-$(LINUX_TAG)
DTREE_PATH := $(TMP_OS_PATH)/device-tree-xlnx-$(DTREE_TAG)

UBOOT_TAR := $(TMP)/u-boot-xlnx-$(UBOOT_TAG).tar.gz
LINUX_TAR := $(TMP)/linux-xlnx-$(LINUX_TAG).tar.gz
DTREE_TAR := $(TMP)/device-tree-xlnx-$(DTREE_TAG).tar.gz

UBOOT_URL := https://github.com/Koheron/u-boot-xlnx/archive/$(UBOOT_TAG).tar.gz
LINUX_URL := https://github.com/Koheron/linux-xlnx/archive/$(LINUX_TAG).tar.gz
DTREE_URL := https://github.com/Xilinx/device-tree-xlnx/archive/$(DTREE_TAG).tar.gz

LINUX_CFLAGS := "-O2 -march=armv7-a -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=hard"<commit_msg>source setting64.sh in bootgen<commit_after># Build:
# - First-stage boot loader
# - Device tree
# - U-boot
# - Linux kernel

PATCHES := $(BOARD_PATH)/patches
PROC := ps7_cortexa9_0
HSI := source /opt/Xilinx/Vivado/$(VIVADO_VERSION)/settings64.sh && hsi -nolog -nojournal -mode batch
BOOTGEN := source /opt/Xilinx/Vivado/$(VIVADO_VERSION)/settings64.sh && bootgen

BOARD := $(shell basename $(BOARD_PATH))

# Linux and U-boot
UBOOT_TAG := koheron-$(BOARD)-v$(VIVADO_VERSION)
LINUX_TAG := koheron-$(BOARD)-v$(VIVADO_VERSION)
DTREE_TAG := xilinx-v$(VIVADO_VERSION)

TMP_OS_PATH := $(TMP_PROJECT_PATH)/os

UBOOT_PATH := $(TMP_OS_PATH)/u-boot-xlnx-$(UBOOT_TAG)
LINUX_PATH := $(TMP_OS_PATH)/linux-xlnx-$(LINUX_TAG)
DTREE_PATH := $(TMP_OS_PATH)/device-tree-xlnx-$(DTREE_TAG)

UBOOT_TAR := $(TMP)/u-boot-xlnx-$(UBOOT_TAG).tar.gz
LINUX_TAR := $(TMP)/linux-xlnx-$(LINUX_TAG).tar.gz
DTREE_TAR := $(TMP)/device-tree-xlnx-$(DTREE_TAG).tar.gz

UBOOT_URL := https://github.com/Koheron/u-boot-xlnx/archive/$(UBOOT_TAG).tar.gz
LINUX_URL := https://github.com/Koheron/linux-xlnx/archive/$(LINUX_TAG).tar.gz
DTREE_URL := https://github.com/Xilinx/device-tree-xlnx/archive/$(DTREE_TAG).tar.gz

LINUX_CFLAGS := "-O2 -march=armv7-a -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=hard"
{'fraction_non_alphanumeric': 0.19010944466963925, 'fraction_numerical': 0.008107012565869477, 'mean_word_length': 5.18546365914787, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '578741', 'n_tokens_mistral': 1114, 'n_tokens_neox': 1113, 'n_words': 132}