Forum | Documentation | Website | Blog

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

bb-u-boot-beagley-ai (2023.04.20240319.0)


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent df688508
No related merge requests found
Showing
with 235 additions and 16 deletions
* 20240308 - 09.02.00.007 - https://git.ti.com/gitweb?p=processor-firmware/ti-linux-firmware.git;a=shortlog;h=refs/tags/09.02.00.007
* 20240209 - v2.10.2 - https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/log/?h=lts-v2.10.2
* 20240319 - 09.02.00.009 - https://openbeagle.org/beagleboard/u-boot/-/commits/v2023.04-ti-09.02.00.009-BeagleY-AI
* 20240320 - 09.02.00.009 - https://git.ti.com/gitweb?p=processor-firmware/ti-linux-firmware.git;a=tag;h=refs/tags/09.02.00.009
* 20240319 - master - https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/commit/?id=57249e77583c8cb36d81725e4bc1996688082838
* 20240119 - 4.1.0 - https://github.com/OP-TEE/optee_os/commits/4.1.0
bb-u-boot-j722s (2023.04.20240307.0-09.02.00.007-0~bookworm+20240308) bookworm; urgency=low
bb-u-boot-beagley-ai (2023.04.20240319.0-09.02.00.009-0~bookworm+20240327) bookworm; urgency=low
* 20240308 - 09.02.00.007 - https://git.ti.com/gitweb?p=processor-firmware/ti-linux-firmware.git;a=shortlog;h=refs/tags/09.02.00.007
* 20240209 - v2.10.2 - https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/log/?h=lts-v2.10.2
* 20240319 - 09.02.00.009 - https://openbeagle.org/beagleboard/u-boot/-/commits/v2023.04-ti-09.02.00.009-BeagleY-AI
* 20240320 - 09.02.00.009 - https://git.ti.com/gitweb?p=processor-firmware/ti-linux-firmware.git;a=tag;h=refs/tags/09.02.00.009
* 20240319 - master - https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/commit/?id=57249e77583c8cb36d81725e4bc1996688082838
* 20240119 - 4.1.0 - https://github.com/OP-TEE/optee_os/commits/4.1.0
-- Robert Nelson <robertcnelson@gmail.com> Fri, 08 Mar 2024 13:39:47 -0600
-- Robert Nelson <robertcnelson@gmail.com> Wed, 27 Mar 2024 09:56:54 -0500
......@@ -5,7 +5,7 @@ if ! id | grep -q root; then
exit
fi
wdir="/opt/u-boot/bb-u-boot-j722s"
wdir="/opt/u-boot/bb-u-boot-beagley-ai"
if [ -d /boot/firmware/ ] ; then
cp -v ${wdir}/tiboot3.bin /boot/firmware/
......
......@@ -5,7 +5,7 @@ if ! id | grep -q root; then
exit
fi
wdir="/opt/u-boot/bb-u-boot-j722s"
wdir="/opt/u-boot/bb-u-boot-beagley-ai"
if [ -d /boot/firmware/ ] ; then
cp -v ${wdir}/tiboot3.bin /boot/firmware/
......
......@@ -14,7 +14,7 @@ TARGETDIR=bb-u-boot-beagley-ai
#HEAD: https://git.ti.com/gitweb?p=processor-firmware/ti-linux-firmware.git;a=summary
#TAGS: https://git.ti.com/gitweb?p=processor-firmware/ti-linux-firmware.git;a=tags
#Mirror: https://github.com/beagleboard/ti-linux-firmware
TILF_TAG=09.02.00.007
TILF_TAG=09.02.00.009
#TILF_REPO="https://github.com/beagleboard/ti-linux-firmware.git"
#Local Mirror
TILF_REPO="https://git.gfnd.rcn-ee.org/TexasInstruments/ti-linux-firmware.git"
......@@ -22,8 +22,8 @@ TILF_REPO="https://git.gfnd.rcn-ee.org/TexasInstruments/ti-linux-firmware.git"
#trusted-firmware-a
#HEAD: https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/
#TAGS: https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/refs/
#TFA_TAG=master
TFA_TAG=lts-v2.10.2
TFA_TAG=master
#TFA_TAG=lts-v2.10.2
#TFA_REPO="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git"
#Local Mirror
TFA_REPO="https://git.gfnd.rcn-ee.org/mirror/trusted-firmware-a.git"
......@@ -42,8 +42,8 @@ OPTEE_PLATFORM=k3-am62x
#U-Boot
UBOOT_CFG_CORTEXR="j722s_evm_r5_defconfig"
UBOOT_CFG_CORTEXA="j722s_evm_a53_defconfig"
UB_TAG="09.02.00.007-dev"
UB_REPO="https://git.gfnd.rcn-ee.org/development/ti-u-boot.git"
UB_TAG="v2023.04-ti-09.02.00.009-BeagleY-AI"
UB_REPO="https://github.com/beagleboard/u-boot.git"
UB_TIBOOT=tiboot3-j722s-hs-fs-evm.bin
override_dh_strip:
......
bb-u-boot-beagley-ai (2023.04.20240319.0-09.02.00.009-0~bullseye+20240327) bullseye; urgency=low
* 20240319 - 09.02.00.009 - https://openbeagle.org/beagleboard/u-boot/-/commits/v2023.04-ti-09.02.00.009-BeagleY-AI
* 20240320 - 09.02.00.009 - https://git.ti.com/gitweb?p=processor-firmware/ti-linux-firmware.git;a=tag;h=refs/tags/09.02.00.009
* 20240319 - master - https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/commit/?id=57249e77583c8cb36d81725e4bc1996688082838
* 20240119 - 4.1.0 - https://github.com/OP-TEE/optee_os/commits/4.1.0
-- Robert Nelson <robertcnelson@gmail.com> Wed, 27 Mar 2024 09:56:54 -0500
9
Source: bb-u-boot-beagley-ai
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
, yamllint
Standards-Version: 4.5.1
Package: bb-u-boot-beagley-ai
Architecture: arm64
Depends:
${shlibs:Depends}
, ${misc:Depends}
Description: bb-u-boot-beagley-ai
bb-u-boot-beagley-ai
debian/install.sh /opt/u-boot/bb-u-boot-beagley-ai
debian/install-microsd.sh /opt/u-boot/bb-u-boot-beagley-ai
debian/microsd-extlinux.conf /opt/u-boot/bb-u-boot-beagley-ai
tmp/pkg/bl31.bin /opt/u-boot/bb-u-boot-beagley-ai
tmp/pkg/tee-pager_v2.bin /opt/u-boot/bb-u-boot-beagley-ai
tmp/pkg/tiboot3.bin /opt/u-boot/bb-u-boot-beagley-ai
tmp/pkg/tispl.bin /opt/u-boot/bb-u-boot-beagley-ai
tmp/pkg/u-boot.img /opt/u-boot/bb-u-boot-beagley-ai
#!/bin/bash
if ! id | grep -q root; then
echo "must be run as root"
exit
fi
wdir="/opt/u-boot/bb-u-boot-beagley-ai"
if [ -d /boot/firmware/ ] ; then
cp -v ${wdir}/tiboot3.bin /boot/firmware/
cp -v ${wdir}/tispl.bin /boot/firmware/
cp -v ${wdir}/u-boot.img /boot/firmware/
fi
#!/bin/bash
if ! id | grep -q root; then
echo "must be run as root"
exit
fi
wdir="/opt/u-boot/bb-u-boot-beagley-ai"
if [ -d /boot/firmware/ ] ; then
cp -v ${wdir}/tiboot3.bin /boot/firmware/
cp -v ${wdir}/tispl.bin /boot/firmware/
cp -v ${wdir}/u-boot.img /boot/firmware/
fi
menu title beagley-ai microSD (extlinux.conf)
timeout 50
default microSD (default)
label microSD Recovery
kernel /Image
append console=ttyS2,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0
fdtdir /
fdt /ti/k3-j722s-evm.dtb
#fdtoverlays /overlays/<file>.dtbo
initrd /initrd.img
label microSD (RPI 7inch panel)
kernel /Image
append console=ttyS2,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0
fdtdir /
fdt /ti/k3-j722s-evm.dtb
fdtoverlays /overlays/k3-j722s-evm-dsi-rpi-7inch-panel.dtbo
initrd /initrd.img
label microSD (lincolntech-185lcd panel)
kernel /Image
append console=ttyS2,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0
fdtdir /
fdt /ti/k3-j722s-evm.dtb
fdtoverlays /overlays/k3-j722s-evm-lincolntech-185lcd-panel.dtbo
initrd /initrd.img
label microSD (csi0 imx219)
kernel /Image
append console=ttyS2,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0
fdtdir /
fdt /ti/k3-j722s-evm.dtb
fdtoverlays /overlays/k3-j722s-evm-csi0-imx219.dtbo
initrd /initrd.img
label microSD (csi1 imx219)
kernel /Image
append console=ttyS2,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0
fdtdir /
fdt /ti/k3-j722s-evm.dtb
fdtoverlays /overlays/k3-j722s-evm-csi1-imx219.dtbo
initrd /initrd.img
label microSD (csi0 ov5640)
kernel /Image
append console=ttyS2,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0
fdtdir /
fdt /ti/k3-j722s-evm.dtb
fdtoverlays /overlays/k3-j722s-evm-csi0-ov5640.dtbo
initrd /initrd.img
label microSD (default)
kernel /Image
append console=ttyS2,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0
fdtdir /
fdt /ti/k3-j722s-evm.dtb
#fdtoverlays /overlays/<file>.dtbo
initrd /initrd.img
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
TARGETDIR=bb-u-boot-beagley-ai
#/opt/u-boot/$(TARGETDIR)/
#ti-linux-firmware
#HEAD: https://git.ti.com/gitweb?p=processor-firmware/ti-linux-firmware.git;a=summary
#TAGS: https://git.ti.com/gitweb?p=processor-firmware/ti-linux-firmware.git;a=tags
#Mirror: https://github.com/beagleboard/ti-linux-firmware
TILF_TAG=09.02.00.009
#TILF_REPO="https://github.com/beagleboard/ti-linux-firmware.git"
#Local Mirror
TILF_REPO="https://git.gfnd.rcn-ee.org/TexasInstruments/ti-linux-firmware.git"
#trusted-firmware-a
#HEAD: https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/
#TAGS: https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/refs/
TFA_TAG=master
#TFA_TAG=lts-v2.10.2
#TFA_REPO="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git"
#Local Mirror
TFA_REPO="https://git.gfnd.rcn-ee.org/mirror/trusted-firmware-a.git"
TFA_BOARD=lite
#optee_os
#HEAD: https://github.com/OP-TEE/optee_os
#TAGS: https://github.com/OP-TEE/optee_os/tags
#OPTEE_TAG=master
OPTEE_TAG=4.1.0
#OPTEE_REPO="https://github.com/OP-TEE/optee_os"
#Local Mirror
OPTEE_REPO="https://git.gfnd.rcn-ee.org/mirror/optee_os.git"
OPTEE_PLATFORM=k3-am62x
#U-Boot
UBOOT_CFG_CORTEXR="j722s_evm_r5_defconfig"
UBOOT_CFG_CORTEXA="j722s_evm_a53_defconfig"
UB_TAG="v2023.04-ti-09.02.00.009-BeagleY-AI"
UB_REPO="https://github.com/beagleboard/u-boot.git"
UB_TIBOOT=tiboot3-j722s-hs-fs-evm.bin
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 -c http.sslVerify=false 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/trusted-firmware-a/ ; git -c http.sslVerify=false clone -b $(TFA_TAG) $(TFA_REPO) --depth=5 ./tmp/trusted-firmware-a/ ; git --git-dir ./tmp/trusted-firmware-a/.git log --pretty=oneline
make -C ./tmp/trusted-firmware-a/ -j8 CROSS_COMPILE=aarch64-linux-gnu- CFLAGS= LDFLAGS= ARCH=aarch64 PLAT=k3 TARGET_BOARD=$(TFA_BOARD) SPD=opteed all
cp -v ./tmp/trusted-firmware-a/build/k3/$(TFA_BOARD)/release/bl31.bin ./tmp/pkg/
cp -v ./tmp/trusted-firmware-a/build/k3/$(TFA_BOARD)/release/bl31.bin /opt/u-boot/$(TARGETDIR)/
mkdir -p ./tmp/optee_os/ ; git -c http.sslVerify=false clone -b $(OPTEE_TAG) $(OPTEE_REPO) --depth=5 ./tmp/optee_os/ ; git --git-dir ./tmp/optee_os/.git log --pretty=oneline
make -C ./tmp/optee_os/ -j8 O=../optee CROSS_COMPILE=arm-linux-gnueabihf- CROSS_COMPILE64=aarch64-linux-gnu- CFLAGS= LDFLAGS= PLATFORM=$(OPTEE_PLATFORM) CFG_WITH_SOFTWARE_PRNG=y CFG_ARM64_core=y all
cp -v ./tmp/optee/core/tee-pager_v2.bin ./tmp/pkg/
cp -v ./tmp/optee/core/tee-pager_v2.bin /opt/u-boot/$(TARGETDIR)/
mkdir -p ./tmp/u-boot/ ; git -c http.sslVerify=false clone -b $(UB_TAG) $(UB_REPO) --depth=5 ./tmp/u-boot/ ; git --git-dir ./tmp/u-boot/.git log --pretty=oneline
make -C ./tmp/u-boot -j1 O=../CORTEXR CROSS_COMPILE=arm-linux-gnueabihf- $(UBOOT_CFG_CORTEXR)
make -C ./tmp/u-boot -j8 O=../CORTEXR CROSS_COMPILE=arm-linux-gnueabihf- BINMAN_INDIRS=/opt/u-boot/$(TARGETDIR)/ti-linux-firmware/
ls -lha ./tmp/CORTEXR/
cp -v ./tmp/CORTEXR/$(UB_TIBOOT) ./tmp/pkg/tiboot3.bin
make -C ./tmp/u-boot -j1 O=../CORTEXA CROSS_COMPILE=aarch64-linux-gnu- $(UBOOT_CFG_CORTEXA)
make -C ./tmp/u-boot -j8 O=../CORTEXA 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/CORTEXA/
cp -v ./tmp/CORTEXA/tispl.bin ./tmp/pkg/tispl.bin
cp -v ./tmp/CORTEXA/u-boot.img ./tmp/pkg/u-boot.img
%:
dh $@
override_dh_builddeb:
dh_builddeb -- -Zxz
......@@ -2,11 +2,10 @@
#https://openbeagle.org/beagleboard/u-boot/
#https://github.com/u-boot/u-boot/commits/master
#https://git.ti.com/gitweb?p=ti-u-boot/ti-u-boot.git;a=shortlog;h=refs/heads/ti-u-boot-2023.04
package_name="bb-u-boot-beagley-ai"
debian_pkg_name="${package_name}"
package_version="2023.04.20240307.0-09.02.00.007"
package_version="2023.04.20240319.0-09.02.00.009"
package_source=""
src_dir=""
......@@ -21,4 +20,5 @@ debian_patch=""
clear_changelog="enable"
bookworm_version="~bookworm+20240308"
bullseye_version="~bullseye+20240327"
bookworm_version="~bookworm+20240327"
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