This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:edge-2l:applications:rkrga [2026/02/04 22:35] gray update by using AI |
products:sbc:edge-2l:applications:rkrga [2026/05/11 02:09] (current) nick ↷ Page moved from local:users:gray:products:sbc:edge-2l:applications:rkrga to products:sbc:edge-2l:applications:rkrga |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Edge-2L RGA (Raster Graphics Accelerator) | + | ====== Edge-2L RGA ====== |
| - | The Edge-2L | + | Edge-2L |
| - | This accelerator | + | We can use the RGA for image graphics |
| <WRAP info> | <WRAP info> | ||
| - | Refer to the following | + | Follow |
| ^ board ^ Linux Kernel (BSP) ^ OS ^ | ^ board ^ Linux Kernel (BSP) ^ OS ^ | ||
| | Edge-2L | | Edge-2L | ||
| </ | </ | ||
| + | ===== Check RGA details ===== | ||
| - | ===== Check RGA Driver Version ===== | ||
| - | Verify the installed RGA driver version: | ||
| ```shell | ```shell | ||
| $ sudo cat / | $ sudo cat / | ||
| ``` | ``` | ||
| - | ===== Get Example Source Code ===== | + | ===== Get source code ===== |
| - | Clone the demonstration repository from GitHub: | + | |
| + | Clone the examples | ||
| ```shell | ```shell | ||
| Line 27: | Line 27: | ||
| ``` | ``` | ||
| - | ===== Run the Examples | + | ===== Run examples |
| - | The following steps use the '' | + | Taking |
| + | |||
| + | ==== Enter the example directory ==== | ||
| - | ==== Enter the Example Directory ==== | ||
| - | Navigate to the crop example source directory: | ||
| ```shell | ```shell | ||
| $ cd src/ | $ cd src/ | ||
| ``` | ``` | ||
| - | ==== Compile the Application | + | ==== Compile the application |
| - | Build the example using the provided Makefile: | + | |
| ```shell | ```shell | ||
| $ make | $ make | ||
| ``` | ``` | ||
| - | ==== Run the Application | + | ==== Run the application |
| + | |||
| + | Copy the sample input image for this example. | ||
| - | 1. Copy the sample input image for this example: | ||
| ```shell | ```shell | ||
| $ cp ../ | $ cp ../ | ||
| ``` | ``` | ||
| - | 2. Execute | + | Run the application. |
| ```shell | ```shell | ||
| $ ./main | $ ./main | ||
| ``` | ``` | ||
| - | Upon successful execution, the processed | + | The output image can be observed at '' |