Handy commands when buildling and configuring Petalinux (assumes petalinux has been sourced)
--------------------------------------------------------------------------------------------

Configure:
 petalinux-config                - General project setup
                                   Note: when FileNotFoundError: [Errno 2] No such file or directory:
                                         '.../project-spec/meta-user/conf/user-rootfsconfig' then just create it:
                                         touch .../project-spec/meta-user/conf/user-rootfsconfig
 petalinux-config -c kernel      - Drivers, mostly
 petalinux-config -c rootfs      - Applications / root password


Import hardware configuration:
 petalinux-config --get-hw-description=<path-to-directory-containing-hardware description-file>

Build:
 petalinux-build


Package:
 petalinux-package --force --boot --fsbl --fpga --u-boot


Reading device the device tree (verify hardware is configured properly):
 dtc -I dtb -O dts images/linux/system.dtb |less


