update(system): Fixup front board rndis doesn't work.
This commit is contained in:
38
lichee/brandy-2.0/spl/arch/riscv/cpu/riscv64/boot0.lds
Executable file
38
lichee/brandy-2.0/spl/arch/riscv/cpu/riscv64/boot0.lds
Executable file
@@ -0,0 +1,38 @@
|
||||
OUTPUT_FORMAT("elf64-littleriscv", "elf64-littleriscv", "elf64-littleriscv")
|
||||
OUTPUT_ARCH("riscv")
|
||||
ENTRY(_start)
|
||||
SECTIONS
|
||||
{
|
||||
. = BOOT0ADDR;
|
||||
. = ALIGN(4);
|
||||
|
||||
.head :
|
||||
{
|
||||
main/boot0_head.o (.rodata)
|
||||
}
|
||||
. = ALIGN(1);
|
||||
.text :
|
||||
{
|
||||
CPUDIR/boot0_entry.o (.text)
|
||||
*(.text)
|
||||
}
|
||||
. = ALIGN(16);
|
||||
.rodata : { *(.rodata) }
|
||||
. = ALIGN(16);
|
||||
.data : { *(.data) }
|
||||
|
||||
. = ALIGN(4);
|
||||
.bss :
|
||||
{
|
||||
__bss_start = .;
|
||||
*(.bss)
|
||||
}
|
||||
. = ALIGN(4);
|
||||
__bss_end = .;
|
||||
|
||||
_end = .;
|
||||
ASSERT(. <= (BOOT0ADDR + BOOT0SIZE), "boot0 image has exceeded its limit.")
|
||||
}
|
||||
|
||||
|
||||
|
||||
37
lichee/brandy-2.0/spl/arch/riscv/cpu/riscv64/fes1.lds
Executable file
37
lichee/brandy-2.0/spl/arch/riscv/cpu/riscv64/fes1.lds
Executable file
@@ -0,0 +1,37 @@
|
||||
OUTPUT_FORMAT("elf64-littleriscv", "elf64-littleriscv", "elf64-littleriscv")
|
||||
OUTPUT_ARCH(riscv)
|
||||
ENTRY(_start)
|
||||
SECTIONS
|
||||
{
|
||||
. = FES1ADDR;
|
||||
. = ALIGN(4);
|
||||
|
||||
.head :
|
||||
{
|
||||
main/fes1_head.o (.rodata)
|
||||
}
|
||||
.text :
|
||||
{
|
||||
CPUDIR/fes1_entry.o (.text)
|
||||
*(.text)
|
||||
}
|
||||
. = ALIGN(16);
|
||||
.rodata : { *(.rodata) }
|
||||
. = ALIGN(16);
|
||||
.data : { *(.data) }
|
||||
|
||||
. = ALIGN(4);
|
||||
.bss :
|
||||
{
|
||||
fes1_res_addr = .;
|
||||
__bss_start = .;
|
||||
*(.bss)
|
||||
}
|
||||
. = ALIGN(4);
|
||||
__bss_end = .;
|
||||
|
||||
_end = .;
|
||||
}
|
||||
|
||||
|
||||
|
||||
30
lichee/brandy-2.0/spl/fes/fes1.lds
Normal file
30
lichee/brandy-2.0/spl/fes/fes1.lds
Normal file
@@ -0,0 +1,30 @@
|
||||
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
|
||||
OUTPUT_ARCH(arm)
|
||||
ENTRY(_start)
|
||||
SECTIONS
|
||||
{
|
||||
. = 0x28000;
|
||||
. = ALIGN(4);
|
||||
.head :
|
||||
{
|
||||
main/fes1_head.o (.rodata)
|
||||
}
|
||||
.text :
|
||||
{
|
||||
/home/kangjun/work/allwinner/v851/gitea/sl100_sdk/lichee/brandy-2.0/spl/arch/arm/cpu/armv7/fes1_entry.o (.text)
|
||||
*(.text)
|
||||
}
|
||||
. = ALIGN(16);
|
||||
.rodata : { *(.rodata) }
|
||||
. = ALIGN(16);
|
||||
.data : { *(.data) }
|
||||
. = ALIGN(4);
|
||||
.bss :
|
||||
{
|
||||
__bss_start = .;
|
||||
*(.bss)
|
||||
}
|
||||
. = ALIGN(4);
|
||||
__bss_end = .;
|
||||
_end = .;
|
||||
}
|
||||
33
lichee/brandy-2.0/spl/nboot/boot0.lds
Normal file
33
lichee/brandy-2.0/spl/nboot/boot0.lds
Normal file
@@ -0,0 +1,33 @@
|
||||
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
|
||||
OUTPUT_ARCH(arm)
|
||||
ENTRY(_start)
|
||||
SECTIONS
|
||||
{
|
||||
. = 0x20000;
|
||||
. = ALIGN(4);
|
||||
.head :
|
||||
{
|
||||
main/boot0_head.o (.rodata)
|
||||
}
|
||||
. = ALIGN(1);
|
||||
.text :
|
||||
{
|
||||
/home/kangjun/work/allwinner/v851/gitea/sl100_sdk/lichee/brandy-2.0/spl/arch/arm/cpu/armv7/boot0_entry.o (.text)
|
||||
/home/kangjun/work/allwinner/v851/gitea/sl100_sdk/lichee/brandy-2.0/spl/solution/libsolution.o (.text)
|
||||
*(.text)
|
||||
}
|
||||
. = ALIGN(16);
|
||||
.rodata : { *(.rodata) }
|
||||
. = ALIGN(16);
|
||||
.data : { *(.data) }
|
||||
. = ALIGN(4);
|
||||
.bss :
|
||||
{
|
||||
__bss_start = .;
|
||||
*(.bss)
|
||||
}
|
||||
. = ALIGN(4);
|
||||
__bss_end = .;
|
||||
_end = .;
|
||||
ASSERT(. <= (0x20000 + 0x10000), "boot0 image has exceeded its limit.")
|
||||
}
|
||||
@@ -1105,7 +1105,7 @@ static int sensor_get_fmt_mbus_core(struct v4l2_subdev *sd, int *code)
|
||||
// *code = info->fmt->mbus_code;
|
||||
// }
|
||||
// *code = MEDIA_BUS_FMT_SRGGB10_1X10;//MEDIA_BUS_FMT_SBGGR10_1X10;
|
||||
*code = MEDIA_BUS_FMT_SBGGR10_1X10;
|
||||
*code = MEDIA_BUS_FMT_SGRBG10_1X10;//MEDIA_BUS_FMT_SBGGR10_1X10;
|
||||
sensor_print("%s(), L:%d, MEDIA_BUS_FMT_SBGGR10_1X10\n", __func__, __LINE__);
|
||||
return 0;
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -102,8 +102,10 @@
|
||||
#endif // CONFIG_SENSOR_F355P_MIPI
|
||||
|
||||
#ifdef CONFIG_SENSOR_OV02B10_MIPI
|
||||
#include "SENSOR_H/ov02b10_mipi_isp600_20240423_135454_rgb.h"
|
||||
#include "SENSOR_H/ov02b10_mipi_isp600_20240423_133842_ir.h"
|
||||
//#include "SENSOR_H/ov02b10_mipi_isp600_20240423_135454_rgb.h"
|
||||
//#include "SENSOR_H/ov02b10_mipi_isp600_20240423_133842_ir.h"
|
||||
#include "SENSOR_H/ov02b1b_mipi_isp600_20240613_color.h"
|
||||
#include "SENSOR_H/ov02b10_mipi_isp600_20240613_ir.h"
|
||||
#endif // CONFIG_SENSOR_OV02B10_MIPI
|
||||
|
||||
#else
|
||||
@@ -172,10 +174,14 @@ struct isp_cfg_array cfg_arr[] = {
|
||||
#endif // CONFIG_SENSOR_F355P_MIPI
|
||||
|
||||
#ifdef CONFIG_SENSOR_OV02B10_MIPI
|
||||
{"ov02b1b_mipi", "ov02b10_mipi_isp600_20240423_135454_rgb", 1600, 1200, 30, 0, 0, &ov02b10_mipi_isp_cfg},
|
||||
{"ov02b1b_mipi", "ov02b10_mipi_isp600_20240423_135454_rgb", 1600, 1200, 30, 1, 0, &ov02b10_mipi_isp_cfg},
|
||||
{"ov02b10_mipi", "ov02b10_mipi_isp600_20240423_133842_ir", 1600, 1200, 30, 0, 0, &ov02b10_mipi_isp_ir_cfg},
|
||||
{"ov02b10_mipi", "ov02b10_mipi_isp600_20240423_133842_ir", 1600, 1200, 30, 1, 0, &ov02b10_mipi_isp_ir_cfg},
|
||||
//{"ov02b1b_mipi", "ov02b10_mipi_isp600_20240423_135454_rgb", 1600, 1200, 30, 0, 0, &ov02b10_mipi_isp_cfg},
|
||||
//{"ov02b1b_mipi", "ov02b10_mipi_isp600_20240423_135454_rgb", 1600, 1200, 30, 1, 0, &ov02b10_mipi_isp_cfg},
|
||||
//{"ov02b10_mipi", "ov02b10_mipi_isp600_20240423_133842_ir", 1600, 1200, 30, 0, 0, &ov02b10_mipi_isp_ir_cfg},
|
||||
//{"ov02b10_mipi", "ov02b10_mipi_isp600_20240423_133842_ir", 1600, 1200, 30, 1, 0, &ov02b10_mipi_isp_ir_cfg},
|
||||
{"ov02b1b_mipi", "ov02b1b_mipi_isp600_20240613_color", 1600, 1200, 30, 0, 0, &ov02b1b_mipi_isp_cfg},
|
||||
{"ov02b1b_mipi", "ov02b1b_mipi_isp600_20240613_color", 1600, 1200, 30, 1, 0, &ov02b1b_mipi_isp_cfg},
|
||||
{"ov02b10_mipi", "ov02b10_mipi_isp600_20240613_ir", 1600, 1200, 30, 0, 0, &ov02b10_mipi_isp_cfg},
|
||||
{"ov02b10_mipi", "ov02b10_mipi_isp600_20240613_ir", 1600, 1200, 30, 1, 0, &ov02b10_mipi_isp_cfg},
|
||||
#endif // CONFIG_SENSOR_OV02B10_MIPI
|
||||
|
||||
#ifdef CONFIG_SENSOR_GC1084_MIPI
|
||||
|
||||
Reference in New Issue
Block a user