Hi nvidia:
I build L4T(R32.7.3) according to Kernel Customization include the following 4 step:
Manually Downloading and Expanding Kernel Sources
Building the NVIDIA Kernel
Preparing to Build External Kernel Modules
Building External Kernel Modules
I build L4T with default config and without any code change.But after I flash image to devkit by
$ sudo ./flash.sh jetson-agx-xavier-devkit mmcblk0p1
,it seem that devkit freeze in the serial because not response when hit key and can’t enter Command line prompt.
Another,the mouse and event is active on the HDMI screen of devkit.
Attachment is the serial log of devkit and picture of HDMI output.Any suggestion is helpful, thanks!
0531_L4T_flash_freeze.txt (36.1 KB)
Hi sdz_2011,
Are you using the devkit or custom board for AGX Xavier?
[ 11.448134] Please complete system configuration setup on desktop to proceed...
It seems your board is in the process of oem-config.
Have you tried to reset the board and it still stuck here?
Or you could just refer to the following instruction to pre-config these before you flash the board.
Flashing and Booting the Target Device - Skipping oem-config
Hi KevinFFF:
I use the devkit for AGX Xavier
I have tried to reset or repower the board and it still stuck in:
[ 11.448134] Please complete system configuration setup on desktop to proceed...
Kevin’s point is you need to follow the guidance he shared in that link…
If you just reset or repower, then it won’t work.
Hi KevinFFF:
In L4T,i try l4t_create_default_user.sh by Skipping oem-config but it fail as follow,how to deal with it?
$ sudo ./tools/l4t_create_default_user.sh -u nvidia -p nvidia
ERROR: Cannot find the L4T end user license agreement
Please run the following command under Linux_for_Tegra/ of your host PC.
$sudo ./tools/l4t_create_default_user.sh -u nvidia -p nvidia -a --accept-license -n Jetson
Hi KevinFFF:
I input your command in recovery mode but it output the same error.
I trace l4t_create_default_user.sh and locate the error position as follow:
```
function show_eula()
{
window_height=24
window_width=80
license_file="${rfs_dir}/usr/share/doc/nvidia-tegra/L4T_End_User_License_Agreement.txt"
license_gz_file="${rfs_dir}/usr/share/doc/nvidia-tegra/L4T_End_User_License_Agreement.txt.gz"
if [ ! -f "${license_file}" ] && [ ! -f "${license_gz_file}" ]; then
echo "ERROR: Cannot find the L4T end user license agreement"
exit 1
fi
if [ "${accept_license}" = true ]; then
return
fi
......
}
Here i print license_file and license_gz_file and they locate in
Linux_for_Tegra/rootfs/usr/share/doc/nvidia-tegra/L4T_End_User_License_Agreement.txt
Linux_for_Tegra/rootfs/usr/share/doc/nvidia-tegra/L4T_End_User_License_Agreement.txt.gz
I find that the path of Linux_for_Tegra/rootfs/usr/share/doc exist,but Linux_for_Tegra/rootfs/usr/share/doc/nvidia-tegra not exist, i can confirm that it is cause by make rootfs,but How to make rootfs to include L4T_ End_ User_ License_ Agreement.txt and L4T_End_User_License_Agreement.txt.gz?
How did you prepare your rootfs on the host PC?
Hi WayneWWW:
My step to make rootfs is as follow:
1.Decompress Tegra_Linux_Sample-Root-Filesystem_R32.7.3_aarch64.tbz2 in
Linux_for_Tegra/rootfs directory
2.make kernel and module according to Building the NVIDIA Kernel
3.excute next command:
```
$ cd Linux_for_Tegra/
$ sudo ./apply_binaries.sh
Could you try the following command to decompress for rootfs?
cd <Linux_for_Tegra>
sudo tar xpf <Tegra_Linux_Sample-Root-Filesystem_R32.7.3_aarch64.tbz2> -C rootfs/.
I have try the following command to decompress for rootfs and the result is as follow:
cd <Linux_for_Tegra>
sudo tar xpf <Tegra_Linux_Sample-Root-Filesystem_R32.7.3_aarch64.tbz2> -C rootfs/
$ ls ./rootfs/usr/share/doc/nvidia-tegra
ls: cannot access './rootfs/usr/share/doc/nvidia-tegra': No such file or directory
It seems your rootfs is not complete.
Did you download Tegra_Linux_Sample-Root-Filesystem_R32.7.3_aarch64.tbz2 from R32.7.3 release page?
Could you provide the detailed commands you used from download the BSP package to extracting them on your terminal?
Yes.My step is as follow:
1.I download the BSP package from R32.7.3 in windows as follow picture:
2.copy the BSP package to virtual machine(ubuntu18.04)
3.extracting BSP package(Assuming all tar packages are placed in Jetson_AGX_Xavier directory)
$cd Jetson_AGX_Xavier
$ tar -xjf public_sources.tbz2
$ cd Linux_for_Tegra/source/public
$ tar –xjf kernel_src.tbz2
$cd Jetson_AGX_Xavier
$ tar xf Jetson_Linux_R32.7.3_aarch64.tbz2
$ cd Jetson_AGX_Xavier/Linux_for_Tegra/rootfs/
$ sudo tar xpf …/…/Tegra_Linux_Sample-Root-Filesystem_R32.7.3_aarch64.tbz2
Seems forgot to run apply_binaries.sh?
1 Like
Have run apply_binaries.sh,just not mention above.
so /rootfs/usr/share/doc/nvidia-tegra still not shows up?
Yes.I have not see rootfs/usr/share/doc/nvidia-tegra yet.
How did you download this compressed file?
Have you tried to use SDKM to get BSP package and rootfs for AGX Xavier?