Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ menu "Firmware"
source "package/qoriq-restool/Config.in"
source "package/rcw-smarc-sal28/Config.in"
source "package/rpi-firmware/Config.in"
source "package/sharc-firmware/Config.in"
source "package/sunxi-boards/Config.in"
source "package/ts4900-fpga/Config.in"
source "package/ux500-firmware/Config.in"
Expand Down
8 changes: 8 additions & 0 deletions package/sharc-firmware/Config.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
config BR2_PACKAGE_SHARC_FIRMWARE
bool "sharc-firmware"
help
Pre-built SHARC firmware implementing RPMsg echo examples
for validating communication between Linux and the SHARC
cores on supported ADSP processors.

https://github.com/analogdevicesinc/rpmsg-examples
2 changes: 2 additions & 0 deletions package/sharc-firmware/sharc-firmware.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Locally computed
sha256 TODO sharc-firmware-v1.1.0.tar.xz
16 changes: 16 additions & 0 deletions package/sharc-firmware/sharc-firmware.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
################################################################################
Comment thread
ozan956 marked this conversation as resolved.
#
# sharc-firmware

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Name sounds quite generic, are there any plans to extend that package with more stuff or is it just going to be RPMsg examples? If so we should rename.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will just contain SHARC firmware. The naming matches other similar packages in Buildroot. For Buildroot maintainers or end users this name tells them that it is a package containing official firmware from ADI to run on the SHARC DSP cores.

#
################################################################################

SHARC_FIRMWARE_VERSION = 1.1.0
SHARC_FIRMWARE_SOURCE = sharc-firmware-v$(SHARC_FIRMWARE_VERSION).tar.xz
SHARC_FIRMWARE_SITE = https://github.com/analogdevicesinc/rpmsg-examples/releases/download/v$(SHARC_FIRMWARE_VERSION)
SHARC_FIRMWARE_LICENSE = BSD-4-Clause

define SHARC_FIRMWARE_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
endef

$(eval $(generic-package))