To make the developing environment faster boot the RTEMS image over a network (using tftp).

Steps to be followed

  • Setting up tftp server in host
  • Booting image from u-boot

Setting up tftp server in host

Setting up a tftp server can be found in internet

Booting image from u-boot

  • Copy the build image rtems-hello.img and am335x-boneblack.dtb to the tftp directory (eg: /tftpboot)
  • Run the commands in u-boot:

    $ setenv ipaddr <target ipaddress>

    $ setenv serveraddr <host ipaddress>

    $ tftpboot <load address> <rtems-image>

    $ tftpboot <load address> <BBB device tree .dtb file>

    $ bootm <load address of rtems-image> - <load address of .dtb>

Example in case on BBB:

> $ tftpboot 0x80800000 rtems-hello.img

> $ tftpboot 0x88000000 am335x-boneblack.dtb

> $ bootm 0x80800000 - 0x88000000