Forum | Documentation | Website | Blog

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

bb-u-boot-beagleplay-mainline: just copy firmware over


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent cffb12f1
Branches
No related merge requests found
......@@ -16,6 +16,7 @@ Build-Depends:
, python3-jsonschema
, python3-pycryptodome
, python3-pyelftools
, rsync
, u-boot-tools
Standards-Version: 4.5.1
......
......@@ -11,10 +11,8 @@ debian/beagleplay-emmc-to-microsd-w-swap /opt/u-boot/bb-u-boot-beagleplay-mainli
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-signed.bin /opt/u-boot/bb-u-boot-beagleplay-mainline
tmp/ti-linux-firmware/ti-dm/am62xx/ipc_echo_testb_mcu1_0_release_strip.xer5f /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/a53/tispl.bin /opt/u-boot/bb-u-boot-beagleplay-mainline
tmp/a53/u-boot.img /opt/u-boot/bb-u-boot-beagleplay-mainline
tmp/r5/spl/u-boot-spl.bin /opt/u-boot/bb-u-boot-beagleplay-mainline
tmp/k3-image-gen/tiboot3.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
......@@ -34,21 +34,23 @@ override_dh_strip:
# Just disable for now...
override_dh_auto_configure:
mkdir -p /opt/u-boot/$(TARGETDIR)/
mkdir -p /opt/u-boot/$(TARGETDIR)/ti-linux-firmware/ ; git clone -b $(TILF_TAG) $(TILF_REPO) --depth=1 /opt/u-boot/$(TARGETDIR)/ti-linux-firmware/
mkdir -p ./tmp/arm-trusted-firmware/ ; git clone -b $(ATF_TAG) $(ATF_REPO) --depth=1 ./tmp/arm-trusted-firmware/
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 -av ./tmp/ti-linux-firmware/* /opt/u-boot/$(TARGETDIR)/ti-linux-firmware/
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=1 ./tmp/optee_os/
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=1 ./tmp/u-boot/
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 /opt/u-boot/$(TARGETDIR)/tiboot3.bin
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/
ls -lha ./tmp/a53
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 $@
......
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