A13 Android (Olimex Preloaded Image) Kernelpanic

Started by alain, November 18, 2012, 11:47:43 PM

Previous topic - Next topic

alain

Hi
I can't boot my A13 anymore..
See attached boot-log.
Any idea?

Thx
Alain[    2.400000] L2TP core driver, V2.0
[    2.400000] PPPoL2TP kernel driver, V2.0
[    2.410000] L2TP IP encapsulation support (L2TPv3)
[    2.410000] L2TP netlink interface
[    2.410000] L2TP ethernet pseudowire support (L2TPv3)
[    2.420000] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    2.430000] Registering SWP/SWPB emulation handler
[    2.430000] Unable to handle kernel NULL pointer dereference at virtual address 00000019
[    2.440000] pgd = c0004000
[    2.440000] [00000019] *pgd=00000000
[    2.450000] Internal error: Oops: 5 [#1] PREEMPT
[    2.450000] Modules linked in:
[    2.450000] CPU: 0    Not tainted  (3.0.8+ #1)
[    2.450000] PC is at regulator_get_voltage+0x8/0x34
[    2.450000] LR is at sun4i_cpufreq_initcall+0xc8/0x124
[    2.450000] pc : [<c02e9a00>]    lr : [<c000e98c>]    psr: a0000013
[    2.450000] sp : df83bf98  ip : c0842354  fp : 00000000
[    2.450000] r10: 00000000  r9 : 00000000  r8 : c000e8c4
[    2.450000] r7 : 00000000  r6 : df83a000  r5 : c002bc08  r4 : ffffffed
[    2.450000] r3 : 00000000  r2 : 00000000  r1 : 00000001  r0 : ffffffed
[    2.450000] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[    2.450000] Control: 10c5387d  Table: 40004019  DAC: 00000015
[    2.450000]
[    2.450000] PC: 0xc02e9980:
[    2.450000] 9980  e92d4010 e1a04002 eb00b4f7 ebffffe9 e1a01000 e1a00004 e8bd4010 eafffdf4
[    2.450000] 99a0  e590002c eaffffe3 e92d4070 e1a06002 eb00b4ed e2804040 e1a05000 e1a00004
[    2.450000] 99c0  eb0af64e e1a00005 ebfffcd7 e30217d0 e34c1077 e1a03000 e1a00006 e1a02003
[    2.450000] 99e0  ebff09bc e1a05000 e1a00004 eb0af5f1 e1a00005 e8bd8070 e92d4038 e1a04000
[    2.450000] 9a00  e590102c e2810040 eb0af63c e594002c ebfffcc5 e1a05000 e594002c e2800040
[    2.450000] 9a20  eb0af5e4 e1a00005 e8bd8038 e92d4070 e24dd008 e590402c e5943000 e593500c
[    2.450000] 9a40  e5952000 e3520000 1a000003 e3e05015 e1a00005 e28dd008 e8bd8070 e5933008
[    2.450000] 9a60  e1530001 9afffff8 e2846040 e58d1004 e1a00006 eb0af621 e59d1004 e5955000
[    2.450000]
[    2.450000] LR: 0xc000e90c:
[    2.450000] e90c  e34c1071 e5840008 e3a00000 eb010687 e30513d0 e34c1071 e584000c e3a00000
[    2.450000] e92c  eb010682 e5943004 e3730a01 e5840010 8a000018 e5941000 e3710a01 8a000015
[    2.450000] e94c  e5942008 e3720a01 8a000012 e594c00c e37c0a01 8a00000f e3700a01 8a00000d
[    2.450000] e96c  e3081e28 e3a00000 e34c1071 eb0b6eff e3500000 e5840024 0a000009 eb0b6c1a
[    2.450000] e98c  e3a01ffa eb0a41f8 e3034be4 e34c407f e5840044 ea000002 e3e04001 e1a00004
[    2.450000] e9ac  e8bd8010 e59f0028 eb0123e7 e59f0024 eb102566 e3a01000 e1a04000 e3030c70
[    2.450000] e9cc  e34c007f eb103852 e3a00000 eb1029d0 eafffff1 c0844e9c c07f3c2c e92d4800
[    2.450000] e9ec  e3a02000 e28db004 e3080e34 e24dd008 e3a01f69 e1a03002 e30ac4c0 e34c0071
[    2.450000]
[    2.450000] SP: 0xdf83bf18:
[    2.450000] bf18  00000000 80000013 0000000d 205bf130 32202020 3033342e 5d303030 c02a0020
[    2.450000] bf38  0000040f 00000005 df83a000 00000000 c000e8c4 c0037950 ffffffed 00000001
[    2.450000] bf58  00000000 00000000 ffffffed c002bc08 df83a000 00000000 c000e8c4 00000000
[    2.450000] bf78  00000000 00000000 c0842354 df83bf98 c000e98c c02e9a00 a0000013 ffffffff
[    2.450000] bf98  00000000 c0844e80 c002bc08 c000e98c c0841dc0 c0031464 0000005e c0038edc
[    2.450000] bfb8  00000013 34390000 00000000 00000000 c002bbbc c002bc08 c0038edc 00000013
[    2.450000] bfd8  00000000 00000000 00000000 c0008a18 00000000 00000000 c0008950 c0038edc
[    2.450000] bff8  ffffffff ffffffff 00000000 df83a000 00000002 00200140 00000000 00000001
[    2.450000]
[    2.450000] IP: 0xc08422d4:
[    2.450000] 22d4  00000000 00000000 c07f2900 00000000 00000000 000002a6 c004c96c c004ca50
[    2.450000] 22f4  c08423f4 00000000 00000000 00000000 c07f2928 00000002 00000000 00000148
[    2.450000] 2314  c004c96c c004ca50 c08420fc 00000000 00000000 00000000 c07f2950 00000002
[    2.450000] 2334  00000000 00000142 c004c96c c004ca50 c0842304 00000000 00000000 00000000
[    2.450000] 2354  c07f2978 00000003 00000000 0000012b c004c96c c004ca50 c084232c c0842998
[    2.450000] 2374  00000000 00000000 c07f29a0 00000001 00000000 00000133 c004c96c c004ca50
[    2.450000] 2394  c0842354 00000000 00000000 00000000 c07f29c8 00000007 00000000 00000164
[    2.450000] 23b4  c004c96c c004ca50 c08420d4 c0842ee8 00000000 00000000 c07f29f0 00000000
[    2.450000]
[    2.450000] R5: 0xc002bb88:
[    2.450000] bb88  c0029b90 c0029b9c c0029bf8 c0029c84 c0029ccc c0029e54 c0029e88 c0029f24
[    2.450000] bba8  c0584148 c0029f88 c000ace4 c000bd9c c000e8c4 c000e9e8 c0063208 c000f198
[    2.450000] bbc8  c0010350 c0010b2c c0011628 c00145b8 c001b83c c001be94 c001c020 c001d9fc
[    2.450000] bbe8  c0343d94 c0020218 c0021a7c c0021c5c c0024f8c c0025ec0 c0027698 c002607c
[    2.450000] bc08  c001c9e0 c001d0bc c0025040 37303730 30303130 32303030 30303144 31343030
[    2.450000] bc28  30304445 30303030 30303030 30303030 30303030 30303030 30353230 41464337
[    2.450000] bc48  30304341 30303030 30303030 30303030 30303330 30303030 30303130 30303030
[    2.450000] bc68  30303030 30303030 30303030 30303030 30303430 30303030 65643030 00000076
[    2.450000]
[    2.450000] R6: 0xdf839f80:
[    2.450000] 9f80  df82ee10 df82ee30 00000000 ffffffff ffffffff ffffffff ffffffff ffffffff
[    2.450000] 9fa0  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[    2.450000] 9fc0  df861110 df861130 df861150 df861170 df861190 df8611b0 00000000 ffffffff
[    2.450000] 9fe0  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[    2.450000] a000  00000000 00000002 00000000 df83c000 c07f466c 00000000 00000015 df83c000
[    2.450000] a020  df83d7c0 c07f4208 df83a000 00000000 c08d5bfc c07f83ec df83bed4 df83be38
[    2.450000] a040  c05a6170 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.450000] a060  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.450000]
[    2.450000] R8: 0xc000e844:
[    2.450000] e844  e28d2008 e3a03000 e3080b34 e3081b40 e5223004 e34c0071 e2833004 e34c1071
[    2.450000] e864  eb0118a0 e59d3004 e3530003 ca000008 e30320c0 e3a00f56 e34c207f e0202390
[    2.450000] e884  eb0c2a11 e30d0efc e34c0002 e3a01005 eb0c2aac e28dd00c e49df004 e3080dec
[    2.450000] e8a4  e92d4008 e34c0071 eb165d26 e59f0008 eb022c22 e3a00000 e8bd8008 c07f3bc0
[    2.450000] e8c4  e3051328 e3a00000 e92d4010 e34c1071 eb010698 e3044e80 e34c4084 e30917f8
[    2.450000] e8e4  e34c1071 e5840004 e3a00000 eb010691 e30513c8 e34c1071 e5840000 e3a00000
[    2.450000] e904  eb01068c e30513cc e34c1071 e5840008 e3a00000 eb010687 e30513d0 e34c1071
[    2.450000] e924  e584000c e3a00000 eb010682 e5943004 e3730a01 e5840010 8a000018 e5941000
[    2.450000] Process swapper (pid: 1, stack limit = 0xdf83a2e8)
[    2.450000] Stack: (0xdf83bf98 to 0xdf83c000)
[    2.450000] bf80:                                                       00000000 c0844e80
[    2.450000] bfa0: c002bc08 c000e98c c0841dc0 c0031464 0000005e c0038edc 00000013 34390000
[    2.450000] bfc0: 00000000 00000000 c002bbbc c002bc08 c0038edc 00000013 00000000 00000000
[    2.450000] bfe0: 00000000 c0008a18 00000000 00000000 c0008950 c0038edc ffffffff ffffffff
[    2.450000] [<c02e9a00>] (regulator_get_voltage+0x8/0x34) from [<c000e98c>] (sun4i_cpufreq_initcall+0xc8/0x124)
[    2.450000] [<c000e98c>] (sun4i_cpufreq_initcall+0xc8/0x124) from [<c0031464>] (do_one_initcall+0x34/0x17c)
[    2.450000] [<c0031464>] (do_one_initcall+0x34/0x17c) from [<c0008a18>] (kernel_init+0xc8/0x158)
[    2.450000] [<c0008a18>] (kernel_init+0xc8/0x158) from [<c0038edc>] (kernel_thread_exit+0x0/0x8)
[    2.450000] Code: e1a00005 e8bd8070 e92d4038 e1a04000 (e590102c)
[    3.090000] ---[ end trace 55038f09f62d708c ]---
[    3.100000] Kernel panic - not syncing: Attempted to kill init!
[    3.100000] [<c003e204>] (unwind_backtrace+0x0/0x138) from [<c05a5c2c>] (panic+0x6c/0x18c)
[    3.110000] [<c05a5c2c>] (panic+0x6c/0x18c) from [<c0067f14>] (do_exit+0x6ec/0x720)
[    3.120000] [<c0067f14>] (do_exit+0x6ec/0x720) from [<c003c1a4>] (die+0x260/0x2b8)
[    3.130000] [<c003c1a4>] (die+0x260/0x2b8) from [<c0042758>] (__do_kernel_fault+0x74/0x84)
[    3.140000] [<c0042758>] (__do_kernel_fault+0x74/0x84) from [<c00428f4>] (do_page_fault+0x18c/0x2ec)
[    3.150000] [<c00428f4>] (do_page_fault+0x18c/0x2ec) from [<c003121c>] (do_DataAbort+0x34/0x9c)
[    3.150000] [<c003121c>] (do_DataAbort+0x34/0x9c) from [<c0037950>] (__dabt_svc+0x70/0xa0)
[    3.160000] Exception stack(0xdf83bf50 to 0xdf83bf98)
[    3.170000] bf40:                                     ffffffed 00000001 00000000 00000000
[    3.180000] bf60: ffffffed c002bc08 df83a000 00000000 c000e8c4 00000000 00000000 00000000
[    3.180000] bf80: c0842354 df83bf98 c000e98c c02e9a00 a0000013 ffffffff
[    3.190000] [<c0037950>] (__dabt_svc+0x70/0xa0) from [<c02e9a00>] (regulator_get_voltage+0x8/0x34)
[    3.200000] [<c02e9a00>] (regulator_get_voltage+0x8/0x34) from [<c000e98c>] (sun4i_cpufreq_initcall+0xc8/0x124)
[    3.210000] [<c000e98c>] (sun4i_cpufreq_initcall+0xc8/0x124) from [<c0031464>] (do_one_initcall+0x34/0x17c)
[    3.220000] [<c0031464>] (do_one_initcall+0x34/0x17c) from [<c0008a18>] (kernel_init+0xc8/0x158)
[    3.230000] [<c0008a18>] (kernel_init+0xc8/0x158) from [<c0038edc>] (kernel_thread_exit+0x0/0x8)
[    3.250000] [mmc]: mmc 0 detect change, present 1

