From 713161599e1b590249b1cd8a9e7f2a7f68d8d52d Mon Sep 17 00:00:00 2001 From: Neucrack Date: Fri, 16 Aug 2024 10:27:36 +0800 Subject: [PATCH] add rndis for basesystem and change ion size to 105MB --- build/boards/sg200x/sg2002_licheervnano_sd/memmap.py | 2 +- build/tools/common/sd_tools/genimage_rootless.cfg | 1 + build/tools/common/sd_tools/sd_gen_burn_image_rootless.sh | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build/boards/sg200x/sg2002_licheervnano_sd/memmap.py b/build/boards/sg200x/sg2002_licheervnano_sd/memmap.py index 4c676f0605..678edf174f 100755 --- a/build/boards/sg200x/sg2002_licheervnano_sd/memmap.py +++ b/build/boards/sg200x/sg2002_licheervnano_sd/memmap.py @@ -40,7 +40,7 @@ class MemoryMap: # ================= # Multimedia buffer. Used by u-boot/kernel/FreeRTOS # ================= - ION_SIZE = 75 * SIZE_1M + ION_SIZE = 105 * SIZE_1M H26X_BITSTREAM_SIZE = 2 * SIZE_1M H26X_ENC_BUFF_SIZE = 0 ISP_MEM_BASE_SIZE = 20 * SIZE_1M diff --git a/build/tools/common/sd_tools/genimage_rootless.cfg b/build/tools/common/sd_tools/genimage_rootless.cfg index 8224e4e6b7..af447e3eb4 100644 --- a/build/tools/common/sd_tools/genimage_rootless.cfg +++ b/build/tools/common/sd_tools/genimage_rootless.cfg @@ -6,6 +6,7 @@ image boot.vfat { "rawimages/boot.sd", "usb.dev", "usb.ncm", + "usb.rndis", "wifi.sta", "gt9xx", "logo.jpeg", diff --git a/build/tools/common/sd_tools/sd_gen_burn_image_rootless.sh b/build/tools/common/sd_tools/sd_gen_burn_image_rootless.sh index ada152d5d4..bfce61c3bd 100755 --- a/build/tools/common/sd_tools/sd_gen_burn_image_rootless.sh +++ b/build/tools/common/sd_tools/sd_gen_burn_image_rootless.sh @@ -28,6 +28,7 @@ cp -fv ${output_dir}/rawimages/boot.sd ${output_dir}/input/rawimages/ cp -fv ${output_dir}/rawimages/rootfs.sd ${output_dir}/input/ touch ${output_dir}/input/usb.dev touch ${output_dir}/input/usb.ncm +touch ${output_dir}/input/usb.rndis touch ${output_dir}/input/wifi.sta touch ${output_dir}/input/gt9xx touch ${output_dir}/input/fb