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>
62 lines
2.5 KiB
C
62 lines
2.5 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Very simple yet very effective memory tester.
|
|
* Originally by Simon Kirby <sim@stormix.com> <sim@neato.org>
|
|
* Version 2 by Charles Cazabon <charlesc-memtester@pyropus.ca>
|
|
* Version 3 not publicly released.
|
|
* Version 4 rewrite:
|
|
* Copyright (C) 2004-2012 Charles Cazabon <charlesc-memtester@pyropus.ca>
|
|
* Licensed under the terms of the GNU General Public License version 2 (only).
|
|
* See the file COPYING for details.
|
|
*
|
|
* This file contains the declarations for the functions for the actual tests,
|
|
* called from the main routine in memtester.c. See other comments in that
|
|
* file.
|
|
*
|
|
*/
|
|
|
|
#ifndef __CMD_DDR_TOOL_MEMTESTER_TESTS_H
|
|
#define __CMD_DDR_TOOL_MEMTESTER_TESTS_H
|
|
|
|
/* Function declaration. */
|
|
|
|
int test_stuck_address(u32v *bufa, size_t count);
|
|
int test_random_value(u32v *bufa,
|
|
u32v *bufb, size_t count, ul fix_bit, ul fix_level);
|
|
int test_xor_comparison(u32v *bufa,
|
|
u32v *bufb, size_t count, ul fix_bit, ul fix_level);
|
|
int test_sub_comparison(u32v *bufa,
|
|
u32v *bufb, size_t count, ul fix_bit, ul fix_level);
|
|
int test_mul_comparison(u32v *bufa,
|
|
u32v *bufb, size_t count, ul fix_bit, ul fix_level);
|
|
int test_div_comparison(u32v *bufa,
|
|
u32v *bufb, size_t count, ul fix_bit, ul fix_level);
|
|
int test_or_comparison(u32v *bufa,
|
|
u32v *bufb, size_t count, ul fix_bit, ul fix_level);
|
|
int test_and_comparison(u32v *bufa,
|
|
u32v *bufb, size_t count, ul fix_bit, ul fix_level);
|
|
int test_seqinc_comparison(u32v *bufa, u32v *bufb, size_t count,
|
|
ul fix_bit, ul fix_level);
|
|
int test_solidbits_comparison(u32v *bufa, u32v *bufb, size_t count,
|
|
ul fix_bit, ul fix_level);
|
|
int test_checkerboard_comparison(u32v *bufa, u32v *bufb, size_t count,
|
|
ul fix_bit, ul fix_level);
|
|
int test_blockseq_comparison(u32v *bufa, u32v *bufb, size_t count,
|
|
ul fix_bit, ul fix_level);
|
|
int test_walkbits0_comparison(u32v *bufa, u32v *bufb, size_t count,
|
|
ul fix_bit, ul fix_level);
|
|
int test_walkbits1_comparison(u32v *bufa, u32v *bufb, size_t count,
|
|
ul fix_bit, ul fix_level);
|
|
int test_bitspread_comparison(u32v *bufa, u32v *bufb, size_t count,
|
|
ul fix_bit, ul fix_level);
|
|
int test_bitflip_comparison(u32v *bufa, u32v *bufb, size_t count,
|
|
ul fix_bit, ul fix_level);
|
|
#ifdef TEST_NARROW_WRITES
|
|
int test_8bit_wide_random(u32v *bufa, u32v *bufb, size_t count,
|
|
ul fix_bit, ul fix_level);
|
|
int test_16bit_wide_random(u32v *bufa, u32v *bufb, size_t count,
|
|
ul fix_bit, ul fix_level);
|
|
#endif
|
|
|
|
#endif /* __CMD_DDR_TOOL_MEMTESTER_TESTS_H */
|