ts-7000
[Top] [All Lists]

Re: [ts-7000] Newbie: Creating backup bootable SD card

To:
Subject: Re: [ts-7000] Newbie: Creating backup bootable SD card
From: "Jordi Soucheiron" <>
Date: Tue, 21 Oct 2008 23:19:12 +0200
I don't know if this will solve all your problems, but it's worth a try. I had to change the sdcard.o original module for the one found in the ftp (the original is about 19k and the updated one 20k).
Good luck

2008/10/21 brucejohnson395 <>

Hi All,

This is my first post, so let me introduce myself. I have got a
TS-7400 board (with SDK) this week. [I also have the TS-7800 with SDK
as well, but I haven't started with that yet.]

I must confess I've been quite frustrated by the board so far, but I
believe it's due to me flailing around without really making any
progress in any direction.

My experience with Linux is in the "enough experience to be dangerous"
category. I can find my way around ok, follow instructions, even use
vi, but the overall "success" rate is quite low.

My goal is to copy some C source code onto the board, and from that
compile to some programs & libraries. However along the way I'm
encountering lots of questions, and not many answers.

First off, I'd like to make a backup of the 512Mg SD card that came in
the kit. For 2 reasons. (a) I'm hesitant to go too far with the
shipping one 'cause sooner or later I'm gonna break it and (b) it
seems to be slightly on the small side. (I wanted to install wget for
example and it more or less ran out of space.)

I have a 2gig SD card. And I have a normal intel Linux box (running
Fedora) to work with.

Even this relatively simple process has raised a bunch of questions.
Any hints or tips on where I'm going wrong would be greatly appreciated.

I followed the instructions on page 25 of the "Linux for ARM on
TS-72XX User's Guide" (July 2008 edition).

Question 1: the fdisk command stright off the bat looks wrong. The doc
says
fdisk /dev/ide/host0/bus0/target0/lun0/disc
which looks wrong, because we're on the big linux box, not the ts7000,
I'm thinking it should be
fdisk /dev/sda1
yes?

fdisk, and then mkfs.ext2 seemed to go right. mounting and Tar seemed
to go ok. However card failed when put in TS-7400.

Back to the Linux PC - and some gathered information.
I'm using fdisk -l to see the devices connected to the Linux Pc. So
when I plug in the 512M SD card (via SD/USD Thumb drive reader) from
Technologic, I see 3 partitions
Device Boot Start End Blocks Id System
/dev/sdb1 1 6 1520 da Non-FS data
/dev/sdb2 7 10 1024 da Non-FS data
/dev/sdb3 20 953 239104 83 Linux

Should I be worried about the first 2 partitions? Are they required to
make my backup card work?

On my 2 gig card, after following the instructions on page 25,
(including the command mkfs.ext2 /dev/sdb1 command) I do a fdisk -l
and get;
Device Boot Start End Blocks Id System
/dev/sdb1 1 1090 1993604+ 6 FAT16

Fat16??? I thought it should be EXT2, or perhaps "Linux"? I've
repeated this process a couple times and it comes out the same every time.

Suffice to say the card doesn't boot when I plug it into the TS-7400.

While we're on the topic whenever I try and umount the card (umount
/mnt)I get a "device busy" message. Why?

Any suggestions gratefully received.

Cheers
Bruce




--
Jordi Soucheiron
Software Engineer

DEXMA
Riu de l'Or 35, ES-08034, Barcelona
t:/f: +34 93 280 19 18
www.dexmatech.com


__._,_.___

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>
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