Go to previous topic
Go to next topic
Last Post 09 Feb 2012 10:15 AM by  richard.laborde@logicpd.com
LoLo boot from SD Card
 5 Replies
Author Messages
jsarao
New Member
New Member
Posts:29


--
06 Feb 2012 04:31 PM
    I am using the LoLo downloaded from the web site (2.5.1).
    I am following there 1021261_Release_Notes.txt
    I create a bootable SD card per instructions (LoLo Lab)
    I boot from the card.
    I have a workable losh prompt
    I can validate that I am using the lolo from the SD card as its version (2.5.1) is different from the version in NAND (2.5.0).

    I run
    losh> info var
    ...
    SYS_BOOT_DEVICE='SDMMC'


    PROBLEM:
    I cannot mount the fat32 file system to the load my uboot/linux kernel

    I try
    losh> mount fat32 /dev/sdmmc0a /sd

    [I already checked via ls /dev that sdmmc0a exists]

    Any suggestions?
    richard.laborde@logicpd.com
    Basic Member
    Basic Member
    Posts:247


    --
    08 Feb 2012 11:29 AM
    try

    losh> help mount

    - I don't know if fat32 is an acceptable option
    jsarao
    New Member
    New Member
    Posts:29


    --
    08 Feb 2012 01:10 PM
    Posted By richardl on 8 Feb 2012 11:29 AM
    try

    losh> help mount

    - I don''t know if fat32 is an acceptable option





    sorry. there was a transcription probolem

    losh> mount fatfs /dev/sdmmc0 /sd
    richard.laborde@logicpd.com
    Basic Member
    Basic Member
    Posts:247


    --
    09 Feb 2012 07:46 AM
    jsarao,

    I know if you boot from NAND that this works. I'll have to check with the apps guys or put together an SD card to see if it works from SD. I know at one point LoLo didn't allow SD card access if you booted from it. Check the release notes for other known issues.

    NoLo Version : 2.5.0
    NoLo Build : EPS-LNX-01 Thu Jun 9 13:18:26 CDT 2011
    NoLo Compiler: gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203)
    Platform : DM/AM 37x Torpedo
    Image type : Elf
    Boot Device : NAND



    *****************************************************************

    LogicLoader

    (c) Copyright 2002-2011, Logic PD, Inc. All Rights Reserved.

    LoLo Version: 2.5.0
    SOM Model Number: SOMDM3730-20-2780AGCR-2
    SOM Part Number: 1017878
    SOM Serial Number: 2111M00295

    *****************************************************************

    losh> help mount
    usage:
    mount <fstype> <device> <mpoint> [args]
    fstype can be fatfs, yaffs, emu
    args can be -ro -rw or nothing then the default is rdonly

    mount filesystem of type <fstype> on device <device> at <mpoint>

    example: mount fatfs /dev/ata0a /cf
    mount fatfs /dev/sdmmc0a /sd
    mount yaffs /dev/nand0a /yp
    mount emu /dev/flash0a /e1
    mount yaffs /e1 /yp
    losh> mount fatfs /dev/sdmmc0a /sd
    losh> cd /sd
    losh> ls
    : MLO 19904
    : u-boot.bin 258520
    : uImage 2439608
    : boot.scr 639
    D : LOST.DIR 0
    D : .android_secure 0
    D : Android 0
    D : DCIM 0
    D : pulse 0
    : Marvel's The Avengers-.mp4 30397269
    R : Marvel's The Avengers-.flv 14123896
    losh>
    richard.laborde@logicpd.com
    Basic Member
    Basic Member
    Posts:247


    --
    09 Feb 2012 09:30 AM
    jsarao,

    If you boot from sd, then /lboot should already be mounted.

    try
    losh cd /lboot
    losh> ls
    richard.laborde@logicpd.com
    Basic Member
    Basic Member
    Posts:247


    --
    09 Feb 2012 10:15 AM
    *****************************************************************

    LogicLoader

    (c) Copyright 2002-2011, Logic PD, Inc. All Rights Reserved.

    LoLo Version: 2.5.1
    SOM Model Number: SOMDM3730-20-2780AGCR-2
    SOM Part Number: 1017878
    SOM Serial Number: 2111M00295

    *****************************************************************

    losh> mount fatfs /dev/sdmmc0a /lboot
    mount point '/lboot' already exists
    unsuccessful mounterror: mount: unable to mount (/lboot)
    losh>


    ---