More on A13-Olinuxino-wifi freezing on boot

Started by ehj666, February 02, 2013, 11:49:20 PM

Previous topic - Next topic

ehj666

I have encountered a problem much like that described in the thread "A13-Olinuxino-WiFi - Froze, Now Won't Boot". In my case, it occurred when I made my first attempt at building my own kernel and image. It failed to boot, but more over, after it fails, I cannot boot any other instance, be it Android, the Olimex Debian SD or an imaged Debian / Ubuntu SD.

This appears to be the point in the log where my kernel / image has a problem:

<6>Advanced Linux Sound Architecture Driver Version 1.0.24.
<6>cfg80211: Calling CRDA to update world regulatory domain
Init eGon pin module V2.0
<6>Switching to clocksource aw 64bits couter
<5>FS-Cache: Loaded
<6>CacheFiles: Loaded
[usb_manager]: CONFIG_USB_SW_SUN5I_USB0_OTG
<1>Unable to handle kernel paging request at virtual address dc000010
<1>pgd = c0004000
<1>[dc000010] *pgd=00000000
<0>Internal error: Oops: 5 [#1] PREEMPT
<d>Modules linked in:
CPU: 0    Not tainted  (3.0.57 #1)
PC is at strcmp+0xc/0x3c
LR is at script_parser_fetch+0xf8/0x2e8
pc : [<c027e660>]    lr : [<c005000c>]    psr: 80000013
sp : d983beb8  ip : d983bec8  fp : d983bec4
r10: 00a00000  r9 : 0a0a2020  r8 : 00000001
r7 : c075d798  r6 : c076602c  r5 : dc000010  r4 : c06bf9f0
r3 : 000000ff  r2 : 00000075  r1 : c06bfb9c  r0 : dc000010
Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c5387d  Table: 40004019  DAC: 00000015


That is followed by what I assume is a hex memory dump and a back trace.

If I then try to boot Android, I get a similar problem with the following log excerpt:


[    1.940000] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    1.950000] Registering SWP/SWPB emulation handler
[    1.950000] Unable to handle kernel NULL pointer dereference at virtual address 00000019
[    1.960000] pgd = c0004000
[    1.960000] [00000019] *pgd=00000000
[    1.970000] Internal error: Oops: 5 [#1] PREEMPT
[    1.970000] Modules linked in:
[    1.970000] CPU: 0    Not tainted  (3.0.8+ #1)
[    1.970000] PC is at regulator_get_voltage+0x8/0x34
[    1.970000] LR is at sun4i_cpufreq_initcall+0xc8/0x124


Eventually I can get the board to reboot. I think mainly by just letting it sit unpowered for a while.

Any idea what is going on with the paging / pointer error preventing other images from booting, before I go into figuring out what I did wrong with the image I created?

Thanks.

JohnS

Please post all the lines that contain either axp or AXP as this looks quite like a problem I had.

A few lines either side of each of those and something to show where you've omitted lines would help.

John

ehj666

Here are the complete log files from booting my Debian image. DUe to post size limits, the Android boot log will be in the next post.

Debian

U-Boot SPL 2012.10-04266-g20efdee (Jan 09 2013 - 01:53:56)
DRAM: 512MB
SUNXI SD/MMC: 0


U-Boot 2012.10-04266-g20efdee (Jan 09 2013 - 01:53:56) Allwinner Technology
CPU:   SUNXI Family
Board: A13-OLinuXino
I2C:   ready
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  3  2  1  0
reading uEnv.txt

** Unable to read "uEnv.txt" from mmc 0:1 **
Loading file "uEnv.txt" from mmc device 0:1
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - mmc 0:1 **
ext2load - load binary file from a Ext2 filesystem

Usage:
ext2load <interface> <dev[:part]> [addr] [filename] [bytes]
    - load binary file 'filename' from 'dev' on 'interface'
      to address 'addr' from ext2 filesystem
Loading file "boot/uEnv.txt" from mmc device 0:1
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - mmc 0:1 **
ext2load - load binary file from a Ext2 filesystem

Usage:
ext2load <interface> <dev[:part]> [addr] [filename] [bytes]
    - load binary file 'filename' from 'dev' on 'interface'
      to address 'addr' from ext2 filesystem
reading boot.scr

** Unable to read "boot.scr" from mmc 0:1 **
Loading file "boot.scr" from mmc device 0:1
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - mmc 0:1 **
ext2load - load binary file from a Ext2 filesystem

Usage:
ext2load <interface> <dev[:part]> [addr] [filename] [bytes]
    - load binary file 'filename' from 'dev' on 'interface'
      to address 'addr' from ext2 filesystem
Loading file "boot/boot.scr" from mmc device 0:1
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - mmc 0:1 **
ext2load - load binary file from a Ext2 filesystem

Usage:
ext2load <interface> <dev[:part]> [addr] [filename] [bytes]
    - load binary file 'filename' from 'dev' on 'interface'
      to address 'addr' from ext2 filesystem
reading script.bin

28683 bytes read
reading uImage

3867220 bytes read
## Booting kernel from Legacy Image at 48000000 ...
   Image Name:   Linux-3.0.57
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3867156 Bytes = 3.7 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

<6>Initializing cgroup subsys cpuset
<5>Linux version 3.0.57 (root@eric-HP-Probook) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #1 PREEMPT Wed Jan 9 03:18:21 EST 2013
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: sun5i
<6>Memory cut off:
<6> MALI : 0x5c000000 - 0x5fffffff  (  64 MB)
<4>Ignoring unrecognised tag 0x00000000
<6>Memory Reserved:
<6> SYS  : 0x43000000 - 0x4300ffff  (  64 kB)
<6> LCD  : 0x5a000000 - 0x5bffffff  (  32 MB)
<6> VE   : 0x44000000 - 0x48ffffff  (  80 MB)
Memory policy: ECC disabled, Data cache writeback
<6>BROM Ver: 1100 1100 1625
<6>chip-id: A13 (AW1625)
<7>On node 0 totalpages: 114688
<7>free_area_init_node: node 0, pgdat c075c6ec, node_mem_map c0813000
<7>  Normal zone: 896 pages used for memmap
<7>  Normal zone: 0 pages reserved
<7>  Normal zone: 113792 pages, LIFO batch:31
<7>pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
<7>pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 113792
<5>Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait loglevel=8 panic=10
<6>PID hash table entries: 2048 (order: 1, 8192 bytes)
<6>Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
<6>Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
<6>Memory: 448MB = 448MB total
<5>Memory: 331704k/331704k available, 127048k reserved, 0K highmem
<5>Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xdc800000 - 0xf0000000   ( 312 MB)
    lowmem  : 0xc0000000 - 0xdc000000   ( 448 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .init : 0xc0008000 - 0xc0031000   ( 164 kB)
      .text : 0xc0031000 - 0xc0710000   (7036 kB)
      .data : 0xc0710000 - 0xc0762f28   ( 332 kB)
       .bss : 0xc0762f4c - 0xc0812400   ( 702 kB)
<6>SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
<6>NR_IRQS:96 nr_irqs:96 96
<6>timer0: Periodic Mode
<6>Console: colour dummy device 80x30
<6>Calibrating delay loop... <c>1001.88 BogoMIPS (lpj=5009408)
<6>pid_max: default: 32768 minimum: 301
<6>Mount-cache hash table entries: 512
<6>Initializing cgroup subsys cpuacct
<6>Initializing cgroup subsys devices
<6>Initializing cgroup subsys freezer
<6>Initializing cgroup subsys blkio
<6>CPU: Testing write buffer coherency: ok
<6>hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
<6>devtmpfs: initialized
<6>print_constraints: dummy:
<6>NET: Registered protocol family 16
<6>hw-breakpoint: debug architecture 0x4 unsupported.
SOFTWINNER DMA Driver, (c) 2003-2004,2006 Simtec Electronics
<6>Initialize DMAC OK
<6>bio: create slab <bio-0> at 0
<5>SCSI subsystem initialized
<6>usbcore: registered new interface driver usbfs
<6>usbcore: registered new interface driver hub
<6>usbcore: registered new device driver usb
<6>Advanced Linux Sound Architecture Driver Version 1.0.24.
<6>cfg80211: Calling CRDA to update world regulatory domain
Init eGon pin module V2.0
<6>Switching to clocksource aw 64bits couter
<5>FS-Cache: Loaded
<6>CacheFiles: Loaded
[usb_manager]: CONFIG_USB_SW_SUN5I_USB0_OTG
<1>Unable to handle kernel paging request at virtual address dc000010
<1>pgd = c0004000
<1>[dc000010] *pgd=00000000
<0>Internal error: Oops: 5 [#1] PREEMPT
<d>Modules linked in:
CPU: 0    Not tainted  (3.0.57 #1)
PC is at strcmp+0xc/0x3c
LR is at script_parser_fetch+0xf8/0x2e8
pc : [<c027e660>]    lr : [<c005000c>]    psr: 80000013
sp : d983beb8  ip : d983bec8  fp : d983bec4
r10: 00a00000  r9 : 0a0a2020  r8 : 00000001
r7 : c075d798  r6 : c076602c  r5 : dc000010  r4 : c06bf9f0
r3 : 000000ff  r2 : 00000075  r1 : c06bfb9c  r0 : dc000010
Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c5387d  Table: 40004019  DAC: 00000015

PC: 0xc027e5e0:
e5e0  e3520000 089da800 e240c001 e5d13000 e3530000 12811001 e2522001 e5ec3001
e600  1afffff9 e89da800 e1a0c00d e92dd800 e24cb004 e5d03000 e3530000 01a02000
e620  0a000005 e1a03000 e2833001 e5d3c000 e1a02003 e35c0000 1afffffa e2411001
e640  e5f13001 e3530000 e4c23001 1afffffb e89da800 e1a0c00d e92dd800 e24cb004
e660  e4d03001 e4d12001 e1530002 1a000003 e3530000 1afffff9 e1a00003 e89da800
e680  e1520003 93a00001 83e00000 e89da800 e1a0c00d e92dd800 e24cb004 e352000
e6a0  01a00002 089da800 e5d03000 e5d1c000 e153000c 1a00000e e3530000 12403001
e6c0  1082002 1a000006 ea00000f e5f03001 e5f1c001 e153000c 1a000005 e3530000

LR: 0xc004ff8c:
ff8c  e7d52003 e2833001 e3520000 1afffff9 e353001f d50b5078 ca000069 e3a03000
ffac  ea000001 e3530021 0a00005c e7d42003 e2833001 e3520000 1afffff9 e353001f
ffcc  d50b4074 ca000055 e5d73074 e3530000 1a000075 e5969008 e3590000 da00001e
ffec  e59f31f0 e3a0a000 e5933004 e2835010 e50b3080 e1a00005 e51b1078 eb08b991
000c  e2508000 1a000010 e5952020 e3520000 e50b207c da00000c e5954024 e51b3080
002c  e0834104 e1a00004 e51b1074 eb08b985 e2888001 e3500000 0a00000a e51b207c
004c  e2844028 e1580002 1afffff5 e28aa001 e2855028 e15a0009 1affffe5 e3e00003
006c  e24bd028 e89daff0 e5d7308c e5947024 e3530000 e1a05827 e6ff7077 1a000044

SP: 0xd983be38
be38  c006493 c0053b14 d983be6c d983be50 c003103c c0064904 0000040f 00000005
be58  c07660c c075d798 d983bec4 d983be70 c00373d0 c00311fc dc000010 c06bfb9c
be78  00000075 000000ff c06bf9f0 dc000010 c076602c c075d798 00000001 0a0a2020
be98  00a00000 d983bec4 d983bec8 d983beb8 c005000c c027e660 80000013 ffffffff
beb8  d983bf4c d983bec8 c005000c c027e660 00000040 c3000000 d983befc c06bfb9c
bed8  c06bf9f0 c080bf48 c07407c0 00000000 d98b2e10 d98b2e40 00000004 d983bf00
bef8  c014b8c4 00000000 c080bf40 00000000 00000013 00000000 00000000 00000000
bf18  d983bf3c d983bf28 c050e608 00000000 c06bfb9c c080bf40 c06bfbac c06bfba4

IP: 0xd983be48:
be48  c003103c c0064904 0000040f 00000005 c076602c c075d798 d983bec4 d983be70
be68  c00373d0 c00311fc dc000010 c06bfb9c 00000075 000000ff c06bf9f0 dc000010
be88  c076602c c075d798 00000001 0a0a2020 00a00000 d983bec4 d983bec8 d983beb8
bea8  c005000c c027e660 80000013 ffffffff d983bf4c d983bec8 c005000c c027e660
bec8  00000040 c3000000 d983befc c06bfb9c c06bf9f0 c080bf48 c07407c0 00000000
bee8  d98b2e10 d98b2e40 00000004 d983bf00 c014b8c4 00000000 c080bf40 00000000
bf08  00000013 00000000 00000000 00000000 d983bf3c d983bf28 c050e608 00000000
bf28  c06bfb9c c080bf40 c06bfbac c06bfba4 00000000 00000000 d983bf84 d983bf50

FP: 0xd983be44:
be44  d983be50 c003103c c0064904 0000040f 00000005 c076602c c075d798 d983bec4
be64  d983be70 c00373d0 c00311fc dc000010 c06bfb9c 00000075 000000ff c06bf9f0
be84  dc000010 c076602c c075d798 00000001 0a0a2020 00a00000 d983bec4 d983bec8
bea4  d983beb8 c005000c c027e660 80000013 ffffffff d983bf4c d983bec8 c005000c
bec4  c027e660 00000040 c3000000 d983befc c06bfb9c c06bf9f0 c080bf48 c07407c0
bee4  00000000 d98b2e10 d98b2e40 00000004 d983bf00 c014b8c4 00000000 c080bf40
bf04  00000000 00000013 00000000 00000000 00000000 d983bf3c d983bf28 c050e608
bf24  00000000 c06bfb9c c080bf40 c06bfbac c06bfba4 00000000 00000000 d983bf84

R0: 0xdbffff90:
ff90  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
ffb0  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
ffd0  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
fff0  ffffffff ffffffff ffffffff ffffffff ******** ******** ******** ********
0010  ******** ******** ******** ******** ******** ******** ******** ********
0030  ******** ******** ******** ******** ******** ******** ******** ********
0050  ******** ******** ******** ******** ******** ******** ******** ********
0070  ******** ******** ******** ******** ******** ******** ******** ********

R1: 0xc06bfb1c:
fb1c  6c696166 0a2e6465 00000000 3a525245 74656720 62737520 70206425 725f7968
fb3c  74657365 69616620 2e64656c 0000000a 3a525245 6f6c6320 695f6b63 2074696e
fb5c  6c696166 000a6465 3a525245 69706720 65725f6f 73657571 61662074 64656c69
fb7c  0000000a 3a525245 62737520 6c612031 5f636f6c 206e6970 6c696166 000a6465
fb9c  63627375 00000030 63627375 00000031 63627375 00000032 753e333c 732d6273
fbbc  61726f74 203a6567 6f727245 6e692072 3a732520 2d737520 6272733e 25203d20
fbdc  00000a70 48202020 2074736f 69736373 203a6425 2d627375 726f7473 0a656761
fbfc  00000000 20202020 56202020 6f646e65 25203a72 00000a73 20202020 72502020

R4: 0xc06bf970:
f970  74736f68 5f77732f 5f696368 786e7573 00632e69 5d73255b 7277203a 6f203a6e
f990  206e6570 636f6c63 6166206b 64656c69 3028202c 2c702578 25783020 30202c70
f9b0  2c702578 2c642520 25783020 000a2970 5d73255b 706f203a 63206e65 6b636f6c
f9d0  0000000a 3a524545 6b6e7520 206e776f 63627375 286f6e5f 0a296425 00000000
f9f0  5f627375 64657375 00000000 3a525245 74656720 62737520 65203263 6c62616e
fa10  61662065 64656c69 0000000a 5f627375 5f767264 73756276 6970675f 0000006f
fa30  3a525245 74656720 62737520 28642563 20297325 66206469 656c6961 00000a64
fa50  5f627375 74736f68 696e695f 74735f74 00657461 3a525245 72637320 5f747069


R5: 0xdbffff90:
ff90  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
ffb0  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
ffd0  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
fff0  ffffffff ffffffff ffffffff ffffffff ******** ******** ******** ********
0010  ******** ******** ******** ******** ******** ******** ******** ********
0030  ******** ******** ******** ******** ******** ******** ******** ********
0050  ******** ******** ******** ******** ******** ******** ******** ********
0070  ******** ******** ******** ******** ******** ******** ******** ********

R6: 0xc0765fac:
5fac  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5fcc  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5fec  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
600c  00000000 00000000 f1c02000 d9811000 00000024 ffffffff 00000010 d982eb00
602c  f1c20800 c3000000 0a0a2020 00000000 00000000 00000000 d9800b40 3b9aca00
604c  00000000 389fd980 00000000 c0766059 00000000 00000000 00000000 77359400
606c  00000000 77359400 00000000 c00546e8 c071ae70 00000000 00000001 c00550dc
608c  70617773 00726570 00000000 00000000 00000000 00000000 00000000 00000000

R7: 0xc075d718:
d718  0000035b 00000000 c0672ab8 c0517424 c06763a0 c0676168 00000366 00000000
d738  c0672ab8 c0517438 c06763a0 c067627c 00000326 00000000 c0672ab8 c0517424
d758  c06763a0 c06762b4 000003d4 00000000 c0672ab8 c0517490 c06763a0 c06762e4
d778  000003e2 00000000 c0672ab8 c0517448 c06763a0 c0676360 00000633 00000000
d798  c0676878 c05174f4 c0676768 c06766d4 00000106 00000000 c0676878 c05174f4
d7b8  c0676768 c06766f0 00000125 00000000 c0676878 c05174f4 c0676768 c067671c
d7d8  00000138 00000000 c0676878 c05174e0 c0676768 c06766d4 0000009f 00000000
d7f8  c0676878 c05174e0 c0676768 c06766f0 000000c0 00000000 c0676878 c05174e0

<0>Process swapper (pid: 1, stack limit = 0xd983a2e8)
<0>Stack: (0xd983beb8 to 0xd983c000)
<0>bea0:                                                       d983bf4c d983bec8
<0>bec0: c005000c c027e660 00000040 c3000000 d983befc c06bfb9c c06bf9f0 c080bf48
<0>bee0: c07407c0 00000000 d98b2e10 d98b2e40 00000004 d983bf00 c014b8c4 00000000
<0>bf00: c080bf40 00000000 00000013 00000000 00000000 00000000 d983bf3c d983bf28
<0>bf20: c050e608 00000000 c06bfb9c c080bf40 c06bfbac c06bfba4 00000000 00000000
<0>bf40: d983bf84 d983bf50 c0021834 c004ff20 c02ee258 c0278780 c0762f80 d983a000
<0>bf60: 00000000 c0762f80 d983a000 00000000 00000013 00000000 d983bfdc d983bf88
<0>bf80: c003139c c00217bc c00a55e0 00000060 c00217b0 00000000 d983bfb4 d983bfa8
<0>bfa0: c027c1ec c027c120 d983bfc4 d983bfb8 c00a1d40 c002a654 c002abdc c0061f50
<0>bfc0: 00000013 00000000 00000000 00000000 d983bff4 d983bfe0 c0008aec c0031368
<0>bfe0: 00000000 c0008a0c 00000000 d983bff8 c0061f50 c0008a18 ffffffff ffffffff

Backtrace:
[<c027e654>] (strcmp+0x0/0x3c) from [<c005000c>] (script_parser_fetch+0xf8/0x2e8)
[<c004ff14>] (script_parser_fetch+0x0/0x2e8) from [<c0021834>] (usb_manager_init+0x84/0x4e0)
[<c00217b0>] (usb_manager_init+0x0/0x4e0) from [<c003139c>] (do_one_initcall+0x40/0x184)
r8:00000000 r7:00000013 r6:00000000 r5:d983a000 r4:c0762f80
[<c003135c>] (do_one_initcall+0x0/0x184) from [<c0008aec>] (kernel_init+0xe0/0x184)
[<c0008a0c>] (kernel_init+0x0/0x184) from [<c0061f50>] (do_exit+0x0/0x728)
r5:c0008a0c r4:00000000
<0>Code: e89da800 e1a0c00d e92dd800 e24cb004 (e4d03001)
<4>---[ end trace 8b9b5bfb87ea01d4 ]---
<0>Kernel panic - not syncing: Attempted to kill init!

Backtrace:
[<c003b368>] (dump_backtrace+0x0/0x10c) from [<c050e384>] (dump_stack+0x18/0x1c)
r6:c071ad14 r5:00000000 r4:c07660e8 r3:00000000
[<c050e36c>] (dump_stack+0x0/0x1c) from [<c050e4d0>] (panic+0x6c/0x180)
[<c050e464>] (panic+0x0/0x180) from [<c0062638>] (do_exit+0x6e8/0x728)
r3:00000000 r2:c0062560 r1:d983a000 r0:c0677a70
r7:d983bd32
[<c0061f50>] (do_exit+0x0/0x728) from [<c003b768>] (die+0x23c/0x2b8)
r7:d983bd32
[<c003b52c>] (die+0x0/0x2b8) from [<c050e3e4>] (__do_kernel_fault.part.3+0x5c/0x7c)
[<c050e388>] (__do_kernel_fault.part.3+0x0/0x7c) from [<c00401b4>] (do_translation_fault+0x0/0xa8)
r7:c071d11c r3:d983be70
[<c004012c>] (do_bad_area+0x0/0x88) from [<c0040218>] (do_translation_fault+0x64/0xa8)
r7:40004019 r6:00000000 r5:c0004000 r4:00000005
[<c00401b4>] (do_translation_fault+0x0/0xa8) from [<c003122c>] (do_DataAbort+0x3c/0xa0)
r7:d983be70 r6:dc000010 r5:c0716100 r4:00000005
[<c00311f0>] (do_DataAbort+0x0/0xa0) from [<c00373d0>] (__dabt_svc+0x70/0xa0)

Exception stack(0xd983be70 to 0xd983beb8)
be60:                                     dc000010 c06bfb9c 00000075 000000ff
be80: c06bf9f0 dc000010 c076602c c075d798 00000001 0a0a2020 00a00000 d983bec4
bea0: d983bec8 d983beb8 c005000c c027e660 80000013 ffffffff
r7:c075d798 r6:c076602c r5:00000005 r4:0000040f
[<c027e654>] (strcmp+0x0/0x3c) from [<c005000c>] (script_parser_fetch+0xf8/0x2e8)
[<c004ff14>] (script_parser_fetch+0x0/0x2e8) from [<c0021834>] (usb_manager_init+0x84/0x4e0)
[<c00217b0>] (usb_manager_init+0x0/0x4e0) from [<c003139c>] (do_one_initcall+0x40/0x184)
r8:00000000 r7:00000013 r6:00000000 r5:d983a000 r4:c0762f80
[<c003135c>] (do_one_initcall+0x0/0x184) from [<c0008aec>] (kernel_init+0xe0/0x184)
[<c0008a0c>] (kernel_init+0x0/0x184) from [<c0061f50>] (do_exit+0x0/0x728)
r5:c0008a0c r4:00000000

<0>Rebooting in 10 seconds..



ehj666

Per the previous post, here is the boot log from the subsequent Android boot. I had to snip a couple sections to get it below the 20000 character limit:


Starting kernel ...

<Startup snipped>

[    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:96 nr_irqs:96 96
[    0.000000] timer0: Periodic Mode
[    0.000000] Console: colour dummy device 80x30
[    0.000000] ram_console: buffer   (null), invalid size 0, datasize 4294967284
[    0.000000] Calibrating delay loop... 383.38 BogoMIPS (lpj=1916928)
[    0.050000] pid_max: default: 32768 minimum: 301
[    0.050000] Mount-cache hash table entries: 512
[    0.050000] Initializing cgroup subsys cpuacct
[    0.050000] Initializing cgroup subsys devices
[    0.050000] Initializing cgroup subsys freezer
[    0.050000] Initializing cgroup subsys blkio
[    0.050000] CPU: Testing write buffer coherency: ok
[    0.050000] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[    0.050000] devtmpfs: initialized
[    0.050000] print_constraints: dummy:
[    0.050000] NET: Registered protocol family 16
[    0.050000] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.050000] SOFTWINNER DMA Driver, (c) 2003-2004,2006 Simtec Electronics
[    0.050000] Initialize DMAC OK
[    0.050000] bio: create slab <bio-0> at 0
[    0.060000] SCSI subsystem initialized
[    0.060000] usbcore: registered new interface driver usbfs
[    0.060000] usbcore: registered new interface driver hub
[    0.060000] usbcore: registered new device driver usb
[    0.060000] Advanced Linux Sound Architecture Driver Version 1.0.24.
[    0.060000] cfg80211: Calling CRDA to update world regulatory domain
[    0.060000] Init eGon pin module V2.0
[    0.060000] Switching to clocksource aw 64bits couter
[    0.060000] FS-Cache: Loaded
[    0.060000] CacheFiles: Loaded
[    0.070000] Switched to NOHz mode on CPU #0
[    0.070000] [usb_manager]: CONFIG_USB_SW_SUN5I_USB0_OTG
[    0.070000] [sw_hcd0]: usb host driver initialize........
[    0.070000] [sw_hcd0]: open_usb_clock
[    0.090000] [hcd0]: open, 0x60(0xc061), 0xcc(0x101)
[    0.090000] [sw_hcd0]: host_init_state = 0
[    0.090000] [sw_hcd0]: platform is usb host
[    0.090000] [sw_hcd0]: sw_hcd_init_controller: sw_hcd_host0: USB Host mode controller at f1c13000 using PIO, IRQ 38
[    0.090000] sw_hcd_host0 sw_hcd_host0: sw_hcd host driver
[    0.090000] sw_hcd_host0 sw_hcd_host0: new USB bus registered, assigned bus number 1
[    0.090000] hub 1-0:1.0: USB hub found
[    0.090000] hub 1-0:1.0: 1 port detected
[    0.090000] wrn: hcd is not enable, need not start hcd
[    0.090000] [sw_hcd0]: sw_usb_host0_disable start
[    0.090000] -------sw_hcd0_soft_disconnect---------
[    0.090000] [sw_hcd_host0]: Set USB Power OFF
[    0.090000] wrn: hcd is not enable, need not stop hcd
[    0.090000] [sw_hcd0]: close_usb_clock
[    0.090000] [hcd0]: close, 0x60(0xc060), 0xcc(0x0)
[    0.090000] [sw_hcd0]: sw_usb_host0_disable end
[    0.090000] [sw_udc]: udc_init: version 20080411
[    0.090000] axp driver uning configuration failed(539)
[    0.090000] axp driver uning configuration failed(551)
[    0.090000] NET: Registered protocol family 2
[    0.090000] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.090000] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.090000] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    0.100000] TCP: Hash tables configured (established 16384 bind 16384)
[    0.100000] TCP reno registered
[    0.100000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.100000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.100000] NET: Registered protocol family 1
[    0.100000] RPC: Registered named UNIX socket transport module.
[    0.100000] RPC: Registered udp transport module.
[    0.100000] RPC: Registered tcp transport module.
[    0.100000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.100000] Trying to unpack rootfs image as initramfs...
[    0.200000] Freeing initrd memory: 528K
[    0.200000] [pm]aw_pm_init!
[    0.200000] audit: initializing netlink socket (disabled)
[    0.200000] type=2000 audit(0.199:1): initialized
[    0.210000] ashmem: initialized
[    0.230000] VFS: Disk quotas dquot_6.5.2
[    0.230000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.230000] NTFS driver 2.1.30 [Flags: R/W].
[    0.230000] fuse init (API version 7.16)
[    0.230000] msgmni has been set to 708
[    0.240000] alg: No test for stdrng (krng)
[    0.240000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.240000] io scheduler noop registered
[    0.240000] io scheduler deadline registered
[    0.240000] io scheduler cfq registered (default)
[    0.240000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.270000] serial8250.0: ttyS0 at MMIO 0x1c28400 (irq = 2) is a U6_16550A
[    0.900000] console [ttyS0] enabled
[    0.920000] sunxi-uart.1: ttyS0 at MMIO 0x1c28400 (irq = 2) is a U6_16550A
[    0.930000] brd: module loaded
[    0.940000] loop: module loaded
[    0.940000] [NAND]nand driver, init.
[    0.950000] [NAND] nand gpio_request
[    0.950000] [NAND] nand driver version: 0x2 0x9
[    0.950000] nand interrupte register ok
[    0.960000] ret of NFC_ChangMode is 0
[    0.960000] dma_hdle  is 0
[    0.960000] dma_hdle  is 10000008
[    1.010000] The 0 disk name = bootloader, class name = DISK, disk size = 32768
[    1.020000] The 1 disk name = env, class name = DISK, disk size = 4096
[    1.030000] The 2 disk name = boot, class name = DISK, disk size = 65536
[    1.030000] The 3 disk name = system, class name = DISK, disk size = 524288
[    1.040000] The 4 disk name = data, class name = DISK, disk size = 1048576
[    1.050000] The 5 disk name = misc, class name = DISK, disk size = 2048
[    1.050000] The 6 disk name = recovery, class name = DISK, disk size = 65536
[    1.060000] The 7 disk name = cache, class name = DISK, disk size = 524288
[    1.070000] The 8 disk name = UDISK, class name = DISK, disk size = 5513216
[    1.070000] The 8 disk size = 5513216
[    1.080000] part total count = 9
[    1.080000]  nanda:
[    1.090000]  nandb: unknown partition table
[    1.090000]  nandc: unknown partition table
[    1.100000]  nandd: unknown partition table
[    1.110000]  nande: unknown partition table
[    1.110000]  nandf: unknown partition table
[    1.120000]  nandg: unknown partition table
[    1.130000]  nandh: unknown partition table
[    1.130000]  nandi:
[    1.130000] benn: nand probe enter
[    1.140000] [NAND]nand driver, ok.
[    1.140000] [spi]: sw spi init !!
[    1.150000] [spi]: sw spi init fetch spi0 uning configuration failed
[    1.150000] [spi]: Get spi devices number failed
[    1.160000] [spi]: register spi devices board info failed
[    1.160000] spi: cannot find any using configuration for                     all 4 spi controllers, return directly!
[    1.170000] PPP generic driver version 2.4.2
[    1.180000] PPP Deflate Compression module registered
[    1.180000] PPP BSD Compression module registered
[    1.190000] PPP MPPE Compression module registered
[    1.190000] NET: Registered protocol family 24
[    1.200000] PPTP driver version 0.8.5
[    1.200000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.210000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.220000] Initializing USB Mass Storage driver...
[    1.220000] usbcore: registered new interface driver usb-storage
[    1.230000] USB Mass Storage support registered.
[    1.230000] usbcore: registered new interface driver ums-alauda
[    1.240000] usbcore: registered new interface driver ums-cypress
[    1.240000] usbcore: registered new interface driver ums-datafab
[    1.250000] usbcore: registered new interface driver ums_eneub6250
[    1.260000] usbcore: registered new interface driver ums-freecom
[    1.260000] usbcore: registered new interface driver ums-isd200
[    1.270000] usbcore: registered new interface driver ums-jumpshot
[    1.270000] usbcore: registered new interface driver ums-karma
[    1.280000] usbcore: registered new interface driver ums-onetouch
[    1.290000] usbcore: registered new interface driver ums-realtek
[    1.290000] usbcore: registered new interface driver ums-sddr09
[    1.300000] usbcore: registered new interface driver ums-sddr55
[    1.300000] usbcore: registered new interface driver ums-usbat
[    1.310000] usbcore: registered new interface driver usbserial
[    1.320000] USB Serial support registered for generic
[    1.320000] usbcore: registered new interface driver usbserial_generic
[    1.330000] usbserial: USB Serial Driver core
[    1.330000] USB Serial support registered for GSM modem (1-port)
[    1.340000] usbcore: registered new interface driver option
[    1.340000] option: v0.7.2:USB Driver for GSM modems
[    1.350000] ------print_msc_config-----
[    1.350000] vendor_id             = 0x18d1
[    1.360000] mass_storage_id       = 0x1
[    1.360000] adb_id                = 0x2
[    1.370000] usb_manufacturer_name = USB Developer
[    1.370000] usb_product_name      = Android
[    1.370000] usb_serial_number     = 20080411
[    1.380000] msc_vendor_name       = USB 2.0
[    1.380000] msc_product_name      = USB Flash Driver
[    1.390000] msc_release           = 100
[    1.390000] luns                  = 3
[    1.400000] ---------------------------
[    1.400000] [sw_udc]: [sw_usb_udc]: binding gadget driver 'android_usb'
[    1.410000] [sw_udc]: alloc request: ep(0xc0824b50, ep0, 64), req(0xdf04c680)
[    1.410000] WRN:L2694(drivers/usb/sun5i_usb/udc/sw_udc.c):ERR: usb device is not active
[    1.420000] [sw_udc]: sw_udc_pullup, is_on = 0
[    1.430000] WRN:L2729(drivers/usb/sun5i_usb/udc/sw_udc.c):ERR: usb device is not active
[    1.440000] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    1.440000] android_usb gadget: Number of LUNs=3
[    1.450000]  lun0: LUN: removable file: (no medium)
[    1.450000]  lun1: LUN: removable file: (no medium)
[    1.460000]  lun2: LUN: removable file: (no medium)
[    1.460000] lun name: lun
[    1.470000] lun name: lun1
[    1.470000] lun name: lun2
[    1.470000] Gadget Android: controller 'sw_usb_udc' not recognized
[    1.480000] WRN:L2694(drivers/usb/sun5i_usb/udc/sw_udc.c):ERR: usb device is not active
[    1.490000] android_usb gadget: android_usb ready
[    1.490000] mousedev: PS/2 mouse device common for all mice
[    1.500000] i2c /dev entries driver
[    1.500000] !!! base_Addr = 0xe08ecc00
[    1.510000] config i2c gpio with gpio_config api
[    1.510000] twi0, apb clock = 24000000
[    1.510000] incomplete xfer (0x20)
[    1.520000] axp_mfd 0-0034: failed reading at 0x03
[    1.520000] [AXP20-MFD] try to read chip id failed!
[    1.530000] axp_mfd: probe of 0-0034 failed with error -70
[    1.530000] rtc_detect,line:197
[    1.540000] I2C: i2c-0: AW16XX I2C adapter
[    1.540000] **********start************
[    1.540000] 0x40
[    1.550000] 0xf8
[    1.550000] 0x28
[    1.550000] 0x0
[    1.550000] 0x0
[    1.550000] **********end************
[    1.560000] !!! base_Addr = 0xe08ee000
[    1.560000] twi1, apb clock = 24000000
[    1.570000] rtc_detect: Detected chip pcf8563 at adapter 1, address 0x51
[    1.570000] pcf8563 1-0051: chip found, driver version 0.4.3
[    1.580000] rtc (null): alarm rollover not handled
[    1.590000] using rtc device, pcf8563, for alarms
[    1.590000] pcf8563 1-0051: rtc core: registered pcf8563 as rtc0
[    1.600000] I2C: i2c-1: AW16XX I2C adapter
[    1.610000] **********start************
[    1.610000] 0x40
[    1.610000] 0xf8
[    1.610000] 0x58
[    1.620000] 0x0
[    1.620000] 0x0
[    1.620000] **********end************
[    1.620000] !!! base_Addr = 0xe08f0400
[    1.630000] twi2, apb clock = 24000000
[    1.630000] rtc_detect,line:197
[    1.630000] I2C: i2c-2: AW16XX I2C adapter
[    1.640000] **********start************
[    1.640000] 0x40
[    1.640000] 0xf8
[    1.650000] 0x58
[    1.650000] 0x0
[    1.650000] 0x0
[    1.650000] **********end************
[    1.660000] lirc_dev: IR Remote Control driver registered, major 250
[    1.660000] IR NEC protocol handler initialized
[    1.670000] IR RC5(x) protocol handler initialized
[    1.670000] IR RC6 protocol handler initialized
[    1.680000] IR JVC protocol handler initialized
[    1.680000] IR Sony protocol handler initialized
[    1.690000] IR RC5 (streamzap) protocol handler initialized
[    1.690000] IR LIRC bridge handler initialized
[    1.700000] Linux video capture interface: v2.00
[    1.700000] [pa_drv] start!!!
[    1.700000] [pa_drv] init end!!!
[    1.710000] device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com
[    1.720000] device-mapper: multipath: version 1.3.0 loaded
[    1.720000] device-mapper: multipath round-robin: version 1.0.0 loaded
[    1.730000] device-mapper: multipath queue-length: version 0.1.0 loaded
[    1.740000] device-mapper: multipath service-time: version 0.2.0 loaded
[    1.750000] [mmc_pm]: no sdio card used in configuration
[    1.750000] [mmc]: sunximmc_init
[    1.750000] [mmc]: sunxi mmc controller using config : 0x1
[    1.760000] [mmc]: sunxi-mmc.0: pdev->name: sunxi-mmc, pdev->id: 0
[    1.770000] [mmc]: mmc 0 power off !!
[    1.770000] [mmc]: mmc0 Probe: base:0xe08f2000 irq:32 dma:0 pdes:0xdf09c000, ret 0.
[    1.780000] usbcore: registered new interface driver usbhid
[    1.790000] usbhid: USB HID core driver
[    1.790000] logger: created 256K log 'log_main'
[    1.790000] logger: created 256K log 'log_events'
[    1.800000] logger: created 256K log 'log_radio'
[    1.800000] logger: created 256K log 'log_system'
[    1.810000] enter sun5i Audio codec!!!
[    1.820000] sun5i audio support initialized
[    1.820000] sun5i Audio codec successfully loaded..
[    1.820000] ALSA device list:
[    1.830000]   #0: sun5i-CODEC  Audio Codec
[    1.830000] Netfilter messages via NETLINK v0.30.
[    1.840000] nf_conntrack version 0.5.0 (5664 buckets, 22656 max)
[    1.840000] ctnetlink v0.93: registering with nfnetlink.
[    1.850000] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[    1.860000] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[    1.860000] IPv4 over IPv4 tunneling driver
[    1.870000] GRE over IPv4 demultiplexor driver
[    1.870000] GRE over IPv4 tunneling driver
[    1.880000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.880000] TCP cubic registered
[    1.890000] Initializing XFRM netlink socket
[    1.890000] NET: Registered protocol family 10
[    1.900000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    1.900000] IPv6 over IPv4 tunneling driver
[    1.910000] NET: Registered protocol family 17
[    1.910000] NET: Registered protocol family 15
[    1.920000] L2TP core driver, V2.0
[    1.920000] PPPoL2TP kernel driver, V2.0
[    1.930000] L2TP IP encapsulation support (L2TPv3)
[    1.930000] L2TP netlink interface
[    1.940000] L2TP ethernet pseudowire support (L2TPv3)
[    1.940000] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    1.950000] Registering SWP/SWPB emulation handler
[    1.950000] Unable to handle kernel NULL pointer dereference at virtual address 00000019
[    1.960000] pgd = c0004000
[    1.960000] [00000019] *pgd=00000000
[    1.970000] Internal error: Oops: 5 [#1] PREEMPT
[    1.970000] Modules linked in:
[    1.970000] CPU: 0    Not tainted  (3.0.8+ #1)
[    1.970000] PC is at regulator_get_voltage+0x8/0x34
[    1.970000] LR is at sun4i_cpufreq_initcall+0xc8/0x124
[    1.970000] pc : [<c02e9a00>]    lr : [<c000e98c>]    psr: a0000013
[    1.970000] sp : df83bf98  ip : c0842354  fp : 00000000
[    1.970000] r10: 00000000  r9 : 00000000  r8 : c000e8c4
[    1.970000] r7 : 00000000  r6 : df83a000  r5 : c002bc08  r4 : ffffffed
[    1.970000] r3 : 00000000  r2 : 00000000  r1 : 00000001  r0 : ffffffed
[    1.970000] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[    1.970000] Control: 10c5387d  Table: 40004019  DAC: 00000015
[    1.970000]

<Memory dump snipped>

[    1.970000] [<c02e9a00>] (regulator_get_voltage+0x8/0x34) from [<c000e98c>] (sun4i_cpufreq_initcall+0xc8/0x124)
[    1.970000] [<c000e98c>] (sun4i_cpufreq_initcall+0xc8/0x124) from [<c0031464>] (do_one_initcall+0x34/0x17c)
[    1.970000] [<c0031464>] (do_one_initcall+0x34/0x17c) from [<c0008a18>] (kernel_init+0xc8/0x158)
[    1.970000] [<c0008a18>] (kernel_init+0xc8/0x158) from [<c0038edc>] (kernel_thread_exit+0x0/0x8)
[    1.970000] Code: e1a00005 e8bd8070 e92d4038 e1a04000 (e590102c)
[    2.610000] ---[ end trace 37c661541c0f5a95 ]---
[    2.620000] Kernel panic - not syncing: Attempted to kill init!
[    2.630000] [<c003e204>] (unwind_backtrace+0x0/0x138) from [<c05a5c2c>] (panic+0x6c/0x18c)
[    2.630000] [<c05a5c2c>] (panic+0x6c/0x18c) from [<c0067f14>] (do_exit+0x6ec/0x720)
[    2.640000] [<c0067f14>] (do_exit+0x6ec/0x720) from [<c003c1a4>] (die+0x260/0x2b8)
[    2.650000] [<c003c1a4>] (die+0x260/0x2b8) from [<c0042758>] (__do_kernel_fault+0x74/0x84)
[    2.660000] [<c0042758>] (__do_kernel_fault+0x74/0x84) from [<c00428f4>] (do_page_fault+0x18c/0x2ec)
[    2.670000] [<c00428f4>] (do_page_fault+0x18c/0x2ec) from [<c003121c>] (do_DataAbort+0x34/0x9c)
[    2.680000] [<c003121c>] (do_DataAbort+0x34/0x9c) from [<c0037950>] (__dabt_svc+0x70/0xa0)
[    2.680000] Exception stack(0xdf83bf50 to 0xdf83bf98)
[    2.690000] bf40:                                     ffffffed 00000001 00000000 00000000
[    2.700000] bf60: ffffffed c002bc08 df83a000 00000000 c000e8c4 00000000 00000000 00000000
[    2.700000] bf80: c0842354 df83bf98 c000e98c c02e9a00 a0000013 ffffffff
[    2.710000] [<c0037950>] (__dabt_svc+0x70/0xa0) from [<c02e9a00>] (regulator_get_voltage+0x8/0x34)
[    2.720000] [<c02e9a00>] (regulator_get_voltage+0x8/0x34) from [<c000e98c>] (sun4i_cpufreq_initcall+0xc8/0x124)
[    2.730000] [<c000e98c>] (sun4i_cpufreq_initcall+0xc8/0x124) from [<c0031464>] (do_one_initcall+0x34/0x17c)
[    2.740000] [<c0031464>] (do_one_initcall+0x34/0x17c) from [<c0008a18>] (kernel_init+0xc8/0x158)
[    2.750000] [<c0008a18>] (kernel_init+0xc8/0x158) from [<c0038edc>] (kernel_thread_exit+0x0/0x8)

JohnS

The first I don't know what's wrong.

The second has these lines about the AXP209:
... axp_mfd 0-0034: failed reading at 0x03
... [AXP20-MFD] try to read chip id failed!
... axp_mfd: probe of 0-0034 failed with error -70

Mine always crashed if that happened.

I also found that if I built u-boot and tested i2c that it could not see the AXP209 when the above was happening.  In case you do something similar, try the command
i2c md 34 0 c0
and you should see data for the power chip.

I was in the process of trying various things when it started working.

If you can, get it to fail and go round the board making any checks you can (I was going to check voltages on the pads, pins and so on).  If you've a 'scope, check for noise.  Etc.

John

ehj666

I am starting over with a new build environment for the kernel and Debian, using a dedicated VM, and following a different set of instructions. Hopefully that will result in better success. I just don't understand why I cannot boot, Android for example, after my image has failed.

I am guessing there is some residual potential in a capacitor which causes the problem until it has had time to fully discharge.

JohnS

Good luck, but I think it's hardware-related.

John

ehj666

One thing I found using the instructions found here:
https://www.olimex.com/forum/index.php?topic=518.0

Which references instructions here:
http://blog.klava.se/post/debian-sd-card-for-olinuxino-a13

Is that it says to install gcc-4.6-arm-linux-gnueabi. I get a make error calling the compiler until I install gcc-arm-linux-gnueabi.

Everything seems to compile correctly there after.

anubis

#8
Hi,

I had same problem as ehj666  same on different images/kernels:

1) U-Boot  *** Warning - bad CRC, using default environment
then
2) Kernel panic, rebooting in 10 sec...

Also I discovered it's happen only when console was attached to UART1.
(without console boots was ok)


I fixed it
by typing  'save'  command in U-boot console.

I don't understang the real reason of this problem...


UPD:

looks like 'save' do not always work.

But hotplugging USB-UART converter after A13 boot process (just wait ~30 sec and plug USB and UART wires) fixed an issue!
Next subsequent reboots, power on-off cycles are ok also.