Skip to content

Instantly share code, notes, and snippets.

@directorscut82
Last active January 23, 2018 11:36
Show Gist options
  • Select an option

  • Save directorscut82/f104785b6f311f234c3d10133fa2ff21 to your computer and use it in GitHub Desktop.

Select an option

Save directorscut82/f104785b6f311f234c3d10133fa2ff21 to your computer and use it in GitHub Desktop.
[FLASHING PARTITIONS] #CLI #EKT
(partition table)
from uboot use mtd command
else cat /proc/mtd
(backup)
dd if=/dev/mtd5 of=/geo_sec_see_bin.ubo
dd if=/dev/mtd6 of=/geo_vmlinux.ubo
dd if=/dev/mtd7 of=/ge_ae_bin.ubo
(then proceed with flashing)
flash_eraseall /dev/mtd{5.6.7}
nandwrite -p /dev/mtd5 /flash/see_bin.ubo #if i remember well you are using a non fused vion board
nandwrite -p /dev/mtd6 /flash/vmlinux.bin
nandwrite -p /dev/mtd7 /flash/ae_bin.ubo
(note1)
flash_eraseall /dev/mtd8 #for flashing fsi ALWAYS from NFS
nandwrite -p /dev/mtd8 /flash_support/fsi.bin
(note2)
flash_eraseall /dev/mtd11 #for flashing ssi from NFS
nandwrite -p /dev/mtd11 /ssi.bin
(note2)
cp -r /lib /tmp #flashing from fsi directly (as a last solution)
cp /usr/sbin/nandwrite /tmp
cp /usr/sbin/flash_eraseall /tmp
export LD_LIBRARY_PATH=/tmp/lib:$LD_LIBRARY_PATH
cd /tmp
flash ...
...
...
(note3)
#flash ssi always from fsi
mount -o nolock 192.168.1.5:/home/ekt/Development/ip4tv/scratchbox/SSI/saorview/SSI.0.0.0.5/flash /tmp/flashssi/
cd /tmp/flashssi
flashstb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment