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>
40 lines
976 B
C
40 lines
976 B
C
/*
|
|
* (C) Copyright 2020 Rockchip Electronics Co., Ltd
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef RK_MINIDUMP_H
|
|
#define RK_MINIDUMP_H
|
|
|
|
#include <elf.h>
|
|
|
|
#define MD_MAX_NAME_LENGTH 16
|
|
/* md_region - Minidump table entry
|
|
* @name: Entry name, Minidump will dump binary with this name.
|
|
* @id: Entry ID, used only for SDI dumps.
|
|
* @virt_addr: Address of the entry.
|
|
* @phys_addr: Physical address of the entry to dump.
|
|
* @size: Number of byte to dump from @address location
|
|
* it should be 4 byte aligned.
|
|
*/
|
|
struct md_region {
|
|
char name[MD_MAX_NAME_LENGTH];
|
|
u32 id;
|
|
u64 virt_addr;
|
|
u64 phys_addr;
|
|
u64 size;
|
|
};
|
|
|
|
void rk_minidump_init(void);
|
|
|
|
#ifdef CONFIG_ARM64
|
|
void rk_minidump_get_el64(void **ram_image_addr, Elf64_Xword *ram_image_size);
|
|
#else
|
|
void rk_minidump_get_el32(void **ram_image_addr, Elf32_Word *ram_image_size);
|
|
#endif
|
|
|
|
struct md_region *md_get_region(char *name);
|
|
u32 md_no_fault_handler(struct pt_regs *pt_regs, unsigned int esr);
|
|
#endif
|