HeHoPMaJIeH

Hi,
do you use external power supply or USB power ?

alain


friendlyfinn

I get exactly same Oops. I'm using sunxi based kernel and debian rootfs (on the non-wifi&nand board).
Everything worked just fine yesterday when I ran some tests, but today it suddenly stopped working.

I'm using 12V 2amps power supply and I tried three different microSD cards, but none of those worked. I guess it's not memory card issue anyway if alain has the same problem with the NAND image(?)

Any tips and suggestions would be more than welcome.

alain

it turns out it was a power supply issue - but i don't have yet a clue what exactly went wrong.

i've tried a simple 12V/2A power supply and the board is working again.
i will investigate the issue and keep you posted

David Goadby

I had a similar problem on a previous project. I put the 'scope on the +13V rail and what I discovered was the PSU was limiting on the current peaks and folding back the voltage. This confused the on-board switch mode regulators and generated occasional resets in my case. Unlike cheap and cheerful power supplies this PSU was doing too good a job. We cured it with a small resistor and a reservoir capacitor just like the good old valve days.

I haven't checked my A13's but there may be switching transients that are upsetting your PSU.

friendlyfinn

#6
I tried another 12V 2A power supply, probably of a poor quality, which didn't work any better.
Then I found an old universal laptop AC adapter which had selectable supply voltage and I was able to connect it when set on 18Volts, so I fried the dc-dc converter.

