Skip to content
Merged
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
2 changes: 1 addition & 1 deletion general/package/legacy/ambarella-osdrv-s3l/Config.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
config BR2_PACKAGE_AMBARELLA_OSDRV_S3L
bool "ambarella-osdrv-s3l"
help
ambarella-osdrv-s3l - Ambarella kernel modules and libs
ambarella-osdrv-s3l - Ambarella kernel modules, libs and DSP microcode

https://openipc.org
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@

AMBARELLA_OSDRV_S3L_SITE_METHOD = local
AMBARELLA_OSDRV_S3L_SITE = $(AMBARELLA_OSDRV_S3L_PKGDIR)/src
AMBARELLA_OSDRV_S3L_LICENSE = MIT
AMBARELLA_OSDRV_S3L_LICENSE = MIT (load_ucode), PROPRIETARY (modules, microcode)

# load_ucode puts the DSP microcode in place; the microcode itself is not shipped.
# load_ucode puts the DSP microcode in place. files/firmware is the generic set
# from Ambarella's S3L SDK release 2.5.0_20181109 (2018/10/28, 284712.282649),
# not from a camera's stock firmware, which the tree does not accept (#2767).
define AMBARELLA_OSDRV_S3L_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) load_ucode
endef
Expand All @@ -20,6 +22,9 @@ define AMBARELLA_OSDRV_S3L_INSTALL_TARGET_CMDS
$(INSTALL) -m 755 -d $(TARGET_DIR)/lib/modules/3.10.104/ambarella
$(INSTALL) -m 644 -t $(TARGET_DIR)/lib/modules/3.10.104/ambarella $(AMBARELLA_OSDRV_S3L_PKGDIR)/files/kmod/*.ko

$(INSTALL) -m 755 -d $(TARGET_DIR)/lib/firmware
$(INSTALL) -m 644 -t $(TARGET_DIR)/lib/firmware $(AMBARELLA_OSDRV_S3L_PKGDIR)/files/firmware/*.bin

$(INSTALL) -m 755 -d $(TARGET_DIR)/usr/bin
$(INSTALL) -m 755 -t $(TARGET_DIR)/usr/bin $(AMBARELLA_OSDRV_S3L_PKGDIR)/files/script/load*
$(INSTALL) -m 755 -t $(TARGET_DIR)/usr/bin $(@D)/load_ucode
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# them and the nodes have to be made here. The major comes from /proc/devices;
# the minors are fixed.
#
# The microcode (orccode.bin, orcme.bin, default_binary.bin) is Ambarella's and
# is not part of this package; load_ucode, which puts it in place, is built from
# The microcode (orccode.bin, orcme.bin, default_binary.bin) is Ambarella's, from
# the package's files/firmware; load_ucode, which puts it in place, is built from
# the package's src/. Without the microcode the drivers load and the DSP does
# not start, so no video. Drop it in /lib/firmware and this script loads it.
# not start, so no video. An image that prunes it from /lib/firmware still boots.

vendor=$(ipcinfo -v)
ucode_dir=/lib/firmware
Expand Down
Loading