Created
February 3, 2021 19:32
-
-
Save cmdrogogov/01800b173c73051f8a2859e0a9858579 to your computer and use it in GitHub Desktop.
Updating to more modern U-Boot for Jetson TK-1
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
Working machine is Fedora-33 Workstation | |
This was challenging to work out, since all of the information is quite out of date and most advice pushes you to use the Nviai Jetpack - which is ancient at this point. | |
The following sites got me on the right path: | |
https://elinux.org/Tegra/Mainline_SW/Gentoo_From_SD_Card | |
https://fedoraarm.wordpress.com/2014/08/14/installing-fedora-21-pre-release-on-the-nvidia-jetson-k1/ | |
Open a terminal and run the following commands in order; | |
sudo dnf install autoconf automake libtool libusb-devel cbootimage tegrarcm dtc binutils-arm-linux-gnu gcc-arm-linux-gnu swig python3-devel | |
cd /var/tmp/ | |
mkdir -p ~/jetson | |
cd ~/jetson | |
mkdir tegra-uboot-flasher | |
cd tegra-uboot-flasher | |
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > repo | |
chmod a+x repo | |
python3 ./repo init -u git://github.com/NVIDIA/tegra-uboot-flasher-manifests.git -g default,-bootloader | |
python3 ./repo sync | |
cd tegrarcm | |
./autogen.sh | |
./configure | |
make -j $(grep -c processor /proc/cpuinfo) | |
cd ../cbootimage | |
./autogen.sh | |
./configure | |
make -j $(grep -c processor /proc/cpuinfo) | |
cd .. | |
git clone https://github.com/swarren/u-boot | |
cd scripts | |
CROSS_COMPILE=arm-linux-gnu- PATH=${PATH}:~/jetson/tegra-uboot-flasher/tegrarcm/src/:~/jetson/tegra-uboot-flasher/cbootimage/src/ python3 ./build --boards jetson-tk1 build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment