initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
config BR2_TARGET_BEAGLEV_DDRINIT
|
||||
bool "beaglev-ddrinit"
|
||||
depends on BR2_riscv
|
||||
depends on BR2_HOSTARCH = "x86_64" # host-riscv64-elf-toolchain
|
||||
help
|
||||
This package builds the DDRinit firmware used on the BeagleV
|
||||
platform.
|
||||
|
||||
https://github.com/starfive-tech/beagle_ddrinit
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 2d491f64bd77de9dfd4b8ae6c00e83670e80c205cc20917fefa6194b1dc1fe4e beaglev-ddrinit-c0839f25246d9e308c23498d344ca13d8a7ad6ed.tar.gz
|
||||
sha256 284d26192537710910ec1f112ec5f4c981601ae23702391986d6ce0b8ba90813 LICENSE
|
||||
@@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
#
|
||||
# beaglev-ddrinit
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# Commit on the 'starfive' branch
|
||||
BEAGLEV_DDRINIT_VERSION = c0839f25246d9e308c23498d344ca13d8a7ad6ed
|
||||
BEAGLEV_DDRINIT_SITE = $(call github,starfive-tech,beagle_ddrinit,$(BEAGLEV_DDRINIT_VERSION))
|
||||
BEAGLEV_DDRINIT_INSTALL_TARGET = NO
|
||||
BEAGLEV_DDRINIT_INSTALL_IMAGES = YES
|
||||
BEAGLEV_DDRINIT_DEPENDENCIES = host-riscv64-elf-toolchain
|
||||
BEAGLEV_DDRINIT_LICENSE = GPL-2.0+
|
||||
BEAGLEV_DDRINIT_LICENSE_FILES = LICENSE
|
||||
|
||||
define BEAGLEV_DDRINIT_BUILD_CMDS
|
||||
$(MAKE) -C $(@D)/build \
|
||||
CROSSCOMPILE=$(HOST_DIR)/bin/riscv64-unknown-elf- \
|
||||
SUFFIX=buildroot \
|
||||
GIT_VERSION=$(BEAGLEV_DDRINIT_VERSION)
|
||||
endef
|
||||
|
||||
define BEAGLEV_DDRINIT_INSTALL_IMAGES_CMDS
|
||||
$(INSTALL) -D -m 0644 $(@D)/build/ddrinit-2133-buildroot.bin.out \
|
||||
$(BINARIES_DIR)/ddrinit-2133-buildroot.bin.out
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user