project:build.sh: Added fastboot support; custom modifications to U-Boot and kernel implemented using patches.

project:cfg:BoardConfig_IPC: Added fastboot BoardConfig file and firmware post-scripts, distinguishing between
the BoardConfigs for Luckfox Pico Pro and Luckfox Pico Max. project:app: Added fastboot_client and rk_smart_door
for quick boot applications; updated rkipc app to adapt to the latest media library. media:samples: Added more
usage examples. media:rockit: Fixed bugs; removed support for retrieving data frames from VPSS. media:isp:
Updated rkaiq library and related tools to support connection to RKISP_Tuner. sysdrv:Makefile: Added support for
compiling drv_ko on Luckfox Pico Ultra W using Ubuntu; added support for custom root filesystem.
sysdrv:tools:board: Updated Buildroot optional mirror sources, updated some software versions, and stored device
tree files and configuration files that undergo multiple modifications for U-Boot and kernel separately.
sysdrv:source:mcu: Used RISC-V MCU SDK with RT-Thread system, mainly for initializing camera AE during quick
boot. sysdrv:source:uboot: Added support for fastboot; added high baud rate DDR bin for serial firmware upgrades.
sysdrv:source:kernel: Upgraded to version 5.10.160; increased NPU frequency for RV1106G3; added support for
fastboot.

Signed-off-by: luckfox-eng29 <eng29@luckfox.com>
This commit is contained in:
luckfox-eng29
2024-08-21 10:05:47 +08:00
parent e79fd21975
commit 8f34c2760d
20902 changed files with 6567362 additions and 11248383 deletions

View File

@@ -1216,7 +1216,7 @@ static void __sc3336_power_off(struct sc3336 *sc3336)
regulator_bulk_disable(SC3336_NUM_SUPPLIES, sc3336->supplies);
}
static int sc3336_runtime_resume(struct device *dev)
static int __maybe_unused sc3336_runtime_resume(struct device *dev)
{
struct i2c_client *client = to_i2c_client(dev);
struct v4l2_subdev *sd = i2c_get_clientdata(client);
@@ -1225,7 +1225,7 @@ static int sc3336_runtime_resume(struct device *dev)
return __sc3336_power_on(sc3336);
}
static int sc3336_runtime_suspend(struct device *dev)
static int __maybe_unused sc3336_runtime_suspend(struct device *dev)
{
struct i2c_client *client = to_i2c_client(dev);
struct v4l2_subdev *sd = i2c_get_clientdata(client);
@@ -1382,8 +1382,7 @@ static int sc3336_set_ctrl(struct v4l2_ctrl *ctrl)
(ctrl->val + sc3336->cur_mode->height)
& 0xff);
sc3336->cur_vts = ctrl->val + sc3336->cur_mode->height;
if (sc3336->cur_vts != sc3336->cur_mode->vts_def)
sc3336_modify_fps_info(sc3336);
sc3336_modify_fps_info(sc3336);
break;
case V4L2_CID_TEST_PATTERN:
ret = sc3336_enable_test_pattern(sc3336, ctrl->val);
@@ -1582,11 +1581,17 @@ static int sc3336_probe(struct i2c_client *client,
return -EINVAL;
}
sc3336->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_ASIS);
if (!sc3336->is_thunderboot)
sc3336->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW);
else
sc3336->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_ASIS);
if (IS_ERR(sc3336->reset_gpio))
dev_warn(dev, "Failed to get reset-gpios\n");
sc3336->pwdn_gpio = devm_gpiod_get(dev, "pwdn", GPIOD_ASIS);
if (!sc3336->is_thunderboot)
sc3336->pwdn_gpio = devm_gpiod_get(dev, "pwdn", GPIOD_OUT_LOW);
else
sc3336->pwdn_gpio = devm_gpiod_get(dev, "pwdn", GPIOD_ASIS);
if (IS_ERR(sc3336->pwdn_gpio))
dev_warn(dev, "Failed to get pwdn-gpios\n");