1Quick Setup 2########### 3 4A Git repository is available that includes everything needed to test the 5Buildroot setup without following the guide. It is intended for testing 6purposes and can be used if you are already familiar with Buildroot concepts 7and architecture. 8 9Get the repository 10 11.. code-block:: bash 12 13 git clone --recurse-submodules https://github.com/lvgl/lv_buildroot.git 14 15Build the image 16 17.. code-block:: bash 18 19 ./build.sh 20 21At this point, you have an image that can be flashed on an SD and used. 22 23Now build the SDK and install it 24 25.. code-block:: bash 26 27 cd output 28 make sdk 29 mkdir -p ~/sdk 30 tar -xzf images/aarch64-buildroot-linux-gnu_sdk-buildroot.tar.gz -C ~/sdk 31 32The SDK is installed. Compile the application. 33 34.. code-block:: bash 35 36 cd ../application/lv_benchmark 37 source ../setup-build-env.sh 38 cmake -B build -S . 39 make -j $(nproc) -C build 40 cd ../.. 41 42Install the binary in the rootfs_overlay 43 44.. code-block:: bash 45 46 cp application/lv_benchmark/bin/lvgl-app resources/board/rootfs_overlay/usr/bin/ 47 48Regenerate the image with the rootfs overlay updated. 49 50.. code-block:: bash 51 52 cd output 53 make 54 55Go to :ref:`flash_the_image` to test the system. 56