Firefly开源社区

打印 上一主题 下一主题

按Wiki上的步骤编译内核成功,但内核不能跑不起来

20

积分

0

威望

0

贡献

游客

积分
20

按Wiki上的步骤编译内核成功,但内核不能跑不起来

发表于 2015-9-1 09:00:36      浏览:13112 | 回复:3        打印      只看该作者   [复制链接] 楼主
板子: 3128
编译步骤是参考的 http://wiki.t-firefly.com/index.php/FirePrime/Build_kernel

步骤
git clone https://bitbucket.org/T-Firefly/fireprime-kernel.git
cd fireprime-kernel


export ARCH=arm
export CROSS_COMPILE=/opt/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-


make fireprime-linux_defconfig
make rk3128-fireprime.img

git clone -b fireprime https://github.com/TeeFirefly/initrd.git
make -C initrd

truncate -s "%4" initrd.img
mkbootimg --kernel arch/arm/boot/zImage --ramdisk initrd.img -o linux-boot.img


3128这个板子之前固件为:FirePrime_Ubuntu15.04_201508071519.img
能够正常启动和使用
但烧写分区映像 把前述步骤编译的linux-boot.img烧写到uboot分区(boot分区的地址已修改为0x0000E000)之后,内核出错
错误信息:
rk312x_pie_init: failed to load section -12

请帮忙看看是哪里出了问题,谢谢。

完整的内核启动信息
DDR Version 2.04 20150121
In
1A1A2A2B   0
1A1A2929   3
LPDDR2
292A292A   F
Bus Width=32 Col=10 Bank=8 Row=14 CS=2 Die Bus-Width=32 Size=1024MB
mach:14
OUT
Boot1 Release Time: 2015-05-25, version: 2.25
ChipType = a 1373
No.1 FLASH ID:ad de 14 a7 42 4a
ECC:60
*V?k%????0 20
StorageInit ok = 614470
theL?H?H????с2014.10-RK3128-10 (Jun 12 2015 - 09:11:25)

CPU: rk3128
CPU's clock information:
    arm pll = 300000000HZ
    periph pll = 594000000HZ
    ddr pll = 600000000HZ
    codec pll = 400000000HZ
Board:  Rockchip platform Board
Uboot as second level loader
DRAM:  Found dram banks:1
Adding bank:0000000060000000(0000000040000000)
128 MiB
rk dma?.?K????init OK!
Using default environment


GetParam
check parameter success
Unknow param: MACHINE_MODEL:rk312x!
Unknow param: MACHINE_ID:007!
Unknow param: MANUFACTURER:RK30SDK!
failed to prepare fdt from boot!
power key: bank-3 pin-23
can't find dts node for ricoh619
can't find dts node for act8846
can't find dts node for rk808
++++ LDO3 write 0x03 to regular
cpu_det GPIO pull up
pmic:rk818
Can't find dts node for fuel guage cw201x
can't find dts node for ADC
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 2015-06-12#2.25
empty serial no.
checkKey
vbus = 1
use dc chg rk818_charger_setting iset1:0x79 chgiset:0x75 current 1
read logo_on switch from dts [1]
can't find power_ctr node for lcdc0
failed to find part:logo
Hit any key to stop autoboot:  0
load fdt from resouce.
ERROR: [get_entry_ram]: Cannot find logo_kernel.bmp!
Secure Boot state: 0
kernel   @ 0x62000000 (0x006e7888)
ramdisk  @ 0x65bf0000 (0x00299aa8)
bootrk: do_bootm_linux...
   Loading Device Tree to 65600000, end 65616309 ... OK
Add bank:0000000060000000, 0000000040000000

Starting kernel ...

