Skip to content

Commit

Permalink
fiddling without resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
TahomaSoft committed Nov 19, 2023
1 parent bfa6b41 commit b605562
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 4 additions & 2 deletions package/boot/arm-trusted-firmware-rockchip-rk3568/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,17 @@ PKG_NAME:=atm-tfa-rk3568

#PKG_NAME:=uboot-rockchip-3568
# https://source.denx.de/u-boot/u-boot/-/commits/v2023.10?ref_type=tags
PKG_DISTNAME:=u-boot
# PKG_DISTNAME:=u-boot
PKG_VERSION:=lts-v2.8.10
PKG_RELEASE:=0
PKG_SOURCE_DATE:=2023-10-26

# PKG_SOURCE:=$(PKG_DISTNAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://github.com/ARM-software/arm-trusted-firmware.git
PKG_SOURCE_VERSION:=b2dc24a412933340cd93f9dcbfc5c559db4048b3
#PKG_HASH:=b2dc24a412933340cd93f9dcbfc5c559db4048b3
PKG_HASH:=42fecc27207ee39d5228e083a5cf4285fca92ff9dd37fb9e917834a20f579f23
PKG_MIRROR_HASH:=42fecc27207ee39d5228e083a5cf4285fca92ff9dd37fb9e917834a20f579f23

# PKG_SOURCE_SUBDIR:=$(PKG_DISTNAME)-$(PKG_VERSION)
#PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_DISTNAME)-$(PKG_VERSION)
# PKG_BUILD_DEPENDS:=fstools
Expand Down
8 changes: 7 additions & 1 deletion package/boot/uboot-rockchip-3568/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,14 @@ define U-Boot/rk3568/Default
OF_PLATDATA:=$(1)
endef

$(info Variables: $(.VARIABLES))

define U-Boot/linkstar-h68k-rk3568
$(U-Boot/rk3568/Default)
NAME:=LinkstarH68k
#DEPENDS:=+PACKAGE_u-boot-$(1):trusted-firmware-a-rk3568
DEPENDS:=trusted-firmware-a-rk3568
PKG_BUILD_DEPENDS:=arm-trusted-firmware-rockchip
PKG_BUILD_DEPENDS:=trusted-firmware-a-rk3568
BUILD_DEVICES:= \
linkstar-h68k
endef
Expand Down Expand Up @@ -119,7 +121,11 @@ endif
endef

define Build/InstallDev
# DDR:=BOGUSfix
export

$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
# Output dir of mkimage -d .... needs work.
$(PKG_BUILD_DIR)/tools/mkimage -n rk3568 -T rksd -d \
$(STAGING_DIR_IMAGE)/$(DDR):$(PKG_BUILD_DIR)/spl/u-boot-spl.bin $(PKG_BUILD_DIR)/idbloader.img
$(CP) $(PKG_BUILD_DIR)/idbloader.img $(STAGING_DIR_IMAGE)/$(BUILD_VARIANT)-idbloader.img
Expand Down

0 comments on commit b605562

Please sign in to comment.