ts-7000
[Top] [All Lists]

[ts-7000] Re: TS-7200: VFS: Cannot open root device "hda1" or unknown-bl

To:
Subject: [ts-7000] Re: TS-7200: VFS: Cannot open root device "hda1" or unknown-block(2,0)
From: "gunnar.kjemphol" <>
Date: Sun, 17 Oct 2010 08:05:37 -0000
my fconfig -l shows:

RedBoot> fconfig -l                                                             
Run script at boot: true                                                        
Boot script:                                                                    
.. load -b 0x00218000 -m disk hda1:/arch/arm/boot/compressed/vmlinux            
.. exec -c "console=ttyAM0,115200 root=/dev/hda1"                               
                                                                                
Boot script timeout (100ms resolution): 1                                       
Use BOOTP for network configuration: false                                      
Gateway IP address: 192.168.0.1                                                 
Local IP address: 192.168.1.72                                                  
Local IP address mask: 255.255.255.0                                            
Default server IP address: 192.168.1.1                                          
dns_ip: 192.168.0.1                                                             
Network hardware address [MAC]: 0x00:0xD0:0x69:0x40:0x5E:0x2B                   
GDB connection port: 9000                                                       
Force console for special debug messages: false                                 
Network debug at boot time: false  


--- In  "josue.cubero" <> wrote:
>
> 
> what information shows fconfig-l? I have a debian installed on the CF
> 
> 
> 
> 
> 
> 
> --- In  "gunnar.kjemphol" <gunnar.kjemphol@> wrote:
> >
> > fis load does not work for me. 
> > 
> > RedBoot> fis load vmlinux                                                   
> >     
> > No image 'vmlinux' found 
> > 
> > I have no vmlinux in flash, only on the CF card. 
> > 
> > Here is my fis list:
> > RedBoot> fis list                                                           
> >     
> > Name              FLASH addr  Mem addr    Length      Entry point           
> >     
> > (reserved)        0x60000000  0x60000000  0x00E20000  0x00000000            
> >     
> > RedBoot           0x60E20000  0x60E20000  0x00040000  0x00000000            
> >     
> > RedBoot config    0x60FC0000  0x60FC0000  0x00001000  0x00000000            
> >     
> > FIS directory     0x60FE0000  0x60FE0000  0x00020000  0x00000000  
> > 
> > I use the following to boot:
> > > > Redboot> load -b 0x00218000 -m disk hda1:/boot/vmlinux
> > > > Redboot> exec -c "console=ttyAM0,115200 root=/dev/hda1"
> > 
> > the kernel boots but it crashes with the following message:
> > 
> > > > Root-NFS: No NFS server available, giving up.
> > > > VFS: Unable to mount root fs via NFS, trying floppy.
> > > > VFS: Cannot open root device "hda1" or unknown-block(2,0)
> > > > Please append a correct "root=" boot option
> > > > Kernel panic - not syncing: VFS: Unable to mount root fs on
> > > unknown-block(2,0)
> > 
> > 
> > Gunnar
> > 
> > 
> > --- In  "josue.cubero" <josue.cubero@> wrote:
> > >
> > > hello for me to boot from the CF in the reboot I have
> > > 
> > >         RedBoot> fconfig
> > > 
> > >         Run script at boot: true      [PRESS ENTER]
> > >         Boot script:
> > >         .. fis load vmlinux
> > >         .. exec -c "console=ttyAM0,115200 root=/dev/mtdblock1"
> > >         Enter script, terminate with empty line
> > > 
> > >         >> fis load vmlinux
> > >         >> exec -c "console=ttyAM0,115200 root=/dev/hda1"
> > > 
> > >         >>  [PRESS ENTER]
> > >         Boot script timeout (100ms resolution): 1
> > >         [PRESS ENTER]
> > >         Use BOOTP for network configuration: false
> > >         [PRESS ENTER]
> > >         Gateway IP address: 192.168.0.1
> > >         [PRESS ENTER]
> > >         Local IP address: 192.168.0.50
> > >         [PRESS ENTER]y
> > >         Local IP address mask: 255.255.255.0
> > >         [PRESS ENTER]
> > >         Default server IP address: 192.168.0.1
> > >         [PRESS ENTER]
> > >         dns_ip: 192.168.0.1
> > >         [PRESS ENTER]
> > >         Network hardware address [MAC]: 0x00:0xD0:0x69:0x4F:0x89:0x83
> > >         [PRESS ENTER]
> > >         GDB connection port: 9000
> > >         [PRESS ENTER]
> > >         Force console for special debug messages: false
> > >         [PRESS ENTER]
> > >         Network debug at boot time: false
> > >         [PRESS ENTER]
> > >         Update RedBoot non-volatile configuration - continue (y/n)? y
> > >         [PRESS Y]
> > >         ... Erase from 0x60fc0000-0x60fc1000: .
> > >         ... Program from 0x01fdf000-0x01fe0000 at 0x60fc0000: .
> > >         RedBoot> reset
> > >         ... Resetting.
> > > 
> > > --- In  "gunnar.kjemphol" <gunnar.kjemphol@>
> > > wrote:
> > > >
> > > > I am trying to install the tskernel-2.6.21-ts on a CF card on the
> > > TS-7200 board, and boot process stops with the a bow message.
> > > > Here is my procedure on a Ubuntu host:
> > > >
> > > > Format the CF card:
> > > > sudo umount /dev/sdc1
> > > > sudo mkfs.ext2 -I 128 /dev/sdc1
> > > > sudo tune2fs -i 0 /dev/sdc1
> > > >
> > > > Get the crosstool and kernel:
> > > > wget
> > > ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7200-linux/cross-toolchains/cros\
> > > stool-linux26-3.4.4-2005q3-2.tar.gz
> > > > tar -xzf crosstool-linux26-3.4.4-2005q3-2.tar.gz
> > > > wget
> > > ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7200-linux/sources/tskernel-2.6.\
> > > 21-ts-src.tar.gz
> > > > tar -xzf tskernel-2.6.21-ts-src.tar.gz
> > > >
> > > > cd linux-2.6.21-ts
> > > > make ts72xx_defconfig
> > > > make menuconfig
> > > > make
> > > > Error message:
> > > > scripts/mod/sumversion.c:384: error: `PATH_MAX' undeclared (first use
> > > in this function)
> > > >
> > > > added
> > > >    include <linux/limits.h>
> > > > in sumversion.c
> > > > make
> > > > make modules
> > > >
> > > > sudo tar cvfz ../linux-2.6.21-ts.tgz *
> > > > cd /mnt/cfcard
> > > > tar xvfz [path-to]/linux-2.6.21-ts.tgz
> > > >
> > > > then I boot CF image from redboot:
> > > > Redboot> load -b 0x00218000 -m disk hda1:/boot/vmlinux
> > > > Redboot> exec -c "console=ttyAM0,115200 root=/dev/hda1"
> > > >
> > > > I get the following error message:
> > > > Root-NFS: No NFS server available, giving up.
> > > > VFS: Unable to mount root fs via NFS, trying floppy.
> > > > VFS: Cannot open root device "hda1" or unknown-block(2,0)
> > > > Please append a correct "root=" boot option
> > > > Kernel panic - not syncing: VFS: Unable to mount root fs on
> > > unknown-block(2,0)
> > > >
> > > > Can anyone help me with this one?
> > > > Is it something I have misunderstand?
> > > >
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > --- In  "gunnar.kjemphol" <gunnar.kjemphol@>
> > > wrote:
> > > >
> > > > I am trying to install the tskernel-2.6.21-ts on a CF card on the
> > > TS-7200 board, and boot process stops with the a bow message.
> > > > Here is my procedure on a Ubuntu host:
> > > >
> > > > Format the CF card:
> > > > sudo umount /dev/sdc1
> > > > sudo mkfs.ext2 -I 128 /dev/sdc1
> > > > sudo tune2fs -i 0 /dev/sdc1
> > > >
> > > > Get the crosstool and kernel:
> > > > wget
> > > ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7200-linux/cross-toolchains/cros\
> > > stool-linux26-3.4.4-2005q3-2.tar.gz
> > > > tar -xzf crosstool-linux26-3.4.4-2005q3-2.tar.gz
> > > > wget
> > > ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7200-linux/sources/tskernel-2.6.\
> > > 21-ts-src.tar.gz
> > > > tar -xzf tskernel-2.6.21-ts-src.tar.gz
> > > >
> > > > cd linux-2.6.21-ts
> > > > make ts72xx_defconfig
> > > > make menuconfig
> > > > make
> > > > Error message:
> > > > scripts/mod/sumversion.c:384: error: `PATH_MAX' undeclared (first use
> > > in this function)
> > > >
> > > > added
> > > >    include <linux/limits.h>
> > > > in sumversion.c
> > > > make
> > > > make modules
> > > >
> > > > sudo tar cvfz ../linux-2.6.21-ts.tgz *
> > > > cd /mnt/cfcard
> > > > tar xvfz [path-to]/linux-2.6.21-ts.tgz
> > > >
> > > > then I boot CF image from redboot:
> > > > Redboot> load -b 0x00218000 -m disk hda1:/boot/vmlinux
> > > > Redboot> exec -c "console=ttyAM0,115200 root=/dev/hda1"
> > > >
> > > > I get the following error message:
> > > > Root-NFS: No NFS server available, giving up.
> > > > VFS: Unable to mount root fs via NFS, trying floppy.
> > > > VFS: Cannot open root device "hda1" or unknown-block(2,0)
> > > > Please append a correct "root=" boot option
> > > > Kernel panic - not syncing: VFS: Unable to mount root fs on
> > > unknown-block(2,0)
> > > >
> > > > Can anyone help me with this one?
> > > > Is it something I have misunderstand?
> > > >
> > >
> >
>




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

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