I looked at the schematics and found out that (luckily) the dc-dc converter is only used for the power plug input, so I still had usb and li-po inputs available.
My laptop AC adapter had also 5V 2A USB output, so I tried powering from USB next, but the Oops was still there!

Some kind of solution was to add a small LiPo battery at the same time with the USB power. Now it boots up at least sometimes.

I also need to try booting without the FTDI cable, because I'm suspecting, that it might cause some interference of some sorts on the power lines...

Thanks for the tips!

edit:
Oh well I guess I may have fried the whole thing by connecting those two powers at the same time... So hopefully nobody takes my "advice" on the powering relates issues :)

JohnS

I'm also getting the NULL pointer problem.  I've tried 2 different SD cards and 3 different PSUs, including a 15V 4.5A laptop PSU.  I've tried A13_debian_WIFI_GCC_GPIO_IN_OUT_AUTO_load_third_release.img (which I think maybe Tsvetan made) and the one posted by jwischka here https://www.olimex.com/forum/index.php?topic=537.0 (the latest).

Any ideas?

Android appears to run OK but I want to run Linux too :)

John
---
Log file varies a little but is like this:

[    5.370000] Gadget Android: controller 'sw_usb_udc' not recognized
<6>android_usb gadget: android_usb ready

[    5.380000] android_usb gadget: android_usb ready
<6>mousedev: PS/2 mouse device common for all mice

[    5.390000] mousedev: PS/2 mouse device common for all mice
<6>hub 2-1:1.0: USB hub found

[    5.400000] hub 2-1:1.0: USB hub found
<6>hub 2-1:1.0: 4 ports detected

[    5.400000] hub 2-1:1.0: 4 ports detected
========RTC Inital ===================

[    5.410000] ========RTC Inital ===================
rtc_fetch_sysconfig_para: after: rtc_twi_addr is 0x51, dirty_addr_buf: 0x51. dirty_addr_buf[1]: 0xfffe

[    5.420000] rtc_fetch_sysconfig_para: after: rtc_twi_addr is 0x51, dirty_addr_buf: 0x51. dirty_addr_buf[1]: 0xfffe
rtc_fetch_sysconfig_para: rtc_twi_id is 1.

[    5.430000] rtc_fetch_sysconfig_para: rtc_twi_id is 1.
rtc_fetch_sysconfig_para:ok

[    5.440000] rtc_fetch_sysconfig_para:ok
pcf8563_init: after fetch_sysconfig_para:  normal_i2c: 0x51. normal_i2c[1]: 0xfffe

[    5.440000] pcf8563_init: after fetch_sysconfig_para:  normal_i2c: 0x51. normal_i2c[1]: 0xfffe
<6>i2c /dev entries driver

