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.

Linux/TDA2EXEVM: how to load u-boot images to emmc from user space by using fw_printenv on tda2ex evm target board.

Part Number: TDA2EXEVM

Tool/software: Linux

HI All,

Our kernel version is 4.4.23 and u-boot version is 2016-05.

1.We are trying to load the boot images to emmc from user space application.For this purpose we built u-boot and generated u-boot tool fw_printenv in the tools/env path .

2.fw_printenv copied into my rootfs /usr/sbin path.It will generate sym link to fw_setenv

3.fw_env.conf file copied into rootfs /etc/ path.

4.If we run the fw_printenv on target board we are getting Error locking file /var/lock/fw_printenv.lock.

4.Any one tried this method can guide me.

Thanks

veera

  • Hi, ,

    The eMMC and boot expert is notified. The respond will be posted directly here.

    Regards,
    Mariya
  • Hi we succeded to update bootargs from user space.We given correct offset address in fw_env.conf file.
    1.Question is how to load zImage and rootfs into emmc by using fw_setenv and fw_printenv.
    2.fw_setenv mmcdev 1 its updated but its not booting from emmc.Its booting sd card.

    3.But Booting form mmc1 showing in u boot logs.But kernel and rootfs loading from sd card only.
    4.How to load kernel image and rootfs into emmc(mmc1) by using fw_setenv tool.

    Thanks
    veera

  • Veera

    If rootfs file sytem is already in eMMC device, then you can mount and copy the files.

    If eMMC is not partitioned, then partition the eMMC into boot and rootfs partition, mount the filesystem and copy the files.

    You can refer to mk-emmc-script.sh in PSDKLA release package for how to copy the create bootable card mmc/sd or emmc .

     

    Regards

    Ravi