Can be burned separately via flash.sh

a partition “PLUSA” that I added, Can be burned separately via flash.sh,link this:sudo ./flash.sh -r -k PLUSA jetson-tx2 mmcblk0p1,but it failed

hello 673765403,

you mean, CAN’T be burned, right?

so, you’re already have PLUSA defined in the flash configuration file, could you please also confirm all the partitions has flashed successfully with complete flash command-line.
please examine the partition labels, $ ls -al /dev/disk/by-partlabel after device boot into linux kernel.
thanks

amoymn@amoymn:~$ ls -al /dev/disk/by-partlabel
total 0
drwxr-xr-x 2 root root 720 6月 24 10:46 .
drwxr-xr-x 8 root root 160 6月 24 10:46 …
lrwxrwxrwx 1 root root 16 6月 24 10:46 adsp-fw → …/…/mmcblk0p11
lrwxrwxrwx 1 root root 16 6月 24 10:46 adsp-fw_b → …/…/mmcblk0p12
lrwxrwxrwx 1 root root 15 6月 24 10:46 APP → …/…/mmcblk0p1
lrwxrwxrwx 1 root root 16 6月 24 10:46 BMP → …/…/mmcblk0p22
lrwxrwxrwx 1 root root 16 6月 24 10:46 BMP_b → …/…/mmcblk0p23
lrwxrwxrwx 1 root root 15 6月 24 10:46 bootloader-dtb → …/…/mmcblk0p6
lrwxrwxrwx 1 root root 15 6月 24 10:46 bootloader-dtb_b → …/…/mmcblk0p7
lrwxrwxrwx 1 root root 16 6月 24 10:46 bpmp-fw → …/…/mmcblk0p13
lrwxrwxrwx 1 root root 16 6月 24 10:46 bpmp-fw_b → …/…/mmcblk0p14
lrwxrwxrwx 1 root root 16 6月 24 10:46 bpmp-fw-dtb → …/…/mmcblk0p15
lrwxrwxrwx 1 root root 16 6月 24 10:46 bpmp-fw-dtb_b → …/…/mmcblk0p16
lrwxrwxrwx 1 root root 15 6月 24 10:46 cpu-bootloader → …/…/mmcblk0p4
lrwxrwxrwx 1 root root 15 6月 24 10:46 cpu-bootloader_b → …/…/mmcblk0p5
lrwxrwxrwx 1 root root 16 6月 24 10:46 eks → …/…/mmcblk0p10
lrwxrwxrwx 1 root root 16 6月 24 10:46 FBNAME → …/…/mmcblk0p21
lrwxrwxrwx 1 root root 16 6月 24 10:46 kernel → …/…/mmcblk0p28
lrwxrwxrwx 1 root root 16 6月 24 10:46 kernel_b → …/…/mmcblk0p29
lrwxrwxrwx 1 root root 16 6月 24 10:46 kernel-bootctrl → …/…/mmcblk0p26
lrwxrwxrwx 1 root root 16 6月 24 10:46 kernel-bootctrl_b → …/…/mmcblk0p27
lrwxrwxrwx 1 root root 16 6月 24 10:46 kernel-dtb → …/…/mmcblk0p30
lrwxrwxrwx 1 root root 16 6月 24 10:46 kernel-dtb_b → …/…/mmcblk0p31
lrwxrwxrwx 1 root root 15 6月 24 10:46 mts-bootpack → …/…/mmcblk0p2
lrwxrwxrwx 1 root root 15 6月 24 10:46 mts-bootpack_b → …/…/mmcblk0p3
lrwxrwxrwx 1 root root 16 6月 24 10:46 PLUSA → …/…/mmcblk0p33
lrwxrwxrwx 1 root root 16 6月 24 10:46 recovery → …/…/mmcblk0p24
lrwxrwxrwx 1 root root 16 6月 24 10:46 recovery-dtb → …/…/mmcblk0p25
lrwxrwxrwx 1 root root 16 6月 24 10:46 RECROOTFS → …/…/mmcblk0p32
lrwxrwxrwx 1 root root 16 6月 24 10:46 sc7 → …/…/mmcblk0p19
lrwxrwxrwx 1 root root 16 6月 24 10:46 sc7_b → …/…/mmcblk0p20
lrwxrwxrwx 1 root root 16 6月 24 10:46 sce-fw → …/…/mmcblk0p17
lrwxrwxrwx 1 root root 16 6月 24 10:46 sce-fw_b → …/…/mmcblk0p18
lrwxrwxrwx 1 root root 15 6月 24 10:46 secure-os → …/…/mmcblk0p8
lrwxrwxrwx 1 root root 15 6月 24 10:46 secure-os_b → …/…/mmcblk0p9
lrwxrwxrwx 1 root root 16 6月 24 10:46 UDA → …/…/mmcblk0p34

hello 673765403,

for an alternative approach, are you able to use dd commands to update your partition?
for example, $ sudo dd if=customize.img of=/dev/mmcblk0p33

sudo dd if=/home/resource.img of=/dev/mmcblk0p33
139266+1 records in
139266+1 records out
71304336 bytes (71 MB, 68 MiB) copied, 6.93309 s, 10.3 MB/s
root@amoymn:/# mount -t ext4 /dev/mmcblk0p33 /resource
mount: /resource: wrong fs type, bad option, bad superblock on /dev/mmcblk0p33, missing codepage or helper program, or other error.

i try this way,but is failed.

hello 673765403,

may I know what’s your actual use-case, why you’re having another partition since you would like to monut this to rootfs?
don’t ubuntu have disk management tools to do the trick, such as GParted, fdisk…etc.

My application is packaged as an image that needs to be fully upgraded

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