[    5.450000] i2c /dev entries driver
!!! base_Addr = 0xdc8acc00

[    5.460000] !!! base_Addr = 0xdc8acc00
config i2c gpio with gpio_config api

[    5.460000] config i2c gpio with gpio_config api
twi0, apb clock = 24000000

[    5.470000] twi0, apb clock = 24000000
incomplete xfer (0x20)

[    5.480000] incomplete xfer (0x20)
<3>axp_mfd 0-0034: failed reading at 0x03

[    5.480000] axp_mfd 0-0034: failed reading at 0x03
[AXP20-MFD] try to read chip id failed!

[    5.490000] [AXP20-MFD] try to read chip id failed!
<4>axp_mfd: probe of 0-0034 failed with error -70

[    5.500000] axp_mfd: probe of 0-0034 failed with error -70
rtc_detect,line:156,twi_id:1,adapter->nr:0

[    5.510000] rtc_detect,line:156,twi_id:1,adapter->nr:0
rtc_detect,line:165

[    5.520000] rtc_detect,line:165
<6>I2C: i2c-0: AW16XX I2C adapter

[    5.530000] I2C: i2c-0: AW16XX I2C adapter
**********start************

[    5.530000] **********start************
0x40

[    5.540000] 0x40
0xf8

[    5.540000] 0xf8
0x28

[    5.540000] 0x28
0x0

[    5.550000] 0x0
0x0

[    5.550000] 0x0
**********end************

[    5.550000] **********end************
!!! base_Addr = 0xdc8ae000

[    5.560000] !!! base_Addr = 0xdc8ae000
twi1, apb clock = 24000000

[    5.560000] twi1, apb clock = 24000000
rtc_detect,line:156,twi_id:1,adapter->nr:1

[    5.570000] rtc_detect,line:156,twi_id:1,adapter->nr:1
<6>rtc_detect: Detected chip pcf8563 at adapter 1, address 0x51

[    5.580000] rtc_detect: Detected chip pcf8563 at adapter 1, address 0x51
rtc_detect,line:161

[    5.590000] rtc_detect,line:161
pcf8563_probe,line:656

