Last active
December 29, 2022 23:22
-
-
Save RobertCNelson/62fc0b6c48d074d06acc534c7aca072b to your computer and use it in GitHub Desktop.
old sgx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#video: https://www.youtube.com/watch?v=_BL8Meco1KQ | |
#Rootfs: https://rcn-ee.net/rootfs/bb.org/testing/2014-06-05/bone-debian-7.5-console-2014-06-05-2gb.img.xz | |
#Updates: https://rcn-ee.net/ci/3.13.11-bone12.1/ | |
export mirror="https://rcn-ee.net/ci/3.13.11-bone12.1/" | |
#wget on debian 7.5 is soo old, it can not handle https, so copy them local... | |
#export mirror="http://192.168.1.98/rcn-ee.us/ci/3.13.11-bone12.1" | |
wget -c ${mirror}/3.13.11-bone12.1.zImage | |
wget -c ${mirror}/3.13.11-bone12.1-dtbs.tar.gz | |
wget -c ${mirror}/3.13.11-bone12.1-firmware.tar.gz | |
wget -c ${mirror}/3.13.11-bone12.1-modules.tar.gz | |
wget -c ${mirror}/GFX_5.01.01.01.tar.gz | |
sudo cp -v /boot/uboot/zImage /boot/uboot/zImage-old | |
sudo cp -v ./3.13.11-bone12.1.zImage /boot/uboot/zImage | |
sudo mv /boot/uboot/dtbs/ /boot/uboot/dtbs-old/ | |
sudo mkdir -p /boot/uboot/dtbs/ | |
tar -xf 3.13.11-bone12.1-dtbs.tar.gz -C /boot/uboot/dtbs/ | |
sudo tar -xf 3.13.11-bone12.1-modules.tar.gz -C / | |
sudo update-initramfs -ck 3.13.11-bone12.1 | |
sudo cp -v /boot/initrd.img-3.13.11-bone12.1 /boot/uboot/initrd.img | |
sudo tar xfv GFX_5.01.01.01.tar.gz -C / | |
cd /opt/gfxinstall/ | |
sudo ./sgx-install.sh | |
sudo reboot | |
debian@arm:~$ lsmod | grep omaplfb | |
omaplfb 12105 0 | |
pvrsrvkm 179062 1 omaplfb | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment