beyond-buildroot.txt 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. // -*- mode:doc; -*-
  2. // vim: set syntax=asciidoc:
  3. == Beyond Buildroot
  4. === Boot the generated images
  5. ==== NFS boot
  6. To achieve NFS-boot, enable _tar root filesystem_ in the _Filesystem
  7. images_ menu.
  8. After a complete build, just run the following commands to setup the
  9. NFS-root directory:
  10. -------------------
  11. sudo tar -xavf /path/to/output_dir/rootfs.tar -C /path/to/nfs_root_dir
  12. -------------------
  13. Remember to add this path to +/etc/exports+.
  14. Then, you can execute a NFS-boot from your target.
  15. === Chroot
  16. If you want to chroot in a generated image, then there are few thing
  17. you should be aware of:
  18. * you should setup the new root from the _tar root filesystem_ image;
  19. * either the selected target architecture is compatible with your host
  20. machine, or you should use some +qemu-*+ binary and correctly set it
  21. within the +binfmt+ properties to be able to run the binaries built
  22. for the target on your host machine;
  23. * Buildroot does not currently provide +host-qemu+ and +binfmt+
  24. correctly built and set for that kind of use.