[    5.600000] pcf8563_probe,line:656
<6>pcf8563 1-0051: chip found, driver version 0.4.3

[    5.600000] pcf8563 1-0051: chip found, driver version 0.4.3
<6>pcf8563 1-0051: low voltage detected, date/time is not reliable.

[    5.610000] pcf8563 1-0051: low voltage detected, date/time is not reliable.
pcf8563_get_datetime,raw data is st1=08, st2=c0, sec=d3, min=a6, hr=c0, mday=c0, wday=d4, mon=41, year=00

[    5.620000] pcf8563_get_datetime,raw data is st1=08, st2=c0, sec=d3, min=a6, hr=c0, mday=c0, wday=d4, mon=41, year=00
pcf8563_get_datetime: tm is secs=53, mins=26, hours=0,mday=0, mon=0, year=110, wday=4

[    5.630000] pcf8563_get_datetime: tm is secs=53, mins=26, hours=0,mday=0, mon=0, year=110, wday=4
<3>pcf8563 1-0051: retrieved date/time is not valid.

[    5.640000] pcf8563 1-0051: retrieved date/time is not valid.
<6>using rtc device, pcf8563, for alarms[    5.650000] using rtc device, pcf8563, for alarms<6>pcf8563 1-0051: rtc core: registered pcf8563 as rtc0


[    5.660000] pcf8563 1-0051: rtc core: registered pcf8563 as rtc0
<6>I2C: i2c-1: AW16XX I2C adapter

[    5.670000] I2C: i2c-1: AW16XX I2C adapter
**********start************

[    5.680000] **********start************
0x40

[    5.690000] 0x40
0xf8

[    5.690000] 0xf8
0x58

[    5.690000] 0x58
0x0

[    5.700000] 0x0
0x0

[    5.700000] 0x0
**********end************

[    5.700000] **********end************
!!! base_Addr = 0xdc8b0400

[    5.710000] !!! base_Addr = 0xdc8b0400
twi2, apb clock = 24000000

[    5.710000] twi2, apb clock = 24000000
rtc_detect,line:156,twi_id:1,adapter->nr:2

[    5.720000] rtc_detect,line:156,twi_id:1,adapter->nr:2
rtc_detect,line:165

[    5.730000] rtc_detect,line:165
<6>I2C: i2c-2: AW16XX I2C adapter

[    5.730000] I2C: i2c-2: AW16XX I2C adapter
**********start************

[    5.740000] **********start************
0x40

[    5.750000] 0x40
0xf8

[    5.750000] 0xf8
0x58

[    5.750000] 0x58
0x0

[    5.760000] 0x0
0x0

[    5.760000] 0x0
**********end************

[    5.760000] **********end************
<6>lirc_dev: IR Remote Control driver registered, major 250

[    5.770000] lirc_dev: IR Remote Control driver registered, major 250
<6>IR NEC protocol handler initialized

[    5.780000] IR NEC protocol handler initialized
<6>usb 2-1.4: new high speed USB device number 3 using sw-ehci

[    5.790000] usb 2-1.4: new high speed USB device number 3 using sw-ehci
<6>IR RC5(x) protocol handler initialized

[    5.800000] IR RC5(x) protocol handler initialized
<6>IR RC6 protocol handler initialized

[    5.810000] IR RC6 protocol handler initialized
<6>IR JVC protocol handler initialized

[    5.820000] IR JVC protocol handler initialized
<6>IR Sony protocol handler initialized

[    5.820000] IR Sony protocol handler initialized
<6>IR RC5 (streamzap) protocol handler initialized

[    5.830000] IR RC5 (streamzap) protocol handler initialized
<6>IR LIRC bridge handler initialized

[    5.840000] IR LIRC bridge handler initialized
[cedar dev]: install start!!!

[    5.850000] [cedar dev]: install start!!!
[cedar dev]: install end!!!

[    5.860000] [cedar dev]: install end!!!
[pa_drv] start!!!

