Sandbox ======= barebox can be run as a simulator on your host to check and debug new non hardware related features. Building barebox for simulation ------------------------------- The barebox sandbox can be built with the host compiler:: ARCH=sandbox make sandbox_defconfig ARCH=sandbox make Running the sandbox ------------------- Once you compile barebox for the sandbox, you can run it with:: $ barebox [] Available sandbox invocation options include: ``-m``, ``--malloc=`` Start sandbox with a specified malloc-space in bytes. ``-i `` Map a to barebox. This option can be given multiple times. The s will show up as ``/dev/fd0`` ... ``/dev/fdX`` in the barebox simulator. ``-e `` Map to barebox. With this option s are mapped as ``/dev/env0`` ... ``/dev/envX`` and thus are used as default environment. A clean file generated with ``dd`` will do to get started with an empty environment. ``-O `` Register as a console capable of doing stdout. can be a regular file or a FIFO. ``-I `` Register as a console capable of doing stdin. can be a regular file or a FIFO. ``-x``, ``--xres `` Specify SDL width. ``-y``, ``--yres `` Specify SDL height.