Firefly开源社区

打印 上一主题 下一主题

请教:FirePrime Ubuntu 系统aplay命令出错,不能播放声音文件。

47

积分

0

威望

0

贡献

游客

积分
47

请教:FirePrime Ubuntu 系统aplay命令出错,不能播放声音文件。

发表于 2015-7-7 06:54:25      浏览:11612 | 回复:14        打印     [复制链接] 楼主
为什么FirePrime安装最新的Ubuntu系统后,使用aplay命令出错,不能播放声音文件。
回复

使用道具 举报

47

积分

0

威望

0

贡献

游客

积分
47
发表于 2015-7-10 11:06:17      沙发
谢谢回复,播放自带的WAV没问题。
firefly@firefly:~$ aplay /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
换一个不同RATE的WAV文件就出错,错误信息如下。
firefly@firefly:~$ aplay ./test.wav
Playing WAVE './test.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
aplay: set_params:1297: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 16
CHANNELS: 1
RATE: 16000
PERIOD_TIME: 125000
PERIOD_SIZE: 2000
PERIOD_BYTES: 4000
PERIODS: 4
BUFFER_TIME: 500000
BUFFER_SIZE: 8000
BUFFER_BYTES: 16000
TICK_TIME: 0
回复

使用道具 举报

47

积分

0

威望

0

贡献

游客

积分
47
发表于 2015-7-11 21:30:40      板凳
busybee 发表于 2015-7-11 10:21
试试以下补丁:
diff --git a/kernel/sound/soc/codecs/rk312x_codec.c b/kernel/sound/soc/codecs/rk312x ...

按照你这个提示,打完补丁,并且按照http://wiki.t-firefly.com/index.php/FirePrime/Build_kernel步骤编译好boot.img烧写到 "boot"块后系统不能启动,看来只能等你们发布打完补丁后的ubuntu固件了。
回复

使用道具 举报

47

积分

0

威望

0

贡献

游客

积分
47
发表于 2015-7-13 19:47:37      地板
busybee 发表于 2015-7-13 11:33
板子上原来的系统是双系统还是单系统?

请将附件 linux-boot-test-alsa.zip 解压得 linux-boot-test-als ...

我装的是单UBUNTU系统,等有时间我稍一下试试。我买的这台,使用USB摄像头的时候,有时会突然死机或重启,芯片上已经加装了散热片,不知道你们其他机器有没有碰到这个问题。
回复

使用道具 举报

47

积分

0

威望

0

贡献

游客

积分
47
发表于 2015-7-13 21:13:33      5#
busybee 发表于 2015-7-13 11:33
板子上原来的系统是双系统还是单系统?

请将附件 linux-boot-test-alsa.zip 解压得 linux-boot-test-als ...

刚才用你提供的文件烧到BOOT分区后,aplay命令正常了,谢谢。想继续请教,为什么我自己严格安装教程编译的内核烧到BOOT分区后不能启动,你这个就没问题。
回复

使用道具 举报

47

积分

0

威望

0

贡献

游客

积分
47
发表于 2015-7-14 15:38:23      6#
busybee 发表于 2015-7-14 10:01
不清楚呢,或者把你的映像上传上来,看是哪里出错了。

DDR Version 2.04 20150121
In
1A1A2A2B   0
1A1A2929   3
LPDDR2
29292929   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 1374
No.1 FLASH ID:ad de 14 a7 42 4a
ECC:60
▒▒▒▒▒d▒A▒▒▒=▒▒͕▒▒0 , 0
StorageInit ok = 979597
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▒▒▒▒▒▒storage 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
read retry status ffffffff 0 0
read retry status ffffffff 0 100
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 2015-06-12#2.25
empty serial no.
checkKey
vbus = 0
dwc_otg_check_dpdm: usb bc disconnected
use dc chg rk818_charger_setting iset1:0x79 chgiset:0x75 current 0
dwc_otg_check_dpdm: usb bc disconnected
read logo_on switch from dts [1]
can't find power_ctr node for lcdc0
dwc_otg_check_dpdm: usb bc disconnected
failed to find part:logo
Hit any key to stop autoboot:  0
boot/recovery image sha mismatch!
Unable to boot:boot
try to start recovery
failed to find part:recovery
'recovery' does not seem to be a partition nor an address
Unable to boot:recovery
try to start backup
failed to find part:kernel
ERROR: [rk_load_image_from_storage]: bootrk: bad boot or kernel image
Unable to boot:backup
try to start rockusb

