ts-7000
[Top] [All Lists]

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

To:
Subject: Re: [ts-7000] Re: Newbie: Creating backup bootable SD card
From: "Jordi Soucheiron" <>
Date: Wed, 22 Oct 2008 10:15:16 +0200
The manual explains how does the 7200 work. The sdcard from 7400 has 3 partitions. The first one is where you place the kernel, the second one is the initdr and the third one is the root partition.

2008/10/22 jirimacku <>

--- In ts-7000%40yahoogroups.com, "brucejohnson395" <> wrote:
Hi,

maybe you can find your answer here:
http://oz.embeddedarm.com/~michael/support/faq.html#faq11

or try to search this forum for "bootable SD". It was discussed quite
often some time ago.

Jiri



>
> Hi Jordi,
>
> I have this nagging suspicion that I'm missing something fairly
> fundamental.
>
> In the instructions in the Users guide, the SD card is partitioned
> with only _1_ partition, using the whole card. But if I inspect the
> 512M card from Technologic it has 3 partitions.
>
> fdisk reports that the first 2 are quite small (type da) and the third
> contains the rest. Equally the Technologic card does not have any
> partition set as "bootable" where-as the instructions do say to make
> the partition bootable.
>
> I know this is probably laughably basic to y'all, but consider this a
> plea from a rapidly-balding-programmer...
>
> Cheers
> Bruce
>
>
> --- In ts-7000%40yahoogroups.com, "Jordi Soucheiron" <jsoucheiron@>
> wrote:
> >
> > 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 <bruce@>
> >
> > > 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
> > jsoucheiron@
> >
>




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