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.54 MiB/s, done. Resolving deltas: 100% (573623/573623), done. $ cd u-boot/ $ git checkout tegra-l4t-r32.7.1 Updating files: 100% (16598/16598), done. Note: switching to 'tegra-l4t-r32.7.1'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c <new-branch-name> Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 4335beb692 tegra: config: update TX2-NX uboot env offset $ git checkout -b jetson_nano_module_u-boot_customization tegra-l4t-r32.7.1 Switched to a new 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 branch * jetson_nano_module_u-boot_customization $
u-bootのカスタマイズ.1661306424.txt.gz · 最終更新: 2022/08/24 11:00 by makotoa67