<hit enter to activate fiq debugger>
[    0.000000] Booting Linux on physical CPU 0xf00
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.0 (root@vmu) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 SMP PREEMPT Mon Aug 31 19:50:29 CST 2015
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Rockchip RK3128, model: rockchip,rk3128
[    0.000000] rockchip_uboot_logo_setup: mem: 2000000@9dc00000, offset:0
[    0.000000] rockchip_uboot_mem_reserve: reserve 2000000@9dc00000 for uboot logo
[    0.000000] rockchip_ion_reserve
[    0.000000] ion heap(cma): base(0) size(800000) align(0)
[    0.000000] ion heap(vmalloc): base(0) size(0) align(0)
[    0.000000] cma: CMA: reserved 8 MiB at 9d400000
[    0.000000] ion_reserve: cma reserved base 9d400000 size 8388608
[    0.000000] cma: CMA: reserved 16 MiB at 7f000000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] PERCPU: Embedded 9 pages/cpu @c16d3000 s14016 r8192 d14656 u36864
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 261120
[    0.000000] Kernel command line: vmalloc=496M rockchip_jtag console=ttyFIQ0,115200 earlyprintk root=/dev/block/mtd/by-name/linuxroot rw rootfstype=ext4 init=/sbin/init  mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(misc),0x00008000@0x00006000(resource),0x00010000@0x0000E000(boot),0x00020000@0x0001E000(backup),-@0x0003E000(linuxroot) storagemedia=nand uboot_logo=0x02000000@0x9dc00000 loader.timestamp=2015-06-12_09:11:25
[    0.000000] rockchip jtag enabled
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] allocated 2097152 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 1024MB = 1024MB total
[    0.000000] Memory: 962480k/962480k available, 86096k reserved, 483328K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0bc5760   (12022 kB)
[    0.000000]       .init : 0xc0bc6000 - 0xc0c2d6c0   ( 414 kB)
[    0.000000]       .data : 0xc0c2e000 - 0xc0ce5338   ( 733 kB)
[    0.000000]        .bss : 0xc0d88424 - 0xc0eaa4fc   (1161 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] rk_clk_tree_init start! cru base = 0xfed00000
[    0.000000] rk_get_uboot_display_flag: uboot_logo_on = 1
[    0.000000] rkclk_init_clks: cnt_parent = 25
[    0.000000] rkclk_init_clks: cnt_rate = 17
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] Switching to timer-based delay loop
[    0.000000] sched_clock: ARM arch timer >56 bits at 24000kHz, resolution 41ns
[    0.000000] process version: 0
[    0.000000] channel:0, lkg:30
[    0.000000] target-temp:85
[    0.000000] channel:0, lkg:30
[    0.000000] target-temp:85
[    0.000000] channel:0, lkg:30
[    0.000000] target-temp:85
[    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
[    0.000000] Console: colour dummy device 80x30
[    0.586640] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.586668] pid_max: default: 32768 minimum: 301
[    0.586873] Security Framework initialized
[    0.586907] SELinux:  Initializing.
[    0.587047] Mount-cache hash table entries: 512
[    0.588313] Initializing cgroup subsys debug
[    0.588342] Initializing cgroup subsys memory
[    0.588395] Initializing cgroup subsys freezer
[    0.588457] CPU: Testing write buffer coherency: ok
[    0.589030] /cpus/cpu@0 missing clock-frequency property
[    0.589061] /cpus/cpu@1 missing clock-frequency property
[    0.589080] /cpus/cpu@2 missing clock-frequency property
[    0.589099] /cpus/cpu@3 missing clock-frequency property
[    0.589176] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.589257] Setting up static identity map for 0xc08b4f28 - 0xc08b4f80
[    0.591354] last_log: 0x7e900000 map to 0xe0804000 and copy to 0xe0886000, size 0x80000 early 0x1626 (version 3.0)
[    0.664458] CPU1: Booted secondary processor
[    0.664519] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.684168] CPU2: Booted secondary processor
[    0.684218] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.703926] CPU3: Booted secondary processor
[    0.703974] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.704171] Brought up 4 CPUs
[    0.704226] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.704242] CPU: All CPU(s) started in SVC mode.
[    0.705749] devtmpfs: initialized
[    0.715465] pinctrl core: initialized pinctrl subsystem
[    0.715996] regulator-dummy: no parameters
[    0.717584] NET: Registered protocol family 16
[    0.720863] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.721581] ion_snapshot: 0x7e998000 map to 0xe0907000 and copy to 0xc0e85a84 (version 0.1)
[    0.721818] Registered FIQ tty driver
[    0.724256] console [ttyFIQ0] enabled
[    0.724692] Registered fiq debugger ttyFIQ0
[    0.726151] rockchip_get_bank_data:name=/pinctrl@20008000/gpio0@2007c000 start=0x2007c000,end=0x2007c0ff
[    0.726294] rockchip_get_bank_data:name=/pinctrl@20008000/gpio1@20080000 start=0x20080000,end=0x200800ff
[    0.726381] rockchip_get_bank_data:name=/pinctrl@20008000/gpio2@20084000 start=0x20084000,end=0x200840ff
[    0.726461] rockchip_get_bank_data:name=/pinctrl@20008000/gpio3@20088000 start=0x20088000,end=0x200880ff
[    0.726553] rockchip_get_bank_data:name=/pinctrl@20008000/gpio15@2008A000 start=0x20086000,end=0x200860ff
[    0.726629] rockchip_pinctrl_probe:name=rk312x-GPIO,type=5
[    0.726661] rockchip_pinctrl_probe:name=base start=0x20008000,end=0x200080a7
[    0.726691] rockchip_pinctrl_probe:name=mux start=0x200080a8,end=0x200080f3
[    0.726720] rockchip_pinctrl_probe:name=pull start=0x20008118,end=0x20008137
[    0.726749] rockchip_pinctrl_probe:name=drv start=0x20008100,end=0x20008103
[    0.729550] rockchip_pinctrl_probe:init ok
[    0.737337] rk_iommu 1010e300.vop_mmu: (vop) Enter
[    0.737398] rk_iommu 1010e300.vop_mmu: skip request vop mmu irq
[    0.737515] rk_iommu 1010e300.vop_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    0.737544] rk_iommu 1010e300.vop_mmu: (vop) Initialized
[    0.737835] rk_iommu 10104440.hevc_mmu: (hevc) Enter
[    0.737985] rk_iommu 10104440.hevc_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    0.738017] rk_iommu 10104440.hevc_mmu: (hevc) Initialized
[    0.738286] rk_iommu 10106800.vpu_mmu: (vpu) Enter
[    0.738418] rk_iommu 10106800.vpu_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    0.738449] rk_iommu 10106800.vpu_mmu: (vpu) Initialized
[    0.738716] rk_iommu 10108800.iep_mmu: (iep) Enter
[    0.738846] rk_iommu 10108800.iep_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    0.738877] rk_iommu 10108800.iep_mmu: (iep) Initialized
[    0.740604] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.740635] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.740713] rk312x_pie_init: failed to load section -12
[    0.740929] DDR DEBUG: version 1.02 20140828
[    0.740962] Unable to handle kernel NULL pointer dereference at virtual address 00000008
[    1.433458] pgd = c0004000
[    1.436129] [00000008] *pgd=00000000
[    1.439672] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[    1.444900] Modules linked in:
[    1.447929] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0 #1
[    1.453758] task: de880000 ti: de866000 task.ti: de866000
[    1.459082] PC is at __kern_to_pie+0x4/0x28
[    1.463209] LR is at ddr_init.constprop.26+0x50/0x2a8
[    1.468188] pc : [<c02a88b4>]    lr : [<c0894f30>]    psr: 60000113
[    1.468188] sp : de867f08  ip : 00000000  fp : c0c287e0
[    1.479482] r10: 00000002  r9 : fed10fff  r8 : 000001fc
[    1.484628] r7 : c0d8c12c  r6 : c0d8a134  r5 : c0d8a040  r4 : c0008280
[    1.491052] r3 : 0060d478  r2 : c0d348c8  r1 : c0cd5f8c  r0 : 00000000
[    1.497478] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[    1.504671] Control: 10c5387d  Table: 6000406a  DAC: 00000015
[    1.510325]
[    1.510325] PC: 0xc02a8834:
[    1.514535] 8834  e59f0070 e0040000 e3500000 0a000008 e2401001 e2633001 e1c10000 e0832002
[    1.522690] 8854  e1a003a0 e16f0f10 e2600020 e08201c0 e8bd80f0 e3550003 e2822004 9a000006
[    1.530843] 8874  e2455004 e0827006 e1a0c000 e4974000 e35c0000 0affffe6 e8bd80f0 e0633002
[    1.538995] 8894  e1530001 22810001 e8bd80f0 e1a0000c e8bd80f0 fefefeff 80808080 e59f301c
[    1.547148] 88b4  e5902008 e79f3003 e0633001 e1530002 35900004 23a00000 30830000 e12fff1e
[    1.555301] 88d4  0060d478 e92d4010 e1a04000 e8900007 ebffdc1f e1a00004 e8bd4010 eaf98e59
[    1.563453] 88f4  e5900000 eaffdbb7 e3a00000 e12fff1e e3a00000 e12fff1e e92d4ff0 e1a09003
[    1.571607] 8914  e59f4178 e24dd024 e59f3174 e1a06002 e08f4004 e58d0014 e58d101c e3a00000
[    1.579761]
[    1.579761] LR: 0xc0894eb0:
[    1.583971] 4eb0  e0834004 e0841001 e0812002 e1a0221c e082001c e8bd8030 e0800001 e0802002
[    1.592125] 4ed0  e3a00001 e1a00210 e8bd8030 fed10fff e92d47f3 e59f0240 e59f4240 e08f0000
[    1.600278] 4ef0  e59f923c eb000ab9 e59f3238 e08f4004 e59f6234 e519ae33 e7945003 e08f6006
[    1.608431] 4f10  e59f3228 e7e0a5da e59f7224 e28aa001 e5950000 e7941003 e08f7007 ebe84e5f
[    1.616584] 4f30  e59f3210 e58600a0 e5950000 e7941003 ebe84e5a e59f3200 e587069c e5950000
[    1.624737] 4f50  e7948003 e3c81001 e2088001 ebe84e53 e59f31e8 e1808008 e5950000 e58680a4
[    1.632889] 4f70  e3a08000 e7941003 ebe84e4c e59f31d0 e7943003 e5830000 e59630a0 e5192e33
[    1.641043] 4f90  e7e226d2 e58320a0 e3a02015 e58320a4 e597369c e5838000 e59f31a8 e5950000
[    1.649197]
[    1.649197] SP: 0xde867e88:
[    1.653407] 7e88  00000020 c003ba94 00000000 00000000 00000000 00000000 c0da9cc4 00000020
[    1.661558] 7ea8  00000000 c02a88b4 60000113 ffffffff de867ef4 c000d758 00000000 c0cd5f8c
[    1.669711] 7ec8  c0d348c8 0060d478 c0008280 c0d8a040 c0d8a134 c0d8c12c 000001fc fed10fff
[    1.677863] 7ee8  00000002 c0c287e0 00000000 de867f08 c0894f30 c02a88b4 60000113 ffffffff
[    1.686015] 7f08  c0bcf354 c0d8a018 c0d8905c c0bcf354 de866000 00000000 000001fc c0d89000
[    1.694166] 7f28  c0b6fef8 c0bcf3dc 00000000 c0008704 c0bcf354 c0c00da8 c0c287ec c0d8905c
[    1.702319] 7f48  00000003 c0c203c0 c0c203a0 c0bc6c68 00000003 00000003 c0bc664c 00200200
[    1.710470] 7f68  c0cf7d78 c0bc664c 00000000 c0c286dc c0c286dc 00000000 00000000 00000000
[    1.718623]
[    1.718623] FP: 0xc0c28760:
[    1.722833] 8760  c0c02224 c0c03838 c0bcade8 c0bdbca0 c0bf0d5c c0bf1590 c0bf15ec c0bf1a60
[    1.730987] 8780  c0bf211c c0bf2a88 c0bf326c c0bf49c4 c0bf4b4c c0bf51cc c0bf6214 c0bf8ba0
[    1.739140] 87a0  c0bfe14c c0bfe20c c0bd0b70 c0bc8818 c0bc8f78 c0bca88c c0bcb0b4 c0bceaf4
[    1.747293] 87c0  c0bcf1c4 c0bcf6d8 c0bcfca4 c0bd03c4 c0bf212c c0bf214c c0c00da8 c0bcf354
[    1.755446] 87e0  c0bcf80c c0bcfdd8 c0bd04f4 c0bc8c8c c0bd37f8 c0bd5a58 c0bdbd00 c0bdf440
[    1.763599] 8800  c0be11c4 c0be1414 c0bed200 c0bed2f8 c0bee558 c0bee5b4 c0bee5f4 c0bee68c
[    1.771752] 8820  c0bee780 c0bf15b4 c0bf181c c0bf1994 c0bf1eb8 c0bf1f74 c0bf2660 c03050b0
[    1.779905] 8840  c0bf2a58 c0bf3cd0 c0bf4a0c c034b6a8 c0bf5200 c0bf5314 c0bf63e0 c0bf75b4
[    1.788061]
[    1.788061] R1: 0xc0cd5f0c:
[    1.792270] 5f0c  e59f30c0 e08f3003 e593105c e5932060 e2411001 e381143f e2422001 e381180f
[    1.800424] 5f2c  e1812402 e5842010 e5933064 e2432001 e1a030a3 e382257f e2433001 e382283f
[    1.808577] 5f4c  e38336ff e5842014 e383380f e5843018 ebfffef8 e3a03602 e584301c f57ff04f
[    1.816730] 5f6c  e3a00000 e8bd8038 e5153d7b e3130020 1a000002 ebfffeef e2544001 1afffff9
[    1.824882] 5f8c  e59f3038 e3a02807 e58320c8 e59f2038 e5832050 f57ff04f e3a00000 e8bd8038
[    1.833035] 5fac  000006a4 00000690 0000067c 00000668 0000065c 00000648 fed10fff ffffe840
[    1.841186] 5fcc  fed00000 00200020 000005d0 00300010 eaffff8e e92d40f0 e1a04000 e24dd05c
[    1.849337] 5fec  e59f51d8 ebfffc20 e59f71d4 ebfffebc e1a00004 e3a01001 ebfffff4 e79f5005
[    1.857492]
[    1.857492] R2: 0xc0d34848:
[    1.861702] 4848  00000000 00000000 00000000 00000001 00000000 00000000 ffffffe0 c0d34864
[    1.869852] 4868  c0d34864 c002d5d4 00000000 74737461 00000000 c0e2a402 c0053110 c0d34860
[    1.878004] 4888  ffffffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.886152] 48a8  00000000 00000000 00000000 00000000 00000000 00000000 c0cf7470 00000000
[    1.894302] 48c8  c0d348c8 c0d348c8 c0c2a6fc c0cf81d8 c0cfa994 c004061c c0041114 00000000
[    1.902454] 48e8  00000000 00000000 00000000 00000000 00000000 00000000 c0a75eaf c0a7848a
[    1.910604] 4908  c0c364d0 00000004 000001a4 00000000 c0043ed0 00000000 00000000 00000000
[    1.918754] 4928  c0a76040 c0c3f684 00000004 000001a4 00000000 c00727fc 00000000 c0c3f1f4
[    1.926907]
[    1.926907] R4: 0xc0008200:
[    1.931117] 8200  e1330c06 1a22252d e5876004 ea0000f0 c0008210 c0c1fa9c c0c1ff7c c0c3e384
[    1.939270] 8220  e3120003 1a00000b e5925000 e59f602c e1550006 0a000006 e3550005 13550002
[    1.947423] 8240  1a000004 e5925004 e59f6014 e1550006 1a000000 e1a0f00e e3a02000 e1a0f00e
[    1.955576] 8260  edfe0dd0 54410001 e320f000 e320f000 e320f000 e320f000 e320f000 e320f000
[    1.963728] 8280  ea0018a7 e92d40f0 e1a05000 e5903040 e24dd08c e590603c e203201f e3520013
[    1.971882] 82a0  05964000 0a000018 e3130020 e1a0200d e3c23d7f e1a00006 e3c3303f e5931008
[    1.980035] 82c0  e2411001 0a00000c eb0a131d e3500000 1a000030 e6ff4072 e3540b3a 3a00000a
[    1.988188] 82e0  e2860002 eb0a1316 e3500000 06ff2072 01824804 0a000004 ea000026 eb0a1318
[    1.996342]
[    1.996342] R5: 0xc0d89fc0:
[    2.000551] 9fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.008700] 9fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.016848] a000  00000000 00000000 00000000 02000000 9dc00000 00000001 c001f888 c001f868
[    2.024999] a020  c0021420 c001f8b8 c002032c c001efe4 c001ff48 00000000 00001c00 00000000
[    2.033150] a040  00000000 de9d4d00 31260001 00000000 00000000 00000000 00000000 00000000
[    2.041299] a060  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.049447] a080  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.057596] a0a0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.065745]
[    2.065745] R6: 0xc0d8a0b4:
[    2.069955] a0b4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.078103] a0d4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.086252] a0f4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.094400] a114  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.102549] a134  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.110697] a154  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.118846] a174  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.126994] a194  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.135145]
[    2.135145] R7: 0xc0d8c0ac:
[    2.139355] c0ac  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.147504] c0cc  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.155652] c0ec  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.163801] c10c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.171950] c12c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.180098] c14c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.188247] c16c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.196395] c18c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.204545]
[    2.204545] R9: 0xfed10f7f:
[    2.208755] 0f7c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.216905] 0f9c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.225055] 0fbc  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.233204] 0fdc  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.241353] 0ffc  00000000 ******** ******** ******** ******** ******** ******** ********
[    2.249505] 101c  ******** ******** ******** ******** ******** ******** ******** ********
[    2.257654] 103c  ******** ******** ******** ******** ******** ******** ******** ********
[    2.265804] 105c  ******** ******** ******** ******** ******** ******** ******** ********
[    2.273953] 107c  ******** ******** ******** ******** ******** ******** ******** ********
[    2.282107] Process swapper/0 (pid: 1, stack limit = 0xde866238)
[    2.288020] Stack: (0xde867f08 to 0xde868000)
[    2.292319] 7f00:                   c0bcf354 c0d8a018 c0d8905c c0bcf354 de866000 00000000
[    2.300374] 7f20: 000001fc c0d89000 c0b6fef8 c0bcf3dc 00000000 c0008704 c0bcf354 c0c00da8
[    2.308427] 7f40: c0c287ec c0d8905c 00000003 c0c203c0 c0c203a0 c0bc6c68 00000003 00000003
[    2.316481] 7f60: c0bc664c 00200200 c0cf7d78 c0bc664c 00000000 c0c286dc c0c286dc 00000000
[    2.324533] 7f80: 00000000 00000000 00000000 00000000 00000000 c0bc6d58 de866000 00000000
[    2.332585] 7fa0: c0890ab4 c0890abc 00000000 c000dc58 00000000 00000000 00000000 00000000
[    2.340635] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.348686] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 eb7a583a 9c6b7baa
[    2.356756] [<c02a88b4>] (__kern_to_pie+0x4/0x28) from [<c0894f30>] (ddr_init.constprop.26+0x50/0x2a8)
[    2.365928] [<c0894f30>] (ddr_init.constprop.26+0x50/0x2a8) from [<c0bcf3dc>] (rk312x_ddr_init+0x88/0xbc)
[    2.375354] [<c0bcf3dc>] (rk312x_ddr_init+0x88/0xbc) from [<c0008704>] (do_one_initcall+0x38/0xf8)
[    2.384183] [<c0008704>] (do_one_initcall+0x38/0xf8) from [<c0bc6c68>] (do_initcalls+0xa0/0xd8)
[    2.392753] [<c0bc6c68>] (do_initcalls+0xa0/0xd8) from [<c0bc6d58>] (kernel_init_freeable+0xb4/0x170)
[    2.401838] [<c0bc6d58>] (kernel_init_freeable+0xb4/0x170) from [<c0890abc>] (kernel_init+0x8/0x110)
[    2.410838] [<c0890abc>] (kernel_init+0x8/0x110) from [<c000dc58>] (ret_from_fork+0x14/0x3c)
[    2.419147] Code: e8bd80f0 fefefeff 80808080 e59f301c (e5902008)
[    2.425222] ---[ end trace 1b75b31a2719ed1c ]---
[    2.429831] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    2.429831]
[    2.438830] CPU3: stopping
[    2.441509] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D      3.10.0 #1
[    2.448297] [<c0014620>] (unwind_backtrace+0x0/0xe8) from [<c0011c24>] (show_stack+0x10/0x14)
[    2.456698] [<c0011c24>] (show_stack+0x10/0x14) from [<c00135dc>] (handle_IPI+0x170/0x2f8)
[    2.464840] [<c00135dc>] (handle_IPI+0x170/0x2f8) from [<c0008598>] (gic_handle_irq+0x5c/0x68)
[    2.473324] [<c0008598>] (gic_handle_irq+0x5c/0x68) from [<c000d7c0>] (__irq_svc+0x40/0x70)
[    2.481540] Exception stack(0xde8b5f70 to 0xde8b5fb8)
[    2.486518] 5f60:                                     ffffffed ffff8ae0 00000000 00000000
[    2.494572] 5f80: de8b4000 00000015 10c0387d c0ce1ed9 6000406a 410fc075 00000000 00bb7c4c
[    2.502623] 5fa0: 00000003 de8b5fb8 c000e9c4 c000e9c8 60000113 ffffffff
[    2.509147] [<c000d7c0>] (__irq_svc+0x40/0x70) from [<c000e9c8>] (arch_cpu_idle+0x34/0x3c)
[    2.517291] [<c000e9c8>] (arch_cpu_idle+0x34/0x3c) from [<c007e9d8>] (cpu_idle_loop+0x1c4/0x230)
[    2.525947] [<c007e9d8>] (cpu_idle_loop+0x1c4/0x230) from [<c007ea50>] (freezing_slow_path+0x0/0x74)
[    2.534933] [<c007ea50>] (freezing_slow_path+0x0/0x74) from [<600081bc>] (0x600081bc)
[    2.542638] CPU1: stopping
[    2.545317] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D      3.10.0 #1
[    2.552101] [<c0014620>] (unwind_backtrace+0x0/0xe8) from [<c0011c24>] (show_stack+0x10/0x14)
[    2.560500] [<c0011c24>] (show_stack+0x10/0x14) from [<c00135dc>] (handle_IPI+0x170/0x2f8)
[    2.568642] [<c00135dc>] (handle_IPI+0x170/0x2f8) from [<c0008598>] (gic_handle_irq+0x5c/0x68)
[    2.577125] [<c0008598>] (gic_handle_irq+0x5c/0x68) from [<c000d7c0>] (__irq_svc+0x40/0x70)
[    2.585341] Exception stack(0xde8b1f70 to 0xde8b1fb8)
[    2.590319] 1f60:                                     ffffffed ffff8ae0 00000000 00000000
[    2.598372] 1f80: de8b0000 00000015 10c0387d c0ce1ed9 6000406a 410fc075 00000000 00bb7c4c
[    2.606424] 1fa0: 00000001 de8b1fb8 c000e9c4 c000e9c8 60000113 ffffffff
[    2.612947] [<c000d7c0>] (__irq_svc+0x40/0x70) from [<c000e9c8>] (arch_cpu_idle+0x34/0x3c)
[    2.621091] [<c000e9c8>] (arch_cpu_idle+0x34/0x3c) from [<c007e9d8>] (cpu_idle_loop+0x1c4/0x230)
[    2.629746] [<c007e9d8>] (cpu_idle_loop+0x1c4/0x230) from [<c007ea50>] (freezing_slow_path+0x0/0x74)
[    2.638738] [<c007ea50>] (freezing_slow_path+0x0/0x74) from [<600081bc>] (0x600081bc)
[    2.646443] CPU2: stopping
[    2.649121] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G      D      3.10.0 #1
[    2.655905] [<c0014620>] (unwind_backtrace+0x0/0xe8) from [<c0011c24>] (show_stack+0x10/0x14)
[    2.664304] [<c0011c24>] (show_stack+0x10/0x14) from [<c00135dc>] (handle_IPI+0x170/0x2f8)
[    2.672446] [<c00135dc>] (handle_IPI+0x170/0x2f8) from [<c0008598>] (gic_handle_irq+0x5c/0x68)
[    2.680930] [<c0008598>] (gic_handle_irq+0x5c/0x68) from [<c000d7c0>] (__irq_svc+0x40/0x70)
[    2.689146] Exception stack(0xde8b3f70 to 0xde8b3fb8)
[    2.694124] 3f60:                                     ffffffed ffff8ae0 00000000 00000000
[    2.702178] 3f80: de8b2000 00000015 10c0387d c0ce1ed9 6000406a 410fc075 00000000 00bb7c4c
[    2.710229] 3fa0: 00000002 de8b3fb8 c000e9c4 c000e9c8 60000113 ffffffff
[    2.716752] [<c000d7c0>] (__irq_svc+0x40/0x70) from [<c000e9c8>] (arch_cpu_idle+0x34/0x3c)
[    2.724896] [<c000e9c8>] (arch_cpu_idle+0x34/0x3c) from [<c007e9d8>] (cpu_idle_loop+0x1c4/0x230)
[    2.733551] [<c007e9d8>] (cpu_idle_loop+0x1c4/0x230) from [<c007ea50>] (freezing_slow_path+0x0/0x74)
[    2.742544] [<c007ea50>] (freezing_slow_path+0x0/0x74) from [<600081bc>] (0x600081bc)
[    2.750249] CRU:
[    2.752075] 00000000: 0000304b 00001441 00000000 00000000
[    2.757395] 00000010: 0000304b 00001441 00000001 00000000
[    2.762715] 00000020: 000020c8 00001446 00000000 00000000
[    2.768035] 00000030: 00002063 00001442 00000000 00000000
[    2.773355] 00000040: 00001111 00004000 00003113 00008307
[    2.778676] 00000050: 0000401f 00000083 00008003 0000421f
[    2.783997] 00000060: 0bb8ea60 0bb8ea60 0000401f 0000a100
[    2.789317] 00000070: 000080bd 0000bd97 0000521f 0000021f
[    2.794638] 00000080: 0000021f 00000200 0bb8ea60 0bb8ea60
[    2.799958] 00000090: 0bb8ea60 0bb8ea60 00000000 00000000
[    2.805278] 000000a0: 00000102 00001700 0000011f 00000000
[    2.810598] 000000b0: 00000701 00000300 00000526 00008100
[    2.815917] 000000c0: 00004040 00004040 00000000 00002221
[    2.821236] 000000d0: 00000000 00000000 00000000 00000000
[    2.826555] 000000e0: 00000000 00000000 00000000 00000000
[    2.831874] 000000f0: 00000000 00000000 00000000 00000000
[    2.837192] 00000100: 00000000 00000000 00000000 00000000
[    2.842511] 00000110: 00000000 00000000 00000000 00000000
[    2.847830] 00000120: 00000000 00000000 00000000 00000000
[    2.853149] 00000130: 00000000 00000000 00000000 00000000
[    2.858468] 00000140: 3a981064 00000000 00000000 00000000
[    2.863787] 00000150: 00000002 00000000 00000000 00000000
[    2.869106] 00000160: 00000000 00000000 00000000 00000000
[    2.874425] 00000170: 00000000 00000000 00000000 00000000
[    2.879743] 00000180: 00000000 00000000 00000000 00000000
[    2.885062] 00000190: 00000000 00000000 00000000 00000000
[    2.890381] 000001a0: 00000000 00000000 00000000 00000000
[    2.895700] 000001b0: 00000000 00000000 00000000 00000000
[    2.901019] 000001c0: 00000004 00000000 00000004 00000000
[    2.906337] 000001d0: 00000000 00000000 00000004 00000000
[    2.911656] 000001e0: 00000000 00000000 00000000 00000000
[    2.916975] 000001f0: 00005a5a 00000000 00000000 00000000
[    2.922296] 00000200: 0000304b 00001441 00000000 00000000
[    2.927615] 00000210: 0000304b 00001441 00000001 00000000
[    2.932931] Rebooting in 5 seconds..



