blob: 72b1acc3b6c2d8229305c05c964ad2f3c8f7ed60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=imx-uuc
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/nxp-imx/imx-uuc.git
PKG_SOURCE_DATE:=2024-12-18
PKG_SOURCE_VERSION:=25f65e10368aa07056f9536e88ed911ac7f38f99
PKG_MIRROR_HASH:=ba5462f5a1ec1d308545b4d1684c63551855eead7ee98f67c7c8e4ad2a8a56ae
PKG_LICENSE:=GPL-2.0-only
PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=Michael Heimpold <mhei@heimpold.de>
include $(INCLUDE_DIR)/package.mk
define Package/imx-uuc/Default
SECTION:=utils
CATEGORY:=Utilities
URL:=https://github.com/nxp-imx/imx-uuc.git
DEPENDS:=@TARGET_mxs
endef
define Package/sdimage
$(call Package/imx-uuc/Default)
TITLE:=Tool to install a bootstream on SD card/eMMC
endef
define Package/sdimage/description
This package contains the 'sdimage' tool which can be used to write/update
a bootstream on NXP i.MX23/28 devices. Such bootstreams are placed in a
special partition on SD card/eMMC and need to be prefixed with an
additional header. A typical bootstream is e.g. u-boot.sb.
endef
define Package/ufb
$(call Package/imx-uuc/Default)
TITLE:=On-target companion tool to interact with NXP's mfgtool.
endef
define Package/ufb/description
This package contains the 'ufb' tool which acts
as companion daemon to NXP's mfgtool on host side.
endef
define Build/Configure
endef
define Package/sdimage/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/sdimage $(1)/usr/bin/sdimage
endef
define Package/ufb/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ufb $(1)/usr/bin/ufb
endef
$(eval $(call BuildPackage,sdimage))
$(eval $(call BuildPackage,ufb))
|