This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

File System for Booting through SD-CARD

Hi Everyone!

Please Do state your opinions !

Now suppose i have got an SD-CARD with FAT32 partition for Boot sector and remaining for Ext3 file system.

I have placed u-boot.bin,MLO,Uimage in Boot sector.

Now after power on my first stage and second stage boot loader will run and then my uImage will be decompressed in the RAM !!!!!! i think i am right till here.

Now will this automatically mount the file system on EXT3 partition or else what i need to do for mounting file system.

please post your views..

  • Hi Hrishikesh,

                  The filesystem will not be automatically mounted on EXT3 partition. You need to explicitly specify it in the bootloader(u-boot.bin) by setting the bootargs.

    setenv bootargs 'mem=88M console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait'

     

    Regards,

    N.S.SriHarsha

  • Dear Sir,

    This are the contents of my u-boot configuration file /include/configs/tam3517_config.h

    Here it has already defined the memory size equal to DRAM , Console , baud rate , ethernet port numbers ,processor speed , nand type , and block size for x-loader , u-boot,

    at the end there is rootfs arguement .. ok.

     

    #define CONFIG_EXTRA_ENV_SETTINGS \

        "console=ttyS0,115200n8\0" \

        "memsize=" _CONFIG_DRAM_SIZE "M\0" \

        "nfseth=eth1\0" \

        "mpurate=600\0" \

        "nandparts=omap2-nand.0:512k(xloader),1024k(uboot),512k(params),6m(kernel),-(rootfs)\0" \

     

    Now the command you have mentioned ...i need to enter it at u-Boot prompt ....

    next arguement is noinitrd --> so we are not using the initrd image , which normally is small self contained root file system.

    next is it necessary to assign Ip when we are booting from SD-CARD ?

    root =/dev/mmcblkop2  .. can i use the name mmcblkop2 as default .. or it has to be verified some how ?

    thanks for your support !

    I have analysed this for better understanding ....

    I would request you to,Please have a look once, at these questions !!!!!!!!!!1 and reply

     

  • Hi Good Morning Sir,

     

    Can u Please elaborate the command above!

    Thanks and Regards

    Hrishikesh.