From 527d896ee4a90e8b837a7830cccda0ecc668953e Mon Sep 17 00:00:00 2001 From: Miguel Angel Ajo Pelayo Date: Tue, 18 Mar 2025 13:47:09 +0100 Subject: [PATCH] Remove pre-flash commands erasing SD bootloader for TI-J784S4X --- .../oci_bundles/ti_j784s4xevm/manifest.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/packages/jumpstarter-driver-flashers/oci_bundles/ti_j784s4xevm/manifest.yaml b/packages/jumpstarter-driver-flashers/oci_bundles/ti_j784s4xevm/manifest.yaml index c2ea1fd96..029671178 100644 --- a/packages/jumpstarter-driver-flashers/oci_bundles/ti_j784s4xevm/manifest.yaml +++ b/packages/jumpstarter-driver-flashers/oci_bundles/ti_j784s4xevm/manifest.yaml @@ -15,9 +15,15 @@ spec: targets: usd: "/sys/class/block#4fb0000" emmc: "/sys/class/block#4f80000" - preflash_commands: - - "dd if=/dev/zero of=/dev/mmcblk0 bs=512 count=34" - - "dd if=/dev/zero of=/dev/mmcblk1 bs=512 count=34" +# removed for now, even if it's our documented procedure, if +# the board is configured to boot from sd or emmc (and not SPI), and +# the flashing of the final image fails, it will result in an un-bootable +# system -> lab admin going to the site and re-flashing SD, this can +# only be avoided by using something like sdwire +# +# preflash_commands: +# - "dd if=/dev/zero of=/dev/mmcblk0 bs=512 count=34" +# - "dd if=/dev/zero of=/dev/mmcblk1 bs=512 count=34" kernel: file: data/J784S4XEVM.flasher.img address: "0x82000000"