免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2999 | 回复: 1
打印 上一主题 下一主题

[操作系统] linux 内核加载 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-01-03 16:30 |显示全部楼层 |倒序浏览
将编译好的内核加载上zynq 小板上面出现了这样的错误如下:

U-Boot 2013.04-dirty (Oct 09 2013 - 11:15:26)

I2C:   ready
Memory: ECC disabled
DRAM:  1 GiB
WARNING: Caches not enabled
MMC:   zynq_sdhci: 0
SF: Detected N25Q128 with page size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   Gem.e000b000
Hit any key to stop autoboot:  0
zynq-uboot>
zynq-uboot>
zynq-uboot>
zynq-uboot>
zynq-uboot> bdinf
arch_number = 0x90400410
boot_params = 0x00050014
DRAM bank   = 0x00000000
-> start    = 0x00000000
-> size     = 0x40000000
eth0name    = Gem.e000b000
ethaddr     = 00:0a:35:00:01:22
current eth = Gem.e000b000
ip_addr     = 10.10.70.102
baudrate    = 115200 bps
TLB addr    = 0x3FFF0000
relocaddr   = 0x3FF74000
reloc off   = 0x3BF74000
irq_sp      = 0x3FB53F40
sp start    = 0x3FB53F30
zynq-uboot>

U-Boot 2013.04-dirty (Oct 09 2013 - 11:15:26)

I2C:   ready
Memory: ECC disabled
DRAM:  1 GiB
WARNING: Caches not enabled
MMC:   zynq_sdhci: 0
SF: Detected N25Q128 with page size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   Gem.e000b000
Hit any key to stop autoboot:  0
Copying Linux from SD to RAM...
Device: zynq_sdhci
Manufacturer ID: 1b
OEM: 534d
Name: 00000
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: No
Capacity: 1.9 GiB
Bus Width: 4-bit
reading uImage
2483592 bytes read in 399 ms (5.9 MiB/s)
reading devicetree.dtb
7242 bytes read in 22 ms (321.3 KiB/s)
reading uramdisk.image.gz
4507009 bytes read in 705 ms (6.1 MiB/s)
## Booting kernel from Legacy Image at 03000000 ...
   Image Name:   Linux-3.3.0-digilent-12.07-zed-b
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2483528 Bytes = 2.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02000000 ...
   Image Name:
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4506945 Bytes = 4.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 02a00000
   Booting using the fdt blob at 0x02a00000
   Loading Kernel Image ... OK
OK
   Loading Ramdisk to 1fbb3000, end 1ffff541 ... OK
   Loading Device Tree to 1fbae000, end 1fbb2c49 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Linux version 3.3.0-digilent-12.07-zed-beta (root@albert-VirtualB
ox) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-50) ) #6 SMP PREEMPT Fri
Jan 3 15:54:26 CST 2014
[    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio
n cache
[    0.000000] Machine: Xilinx Zynq Platform
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] INITRD: 0x00800000+0x01000000 is not a memory region - disabling
initrd
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] BUG: mapping for 0xf8f00000 at 0xfe00c000 out of vmalloc space
[    0.000000] BUG: mapping for 0xe0000000 at 0xfe000000 out of vmalloc space
[    0.000000] BUG: mapping for 0xffff1000 at 0xfe200000 out of vmalloc space
[    0.000000] PERCPU: Embedded 7 pages/cpu @c0533000 s5696 r8192 d14784 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pa
ges: 4060
[    0.000000] Kernel command line: console=ttyPS0,115200n8 root=/dev/ram rw ini
trd=0x00800000,16M earlyprintk mtdparts=physmap-flash.0:512K(nor-fsbl),512K(nor-
u-boot),5M(nor-linux),9M(nor-user),1M(nor-scratch),-(nor-rootfs)
[    0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
[    0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Memory: 16MB = 16MB total
[    0.000000] Memory: 10956k/10956k available, 5428k 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]     vmalloc : 0xc1800000 - 0xfd000000   ( 952 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc1000000   (  16 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0431088   (4261 kB)
[    0.000000]       .init : 0xc0432000 - 0xc0458640   ( 154 kB)
[    0.000000]       .data : 0xc045a000 - 0xc0487ec0   ( 184 kB)
[    0.000000]        .bss : 0xc0487ee4 - 0xc049f834   (  95 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Verbose stalled-CPUs detection is disabled.
[    0.000000] NR_IRQS:128
[    0.000000] Xilinx, no compatible timer found, using default
[    0.000000] xlnx,ps7-ttc-1.00.a #0 at 0xc1800000, irq=43
[    0.000000] Error, no clock-frequency specified for timer
[    0.000000] Error, no clock-frequency specified for timer

[    0.000000] Console: colour dummy device 80x30
[    0.000000] Calibrating delay loop...
请问出现红色字体标示的错误为什么?????????????

论坛徽章:
0
2 [报告]
发表于 2014-01-10 15:40 |显示全部楼层
回复 2# arm-linux-gcc
如何配置呢???



   
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP