ts-7000
[Top] [All Lists]

[ts-7000] Re: Mounting SD Card as root file system on 7260?

To:
Subject: [ts-7000] Re: Mounting SD Card as root file system on 7260?
From: "posthumane1" <>
Date: Wed, 14 Feb 2007 04:41:22 -0000
If all you want to do is development using the debian system provided
on the SD card, you can simply mount the card as another drive, and
change root to it with

"chroot /mnt/SD" or wherever you have it mounted, do your compiling,
etc, and change back with an exit command.

Jacob


--- In  "jywmpg" <> wrote:
>
> I just got my 7260 and am trying to figure out how to use the Debian
> distro without actually booting from the SD card.
> 
> Seems like giving RedBoot an exec command with the correct root=
> option should do the trick, but I can't seem to get it to work.  Using
> fconfig, I have tried the following boot scripts, but all except the
> last (the default) result in kernel panic when it cannot find the root
> file system:
> 
> # test - causes kernel panic:
> fis load vmlinux -b 0x00218000
> exec -c "console=ttyAM0,115200 ip=dhcp root=/dev/sdcard0/disc0/part3"
> 
> # test - kernel panic:
> fis load vmlinux -b 0x00218000
> exec -c "console=ttyAM0,115200 ip=dhcp root=/dev/hda"
> 
> # test - kernel panicc:
> fis load vmlinux -b 0x00218000
> exec -c "console=ttyAM0,115200 ip=dhcp root=/dev/hda1"
> 
> # this is the original, and works every time
> fis load vmlinux -b 0x00218000                                 
> exec -c "console=ttyAM0,115200 ip=dhcp root=/dev/mtdblock1"
> 
> I can mount the SD card with 'mount' and also via /etc/fstab and can
> see the Debian distribution, so I know the card is fine.  The device
> is /dev/sdcard0/disc0/part3, as described in the documentation
> 
> 
> The "Getting Started.." Guide seems to indicate this is the correct
> approach (or at least a valid one).   
> 
> 
> If I just want to develop applications on the 7260 with the supplied
> Debian distro, what is the easiest way to, for instance, run their
> bash without having to deal with the dynamic libraries via ld.so.conf
> and/or LD_LIBRARY_PATH and such?
> 
> 
> I am sure there is an easy way to do this, but it escapes me right now.
> 
> 
> Thanks for any help,
> 
> jw
>




 
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