ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Auto..Run

To:
Subject: Re: [ts-7000] Re: Auto..Run
From: "Martin Guy" <>
Date: Sat, 14 Jun 2008 10:06:57 +0100
>
> -laks
>

> From:    Fred
> The only thing I can think of is that your
> new process isn't    giving up the time back to
> the operating system. If your new process    has
> a forever loop (and it probably does) how about
> putting in a call to    sleep(1) in the main
> loop just for testing so that the OS has a
> chance    to continue the rest of the start-up
> processes just in case your new    process is
> hogging all the clock cycles. sleep(1) will
> give the OS time    to swap tasks and    such.

No, this is a misconception. That was MSDOS and Windows. Linux is
pre-emptive and a single process cannot lock the kernel out.

> unfortunately my TS7250 is not responidng to  control c to terminate my 
> application, it is continiuosly running my  program

> How can i regain the shell prompt?
Attach a serial console to the serial port, interrupt the boot loader
and perform the boot sequence manually, adding the option
"init=/bin/sh" at the end of the linux kernel options.  There are
instructions on how to do this that came with the board and on the
embeddedarm.com web site - you're looking for a couple of lines like:
> fis load kernel
> exec -c "console=ttyAM0,115200 init=/bin/sh"
but don't just copy these (I just invented them) - do your research to
get the correct ones.
That should give you a root shell prompt, so you can un-break your
filesystem, sync and reboot.

   M

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

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