This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM8148系统启动问题



我用的板卡芯片是DM8127,现在用EZSDK中的内核启动系统,出现问题,死在NOR:Can't request GPMC CS 这个位置,求大神帮忙解决。下面是我的具体命令和现象。

     

U-Boot 2010.06 (Dec 26 2012 - 18:16:40)

TI8148-GP rev 2.1

ARM clk: 600MHz DDR clk: 400MHz

DRAM:  2 GiB NAND:  HW ECC BCH8 Selected 256 MiB Using default environment

The 2nd stage U-Boot will now be auto-loaded Please do not interrupt the countdown till TI8148_EVM prompt if 2nd stage is already

flashed Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x20000, size 0x40000  262144 bytes read: OK ## Starting application at 0x81000000 ...

U-Boot 2010.06 (Dec 26 2012 - 18:12:01)

TI8148-GP rev 2.1

ARM clk: 600MHz DDR clk: 400MHz

I2C:   ready DRAM:  2 GiB NAND:  HW ECC BCH8 Selected 256 MiB MMC:   OMAP SD/MMC: 0                           .:;rrr;;.                                       ,5#@@@@#####@@@@@@#2,                              ,A@@@hi;;;r5;;;;r;rrSG@@@A,                         r@@#i;:;s222hG;rrsrrrrrr;ri#@@r                     :@@hr:r;SG3ssrr2r;rrsrsrsrsrr;rh@@:                  B@H;;rr;3Hs;rrr;sr;;rrsrsrsrsrsr;;H@B                @@s:rrs;5#;;rrrr;r#@H:;;rrsrsrsrsrr:s@@              @@;;srs&X#9;r;r;;,2@@@rrr:;;rrsrsrsrr;;@@            @@;;rrsrrs@MB#@@@@@###@@@@@@#rsrsrsrsrr;;@@          G@r;rrsrsr;#X;SX25Ss#@@#M@#9H9rrsrsrsrsrs;r@G         @9:srsrsrs;2@;:;;:.X@@@@@H::;rrsrsrsrsrsrr:3@        X@;rrsrsrsrr;XAi;;:&@@#@Bs:rrsrsrsrsrsrsrsrr;@X        @#;rsrsrsrsrr;r2ir@@@###::rrsrsrsrsrsrsrsrsr:@@        @A:rrsrsrsrr;:2@29@@M@@@;:;rrrrsrsrsrsrsrsrs;H@        @&;rsrsrsrr;A@@@@@@###@@@s::;:;;rrsrsrsrsrsr;G@        @#:rrsrsrsr;G@5Hr25@@@#@@@#9XG9s:rrrrsrsrsrs:#@        M@;rsrsrsrs;r@&#;::S@@@@@@@M@@@@Grr:;rsrsrsr;@#        :@s;rsrsrsrr:M#Msrr;;&#@@@@@@@@@@H@@5;rsrsr;s@,         @@:rrsrsrsr;S@rrrsr;:;r3MH@@#@M5,S@@irrsrr:@@          @A:rrsrsrsrrrrrsrsrrr;::;@##@r:;rH@h;srr:H@           ;@9:rrsrsrsrrrsrsrsrsr;,S@Hi@i:;s;MX;rr:h@;            r@B:rrrrsrsrsrsrsrr;;sA@#i,i@h;r;S5;r:H@r              ,@@r;rrrsrsrsrsrr;2BM3r:;r:G@:rrr;;r@@,                 B@Mr;rrrrsrsrsr@@S;;;rrr:5M;rr;rM@H                    .@@@i;;rrrrsrs2i;rrrrr;r@M:;i@@@.                       .A@@#5r;;;r;;;rrr;r:r#AsM@@H.                            ;&@@@@MhXS5i5SX9B@@@@G;                                   :ihM#@@@@@##hs,               

Net:   Detected MACID:84:7e:40:c8:b:de cpsw Hit any key to stop autoboot:  0 TI8148_EVM#setenv serverip 192.168.1.106 TI8148_EVM#setenv ipaddr 192.168.1.105 TI8148_EVM#setenv ethaddr 84:7e:40:c8:0b:de TI8148_EVM#setenv gatewayip 192.168.1.1 TI8148_EVM#setenv netmask 255.255.255.0 TI8148_EVM#setenv bootargs 'console=ttyO0,115200n8 root=/dev/nfs rw mem=80M

