ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: reassigning SD card rootfs partition?

To: <>
Subject: Re: [ts-7000] Re: reassigning SD card rootfs partition?
From: dtucker <>
Date: Thu, 21 Jun 2012 10:51:06 -0500
My apologies.  I had made a typo.  DUH.  It appears to be able to boot just
fine now.

Thanks for your help!

Don

On 2012-06-21 10:39, dtucker wrote:
> Well, just changing tssdcarda4 to tssdcarda5 in linuxrc-sdroot didn't work. 
> Here is what I got when I tried to boot the board:
> 
> [...]
>>> Booting to SD Card...
> tssdcard: Technologic Systems SD card controller, address 0x13000000
> tssdcard: card /dev/tssdcarda has 3862528 sectors (LUN 0)
>  tssdcarda: tssdcarda1 tssdcarda2 tssdcarda3 tssdcarda4 < tssdcarda5
> tssdcarda6
>>
> attempt to access beyond end of device
> tssdcarda4: rw=0, want=4, limit=2
> EXT2-fs: unable to read superblock
> attempt to access beyond end of device
> tssdcarda4: rw=0, want=72, limit=2
> attempt to access beyond end of device
> tssdcarda4: rw=0, want=128, limit=2
> yaffs: dev is 266338308 name is "tssdcarda4"
> yaffs: passed flags ""
> yaffs: Attempting MTD mount on 254.4, "tssdcarda4"
> yaffs: dev is 266338308 name is "tssdcarda4"
> yaffs: passed flags ""
> yaffs: Attempting MTD mount on 254.4, "tssdcarda4"
>>> SD Card failed. Booting to initrd...
> [...]
> 
> It looks like it is still trying to do something with tssdcarda4, which is
> now
> an extended partition instead of a primary partition.  Any ideas?
> 
> Don
> 
> On 2012-06-21 09:32, Don Tucker wrote:
>> Thanks for educating me, Rod.
>>
>> So, I guess I should just be able to edit lunuxrc-sdroot on the init
>> partition to assign /dev/tssdcarda5 to the root fs instead, right?  Do I have
>> to worry about the assignment anywhere else?
>>
>> Don
>>
>> On 6/21/2012 9:13 AM, Rod wrote:
>>> The assignment of device names is architecture-specific. On a x86 based 
>>> Linux host, the SD flash will be identified as /dev/sdX, where X is some 
>>> letter, probably low in the alphabet. On the TS-Arm architecture, SD 
>>> devices are identified as /dev/tssdcarda. The 'a' suffix is because the SD 
>>> flash is always the first device mapped. Numeric suffixes denote the 
>>> partition numbers, just like they do on other architectures. The 5th 
>>> partition on your SD flash should therefore be seen as /dev/tssdcarda5 on 
>>> your TS-Arm host.
>>>     ---   rod.
>>>
>>>
>>> --- In  Don Tucker<>  wrote:
>>>> I used GParted to add another partition to my SD card.  GParted
>>>> indicated that there were a maximum of 4 primary partitions allowed, so
>>>> I had to create an extended partition (/dev/sdb4) that contains the
>>>> original 4th partition and the new 5th partition (/dev/sdb5 and
>>>> /dev/sdb6).  Normally, during bootup linuxrc-sdroot assigns
>>>> /dev/tssdcarda4 as the root file system.  Does anyone know where
>>>> /dev/tssdcarda4 gets assigned to /dev/sdb4?  I need to assign it to
>>>> /dev/sdb5, now that I have the extra partition.
>>>>
>>>> Don
>>>>
>>>
>>>



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

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