This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRA829J: A/B Swap Software Update in Linux SDK

Part Number: DRA829J
Other Parts Discussed in Thread: DRA829

Tool/software:

Hej TI Team, 
I am trying to implement a software update application that uses the A/B Swap methodology , I currently am using TI DRA829 with Linux SDK. I have my linux booting from SD card .

I did try using the steps to have a new file system in my emmc using mmcblk and use uboot to swap but did not work (3.1.1.5. SD, eMMC and USB — Processor SDK Linux for J721e Documentation). 
I wanna design and use an approach that makes sure I can download the new file system ie the device tree , rootfs , kernel , rprocs etc to a new place and be able to swap the boot and update the linux with the OPTEE application that I will be developing. Will be helpful if you can shed more light on this!

Boot Logs :

U-Boot 2024.04-ti-ga970f6e51043 (Nov 13 2024 - 14:26:23 +0000)

SoC:   J721E SR1.1 GP
Model: Texas Instruments J721e EVM
Board: J721EX-PM2-SOM rev A
DRAM:  2 GiB (effective 4 GiB)
Core:  144 devices, 35 uclasses, devicetree: separate
Flash: 0 Bytes
MMC:   mmc@4f80000: 0, mmc@4fb0000: 1
Loading Environment from nowhere... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1
Detected: J7X-BASE-CPB rev A
Detected: J7X-GESI-EXP rev E3
Detected: J7X-VSC8514-ETH rev E2
cdns,sierra serdes@5000000: sierra probed
Net:   eth0: ethernet@46000000port@1
Hit any key to stop autoboot:  2 1 0
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
1292 bytes read in 75 ms (16.6 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc1 ...
Running uenvcmd ...
1 bytes read in 68 ms (0 Bytes/s)
Already setup.