ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Cannot boot rootfs from SD card LPC 3131


From: Alan Carvalho de Assis
Subject: Re: [Ltib] Cannot boot rootfs from SD card LPC 3131
Date: Tue, 2 Mar 2010 14:50:40 -0300

Hi Gianluca,

On 3/2/10, Gianluca Valentino <address@hidden> wrote:
>
> Many thanks for your reply, I have included support for MMC/SD using the
> following:
>
> Device Drivers ->
>                                  <*> MMC/SD/SDIO Card support ->
>
>
>                     [*] MMC Debugging
>
>                     [ ] Allow unsafe resume (DANGEROUS)
>
>                     <*> MMC Block device driver
>
>                     [*] Use bounce buffer for simple hosts
>
>                    <*> SDIO UART/GPS class support
>
>                     < > MMC host test driver
>
>                     <*> NXP LPC313x SD/MMC Card Interface Support
>
>                     <*> Secure Digital Host Controller Interface Support
>
>                     <*> MMC/SD/SDIO over SPI
>
> elsewhere I have also enabled the Ext2 filesystem support.
>
> SD Card booting is definitely possible in theory since there exists a jumper
> configuration for it on the development board.
>
> I have partitioned my SD card properly (according to NXP guide), and tried
> more than one SD Card just in case, but without success.
>
> I am able to access the SD card and copy the rootfs and kernel image to RAM
> at boot time (I use Apex bootloader) using root=/dev/ram0 rw and then boot
> Linux. However, since everything is in RAM, any changes I make to the rootfs
> are lost when I reboot.
>
> I am also able to access the SD card after Linux has booted as explained
> above, and the partitions show up as mmcblk0 and mmcblk0p1, and I can access
> them normally.
>
> It seems the problem is at boot time, since only NAND partitions are
> recognised at boot time.
>

Your kernel config appears correct, then I suggest you to place more
debug info (using printk) in the "NXP LPC313x SD/MMC" driver. I have
no idea or any other guess, sorry :-(

Best Regards,

Alan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]