3.1.4.1 Get Sources
To get the source code, clone the buildroot-at91 and buildroot-external-microchip repositories using the following steps:
- Clone the buildroot-at91 repository by using the following
command:
$ git clone https://github.com/linux4sam/buildroot-at91.git
- Clone the buildroot-external-microchip repository by using the following command:
$ git clone https://github.com/linux4sam/buildroot-external-microchip.git
Note:- The source code is
taken from the
host
branch which is pointing to the latest version of buildroot-at91 and buildroot-external-microchip. The advice is to use linux4sam tags to make sure there is no mismatch between the versions of the two repositories. - The buildroot tag used for testing in this document is
linux4sam_6.2
$ cd buildroot-external-microchip $ git tag | grep linux4sam linux4sam_5.8 linux4sam_5.8-rc1 linux4sam_5.8-rc2 linux4sam_6.0 linux4sam_6.0-rc1 […..] linux4sam_6.1 linux4sam_6.1-rc1 linux4sam_6.1-rc2 linux4sam_6.1-rc3 linux4sam_6.1-rc4 linux4sam_6.1-rc5 linux4sam_6.2 $ git checkout linux4sam_6.2 -b buildroot-external-microchip- linux4sam_6.2 Switched to a new branch 'buildroot-external-microchip-linux4sam_6.2 $ cd ../buildroot-at91/ $ git tag | grep linux4sam linux4sam_5.8 linux4sam_5.8-rc1 linux4sam_6.0 linux4sam_6.0-rc1 linux4sam_6.0-rc2 linux4sam_6.0-rc3 linux4sam_6.1 linux4sam_6.1-rc1 linux4sam_6.2 linux4sam_6.2-icp linux4sam_6.2-icp-rc1 linux4sam_6.2-rc1 $ git checkout linux4sam_6.2 -b buildroot-at91-linux4sam_6.2 Switched to a new branch 'buildroot-at91-linux4sam_6.2'
- The source code is
taken from the