Network-Mounting the root Filesystem

tbdevarm's root filesystem, generated by the buildrootfilesystem script, contains the cross-compiled version of helloworld and gdbserver. Changing the helloworld source code would require completely rebuilding the root filesystem, rebooting the MediaEngine, and then downloading the kernel and root filesystem again. Even though the MediaEngine boots quickly, taking this approach over time would become tedious and time-consuming.

Instead of transferring the root filesystem, you can mount it over the Ethernet network by using NFS. With a network-mounted root filesystem, you can generate the ARM cross-compiled version of helloworld.c on tbdev1. Then you can directly execute it or remotely debug it without regenerating ...

Get Embedded Linux®: Hardware, Software, and Interfacing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.