ts-7000
[Top] [All Lists]

[ts-7000] Re: rebuilding the SD image

To:
Subject: [ts-7000] Re: rebuilding the SD image
From: "walter woodrow" <>
Date: Wed, 13 Jun 2007 18:53:41 -0000
>From the TS-SPIFLASHBOOT (this is the only way I can get it to boot) 
boot I did the following to rename the fastboot file.
insmod -q -f /ts7xxx_nand.o
mount -t yaffs /dev/mtdblock/3 /mnt/root

after that I went to the /mnt/root directory and renamed the fastboot 
to bakfastboot.  But after rebooting, still no change.  Was that the 
correct location to remove the fastboot file?

If I take the SD card out and remove the boot jumper I get the:
>> TS-SDBOOT - built Oct 17 2006
>> Copyright (c) 2006, Technologic Systems
>> TS-SDBOOT - built Oct 17 2006
>> Copyright (c) 2006, Technologic Systems
over and over.  
If I insert the SD card with the jumper removed then I get the 3 dots 
then it hangs.
Is there a change I need to do to the flash on the 9441?

Once I put the boot jumper back on with the SD still removed then it 
comes up to the >> TS-SPIFLASHBOOT.

Sorry, but I am still confused on what I need to do to get the 7400 
to boot with the boot jumper removed.  Currently with the SD in or 
out the boot still fails when the boot jumper is removed.  Can I 
mount the filesystem on the 9441 to see what is there?

Thanks again,