[    5.860000] [pa_drv] start!!!
[pa_drv] init end!!!

[    5.870000] [pa_drv] init end!!!
<6>md: linear personality registered for level -1

[    5.880000] md: linear personality registered for level -1
<6>md: multipath personality registered for level -4

[    5.890000] md: multipath personality registered for level -4
<6>md: faulty personality registered for level -5

[    5.900000] md: faulty personality registered for level -5
<6>device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com

[    5.910000] device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com
<6>device-mapper: multipath: version 1.3.0 loaded

[    5.920000] device-mapper: multipath: version 1.3.0 loaded
<6>device-mapper: multipath round-robin: version 1.0.0 loaded

[    5.930000] device-mapper: multipath round-robin: version 1.0.0 loaded
<6>device-mapper: multipath queue-length: version 0.1.0 loaded

[    5.940000] device-mapper: multipath queue-length: version 0.1.0 loaded
<6>device-mapper: multipath service-time: version 0.2.0 loaded

[    5.950000] device-mapper: multipath service-time: version 0.2.0 loaded
[mmc_pm]: no sdio card used in configuration

[    5.960000] [mmc_pm]: no sdio card used in configuration
[mmc]: sunximmc_init

[    5.970000] [mmc]: sunximmc_init
[mmc]: sunxi mmc controller using config : 0x1

[    5.980000] [mmc]: sunxi mmc controller using config : 0x1
[mmc]: sunxi-mmc.0: pdev->name: sunxi-mmc, pdev->id: 0

[    5.990000] [mmc]: sunxi-mmc.0: pdev->name: sunxi-mmc, pdev->id: 0
[mmc]: mmc 0 power off !!

[    6.000000] [mmc]: mmc 0 power off !!
[mmc]: mmc0 Probe: base:0xdc8b6000 irq:32 dma:0 pdes:0xd9a78000, ret 0.

[    6.010000] [mmc]: mmc0 Probe: base:0xdc8b6000 irq:32 dma:0 pdes:0xd9a78000, ret 0.
<6>usbcore: registered new interface driver usbhid

[    6.020000] usbcore: registered new interface driver usbhid
<6>usbhid: USB HID core driver

[    6.030000] usbhid: USB HID core driver
<6>logger: created 256K log 'log_main'

[    6.040000] logger: created 256K log 'log_main'
<6>logger: created 256K log 'log_events'

[    6.050000] logger: created 256K log 'log_events'
<6>logger: created 256K log 'log_radio'

[    6.060000] logger: created 256K log 'log_radio'
<6>logger: created 256K log 'log_system'

[    6.070000] logger: created 256K log 'log_system'
enter sun5i Audio codec!!!

[    6.070000] enter sun5i Audio codec!!!
<6>sun5i audio support initialized

[    6.080000] sun5i audio support initialized
sun5i Audio codec successfully loaded..

[    6.090000] sun5i Audio codec successfully loaded..
<6>ALSA device list:

[    6.100000] ALSA device list:
<6>  #0: sun5i-CODEC  Audio Codec

[    6.100000]   #0: sun5i-CODEC  Audio Codec
<6>IPv4 over IPv4 tunneling driver

[    6.110000] IPv4 over IPv4 tunneling driver
<6>TCP cubic registered

[    6.120000] TCP cubic registered
<6>Initializing XFRM netlink socket

[    6.120000] Initializing XFRM netlink socket
<6>NET: Registered protocol family 17

[    6.130000] NET: Registered protocol family 17
<6>NET: Registered protocol family 15

[    6.140000] NET: Registered protocol family 15
<6>802.1Q VLAN Support v1.8

[    6.150000] 802.1Q VLAN Support v1.8
<6>VFP support v0.3: [    6.150000] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3

implementor 41 architecture 3 part 30 variant c rev 3
<5>Registering SWP/SWPB emulation handler

[    6.170000] Registering SWP/SWPB emulation handler
<1>Unable to handle kernel NULL pointer dereference at virtual address 00000009

[    6.180000] Unable to handle kernel NULL pointer dereference at virtual address 00000009
<1>pgd = c0004000

[    6.180000] pgd = c0004000
<1>[00000009] *pgd=00000000[    6.180000] [00000009] *pgd=00000000


<0>Internal error: Oops: 805 [#1] PREEMPT

[    6.180000] Internal error: Oops: 805 [#1] PREEMPT
<d>Modules linked in:[    6.180000] Modules linked in:


CPU: 0    Not tainted  (3.0.42+ #7)

[    6.180000] CPU: 0    Not tainted  (3.0.42+ #7)
PC is at br_dev_setup+0xcc/0x110

[    6.180000] PC is at br_dev_setup+0xcc/0x110
LR is at 0x7d0

[    6.180000] LR is at 0x7d0
pc : [<c04750a8>]    lr : [<000007d0>]    psr: 80000093

sp : d983be98  ip : 000000c8  fp : 00000000

Cure

Just so you know, the A13 can be run from a Mini USB cable connected to your PC or USB Hub (nice, clean, regulated power).  That's what I did until I found a good power supply.

Here are a few questions for you:
1. What brand of SD card(s) have you tried?
2. Did you create partitions before using dd?
3. What terminal program and are you using?
4. What is your computer o/s and is it 32 bit or 64?

JohnS

Thanks for the reply.

I don't really think the PSUs are the problem as I've used them with other boards, including from Olimex, but I tried powering through the USB OTG.  Crashes the same.

1. I've tried 2 brands and sizes of uSD, both of which even work with the RPi.  They read back (dd & cmp) OK.
So, if the WiFi is more fussy than the RPi big warnings need to be on the board.  Is it?  (I don't really think so.)

2. No I did not create any partitions but it's irrelevant since dd overwrites any that are there.

3. I used screen /dev/ttyUSB0 115200
the log output looks plausible until the NULL pointer deref

4. I'm using 32-bit Linux and can't see it's part of the problem - usually it's part of the solution :)

TBH, looks like a hardware problem but keep the ideas coming as I don't really want to return the board as faulty unless I have to.

John

JohnS

Update: I connected an Olimex LiPo battery I've had in its box for ages (a year?), meaning to let it charge, but booted the board without really thinking - and it now works.  The battery is still being charged so I suggest there's something a bit flakey about the power circuitry on the A13 Olinuxino WiFi board.

If it continues to work, I'll be happy!

I've since checked the other uSD card and it also boots now.

John

LubOlimex

Hey JohnS,

Very important question is whether the Android works fine when powered by external power supply. If it does then there is no doubt that the problem is in the Linux image on the SD card (or in the SD card).

If the Android doesn't work then it might be hardware fault in the chip responsible for the external power supply. I'd suggest you to measure the voltage on C128/C129. It should be around 5.2V if everything is ok. Note that the external supply is recommended to be powerful enough for the board.

Regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex

JohnS

#12
I will check the voltage but all the PSUs are easily able to power the board and as I posted one was 15V at 4.5A (it's a laptop supply).  Besides, as the board works when charging the LiPo it is now drawing MORE current than it was.

edit: just to mention again that I tried 3 completely different PSUs (12V 2A, 7V 2.1A, 15V 4.5A) and via USB to the OTG.  None were OK for Linux without the LiPo.

It has always run Android but that's probably not much of a hardware exerciser as Linux initialising LOL

It's lucky I had the LiPo!

John

JohnS

At C128 I have 5.3V (DVOM says 5.33) - is that too much?

John

LubOlimex

Nope, it is perfectly fine.

Seems like the only thing I have in mind for a situation like this is a some kind of problem between the processor and the SD card. Can you try reading/writing the card after you have booted the Android (from the Android interface)? Additionally what size and brand are your SD cards - it is possible that you have found some kind of bug that needs to be investigated further. Please share more info.

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex