Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:edge-2l:applications:rkrga

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 includes an onboard RGA (Raster Graphics Accelerator) hardware unit for accelerating 2D graphics operations such as cropping, scalingrotationand format conversion.+Edge-2L provides a RGA (Raster Graphics Accelerator) onboard for fast 2D graphics operationssuch as cropping, resizingrotatingetc.
  
-This accelerator can be utilized for efficient image processing tasks.+We can use the RGA for image graphics processing.
  
 <WRAP info> <WRAP info>
  
-Refer to the following table for supported runtime platforms:+Follow the table for suitable runtime platform
 ^ board  ^ Linux Kernel (BSP)  ^ OS                            ^ ^ board  ^ Linux Kernel (BSP)  ^ OS                            ^
 | Edge-2L  | 6.1         | Ubuntu 24.04  | | Edge-2L  | 6.1         | Ubuntu 24.04  |
  
 </WRAP> </WRAP>
 +===== Check RGA details =====
  
-===== Check RGA Driver Version ===== 
-Verify the installed RGA driver version: 
 ```shell ```shell
 $ sudo cat /sys/kernel/debug/rkrga/driver_version $ sudo cat /sys/kernel/debug/rkrga/driver_version
 ``` ```
  
-===== Get Example Source Code ===== +===== Get source code ===== 
-Clone the demonstration repository from GitHub: [[gh>sravansenthiln1/rga-demos]]+ 
 +Clone the examples [[gh>sravansenthiln1/rga-demos]]
  
 ```shell ```shell
Line 27: Line 27:
 ``` ```
  
-===== Run the Examples =====+===== Run examples =====
  
-The following steps use the ''rga-crop'' example to demonstrate the workflow.+Taking ''rga-crop'' as example 
 + 
 +==== Enter the example directory ====
  
-==== Enter the Example Directory ==== 
-Navigate to the crop example source directory: 
 ```shell ```shell
 $ cd src/rga-crop $ cd src/rga-crop
 ``` ```
  
-==== 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 ../../samples/input_rgba.bmp . $ cp ../../samples/input_rgba.bmp .
 ``` ```
  
-2. Execute the compiled program:+Run the application. 
 ```shell ```shell
 $ ./main $ ./main
 ``` ```
  
-Upon successful execution, the processed output image will be saved as ''output.bmp'' in the current directory.+The output image can be observed at ''output.bmp''
Last modified: 2026/02/04 22:35 by gray