In offline mode, flash the eks partition separately

I found that I can’t use the offline mode system package to flash the eks partition alone
The platform is xavier-nx
The software version is 35.5.0
I generated an offline package through l4t_initrd_flash.sh,I want to flash different eks.img for different models,Before flashing, I will replace the eks_t194_sigheader.img.encrypt.signed file
The log content shows that the eks partition has been successfully flashed, but I found that there is no actual change by printing the hash value.

[ 1]: l4t_flash_from_kernel: Warning: skip writing recovery_alt partition as no image is specified
writing item=71, 1:3:recovery-dtb_alt, 15584460800, 524288, , , fixed-<reserved>-28,
[ 1]: l4t_flash_from_kernel: Warning: skip writing recovery-dtb_alt partition as no image is specified
writing item=72, 1:3:esp_alt, 15584985088, 67108864, , , fixed-<reserved>-29,
[ 1]: l4t_flash_from_kernel: Warning: skip writing esp_alt partition as no image is specified
writing item=73, 1:3:UDA, 15652093952, 105885696, , , expand-<reserved>-30,
Skip writing UDA
writing item=74, 1:3:secondary_gpt, 15757983232, 16896, gpt_secondary_1_3.bin, 16896, fixed-<reserved>-0, b2ecf313daa1787b2fb98f62636a79b4745e238d
[ 1]: l4t_flash_from_kernel: Successfully flash the emmc
[ 1]: l4t_flash_from_kernel: Flashing partition eks success

The command I used is

sudo ./tools/kernel_flash/l4t_initrd_flash.sh -k eks --flash-only --massflash 5

hello easyzoom,

is this related to disk encryption?
for running massflash, did you Creating Encrypted Images with a Generic Key?

JetPack 5.1.3 (r35.5.0) release version is able to create encrypted images with a generic key. here’s forum topic, Topic 291335 which show the steps for reference.

Hi JerryChang,

I don’t use disk encryption.I only used pkckey.pem and sbk.key

hello easyzoom,

just curious about the real use-case,
for instance, would you like to update EKS partition only for several fused devices (offline)?

Hi JerryChang,

YES,To be more specific, I want to flash different eks.img files to different fused devices during production.

hello easyzoom,

you cannot perform partition update individually with fused device.
please see-also Topic 180440, and Topic 178269.

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