forecr / forecr_xavier_kernel

Forecr Linux Kernel for Jetson Xavier, Xavier NX, Orin, Orin NX and Orin Nano based products
6 stars 3 forks source link

Jetpack4.4.1 #1

Closed unca121 closed 2 years ago

unca121 commented 2 years ago

Hi, could you please share flashing manual? Because I can't get DSBOARD_XV2 for AGX Xavier working.

I tried copying of /arch/arm64/boot/Image with /arch/arm64/boot/dts/ from kernel_out as mentioned at NVidia docs

Thank you

mdeniz0 commented 2 years ago

We are preparing xavier & nano kernel blog posts. We will share it with you as soon as possible.

At this point, if you want to compile the kernel source now, you can follow these steps below to resolve your issue quickly:

Load Environment

$ cd ./kernel/kernel-4.9/ $ source ../../environment_nvidia

DSBOARD_XV2 for AGX Xavier compile

$ make ARCH=arm64 O=$HOME/kernel_out_dsboard_xv2 dsboard_xv2_defconfig $ make ARCH=arm64 O=$HOME/kernel_out_dsboard_xv2 -j$(($(nproc)-1))

Copy the compiled files to the Jetson HW image folder (change the dtb file as tegra194-p2888-0001-p2822-0000.dtb)

$ cp $HOME/kernel_out_dsboard_xv2/arch/arm64/boot/Image $HOME/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/kernel/Image $ cp $HOME/kernel_out_dsboard_xv2/arch/arm64/boot/dts/tegra194-p2888-0001-dsboard-xv2-0000.dtb $HOME/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb

Additionally, you can find the precompiled binaries from here.

Kind Regards

mdeniz0 commented 2 years ago

Hello @unca121

We have recently published the Xavier kernel-source building blog post. The blog post is for JetPack-4.6 but it can be applied to other versions as well. You can follow this link below:

https://www.forecr.io/blogs/bsp-development/how-to-compile-forecr-xavier-kernel