Jetson TX2 Jetpack 4.2 with kernel driver modifications

Hi @gancev,

Currently we don’t have an estimation of release for BalenaOS on L4T 32.1 (Jetpack 4.2). We are waiting for a new L4T release (L4T 32.2) with bootloader fixes that will allow resizing Nvidia bootloader partitions, but we don’t have a specific time frame.

The reason you see the startup screen when trying to boot from an sd-card with L4T 28.2 is that the old kernel is not compatible with the new dtbs and firmwares that are already flashed on the emmc with the JetPack 4.2, and vice-versa.

  1. Currently we don’t have an official release due to the L4T bug, but we have a work-in-progress preview branch. If you want to use it for testing and development, you can do a Yocto build in which you can also add your kernel patches too:

  2. The steps for creating the build are as follows:

     git clone git@github.com:balena-os/balena-jetson-nano.git
     cd balena-jetson-nano
     git checkout wip_warrior_tx2
     git submodule update --init --recursive
    

    Modify layers/meta-balena-jetson/recipes-kernel/linux/linux-tegra_%.bbappend
    to apply specific kernel patches that you need

    balena-jetson-nano$ balena-yocto-scripts/build/barys -b tx2build -m jetson-tx2 -d

The argument -d is used for a development build, which allows you to have both the screen and serial consoles.

If you already have JetPack 4.2 on the board you can write the generated resin-image-flasher-jetson-tx2-…rootfs.resinos-img to an SD card and boot the board with it. Also please don’t forget to place the config.json of your application in the boot partition so you can see the target in the dashboard.