我使用DVRRDK_04.01.00.02 开发包,芯片是TMS320DM8148。
板子上配的DDR是2G,
目前uboot已经能识别了
现在的问题是2G的 config_2G.bld内存分配文件不对,系统起不来,
DVRRDK_04.01.00.02 开发包只有512M的内存分配文件,
我参考网上以及8168的1g的配置文件,8148的1g内存分配也ok了
但是2g的内存分配文件,系统一直起不来。
这个是我目前用的配置文件。
/*
* ======== config.bld ========
* Build configuration script for HDVPSS drivers
*/
/*
* Linux kernel bootargs:
* mem=512M ddr_mem=2048M console=ttyO0,115200n8 root=/dev/nfs rw <your_fs_path> ip=dhcp rootdelay=5 vram=64M notifyk.vpssm3_sva=0xbfb00000 vmalloc=476M
*/
/* load the required modules for the configuration */
var M3 = xdc.useModule('ti.targets.arm.elf.M3');
var C674 = xdc.useModule('ti.targets.elf.C674');
var buildReleaseConfig = true;
/* configure the options for the M3 targets */
/* M3 compiler directory path */
M3.rootDir = java.lang.System.getenv("CGTOOLS");
/* linker options */
M3.lnkOpts.suffix += " --zero_init=off ";
M3.lnkOpts.suffix += " --dynamic --retain=_Ipc_ResetVector";
/* compiler options */
M3.ccOpts.suffix += " --gcc -DTI_814X_BUILD -DPLATFORM_EVM_SI -DTI814X_2G_DDR -DSYSLINK_BUILD_RTOS -DUSE_SYSLINK_NOTIFY=0 -DUTILS_ASSERT_ENABLE -DSCP_DDR_MEM_SIZE_2G";
/* set default platform and list of all interested
* platforms for M3
*/
M3.platforms = [
"ti.platforms.evmTI814X:core0",
"ti.platforms.evmTI814X:core1",
];
/* Select the default platform
*
* Making core1 as defualt core configuration to be used
* Core 0 == Ducati.M3.VIDEO
* Core 1 == Ducati.M3.VPS
*/
M3.platform = M3.platforms[1];
/* configure the options for the C674 targets */
/* C674 compiler directory path */
C674.rootDir = java.lang.System.getenv("CGTOOLS_DSP");
/* linker options */
C674.lnkOpts.suffix += " --zero_init=off ";
C674.lnkOpts.suffix += " --dynamic --retain=_Ipc_ResetVector";
/* compiler options */
C674.ccOpts.suffix += " -DTI_814X_BUILD -DPLATFORM_EVM_SI -DSYSLINK_BUILD_RTOS -DUSE_SYSLINK_NOTIFY=0";
C674.platforms = ["ti.platforms.evmTI816X:plat"];
C674.platform = C674.platforms[0];
/* list interested targets in Build.targets array */
Build.targets = [
M3,
C674,
];
var KB=1024;
var MB=KB*KB;
var GB=KB*KB*KB;
var DDR3_ADDR = 0x80000000;
var DDR3_SIZE = 2048*MB;
var OCMC0_ADDR = 0x40300000;
/*OCMC1 exisits only for TI816X*/
var OCMC1_ADDR = 0x40400000;
var OCMC0_RUN_ADDR = 0x00300000;
var OCMC1_RUN_ADDR = 0x00400000;
var OCMC_SIZE = 128*KB;
var OCMC0_VIDEO_M3_SIZE = 16*KB;
var OCMC0_VPSS_M3_SIZE = OCMC_SIZE - OCMC0_VIDEO_M3_SIZE;
var OCMC0_VIDEO_M3_ADDR = OCMC0_ADDR;
var OCMC0_VPSS_M3_ADDR = OCMC0_VIDEO_M3_ADDR + OCMC0_VIDEO_M3_SIZE;
var OCMC0_RUN_ADDR = 0x00300000;
var OCMC0_VIDEO_M3_RUN = OCMC0_RUN_ADDR;
var OCMC0_VPSS_M3_RUN = OCMC0_VIDEO_M3_RUN + OCMC0_VIDEO_M3_SIZE;
var M3_L2_RAM = 0x55024000;
var M3_L2_RAM_SIZE = 48*KB;
var M3_L2_RAM_MAPPED = 0x20004000;
var DUCATI_WB_WA_ADDR = 0x20000000;
var TOTAL_MEM_SIZE = DDR3_SIZE;
/* FIRST + SECOND 512MB */
var SR1_SIZE = 277 * MB;
var VIDEO_M3_CODE_SIZE = 4 * MB;
var VIDEO_M3_BSS_SIZE = 15 * MB;
var VIDEO_M3_DATA_SIZE = 4 * MB;
var DSS_M3_CODE_SIZE = 2 * MB;
var DSS_M3_BSS_SIZE = 20 * MB;
var DSS_M3_DATA_SIZE = 6 * MB;
var DSP_CODE_SIZE = 2 * MB;
var DSP_DATA_SIZE = 182 * MB;
var SR2_FRAME_BUFFER_SIZE = 356 * MB;
var SR0_SIZE = 147 * MB - 256 * KB;
var VIDEO_M3_EXCEPTION_CTX_SIZE = 128 * KB;
var VPSS_M3_EXCEPTION_CTX_SIZE = 128 * KB;
var HDVPSS_DESC_SIZE = 2 * MB;
var HDVPSS_SHARED_SIZE = 2 * MB;
var NOTIFY_SHARED_SIZE = 2 * MB;
var REMOTE_DEBUG_SIZE = 1 * MB;
var SHARED_MEMORY_SIZE = 2 * MB;
/* THIRD 512MB */
var LINUX_SIZE = 512 * MB;
/* LAST 512MB */
var TILER_SIZE = 256 * MB;
var SR3_FRAME_BUFFER_EXTRA_SIZE = 256 * MB;
/*
print (" ");
print ("SmartCore Memory Map - 2GB DDR [4 x 512MB regions], 512MB for Linux:");
print (" ");
print (" 0x80000000 ----+-------------------+");
print (" ^ | " + (SR1_SIZE / MB) + "MB | (SR1) Bitstream buffer");
print (" | | | Cached on A8. Cached on M3, although access by DMAs");
print (" | +-------------------+ ");
print (" | | " + (VIDEO_M3_CODE_SIZE / MB) + " MB | Video M3 Code");
print (" 512MB +-------------------+");
print (" | | " + (VIDEO_M3_DATA_SIZE / MB) + " MB | Video M3 Data");
print (" | +-------------------+");
print (" | | " + (VIDEO_M3_BSS_SIZE / MB) + " MB | Video M3 BSS Data");
print (" | +-------------------+");
print (" | | " + (DSS_M3_CODE_SIZE/ MB) + " MB | VPSS M3 Code");
print (" | +-------------------+");
print (" | | " + (DSS_M3_DATA_SIZE/ MB) + " MB | VPSS M3 Data");
print (" | +-------------------+");
print (" v | " + (DSS_M3_BSS_SIZE/ MB) + " MB | VPSS M3 BSS Data");
print (" 0xA0000000 ----+-------------------+");
print (" ^ | |");
print (" | | " + (TILER_SIZE / MB) + " MB | Tiled 8-bit + 16-bit region");
print (" 512MB | |");
print (" | +-------------------+");
print (" v | " + (SR2_FRAME_BUFFER_SIZE / MB) + " MB | (SR2) Frame Buffer Region - <VPSS - Video M3 Frame Buf>");
print (" 0xC0000000 ----+-------------------+ ");
print (" ^ | |");
print (" | | " + (LINUX_SIZE / MB) + " MB | Linux");
print (" 512MB | |");
print (" | | |");
print (" v | |");
print (" 0xE0000000 ----+-------------------+");
print (" ^ | " + ( DSP_CODE_SIZE / KB) + " KB | DSP Code");
print (" | +-------------------+");
print (" | | " + (DSP_DATA_SIZE / MB) + " MB | DSP Data");
print (" | +-------------------+");
print (" | | |");
print (" 512MB | " + (SR0_SIZE / MB) + " MB | (SR0) Syslink MsgQ/IPC List MP - <Non-cached on M3>");
print (" | +-------------------+");
print (" | | " + (VIDEO_M3_EXCEPTION_CTX_SIZE / KB) + " KB | Video M3 exception context");
print (" | +-------------------+ ");
print (" | | " + (VPSS_M3_EXCEPTION_CTX_SIZE / KB) + "KB | Vpss M3 exception context");
print (" | +-------------------+ ");
print (" | | " + (HDVPSS_DESC_SIZE / MB) + " MB | VPSS M3 - VPDMA Descriptor");
print (" | +-------------------+");
print (" | | " + (HDVPSS_SHARED_SIZE / MB) + " MB | VPSS M3 - FBDev Shared Memory");
print (" | +-------------------+");
print (" | | " + (NOTIFY_SHARED_SIZE / MB) + " MB | Host - VPSS M3 Notify(For FBDev)");
print (" | +-------------------+");
print (" v | " + (REMOTE_DEBUG_SIZE / MB) + " MB | Remote Debug Print");
print (" 0xFFFFFFFF ----+-------------------+");
print (" ");
*/
/* first and second 512MB */
var SR1_ADDR = DDR3_ADDR;
var VIDEO_M3_CODE_ADDR = SR1_ADDR + SR1_SIZE;
var VIDEO_M3_DATA_ADDR = VIDEO_M3_CODE_ADDR + VIDEO_M3_CODE_SIZE;
var VIDEO_M3_BSS_ADDR = VIDEO_M3_DATA_ADDR + VIDEO_M3_DATA_SIZE;
var VIDEO_M3_BSS_ADDR_RUN = (VIDEO_M3_BSS_ADDR - DDR3_ADDR) + DUCATI_WB_WA_ADDR;
var DSS_M3_CODE_ADDR = VIDEO_M3_BSS_ADDR + VIDEO_M3_BSS_SIZE;
var DSS_M3_DATA_ADDR = DSS_M3_CODE_ADDR + DSS_M3_CODE_SIZE;
var DSS_M3_BSS_ADDR = DSS_M3_DATA_ADDR + DSS_M3_DATA_SIZE;
var DSS_M3_BSS_ADDR_RUN = (DSS_M3_BSS_ADDR - DDR3_ADDR) + DUCATI_WB_WA_ADDR;
var DSP_CODE_ADDR = DSS_M3_BSS_ADDR + DSS_M3_BSS_SIZE;
var DSP_DATA_ADDR = DSP_CODE_ADDR + DSP_CODE_SIZE;
var SR2_FRAME_BUFFER_ADDR = DSP_DATA_ADDR + DSP_DATA_SIZE;
var VIDEO_M3_EXCEPTION_CTX_ADDR = SR2_FRAME_BUFFER_ADDR + SR2_FRAME_BUFFER_SIZE;
var VPSS_M3_EXCEPTION_CTX_ADDR = VIDEO_M3_EXCEPTION_CTX_ADDR + VIDEO_M3_EXCEPTION_CTX_SIZE;
var SR0_ADDR = VPSS_M3_EXCEPTION_CTX_ADDR + VPSS_M3_EXCEPTION_CTX_SIZE;
var HDVPSS_DESC_ADDR = SR0_ADDR + SR0_SIZE;
//var HDVPSS_SHARED_ADDR = HDVPSS_DESC_ADDR + HDVPSS_DESC_SIZE;
//var NOTIFY_SHARED_ADDR = HDVPSS_SHARED_ADDR + HDVPSS_SHARED_SIZE;
//var REMOTE_DEBUG_ADDR = NOTIFY_SHARED_ADDR + NOTIFY_SHARED_SIZE;
//var SHARED_MEMORY_ADDR = REMOTE_DEBUG_ADDR + REMOTE_DEBUG_SIZE;
//var VIDEO_M3_EXCEPTION_CTX_ADDR = DSP_DATA_ADDR + DSP_DATA_SIZE;
//var VPSS_M3_EXCEPTION_CTX_ADDR = VIDEO_M3_EXCEPTION_CTX_ADDR + VIDEO_M3_EXCEPTION_CTX_SIZE;
//var SR2_FRAME_BUFFER_ADDR = VPSS_M3_EXCEPTION_CTX_ADDR + VPSS_M3_EXCEPTION_CTX_SIZE;
//var SR0_ADDR = SR2_FRAME_BUFFER_ADDR + SR2_FRAME_BUFFER_SIZE;
//var HDVPSS_DESC_ADDR = SR0_ADDR + SR0_SIZE;
var REMOTE_DEBUG_ADDR = 0xC0000000 - REMOTE_DEBUG_SIZE;
var HDVPSS_DESC_ADDR = REMOTE_DEBUG_ADDR - HDVPSS_DESC_SIZE;
var HDVPSS_SHARED_ADDR = HDVPSS_DESC_ADDR - HDVPSS_SHARED_SIZE;
var NOTIFY_SHARED_ADDR = HDVPSS_SHARED_ADDR - NOTIFY_SHARED_SIZE;
var LINUX_ADDR = 0xC0000000;
var TILER_ADDR = LINUX_ADDR + LINUX_SIZE;
var SR3_FRAME_BUFFER_EXTRA_ADDR = TILER_ADDR + TILER_SIZE;
print(" ### ");
print(" ### REGIONS MAP: ###");
print(" ======== First 512 MB: ================================= ");
print(" ### SR1: 0x" + java.lang.Long.toHexString(SR1_ADDR) + " - 0x" + java.lang.Long.toHexString(SR1_ADDR+SR1_SIZE));
print(" ### VIDEO_M3_CODE_ADDR: 0x" + java.lang.Long.toHexString(VIDEO_M3_CODE_ADDR) + " - 0x" + java.lang.Long.toHexString(VIDEO_M3_CODE_ADDR+VIDEO_M3_CODE_SIZE));
print(" ### VIDEO_M3_DATA_ADDR: 0x" + java.lang.Long.toHexString(VIDEO_M3_DATA_ADDR) + " - 0x" + java.lang.Long.toHexString(VIDEO_M3_DATA_ADDR+VIDEO_M3_DATA_SIZE));
print(" ### VIDEO_M3_BSS_ADDR: 0x" + java.lang.Long.toHexString(VIDEO_M3_BSS_ADDR) + " - 0x" + java.lang.Long.toHexString(VIDEO_M3_BSS_ADDR+VIDEO_M3_BSS_SIZE));
print(" ### DSS_M3_CODE_ADDR: 0x" + java.lang.Long.toHexString(DSS_M3_CODE_ADDR) + " - 0x" + java.lang.Long.toHexString(DSS_M3_CODE_ADDR+DSS_M3_CODE_SIZE));
print(" ### DSS_M3_DATA_ADDR: 0x" + java.lang.Long.toHexString(DSS_M3_DATA_ADDR) + " - 0x" + java.lang.Long.toHexString(DSS_M3_DATA_ADDR+DSS_M3_DATA_SIZE));
print(" ### DSS_M3_BSS_ADDR: 0x" + java.lang.Long.toHexString(DSS_M3_BSS_ADDR) + " - 0x" + java.lang.Long.toHexString(DSS_M3_BSS_ADDR+DSS_M3_BSS_SIZE));
print(" ======== Second 512 MB: ================================= ");
print(" ### TILER_ADDR: 0x" + java.lang.Long.toHexString(TILER_ADDR) + " - 0x" + java.lang.Long.toHexString(TILER_ADDR+TILER_SIZE));
print(" ### SR2_FRAME_BUFFER_ADDR: 0x" + java.lang.Long.toHexString(SR2_FRAME_BUFFER_ADDR) + " - 0x" + java.lang.Long.toHexString(SR2_FRAME_BUFFER_ADDR+SR2_FRAME_BUFFER_SIZE));
print(" ========= Third 512 MB: ================================== ");
print(" ### LINUX: 0x" + java.lang.Long.toHexString(LINUX_ADDR) + " - 0x" + java.lang.Long.toHexString(LINUX_ADDR+LINUX_SIZE));
print(" ======== Last 512 MB: ================================== ");
print(" ### DSP_CODE_ADDR: 0x" + java.lang.Long.toHexString(DSP_CODE_ADDR) + " - 0x" + java.lang.Long.toHexString(DSP_CODE_ADDR+DSP_CODE_SIZE));
print(" ### DSP_DATA_ADDR: 0x" + java.lang.Long.toHexString(DSP_DATA_ADDR) + " - 0x" + java.lang.Long.toHexString(DSP_DATA_ADDR+DSP_DATA_SIZE));
print(" ### SR0_ADDR: 0x" + java.lang.Long.toHexString(SR0_ADDR) + " - 0x" + java.lang.Long.toHexString(SR0_ADDR+SR0_SIZE));
print(" ### VIDEO_M3_EXCEPTION_CTX_ADDR: 0x" + java.lang.Long.toHexString(VIDEO_M3_EXCEPTION_CTX_ADDR) + " - 0x" + java.lang.Long.toHexString(VIDEO_M3_EXCEPTION_CTX_ADDR+VIDEO_M3_EXCEPTION_CTX_SIZE));
print(" ### VPSS_M3_EXCEPTION_CTX_ADDR: 0x" + java.lang.Long.toHexString(VPSS_M3_EXCEPTION_CTX_ADDR) + " - 0x" + java.lang.Long.toHexString(VPSS_M3_EXCEPTION_CTX_ADDR+VPSS_M3_EXCEPTION_CTX_SIZE));
print(" ### HDVPSS_DESC_ADDR: 0x" + java.lang.Long.toHexString(HDVPSS_DESC_ADDR) + " - 0x" + java.lang.Long.toHexString(HDVPSS_DESC_ADDR+HDVPSS_DESC_SIZE));
print(" ### HDVPSS_SHARED_ADDR: 0x" + java.lang.Long.toHexString(HDVPSS_SHARED_ADDR) + " - 0x" + java.lang.Long.toHexString(HDVPSS_SHARED_ADDR+HDVPSS_SHARED_SIZE));
print(" ### NOTIFY_SHARED_ADDR: 0x" + java.lang.Long.toHexString(NOTIFY_SHARED_ADDR) + " - 0x" + java.lang.Long.toHexString(NOTIFY_SHARED_ADDR+NOTIFY_SHARED_SIZE));
print(" ### REMOTE_DEBUG_ADDR: 0x" + java.lang.Long.toHexString(REMOTE_DEBUG_ADDR) + " - 0x" + java.lang.Long.toHexString(REMOTE_DEBUG_ADDR+REMOTE_DEBUG_SIZE-1));
print(" ========================================================= ");
print(" ### ");
print(" ========================================================= ");
/* print(" ### TOTAL DDR usage in MB = " + TOTAL_DDR_USED_SIZE_IN_MB + " MB ###");
print(" ### Linux memory usage in MB = " + LINUX_SIZE_IN_MB + " MB ###");
print(" ### DSP Data memory usage in MB = " + DSP_DATA_SIZE_IN_MB + " MB ###");
print(" ========================================================= ");
print(" ### "); */
Build.platformTable["ti.platforms.evmTI814X:core1"] =
{
externalMemoryMap:
[
["DDR3_RAM", {
comment: "DDR3_RAM",
name: "DDR3_RAM",
base: DDR3_ADDR,
len: DDR3_SIZE
}],
["OCMC0_RAM", {
comment: "OCMC0_RAM",
name: "OCMC0_RAM",
base: OCMC0_ADDR,
len: OCMC_SIZE
}],
["OCMC1_RAM", {
comment: "OCMC1_RAM",
name: "OCMC1_RAM",
base: OCMC1_ADDR,
len: OCMC_SIZE
}],
["VIDEO_M3_BSS_ADDR_RUN", {
comment : "VIDEO_M3_BSS_ADDR_RUN",
name : "VIDEO_M3_BSS_ADDR_RUN",
base : VIDEO_M3_BSS_ADDR_RUN,
len : VIDEO_M3_BSS_SIZE
}],
["DSS_M3_BSS_ADDR_RUN", {
comment : "DSS_M3_BSS_ADDR_RUN",
name : "DSS_M3_BSS_ADDR_RUN",
base : DSS_M3_BSS_ADDR_RUN,
len : DSS_M3_BSS_SIZE
}],
["OCMC0_RAM_MAPPED", {
comment: "OCMC0_RAM",
name: "OCMC0_RAM_MAPPED",
base: OCMC0_RUN_ADDR,
len: OCMC_SIZE
}],
["M3_L2_RAM", {
comment: "M3_L2_RAM",
name: "M3_L2_RAM",
base: M3_L2_RAM,
len: M3_L2_RAM_SIZE
}],
["M3_L2_RAM_MAPPED", {
comment: "M3_L2_RAM",
name: "M3_L2_RAM_MAPPED",
base: M3_L2_RAM_MAPPED,
len: M3_L2_RAM_SIZE
}],
["CACHE_WB_DDR_LOGICAL_ADDRESS", {
comment: "CACHE_WB_DDR_LOGICAL_ADDRESS",
name: "CACHE_WB_DDR_LOGICAL_ADDRESS",
base: 0x20000000,
len: 0x20000000,
}],
],
customMemoryMap:
[
["LINUX_MEM", {
comment : "LINUX_MEM",
name : "LINUX_MEM",
base : LINUX_ADDR,
len : LINUX_SIZE
}],
["SR1", {
comment : "SR1",
name : "SR1",
base : SR1_ADDR,
len : SR1_SIZE
}],
["SR3_FRAME_BUFFER_EXTRA", {
comment : "SR3_FRAME_BUFFER_EXTRA",
name : "SR3_FRAME_BUFFER_EXTRA",
base : SR3_FRAME_BUFFER_EXTRA_ADDR,
len : SR3_FRAME_BUFFER_EXTRA_SIZE
}],
["VIDEO_M3_CODE_MEM", {
comment : "VIDEO_M3_CODE_MEM",
name : "VIDEO_M3_CODE_MEM",
base : VIDEO_M3_CODE_ADDR,
len : VIDEO_M3_CODE_SIZE
}],
["VIDEO_M3_DATA_MEM", {
comment : "VIDEO_M3_DATA_MEM",
name : "VIDEO_M3_DATA_MEM",
base : VIDEO_M3_DATA_ADDR,
len : VIDEO_M3_DATA_SIZE
}],
["VIDEO_M3_BSS_ADDR", {
comment : "VIDEO_M3_BSS_ADDR",
name : "VIDEO_M3_BSS_ADDR",
base : VIDEO_M3_BSS_ADDR,
len : VIDEO_M3_BSS_SIZE
}],
["VIDEO_M3_BSS_ADDR_RUN", {
comment : "VIDEO_M3_BSS_ADDR_RUN",
name : "VIDEO_M3_BSS_ADDR_RUN",
base : VIDEO_M3_BSS_ADDR_RUN,
len : VIDEO_M3_BSS_SIZE
}],
["DSS_M3_CODE_MEM", {
comment : "DSS_M3_CODE_MEM",
name : "DSS_M3_CODE_MEM",
base : DSS_M3_CODE_ADDR,
len : DSS_M3_CODE_SIZE
}],
["DDR3_M3", {
comment : "DDR3_M3",
name : "DDR3_M3",
base : DSS_M3_DATA_ADDR,
len : DSS_M3_DATA_SIZE
}],
["DSS_M3_BSS_ADDR", {
comment : "DSS_M3_BSS_ADDR",
name : "DSS_M3_BSS_ADDR",
base : DSS_M3_BSS_ADDR,
len : DSS_M3_BSS_SIZE
}],
["DSS_M3_BSS_ADDR_RUN", {
comment : "DSS_M3_BSS_ADDR_RUN",
name : "DSS_M3_BSS_ADDR_RUN",
base : DSS_M3_BSS_ADDR_RUN,
len : DSS_M3_BSS_SIZE
}],
["TILER_MEM", {
comment : "TILER_MEM",
name : "TILER_MEM",
base : TILER_ADDR,
len : TILER_SIZE
}],
["SR2_FRAME_BUFFER_MEM", {
comment : "SR2_FRAME_BUFFER_MEM",
name : "SR2_FRAME_BUFFER_MEM",
base : SR2_FRAME_BUFFER_ADDR,
len : SR2_FRAME_BUFFER_SIZE
}],
["SR0", {
comment : "SR0",
name : "SR0",
base : SR0_ADDR,
len : SR0_SIZE
}],
["VIDEO_M3_EXCEPTION_CTX", {
comment : "VIDEO_M3_EXCEPTION_CTX",
name : "VIDEO_M3_EXCEPTION_CTX",
base : VIDEO_M3_EXCEPTION_CTX_ADDR,
len : VIDEO_M3_EXCEPTION_CTX_SIZE
}],
["VPSS_M3_EXCEPTION_CTX", {
comment : "VPSS_M3_EXCEPTION_CTX",
name : "VPSS_M3_EXCEPTION_CTX",
base : VPSS_M3_EXCEPTION_CTX_ADDR,
len : VPSS_M3_EXCEPTION_CTX_SIZE
}],
["HDVPSS_DESC_MEM", {
comment : "HDVPSS_DESC_MEM",
name : "HDVPSS_DESC_MEM",
base : HDVPSS_DESC_ADDR,
len : HDVPSS_DESC_SIZE
}],
["HDVPSS_SHARED_MEM", {
comment : "HDVPSS_SHARED_MEM",
name : "HDVPSS_SHARED_MEM",
base : HDVPSS_SHARED_ADDR,
len : HDVPSS_SHARED_SIZE
}],
["HOST_VPSS_NOTIFYMEM", {
comment : "HOST_VPSS_NOTIFYMEM",
name : "HOST_VPSS_NOTIFYMEM",
base : NOTIFY_SHARED_ADDR,
len : NOTIFY_SHARED_SIZE
}],
["REMOTE_DEBUG_MEM", {
comment : "REMOTE_DEBUG_MEM",
name : "REMOTE_DEBUG_MEM",
base : REMOTE_DEBUG_ADDR,
len : REMOTE_DEBUG_SIZE
}],
["L2_ROM", {
comment: "L2_ROM",
name: "L2_ROM",
base: 0x00000000,
len: 0x00004000
}],
["OCMC0_VIDEO_M3_RAM", {
comment: "OCMC0_VIDEO_M3_RAM",
name: "OCMC0_VIDEO_M3_RAM",
base: OCMC0_VIDEO_M3_ADDR,
len: OCMC0_VIDEO_M3_SIZE
}],
["OCMC0_VPSS_M3_RAM", {
comment: "OCMC0_VPSS_M3_RAM",
name: "OCMC0_VPSS_M3_RAM",
base: OCMC0_VPSS_M3_ADDR,
len: OCMC0_VPSS_M3_SIZE
}],
["OCMC1_RAM", {
comment: "OCMC1_RAM",
name: "OCMC1_RAM",
base: OCMC1_ADDR,
len: OCMC_SIZE
}],
["M3_L2_RAM", {
comment: "M3_L2_RAM",
name: "M3_L2_RAM",
base: M3_L2_RAM,
len: M3_L2_RAM_SIZE
}],
["M3_L2_RAM_MAPPED", {
comment: "M3_L2_RAM",
name: "M3_L2_RAM_MAPPED",
base: M3_L2_RAM_MAPPED,
len: M3_L2_RAM_SIZE
}],
["OCMC0_VIDEO_M3_RAM_MAPPED", {
comment: "OCMC0_VIDEO_M3_RAM_MAPPED",
name: "OCMC0_VIDEO_M3_RAM_MAPPED",
base: OCMC0_VIDEO_M3_RUN,
len: OCMC0_VIDEO_M3_SIZE
}],
["OCMC0_VPSS_M3_RAM_MAPPED", {
comment: "OCMC0_VPSS_M3_RAM_MAPPED",
name: "OCMC0_VPSS_M3_RAM_MAPPED",
base: OCMC0_VPSS_M3_RUN,
len: OCMC0_VPSS_M3_SIZE
}],
]
};
Build.platformTable["ti.platforms.evmTI814X:core0"] =
{
externalMemoryMap:
[
["DDR3_RAM", {
comment: "DDR3_RAM",
name: "DDR3_RAM",
base: DDR3_ADDR,
len: DDR3_SIZE
}],
["OCMC0_RAM", {
comment: "OCMC0_RAM",
name: "OCMC0_RAM",
base: OCMC0_ADDR,
len: OCMC_SIZE
}],
["OCMC1_RAM", {
comment: "OCMC1_RAM",
name: "OCMC1_RAM",
base: OCMC1_ADDR,
len: OCMC_SIZE
}],
["VIDEO_M3_BSS_ADDR_RUN", {
comment : "VIDEO_M3_BSS_ADDR_RUN",
name : "VIDEO_M3_BSS_ADDR_RUN",
base : VIDEO_M3_BSS_ADDR_RUN,
len : VIDEO_M3_BSS_SIZE
}],
["DSS_M3_BSS_ADDR_RUN", {
comment : "DSS_M3_BSS_ADDR_RUN",
name : "DSS_M3_BSS_ADDR_RUN",
base : DSS_M3_BSS_ADDR_RUN,
len : DSS_M3_BSS_SIZE
}],
["OCMC0_RAM_MAPPED", {
comment: "OCMC0_RAM",
name: "OCMC0_RAM_MAPPED",
base: OCMC0_RUN_ADDR,
len: OCMC_SIZE
}],
["M3_L2_RAM", {
comment: "M3_L2_RAM",
name: "M3_L2_RAM",
base: M3_L2_RAM,
len: M3_L2_RAM_SIZE
}],
["M3_L2_RAM_MAPPED", {
comment: "M3_L2_RAM",
name: "M3_L2_RAM_MAPPED",
base: M3_L2_RAM_MAPPED,
len: M3_L2_RAM_SIZE
}],
["CACHE_WB_DDR_LOGICAL_ADDRESS", {
comment: "CACHE_WB_DDR_LOGICAL_ADDRESS",
name: "CACHE_WB_DDR_LOGICAL_ADDRESS",
base: 0x20000000,
len: 0x20000000,
}],
],
customMemoryMap:
[
["LINUX_MEM", {
comment : "LINUX_MEM",
name : "LINUX_MEM",
base : LINUX_ADDR,
len : LINUX_SIZE
}],
["SR1", {
comment : "SR1",
name : "SR1",
base : SR1_ADDR,
len : SR1_SIZE
}],
["VIDEO_M3_CODE_MEM", {
comment : "VIDEO_M3_CODE_MEM",
name : "VIDEO_M3_CODE_MEM",
base : VIDEO_M3_CODE_ADDR,
len : VIDEO_M3_CODE_SIZE
}],
["DDR3_M3", {
comment : "DDR3_M3",
name : "DDR3_M3",
base : VIDEO_M3_DATA_ADDR,
len : VIDEO_M3_DATA_SIZE
}],
["VIDEO_M3_BSS_ADDR", {
comment : "VIDEO_M3_BSS_ADDR",
name : "VIDEO_M3_BSS_ADDR",
base : VIDEO_M3_BSS_ADDR,
len : VIDEO_M3_BSS_SIZE
}],
["VIDEO_M3_BSS_ADDR_RUN", {
comment : "VIDEO_M3_BSS_ADDR_RUN",
name : "VIDEO_M3_BSS_ADDR_RUN",
base : VIDEO_M3_BSS_ADDR_RUN,
len : VIDEO_M3_BSS_SIZE
}],
["DSS_M3_CODE_MEM", {
comment : "DSS_M3_CODE_MEM",
name : "DSS_M3_CODE_MEM",
base : DSS_M3_CODE_ADDR,
len : DSS_M3_CODE_SIZE
}],
["DSS_M3_DATA_MEM", {
comment : "DSS_M3_DATA_MEM",
name : "DSS_M3_DATA_MEM",
base : DSS_M3_DATA_ADDR,
len : DSS_M3_DATA_SIZE
}],
["DSS_M3_BSS_ADDR", {
comment : "DSS_M3_BSS_ADDR",
name : "DSS_M3_BSS_ADDR",
base : DSS_M3_BSS_ADDR,
len : DSS_M3_BSS_SIZE
}],
["DSS_M3_BSS_ADDR_RUN", {
comment : "DSS_M3_BSS_ADDR_RUN",
name : "DSS_M3_BSS_ADDR_RUN",
base : DSS_M3_BSS_ADDR_RUN,
len : DSS_M3_BSS_SIZE
}],
["TILER_MEM", {
comment : "TILER_MEM",
name : "TILER_MEM",
base : TILER_ADDR,
len : TILER_SIZE
}],
["SR2_FRAME_BUFFER_MEM", {
comment : "SR2_FRAME_BUFFER_MEM",
name : "SR2_FRAME_BUFFER_MEM",
base : SR2_FRAME_BUFFER_ADDR,
len : SR2_FRAME_BUFFER_SIZE
}],
["SR0", {
comment : "SR0",
name : "SR0",
base : SR0_ADDR,
len : SR0_SIZE
}],
["VIDEO_M3_EXCEPTION_CTX", {
comment : "VIDEO_M3_EXCEPTION_CTX",
name : "VIDEO_M3_EXCEPTION_CTX",
base : VIDEO_M3_EXCEPTION_CTX_ADDR,
len : VIDEO_M3_EXCEPTION_CTX_SIZE
}],
["VPSS_M3_EXCEPTION_CTX", {
comment : "VPSS_M3_EXCEPTION_CTX",
name : "VPSS_M3_EXCEPTION_CTX",
base : VPSS_M3_EXCEPTION_CTX_ADDR,
len : VPSS_M3_EXCEPTION_CTX_SIZE
}],
["HDVPSS_DESC_MEM", {
comment : "HDVPSS_DESC_MEM",
name : "HDVPSS_DESC_MEM",
base : HDVPSS_DESC_ADDR,
len : HDVPSS_DESC_SIZE
}],
["HDVPSS_SHARED_MEM", {
comment : "HDVPSS_SHARED_MEM",
name : "HDVPSS_SHARED_MEM",
base : HDVPSS_SHARED_ADDR,
len : HDVPSS_SHARED_SIZE
}],
["HOST_VPSS_NOTIFYMEM", {
comment : "HOST_VPSS_NOTIFYMEM",
name : "HOST_VPSS_NOTIFYMEM",
base : NOTIFY_SHARED_ADDR,
len : NOTIFY_SHARED_SIZE
}],
["REMOTE_DEBUG_MEM", {
comment : "REMOTE_DEBUG_MEM",
name : "REMOTE_DEBUG_MEM",
base : REMOTE_DEBUG_ADDR,
len : REMOTE_DEBUG_SIZE
}],
["L2_ROM", {
comment: "L2_ROM",
name: "L2_ROM",
base: 0x00000000,
len: 0x00004000
}],
["OCMC0_VIDEO_M3_RAM", {
comment: "OCMC0_VIDEO_M3_RAM",
name: "OCMC0_VIDEO_M3_RAM",
base: OCMC0_VIDEO_M3_ADDR,
len: OCMC0_VIDEO_M3_SIZE
}],
["OCMC0_VPSS_M3_RAM", {
comment: "OCMC0_VPSS_M3_RAM",
name: "OCMC0_VPSS_M3_RAM",
base: OCMC0_VPSS_M3_ADDR,
len: OCMC0_VPSS_M3_SIZE
}],
["OCMC1_RAM", {
comment: "OCMC1_RAM",
name: "OCMC1_RAM",
base: OCMC1_ADDR,
len: OCMC_SIZE
}],
["M3_L2_RAM", {
comment: "M3_L2_RAM",
name: "M3_L2_RAM",
base: M3_L2_RAM,
len: M3_L2_RAM_SIZE
}],
["M3_L2_RAM_MAPPED", {
comment: "M3_L2_RAM",
name: "M3_L2_RAM_MAPPED",
base: M3_L2_RAM_MAPPED,
len: M3_L2_RAM_SIZE
}],
["OCMC0_VIDEO_M3_RAM_MAPPED", {
comment: "OCMC0_VIDEO_M3_RAM_MAPPED",
name: "OCMC0_VIDEO_M3_RAM_MAPPED",
base: OCMC0_VIDEO_M3_RUN,
len: OCMC0_VIDEO_M3_SIZE
}],
["OCMC0_VPSS_M3_RAM_MAPPED", {
comment: "OCMC0_VPSS_M3_RAM_MAPPED",
name: "OCMC0_VPSS_M3_RAM_MAPPED",
base: OCMC0_VPSS_M3_RUN,
len: OCMC0_VPSS_M3_SIZE
}],
]
};
Build.platformTable["ti.platforms.evmTI814X:plat"] =
{
externalMemoryMap:
[
["DDR3_RAM", {
comment: "DDR3_RAM",
name: "DDR3_RAM",
base: DDR3_ADDR,
len: DDR3_SIZE
}],
["OCMC0_RAM", {
comment: "OCMC0_RAM",
name: "OCMC0_RAM",
base: OCMC0_ADDR,
len: OCMC_SIZE
}],
["OCMC1_RAM", {
comment: "OCMC1_RAM",
name: "OCMC1_RAM",
base: OCMC1_ADDR,
len: OCMC_SIZE
}],
["M3_L2_RAM", {
comment: "M3_L2_RAM",
name: "M3_L2_RAM",
base: M3_L2_RAM,
len: M3_L2_RAM_SIZE
}],
["M3_L2_RAM_MAPPED", {
comment: "M3_L2_RAM",
name: "M3_L2_RAM_MAPPED",
base: M3_L2_RAM_MAPPED,
len: M3_L2_RAM_SIZE
}],
],
customMemoryMap:
[
["LINUX_MEM", {
comment : "LINUX_MEM",
name : "LINUX_MEM",
base : LINUX_ADDR,
len : LINUX_SIZE
}],
["SR1", {
comment : "SR1",
name : "SR1",
base : SR1_ADDR,
len : SR1_SIZE
}],
["VIDEO_M3_CODE_MEM", {
comment : "VIDEO_M3_CODE_MEM",
name : "VIDEO_M3_CODE_MEM",
base : VIDEO_M3_CODE_ADDR,
len : VIDEO_M3_CODE_SIZE
}],
["VIDEO_M3_DATA_MEM", {
comment : "VIDEO_M3_DATA_MEM",
name : "VIDEO_M3_DATA_MEM",
base : VIDEO_M3_DATA_ADDR,
len : VIDEO_M3_DATA_SIZE
}],
["DSS_M3_CODE_MEM", {
comment : "DSS_M3_CODE_MEM",
name : "DSS_M3_CODE_MEM",
base : DSS_M3_CODE_ADDR,
len : DSS_M3_CODE_SIZE
}],
["DSS_M3_DATA_MEM", {
comment : "DSS_M3_DATA_MEM",
name : "DSS_M3_DATA_MEM",
base : DSS_M3_DATA_ADDR,
len : DSS_M3_DATA_SIZE
}],
["DSP_CODE_MEM", {
comment : "DSP_CODE_MEM",
name : "DSP_CODE_MEM",
base : DSP_CODE_ADDR,
len : DSP_CODE_SIZE
}],
["DSP_DATA_MEM", {
comment : "DDR3_DSP",
name : "DDR3_DSP",
base : DSP_DATA_ADDR,
len : DSP_DATA_SIZE
}],
["TILER_MEM", {
comment : "TILER_MEM",
name : "TILER_MEM",
base : TILER_ADDR,
len : TILER_SIZE
}],
["SR2_FRAME_BUFFER_MEM", {
comment : "SR2_FRAME_BUFFER_MEM",
name : "SR2_FRAME_BUFFER_MEM",
base : SR2_FRAME_BUFFER_ADDR,
len : SR2_FRAME_BUFFER_SIZE
}],
["SR0", {
comment : "SR0",
name : "SR0",
base : SR0_ADDR,
len : SR0_SIZE
}],
["VIDEO_M3_EXCEPTION_CTX", {
comment : "VIDEO_M3_EXCEPTION_CTX",
name : "VIDEO_M3_EXCEPTION_CTX",
base : VIDEO_M3_EXCEPTION_CTX_ADDR,
len : VIDEO_M3_EXCEPTION_CTX_SIZE
}],
["VPSS_M3_EXCEPTION_CTX", {
comment : "VPSS_M3_EXCEPTION_CTX",
name : "VPSS_M3_EXCEPTION_CTX",
base : VPSS_M3_EXCEPTION_CTX_ADDR,
len : VPSS_M3_EXCEPTION_CTX_SIZE
}],
["HDVPSS_DESC_MEM", {
comment : "HDVPSS_DESC_MEM",
name : "HDVPSS_DESC_MEM",
base : HDVPSS_DESC_ADDR,
len : HDVPSS_DESC_SIZE
}],
["HDVPSS_SHARED_MEM", {
comment : "HDVPSS_SHARED_MEM",
name : "HDVPSS_SHARED_MEM",
base : HDVPSS_SHARED_ADDR,
len : HDVPSS_SHARED_SIZE
}],
["HOST_VPSS_NOTIFYMEM", {
comment : "HOST_VPSS_NOTIFYMEM",
name : "HOST_VPSS_NOTIFYMEM",
base : NOTIFY_SHARED_ADDR,
len : NOTIFY_SHARED_SIZE
}],
["REMOTE_DEBUG_MEM", {
comment : "REMOTE_DEBUG_MEM",
name : "REMOTE_DEBUG_MEM",
base : REMOTE_DEBUG_ADDR,
len : REMOTE_DEBUG_SIZE
}],
["OCMC0_RAM", {
comment: "OCMC0_RAM",
name: "OCMC0_RAM",
base: OCMC0_ADDR,
len: OCMC_SIZE
}],
["OCMC1_RAM", {
comment: "OCMC1_RAM",
name: "OCMC1_RAM",
base: OCMC1_ADDR,
len: OCMC_SIZE
}],
["DSP_L2_RAM", {
comment: "DSP_L2_RAM",
name: "DSP_L2_RAM",
base: 0x10800000,
len: 0x00020000
}],
],
l1PMode: "32k",
l1DMode: "32k",
l2Mode: "128k"
};
var addrFileGenerated = false;
if (addrFileGenerated == false)
{
xdc.loadCapsule("genaddrinfo.xs").GenAddrFile();
addrFileGenerated = true;
}
这个是启动log
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.37 (zb@PowerMachine) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #4 Tue Aug 31 16:44:58 CST 2021
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: ti8148evm
bootconsole [earlycon0] enabled
vram size = 20971520 at 0x0
ti81xx_reserve: ### Reserved DDR region @9ff00000
reserved size = 20971520 at 0x0
FB: Reserving 20971520 bytes SDRAM for VRAM
Memory policy: ECC disabled, Data cache writeback
OMAP chip is TI8148 3.0
SRAM: Mapped pa 0x402f1000 to va 0xfe400000 size: 0xf000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 124672
Kernel command line: console=ttyO0,115200n8 noinitrd mem=512M rootwait=3 rw ubi.mtd=5,2048 rootfstype=ubifs root=ubi0:rootfs init=/init dhcp notifyk.vpssm3_sva=0xBF900000 earlyprintk ddr_mem=2048M vram=20M
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 490MB 1MB = 491MB total
Memory: 492056k/492056k available, 32232k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xe0800000 - 0xf8000000 ( 376 MB)
lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.init : 0xc0008000 - 0xc0042000 ( 232 kB)
.text : 0xc0042000 - 0xc0576000 (5328 kB)
.data : 0xc0576000 - 0xc05cce00 ( 348 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:407
IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
Total of 128 interrupts on 1 active controller
GPMC revision 6.0
Trying to install interrupt handler for IRQ400
Trying to install interrupt handler for IRQ401
Trying to install interrupt handler for IRQ402
Trying to install interrupt handler for IRQ403
Trying to install interrupt handler for IRQ404
Trying to install interrupt handler for IRQ405
Trying to install interrupt handler for IRQ406
Trying to install type control for IRQ407
Trying to set irq flags for IRQ407
OMAP clockevent source: GPTIMER1 at 20000000 Hz
Console: colour dummy device 80x30
Calibrating delay loop... 719.25 BogoMIPS (lpj=3596288)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
TI81XX: Map 0x9ff00000 to 0xfe500000 for dram barrier
TI81XX: Map 0x40300000 to 0xfe600000 for sram barrier
omap_voltage_early_init: voltage driver support not added
regulator: core version 0.5
regulator: dummy:
NET: Registered protocol family 16
omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!
omap_voltage_add_dev: VDD specified does not exist!
OMAP GPIO hardware version 0.1
OMAP GPIO hardware version 0.1
OMAP GPIO hardware version 0.1
OMAP GPIO hardware version 0.1
omap_mux_init: Add partition: #1: core, flags: 4
NOR: Can't request GPMC CS
clk get on i2c3 fck failed
Cannot clk_get ck_32
Debugfs: Only enabling/disabling deep sleep and wakeup timer is supported now
registered ti81xx_vpss device
registered ti81xx_vidout device
registered ti81xx on-chip HDMI device
registered ti81xx_fb device
registered ti81xx_vin device
NSS Crypto DMA hardware revision 1.9 @ IRQ 116
ti81xx_pcie: Invoking PCI BIOS...
ti81xx_pcie: Setting up Host Controller...
ti81xx_pcie: Register base mapped @0xe0830000
ti81xx_pcie: forcing link width - x1
ti81xx_pcie: Starting PCI scan...
PCI: bus0: Fast back to back transfers enabled
ti81xx_pcie: PCI scan done.
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
USBSS revision 4ea2080b
registerd cppi-dma Intr @ IRQ 17
Cppi41 Init Done
omap_i2c omap_i2c.1: bus 1 rev4.0 at 400 kHz
I2C: Read failed at pcf8575_cir_enable 249 with error code: -121
I2C: Transfer failed at pcf8575_cir_enable 256 with error code: -121
pcf857x: probe of 1-0021 failed with error -121
tps65910 1-002d: read from reg 3f failed
tps65910 1-002d: read from reg 1e failed
set_machine_constraints: failed to enable VRTC
tps65910 1-002d: failed to register tps65910-pmic regulator
tps65910-pmic: probe of tps65910-pmic failed with error -121
tps65910 1-002d: No interrupt support, no core IRQ
omap_i2c omap_i2c.3: bus 3 rev4.0 at 400 kHz
Advanced Linux Sound Architecture Driver Version 1.0.23.
Switching to clocksource gp timer
musb-hdrc: version 6.0, host, debug=0
musb-hdrc musb-hdrc.0: dma type: dma-cppi41
MUSB controller-0 revision 4ea20800
usb2phy: computed values rxcalib(15)DACs(37 13 13)
usb2phy: override computed values rxcalib(15)DACs(37 13 13)
usb2phy_config: musb(0) rxcalib done, rxcalib read value 6f72db6e
musb-hdrc musb-hdrc.0: MUSB HDRC host driver
musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: MUSB HDRC host driver
usb usb1: Manufacturer: Linux 2.6.37 musb-hcd
usb usb1: SerialNumber: musb-hdrc.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
musb-hdrc musb-hdrc.0: USB Host mode controller at e081e000 using DMA, IRQ 18
musb-hdrc musb-hdrc.1: dma type: dma-cppi41
MUSB controller-1 revision 4ea20800
usb2phy: computed values rxcalib(15)DACs(23 15 16)
usb2phy: override computed values rxcalib(15)DACs(23 15 16)
usb2phy_config: musb(1) rxcalib done, rxcalib read value 6f6bdf86
musb-hdrc musb-hdrc.1: MUSB HDRC host driver
musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: MUSB HDRC host driver
usb usb2: Manufacturer: Linux 2.6.37 musb-hcd
usb usb2: SerialNumber: musb-hdrc.1
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
musb-hdrc musb-hdrc.1: USB Host mode controller at e082a800 using DMA, IRQ 19
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
PMU: registered new PMU device of type 0
omap-iommu omap-iommu.0: ducati registered
omap-iommu omap-iommu.1: sys registered
JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
msgmni has been set to 961
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
nss_rng nss_rng: NSS Random Number Generator ver. 2.0
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
omap_uart omap_uart.0: <sxch_zb>serial start= 0x48020000, end= 0x48021fff
omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
console [ttyO0] enabled, bootconsole disabled
console [ttyO0] enabled, bootconsole disabled
omap_uart omap_uart.1: <sxch_zb>serial start= 0x48022000, end= 0x48023fff
omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
omap_uart omap_uart.2: <sxch_zb>serial start= 0x48024000, end= 0x48025fff
omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
omap_uart omap_uart.3: <sxch_zb>serial start= 0x481a6000, end= 0x481a7fff
omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
omap_uart omap_uart.4: <sxch_zb>serial start= 0x481a8000, end= 0x481a9fff
omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
omap_uart omap_uart.5: <sxch_zb>serial start= 0x481aa000, end= 0x481abfff
omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
brd: module loaded
loop: module loaded
ahci probe: devid name is ahci
ahci CAP register dump =0x6726ff80
Modified ahci CAP register dump =0x6f26ff80
ahci ahci.0: forcing PORTS_IMPL to 0x1
ahci: SSS flag set, parallel bus scan disabled
ahci ahci.0: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
ahci ahci.0: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst
scsi0 : ahci_platform
ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
omap2-nand driver initializing
ONFI param page 0 valid
ONFI flash detected
NAND device: Maf ID: 0x2c, Chip ID: 0xca (Micron, NAND 256MiB 3,3V 16-bit)
erasesize: 0x20000, writesize: 2048, oobsize: 64
omap2-nand: detected x16 NAND flash
Creating 7 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000020000 : "U-Boot-min"
0x000000020000-0x000000260000 : "U-Boot"
0x000000260000-0x000000280000 : "U-Boot Env"
0x000000280000-0x000000580000 : "U-Boot Logo"
0x000000580000-0x0000009c0000 : "Kernel"
0x0000009c0000-0x00000d1e0000 : "File System"
0x00000d1e0000-0x000010000000 : "Reserved"
UBI: attaching mtd5 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
ata1: SATA link down (SStatus 0 SControl 300)
UBI: max. sequence number: 0
UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 11, need 16
UBI: volume 0 ("rootfs") re-sized from 1586 to 1586 LEBs
UBI: attached mtd5 to ubi0
UBI: MTD device name: "File System"
UBI: MTD device size: 200 MiB
UBI: number of good PEBs: 1601
UBI: number of bad PEBs: 0
UBI: number of corrupted PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 1601
UBI: number of PEBs reserved for bad PEB handling: 11
UBI: max/mean erase counter: 1/0
UBI: image sequence number: 1827894767
<davinci_mdio_probe> name= davinci_mdio.0
UBI: background thread "ubi_bgt0d" started, PID 50
davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
davinci_mdio davinci_mdio.0: detected phy mask fffbffff
<mdiobus_register> name= davinci_mdio.0, phy_mask= 0xfffbffff
<get_phy_device> phy_id= 0x1410cc2, ret= 0
davinci_mdio.0: probed
<davinci_mdio_probe> scan and dump the bus
davinci_mdio davinci_mdio.0: phy[18]: device 0:12, driver Marvell 88E1111
CAN device driver interface
CAN bus driver for Bosch D_CAN controller 1.0
d_can d_can: d_can device registered (irq=52, irq_obj=53)
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver dm9601
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
qt602240_ts 1-004a: __qt602240_read_reg: i2c transfer failed
qt602240_ts: probe of 1-004a failed with error -5
omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
i2c /dev entries driver
Linux video capture interface: v2.00
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v1.0.0)
OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
nss_aes_mod_init: loading NSS AES driver
nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 0 @0x41140000)
nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 1 @0x41141000)
nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 2 @0x411a0000)
nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 3 @0x411a1000)
nss_aes_probe: probe() done
nss_des_mod_init: loading NSS DES driver
nss-des nss-des: NSS DES hw accel rev: 2.2 (context 0 @0x41160000)
nss-des nss-des: NSS DES hw accel rev: 2.2 (context 1 @0x41161000)
nss_des_probe: probe() done
nss_sham_mod_init: loading NSS SHA/MD5 driver
nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 0 @0x41100000)
nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 1 @0x41101000)
nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 2 @0x411c0000)
nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 3 @0x411c1000)
nss_sham_probe: probe() done
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
multiproc_get_num_processors() = 4,multiproc_self() = 3
notify_map_info[2].actualAddress = 0xbf900000,notify_map_info[2].size = 0x2100
notify_map_info[2].mappedAddress = 0xe097c000,notify_map_info[2].isCached = 0x0
luoheng
notify_init : notify drivercreated for remote proc id 2 at physical Address 0xbf900000
usbcore: registered new interface driver snd-usb-audio
Registered tvp5158 audio codec
*** Forcing SW CTS!
asoc: tvp5158-hifi <-> davinci-mcasp.0 mapping ok
asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
asoc: HDMI-DAI-CODEC <-> hdmi-dai mapping ok
ALSA device list:
#0: TI81XX SOUND0
#1: TI81XX SOUND1
TCP cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20090105 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20090105)
can: broadcast manager protocol (rev 20090105 t)
Registering the dns_resolver key type
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
omap_voltage_late_init: Voltage driver support not added
Power Management for TI81XX.
<probe>slaves= 1, slave_reg_ofs= 0x50, sliver_reg_ofs= 0x700, phy_id= 0:12, phy_if= 0x0
Detected MACID=c:1c:57:26:11:b0
omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
UBIFS: start fixing up free space
UBIFS: free space fixup complete
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size: 199225344 bytes (194556 KiB, 189 MiB, 1569 LEBs)
UBIFS: journal size: 9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:14.
devtmpfs: mounted
Freeing init memory: 232K
Failed to execute /init. Attempting defaults...
INIT: version 2.88 booting
Mounting /dev/shm : Mounting /dev/pts : Mounting other filesystems : Sync command ...Error opening /dev/fb0: No such file or directory
Starting udev
udevd[106]: inotify_init failed: Function not implemented
error initializing inotify
udevd[106]: error initializing inotify
error sending message: Connection refused
udevadm[107]: error sending message: Connection refused
error sending message: Connection refused
udevadm[109]: error sending message: Connection refused
Starting Bootlog daemon: PHY: 0:12 - Link is Up - 1000/Full
bootlogd.
Applying sync command
APP running
*** Bootargs Validated for mem param ***
*** Bootargs Validated for notifyk.vpssm3 params ***
Kernel bootargs validated
[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
[m3video] Remote Debug Shared Memory @ 0xbff10820
[m3vpss ] Remote Debug Shared Memory @ 0xbff21040
SysLink version : 2.20.02.20
SysLink module created on Date:Aug 31 2021 Time:13:57:27
Trace enabled
Trace SetFailureReason enabled
Setting DMM priority for [DUCATI ] to [0] ( 0x4e000624 = 0x08000000 )
Setting DMM priority for [HDVICP0 ] to [2] ( 0x4e000634 = 0x0000000a )
Attached to slave procId 2.
BUG: Your driver calls ioremap() on system memory. This leads
to architecturally unpredictable behaviour on ARMv6+, and ioremap()
will fail in the next kernel release. Please fix your driver.
------------[ cut here ]------------
WARNING: at arch/arm/mm/ioremap.c:211 __arm_ioremap_pfn_caller+0x58/0x194()
Modules linked in: syslink
Backtrace:
[<c004ffc4>] (dump_backtrace+0x0/0x110) from [<c0407fa8>] (dump_stack+0x18/0x1c)
r6:c04e205f r5:000000d3 r4:00000000 r3:60000013
[<c0407f90>] (dump_stack+0x0/0x1c) from [<c0075a68>] (warn_slowpath_common+0x54/0x6c)
[<c0075a14>] (warn_slowpath_common+0x0/0x6c) from [<c0075aa4>] (warn_slowpath_null+0x24/0x2c)
r8:bf0ae448 r7:00000000 r6:00000000 r5:00092c00 r4:000b1729
r3:00000009
[<c0075a80>] (warn_slowpath_null+0x0/0x2c) from [<c0053cb4>] (__arm_ioremap_pfn_caller+0x58/0x194)
[<c0053c5c>] (__arm_ioremap_pfn_caller+0x0/0x194) from [<c0053e6c>] (__arm_ioremap_caller+0x5c/0x64)
[<c0053e10>] (__arm_ioremap_caller+0x0/0x64) from [<c0066ec8>] (omap_ioremap+0x60/0x64)
r4:92c00000
[<c0066e68>] (omap_ioremap+0x0/0x64) from [<bf022a80>] (MemoryOS_map+0xe8/0x1dc [syslink])
r7:00000002 r6:bf0ae4e4 r5:00000000 r4:ddfebc58
[<bf022998>] (MemoryOS_map+0x0/0x1dc [syslink]) from [<bf003a18>] (_ProcMgr_map+0xcc/0x314 [syslink])
r6:e2d7c000 r5:00000001 r4:ddfebcc4
[<bf00394c>] (_ProcMgr_map+0x0/0x314 [syslink]) from [<bf00a208>] (ElfLoaderTrgWrite_copy+0xac/0x218 [syslink])
[<bf00a15c>] (ElfLoaderTrgWrite_copy+0x0/0x218 [syslink]) from [<bf00e1e0>] (DLIF_copy+0x10/0x1c [syslink])
[<bf00e1d0>] (DLIF_copy+0x0/0x1c [syslink]) from [<bf00c9b0>] (DLOAD_load+0x73c/0xa5c [syslink])
[<bf00c274>] (DLOAD_load+0x0/0xa5c [syslink]) from [<bf009c28>] (ElfLoader_load+0x8c/0xfc [syslink])
[<bf009b9c>] (ElfLoader_load+0x0/0xfc [syslink]) from [<bf001d4c>] (Loader_load+0x64/0x94 [syslink])
[<bf001ce8>] (Loader_load+0x0/0x94 [syslink]) from [<bf002db0>] (ProcMgr_load+0x88/0xe8 [syslink])
[<bf002d28>] (ProcMgr_load+0x0/0xe8 [syslink]) from [<bf0051dc>] (ProcMgrDrv_ioctl+0x8bc/0x14d4 [syslink])
[<bf004920>] (ProcMgrDrv_ioctl+0x0/0x14d4 [syslink]) from [<c00db970>] (do_vfs_ioctl+0x4d0/0x544)
r8:00000000 r7:00000008 r6:be984aa0 r5:00000008 r4:de188700
[<c00db4a0>] (do_vfs_ioctl+0x0/0x544) from [<c00dba3c>] (sys_ioctl+0x58/0x7c)
r9:ddfea000 r8:00000000 r7:00000008 r6:c020e0a2 r5:be984aa0
r4:dddb8900
[<c00db9e4>] (sys_ioctl+0x0/0x7c) from [<c004c3c0>] (ret_fast_syscall+0x0/0x30)
r8:c004c568 r7:00000036 r6:000521d4 r5:0007f334 r4:00000000
---[ end trace 3751e14f586f4e1d ]---
BUG: Your driver calls ioremap() on system memory. This leads
to architecturally unpredictable behaviour on ARMv6+, and ioremap()
will fail in the next kernel release. Please fix your driver.
------------[ cut here ]------------
WARNING: at arch/arm/mm/ioremap.c:211 __arm_ioremap_pfn_caller+0x58/0x194()
Modules linked in: syslink
Backtrace:
[<c004ffc4>] (dump_backtrace+0x0/0x110) from [<c0407fa8>] (dump_stack+0x18/0x1c)
r6:c04e205f r5:000000d3 r4:00000000 r3:60000013
[<c0407f90>] (dump_stack+0x0/0x1c) from [<c0075a68>] (warn_slowpath_common+0x54/0x6c)
[<c0075a14>] (warn_slowpath_common+0x0/0x6c) from [<c0075aa4>] (warn_slowpath_null+0x24/0x2c)
r8:bf0ae448 r7:00000000 r6:00000000 r5:00092e00 r4:0013b9a4
r3:00000009
[<c0075a80>] (warn_slowpath_null+0x0/0x2c) from [<c0053cb4>] (__arm_ioremap_pfn_caller+0x58/0x194)
[<c0053c5c>] (__arm_ioremap_pfn_caller+0x0/0x194) from [<c0053e6c>] (__arm_ioremap_caller+0x5c/0x64)
[<c0053e10>] (__arm_ioremap_caller+0x0/0x64) from [<c0066ec8>] (omap_ioremap+0x60/0x64)
r4:92e00000
[<c0066e68>] (omap_ioremap+0x0/0x64) from [<bf022a80>] (MemoryOS_map+0xe8/0x1dc [syslink])
r7:00000002 r6:bf0ae4e4 r5:00000000 r4:ddfebc58
[<bf022998>] (MemoryOS_map+0x0/0x1dc [syslink]) from [<bf003a18>] (_ProcMgr_map+0xcc/0x314 [syslink])
r6:e2d7c000 r5:00000001 r4:ddfebcc4
[<bf00394c>] (_ProcMgr_map+0x0/0x314 [syslink]) from [<bf00a208>] (ElfLoaderTrgWrite_copy+0xac/0x218 [syslink])
[<bf00a15c>] (ElfLoaderTrgWrite_copy+0x0/0x218 [syslink]) from [<bf00e1e0>] (DLIF_copy+0x10/0x1c [syslink])
[<bf00e1d0>] (DLIF_copy+0x0/0x1c [syslink]) from [<bf00c9b0>] (DLOAD_load+0x73c/0xa5c [syslink])
[<bf00c274>] (DLOAD_load+0x0/0xa5c [syslink]) from [<bf009c28>] (ElfLoader_load+0x8c/0xfc [syslink])
[<bf009b9c>] (ElfLoader_load+0x0/0xfc [syslink]) from [<bf001d4c>] (Loader_load+0x64/0x94 [syslink])
[<bf001ce8>] (Loader_load+0x0/0x94 [syslink]) from [<bf002db0>] (ProcMgr_load+0x88/0xe8 [syslink])
[<bf002d28>] (ProcMgr_load+0x0/0xe8 [syslink]) from [<bf0051dc>] (ProcMgrDrv_ioctl+0x8bc/0x14d4 [syslink])
[<bf004920>] (ProcMgrDrv_ioctl+0x0/0x14d4 [syslink]) from [<c00db970>] (do_vfs_ioctl+0x4d0/0x544)
r8:00000000 r7:00000008 r6:be984aa0 r5:00000008 r4:de188700
[<c00db4a0>] (do_vfs_ioctl+0x0/0x544) from [<c00dba3c>] (sys_ioctl+0x58/0x7c)
r9:ddfea000 r8:00000000 r7:00000008 r6:c020e0a2 r5:be984aa0
r4:dddb8900
[<c00db9e4>] (sys_ioctl+0x0/0x7c) from [<c004c3c0>] (ret_fast_syscall+0x0/0x30)
r8:c004c568 r7:00000036 r6:000521d4 r5:0007f334 r4:00000000
---[ end trace 3751e14f586f4e1e ]---
BUG: Your driver calls ioremap() on system memory. This leads
to architecturally unpredictable behaviour on ARMv6+, and ioremap()
will fail in the next kernel release. Please fix your driver.
------------[ cut here ]------------
WARNING: at arch/arm/mm/ioremap.c:211 __arm_ioremap_pfn_caller+0x58/0x194()
Modules linked in: syslink
Backtrace:
[<c004ffc4>] (dump_backtrace+0x0/0x110) from [<c0407fa8>] (dump_stack+0x18/0x1c)
r6:c04e205f r5:000000d3 r4:00000000 r3:60000013
[<c0407f90>] (dump_stack+0x0/0x1c) from [<c0075a68>] (warn_slowpath_common+0x54/0x6c)
[<c0075a14>] (warn_slowpath_common+0x0/0x6c) from [<c0075aa4>] (warn_slowpath_null+0x24/0x2c)
r8:bf0ae448 r7:00000000 r6:00000a00 r5:00092f3b r4:0000004c
r3:00000009
[<c0075a80>] (warn_slowpath_null+0x0/0x2c) from [<c0053cb4>] (__arm_ioremap_pfn_caller+0x58/0x194)
[<c0053c5c>] (__arm_ioremap_pfn_caller+0x0/0x194) from [<c0053e6c>] (__arm_ioremap_caller+0x5c/0x64)
[<c0053e10>] (__arm_ioremap_caller+0x0/0x64) from [<c0066ec8>] (omap_ioremap+0x60/0x64)
r4:92f3ba00
[<c0066e68>] (omap_ioremap+0x0/0x64) from [<bf022a80>] (MemoryOS_map+0xe8/0x1dc [syslink])
r7:00000002 r6:bf0ae4e4 r5:00000000 r4:ddfebc58
[<bf022998>] (MemoryOS_map+0x0/0x1dc [syslink]) from [<bf003a18>] (_ProcMgr_map+0xcc/0x314 [syslink])
r6:e2d7c000 r5:00000001 r4:ddfebcc4
[<bf00394c>] (_ProcMgr_map+0x0/0x314 [syslink]) from [<bf00a208>] (ElfLoaderTrgWrite_copy+0xac/0x218 [syslink])
[<bf00a15c>] (ElfLoaderTrgWrite_copy+0x0/0x218 [syslink]) from [<bf00e1e0>] (DLIF_copy+0x10/0x1c [syslink])
[<bf00e1d0>] (DLIF_copy+0x0/0x1c [syslink]) from [<bf00c9b0>] (DLOAD_load+0x73c/0xa5c [syslink])
[<bf00c274>] (DLOAD_load+0x0/0xa5c [syslink]) from [<bf009c28>] (ElfLoader_load+0x8c/0xfc [syslink])
[<bf009b9c>] (ElfLoader_load+0x0/0xfc [syslink]) from [<bf001d4c>] (Loader_load+0x64/0x94 [syslink])
[<bf001ce8>] (Loader_load+0x0/0x94 [syslink]) from [<bf002db0>] (ProcMgr_load+0x88/0xe8 [syslink])
[<bf002d28>] (ProcMgr_load+0x0/0xe8 [syslink]) from [<bf0051dc>] (ProcMgrDrv_ioctl+0x8bc/0x14d4 [syslink])
[<bf004920>] (ProcMgrDrv_ioctl+0x0/0x14d4 [syslink]) from [<c00db970>] (do_vfs_ioctl+0x4d0/0x544)
r8:00000000 r7:00000008 r6:be984aa0 r5:00000008 r4:de188700
[<c00db4a0>] (do_vfs_ioctl+0x0/0x544) from [<c00dba3c>] (sys_ioctl+0x58/0x7c)
r9:ddfea000 r8:00000000 r7:00000008 r6:c020e0a2 r5:be984aa0
r4:dddb8900
[<c00db9e4>] (sys_ioctl+0x0/0x7c) from [<c004c3c0>] (ret_fast_syscall+0x0/0x30)
r8:c004c568 r7:00000036 r6:000521d4 r5:0007f334 r4:00000000
---[ end trace 3751e14f586f4e1f ]---
Loaded file ../firmware/dvr_rdk_fw_m3vpss_2048M_512M.xem3 on slave procId 2.
StBUG: Your driver calls ioremap() on system memory. This leads
to architecturally unpredictable behaviour on ARMv6+, and ioremap()
will fail in the next kernel release. Please fix your driver.
arted slave proc------------[ cut here ]------------
Id 2.
WARNING: at arch/arm/mm/ioremap.c:211 __arm_ioremap_pfn_caller+0x58/0x194()
Modules linked in: syslink
Backtrace:
[<c004ffc4>] (dump_backtrace+0x0/0x110) from [<c0407fa8>] (dump_stack+0x18/0x1c)
r6:c04e205f r5:000000d3 r4:00000000 r3:60000013
[<c0407f90>] (dump_stack+0x0/0x1c) from [<c0075a68>] (warn_slowpath_common+0x54/0x6c)
[<c0075a14>] (warn_slowpath_common+0x0/0x6c) from [<c0075aa4>] (warn_slowpath_null+0x24/0x2c)
r8:bf0ae448 r7:00000002 r6:00000000 r5:00080000 r4:11500000
r3:00000009
[<c0075a80>] (warn_slowpath_null+0x0/0x2c) from [<c0053cb4>] (__arm_ioremap_pfn_caller+0x58/0x194)
[<c0053c5c>] (__arm_ioremap_pfn_caller+0x0/0x194) from [<c0053e6c>] (__arm_ioremap_caller+0x5c/0x64)
[<c0053e10>] (__arm_ioremap_caller+0x0/0x64) from [<c0066ec8>] (omap_ioremap+0x60/0x64)
r4:80000000
[<c0066e68>] (omap_ioremap+0x0/0x64) from [<bf022a80>] (MemoryOS_map+0xe8/0x1dc [syslink])
r7:00000002 r6:bf0ae4e4 r5:00000000 r4:ddfebd10
[<bf022998>] (MemoryOS_map+0x0/0x1dc [syslink]) from [<bf003a18>] (_ProcMgr_map+0xcc/0x314 [syslink])
r6:e2d7c000 r5:00000001 r4:ddfebdf0
[<bf00394c>] (_ProcMgr_map+0x0/0x314 [syslink]) from [<bf003cd8>] (ProcMgr_map+0x78/0xd0 [syslink])
[<bf003c60>] (ProcMgr_map+0x0/0xd0 [syslink]) from [<bf012eb4>] (Platform_loadCallback+0x564/0x898 [syslink])
r8:00000001 r7:00000002 r6:00000018 r5:bf0ae23c r4:00000001
[<bf012950>] (Platform_loadCallback+0x0/0x898 [syslink]) from [<bf02e644>] (Ipc_control+0x68/0x160 [syslink])
[<bf02e5dc>] (Ipc_control+0x0/0x160 [syslink]) from [<bf0526b0>] (IpcDrv_drvioctl+0xf0/0x574 [syslink])
r7:be984abc r6:be984abc r5:c014f497 r4:00000000
[<bf0525c0>] (IpcDrv_drvioctl+0x0/0x574 [syslink]) from [<c00db970>] (do_vfs_ioctl+0x4d0/0x544)
[<c00db4a0>] (do_vfs_ioctl+0x0/0x544) from [<c00dba3c>] (sys_ioctl+0x58/0x7c)
r9:ddfea000 r8:00000000 r7:00000005 r6:c014f497 r5:be984abc
r4:dddc3e00
[<c00db9e4>] (sys_ioctl+0x0/0x7c) from [<c004c3c0>] (ret_fast_syscall+0x0/0x30)
r8:c004c568 r7:00000036 r6:c014f497 r5:0007f334 r4:be984abc
---[ end trace 3751e14f586f4e20 ]---
vmap allocation for size 290459648 failed: use vmalloc=<size> to increase size.
Unable to handle kernel NULL pointer dereference at virtual address 00000010
pgd = dd008000
[00000010] *pgd=9de47031, *pte=00000000, *ppte=00000000
Internal error: Oops: 817 [#1]
last sysfs file: /sys/devices/virtual/vtconsole/vtcon0/uevent
Modules linked in: syslink
CPU: 0 Tainted: G W (2.6.37 #4)
PC is at HeapMemMP_postInit+0xbc/0x148 [syslink]
LR is at GateMP_getSharedAddr+0x4c/0x60 [syslink]
pc : [<bf0312d0>] lr : [<bf02cf00>] psr: 80000013
sp : ddfebc60 ip : 00000000 fp : ddfebc94
r10: bf07e274 r9 : bf0ae23c r8 : 00000001
r7 : e0897000 r6 : 00000000 r5 : e0897000 r4 : e089a000
r3 : 00000580 r2 : bf06cc5c r1 : 00000580 r0 : 00000580
Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 9d008019 DAC: 00000015
Process fw_load.out (pid: 290, stack limit = 0xddfea2e8)
Stack: (0xddfebc60 to 0xddfec000)
bc60: 00000080 00000000 00000000 00000000 114fff80 00000000 ddfebc94 e089a000
bc80: ddfebcd0 00000000 ddfebccc ddfebc98 bf031594 bf031220 ddfebcd0 00000001
bca0: bf022d2c 00000000 bf0ae448 ddfebd04 00000024 bf07ded8 114fff80 bf0ae448
bcc0: ddfebcfc ddfebcd0 bf031998 bf031368 00000000 00000000 00000000 114fff80
bce0: 00000000 e0897000 e0c0b024 00000001 ddfebd3c ddfebd00 bf023f10 bf031950
bd00: 00010003 00000000 00000000 00000000 114fff80 00000000 e4000000 00000000
bd20: e4000000 bf07e16c 00000002 00000002 ddfebd94 ddfebd40 bf02fd88 bf023e68
bd40: ddfebd6c ddfebd50 e4000000 092c0000 00010003 00000000 00000080 00000001
bd60: 00000000 00000000 bf020000 00000000 00000002 00000001 00000002 00000001
bd80: bf0ae23c bf0ae448 ddfebe7c ddfebd98 bf0130b8 bf02fc3c 80000000 80000000
bda0: 11500000 00000001 00000070 bf0ae298 72616853 65526465 6e6f6967 746e652e
bdc0: 315b7972 61632e5d 45656863 6c62616e 00003d65 ddfebde0 e0c08000 00000000
bde0: ddfebe0c ddfebdf0 bf0218c0 bf01b8bc 00000000 60000013 80000000 80000000
be00: ddfebe1c 11500000 c0240001 c024fb84 ddfebe34 00000000 11500000 00010003
be20: 00000001 00000080 00090001 00000000 00010001 00000000 00000001 ddfebe48
be40: bf002ca0 80000000 0000001c 92f3ba00 00000000 babe0000 bf0ae448 00000002
be60: 00000000 00000000 ddfea000 00000000 ddfebea4 ddfebe80 bf02e644 bf01295c
be80: babe0000 00000000 00000000 c014f497 be984abc be984abc ddfebefc ddfebea8
bea0: bf0526b0 bf02e5e8 c014f497 be984abc 00000000 a0000013 ddfebedc 40110002
bec0: babe0000 00000000 be984b04 00000002 ddfebeec de188680 00000005 be984abc
bee0: 00000005 00000000 ddfea000 00000000 ddfebf74 ddfebf00 c00db970 bf0525cc
bf00: 50ceee15 2cb4175c ddfebf4c 00000000 40081000 ddfebf70 00000000 00000018
bf20: ddfea000 00000000 ddfebf4c ddfebf38 c022dab4 c022d83c dddc7500 40081000
bf40: ddfebf6c ddfebf50 c00ce6c8 c022da6c dddc3e00 be984abc c014f497 00000005
bf60: 00000000 ddfea000 ddfebfa4 ddfebf78 c00dba3c c00db4ac ddfebfac 00000001
bf80: c04087d0 be984abc 0007f334 c014f497 00000036 c004c568 00000000 ddfebfa8
bfa0: c004c3c0 c00db9f0 be984abc 0007f334 00000005 c014f497 be984abc 00000001
bfc0: be984abc 0007f334 c014f497 00000036 00000000 00000000 4011f000 00000000
bfe0: 0007f2f0 be984a58 0001dab4 402701cc 20000010 00000005 bf04a914 00000014
Backtrace:
[<bf031214>] (HeapMemMP_postInit+0x0/0x148 [syslink]) from [<bf031594>] (_HeapMemMP_create+0x238/0x310 [syslink])
r6:00000000 r5:ddfebcd0 r4:e089a000
[<bf03135c>] (_HeapMemMP_create+0x0/0x310 [syslink]) from [<bf031998>] (HeapMemMP_create+0x54/0x80 [syslink])
[<bf031944>] (HeapMemMP_create+0x0/0x80 [syslink]) from [<bf023f10>] (SharedRegion_start+0xb4/0x11c [syslink])
r5:00000001 r4:e0c0b024
[<bf023e5c>] (SharedRegion_start+0x0/0x11c [syslink]) from [<bf02fd88>] (Ipc_start+0x158/0x26c [syslink])
r8:00000002 r7:00000002 r6:bf07e16c r5:e4000000 r4:00000000
[<bf02fc30>] (Ipc_start+0x0/0x26c [syslink]) from [<bf0130b8>] (Platform_loadCallback+0x768/0x898 [syslink])
r6:bf0ae448 r5:bf0ae23c r4:00000001
[<bf012950>] (Platform_loadCallback+0x0/0x898 [syslink]) from [<bf02e644>] (Ipc_control+0x68/0x160 [syslink])
[<bf02e5dc>] (Ipc_control+0x0/0x160 [syslink]) from [<bf0526b0>] (IpcDrv_drvioctl+0xf0/0x574 [syslink])
r7:be984abc r6:be984abc r5:c014f497 r4:00000000
[<bf0525c0>] (IpcDrv_drvioctl+0x0/0x574 [syslink]) from [<c00db970>] (do_vfs_ioctl+0x4d0/0x544)
[<c00db4a0>] (do_vfs_ioctl+0x0/0x544) from [<c00dba3c>] (sys_ioctl+0x58/0x7c)
r9:ddfea000 r8:00000000 r7:00000005 r6:c014f497 r5:be984abc
r4:dddc3e00
[<c00db9e4>] (sys_ioctl+0x0/0x7c) from [<c004c3c0>] (ret_fast_syscall+0x0/0x30)
r8:c004c568 r7:00000036 r6:c014f497 r5:0007f334 r4:be984abc
Code: e5946008 e5840024 e594000c ebffeef8 (e5860010)
---[ end trace 3751e14f586f4e21 ]---
一直这个bug:BUG: Your driver calls ioremap() on system memory. This leads
to architecturally unpredictable behaviour on ARMv6+, and ioremap()
will fail in the next kernel release. Please fix your driver.
我试了好多,一直解决不了,有哪位大神能解决这个问题,可以支付报酬。