Installing upstream kernel on Jetson AGX

Hey, I was recently tasked with installing a modified version of the upstream 5.4 linux kernel to the Nvidia Jetson AGX as part of a research project at my university. I decided to first attempt to install the vanilla 5.4 linux kernel by following the guide here: Running a mainline linux kernel on the NVIDIA Jetson Xavier AGX.

Once I flash the device, it seems to get stuck on the nvidia logo during bootup. I’m wondering what the problem could be? I have my flash log attached in case it helps.

flashlog.txt (47.0 KB)

hello charlh7,

I’ve only see flash log to indicate you’ve update device tree blob.
please also setup J501 to use micro-USB connector provides access to the UART console, you should gather the bootloader logs for reference,

Currently having a bit of trouble accessing the bootloader logs through the UART. I noticed I was having a similar issue to this person: Jetson AGX Xavier USB Not Detected - #15 by curtissgf53.

After entering “dmesg --follow” and plugging in my usbc connector to j501, there is no change in the dmesg output. The nvidia logo remains displayed on my monitor connected to the jetson xavier agx.

hello charlh7,

it’s not the port with usb-c.
please refer to Jetson AGX Xavier Developer Kit User Guide .
it’s a micro-USB connector provides access to the UART console.

you may plug the cable and enable the serial port utility to access the bootloader, the default baudrate is 115200/8n1.

Sorry about that, I see the micro-USB for the UART now. These are my logs after booting the Jetson AGX. UARTbootlogs.txt (38.9 KB)

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.253-tegra (buildbrain@mobile-u64-5497-d3000) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #1 SMP PREEMPT Mon Jul 26 12:19:28 PDT 2021

hello charlh7,

according to below,
I think you did not update kernel image correctly, it’s still using kernel-4.9 release via buildbrain.
please update /rootfs/boot/extlinux/extlinux.conf to remove LINUX entry and re-flash the board to try again,

Here is the log after I changed the extlinux.conf file in the rootfs. I noticed the error when looking for the .sig file:

[0016.023] I> rootfs path: /sdmmc_user/boot/extlinux/extlinux.conf
[0016.078] I> Loading extlinux.conf sig file from rootfs …
[0016.078] I> rootfs path: /sdmmc_user/boot/extlinux/extlinux.conf.sig
[0016.121] I> overload load_size to 864 (from 1199)
[0016.122] I> Validate extlinux.conf …
[0016.122] I> T19x: Authenticate extlinux.conf (bin_type: 54), max size 0x2000
[0016.123] E> digest on binary did not match!!
[0016.123] C> OEM authentication of extlinux.conf payload failed!
[0016.123] W> Failed to validate extlinux.conf binary from rootfs (err=1077936152, fail=0)

Is there a way to create/update this file?

uartLog5.txt (51.1 KB)

hello charlh7,

may I know what’s the modification you’ve done in extlinux.conf, did you replace /boot/Image.sig as your customize kernel image?
here’s see-also topic, OEM authentication of kernel payload failed! - #6 by JerryChang

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.