mirror of
https://github.com/LuckfoxTECH/luckfox-pico.git
synced 2026-01-18 03:28:19 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user