This shows you the differences between two versions of the page.
|
lkd:res:linux [2024/07/09 10:29] daniel.baluta |
lkd:res:linux [2024/07/09 10:42] (current) daniel.baluta |
||
|---|---|---|---|
| Line 28: | Line 28: | ||
| </code> | </code> | ||
| - | # 1. Clone the Linux kernel | + | 1. Clone the Linux kernel |
| <code bash> | <code bash> | ||
| Line 35: | Line 35: | ||
| </code> | </code> | ||
| - | # 2. Clone the images repo | + | 2. Clone the images repo |
| <code bash> | <code bash> | ||
| $ git clone https://github.com/dbaluta/images.git | $ git clone https://github.com/dbaluta/images.git | ||
| + | </code> | ||
| + | |||
| + | 3. Download rootfs | ||
| + | |||
| + | Download rootfs file from this [[https://drive.google.com/drive/folders/1GHlULHBJqTx_KJvNW53EUuG5UJTy-w14 | location ]] and copy it inside ''~/work/images/'' | ||
| + | |||
| + | 4. Clone the scripts repo | ||
| + | |||
| + | <code bash> | ||
| + | |||
| + | $ cd ~/work/ | ||
| + | $ git clone https://github.com/dbaluta/scripts.git | ||
| + | |||
| + | </code> | ||
| + | |||
| + | IMPORTANT: Edit the '''uuu_script''' so that you replace all patch containing ''/home/student'' with your actual $HOME directory. | ||
| + | |||
| + | At the end you should have the following files hierarchy: | ||
| + | |||
| + | <code bash> | ||
| + | |||
| + | ├── nss-linux # Linux kernel source code | ||
| + | ├── images # prebuild binaries | ||
| + | │ ├── flash.bin | ||
| + | │ ├── Image | ||
| + | │ ├── imx8mq-pico-pi.dtb | ||
| + | │ └── rootfs.ext2 | ||
| + | └── scripts # several scripts to help with compilation and booting | ||
| + | ├── modules_install.sh | ||
| + | ├── setenv.sh | ||
| + | ├── uuu | ||
| + | └── uuu_script | ||
| </code> | </code> | ||