ts-7000
[Top] [All Lists]

[ts-7000] Re: Creation of a 7800 bootable SD card

To:
Subject: [ts-7000] Re: Creation of a 7800 bootable SD card
From: "Justin Teems" <>
Date: Tue, 15 Jan 2008 14:06:17 -0000
Hey Folks,

I attempted to follow these instructions below, but I still can't get
a bootable card. I have a 2GB card that came with Eclipse, but I
really don't need it - just need to free up some space on the root
partition. In attempting to follow these steps, when I unzip (Step 5),
I get many "implausibly old time stamp" error messages before tar
exits in this fashion: "tar: Error exit delayed from previous errors" 

Can anyone point me in the right direction? Thanks. 

--- In  "phrasky" <> wrote:
>
> Hi,
> 
> I am also fresh and green user of 7800. I created bootable sd card - 
> 1Gb - this way:
> 
> 1, dd if=sd-mbr.dd of=/dev/sde - sd-mbr.dd is on ftp.embeddedarm.com
> 2, fdisk, drop partition 4 and create new to cover the card - mbr 
> has only 512MB.
> 3, dd ts7800-kernel.dd to /dev/sde2
> 4, dd initrd-busybox-rootfs to /dev/sde3
> 5, mkfs.ext3 on /dev/sde4, unzip 
> debian-sarge-udev-512MB-oct092007.tar.gz or the rootfs from reflash 
> dir.
> 6, change the tssdcard.ko to new from ftp.
> 
> Beware that you cannot fdisk the partition as you wish. I tried and 
> failed. Anytime I changed the partitions - 4, 4, 4 and 960MB - it 
> failed to boot. Only thing I could change is the 4th rootfs 
> partition.
> 
> This is how I got to create card which boots, reboots successfully.
> 
> Best regards,
> 
> 
> --- In  "jhslakota" <jshaffer@> wrote:
> >
> > Hello all, I'm a newbie on t
> his group and have a question. Actually I
> > solved a problem I had and some of the posts have helped but 
> ultimately
> > I did something NOT suggested and solved the problem.  Posting 
> here in
> > the hope that my description and any discussion will help others.   
> [:)]
> > 
> > Short version:
> > The root partition used in the 7800.mbr is only 4096 blocks long 
> (2MB)
> > but the kernel image is 3.5MB. This caused me many problems before
> > realizing this mismatch.
> > 
> > Thus: Are people REALLY getting onboard and SD flashes to work 
> using the
> > posted files on ftp://ftp.embeddedarm.com/ts7800/reflash, namely
> > "ImageKernel" along with the "7800.mbr" configuration?  Because it
> > didn't work for me.
> > 
> > Long Version:
> > I had been struggling for weeks trying to fix the on-board flash 
> (that I
> > accidentally hosed..somehow) by creating a bootable SD card.  All 
> of the
> > instructions I found yielded failure.  1) dd'ing the raw 
> sdimage.dd
> > image to the device, 2) creating individual partitions and dd'ing 
> the
> > respective files, etc, etc.  All to now avail....would 
> say "booting from
> > SD card" and print a period, then nothing.
> > 
> > Yesterday I was dd'ing ImageKernel to the first partition and it 
> did it,
> > but "ran out of space on device".  Huh?!  Apparently the first
> > partition, according to 7800.mbr, is configured to be 4096 blocks 
> long,
> > but ImageKernel is 3.5MB which overshoots the partition.
> > 
> > I first tried hex-editing the 7800.mbr file, which was annoying me
> > before I thought of trying something easier: dd 7800.mbr to the 
> raw
> > device, then use fdisk to delete the partitions and remake new 
> ones
> > twice as large for the kernel and initrd partitions, with the 
> third
> > partition just maxing out whatever space was left.  Incidentally I 
> made
> > both partitions 8192 blocks....big enough for ImageKernel.
> > 
> > Voila!  It started working.
> > 
> > Now, to repeat the question in the short version: Am I missing
> > something? Are people using the posted 7800.mbr WITH ImageKernel 
> and
> > getting positive results? I followed the details given in the 
> thread
> > starting with 
> http://tech.groups.yahoo.com/group/ts-7000/message/9569
> > but applied it to the SD card instead of the on-board flash as 
> mentioned
> > above.
> > 
> > But those instructions, IMHO, have the same problem when applied 
> to the
> > on-board flash. The first partition is still smaller than 
> ImageKernel.
> > 
> > Anyway, I'd appreciate anyone's comments/clarifications on this 
> matter. 
> > Once I REALLY understand what's happening I'll post a step-by-step
> > process for this.  I'll also post a/my 7800-sdimage.dd if there is
> > interest.  Due to size, maybe just an image with partitions 1 and 
> 2 for
> > kernel and initrd.
> > 
> > Thanks all,
> > John Shaffer
> > Lakota Innovations LLC
> > jshaffer@
> >
>




 
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