Pullrequest fix backlight (#291)

* project : Merge the board configurations of Luckfox Pico Mini A and Luckfox Pico Mini B;
	  Merge the board configurations of Luckfox Pico Pro and Luckfox pico Max

Signed-off-by: eng29 <eng29@luckfox.com>

* sysdrv/source/kernel/arch/arm/boot/dts : Merge the device tree configurations of Luckfox Pico Mini A and Luckfox Mini B;
					 Merge the device tree configurations of Luckfox Pico Pro and Luckfox Pico Max

Signed-off-by: eng29 <eng29@luckfox.com>

* sysdrv/source/uboot : uboot add support for automatically executing custom commands defined by Luckfox

Signed-off-by: eng29 <eng29@luckfox.com>

* sysdrv/source/kernel : The Luckfox Pico series dynamically loads the BLACKLIGHT_PWM driver, which hides display abnormalities that occur during the screen initialization process

Signed-off-by: eng29 <eng29@luckfox.com>

* project/cfg/BoardConfig_IPC : Update the BoardConfig file and overlay file of the Luckfox Pico model that supports RGB, so that the BLACKLIGHT_PWM driver will be automatically loaded

Signed-off-by: eng29 <eng29@luckfox.com>

* project/cfg/BoardConfig_IPC : Add rtl8723bs module support for Luckfox Pico Mini / Luckfox Pico Plus / Luckfox Pico WebBee / Luckfox Pico Pro Max

Signed-off-by: eng29 <eng29@luckfox.com>

* sysdrv/drv_ko/wifi/insmod_wifi.sh : Add support for identifying rtl8723bs

Signed-off-by: eng29 <eng29@luckfox.com>

* sysdrv/source/kernel/arch/arm/configs/luckfox_rv1106_linux_defconfig : Add usb_audio, ch343 and rtl8723bs support

Signed-off-by: eng29 <eng29@luckfox.com>

* sysdrv/tools/board/buildroot : Enable the pcre2 package by default on startup

Signed-off-by: eng29 <eng29@luckfox.com>

* project/app/rkipc/rkipc/common/network/network.c : Fix missing DNS issue when bringing up Wi-Fi interface

Signed-off-by: eng29 <eng29@luckfox.com>

* README.md : Update description
README_CN.md : Update description

Signed-off-by: eng29 <eng29@luckfox.com>

* project/cfg/BoardConfig_IPC/overlay/overlay-luckfox-config/usr/bin/luckfox-config : Disable UART2_M1 pinmux configuration

Signed-off-by: eng29 <eng29@luckfox.com>

* project/cfg/BoardConfig_IPC/overlay/overlay-luckfox-config/etc/init.d/S99luckfoxconfigload : Remove the function of pressing the boot button to switch the screen model

Signed-off-by: eng29 <eng29@luckfox.com>

* sysdrv/source/kernel/arch/arm/boot/dts : Standardize the writing format of the dst files

Signed-off-by: eng29 <eng29@luckfox.com>

---------

Signed-off-by: eng29 <eng29@luckfox.com>
This commit is contained in:
luckfox-eng29
2025-06-11 10:47:51 +08:00
committed by GitHub
parent d2da6f0f4f
commit e2b0ffa22e
45 changed files with 348 additions and 780 deletions

View File

@@ -1054,6 +1054,10 @@ config ROCKCHIP_SET_SN
bool "Rockchip set serial number"
default y
config LUCKFOX_EXECUTE_CMD
bool "luckfox execute cmd"
default n
config ROCKCHIP_SET_ETHADDR
bool "Rockchip set eth address"
default y

View File

@@ -94,6 +94,16 @@ __weak int rk_board_init(void)
return 0;
}
#ifdef CONFIG_LUCKFOX_EXECUTE_CMD
static int luckfox_execute_cmd(void)
{
/* Luckfox Pico RGB MCU reset gpio */
run_command("gpio set 1 1",0);
return 0;
}
#endif
#ifdef CONFIG_ROCKCHIP_SET_ETHADDR
/*
* define serialno max length, the max length is 512 Bytes
@@ -453,6 +463,9 @@ static void scan_run_cmd(void)
int board_late_init(void)
{
#ifdef CONFIG_LUCKFOX_EXECUTE_CMD
luckfox_execute_cmd();
#endif
#ifdef CONFIG_ROCKCHIP_SET_ETHADDR
rockchip_set_ethaddr();
#endif

View File

@@ -22,7 +22,6 @@ CONFIG_DEBUG_UART=y
# CONFIG_DISTRO_DEFAULTS is not set
CONFIG_ANDROID_BOOT_IMAGE=y
CONFIG_FIT=y
# CONFIG_FIT_IMAGE_POST_PROCESS=y
CONFIG_FIT_HW_CRYPTO=y
CONFIG_SPL_LOAD_FIT=y
CONFIG_SPL_FIT_IMAGE_POST_PROCESS=y
@@ -40,7 +39,6 @@ CONFIG_SPL_BOARD_INIT=y
# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
# CONFIG_SPL_LEGACY_IMAGE_SUPPORT is not set
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y
CONFIG_SPL_MMC_WRITE=y
CONFIG_SPL_MTD_SUPPORT=y
CONFIG_SPL_AB=y
CONFIG_HUSH_PARSER=y
@@ -54,6 +52,7 @@ CONFIG_CMD_BOOTZ=y
# CONFIG_CMD_CRC32 is not set
# CONFIG_CMD_FLASH is not set
# CONFIG_CMD_FPGA is not set
CONFIG_CMD_GPIO=y
CONFIG_RANDOM_UUID=y
# CONFIG_CMD_LOADB is not set
# CONFIG_CMD_LOADS is not set

View File

@@ -0,0 +1 @@
CONFIG_LUCKFOX_EXECUTE_CMD=y