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>
117 lines
2.8 KiB
Plaintext
117 lines
2.8 KiB
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (c) 2022 Rockchip Electronics Co., Ltd.
|
|
*/
|
|
|
|
/ {
|
|
memory: memory {
|
|
device_type = "memory";
|
|
reg = <0x00000000 0x08000000>;
|
|
};
|
|
|
|
ramdisk: ramdisk {
|
|
compatible = "rockchip,ramdisk";
|
|
memory-region = <&ramdisk_r>;
|
|
};
|
|
|
|
reserved-memory {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges;
|
|
|
|
rtos: rtos@40000 {
|
|
reg = <0x40000 0x3c000>;
|
|
};
|
|
|
|
ramoops: ramoops@rtos_log {
|
|
compatible = "ramoops";
|
|
reg = <0x7c000 0x3000>;
|
|
record-size = <0x0>;
|
|
console-size = <0x0>;
|
|
ftrace-size = <0x0>;
|
|
pmsg-size = <0x0>;
|
|
mcu-log-size = <0x3000>;
|
|
mcu-log-count = <0x1>;
|
|
};
|
|
|
|
meta: meta@800000 {
|
|
/* reg's offset MUST match with RTOS */
|
|
reg = <0x00800000 0x60000>;
|
|
};
|
|
|
|
rkisp_thunderboot: rkisp@860000 {
|
|
/* reg's offset MUST match with RTOS */
|
|
/*
|
|
* vicap, capture raw10, ceil(w*10/8/256)*256*h *4(buf num)
|
|
* e.g. 1920x1080: 0xa8c000
|
|
*/
|
|
reg = <0x00860000 0xa8c000>;
|
|
};
|
|
|
|
ramdisk_r: ramdisk_r {
|
|
reg = <0x12ec000 (10 * 0x00100000)>;
|
|
};
|
|
|
|
ramdisk_c: ramdisk_c {
|
|
reg = <0x1cec000 (5 * 0x00100000)>;
|
|
};
|
|
|
|
rkisp1_thunderboot: rkisp1_thunderboot {
|
|
/* vicap capture for other camera */
|
|
};
|
|
};
|
|
|
|
thunder_boot_rkisp: thunder-boot-rkisp {
|
|
compatible = "rockchip,thunder-boot-rkisp";
|
|
clocks = <&cru ACLK_ISP3P2>, <&cru HCLK_ISP3P2>,
|
|
<&cru CLK_CORE_ISP3P2>, <&cru ISP0CLK_VICAP>,
|
|
<&cru ACLK_VICAP>, <&cru HCLK_VICAP>,
|
|
<&cru DCLK_VICAP>, <&cru PCLK_VICAP>,
|
|
<&cru I0CLK_VICAP>, <&cru I1CLK_VICAP>,
|
|
<&cru RX0PCLK_VICAP>, <&cru RX1PCLK_VICAP>,
|
|
<&cru ISP0CLK_VICAP>, <&cru SCLK_VICAP_M0>,
|
|
<&cru SCLK_VICAP_M1>, <&cru PCLK_VICAP_VEPU>,
|
|
<&cru PCLK_CSIHOST0>, <&cru CLK_RXBYTECLKHS_0>,
|
|
<&cru PCLK_CSIHOST1>, <&cru CLK_RXBYTECLKHS_1>,
|
|
<&cru CLK_I2C4>, <&cru PCLK_I2C4>;
|
|
clock-names = "aclk_isp", "hclk_isp",
|
|
"clk_isp_core", "clk_isp_core_vicap",
|
|
"aclk_cif","hclk_cif",
|
|
"dclk_cif", "pclk_cif",
|
|
"i0clk_cif", "i1clk_cif",
|
|
"rx0clk_cif", "rx1clk_cif",
|
|
"isp0clk_cif", "sclk_m0_cif",
|
|
"sclk_m1_cif", "pclk_vepu_cif",
|
|
"pclk_csi2host0", "clk_rxbyte_hs0",
|
|
"pclk_csi2host1", "clk_rxbyte_hs1",
|
|
"i2c", "pclk";
|
|
status = "okay";
|
|
};
|
|
|
|
thunder_boot_service: thunder-boot-service {
|
|
compatible = "rockchip,thunder-boot-service";
|
|
mbox-names = "amp-rx";
|
|
mboxes = <&mailbox 1>;
|
|
resets = <&cru SRST_CORE_MCU>, <&cru SRST_CORE_MCU_PWRUP>,
|
|
<&cru SRST_CORE_MCU_CPU>, <&cru SRST_T_CORE_MCU_CPU>;
|
|
reset-names = "core_mcu", "core_mcu_pwrup",
|
|
"core_mcu_cpu", "t_core_mcu_cpu";
|
|
memory-region = <&rtos>;
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
&hw_decompress {
|
|
status = "okay";
|
|
memory-region = <&ramdisk_c>;
|
|
};
|
|
|
|
&rkisp_vir0 {
|
|
memory-region-thunderboot = <&rkisp_thunderboot>;
|
|
};
|
|
|
|
&rkvenc {
|
|
assigned-clocks = <&cru CLK_CORE_VEPU>;
|
|
assigned-clock-rates = <410000000>;
|
|
};
|