vram=4M notifyk.vpssm3_sva=0xBFD00000 nfsroot=192.168.1.106:/root/targetfs/linux-

2.6.37-psp04.04.00.01,nolock eth=84:7e:40:c6:d2:84 ip=192.168.1.105

cmemk.phys_start=0x85000000 cmemk.phys_end=0x89000000 cmemk.allowOverlap=1

earlyprintk' TI8148_EVM#setenv bootcmd 'ipnc_ff_init 1;tftp 0x81000000 uImage;bootm' TI8148_EVM#saveenv Saving Environment to NAND... Erasing Nand... Warning: Erase size 0x00002000 smaller than one erase block 0x00020000          Erasing 0x00020000 instead Erasing at 0x260000 -- 100% complete. Writing to Nand... done TI8148_EVM#boot Unknown command 'ipnc_ff_init' - try 'help' Auto negotitation failed Using cpsw device TFTP from server 192.168.1.106; our IP address is 192.168.1.105 Filename 'uImage'. Load address: 0x81000000 Loading: link up on port 0, speed 100, full duplex T #################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################   ########################### done Bytes transferred = 2796444 (2aab9c hex) ## Booting kernel from Legacy Image at 81000000 ...    Image Name:   Arago/2.6.37-psp04.04.00.01/dm81    Image Type:   ARM Linux Kernel Image (uncompressed)    Data Size:    2796380 Bytes = 2.7 MiB    Load Address: 80008000    Entry Point:  80008000    Verifying Checksum ... OK    Loading Kernel Image ... OK OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel. Linux version 2.6.37 (x0029463@swubn01) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203)

) #1 Wed Dec 26 18:11:35 IST 2012 CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: ti8148evm vram size = 4194304 at 0x0 bootconsole [earlycon0] enabled reserved size = 4194304 at 0x0 FB: Reserving 4194304 bytes SDRAM for VRAM Memory policy: ECC disabled, Data cache writeback OMAP chip is TI8148 2.1 SRAM: Mapped pa 0x402f1000 to va 0xfe400000 size: 0xf000 Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 19296 Kernel command line: console=ttyO0,115200n8 root=/dev/nfs rw mem=80M vram=4M

notifyk.vpssm3_sva=0xBFD00000 nfsroot=192.168.1.106:/root/targetfs/linux-2.6.37-

psp04.04.00.01,nolock eth=84:7e:40:c6:d2:84 ip=192.168.1.105

cmemk.phys_start=0x85000000 cmemk.phys_end=0x89000000 cmemk.allowOverlap=1

earlyprintk PID hash table entries: 512 (order: -1, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 76MB = 76MB total Memory: 71068k/71068k available, 10852k reserved, 0K highmem Virtual kernel memory layout:     vector  : 0xffff0000 - 0xffff1000   (   4 kB)     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)     vmalloc : 0xc5800000 - 0xf8000000   ( 808 MB)     lowmem  : 0xc0000000 - 0xc5000000   (  80 MB)     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)     modules : 0xbf000000 - 0xbfe00000   (  14 MB)       .init : 0xc0008000 - 0xc003d000   ( 212 kB)       .text : 0xc003d000 - 0xc0549000   (5168 kB)       .data : 0xc054a000 - 0xc05970c0   ( 309 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... 598.01 BogoMIPS (lpj=2990080) pid_max: default: 32768 minimum: 301 Security Framework initialized Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok devtmpfs: initialized 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

 

  • 请参考:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/177166.aspx

  • 你好:

    我看了你给我发的连接,我不是用SD卡启动内核,我用的是TFTP下载内核启动挂载网络文件系统方式,TFTP和NFS配置都没有问题,具体操作是将uImage 放到tftpboot文件夹下,内核文件系统放到NFS路径下,然后执行命令。我想问一下是不是我的boottargs或者是bootcmd命令用错了,有具体的这种命令的例子吗?下面是我的具体命令,求指导: