Page 1
SOM-G2L-OSM yocto Developer Guide V1.0 Room 02-04, 10/F, Block A, Building 8, Shenzhen International Innovation Valley, Dashi Road, Nanshan District, Shenzhen, Guangdong, China Emai: support@geniatech.com Tel: (+ 86) 755 86028588...
Page 2
REVISION HISTORY DATE REVISION REVISIO COMM INITIALS TYPE ENTS 05/22/2024 Major Room 02-04, 10/F, Block A, Building 8, Shenzhen International Innovation Valley, Dashi Road, Nanshan District, Shenzhen, Guangdong, China Emai: support@geniatech.com Tel: (+ 86) 755 86028588...
If compilation encounters an error, you can install the corresponding software package according to the error message. 2. SDK compilation 2.1. Select a configuration file <SDK>$ source lunch.sh -- Select som-g2l-osm project. 2.2. U-Boot compilation <SDK>/build$./build.sh -i uboot 2.3. Kernel compilation <SDK>/build$./build.sh -i bootimg 2.4.
Page 4
│ ├── rzg2l-smarc-pinfunction.dtsi │ ├── rzg2l-smarc.dtsi │ ├──r9a07g044l2.dtsi │ ├──r9a07g044.dtsi 3.2.2. Introduction to CONFIGS <sdk>/loong/devices/osm-rzg2l-v2/source/kernel/arch/arm64/configs/defconfig Room 02-04, 10/F, Block A, Building 8, Shenzhen International Innovation Valley, Dashi Road, Nanshan District, Shenzhen, Guangdong, China Emai: support@geniatech.com Tel: (+ 86) 755 86028588...
4.2.1.1 Prepare the firmware to be burned, download the system package and then decompression as shown in the figure below Room 02-04, 10/F, Block A, Building 8, Shenzhen International Innovation Valley, Dashi Road, Nanshan District, Shenzhen, Guangdong, China Emai: support@geniatech.com Tel: (+ 86) 755 86028588...
Page 6
4.2.1.3 After the formatting is complete, copy the core-image-weston-smarc-rzg2l.tar.bz2, Image-r9a07g044l2-smarc.dtb, Image-smarc-rzg2l.bin three files to the U disk. Room 02-04, 10/F, Block A, Building 8, Shenzhen International Innovation Valley, Dashi Road, Nanshan District, Shenzhen, Guangdong, China Emai: support@geniatech.com Tel: (+ 86) 755 86028588...
Page 7
4.2.1.5 You can open the U disk to view the current file, and start the U disk production is completed. Room 02-04, 10/F, Block A, Building 8, Shenzhen International Innovation Valley, Dashi Road, Nanshan District, Shenzhen, Guangdong, China Emai: support@geniatech.com Tel: (+ 86) 755 86028588...
Page 8
-- Load Program to System RAM --------------- please send ! 4.2.2.3 Click on the top left corner File->Send File Room 02-04, 10/F, Block A, Building 8, Shenzhen International Innovation Valley, Dashi Road, Nanshan District, Shenzhen, Guangdong, China Emai: support@geniatech.com Tel: (+ 86) 755 86028588...
Page 9
4.2.2.5 After successful uploading, print the following input XLS2 and return, first enter 11E00, enter, then enter 0, return Room 02-04, 10/F, Block A, Building 8, Shenzhen International Innovation Valley, Dashi Road, Nanshan District, Shenzhen, Guangdong, China Emai: support@geniatech.com Tel: (+ 86) 755 86028588...
Page 10
1D200 enter Room 02-04, 10/F, Block A, Building 8, Shenzhen International Innovation Valley, Dashi Road, Nanshan District, Shenzhen, Guangdong, China Emai: support@geniatech.com Tel: (+ 86) 755 86028588...
Page 11
0 0x48080000 Image-smarc-rzg2l.bin; ext4load usb 0 0x48000000 Image-r9a07g044l2-smarc.dtb => booti 0x48080000 - 0x48000000 Room 02-04, 10/F, Block A, Building 8, Shenzhen International Innovation Valley, Dashi Road, Nanshan District, Shenzhen, Guangdong, China Emai: support@geniatech.com Tel: (+ 86) 755 86028588...
Page 12
4.2.2.11 Start from the U disk and enter the system. Room 02-04, 10/F, Block A, Building 8, Shenzhen International Innovation Valley, Dashi Road, Nanshan District, Shenzhen, Guangdong, China Emai: support@geniatech.com Tel: (+ 86) 755 86028588...
Page 13
The partition table has been altered. Calling ioctl() to re-read partition table. Syncing disks. root@smarc-rzv2l:~# fdisk -l Room 02-04, 10/F, Block A, Building 8, Shenzhen International Innovation Valley, Dashi Road, Nanshan District, Shenzhen, Guangdong, China Emai: support@geniatech.com Tel: (+ 86) 755 86028588...
Page 14
Room 02-04, 10/F, Block A, Building 8, Shenzhen International Innovation Valley, Dashi Road, Nanshan District, Shenzhen, Guangdong, China Emai: support@geniatech.com Tel: (+ 86) 755 86028588...
Page 15
-C /mnt/ Note:Unpressing this file needs to wait a time to complete. Room 02-04, 10/F, Block A, Building 8, Shenzhen International Innovation Valley, Dashi Road, Nanshan District, Shenzhen, Guangdong, China Emai: support@geniatech.com Tel: (+ 86) 755 86028588...
Page 16
'mmc dev 1; ext4load mmc 0:1 0x48080000 Image-smarc-rzg2l.bin; ext4load mmc 0:1 0x48000000 Image-r9a07g044l2-smarc.dtb; booti 0x48080000 - 0x48000000' => saveenv Room 02-04, 10/F, Block A, Building 8, Shenzhen International Innovation Valley, Dashi Road, Nanshan District, Shenzhen, Guangdong, China Emai: support@geniatech.com Tel: (+ 86) 755 86028588...
Page 17
Room 02-04, 10/F, Block A, Building 8, Shenzhen International Innovation Valley, Dashi Road, Nanshan District, Shenzhen, Guangdong, China Emai: support@geniatech.com Tel: (+ 86) 755 86028588...
Page 18
4.3.5 Remove the U disk, restart and enter the system from the EMMC. Room 02-04, 10/F, Block A, Building 8, Shenzhen International Innovation Valley, Dashi Road, Nanshan District, Shenzhen, Guangdong, China Emai: support@geniatech.com Tel: (+ 86) 755 86028588...
Need help?
Do you have a question about the SOM-G2L-OSM and is the answer not in the manual?
Questions and answers