大家好,我的SDK包是ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04,启动内核发现会停住,追踪代码发现卡在driver/of/fdt.c文件在调用fdt_check_header时没有返回,dtb使用的是sdk包默认的da850-evm.dtb,使用方法如下:
tftpboot 0xc0700000 da850-evm.dtb
tftpboot 0xc1000000 zImage
bootz 0xc1000000 - 0xc0700000
我直接在uboot下使用fdt命令测试结果如下:
U-Boot > fdt header
magic: 0xd00dfeed
totalsize: 0x3248 (12872)
off_dt_struct: 0x38
off_dt_strings: 0x2ce4
off_mem_rsvmap: 0x28
version: 17
last_comp_version: 16
boot_cpuid_phys: 0x0
size_dt_strings: 0x564
size_dt_struct: 0x2cac
number mem_rsv: 0x0
U-Boot > fdt print /memory
memory {
device_type = "memory";
reg = <0xc0000000 0x08000000>;
};
这是什么原因啊?怎么查?