上面是我按照教程编译的内核烧到BOOT块的启动信息。
回复

使用道具 举报

47

积分

0

威望

0

贡献

游客

积分
47
发表于 2015-7-15 12:07:37      7#
busybee 发表于 2015-7-15 09:28
打包内核和内存盘一节有补充:
truncate -s "%4" initrd.img
mkbootimg --kernel arch/arm/boot/zImage - ...

In
1A1A2A2B   0
1A1A2929   3
LPDDR2
29292929   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 1372
No.1 FLASH ID:ad de 14 a7 42 4a
ECC:60
*V▒k%▒▒▒▒0 20
StorageInit ok = 738825
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
read retry status ffffffff 0 0
read retry status ffffffff 0 100
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 2015-06-12#2.25
empty serial no.
checkKey
vbus = 0
dwc_otg_check_dpdm: usb bc disconnected
dwc_otg_check_dpdm: usb bc disconnected
read logo_on switch from dts [1]
can't find power_ctr node for lcdc0
dwc_otg_check_dpdm: usb bc disconnected
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 (0x006e8350)
ramdisk  @ 0x65bf0000 (0x002986f4)
bootrk: do_bootm_linux...
   Loading Device Tree to 65600000, end 65616295 ... 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 (zsy@ubuntu) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #2 SMP PREEMPT Wed Jul 15 11:42:02 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] Boot mode: PANIC (7) flag: NORMAL (0xc3524200)
[    0.000000] PERCPU: Embedded 9 pages/cpu @c16d5000 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: 962476k/962476k available, 86100k 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 - 0xc0bc6780   (12026 kB)
[    0.000000]       .init : 0xc0bc7000 - 0xc0c2e6c0   ( 414 kB)
[    0.000000]       .data : 0xc0c30000 - 0xc0ce7338   ( 733 kB)
[    0.000000]        .bss : 0xc0d8a4a4 - 0xc0eac4fc   (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:27
[    0.000000] target-temp:85
[    0.000000] channel:0, lkg:27
[    0.000000] target-temp:85
[    0.000000] channel:0, lkg:27
[    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.587629] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.587657] pid_max: default: 32768 minimum: 301
[    0.587863] Security Framework initialized
[    0.587898] SELinux:  Initializing.
[    0.588039] Mount-cache hash table entries: 512
[    0.589293] Initializing cgroup subsys debug
[    0.589322] Initializing cgroup subsys memory
[    0.589376] Initializing cgroup subsys freezer
[    0.589438] CPU: Testing write buffer coherency: ok
[    0.590007] /cpus/cpu@0 missing clock-frequency property
[    0.590035] /cpus/cpu@1 missing clock-frequency property
[    0.590055] /cpus/cpu@2 missing clock-frequency property
[    0.590074] /cpus/cpu@3 missing clock-frequency property
[    0.590152] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.590231] Setting up static identity map for 0xc08b5040 - 0xc08b5098
[    0.592421] last_log: 0x7e900000 map to 0xe0804000 and copy to 0xe0886000, size 0x80000 early 0x1669 (version 3.0)
[    0.665474] CPU1: Booted secondary processor
[    0.665536] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.685168] CPU2: Booted secondary processor
[    0.685216] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.704938] CPU3: Booted secondary processor
[    0.704987] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.705188] Brought up 4 CPUs
[    0.705244] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.705260] CPU: All CPU(s) started in SVC mode.
[    0.706763] devtmpfs: initialized
[    0.716468] pinctrl core: initialized pinctrl subsystem
[    0.716998] regulator-dummy: no parameters
[    0.718576] NET: Registered protocol family 16
[    0.721835] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.722643] ion_snapshot: 0x7ea18000 map to 0xe0907000 and copy to 0xc0e87a84 (version 0.1)
[    0.722900] Registered FIQ tty driver
[    0.725354] console [ttyFIQ0] enabled
[    0.725728] Registered fiq debugger ttyFIQ0
[    0.727169] rockchip_get_bank_data:name=/pinctrl@20008000/gpio0@2007c000 start=0x2007c000,end=0x2007c0ff
[    0.727313] rockchip_get_bank_data:name=/pinctrl@20008000/gpio1@20080000 start=0x20080000,end=0x200800ff
[    0.727399] rockchip_get_bank_data:name=/pinctrl@20008000/gpio2@20084000 start=0x20084000,end=0x200840ff
[    0.727479] rockchip_get_bank_data:name=/pinctrl@20008000/gpio3@20088000 start=0x20088000,end=0x200880ff
[    0.727571] rockchip_get_bank_data:name=/pinctrl@20008000/gpio15@2008A000 start=0x20086000,end=0x200860ff
[    0.727645] rockchip_pinctrl_probe:name=rk312x-GPIO,type=5
[    0.727677] rockchip_pinctrl_probe:name=base start=0x20008000,end=0x200080a7
[    0.727706] rockchip_pinctrl_probe:name=mux start=0x200080a8,end=0x200080f3
[    0.727735] rockchip_pinctrl_probe:name=pull start=0x20008118,end=0x20008137
[    0.727764] rockchip_pinctrl_probe:name=drv start=0x20008100,end=0x20008103
[    0.730551] rockchip_pinctrl_probe:init ok
[    0.738337] rk_iommu 1010e300.vop_mmu: (vop) Enter
[    0.738398] rk_iommu 1010e300.vop_mmu: skip request vop mmu irq
[    0.738498] rk_iommu 1010e300.vop_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    0.738527] rk_iommu 1010e300.vop_mmu: (vop) Initialized
[    0.738814] rk_iommu 10104440.hevc_mmu: (hevc) Enter
[    0.738968] rk_iommu 10104440.hevc_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    0.738999] rk_iommu 10104440.hevc_mmu: (hevc) Initialized
[    0.739280] rk_iommu 10106800.vpu_mmu: (vpu) Enter
[    0.739418] rk_iommu 10106800.vpu_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    0.739449] rk_iommu 10106800.vpu_mmu: (vpu) Initialized
[    0.739713] rk_iommu 10108800.iep_mmu: (iep) Enter
[    0.739845] rk_iommu 10108800.iep_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    0.739876] rk_iommu 10108800.iep_mmu: (iep) Initialized
[    0.741651] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.741682] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.741767] rk312x_pie_init: failed to load section -12
[    0.741984] DDR DEBUG: version 1.02 20140828
[    0.742017] Unable to handle kernel NULL pointer dereference at virtual address 00000008
[    1.440147] pgd = c0004000
[    1.442817] [00000008] *pgd=00000000
[    1.446361] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[    1.451589] Modules linked in:
[    1.454618] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.10.0 #2
[    1.460447] task: de880000 ti: de866000 task.ti: de866000
[    1.465773] PC is at __kern_to_pie+0x4/0x28
[    1.469900] LR is at ddr_init.constprop.26+0x50/0x2a8
[    1.474879] pc : [<c02a88b4>]    lr : [<c0895044>]    psr: 60000113
[    1.474879] sp : de867f08  ip : 00000000  fp : c0c29900
[    1.486172] r10: 00000002  r9 : fed10fff  r8 : 000001fc
[    1.491318] r7 : c0d8e12c  r6 : c0d8c134  r5 : c0d8c040  r4 : c0008280
[    1.497742] r3 : 0060d598  r2 : c0d36948  r1 : c0cd7f8c  r0 : 00000000
[    1.504168] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[    1.511361] Control: 10c5387d  Table: 6000406a  DAC: 00000015
[    1.517016]
[    1.517016] PC: 0xc02a8834:
[    1.521225] 8834  e59f0070 e0040000 e3500000 0a000008 e2401001 e2633001 e1c10000 e0832002
[    1.529379] 8854  e1a003a0 e16f0f10 e2600020 e08201c0 e8bd80f0 e3550003 e2822004 9a000006
[    1.537533] 8874  e2455004 e0827006 e1a0c000 e4974000 e35c0000 0affffe6 e8bd80f0 e0633002
[    1.545685] 8894  e1530001 22810001 e8bd80f0 e1a0000c e8bd80f0 fefefeff 80808080 e59f301c
[    1.553837] 88b4  e5902008 e79f3003 e0633001 e1530002 35900004 23a00000 30830000 e12fff1e
[    1.561989] 88d4  0060d598 e92d4010 e1a04000 e8900007 ebffdc1f e1a00004 e8bd4010 eaf98e58
[    1.570142] 88f4  e5900000 eaffdbb7 e3a00000 e12fff1e e3a00000 e12fff1e e92d4ff0 e1a09003
[    1.578294] 8914  e59f4178 e24dd024 e59f3174 e1a06002 e08f4004 e58d0014 e58d101c e3a00000
[    1.586449]
[    1.586449] LR: 0xc0894fc4:
[    1.590659] 4fc4  e0834004 e0841001 e0812002 e1a0221c e082001c e8bd8030 e0800001 e0802002
[    1.598813] 4fe4  e3a00001 e1a00210 e8bd8030 fed10fff e92d47f3 e59f0240 e59f4240 e08f0000
[    1.606966] 5004  e59f923c eb000ab9 e59f3238 e08f4004 e59f6234 e519ae33 e7945003 e08f6006
[    1.615119] 5024  e59f3228 e7e0a5da e59f7224 e28aa001 e5950000 e7941003 e08f7007 ebe84e1a
[    1.623271] 5044  e59f3210 e58600a0 e5950000 e7941003 ebe84e15 e59f3200 e587069c e5950000
[    1.631424] 5064  e7948003 e3c81001 e2088001 ebe84e0e e59f31e8 e1808008 e5950000 e58680a4
[    1.639577] 5084  e3a08000 e7941003 ebe84e07 e59f31d0 e7943003 e5830000 e59630a0 e5192e33
[    1.647730] 50a4  e7e226d2 e58320a0 e3a02015 e58320a4 e597369c e5838000 e59f31a8 e5950000
[    1.655884]
[    1.655884] SP: 0xde867e88:
[    1.660094] 7e88  00000020 c003ba94 00000000 00000000 00000000 00000000 c0dabcc4 00000020
[    1.668244] 7ea8  00000001 c02a88b4 60000113 ffffffff de867ef4 c000d758 00000000 c0cd7f8c
[    1.676396] 7ec8  c0d36948 0060d598 c0008280 c0d8c040 c0d8c134 c0d8e12c 000001fc fed10fff
[    1.684548] 7ee8  00000002 c0c29900 00000000 de867f08 c0895044 c02a88b4 60000113 ffffffff
[    1.692700] 7f08  c0bd0354 c0d8c018 c0d8b05c c0bd0354 de866000 00000000 000001fc c0d8b000
[    1.700852] 7f28  c0b70008 c0bd03dc 00000000 c0008704 c0bd0354 c0c01e70 c0c2990c c0d8b05c
[    1.709004] 7f48  00000003 c0c214d0 c0c214b0 c0bc7c68 00000003 00000003 c0bc764c 00200200
[    1.717155] 7f68  c0cf9d78 c0bc764c 00000000 c0c297fc c0c297fc 00000000 00000000 00000000
[    1.725307]
[    1.725307] FP: 0xc0c29880:
[    1.729517] 9880  c0c032ec c0c04900 c0bcbde8 c0bdcca0 c0bf1d5c c0bf2590 c0bf25ec c0bf2b28
[    1.737670] 98a0  c0bf31e4 c0bf3b50 c0bf4334 c0bf5a8c c0bf5c14 c0bf6294 c0bf72dc c0bf9c68
[    1.745823] 98c0  c0bff214 c0bff2d4 c0bd1b70 c0bc9818 c0bc9f78 c0bcb88c c0bcc0b4 c0bcfaf4
[    1.753976] 98e0  c0bd01c4 c0bd06d8 c0bd0ca4 c0bd13c4 c0bf31f4 c0bf3214 c0c01e70 c0bd0354
[    1.762129] 9900  c0bd080c c0bd0dd8 c0bd14f4 c0bc9c8c c0bd47f8 c0bd6a58 c0bdcd00 c0be0440
[    1.770281] 9920  c0be21c4 c0be2414 c0bee200 c0bee2f8 c0bef558 c0bef5b4 c0bef5f4 c0bef68c
[    1.778434] 9940  c0bef780 c0bf25b4 c0bf281c c0bf2a5c c0bf2f80 c0bf303c c0bf3728 c03051b8
[    1.786587] 9960  c0bf3b20 c0bf4d98 c0bf5ad4 c034b7b0 c0bf62c8 c0bf63dc c0bf74a8 c0bf867c
[    1.794742]
[    1.794742] R1: 0xc0cd7f0c:
[    1.798952] 7f0c  e59f30c0 e08f3003 e593105c e5932060 e2411001 e381143f e2422001 e381180f
[    1.807105] 7f2c  e1812402 e5842010 e5933064 e2432001 e1a030a3 e382257f e2433001 e382283f
[    1.815258] 7f4c  e38336ff e5842014 e383380f e5843018 ebfffef8 e3a03602 e584301c f57ff04f
[    1.823411] 7f6c  e3a00000 e8bd8038 e5153d7b e3130020 1a000002 ebfffeef e2544001 1afffff9
[    1.831564] 7f8c  e59f3038 e3a02807 e58320c8 e59f2038 e5832050 f57ff04f e3a00000 e8bd8038
[    1.839717] 7fac  000006a4 00000690 0000067c 00000668 0000065c 00000648 fed10fff ffffe840
[    1.847867] 7fcc  fed00000 00200020 000005d0 00300010 eaffff8e e92d40f0 e1a04000 e24dd05c
[    1.856019] 7fec  e59f51d8 ebfffc20 e59f71d4 ebfffebc e1a00004 e3a01001 ebfffff4 e79f5005
[    1.864174]
[    1.864174] R2: 0xc0d368c8:
[    1.868383] 68c8  00000000 00000000 00000000 00000001 00000000 00000000 ffffffe0 c0d368e4
[    1.876532] 68e8  c0d368e4 c002d5d4 00000000 74737461 00000000 c0e2c402 c0053110 c0d368e0
[    1.884684] 6908  ffffffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.892833] 6928  00000000 00000000 00000000 00000000 00000000 00000000 c0cf9470 00000000
[    1.900982] 6948  c0d36948 c0d36948 c0c2b6fc c0cfa1d8 c0cfc994 c004061c c0041114 00000000
[    1.909134] 6968  00000000 00000000 00000000 00000000 00000000 00000000 c0a75f1f c0a784fa
[    1.917283] 6988  c0c384d0 00000004 000001a4 00000000 c0043ed0 00000000 00000000 00000000
[    1.925433] 69a8  c0a760b0 c0c41684 00000004 000001a4 00000000 c00727fc 00000000 c0c411f4
[    1.933585]
[    1.933585] R4: 0xc0008200:
[    1.937795] 8200  e1330c06 1a222572 e5876004 ea0000f0 c0008210 c0c20bac c0c2108c c0c40384
[    1.945949] 8220  e3120003 1a00000b e5925000 e59f602c e1550006 0a000006 e3550005 13550002
[    1.954101] 8240  1a000004 e5925004 e59f6014 e1550006 1a000000 e1a0f00e e3a02000 e1a0f00e
[    1.962254] 8260  edfe0dd0 54410001 e320f000 e320f000 e320f000 e320f000 e320f000 e320f000
[    1.970407] 8280  ea0018a7 e92d40f0 e1a05000 e5903040 e24dd08c e590603c e203201f e3520013
[    1.978560] 82a0  05964000 0a000018 e3130020 e1a0200d e3c23d7f e1a00006 e3c3303f e5931008
[    1.986713] 82c0  e2411001 0a00000c eb0a131d e3500000 1a000030 e6ff4072 e3540b3a 3a00000a
[    1.994866] 82e0  e2860002 eb0a1316 e3500000 06ff2072 01824804 0a000004 ea000026 eb0a1318
[    2.003020]
[    2.003020] R5: 0xc0d8bfc0:
[    2.007230] bfc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.015378] bfe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.023526] c000  00000007 00000000 00000000 02000000 9dc00000 00000001 c001f888 c001f868
[    2.031677] c020  c0021420 c001f8b8 c002032c c001efe4 c001ff48 00000000 00001c00 00000000
[    2.039829] c040  00000000 de9d6300 31260001 00000000 00000000 00000000 00000000 00000000
[    2.047977] c060  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.056125] c080  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.064273] c0a0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.072423]
[    2.072423] R6: 0xc0d8c0b4:
[    2.076632] c0b4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.084781] c0d4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.092929] c0f4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.101077] c114  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.109225] c134  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.117372] c154  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.125519] c174  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.133667] c194  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.141816]
[    2.141816] R7: 0xc0d8e0ac:
[    2.146025] e0ac  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.154174] e0cc  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.162321] e0ec  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.170469] e10c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.178617] e12c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.186766] e14c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.194914] e16c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.203061] e18c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.211211]
[    2.211211] R9: 0xfed10f7f:
[    2.215420] 0f7c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.223569] 0f9c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.231718] 0fbc  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.239867] 0fdc  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.248016] 0ffc  00000000 ******** ******** ******** ******** ******** ******** ********
[    2.256168] 101c  ******** ******** ******** ******** ******** ******** ******** ********
[    2.264318] 103c  ******** ******** ******** ******** ******** ******** ******** ********
[    2.272467] 105c  ******** ******** ******** ******** ******** ******** ******** ********
[    2.280616] 107c  ******** ******** ******** ******** ******** ******** ******** ********
[    2.288769] Process swapper/0 (pid: 1, stack limit = 0xde866238)
[    2.294682] Stack: (0xde867f08 to 0xde868000)
[    2.298982] 7f00:                   c0bd0354 c0d8c018 c0d8b05c c0bd0354 de866000 00000000
[    2.307036] 7f20: 000001fc c0d8b000 c0b70008 c0bd03dc 00000000 c0008704 c0bd0354 c0c01e70
[    2.315090] 7f40: c0c2990c c0d8b05c 00000003 c0c214d0 c0c214b0 c0bc7c68 00000003 00000003
[    2.323143] 7f60: c0bc764c 00200200 c0cf9d78 c0bc764c 00000000 c0c297fc c0c297fc 00000000
[    2.331195] 7f80: 00000000 00000000 00000000 00000000 00000000 c0bc7d58 de866000 00000000
[    2.339247] 7fa0: c0890bc8 c0890bd0 00000000 c000dc58 00000000 00000000 00000000 00000000
[    2.347297] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.355348] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 c0c0c0c0 c0c0c0c0
[    2.363418] [<c02a88b4>] (__kern_to_pie+0x4/0x28) from [<c0895044>] (ddr_init.constprop.26+0x50/0x2a8)
[    2.372591] [<c0895044>] (ddr_init.constprop.26+0x50/0x2a8) from [<c0bd03dc>] (rk312x_ddr_init+0x88/0xbc)
[    2.382016] [<c0bd03dc>] (rk312x_ddr_init+0x88/0xbc) from [<c0008704>] (do_one_initcall+0x38/0xf8)
[    2.390844] [<c0008704>] (do_one_initcall+0x38/0xf8) from [<c0bc7c68>] (do_initcalls+0xa0/0xd8)
[    2.399415] [<c0bc7c68>] (do_initcalls+0xa0/0xd8) from [<c0bc7d58>] (kernel_init_freeable+0xb4/0x170)
[    2.408499] [<c0bc7d58>] (kernel_init_freeable+0xb4/0x170) from [<c0890bd0>] (kernel_init+0x8/0x110)
[    2.417498] [<c0890bd0>] (kernel_init+0x8/0x110) from [<c000dc58>] (ret_from_fork+0x14/0x3c)
[    2.425807] Code: e8bd80f0 fefefeff 80808080 e59f301c (e5902008)
[    2.431940] ---[ end trace 1b75b31a2719ed1c ]---
[    2.436552] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    2.436552]
[    2.445551] CPU2: stopping
[    2.448230] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G      D      3.10.0 #2
[    2.455019] [<c0014620>] (unwind_backtrace+0x0/0xe8) from [<c0011c24>] (show_stack+0x10/0x14)
[    2.463418] [<c0011c24>] (show_stack+0x10/0x14) from [<c00135dc>] (handle_IPI+0x170/0x2f8)
[    2.471561] [<c00135dc>] (handle_IPI+0x170/0x2f8) from [<c0008598>] (gic_handle_irq+0x5c/0x68)
[    2.480045] [<c0008598>] (gic_handle_irq+0x5c/0x68) from [<c000d7c0>] (__irq_svc+0x40/0x70)
[    2.488260] Exception stack(0xde8b3f70 to 0xde8b3fb8)
[    2.493238] 3f60:                                     ffffffed ffff8b8c 00000000 00000000
[    2.501292] 3f80: de8b2000 00000015 10c0387d c0ce3ed9 6000406a 410fc075 00000000 00bb9c4c
[    2.509344] 3fa0: 00000002 de8b3fb8 c000e9c4 c000e9c8 60000113 ffffffff
[    2.515867] [<c000d7c0>] (__irq_svc+0x40/0x70) from [<c000e9c8>] (arch_cpu_idle+0x34/0x3c)
[    2.524013] [<c000e9c8>] (arch_cpu_idle+0x34/0x3c) from [<c007e9d8>] (cpu_idle_loop+0x1c4/0x230)
[    2.532669] [<c007e9d8>] (cpu_idle_loop+0x1c4/0x230) from [<c007ea50>] (freezing_slow_path+0x0/0x74)
[    2.541662] [<c007ea50>] (freezing_slow_path+0x0/0x74) from [<600081bc>] (0x600081bc)
[    2.549367] CPU0: stopping
[    2.552046] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D      3.10.0 #2
[    2.558829] [<c0014620>] (unwind_backtrace+0x0/0xe8) from [<c0011c24>] (show_stack+0x10/0x14)
[    2.567228] [<c0011c24>] (show_stack+0x10/0x14) from [<c00135dc>] (handle_IPI+0x170/0x2f8)
[    2.575370] [<c00135dc>] (handle_IPI+0x170/0x2f8) from [<c0008598>] (gic_handle_irq+0x5c/0x68)
[    2.583854] [<c0008598>] (gic_handle_irq+0x5c/0x68) from [<c000d7c0>] (__irq_svc+0x40/0x70)
[    2.592069] Exception stack(0xc0c31f40 to 0xc0c31f88)
[    2.597052] 1f40: ffffffed ffff8b8c 00000000 00000000 c0c30000 c0d8b074 00000000 c0ce3ed9
[    2.605105] 1f60: 00000000 410fc075 00000000 00bb9c4c 00000000 c0c31f88 c000e9c4 c000e9c8
[    2.613150] 1f80: 60000113 ffffffff
[    2.616602] [<c000d7c0>] (__irq_svc+0x40/0x70) from [<c000e9c8>] (arch_cpu_idle+0x34/0x3c)
[    2.624746] [<c000e9c8>] (arch_cpu_idle+0x34/0x3c) from [<c007e9d8>] (cpu_idle_loop+0x1c4/0x230)
[    2.633400] [<c007e9d8>] (cpu_idle_loop+0x1c4/0x230) from [<c007ea50>] (freezing_slow_path+0x0/0x74)
[    2.642397] [<c007ea50>] (freezing_slow_path+0x0/0x74) from [<c0bc7b60>] (start_kernel+0x2d8/0x340)
[    2.651306] [<c0bc7b60>] (start_kernel+0x2d8/0x340) from [<60008074>] (0x60008074)
[    2.658755] CPU3: stopping
[    2.661433] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D      3.10.0 #2
[    2.668216] [<c0014620>] (unwind_backtrace+0x0/0xe8) from [<c0011c24>] (show_stack+0x10/0x14)
[    2.676616] [<c0011c24>] (show_stack+0x10/0x14) from [<c00135dc>] (handle_IPI+0x170/0x2f8)
[    2.684758] [<c00135dc>] (handle_IPI+0x170/0x2f8) from [<c0008598>] (gic_handle_irq+0x5c/0x68)
[    2.693242] [<c0008598>] (gic_handle_irq+0x5c/0x68) from [<c000d7c0>] (__irq_svc+0x40/0x70)
[    2.701457] Exception stack(0xde8b5f70 to 0xde8b5fb8)
[    2.706435] 5f60:                                     ffffffed ffff8b8c 00000000 00000000
[    2.714489] 5f80: de8b4000 00000015 10c0387d c0ce3ed9 6000406a 410fc075 00000000 00bb9c4c
[    2.722540] 5fa0: 00000003 de8b5fb8 c000e9c4 c000e9c8 60000113 ffffffff
[    2.729064] [<c000d7c0>] (__irq_svc+0x40/0x70) from [<c000e9c8>] (arch_cpu_idle+0x34/0x3c)
[    2.737207] [<c000e9c8>] (arch_cpu_idle+0x34/0x3c) from [<c007e9d8>] (cpu_idle_loop+0x1c4/0x230)
[    2.745862] [<c007e9d8>] (cpu_idle_loop+0x1c4/0x230) from [<c007ea50>] (freezing_slow_path+0x0/0x74)
[    2.754854] [<c007ea50>] (freezing_slow_path+0x0/0x74) from [<600081bc>] (0x600081bc)
[    2.762559] CRU:
[    2.764386] 00000000: 0000304b 00001441 00000000 00000000
[    2.769706] 00000010: 0000304b 00001441 00000001 00000000
[    2.775026] 00000020: 000020c8 00001446 00000000 00000000
[    2.780346] 00000030: 00002063 00001442 00000000 00000000
[    2.785667] 00000040: 00001111 00004000 00003113 00008307
[    2.790987] 00000050: 0000401f 00000083 00008003 0000421f
[    2.796308] 00000060: 0bb8ea60 0bb8ea60 0000401f 0000a100
[    2.801628] 00000070: 000080bd 0000bd97 0000521f 0000021f
[    2.806949] 00000080: 0000021f 00000200 0bb8ea60 0bb8ea60
[    2.812269] 00000090: 0bb8ea60 0bb8ea60 00000000 00000000
[    2.817589] 000000a0: 00000102 00001700 0000011f 00000000
[    2.822909] 000000b0: 00000701 00000300 00000526 00008100
[    2.828230] 000000c0: 00004040 00004040 00000000 00002221
[    2.833548] 000000d0: 00000000 00000000 00000000 00000000
[    2.838867] 000000e0: 00000000 00000000 00000000 00000000
[    2.844186] 000000f0: 00000000 00000000 00000000 00000000
[    2.849505] 00000100: 00000000 00000000 00000000 00000000
[    2.854824] 00000110: 00000000 00000000 00000000 00000000
[    2.860142] 00000120: 00000000 00000000 00000000 00000000
[    2.865461] 00000130: 00000000 00000000 00000000 00000000
[    2.870780] 00000140: 3a981064 00000000 00000000 00000000
[    2.876099] 00000150: 00000002 00000000 00000000 00000000
[    2.881418] 00000160: 00000000 00000000 00000000 00000000
[    2.886737] 00000170: 00000000 00000000 00000000 00000000
[    2.892056] 00000180: 00000000 00000000 00000000 00000000
[    2.897374] 00000190: 00000000 00000000 00000000 00000000
[    2.902693] 000001a0: 00000000 00000000 00000000 00000000
[    2.908012] 000001b0: 00000000 00000000 00000000 00000000
[    2.913331] 000001c0: 00000004 00000000 00000004 00000000
[    2.918650] 000001d0: 00000000 00000000 00000004 00000000
[    2.923968] 000001e0: 00000000 00000000 00000000 00000000
[    2.929288] 000001f0: 00005a5a 00000000 00000000 00000000
[    2.934608] 00000200: 0000304b 00001441 00000000 00000000
[    2.939928] 00000210: 0000304b 00001441 00000001 00000000
[    2.945242] Rebooting in 5 seconds..

运行完truncate -s "%4" initrd.img,还是不能启动 反复重启。
回复

使用道具 举报

47

积分

0

威望

0

贡献

游客

积分
47
发表于 2015-7-15 12:10:46      8#
本帖最后由 zsy 于 2015-7-15 12:16 编辑
busybee 发表于 2015-7-15 09:28
打包内核和内存盘一节有补充:
truncate -s "%4" initrd.img
mkbootimg --kernel arch/arm/boot/zImage - ...

还有一个问题,不知道是不是和声卡驱动有关,我程序需要不停调用aplay命令播放声音文件,有的时候声音会卡住且会不定期出现机器突然重启,没任何错误提示。
回复

使用道具 举报

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

本版积分规则

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