Forum | Documentation | Website | Blog

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

bb-u-boot-beagleplay (2025.01.20250107.0)


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent 5661d6ed
Branches
No related merge requests found
Showing
with 286 additions and 23 deletions
* 20241007 - v2024.10 - https://github.com/u-boot/u-boot/releases/tag/v2024.10 * 20250107 - v2025.01 - https://github.com/u-boot/u-boot/releases/tag/v2025.01
* 20241118 - 10.01.10 - https://git.ti.com/gitweb?p=processor-firmware/ti-linux-firmware.git;a=tag;h=refs/tags/10.01.10 * 20241204 - 10.01.10 - https://git.ti.com/gitweb?p=processor-firmware/ti-linux-firmware.git;a=tag;h=refs/tags/10.01.10
* 20241018 - 4.4.0 - https://github.com/OP-TEE/optee_os/commits/4.4.0 * 20241018 - 4.4.0 - https://github.com/OP-TEE/optee_os/commits/4.4.0
* 20241115 - v2.12.0 - https://github.com/ARM-software/arm-trusted-firmware/releases/tag/v2.12.0 * 20241115 - v2.12.0 - https://github.com/ARM-software/arm-trusted-firmware/releases/tag/v2.12.0
* add extlinux.conf boot menu options over serial * add extlinux.conf boot menu options over serial
......
bb-u-boot-beagleplay (2024.10.20241114.1-0~bookworm+20241219) bookworm; urgency=low bb-u-boot-beagleplay (2025.01.20250107.0-0~bookworm+20250114) bookworm; urgency=low
* 20241007 - v2024.10 - https://github.com/u-boot/u-boot/releases/tag/v2024.10 * 20250107 - v2025.01 - https://github.com/u-boot/u-boot/releases/tag/v2025.01
* 20241118 - 10.01.10 - https://git.ti.com/gitweb?p=processor-firmware/ti-linux-firmware.git;a=tag;h=refs/tags/10.01.10 * 20241204 - 10.01.10 - https://git.ti.com/gitweb?p=processor-firmware/ti-linux-firmware.git;a=tag;h=refs/tags/10.01.10
* 20241018 - 4.4.0 - https://github.com/OP-TEE/optee_os/commits/4.4.0 * 20241018 - 4.4.0 - https://github.com/OP-TEE/optee_os/commits/4.4.0
* 20241115 - v2.12.0 - https://github.com/ARM-software/arm-trusted-firmware/releases/tag/v2.12.0 * 20241115 - v2.12.0 - https://github.com/ARM-software/arm-trusted-firmware/releases/tag/v2.12.0
* add extlinux.conf boot menu options over serial * add extlinux.conf boot menu options over serial
...@@ -11,5 +11,5 @@ bb-u-boot-beagleplay (2024.10.20241114.1-0~bookworm+20241219) bookworm; urgency= ...@@ -11,5 +11,5 @@ bb-u-boot-beagleplay (2024.10.20241114.1-0~bookworm+20241219) bookworm; urgency=
* Flasher scripts, echo Serial over HDMI * Flasher scripts, echo Serial over HDMI
* extlinux.conf, unify labels to make flasher change more generic * extlinux.conf, unify labels to make flasher change more generic
-- Robert Nelson <robertcnelson@gmail.com> Thu, 19 Dec 2024 11:38:57 -0600 -- Robert Nelson <robertcnelson@gmail.com> Tue, 14 Jan 2025 16:16:16 -0600
...@@ -43,9 +43,11 @@ OPTEE_PLATFORM=k3-am62x ...@@ -43,9 +43,11 @@ OPTEE_PLATFORM=k3-am62x
#U-Boot #U-Boot
UBOOT_CFG_CORTEXR="am62x_beagleplay_r5_defconfig" UBOOT_CFG_CORTEXR="am62x_beagleplay_r5_defconfig"
UBOOT_CFG_CORTEXA="am62x_beagleplay_a53_defconfig" UBOOT_CFG_CORTEXA="am62x_beagleplay_a53_defconfig"
UB_TAG="v2024.10-Beagle" UB_TAG="v2025.01-Beagle"
UB_REPO="https://github.com/beagleboard/u-boot.git" UB_REPO="https://github.com/beagleboard/u-boot.git"
UB_TIBOOT=tiboot3-am62x-gp-evm.bin UB_TIBOOT=tiboot3-am62x-gp-evm.bin
UB_TISPL=tispl.bin_unsigned
UB_IMG=u-boot.img_unsigned
override_dh_strip: override_dh_strip:
# Just disable for now... # Just disable for now...
...@@ -70,8 +72,8 @@ override_dh_auto_configure: ...@@ -70,8 +72,8 @@ override_dh_auto_configure:
make -C ./tmp/u-boot -j1 O=../CORTEXA CROSS_COMPILE=aarch64-linux-gnu- $(UBOOT_CFG_CORTEXA) 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/ 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/ ls -lha ./tmp/CORTEXA/
cp -v ./tmp/CORTEXA/tispl.bin_unsigned ./tmp/pkg/tispl.bin cp -v ./tmp/CORTEXA/$(UB_TISPL) ./tmp/pkg/tispl.bin
cp -v ./tmp/CORTEXA/u-boot.img_unsigned ./tmp/pkg/u-boot.img cp -v ./tmp/CORTEXA/$(UB_IMG) ./tmp/pkg/u-boot.img
%: %:
dh $@ dh $@
......
bb-u-boot-beagleplay (2024.10.20241114.1-0~jammy+20241219) jammy; urgency=low bb-u-boot-beagleplay (2025.01.20250107.0-0~jammy+20250114) jammy; urgency=low
* 20241007 - v2024.10 - https://github.com/u-boot/u-boot/releases/tag/v2024.10 * 20250107 - v2025.01 - https://github.com/u-boot/u-boot/releases/tag/v2025.01
* 20241118 - 10.01.10 - https://git.ti.com/gitweb?p=processor-firmware/ti-linux-firmware.git;a=tag;h=refs/tags/10.01.10 * 20241204 - 10.01.10 - https://git.ti.com/gitweb?p=processor-firmware/ti-linux-firmware.git;a=tag;h=refs/tags/10.01.10
* 20241018 - 4.4.0 - https://github.com/OP-TEE/optee_os/commits/4.4.0 * 20241018 - 4.4.0 - https://github.com/OP-TEE/optee_os/commits/4.4.0
* 20241115 - v2.12.0 - https://github.com/ARM-software/arm-trusted-firmware/releases/tag/v2.12.0 * 20241115 - v2.12.0 - https://github.com/ARM-software/arm-trusted-firmware/releases/tag/v2.12.0
* add extlinux.conf boot menu options over serial * add extlinux.conf boot menu options over serial
...@@ -11,5 +11,5 @@ bb-u-boot-beagleplay (2024.10.20241114.1-0~jammy+20241219) jammy; urgency=low ...@@ -11,5 +11,5 @@ bb-u-boot-beagleplay (2024.10.20241114.1-0~jammy+20241219) jammy; urgency=low
* Flasher scripts, echo Serial over HDMI * Flasher scripts, echo Serial over HDMI
* extlinux.conf, unify labels to make flasher change more generic * extlinux.conf, unify labels to make flasher change more generic
-- Robert Nelson <robertcnelson@gmail.com> Thu, 19 Dec 2024 11:38:57 -0600 -- Robert Nelson <robertcnelson@gmail.com> Tue, 14 Jan 2025 16:16:16 -0600
...@@ -43,9 +43,11 @@ OPTEE_PLATFORM=k3-am62x ...@@ -43,9 +43,11 @@ OPTEE_PLATFORM=k3-am62x
#U-Boot #U-Boot
UBOOT_CFG_CORTEXR="am62x_beagleplay_r5_defconfig" UBOOT_CFG_CORTEXR="am62x_beagleplay_r5_defconfig"
UBOOT_CFG_CORTEXA="am62x_beagleplay_a53_defconfig" UBOOT_CFG_CORTEXA="am62x_beagleplay_a53_defconfig"
UB_TAG="v2024.10-Beagle" UB_TAG="v2025.01-Beagle"
UB_REPO="https://github.com/beagleboard/u-boot.git" UB_REPO="https://github.com/beagleboard/u-boot.git"
UB_TIBOOT=tiboot3-am62x-gp-evm.bin UB_TIBOOT=tiboot3-am62x-gp-evm.bin
UB_TISPL=tispl.bin_unsigned
UB_IMG=u-boot.img_unsigned
override_dh_strip: override_dh_strip:
# Just disable for now... # Just disable for now...
...@@ -70,8 +72,8 @@ override_dh_auto_configure: ...@@ -70,8 +72,8 @@ override_dh_auto_configure:
make -C ./tmp/u-boot -j1 O=../CORTEXA CROSS_COMPILE=aarch64-linux-gnu- $(UBOOT_CFG_CORTEXA) 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/ 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/ ls -lha ./tmp/CORTEXA/
cp -v ./tmp/CORTEXA/tispl.bin_unsigned ./tmp/pkg/tispl.bin cp -v ./tmp/CORTEXA/$(UB_TISPL) ./tmp/pkg/tispl.bin
cp -v ./tmp/CORTEXA/u-boot.img_unsigned ./tmp/pkg/u-boot.img cp -v ./tmp/CORTEXA/$(UB_IMG) ./tmp/pkg/u-boot.img
%: %:
dh $@ dh $@
......
bb-u-boot-beagleplay (2024.10.20241114.1-0~noble+20241219) noble; urgency=low bb-u-boot-beagleplay (2025.01.20250107.0-0~noble+20250114) noble; urgency=low
* 20241007 - v2024.10 - https://github.com/u-boot/u-boot/releases/tag/v2024.10 * 20250107 - v2025.01 - https://github.com/u-boot/u-boot/releases/tag/v2025.01
* 20241118 - 10.01.10 - https://git.ti.com/gitweb?p=processor-firmware/ti-linux-firmware.git;a=tag;h=refs/tags/10.01.10 * 20241204 - 10.01.10 - https://git.ti.com/gitweb?p=processor-firmware/ti-linux-firmware.git;a=tag;h=refs/tags/10.01.10
* 20241018 - 4.4.0 - https://github.com/OP-TEE/optee_os/commits/4.4.0 * 20241018 - 4.4.0 - https://github.com/OP-TEE/optee_os/commits/4.4.0
* 20241115 - v2.12.0 - https://github.com/ARM-software/arm-trusted-firmware/releases/tag/v2.12.0 * 20241115 - v2.12.0 - https://github.com/ARM-software/arm-trusted-firmware/releases/tag/v2.12.0
* add extlinux.conf boot menu options over serial * add extlinux.conf boot menu options over serial
...@@ -11,5 +11,5 @@ bb-u-boot-beagleplay (2024.10.20241114.1-0~noble+20241219) noble; urgency=low ...@@ -11,5 +11,5 @@ bb-u-boot-beagleplay (2024.10.20241114.1-0~noble+20241219) noble; urgency=low
* Flasher scripts, echo Serial over HDMI * Flasher scripts, echo Serial over HDMI
* extlinux.conf, unify labels to make flasher change more generic * extlinux.conf, unify labels to make flasher change more generic
-- Robert Nelson <robertcnelson@gmail.com> Thu, 19 Dec 2024 11:38:57 -0600 -- Robert Nelson <robertcnelson@gmail.com> Tue, 14 Jan 2025 16:16:16 -0600
...@@ -43,9 +43,11 @@ OPTEE_PLATFORM=k3-am62x ...@@ -43,9 +43,11 @@ OPTEE_PLATFORM=k3-am62x
#U-Boot #U-Boot
UBOOT_CFG_CORTEXR="am62x_beagleplay_r5_defconfig" UBOOT_CFG_CORTEXR="am62x_beagleplay_r5_defconfig"
UBOOT_CFG_CORTEXA="am62x_beagleplay_a53_defconfig" UBOOT_CFG_CORTEXA="am62x_beagleplay_a53_defconfig"
UB_TAG="v2024.10-Beagle" UB_TAG="v2025.01-Beagle"
UB_REPO="https://github.com/beagleboard/u-boot.git" UB_REPO="https://github.com/beagleboard/u-boot.git"
UB_TIBOOT=tiboot3-am62x-gp-evm.bin UB_TIBOOT=tiboot3-am62x-gp-evm.bin
UB_TISPL=tispl.bin_unsigned
UB_IMG=u-boot.img_unsigned
override_dh_strip: override_dh_strip:
# Just disable for now... # Just disable for now...
...@@ -70,8 +72,8 @@ override_dh_auto_configure: ...@@ -70,8 +72,8 @@ override_dh_auto_configure:
make -C ./tmp/u-boot -j1 O=../CORTEXA CROSS_COMPILE=aarch64-linux-gnu- $(UBOOT_CFG_CORTEXA) 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/ 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/ ls -lha ./tmp/CORTEXA/
cp -v ./tmp/CORTEXA/tispl.bin_unsigned ./tmp/pkg/tispl.bin cp -v ./tmp/CORTEXA/$(UB_TISPL) ./tmp/pkg/tispl.bin
cp -v ./tmp/CORTEXA/u-boot.img_unsigned ./tmp/pkg/u-boot.img cp -v ./tmp/CORTEXA/$(UB_IMG) ./tmp/pkg/u-boot.img
%: %:
dh $@ dh $@
......
debug_over_display=tty0
source=/dev/mmcblk0
destination=/dev/mmcblk1
rfs_partition=dual
rfs_boot_startmb=1
rfs_boot_size_mb=256
rfs_boot_permissions=user,uid=1000,gid=1000,defaults
flash_back=/opt/u-boot/bb-u-boot-beagleplay/beagleplay-microsd-to-emmc
extlinux=/opt/u-boot/bb-u-boot-beagleplay/microsd-extlinux.conf
flash_cc1352p=enable
debug_over_display=tty0
source=/dev/mmcblk0
destination=/dev/mmcblk1
rfs_partition=dual
rfs_boot_startmb=1
rfs_boot_size_mb=256
rfs_boot_permissions=user,uid=1000,gid=1000,defaults
rfs_swap_size_mb=2048
flash_back=/opt/u-boot/bb-u-boot-beagleplay/beagleplay-microsd-to-emmc-w-swap
extlinux=/opt/u-boot/bb-u-boot-beagleplay/microsd-extlinux-w-swap.conf
flash_cc1352p=enable
debug_over_display=tty0
source=/dev/mmcblk1
destination=/dev/mmcblk0
rfs_partition=dual
rfs_boot_startmb=1
rfs_boot_size_mb=256
rfs_boot_permissions=user,uid=1000,gid=1000,defaults
bootloader=/opt/u-boot/bb-u-boot-beagleplay/install-emmc.sh
flash_back=/opt/u-boot/bb-u-boot-beagleplay/beagleplay-emmc-to-microsd
extlinux=/opt/u-boot/bb-u-boot-beagleplay/emmc-extlinux.conf
flash_cc1352p=enable
debug_over_display=tty0
source=/dev/mmcblk1
destination=/dev/mmcblk0
rfs_partition=dual
rfs_boot_startmb=1
rfs_boot_size_mb=256
rfs_boot_permissions=user,uid=1000,gid=1000,defaults
rfs_swap_size_mb=2048
bootloader=/opt/u-boot/bb-u-boot-beagleplay/install-emmc.sh
flash_back=/opt/u-boot/bb-u-boot-beagleplay/beagleplay-emmc-to-microsd-w-swap
extlinux=/opt/u-boot/bb-u-boot-beagleplay/emmc-extlinux-w-swap.conf
flash_cc1352p=enable
bb-u-boot-beagleplay (2025.01.20250107.0-0~trixie+20250114) trixie; urgency=low
* 20250107 - v2025.01 - https://github.com/u-boot/u-boot/releases/tag/v2025.01
* 20241204 - 10.01.10 - https://git.ti.com/gitweb?p=processor-firmware/ti-linux-firmware.git;a=tag;h=refs/tags/10.01.10
* 20241018 - 4.4.0 - https://github.com/OP-TEE/optee_os/commits/4.4.0
* 20241115 - v2.12.0 - https://github.com/ARM-software/arm-trusted-firmware/releases/tag/v2.12.0
* add extlinux.conf boot menu options over serial
* Bump FAT partition to 256MB for boot recovery images
* Enable a extlinux.conf option to flash other media directly
* extlinux.conf more vocal on eMMC vs microSD
* Flasher scripts, echo Serial over HDMI
* extlinux.conf, unify labels to make flasher change more generic
-- Robert Nelson <robertcnelson@gmail.com> Tue, 14 Jan 2025 16:16:16 -0600
9
Source: bb-u-boot-beagleplay
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
, libgnutls28-dev
, libssl-dev
, python3-cryptography
, python3-dev
, python3-jsonschema
, python3-pycryptodome
, python3-pyelftools
, python3-setuptools
, python3-yaml
, rsync
, swig
, u-boot-tools
, uuid-dev
, yamllint
Standards-Version: 4.5.1
Package: bb-u-boot-beagleplay
Architecture: arm64
Depends:
${shlibs:Depends}
, ${misc:Depends}
, mmc-utils
Description: beagleboard.org u-boot for beagleplay
beagleboard.org u-boot for beagleplay
menu title BeaglePlay eMMC (extlinux.conf)
timeout 50
default eMMC (default)
label eMMC disable BCFSERIAL
kernel /Image
append root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0 systemd.unified_cgroup_hierarchy=false
fdtdir /
fdtoverlays /overlays/k3-am625-beagleplay-bcfserial-no-firmware.dtbo
#initrd /initrd.img
label copy eMMC to microSD
kernel /Image
append root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0 systemd.unified_cgroup_hierarchy=false init=/usr/sbin/init-beagle-flasher
fdtdir /
initrd /initrd.img
label eMMC (debug)
kernel /Image
append console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0 systemd.unified_cgroup_hierarchy=false
fdtdir /
initrd /initrd.img
label eMMC (default)
kernel /Image
append root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0 systemd.unified_cgroup_hierarchy=false quiet
fdtdir /
#fdtoverlays /overlays/<file>.dtbo
initrd /initrd.img
menu title BeaglePlay eMMC (extlinux.conf) (swap enabled)
timeout 50
default eMMC (default)
label eMMC disable BCFSERIAL
kernel /Image
append root=/dev/mmcblk0p3 ro rootfstype=ext4 rootwait net.ifnames=0
fdtdir /
fdtoverlays /overlays/k3-am625-beagleplay-bcfserial-no-firmware.dtbo
#initrd /initrd.img
label copy eMMC to microSD
kernel /Image
append root=/dev/mmcblk0p3 ro rootfstype=ext4 rootwait net.ifnames=0 init=/usr/sbin/init-beagle-flasher
fdtdir /
initrd /initrd.img
label eMMC (debug)
kernel /Image
append console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk0p3 ro rootfstype=ext4 rootwait net.ifnames=0
fdtdir /
#initrd /initrd.img
label eMMC (default)
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
menu title BeaglePlay eMMC (extlinux.conf)
timeout 50
default eMMC (default)
label eMMC disable BCFSERIAL
kernel /Image
append root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0
fdtdir /
fdtoverlays /overlays/k3-am625-beagleplay-bcfserial-no-firmware.dtbo
#initrd /initrd.img
label copy eMMC to microSD
kernel /Image
append root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0 init=/usr/sbin/init-beagle-flasher
fdtdir /
initrd /initrd.img
label eMMC (debug)
kernel /Image
append console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0
fdtdir /
#initrd /initrd.img
label eMMC (default)
kernel /Image
append root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0 quiet
fdtdir /
#fdtoverlays /overlays/<file>.dtbo
#initrd /initrd.img
#!/bin/bash
if ! id | grep -q root; then
echo "must be run as root"
exit
fi
wdir="/opt/u-boot/bb-u-boot-beagleplay"
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
fi
debian/install.sh /opt/u-boot/bb-u-boot-beagleplay
debian/install-microsd.sh /opt/u-boot/bb-u-boot-beagleplay
debian/install-emmc.sh /opt/u-boot/bb-u-boot-beagleplay
debian/erase-emmc.sh /opt/u-boot/bb-u-boot-beagleplay
debian/microsd-extlinux.conf /opt/u-boot/bb-u-boot-beagleplay
debian/microsd-extlinux-w-swap.conf /opt/u-boot/bb-u-boot-beagleplay
debian/microsd-extlinux-homeassistant.conf /opt/u-boot/bb-u-boot-beagleplay
debian/emmc-extlinux.conf /opt/u-boot/bb-u-boot-beagleplay
debian/emmc-extlinux-w-swap.conf /opt/u-boot/bb-u-boot-beagleplay
debian/emmc-extlinux-homeassistant.conf /opt/u-boot/bb-u-boot-beagleplay
debian/beagleplay-emmc-to-microsd /opt/u-boot/bb-u-boot-beagleplay
debian/beagleplay-microsd-to-emmc /opt/u-boot/bb-u-boot-beagleplay
debian/beagleplay-emmc-to-microsd-w-swap /opt/u-boot/bb-u-boot-beagleplay
debian/beagleplay-microsd-to-emmc-w-swap /opt/u-boot/bb-u-boot-beagleplay
tmp/pkg/bl31.bin /opt/u-boot/bb-u-boot-beagleplay
tmp/pkg/tee-pager_v2.bin /opt/u-boot/bb-u-boot-beagleplay
tmp/pkg/tiboot3.bin /opt/u-boot/bb-u-boot-beagleplay
tmp/pkg/tispl.bin /opt/u-boot/bb-u-boot-beagleplay
tmp/pkg/u-boot.img /opt/u-boot/bb-u-boot-beagleplay
tmp/pkg/build.txt /opt/u-boot/bb-u-boot-beagleplay
#!/bin/bash
if ! id | grep -q root; then
echo "must be run as root"
exit
fi
wdir="/opt/u-boot/bb-u-boot-beagleplay"
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
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