--- In  Eddie Dawydiuk <> wrote:
>
> Hello,
> 
> > After mounting the second partition and copying the two files 
there 
> > it worked. No longer was I stuck at the 3 dots.  I typed in exit 
and 
> > came up into the SD card.  I wanted to bypass that first boot and 
> > come directly into the SD like we had it before the crash.  So I 
> > issued "ln -sf /linuxrc-sdroot /linuxrc; save" and now it is 
broke 
> > again.  I am back to the 3 dots then getting stuck.
> 
> The initial ramdisk on the default SD card was not developed for 
the 
> TS-7400, as the TS-7400 doesn't use TS-SDBOOT by default. The TS-
7400 is 
> shipped with TS-FLASHBOOT. It is not required nor recommended to 
change 
> your bootrom on the TS-7400. One can still use the filesystem on 
the SD 
> card as their root filesystem with out modifying the bootrom. This 
is 
> what the linuxrc-sdboot script is for. If you don't want to drop to 
the 
> fastboot environment then you should delete the fastboot file.
> 
> e.g. Taken from TS-7400 Manual, Getting Started
> 
>       Should you wish to automatically bypass the fastboot and 
proceed
>       directly into starting the SD card version of Linux, you can 
do              so 
> with the following command issued to the fastboot shell:
> 
>       ln -sf /linuxrc-sdroot /linuxrc; save
> 
>       For the onboard flash the command is:
> 
>       ln -sf /linuxrc-mtdroot /linuxrc; save
> 
>       For the USB flash dongle or USB hard drive:
> 
>       ln -sf /linuxrc-usbroot /linuxrc; save
> 
>       To get back to the fastboot shell, you can do so by placing 
the             file 
> "/fastboot" in the root directory of the filesystem.
> 
> As a result of several customers installing TS-SDBOOT on TS-7400s 
we 
> provided the new SD card driver and linuxrc script as an example of 
what 
> needs to be modified in the default linuxrc scripts in order to 
boot a 
> TS-7400. Once you change that example linuxrc script(e.g. ln -sf 
> /linuxrc-sdroot /linuxrc), then you're board will no longer boot as 
you 
> have found.
> 
> 
> > The md5 checks out in /dev/sdcard0/disc0/part2.  So what is wrong 
> > now?  I ran the update_9441 again, but no luck.  Where else can I 
> > look?
> 
> Based on the ln command you ran I would expect linuxrc to be a 
symbolic 
> link to linuxrc-sdboot. Hopefully the info above explains why this 
won't 
> work on a TS-7400 with TS-SDBOOT as the bootrom.
> 
> The simplest and recommended way to use the filesystem on the SD 
card as 
> the root filesystem is to create a symbolic link from linuxrc to 
> linuxrc-sdboot. You do not need to modify your bootrom, this means 
you 
> also don't need to modify the contents of the linuxrc script nor do 
you 
> need to install a new SD driver. If you are dropping to the 
fastboot 
> prompt and you do not want to have to type exit, then ensure you 
have no 
> fastboot file installed on the filesystem.
> 
> -- 
> Best Regards,
> ________________________________________________________________
>   Eddie Dawydiuk, Technologic Systems | voice:  (480) 837-5200
>   16610 East Laser Drive Suite 10     | fax:    (480) 837-5300
>   Fountain Hills, AZ 85268            | web: www.embeddedARM.com
> 
> 
> > --- In  Eddie Dawydiuk <eddie@> wrote:
> >> Hello,
> >>
> >>> I put the SD card in a linux desktop and could not find the 
> > linuxrc 
> >>> file on the sd card.  what folder is it supposed to be in?
> >> The linuxrc file as well as the SD card driver reside on the 
> > initial 
> >> ramdisk. The initial ramdisk is stored on the second partition 
of 
> > the SD 
> >> card(ext2 filesystem).
> >>
> >>> Also, if I remove the boot jumper and removed the SD card, I 
get 
> > the 
> >>> following over and over:
> >>>
> >>>>> TS-SDBOOT - built Oct 17 2006
> >>>>> Copyright (c) 2006, Technologic Systems
> >>>
> >>>>> TS-SDBOOT - built Oct 17 2006
> >>>>> Copyright (c) 2006, Technologic Systems
> >>> even after I issue the boot from onboard flash command it still 
> > does 
> >>> the same.  Do I have a problem with the 9441 board?
> >>>
> >>> Command I used:
> >>> ln -sf /linuxrc-mtdroot /linuxrc; save
> >> It looks like you modified your bootrom on your board. Seeing as 
> > though 
> >> it is TS-SDBOOT(this is not the default bootrom). As mentioned 
> > earlier 
> >> this bootrom will try to load a kernel and initial ramdisk from 
an 
> > SD card.
> >> -- 
> >> Best Regards,
> >> ________________________________________________________________
> >>   Eddie Dawydiuk, Technologic Systems | voice:  (480) 837-5200
> >>   16610 East Laser Drive Suite 10     | fax:    (480) 837-5300
> >>   Fountain Hills, AZ 85268            | web: www.embeddedARM.com
> >>
> >>
> >>> --- In  Eddie Dawydiuk <eddie@> wrote:
> >>>> Hello,
> >>>>
> >>>>> With the jumper on it comes up in the SPIFLASHBOOT.  I have 
the 
> >>>>> follwoing checksums:
> >>>>> TS-SPIFLASHBOOT - built Oct  3 2006
> >>>>> 4118fe72efa55f8a811addb8b08eb27f  sdcard.o
> >>>>> eb3eb2403be1bb1880e44f11c3542411  linuxrc
> >>>>> d10ec392e3b8c4b37a1c6fe45ec181e6  linuxrc-sdroot
> >>>>> eb3eb2403be1bb1880e44f11c3542411  linuxrc-fastboot
> >>>>> c44d06ef7a04b930704f16be7e8ca503  linuxrc-usbroot
> >>>>> 39260fd1abdd6b45192835bd0e24b6e6  linuxrc-nfsroot
> >>>>> dc47ac4c89b59075bbef483bd280b774  linuxrc-mtdroot
> >>>>>
> >>>>> when I type in exit and load in the SD to get to the place 
> > where 
> >>> I 
> >>>>> copied the two files from the web site.
> >>>>> 4118fe72efa55f8a811addb8b08eb27f  sdcard.o
> >>>>> 5b1fcc706f081fe623a058db4c34c6e4  linuxrc2.7400
> >>>> It looks like you have the boot jumper on(e.g. SPIFLASHBOOT). 
To 
> >>> clarify 
> >>>> what the different bootroms do. The SPIFLASHBOOT is the 
bootrom 
> >>> used to 
> >>>> boot to the TS-9441, it reads the kernel and initial ramdisk 
> > from 
> >>> the 
> >>>> serial flash on the TS-9441. FLASHBOOT is the default bootrom 
> >>> shipped on 
> >>>> the TS-7400, this bootrom reads the kernel and initial ramdisk 
> > from 
> >>> the 
> >>>> onboard NAND flash(e.g. on a TS-7400). SDBOOT will read the 
> > kernel 
> >>> and 
> >>>> initial ramdisk from the SD card. As a result you'll want to 
put 
> >>> the SD 
> >>>> card driver and initial ramdisk on the SD card...
> >>>>
> >>>> -- 
> >>>> Best Regards,
> >>>> 
________________________________________________________________
> >>>>   Eddie Dawydiuk, Technologic Systems | voice:  (480) 837-5200
> >>>>   16610 East Laser Drive Suite 10     | fax:    (480) 837-5300
> >>>>   Fountain Hills, AZ 85268            | web: 
www.embeddedARM.com
> >>>>
> >>>>
> >>>>> --- In  Eddie Dawydiuk <eddie@> wrote:
> >>>>>> Hello,
> >>>>>>
> >>>>>>> Okay, if I copy and paste that link in it worked.  Loaded 
the 
> >>> SD 
> >>>>> with 
> >>>>>>> the image and all looks good.  thanks for that.
> >>>>>>>
> >>>>>>> I have another problem.  When trying to boot (jumper not 
set 
> >>> for 
> >>>>>>> boot) I get the following:
> >>>>>>>>> TS-SDBOOT - built Oct 17 2006
> >>>>>>>>> Copyright (c) 2006, Technologic Systems
> >>>>>>> .
> >>>>>>> .
> >>>>>>> .
> >>>>>>> It just hangs after that.  I found the fix for the 7400 
where 
> >>> you 
> >>>>>>> replace the sdcard.o and renaming linuxrc2.7400 to linuxrc-
> >>> sdroot.
> >>>>>>> After doing that I get the same thing.  Am I missing 
> > something?
> >>>>>>> I am not sure if I am doing it correctly.  Not much 
> > description 
> >>>>> in 
> >>>>>>> that readme file.  I boot jumper and get the following:
> >>>>>> There isn't much to it. You might want to try running md5sum 
> > on 
> >>> the 
> >>>>>> linuxrc file/kernel on your board and the ones for the TS-
7400 
> >>>>> SDBOOT to 
> >>>>>> ensure you have replaced both files...
> >>>>>>
> >>>>>> -- 
> >>>>>> Best Regards,
> >>>>>>
> > ________________________________________________________________
> >>>>>>   Eddie Dawydiuk, Technologic Systems | voice:  (480) 837-
5200
> >>>>>>   16610 East Laser Drive Suite 10     | fax:    (480) 837-
5300
> >>>>>>   Fountain Hills, AZ 85268            | web: 
> > www.embeddedARM.com
> >>>>>>
> >>>>>>>>> TS-SPIFLASHBOOT - built Oct  3 2006
> >>>>>>>>> Copyright (c) 2006, Technologic Systems
> >>>>>>> .
> >>>>>>> .
> >>>>>>> .
> >>>>>>> Finished booting in 3.10 seconds
> >>>>>>> Type 'tshelp' for help
> >>>>>>> $
> >>>>>>>
> >>>>>>> I then run insmod -q -f /sdcard.o and then mount the 
sdcard.  
> >>>>> This is 
> >>>>>>> so I can get to those two files that need to be updated 
that 
> > I 
> >>>>> have 
> >>>>>>> placed on the SD card.
> >>>>>>> But since it is the flash, I think I loose what I copy 
over.  
> >>> How 
> >>>>> can 
> >>>>>>> I update the 2 files to fix this problem?
> >>>>>>>
> >>>>>>> I followed the directions from this link:
> >>>>>>> ftp://oz.embeddedarm.com/sdboot_7400/
> >>>>>>>
> >>>>>>> Thanks,
> >>>>>>> Walter
> >>>>>>>
> >>>>>>> --- In  Eddie Dawydiuk <eddie@> 
wrote:
> >>>>>>>> Hello,
> >>>>>>>>
> >>>>>>>>> We are using the 7400 and seems the SD has been 
corrupted.  
> > I 
> >>>>>>> searched 
> >>>>>>>>> this forum and only found about copying an image.
> >>>>>>>>>
> >>>>>>>>> I tried looking here: The procedure is documented here
> >>>>>>>>> http://www.embeddedarm.com/epc/fastboot.htm.
> >>>>>>>>> but page does not seem to exist.
> >>>>>>>>>
> >>>>>>>>> Can some one point me to a document on reloaded the SD as 
> > it 
> >>>>>>> comes from 
> >>>>>>>>> Embeddedarm.
> >>>>>>>> The link seems to be working fine for me. You'll also want 
> > to 
> >>>>> see 
> >>>>>>> the 
> >>>>>>>> following thread.
> >>>>>>>>
> >>>>>>>> http://tech.groups.yahoo.com/group/ts-7000/message/6357
> >>>>>>>>
> >>>>>>>> -- 
> >>>>>>>> Best Regards,
> >>>>>>>>
> >>> ________________________________________________________________
> >>>>>>>>   Eddie Dawydiuk, Technologic Systems | voice:  (480) 837-
> > 5200
> >>>>>>>>   16610 East Laser Drive Suite 10     | fax:    (480) 837-
> > 5300
> >>>>>>>>   Fountain Hills, AZ 85268            | web: 
> >>> www.embeddedARM.com
> >>>>>>>
> >>>>>>>  
> >>>>>>> Yahoo! Groups Links
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>
> >>>>>
> >>>>>  
> >>>>> Yahoo! Groups Links
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>
> >>>
> >>>
> >>>  
> >>> Yahoo! Groups Links
> >>>
> >>>
> >>>
> >>>
> >>>
> > 
> > 
> > 
> > 
> >  
> > Yahoo! Groups Links
> > 
> > 
> > 
> > 
> >
>




 
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