Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 70363ddf authored by Robert Nelson's avatar Robert Nelson
Browse files

bb-u-boot-sk-am69 (2023.04.20230101.0)


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent bb62afd0
Branches
No related merge requests found
bb-u-boot-sk-am69 (2023.04.20230101.0-0~bookworm+20230726) bookworm; urgency=low
* Rebuild for repos.rcn-ee.com
-- Robert Nelson <robertcnelson@gmail.com> Wed, 26 Jul 2023 16:51:29 -0500
9
Source: bb-u-boot-sk-am69
Section: misc
Priority: extra
Maintainer: Robert Nelson <robertcnelson@gmail.com>
Build-Depends:
debhelper (>= 9)
, bc,
, bison
, ca-certificates
, device-tree-compiler
, flex
, gcc-arm-linux-gnueabihf
, git
, libssl-dev
, python3-cryptography
, python3-dev
, python3-jsonschema
, python3-pycryptodome
, python3-pyelftools
, python3-setuptools
, python3-yaml
, rsync
, swig
, u-boot-tools
Standards-Version: 4.5.1
Package: bb-u-boot-sk-am69
Architecture: arm64
Depends:
${shlibs:Depends}
, ${misc:Depends}
, mmc-utils
Description: bb-u-boot-sk-am69
bb-u-boot-sk-am69
tmp/ti-linux-firmware/ti-sysfw/ti-fs-firmware-am62x-gp.bin /opt/u-boot/bb-u-boot-sk-am69
tmp/ti-linux-firmware/ti-sysfw/ti-fs-stub-firmware-am62x-gp.bin /opt/u-boot/bb-u-boot-sk-am69
tmp/arm-trusted-firmware/build/k3/lite/release/bl31.bin /opt/u-boot/bb-u-boot-sk-am69
tmp/optee/core/tee-pager_v2.bin /opt/u-boot/bb-u-boot-sk-am69
tmp/pkg/tiboot3.bin /opt/u-boot/bb-u-boot-sk-am69
tmp/pkg/tispl.bin /opt/u-boot/bb-u-boot-sk-am69
tmp/pkg/u-boot.img /opt/u-boot/bb-u-boot-sk-am69
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
TARGETDIR=bb-u-boot-beagleplay-mainline
#/opt/u-boot/$(TARGETDIR)/
#ti-linux-firmware
#HEAD: https://git.ti.com/gitweb?p=processor-firmware/ti-linux-firmware.git;a=summary
#Mirror: https://github.com/beagleboard/ti-linux-firmware
TILF_TAG=09.00.00.007
TILF_REPO="https://github.com/beagleboard/ti-linux-firmware.git"
#arm-trusted-firmware
#HEAD: https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/
#https://git.ti.com/gitweb?p=arago-project/meta-ti.git;a=blob;f=meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc;h=64bfec676bc10ce0a6525ca62a4a4f1b2de40033;hb=HEAD
#2.9+
ATF_TAG=v2.9.0
ATF_REPO="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git"
#optee_os
#HEAD: https://github.com/OP-TEE/optee_os
#https://git.ti.com/gitweb?p=arago-project/meta-ti.git;a=tree;f=meta-ti-bsp/recipes-security/optee;h=2738e2c3962d809b136441ed84148964b4d3228a;hb=HEAD
#3.22.0+
TEE_TAG=master
TEE_REPO="https://github.com/OP-TEE/optee_os"
#U-Boot
UB_CONFIG=j784s4_evm
UB_BRANCH=ti-u-boot-2023.04
UB_REPO="https://github.com/beagleboard/ti-u-boot.git"
override_dh_strip:
# Just disable for now...
override_dh_auto_configure:
mkdir -p ./tmp/pkg/
mkdir -p /opt/u-boot/$(TARGETDIR)/ti-linux-firmware/
mkdir -p ./tmp/ti-linux-firmware/ ; git clone -b $(TILF_TAG) $(TILF_REPO) --depth=5 ./tmp/ti-linux-firmware/ ; rsync -a ./tmp/ti-linux-firmware/* /opt/u-boot/$(TARGETDIR)/ti-linux-firmware/ --delete
mkdir -p ./tmp/arm-trusted-firmware/ ; git clone -b $(ATF_TAG) $(ATF_REPO) --depth=5 ./tmp/arm-trusted-firmware/
make -C ./tmp/arm-trusted-firmware/ -j4 CROSS_COMPILE=aarch64-linux-gnu- CFLAGS= LDFLAGS= ARCH=aarch64 PLAT=k3 TARGET_BOARD=j784s4 K3_USART=0x8 SPD=opteed all
cp -v ./tmp/arm-trusted-firmware/build/k3/j784s4/release/bl31.bin /opt/u-boot/$(TARGETDIR)/
mkdir -p ./tmp/optee_os/ ; git clone -b $(TEE_TAG) $(TEE_REPO) --depth=5 ./tmp/optee_os/
make -C ./tmp/optee_os/ -j4 O=../optee CROSS_COMPILE=arm-linux-gnueabihf- CROSS_COMPILE64=aarch64-linux-gnu- CFLAGS= LDFLAGS= PLATFORM=k3-j784s4 CFG_CONSOLE_UART=0x8 CFG_ARM64_core=y all
cp -v ./tmp/optee/core/tee-pager_v2.bin /opt/u-boot/$(TARGETDIR)/
mkdir -p ./tmp/u-boot/ ; git clone -b $(UB_BRANCH) $(UB_REPO) --depth=5 ./tmp/u-boot/
make -C ./tmp/u-boot -j1 O=../r5 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- $(UB_CONFIG)_r5_defconfig
make -C ./tmp/u-boot -j5 O=../r5 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- BINMAN_INDIRS=/opt/u-boot/$(TARGETDIR)/ti-linux-firmware/
ls -lha ./tmp/r5/*
#cp -v ./tmp/r5/tiboot3-am62x-gp-evm.bin ./tmp/pkg/tiboot3.bin
cp -v ./tmp/r5/sysfw.itb ./tmp/pkg/
make -C ./tmp/u-boot -j1 O=../a72 ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- $(UB_CONFIG)_a72_defconfig
make -C ./tmp/u-boot -j5 O=../a72 ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- BL31=/opt/u-boot/$(TARGETDIR)/bl31.bin TEE=/opt/u-boot/$(TARGETDIR)/tee-pager_v2.bin BINMAN_INDIRS=/opt/u-boot/$(TARGETDIR)/ti-linux-firmware/
ls -lha ./tmp/a72/*
#cp -v ./tmp/a53/tispl.bin_unsigned ./tmp/pkg/tispl.bin
#cp -v ./tmp/a53/u-boot.img_unsigned ./tmp/pkg/u-boot.img
%:
dh $@
#!/bin/bash -e
#https://git.beagleboard.org/beagleboard/u-boot/
package_name="bb-u-boot-sk-am69"
debian_pkg_name="${package_name}"
package_version="2023.04.20230101.0"
package_source=""
src_dir=""
git_repo=""
git_sha=""
reprepro_dir="b/${package_name}"
dl_path="pool/main/${reprepro_dir}/"
debian_version="${package_version}-0"
debian_untar=""
debian_patch=""
clear_changelog="enable"
bookworm_version="~bookworm+20230726"
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment