ts-7000
[Top] [All Lists]

[ts-7000] Re: [TS-75xx] how to restore a backup image with the tsinit sc

To:
Subject: [ts-7000] Re: [TS-75xx] how to restore a backup image with the tsinit script ?
From: "Victor d'Agostino" <>
Date: Thu, 12 May 2011 12:52:10 +0200


Solution :

export CONSOLE='/dev/ttyS0';
export ENV='/shinit';
export HISTFILE='/.ash_history';
export HOME='/';
export IFS='';
export OLDPWD='/etc';
export OPTIND='1';
export PATH='/bin:/sbin';
export PPID='1';
export PS1='# ';
export PS2='> ';
export PS4='+ ';
export PWD='/bin';
export TERM='linux';
export _='/dev';

kill -STOP 1;
kill -STOP 110;
kill -STOP 111;
mount -a;
umount /dev/nbd3;
kill -STOP 1;
kill -STOP 110;
kill -STOP 111;

/bin/busybox dd if=/mnt/usbdev/backup.dd of=/dev/nbd0;

/bin/busybox sleep 5;
reboot;


Regards,

Victor D.

------------------


Hello,

I have an XNAND memory image (/dev/nbd0) and a system image (/dev/nbd3) created with the dd command.

I need to automatically deploy one of these images (no matter which one) on my TS-7553 card using the tsinit script which is on a USB key.

The script starts well but I think I dont use the right command to perform the copy !

I've tried:

1. nandctl -XW 2048 -z 131072 -i /mnt/usbdev/$Image -> the board do not boot then
2. /bin/dd if =/mnt/usbdev/$image of=/dev/nbd0 -> the full system boot before finishing copying so it does not work

Thank you in advance for your help


## IN FRENCH :

Bonjour,

Je dispose d'une image de la mémoire XNAND (/dev/nbd0) et du système (/dev/nbd3) crée avec la commande dd.

Je cherche à déployer une de ces images (peu importe laquelle) automatiquement sur mes cartes TS-7553 à l'aide du script tsinit qui est sur une clé usb.

Le script se lance bien mais je n'ai pas la bonne commande pour effectuer la copie !

J'ai essayé :

1.  nandctl -XW 2048 -z 131072 -i /mnt/usbdev/$Image  -> it crashed the board
2.  /bin/dd if=/mnt/usbdev/$Image of=/dev/nbd0  -> the full system boot before finishing copying

Merci d'avance pour votre aide

__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] Re: [TS-75xx] how to restore a backup image with the tsinit script ?, Victor d'Agostino <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU