Closed DanLipsitt closed 3 years ago
Thanks @DanLipsitt , my bad on that one..
PS, i'm moving the bootloader update from the current form, to new debian package..
debian@bbb-pwr01-ser09:/opt/u-boot/bb-u-boot-am335x-evm$ ls -lha ./*
-rwxr-xr-x 1 root root 708 Feb 19 21:40 ./install.sh
-rw-r--r-- 1 root root 91K Feb 19 21:40 ./MLO
-rw-r--r-- 1 root root 462K Feb 19 21:40 ./u-boot.img
debian@bbb-pwr01-ser09:/opt/u-boot/bb-u-boot-am335x-evm$ cat install.sh
#!/bin/bash
if ! id | grep -q root; then
echo "must be run as root"
exit
fi
wdir="/opt/u-boot/bb-u-boot-am335x-evm"
if [ -b /dev/mmcblk0 ] ; then
echo "dd if=${wdir}/MLO of=/dev/mmcblk0 count=1 seek=1 bs=128k"
dd if=${wdir}/MLO of=/dev/mmcblk0 count=1 seek=1 bs=128k
echo "dd if=${wdir}/u-boot.img of=/dev/mmcblk0 count=2 seek=1 bs=384k"
dd if=${wdir}/u-boot.img of=/dev/mmcblk0 count=2 seek=1 bs=384k
fi
if [ -b /dev/mmcblk1 ] ; then
echo "dd if=${wdir}/MLO of=/dev/mmcblk1 count=1 seek=1 bs=128k"
dd if=${wdir}/MLO of=/dev/mmcblk1 count=1 seek=1 bs=128k
echo "dd if=${wdir}/u-boot.img of=/dev/mmcblk1 count=2 seek=1 bs=384k"
dd if=${wdir}/u-boot.img of=/dev/mmcblk1 count=2 seek=1 bs=384k
fi
debian@bbb-pwr01-ser09:/opt/u-boot/bb-u-boot-am335x-evm$ dpkg --list | grep u-boot
ii bb-u-boot-am335x-evm 2019.04.20210218.1-0~buster+20210219 armhf beagleboard.org u-boot for am335x_evm
Which hooks up to:
https://github.com/beagleboard/u-boot/commits/v2019.04-bbb.io-am335x
Regards,
This line looks like it should begin with
TI_
instead ofI_
: https://github.com/RobertCNelson/boot-scripts/blob/e4e4854ef8ff9ada5c85553376043ee7679167ca/tools/developers/update_bootloader.sh#L290