ts-7000
[Top] [All Lists]

[ts-7000] Re: lost original sd card boot image, get trouble with creatin

To:
Subject: [ts-7000] Re: lost original sd card boot image, get trouble with creating a new sd boot image
From: "tanganyang1985" <>
Date: Thu, 28 Feb 2013 14:41:12 -0000
Thanks for quick response.

I think you are right, the sd card I am using now has only one partition.
 
One more question, what is the size should I allocate the sd card? is it 
something like : partition 1: 10 MB, partition 2: 10 MB and partition 3 980 MB?

Alex

--- In  Don Tucker <> wrote:
>
> I believe that sdimage-new.dd actually has 3 (or 4?) partitions. The 
> kernel should be put onto partition 2. I'm not sure how partition 2 
> shows up on your machine when the SD card is mounted. I do something like:
> 
> dd if=sdimage-new.dd of=/dev/sdb
> 
> to put the image onto the sdcard, and then
> 
> dd if=arch/arm/boot/Image of=/dev/sdb2
> 
> to put the kernel onto partition 2.
> 
> As a final step, once the SD card has booted, on the SD card I do
> 
> |chown -R root:root /lib/modules/2.4.26-ts11/|
> 
> copy the System.map from the kernel source directory over to the SD card 
> and do
> 
> depmod -a -F System.map
> 
> Don
> 
> On 2/28/2013 8:08 AM, tanganyang1985 wrote:
> >
> > The precise procedure is like that:
> >
> > step 1: sudo apt-get install libncurses5-dev libncursesw5-dev Result: 
> > no error
> > step 2: wget 
> > ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7260-linux/binaries/ts-images/sdimage-new.dd.bz2
> >  
> > Result : no error
> > step 3: bzcat sdimage-new.dd.bz2 | dd of=/dev/mmcblk0p1 bs=4096k 
> > Result: no error
> > step 4: cd ~
> > mkdir ts7200_kernel_howto /
> > wget ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7260-linux/\
> > wget ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7260-linux/\
> > tar xjvf crosstool-linux-gcc-3.3.4-glibc-2.3.2-0.28rc39.tar.bz2
> > tar xzvf tskernel-2.4.26-ts11-src.tar.gz
> > rm -f *.tar.bz2 Result no error
> > step 5: cd linux24/
> > vi Makefile
> >
> > CROSS_COMPILE = $(shell cd 
> > $(TOPDIR)/../usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/ 
> > && pwd)/arm-linux- Result: no error
> > make menuconfig
> > - Load the TS-7260 config file by typing "L" three times, "ENTER", and
> > specify: arch/arm/def-configs/ts7260
> > When finished, save and exit back to the menuconfig root (home page)
> >
> > - Change the default kernel command line by typing "G", "Enter", "D",
> > "ENTER", and specify: root=/dev/ram0 init=/linuxrc 
> > console=ttyAM0,115200 printk=4 loops=499712
> > When finished, save and exit back to the menuconfig root (home page)
> >
> > - Exit menuconfig and be sure to say "Yes" to save your changes
> >
> > Compile the kernel
> > * make dep
> > * make Image
> > Result: no error
> >
> > Step 6: updating sd card
> >
> > dd if=arch/arm/boot/Image of=/dev/mmcblk0p1 no error
> >
> > Step 7: umount sd card
> > umount /dev/mmcblk0p1
> >
> > Step 8 : insert sd card, then minicom, then power on ts 7260
> > the minicom keeps repeating these three lines:
> > >> TS-SDBOOT - built Aug 10 2009
> > >> Copyright (c) 2007, Technologic Systems
> > .
> >
> > I am using a empty 1 GB sd card with one partition.
> >
> > Could anyone gives some suggestions? Thanks very much.
> >
> > Alex
> >
> > --- In  <ts-7000%40yahoogroups.com>, 
> > "tanganyang1985" wrote:
> > >
> > > hello every:
> > >
> > > I lost the original sd card boot image, so I have to create a new 
> > one.for the TS-7260 SBC.
> > >
> > > The TS7260 has already permanently modified the TS-7260 to boot to 
> > the SD card.
> > >
> > > I have tried two sd card, one is sd impact 1 GB with 2 partition 
> > (ext2 1.6 mb and 994 mb), the other one I used is 16 GB SDHC with one 
> > partition (ext2)
> > >
> > > I followed these two links step by step, no error occurs:
> > > http://www.embeddedarm.com/software/arm-linux-fastboot-ts7300.php
> > > http://www.embeddedarm.com/about/resource.php?item=485
> > >
> > > however, it is failed when I insert the new sd card into the TS7260 
> > socket, the minicom keeps showing:
> > >
> > > >> TS-SDBOOT - built Aug 10
> > > 2009
> > > >> Copyright (c) 2007, Technologic Systems
> > >
> > > Could anyone gives some suggestions? Thanks very much,
> > >
> > > Alex
> > >
> >
> >
>




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

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<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