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: "josue.cubero" <>
Date: Sat, 16 Oct 2010 17:06:21 -0000


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" <> 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/crosstool-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" <> 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/crosstool-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?
>


__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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