ts-7000
[Top] [All Lists]

[ts-7000] Re: Where do I install a new kernel?

To:
Subject: [ts-7000] Re: Where do I install a new kernel?
From: "Ray" <>
Date: Sat, 28 Jul 2007 02:33:59 -0000
At last I think I get it.

What I think is happening is the initrd on the sd image
is actually for the 7300 ( I have 7400 ) doh!

If I just dd the default ts7400 initrd to the sd 
         dd if=ts7400-initrd.dd of=/dev/sda2

I get past the hanging TS-SDBOOT, but still no boot..
It doesn't appear to be mounting /dev/sdcard0/disc0/part3

Ah well, one step closer.....




--- In  "Ray" <> wrote:
>
> Hi Frank, 
> You are correct, the bootrom just kicks things off, the following link
> explains a bit more what I am trying to get working.
> 
> http://www.embeddedarm.com/epc/fastboot.htm
> 
> The issue I have boiled it down to is that after doing a bootrom
> update using the -s option as described in the above docs, the 
> board fails to boot. Just hangs after the 3 dots. I am still working
> through how to use the bootload (actually bootload_static).
> 
> Ray
> 
> --- In  "Frank Pagliughi" <fpagliughi@> wrote:
> >
> > Actually, I don't believe that the TS-BOOTROM is sophisticated enough
> > to load and run the kernel. Is it? Normally the TS-BOOTROM just
> > initializes a few things, runs RedBoot, and RedBoot then loads and
> > runs the kernel.
> > 
> > So I thinks you may want to see if you can get RedBoot to load the
> > kernel from the SD Card, and then execute it. 
> > 
> > I'm not sure if RedBoot recognizes the SD Cards. I know that on the
> > 7200 it recognizes the CF card, and can load the kernel from there.
> > From the RedBoot command line there is a 'disks' command that will
> > give a list of the "drives" it recognizes. 
> > 
> > Unfortunately, the 'disks' command may not be compiled into the
> > version of RedBoot that comes pre-installed on the board, so you may
> > need to recompile RedBoot from sources.
> > 
> > But that seems like an awful lot of work. It might be easier to
> > compile a new kernel, install it into the flash, then have RedBoot
> > load & execute that one using the file system on the SD Card.
> > 
> > 
> > Frank
> > 
> > --- In  "Ray" <etheira@> wrote:
> > >
> > > Thanks for the suggestion, I wasn't planning to use redboot.
> > > 
> > > Ideally I would like the kernel to be on 
> > > the sd card, the default kernel loads from flash and I thought
> > > it would look for /vmlinux.bin and bootload that, from what 
> > > I can glean from the docs the TS7400 has TS-FASTBOOT not TS_SDBOOT
> > > firmware. 
> > > 
> > > When I try to update the TS-BOOTROM using ..
> > > 
> > >         tsbootrom-update -s -m <mac address> 
> > > 
> > > Then it hangs on boot after the 3 dots, I have to swap
> > > back to TS-FASTBOOT using 
> > >         tsbootrom-update -f 
> > > 
> > > to get it booting again.
> > > 
> > > I suspect that the tsbootrom-update is installing a
> > > TS-SDBOOT for the TS-7300 but I really am flying blind here
> > > 
> > > I am going to try playing around with bootload for a bit
> > > to see if I can grab it before it chroot's to the sd, but 
> > > that means the kernel will be in on-board flash.
> > > 
> > > Ray 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > --- In  "tedapt" <tedapt@> wrote:
> > > >
> > > > Haven't done this myself, but I think you want to delete the old
> > > > kernal from flash and write the new one.  See p9 or the Linux
> for ARM
> > > > on TS-72XX User's Guide.  
> > > > 
> > > > You'll probably first need to get to the RedBooot shell at startup
> > > > (ctrl-c), load the new kernal from an HTTP or NFS server (I
did that
> > > > following instructions, not too hard, note the option for HTTP
port#
> > > > is -p <portnum>).  Then delete old, write new kernal.
> > > > 
> > > > --- In  "Ray" <etheira@> wrote:
> > > > >
> > > > > Apologies for this,
> > > > > 
> > > > > It seems like a really DUMB question, but I have scoured the 
> > > > > documentation and failed to find a definitive answer.
> > > > > 
> > > > > I am running the debian sd card installation. on TS7400 and 
> > > > > I wish to install a new kernel, where do I install it?
> > > > > 
> > > > > What I have tried already , is as follows.
> > > > > 
> > > > > 1. with an sd card reader on another computer...
> > > > >    dd if=<new kernel> of=/dev/sda1
> > > > > 
> > > > > 2. copied to /vmlinux.bin on sd card
> > > > > 
> > > > > I know it's a really stupid question, but I'm afraid I can't
> unravel
> > > > the 
> > > > > different board versions and myriad of boot
> options...documentation 
> > > > > keeps moving about on the ftp server... 
> > > > > 
> > > > > I should qualify the above, in case it sounds critical, I really
> > love
> > > > > the TS7400 and already have my application up and running after
> > only 
> > > > > a week. It really is a very nice little system.
> > > > > 
> > > > > Now where do I put this kernel...  (be nice)
> > > > >
> > > >
> > >
> >
>




 
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