[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] Booting from SDHC
From: |
Stuart Hughes |
Subject: |
Re: [Ltib] Booting from SDHC |
Date: |
Thu, 18 Nov 2010 23:44:36 +0000 |
User-agent: |
Thunderbird 2.0.0.16 (X11/20080707) |
Hi Carolyn,
fdisk is not in the public LTIB CVS, so you'll need to check with Freescale.
Regards, Stuart
Reer, Carolyn (SA-1) wrote:
> Finally got the SDHC formatted today using someone's Ubuntu netbook computer.
> I had no problem deleting the FAT16, adding a linux partition and saving
> using fdisk.
> I haven't tried the SDHC in the MPC8536DS development set yet.
> Have to be able to boot from it. That will be a whole new can of worms.
>
> Is this a shortcoming of (fdisk) Freescale 2.6.28.... for PPC?
> I have a newer LTIB that I haven't had a chance to try.
>
> Carolyn
>
> -----Original Message-----
> From: Stuart Hughes [mailto:address@hidden
> Sent: Thursday, November 18, 2010 5:33 PM
> To: Reer, Carolyn (SA-1)
> Cc: ltib-users
> Subject: Re: [Ltib] Booting from SDHC
>
> Hi Carolyn,
>
> Make sure write protect is not set (the tiny mechanical tab)
>
> Also, you will probably need to format the SD card to something like
> ext2 (or ext3/ext4 without a journal).
>
> When booting, you need to tell the kernel to wait for the SD card, so
> you'll need to add rootwait, for example:
>
> root=/dev/mmcblk0p1 rw rootwait
>
> Regards, Stuart
>
> Reer, Carolyn (SA-1) wrote:
>> Has anyone booted the kernel from SDHC card?
>>
>> I have 2.6.28 kernel built for Freescale MPC8536E and booting from NFS.
>>
>> I would like to copy the kernel & file system over to SD card to
>> eliminate NFS from my Ethernet traffic timing tests.
>>
>> I have tried 2-4GB SDHC cars and they are pre-formatted with W95 FAT16
>> partitions.
>>
>> I can mount the partition:
>>
>> mount /dev/mmcblk0p1 /mnt/tmp/
>>
>> But I can’t write to it.
>>
>>
>>
>> I tried using fdisk to delete the partition and make a new linux
>> partition; tried changing the FAT16 partition to linux partition.
>>
>> But I can’t save the changes.
>>
>>
>>
>> I was able to mount the drive:
>>
>> mount /dev/mmcblk0 /mnt/tmp/
>>
>> But I have less than 256MB to write to.
>>
>>
>>
>> Thanks
>>
>> Carolyn Reer
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> LTIB home page: http://ltib.org
>>
>> Ltib mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/ltib
- [Ltib] Build results for 20101116, autobuilder, 2010/11/16
- [Ltib] Booting from SDHC, Reer, Carolyn (SA-1), 2010/11/17
- Re: [Ltib] Booting from SDHC, Matt Wilbur, 2010/11/17
- Re: [Ltib] Booting from SDHC, Stuart Hughes, 2010/11/18
- RE: [Ltib] Booting from SDHC, Reer, Carolyn (SA-1), 2010/11/18
- Re: [Ltib] Booting from SDHC,
Stuart Hughes <=
- [Ltib] Updating Apache Httpd version, Amit Hergass, 2010/11/18
- [Ltib] host side questions, Aaron Wegner, 2010/11/19
- Re: [Ltib] host side questions, Bruce, 2010/11/19
- Re: [Ltib] host side questions, Aaron Wegner, 2010/11/19
- RE: [Ltib] host side questions, Rodney Lott, 2010/11/19
- Re: [Ltib] host side questions, Stuart Hughes, 2010/11/19
- Re: [Ltib] host side questions, Bruce, 2010/11/19
- RE: [Ltib] host side questions, Rodney Lott, 2010/11/19
- RE: [Ltib] host side questions, Rodney Lott, 2010/11/19
- Re: [Ltib] host side questions, Stuart Hughes, 2010/11/20