d42ec02282
This MBR routine is based on TS' original bootloader. It is loaded by the bootrom stored in the companion FPGA, and chainloads an executable located at the beginning of the first non-fs (0xda) partition. Signed-off-by: Patrick Keroulas <patrick.keroulas@savoirfairelinux.com> [Thomas: - add hash file. - install image in INSTALL_IMAGES_CMDS instead of INSTALL_TARGET_CMDS.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
22 lines
676 B
Makefile
22 lines
676 B
Makefile
################################################################################
|
|
#
|
|
# ts4800-mbrboot
|
|
#
|
|
################################################################################
|
|
|
|
TS4800_MBRBOOT_VERSION = cf8f7072ed5a4a4e48fcb9841b2e31e519ec5dca
|
|
TS4800_MBRBOOT_SITE = $(call github,embeddedarm,ts4800-mbrboot,$(TS4800_MBRBOOT_VERSION))
|
|
TS4800_MBRBOOT_LICENSE = BSD-2c
|
|
TS4800_MBRBOOT_LICENSE_FILES = LICENSE
|
|
TS4800_MBRBOOT_INSTALL_IMAGES = YES
|
|
|
|
define TS4800_MBRBOOT_BUILD_CMDS
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
|
endef
|
|
|
|
define TS4800_MBRBOOT_INSTALL_IMAGES_CMDS
|
|
$(INSTALL) -D -m 0644 $(@D)/mbrboot.bin $(BINARIES_DIR)/mbrboot.bin
|
|
endef
|
|
|
|
$(eval $(generic-package))
|