- 论坛徽章:
- 0
|
刚开始,我也是想的这一招,但是在xilinx zynq芯片提供kernel中使用该参数时,kernel panic。我查了一下,应该是rootfs initrd和dtb存放的地址在ddr的高地址上,所以造成的panic。
panic log:
Linux version 3.12.0-xilinx (root@debian) (gcc version 4.6.3 (Wind River Linux Sourcery CodeBench 4.6a-105) ) #4 SMP PREEMPT Sat Jun 7 22:36:15 CST 2014
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Xilinx Zynq Platform, model: Xilinx Zynq
bootconsole [earlycon0] enabled
INITRD: 0x1f61e000+0x005104dd is not a memory region - disabling initrd
Memory policy: Data cache writealloc
Unable to handle kernel paging request at virtual address df619000
pgd = c0004000
[df619000] *pgd=00000000
Internal error: Oops: 5 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 0 PID: 0 Comm: swapper Not tainted 3.12.0-xilinx #4
task: c053b020 ti: c0530000 task.ti: c0530000
PC is at __unflatten_device_tree+0xd0/0x270
LR is at 0x0
pc : [<c02f0d64>] lr : [<00000000>] psr: 600001d3
sp : c0531f60 ip : d00dfeed fp : 00000000
r10: 00000000 r9 : 413fc090 r8 : 413fc090
r7 : c053bef0 r6 : c05086fc r5 : c056a790 r4 : df619000
r3 : 00000000 r2 : 00000000 r1 : 00000000 r0 : c056a790
Flags: nZCv IRQs off FIQs off Mode SVC_32 ISA ARM Segment kernel
Control: 18c5387d Table: 0000404a DAC: 00000015
Process swapper (pid: 0, stack limit = 0xc0530240)
Stack: (0xc0531f60 to 0xc0532000)
1f60: df619000 c05919e0 c05086fc c05919e0 c052514c c0589a18 c0799c40 c051cf00
1f80: 00000000 c0507a64 00000000 18c5387d 413fc090 00000000 00000000 c0397c60
1fa0: c046a00a c0531fbc 00000000 c0531fbc c0530000 00000001 ffffffff c0531fc8
1fc0: 0000406a c05047f4 00000000 00000000 00000000 00000000 00000000 c0526188
1fe0: 18c5387d c05383cc c0526184 c053c000 0000406a 00008074 00000000 00000000
[<c02f0d64>] (__unflatten_device_tree+0xd0/0x270) from [<c051cf00>] (unflatten_device_tree+0x18/0x30)
[<c051cf00>] (unflatten_device_tree+0x18/0x30) from [<c0507a64>] (setup_arch+0x5bc/0x89
[<c0507a64>] (setup_arch+0x5bc/0x89 from [<c05047f4>] (start_kernel+0x78/0x304)
[<c05047f4>] (start_kernel+0x78/0x304) from [<00008074>] (0x8074)
Code: e6bf2f32 e59f117c ebfb7a69 e59fc178 (e594e000)
---[ end trace 1b75b31a2719ed1c ]---
Kernel panic - not syncing: Attempted to kill the idle task! |
|