ts-7000
[Top] [All Lists]

[ts-7000] Re: Booting Debian from USB

To:
Subject: [ts-7000] Re: Booting Debian from USB
From: "jdsjls2002" <>
Date: Fri, 10 Apr 2009 17:12:32 -0000
I got some technical support from TS.  If I hit enter rather than CTRL-D at the 
end of the process, things were fine.  I could use gcc to come a Hello 
appication which then ran.


--- In  "jdsjls2002" <> wrote:
>
> I seem to be having the same problem with a USB flash driver from the TS-7250 
> dev kit.  My board was purchased well before my devKit (I included boot 
> output identifying versions at the end).  Following the instructions in the 
> "Linux for ARM on TS 72XX User's Guide" jul 2008, section "5.2 Flash Memory 
> Cards/ USB Flash Drives", I do the following.
> 
> 1.  Plug in Dev Kit provided Flash Drive.
> 2.  Power on System.
> 3.  Enter loadUSBModules.sh
> 4.  Enter loadUSB.sh
>        During the last part of excution I get:
>         Could not load host key: /etc/ssh
>         /ssh_host_dsa_key                              
>         Disabling protocol version 2. Could not load host
>         key sshd: no hostkeys available
>        --exiting.                                         
>        Starting NFS common utilities:
>        statd.                                           
>        Starting periodic command scheduler:  
>        cron.                                      
>        Starting web server: apache-ssl
>        failed                                          
>        Press enter for
>        maintenance (or type Control-D to continue):     
> 5.  At this point I enter CTRL-D.
>          After typing "uname -r" I get.
>          $ uname -r
>          2.4.26-ts11 
> The initial portion of my boot is as follows:   
>    >> TS-NANDBOOT, Rev 1.00 - built 10:14:31, Mar  7 2005
>    >> Copyright (C) 2004, Technologic Systems                         
>    >> TS-BOOTROM, Rev 1.08 - built 16:18:21, Jun  5 2006  
>    >> Copyright (C) 2006, Technologic Systems
>    >> TS-7250: Rev >E1 CPU, Rev B PLD, 32MB SDRAM
>    >> TS-5620: detected, battery OK, time ( 14:40:22, Apr  5 2009 )
>                                                                               
>   
>    +Ethernet eth0: MAC address    00:d0:69:40:70:a1
>    IP: 192.168.0.50/255.255.255.0, Gateway: 192.168.0.1
>    Default server:    192.168.0.1      
>                                                                               
>   
>    RedBoot(tm) bootstrap and debug environment  [ROMRAM]   
>    Non-certified release, version current-TS_5 - built 10:49:48, 
>    Jun   19 2006
>    Platform: TS-7250 Board (ARM920T) Rev A
>    Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
>                                                                               
>   
>    RAM: 0x00000000-0x02000000, [0x00052ab0-0x01ff9000] available
>    FLASH: 0x60000000 - 0x62000000, 2048 blocks of 0x00004000 bytes each.
> == Executing boot script in 0.100 seconds - enter ^C to abort
> RedBoot> fis load vmlinux                                                     
>   
> RedBoot> exec -c "console=ttyAM0,115200 root=/dev/mtdblock1"      
> Using base address 0x00218000 and length 0x000c0000 
> Linux version 2.4.26-ts11  (gcc version 3.3.4) #22 Tue Jun 6 
> 126
> CPU: Arm920Tid(wb) revision 0 
> Machine: ep9301
> On node 0 totalpages: 2048  
> 
> 
> 
> 
> --- In  "hideki.kondo" <musashi@> wrote:
> >
> > Hello everyone.
> > 
> > With my TS-7260 (Kernel 2.4.26) I am trying boot into Debian from USB
> > flash. I installed the latest 256MB Debian Sarge Image from
> > ftp://embeddedarm.com/images/debian256 on my 256MB USB flash drive,
> > and did the following as instructed in Linux for Arm on TS-72xx document:
> > 
> > 1. Modified /etc/fstab too boot from USB
> > 2. /usr/bin/loadUSBModules.sh
> > 3. /usr/bin/loadUSB.sh
> > 
> > Then, the system reboots with this log:
> > 
> > $ /usr/bin/loadUSB.sh
> > EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
> > Creating extra device nodes...done.
> > Started device management daemon v1.3.25 for /dev
> > Cleaning up ifupdown...done.
> > Loading modules: usbcore zd zd1211 - http://zd1211.ath.cx/ - r83
> > Based on www.zydas.com.tw driver version 2.5.0.0
> > usb.c: registered new driver zd1211
> > pcipool usb-ohci usb-ohci-ep93xx af_packet
> > Checking all file systems...
> > fsck 1.37 (21-Mar-2005)
> > ... done.
> > mount: mount point ext2 does not exist
> > Setting up networking...done.
> > Starting hotplug subsystem: usb isapnp ide scsi
> > .
> > Setting up IP spoofing protection: rp_filter.
> > Enabling packet forwarding...done.
> > Configuring network interfaces...done.
> > Starting portmap daemon: portmap.
> > Recovering nvi editor sessions... done.
> > Starting internet superserver: inetd.
> > Starting OpenBSD Secure Shell server: sshdCould not load host key:
> > /etc/ssh/ssh_
> > host_rsa_key
> > Could not load host key: /etc/ssh/ssh_host_dsa_key
> > Disabling protocol version 2. Could not load host key
> > sshd: no hostkeys available -- exiting.
> > Starting NFS common utilities: statd.
> > Starting periodic command scheduler: cron.
> > Starting web server: apache-ssl failed
> > Press enter for maintenance
> > (or type Control-D to continue):
> > 
> > Seems like something is wrong with the file system.
> > If I press enter, I can see that the root file system is changed to
> > the USB flash drive. But when I type uname -r to check the kernel
> > version, it displays 2.4.26-ts11 which is the original kernel.
> > 
> > Does this mean Debian was not booted, and only the root file system
> > was modified?
> > 
> > If someone encountered similar problems before or know how to fix
> > this, please help me.
> > 
> > Thank you in advance.
> > 
> > Hideki
> >
>




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

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