完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
你好:
我现在用IPNC_V5.1的版本, Rules.mak 里面选择了DM365, NFS, AR0130 这3个选项,然后maks sysall. 在tftp/DM365目录下的到 uImage_ipnc_dm365, 然后在我们板子上tftp 0x80700000 uImage_ipnc_dm365; bootm 0x80700000; 然后出现如下: ××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××× DM365 IPNC :>bootm 0x80700000 ## Booting kernel from Legacy Image at 80700000 ... Image Name: Linux-2.6.37_IPNC_DM365_5.1.0 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3439776 Bytes = 3.3 MB Load Address: 80008000 Entry Point: 80008000 Loading Kernel Image ... OK OK Starting kernel ... 在这个地方卡死了。 我这个板子的 UBL, UBOOT 本来是用V3.0的内核跑的。请问这个是什么原因呢? 谢谢 |
|
相关推荐
15个回答
|
|
所以你的uboot和kernel不是来自一个RDK版本的吗,那样是不推荐的
|
|
|
|
hi Eason: 我的UBL,UBOOT 没有用V5.1的版本的, 我用串口烧录5.1 版本的UBL, UBOOT后, 板子直接提示nand copy 那里失败, UBOOT 起不来呢。 |
|
|
|
zimufan 发表于 2018-6-21 15:39 那返回去用旧的UBL和uboot,是否直接就好了? |
|
|
|
估计和旧的UBL,UBOOT没关系, IPNC V5.1 的内核 2.6.37的版本, 怎么差异那么大。 搞得不适应。 1. 在dvsdk_ipnctoolsipnc_psp_03_21_00_04kernelarcharmmach-davinci 目录下的 dm365.c文件中,关于UART的配置是: static struct plat_serial8250_port dm365_serial_platform_data[] = [ [ .mapbase = DAVINCI_UART0_BASE, .irq = IRQ_UARTINT0, .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST | UPF_IOREMAP, .iotype = UPIO_MEM, .regshift = 2, ], [ .mapbase = DM365_UART1_BASE, .irq = IRQ_UARTINT1, .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST | UPF_IOREMAP, .iotype = UPIO_MEM, .regshift = 2, ], [ .flags = 0 ], ]; 而在 V3.0 内核中是: static struct plat_serial8250_port serial_platform_data[] = [ [ .membase = (char *) IO_ADDRESS(DAVINCI_UART0_BASE), .mapbase = (unsigned long) DAVINCI_UART0_BASE, .irq = IRQ_UARTINT0, .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST, .iotype = UPIO_MEM, .regshift = 2, .uartclk = 24000000, ], [ .membase = (char *) IO_ADDRESS(DM365_UART1_BASE), .mapbase = (unsigned long) DM365_UART1_BASE, .irq = IRQ_UARTINT1, .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST, .iotype = UPIO_MEM, .regshift = 2, .uartclk = 121500000, ], [ .flags = 0 ], ]; 很明显 V5.1的串口配置少了 uartclk 等,这个不知道是否有影响呢? 2. 我在IPNCV5.1 版本的make menuconfig 后,里面system type里没有看到关于DAVINCI的芯片组选项。 这个是怎么回事呢? 谢谢 |
|
|
|
zimufan 发表于 2018-6-21 16:05 关于这个问题,之前有人提过同样的这个问题。 在本论坛的另外一个人开的帖子是“内核引导失败,死在Starting kernel ...”, 我查看了, 用没有明确的解答啊。 说什么内存分配不对, 什么uboot的console, 我在Uboot里 用来ttyS0, ttyS1, 都不行 |
|
|
|
zimufan 发表于 2018-6-21 16:05 别估计了,试一试吧。 你原来跑的是IPNCRDK还是DVSDK啊 |
|
|
|
IPNC RDKV5.1啊,名称是"IPNC_RDK_DM36x_Release_5.1.0", 就被这问题卡死了, 没法往下进展啊 |
|
|
|
我问的是之前什么版本,后面看是是v3.0 了。 建议还是换uboot吧 你用的是自己的硬件还是appro机器? |
|
|
|
之前的版本是IPNC RDK 3.0啊, 板子是我们自己的,DDR2是三星128M BYTE, NAND FLASH是三星32M BYTE, 没有用大菠萝的。 你的意思是让我用新的UBOOT, 配合IPNC5.1的 uImage 吗?UBL 用5.1的还是 老的呢? 内存的分配是在UBL里吧 ? |
|
|
|
Hi Eason: 我刚才用IPNC RDRV5.1 包的 u-boot-1.3.4-dm365_ipnc.bin, 下载,然后烧录了, 然后跑新的内核,还是跑不起来, 卡在 "Starting kernel ...", 是否 UBL 也用V5.1 的版本? UBL 代码默认有调试诊断模式。 那个要去掉才行呢。还要重新编译 |
|
|
|
HI Eason: 你不在线? |
|
|
|
我现在UBL, UBOOT 全部用的是IPNC RDR V5.1的版本, 跑uImage ,还是卡在 Starting kernel ... 什么原因啊? FAE 人呢? |
|
|
|
zimufan 发表于 2018-6-21 17:56 你好, 请问你使用v5.1的ubl/uboot后,uimage是通过TFTP下载的么?如果是,请尝试烧写到Nand上,boot试试。 |
|
|
|
hi Chris: 赞啊, 你真是高手啊,烧录进去以后,可以跑啊, 现在挂mount 的时候出问题。 ## Booting kernel from Legacy Image at 80700000 ... Image Name: Linux-2.6.37_IPNC_DM365_5.1.0 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3439776 Bytes = 3.3 MB Load Address: 80008000 Entry Point: 80008000 Loading Kernel Image ... OK OK Starting kernel ... [ 0.000000] Linux version 2.6.37_IPNC_DM365_5.1.0 (x0066085@bangvideoapps01) (gcc version 4.3.3 (GCC) ) #1 PREEMPT Wed Jun 5 12:32:08 IST 2013 [ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine: DaVinci DM36x IPNC [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] DaVinci dm36x_rev1.2 variant 0x8 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 12192 [ 0.000000] Kernel command line: console=ttyS1,115200n8 rw mem=48M root=/dev/nfs nfsroot=$(nfshost):$(rootpath), nolock mem=48M cmemk.phys_start="0x83000000" cmemk.phys_end="0x88000000" cmemk.phys_start_1="0x00001000" cmemk.phys_end_1="0x00008000" cmemk.pools_1="1x28672" cmemk.allowOverlap=1 eth=$(ethaddr) nohz=off highres=off clocksource=acpi_pm lpj=739328’ [ 0.000000] TI DaVinci EMAC: kernel boot params Ethernet address: $(ethaddr) [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Memory: 48MB = 48MB total [ 0.000000] Memory: 45184k/90368k available, 7936k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] DMA : 0xff000000 - 0xffe00000 ( 14 MB) [ 0.000000] vmalloc : 0xc3800000 - 0xfea00000 ( 946 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc3000000 ( 48 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .init : 0xc0008000 - 0xc0028000 ( 128 kB) [ 0.000000] .text : 0xc0028000 - 0xc032c000 (3088 kB) [ 0.000000] .data : 0xc032c000 - 0xc034fca0 ( 144 kB) [ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Preemptable hierarchical RCU implementation. [ 0.000000] RCU-based detection of stalled CPUs is disabled. [ 0.000000] Verbose stalled-CPUs detection is disabled. [ 0.000000] NR_IRQS:245 [ 0.000000] Console: colour dummy device 80x30 [ 0.000399] Calibrating delay loop (skipped) preset value.. 147.86 BogoMIPS (lpj=739328) [ 0.000483] pid_max: default: 32768 minimum: 301 [ 0.000885] Mount-cache hash table entries: 512 [ 0.001921] CPU: Testing write buffer coherency: ok [ 0.007894] DaVinci: 8 gpio irqs [ 0.008721] NET: Registered protocol family 16 [ 0.138287] bio: create slab [ 0.144791] SCSI subsystem initialized [ 0.149733] u***core: registered new interface driver u***fs [ 0.151840] u***core: registered new interface driver hub [ 0.153006] u***core: registered new device driver u*** [ 0.157169] vpss vpss: dm365_vpss vpss probed [ 0.157256] vpss vpss: dm365_vpss vpss probe success [ 0.159767] Advanced Linux Sound Architecture Driver Version 1.0.23. [ 0.162711] Switching to clocksource timer0_1 [ 0.244809] NET: Registered protocol family 2 [ 0.245220] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.246310] TCP established hash table entries: 2048 (order: 2, 16384 bytes) [ 0.246516] TCP bind hash table entries: 2048 (order: 1, 8192 bytes) [ 0.246646] TCP: Hash tables configured (established 2048 bind 2048) [ 0.246692] TCP reno registered [ 0.246743] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.246830] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.247518] NET: Registered protocol family 1 [ 0.337785] JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc. [ 0.342800] msgmni has been set to 88 [ 0.346423] io scheduler noop registered (default) [ 0.348330] CSL: Module install successful, device major num = 254 [ 0.348398] CSL: Module version 0.10.00, built on Jun 5 2013 12:25:16 [ 0.348472] I2C: Module install successful, device major num = 253 [ 0.348531] DMA: Module install successful, device major num = 252 [ 0.348571] DRV: Module install successful [ 0.348607] DRV: Module built on Jun 5 2013 12:25:18 [ 0.348646] DRV: EDMACC.QUEPRI = 00002777 [ 0.348680] DRV: SYSTEM.MSTPRI0 = 00440011 [ 0.348712] DRV: SYSTEM.MSTPRI1 = 00000444 [ 0.348744] DRV: ISP.BCR = 00000002 [ 0.348776] DRV: SYSTEM.MISC = 00000399 [ 0.348810] EDMAK module: built on Jun 5 2013 at 12:25:03 [ 0.348855] Reference Linux version 2.6.37 [ 0.348891] File /data/datalocal1_videoapps01/user/santosh/DM36x/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/edma/src/module/edmak.c [ 0.351066] IRQK module: built on Jun 5 2013 at 12:23:56 [ 0.351134] Reference Linux version 2.6.37 [ 0.351174] File /data/datalocal1_videoapps01/user/santosh/DM36x/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/irq/src/module/irqk.c [ 0.353086] irqk initialized [ 0.353192] CMEMK module: built on Jun 5 2013 at 12:25:01 [ 0.353248] Reference Linux version 2.6.37 [ 0.353286] File /data/datalocal1_videoapps01/user/santosh/DM36x/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c [ 0.359922] allocated heap buffer 0xc4000000 of size 0x5000000 [ 0.359993] CMEM Range Overlaps Kernel Physical - allowing overlap [ 0.360539] CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000) [ 0.360751] cmemk initialized [ 0.360827] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 0.385648] serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A [ 0.408263] serial8250.0: ttyS1 at MMIO 0x1d06000 (irq = 41) is a 16550A [ 0.917125] console [ttyS1] enabled [ 0.925152] brd: module loaded [ 0.939567] NAND device: Manufacturer ID: 0xad, Chip ID: 0x75 (Hynix ) [ 0.947023] Bad block table not found for chip 0 [ 0.952321] Bad block table not found for chip 0 [ 0.956970] Scanning device for bad blocks [ 1.070658] Bad eraseblock 1856 at 0x000001d00000 [ 1.086581] Bad eraseblock 2046 at 0x000001ff8000 [ 1.091419] Bad eraseblock 2047 at 0x000001ffc000 [ 1.100890] Creating 5 MTD partitions on "davinci_nand.0": [ 1.106441] 0x000000000000-0x000000080000 : "bootloader" [ 1.117094] 0x000000080000-0x000000160000 : "params" [ 1.127514] 0x000000160000-0x000000520000 : "kernel" [ 1.138152] 0x000000520000-0x000001f80000 : "filesystem1" [ 1.150025] 0x000001f80000-0x000002000000 : "filesystem2" [ 1.161386] davinci_nand davinci_nand.0: controller rev. 2.3 [ 1.220142] davinci_mdio davinci_mdio.0: davinci mdio revision 1.4 [ 1.226370] davinci_mdio davinci_mdio.0: detected phy mask fffffffc [ 1.236347] davinci_mdio.0: probed [ 1.239813] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown [ 1.247171] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown [ 1.255240] i2c /dev entries driver [ 1.261676] Linux media interface: v0.10 [ 1.266550] Linux video capture interface: v2.00 [ 1.274263] vpbe-osd vpbe-osd: OSD sub device probe success [ 1.281124] vpbe-venc vpbe-venc: VENC sub device probe success [ 1.288276] vpbe-v4l2 vpbe-v4l2: vpbe v4l2 device registered [ 1.294432] Setting default output to Composite [ 1.299003] Setting default mode to ntsc [ 1.303276] vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device. [ 1.310004] vpbe-v4l2 vpbe-v4l2: layer=c292bc00,layer->video_dev=c292bce8 [ 1.317952] vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device. [ 1.324976] vpbe-v4l2 vpbe-v4l2: layer=c288be00,layer->video_dev=c288bee8 [ 1.334198] watchdog watchdog: heartbeat 60 sec [ 1.345907] Error: Driver 'davinci-mcbsp' is already registered, aborting... [ 1.356939] asoc: cq93vc-hifi <-> davinci-vcif mapping ok [ 1.367142] ALSA device list: [ 1.370528] #0: DaVinci DM365 EVM [ 1.375799] TCP cubic registered [ 1.379078] NET: Registered protocol family 17 [ 1.395368] VFS: Cannot open root device "nfs" or unknown-block(0,255) [ 1.402213] Please append a correct "root=" boot option; here are the available partitions: [ 1.410833] 1f00 512 mtdblock0 (driver?) [ 1.415948] 1f01 896 mtdblock1 (driver?) [ 1.421152] 1f02 3840 mtdblock2 (driver?) [ 1.426257] 1f03 27008 mtdblock3 (driver?) [ 1.431449] 1f04 512 mtdblock4 (driver?) [ 1.436538] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,255) [ 1.445053] Backtrace: [ 1.447534] Function entered at [ [ 1.453435] r7:00008000 r6:c2813000 r5:c0022a6c r4:c0350480 [ 1.459158] Function entered at [ [ 1.465059] Function entered at [ [ 1.470955] r3:00000000 r2:00000000 r1:c2825f60 r0:c02dc841 [ 1.476680] Function entered at [ [ 1.482576] Function entered at [ [ 1.488425] r5:c0022a24 r4:c034fd08 [ 1.492086] Function entered at [ [ 1.497932] r5:c0022208 r4:c034fcb8 [ 1.501592] Function entered at [ [ 1.507436] r5:c00083a4 r4:00000000 |
|
|
|
zimufan 发表于 2018-6-21 18:31 你好, 1. 先确认nfs是否在Linux 电脑上可以mount上? 2. 不要使用$ ($(nfshost):$(rootpath)),直接写,然后试试? |
|
|
|
只有小组成员才能发言,加入小组>>
NA555DR VCC最低电压需要在5V供电,为什么用3.3V供电搭了个单稳态触发器也使用正常?
686 浏览 3 评论
MSP430F249TPMR出现高温存储后失效了的情况,怎么解决?
601 浏览 1 评论
对于多级放大电路板,在PCB布局中,电源摆放的位置应该注意什么?
1055 浏览 1 评论
744 浏览 0 评论
普中科技F28335开发板每次上电复位后数码管都会显示,如何熄灭它?
526 浏览 1 评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
167浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
128浏览 14评论
在使用3254进行录音的时候出现一个奇怪的现象,右声道有吱吱声,请教一下,是否是什么寄存器设置存在问题?
127浏览 13评论
TLV320芯片内部自带数字滤波功能,请问linein进来的模拟信号是否是先经过ADC的超采样?
123浏览 12评论
GD32F303RCT6配置PA4 ADC引脚,将PA2代替key功能,PA2连接时无法实现预期功能,为什么?
54浏览 10评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-26 05:16 , Processed in 1.004616 second(s), Total 78, Slave 71 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号