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.

EZSDK example applications

Hi,
I able to boot everything from the NAND (u-boot, kernel, filesystem), but how do I try the EZSDK example applications.

I flashed the arago filesystem into NAND, I heard we need the other EZSDK filsystem but that one seems to be a large file. Will it fit into NAND if I flash that one instead?

Regards,

Benz 

  • Benz,

    Benz Kek said:
    I flashed the arago filesystem into NAND, I heard we need the other EZSDK filsystem but that one seems to be a large file. Will it fit into NAND if I flash that one instead?

    Yes for EZSDK example applications you need the EZSDK filesystem.

    Yes, the EZSDK filesystem will fit into the NAND. The EZSDK filesystem is larger in size than the arago filesystem, because it contains all these example application and EZSDK specific stuff. The arago filesystem image is 14MB in size, while the whole available size for filesystem into the NAND is 210MB. I think that the EZSDK filesystem image will be less than 210MB, thus it will fit.

    The other option is to use the MMC/SD card (created with the mksdboot.sh script) for running the EZSDK example applications (not NAND).

    Best regards,
    Pavel

  • Pavel,

    According to the Software Developer Guide, we can use tftp to run the helloworld application.

    How do we do that? The board doesn't seems to have the ethernet running, does it need some configuration?

    Regards,

    Benz

  • Benz,

    To run the "helloworld" application, you can use the TFTP/Ethernet, but it is not obligatory. You can also use the NAND and/or MMC/SD card.

    1. If you want to use the TFTP/Ethernet, you should create targetfs (with the setup.sh scipt). Then this targetfs is your root filesystem when you boot the EVM. You can place the helloworld in the targetfs/home/root/ folder (as the SW Developer Guide states). Then you need to connect the EVM to the desktop PC through ethernet cable: EVM EMAC0 J27 <-> Desktop PC LAN card. Or you can connect the EVM to the desktop PC though a network switch. Then you should use the network filesystem (NFS) configuration.

    2. You can use the NAND filesystem. First you should place the "helloworld" executable in the EZSDK filesystem or in the ARAGO filesystem at /home/root/ folder. Then you need to create new filesystem image and flash in into the NAND. Thus when booting from NAND, the helloworld application should be available.

    3. The easiest way to start the helloworld application is using the MMC/SD card. You just need to place the helloworld executable file into the MMC/SD card (you can use both partitions BOOT or ROOTFS), then boot with the MMC/SD card and you will have the helloworld available to run at the EVM.

    Regards,
    Pavel

  • Pavel,

    I see, then I shall try with the SD card. Thank you for everything, it's been a great help.

    Best regards,

    Benz