u-bootのカスタマイズ
**文書の過去の版を表示しています。**
U-Bootのカスタマイズ
Jetson TX2 NX Moduleで、U-BootのTX2 NX向けバージョンのバグを修正する必要に迫られて、一度、U-Bootを自分でビルドして実際に書き込んで使用したことはあるが、そのときは、詳細な記録を残していなかったので、今回、Jetson Nano Moduleの環境にて、U-Bootのカスタマイズ、というか、具体的に変更する必要のあるネタは今のところないので、とりあえず、自分でビルドしてそれを使ってみるとして、その記録をここに残す。
U-Bootのビルド
32.7.1 Release Notes
に、
Release tag | tegra-l4t-r32.7.1 |
とあるので、これを使うのか。
NVIDIA Jetson Linux Developer Guide 32.7.1 Release のDownloading and Building U-Bootのセクション
を参照しつつやってみる。(TX2 NXのときもそうしたはず)
$ git clone -n git://nv-tegra.nvidia.com/3rdparty/u-boot.git Cloning into 'u-boot'... remote: Enumerating objects: 691094, done. remote: Counting objects: 100% (691094/691094), done. remote: Compressing objects: 100% (108227/108227), done. remote: Total 691094 (delta 573623), reused 691060 (delta 573589), pack-reused 0 Receiving objects: 100% (691094/691094), 136.85 MiB | 1.46 MiB/s, done. Resolving deltas: 100% (573623/573623), done. $ cd u-boot/ $ git checkout -b jetson_nano_module_u-boot_customization tegra-l4t-r32.7.1 Updating files: 100% (16598/16598), done. Switched to a new branch 'jetson_nano_module_u-boot_customization' $ git branch * jetson_nano_module_u-boot_customization $ ls Kbuild Makefile board configs dts include scripts Kconfig README cmd disk env lib test Licenses api common doc examples net tools MAINTAINERS arch config.mk drivers fs post $ git checkout-index -a --prefix=exports/ $ ls Kbuild Makefile board configs dts fs post Kconfig README cmd disk env include scripts Licenses api common doc examples lib test MAINTAINERS arch config.mk drivers exports net tools $ mkdir ~/nvidia/nvidia_sdk/JetPack_4.6.2_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/sources $ mv exports ~/nvidia/nvidia_sdk/JetPack_4.6.2_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/sources/u-boot $ cd ~/nvidia/nvidia_sdk/JetPack_4.6.2_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/sources/u-boot $ ls Kbuild Makefile board configs dts include scripts Kconfig README cmd disk env lib test Licenses api common doc examples net tools MAINTAINERS arch config.mk drivers fs post
u-bootのカスタマイズ.1661307597.txt.gz · 最終更新: 2022/08/24 11:19 by makotoa67