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.

evmk2h boot from USB Flash

Hi,

I have an evmk2h.

I have updated uboot to version 2013.01 (Apr 24 2014) as per advice in MCSDK HPC - booting from USB Flash re USB detection bug.

Please point me to advice on how to add EXT4 to the Linux Kernal image (as per MCSDK UG - Exploring, How to boot from USB Flash drive)

Best Regards,

Bernard

  • Hi Bernard,

    You mean to copy the kernel image to the EXT4 FS. Please confirm your boot procedure and bootargs to help you better.

    Thank you.
  • Hi Raj,

    It is a vanilla evm2k as out of the box, except for the upgraded uboot.

    The MCSDK UG says that for a USB flash boot I need a linux kernel with EXT4.

    How do I add EXT4 to the kernel, please.

    Best regards,

    Bernard

  • The detailed procedure is available in below wiki. Please refer the section "Copy files to the partitions",

    Thank you.

  • Hi Raj,

    I have already done gone through those steps and have a USB stck with the FAT and EXT4 partitions prepared.

    BUT, as explained in MCSDK UG - Exploring, I need a kernal that supports EXT4.

    How do I add EXT4 functionality to the kernel? Do I need to rebuild it? (If so, can you point me to something explaining where to find the ext4 module?) Can I use modprobe? 

    Regards,

    Bernard

  • Hi Bernard,

    Bernard says said:
      How do I add EXT4 to the kernel, please.

    By default, if EXT4 is not available, to add the EXT4 support to the kernel, you have to rebuild the kernel by enabling the EXT4 support via "make menuconfig"

    #make menuconfig  ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

    ( In the menuconfig screen)

    File systems  --->
    <*> The Extended 4 (ext4) filesystem

    ( save and close and rebuild the kernel)

    Regards,

    Shankari

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

    Please click the verify answer button on this post if it answers the question.

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