Update JP6.2 readme - #362
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the JetPack 6.2 installation README to better document device-tree selection for production hardware and to add an initrd regeneration step needed after kernel/module changes.
Changes:
- Add DTB copy instructions for p3701-0005 (production) boards.
- Add a new step to regenerate initrd/initramfs after installing updated kernel modules.
- Update bootloader configuration guidance and renumber subsequent steps.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| # For production carrier boards (p3701-0005): | ||
| sudo cp ./images/6.2/rootfs/boot/dtb/tegra234-p3737-0000+p3701-0005-nv.dtb /boot/dtb/. |
There was a problem hiding this comment.
The new note says "production carrier boards (p3701-0005)", but earlier in this README the p3701-0005 distinction is described as a production board/module vs dev kit. Consider rewording for consistency (e.g., "production modules (p3701-0005)" or "production boards (p3701-0005)") to avoid confusion about whether p3701 refers to the module vs carrier.
| sudo update-initramfs -u -k 5.15.148-tegra | ||
| sudo rm -f /boot/initrd | ||
| sudo ln -s /boot/initrd.img-5.15.148-tegra /boot/initrd | ||
| ``` |
There was a problem hiding this comment.
The initrd relink uses rm -f /boot/initrd followed by ln -s ... /boot/initrd. If the ln command fails, the system is left without /boot/initrd and may become unbootable. Prefer an atomic/safer update (e.g., overwrite the symlink in one step) and consider documenting what to do if the target initrd image doesn’t exist yet.
| - Change the "LINUX" line to point to the newly copied /boot/**dev**/Image | ||
| - Add the "FDT" line pointing at the newly copied device tree "/boot/dtb/tegra234-p3737-0000+p3701-0000-nv.dtb" | ||
| - Add the "FDT" line pointing at the newly copied device tree "/boot/dtb/tegra234-p3737-0000+p3701-0000-nv.dtb" (or tegra234-p3737-0000+p3701-0005-nv.dtb for production boards) | ||
| - add the "OVERLAYS" line pointing to the required overlay "tegra234-camera-d4xx-overlay/dual/else>.dtb |
There was a problem hiding this comment.
The OVERLAYS bullet appears malformed (missing closing quote) and contains stray text else>.dtb. Please replace with the actual overlay filename(s) used elsewhere in this README (e.g., the single/dual tegra234-camera-d4xx-overlay*.dtbo variants) and format the path consistently so users can copy/paste it.
| - add the "OVERLAYS" line pointing to the required overlay "tegra234-camera-d4xx-overlay/dual/else>.dtb | |
| - add the "OVERLAYS" line pointing to the required overlay "/boot/dev/tegra234-camera-d4xx-overlay.dtbo" |
| 3. Run depmod | ||
| ``` | ||
| sudo depmod | ||
| ``` | ||
| 4. Modify bootloader configuration: | ||
| 4. Update initrd (regenerate kernel modules) | ||
|
|
||
| The kernel patches modify the I2C subsystem header (`i2c.h`), which changes the CRC of all exported I2C symbols. The boot initrd contains cached kernel modules that must be regenerated to match the new kernel, otherwise modules like `ucsi_ccg` will fail to load with "disagrees about version of symbol" errors. | ||
| ``` | ||
| sudo update-initramfs -u -k 5.15.148-tegra | ||
| sudo rm -f /boot/initrd | ||
| sudo ln -s /boot/initrd.img-5.15.148-tegra /boot/initrd | ||
| ``` | ||
| 5. Modify bootloader configuration: |
There was a problem hiding this comment.
The numbered steps use a mix of tabs and spaces after the list number (e.g., 3.\tRun depmod, 4.\tUpdate initrd, but 5. Modify ...). This can render inconsistently in Markdown; consider normalizing to a single space after the number for all steps.
No description provided.