回复

使用道具 举报

152

积分

0

威望

6

贡献

技术小白

积分
152
发表于 2015-9-2 16:39:19        只看该作者  沙发
但烧写分区映像 把前述步骤编译的linux-boot.img烧写到uboot分区(boot分区的地址已修改为0x0000E000)之后,内核出错
错误信息:
rk312x_pie_init: failed to load section -12


确认是将 linux-boot.img 烧写到 "uboot" 分区?
将日志上看,是 DDR 初始化失败了。
回复

使用道具 举报

20

积分

0

威望

0

贡献

游客

积分
20
发表于 2015-9-7 10:01:46        只看该作者  板凳
busybee 发表于 2015-9-2 16:39
确认是将 linux-boot.img 烧写到 "uboot" 分区?
将日志上看,是 DDR 初始化失败了。

找到原因了,是工具链的问题,现在可以启动了;

因为不能翻墙,没能成功下载这个路径的工具链
https://android.googlesource.com ... s/android-4.4.2_r1/
要不版主做个好事,把这个工具单独在网盘上。
从6G的SDK中把这个工具链抠出来也太慢了。
回复

使用道具 举报

11

积分

0

威望

0

贡献

技术小白

积分
11
发表于 2015-11-1 13:11:44        只看该作者  地板
new_user 发表于 2015-9-7 10:01
找到原因了,是工具链的问题,现在可以启动了;

因为不能翻墙,没能成功下载这个路径的工具链

你好,想问一下你是怎么解决的,我现在遇到了和你相似的问题,我用的编译器是gcc-linaro-arm-none-eabi-4.9-2014.09_linux,或者说,你找到官方的编译器了吗?能否打包发我一份:gjianw217@163.com,不胜感激!
回复

使用道具 举报

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

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表