Forum | Documentation | Website | Blog

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

bb-u-boot-beagleplay-mainline (2023.07.20230725.5) - drop bullseye build failure in u-boot with gcc


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent bdfaf476
Branches
No related merge requests found
Showing
with 7 additions and 240 deletions
bb-u-boot-beagleplay-mainline (2023.07.20230725.4-0~bookworm+20230725) bookworm; urgency=low
bb-u-boot-beagleplay-mainline (2023.07.20230725.5-0~bookworm+20230725) bookworm; urgency=low
* Rebuild for repos.rcn-ee.com
-- Robert Nelson <robertcnelson@gmail.com> Tue, 25 Jul 2023 19:00:22 -0500
-- Robert Nelson <robertcnelson@gmail.com> Tue, 25 Jul 2023 19:10:49 -0500
source=/dev/mmcblk0
destination=/dev/mmcblk1
rfs_partition=dual
rfs_boot_startmb=1
rfs_boot_size_mb=128
flash_back=/opt/u-boot/bb-u-boot-beagleplay-mainline/beagleplay-microsd-to-emmc
extlinux=/opt/u-boot/bb-u-boot-beagleplay-mainline/microsd-extlinux.conf
flash_cc1352p=enable
source=/dev/mmcblk0
destination=/dev/mmcblk1
rfs_partition=dual
rfs_boot_startmb=1
rfs_boot_size_mb=128
rfs_swap_size_mb=2048
flash_back=/opt/u-boot/bb-u-boot-beagleplay-mainline/beagleplay-microsd-to-emmc-w-swap
extlinux=/opt/u-boot/bb-u-boot-beagleplay-mainline/microsd-extlinux-w-swap.conf
flash_cc1352p=enable
source=/dev/mmcblk1
destination=/dev/mmcblk0
rfs_partition=dual
rfs_boot_startmb=1
rfs_boot_size_mb=128
bootloader=/opt/u-boot/bb-u-boot-beagleplay-mainline/install-emmc.sh
flash_back=/opt/u-boot/bb-u-boot-beagleplay-mainline/beagleplay-emmc-to-microsd
extlinux=/opt/u-boot/bb-u-boot-beagleplay-mainline/emmc-extlinux.conf
flash_cc1352p=enable
source=/dev/mmcblk1
destination=/dev/mmcblk0
rfs_partition=dual
rfs_boot_startmb=1
rfs_boot_size_mb=128
rfs_swap_size_mb=2048
bootloader=/opt/u-boot/bb-u-boot-beagleplay-mainline/install-emmc.sh
flash_back=/opt/u-boot/bb-u-boot-beagleplay-mainline/beagleplay-emmc-to-microsd-w-swap
extlinux=/opt/u-boot/bb-u-boot-beagleplay-mainline/emmc-extlinux-w-swap.conf
flash_cc1352p=enable
bb-u-boot-beagleplay-mainline (2023.07.20230725.4-0~bullseye+20230725) bullseye; urgency=low
* Rebuild for repos.rcn-ee.com
-- Robert Nelson <robertcnelson@gmail.com> Tue, 25 Jul 2023 19:00:22 -0500
9
Source: bb-u-boot-beagleplay-mainline
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-yaml
, rsync
, swig
, u-boot-tools
Standards-Version: 4.5.1
Package: bb-u-boot-beagleplay-mainline
Architecture: arm64
Depends:
${shlibs:Depends}
, ${misc:Depends}
, mmc-utils
Description: bb-u-boot-beagleplay-mainline
bb-u-boot-beagleplay-mainline
label Linux eMMC with swap
kernel /Image
append root=/dev/mmcblk0p3 ro rootfstype=ext4 resume=/dev/mmcblk0p2 rootwait net.ifnames=0 quiet
fdtdir /
#fdtoverlays /overlays/<file>.dtbo
initrd /initrd.img
label Linux eMMC
kernel /Image
append root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0 quiet
fdtdir /
#fdtoverlays /overlays/<file>.dtbo
initrd /initrd.img
debian/install.sh /opt/u-boot/bb-u-boot-beagleplay-mainline
debian/install-microsd.sh /opt/u-boot/bb-u-boot-beagleplay-mainline
debian/install-emmc.sh /opt/u-boot/bb-u-boot-beagleplay-mainline
debian/microsd-extlinux.conf /opt/u-boot/bb-u-boot-beagleplay-mainline
debian/emmc-extlinux.conf /opt/u-boot/bb-u-boot-beagleplay-mainline
debian/microsd-extlinux-w-swap.conf /opt/u-boot/bb-u-boot-beagleplay-mainline
debian/emmc-extlinux-w-swap.conf /opt/u-boot/bb-u-boot-beagleplay-mainline
debian/beagleplay-emmc-to-microsd /opt/u-boot/bb-u-boot-beagleplay-mainline
debian/beagleplay-microsd-to-emmc /opt/u-boot/bb-u-boot-beagleplay-mainline
debian/beagleplay-emmc-to-microsd-w-swap /opt/u-boot/bb-u-boot-beagleplay-mainline
debian/beagleplay-microsd-to-emmc-w-swap /opt/u-boot/bb-u-boot-beagleplay-mainline
tmp/ti-linux-firmware/ti-sysfw/ti-fs-firmware-am62x-gp.bin /opt/u-boot/bb-u-boot-beagleplay-mainline
tmp/ti-linux-firmware/ti-sysfw/ti-fs-stub-firmware-am62x-gp.bin /opt/u-boot/bb-u-boot-beagleplay-mainline
tmp/arm-trusted-firmware/build/k3/lite/release/bl31.bin /opt/u-boot/bb-u-boot-beagleplay-mainline
tmp/optee/core/tee-pager_v2.bin /opt/u-boot/bb-u-boot-beagleplay-mainline
tmp/pkg/tiboot3.bin /opt/u-boot/bb-u-boot-beagleplay-mainline
tmp/pkg/tispl.bin /opt/u-boot/bb-u-boot-beagleplay-mainline
tmp/pkg/u-boot.img /opt/u-boot/bb-u-boot-beagleplay-mainline
#!/bin/bash
if ! id | grep -q root; then
echo "must be run as root"
exit
fi
wdir="/opt/u-boot/bb-u-boot-beagleplay-mainline"
if [ -b /dev/mmcblk0 ] ; then
#mmc extcsd read /dev/mmcblk0
mmc bootpart enable 1 2 /dev/mmcblk0
mmc bootbus set single_backward x1 x8 /dev/mmcblk0
mmc hwreset enable /dev/mmcblk0
echo "Clearing eMMC boot0"
echo '0' >> /sys/class/block/mmcblk0boot0/force_ro
echo "dd if=/dev/zero of=/dev/mmcblk0boot0 count=32 bs=128k"
dd if=/dev/zero of=/dev/mmcblk0boot0 count=32 bs=128k
echo "dd if=${wdir}/tiboot3.bin of=/dev/mmcblk0boot0 bs=128k"
dd if=${wdir}/tiboot3.bin of=/dev/mmcblk0boot0 bs=128k
fi
#!/bin/bash
if ! id | grep -q root; then
echo "must be run as root"
exit
fi
wdir="/opt/u-boot/bb-u-boot-beagleplay-mainline"
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/
if [ ! -d /boot/firmware/ti-sysfw/ ] ; then
mkdir -p /boot/firmware/ti-sysfw/
fi
cp -v ${wdir}/ti-fs-stub-firmware-am62x-gp-signed.bin /boot/firmware/ti-sysfw/
fi
#!/bin/bash
if ! id | grep -q root; then
echo "must be run as root"
exit
fi
wdir="/opt/u-boot/bb-u-boot-beagleplay-mainline"
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
label Linux microSD with swap
kernel /Image
append root=/dev/mmcblk1p3 ro rootfstype=ext4 resume=/dev/mmcblk1p2 rootwait net.ifnames=0 quiet
fdtdir /
#fdtoverlays /overlays/<file>.dtbo
initrd /initrd.img
label Linux microSD
kernel /Image
append root=/dev/mmcblk1p2 ro rootfstype=ext4 rootwait net.ifnames=0 quiet
fdtdir /
#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-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/
#2.9+
ATF_TAG=master
ATF_REPO="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git"
#optee_os
#HEAD: https://github.com/OP-TEE/optee_os
#3.22.0+
TEE_TAG=master
TEE_REPO="https://github.com/OP-TEE/optee_os"
#U-Boot
UB_CONFIG=am62x_evm
UB_BRANCH=BeaglePlay-V1-mainline-rfc
UB_REPO="https://git.beagleboard.org/beagleboard/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=lite K3_PM_SYSTEM_SUSPEND=1 SPD=opteed all
cp -v ./tmp/arm-trusted-firmware/build/k3/lite/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-am62x CFG_WITH_SOFTWARE_PRNG=y 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/
cp -v ./tmp/r5/tiboot3-am62x-gp-evm.bin ./tmp/pkg/tiboot3.bin
make -C ./tmp/u-boot -j1 O=../a53 ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- $(UB_CONFIG)_a53_defconfig
make -C ./tmp/u-boot -j5 O=../a53 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/
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 $@
bb-u-boot-beagleplay-mainline (2023.07.20230725.4-0~jammy+20230725) jammy; urgency=low
bb-u-boot-beagleplay-mainline (2023.07.20230725.5-0~jammy+20230725) jammy; urgency=low
* Rebuild for repos.rcn-ee.com
-- Robert Nelson <robertcnelson@gmail.com> Tue, 25 Jul 2023 19:00:22 -0500
-- Robert Nelson <robertcnelson@gmail.com> Tue, 25 Jul 2023 19:10:49 -0500
bb-u-boot-beagleplay-mainline (2023.07.20230725.4-0~trixie+20230725) trixie; urgency=low
bb-u-boot-beagleplay-mainline (2023.07.20230725.5-0~trixie+20230725) trixie; urgency=low
* Rebuild for repos.rcn-ee.com
-- Robert Nelson <robertcnelson@gmail.com> Tue, 25 Jul 2023 19:00:22 -0500
-- Robert Nelson <robertcnelson@gmail.com> Tue, 25 Jul 2023 19:10:49 -0500
......@@ -4,7 +4,7 @@
package_name="bb-u-boot-beagleplay-mainline"
debian_pkg_name="${package_name}"
package_version="2023.07.20230725.4"
package_version="2023.07.20230725.5"
package_source=""
src_dir=""
......@@ -19,7 +19,6 @@ debian_patch=""
clear_changelog="enable"
bullseye_version="~bullseye+20230725"
bookworm_version="~bookworm+20230725"
trixie_version="~trixie+20230725"
jammy_version="~jammy+20230725"
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