I was able to build core-image-base image for A20-Lime2 using poky and meta-sunxi layer (no custom configuration made). I mounted generated image (sunxi_sdimg file) on a SD card.
During A20-Lime2 booting I get Kernel panic.
[ 1.816687] ata1: SATA link down (SStatus 0 SControl 300)
[ 1.900301] mmcblk0: p1 p2
[ 1.913078] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incomp atibilities
[ 1.930172] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incomp atibilities
[ 1.952002] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. O pts: (null)
[ 1.968275] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.986737] devtmpfs: mounted
[ 1.998099] Freeing unused kernel memory: 264K (c05d0000 - c0612000)
[ 2.015731] Kernel panic - not syncing: No working init found. Try passing i nit= option to kernel. See Linux Documentation/init.txt for guidance.
[ 2.037364] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.1.10 #1
[ 2.051722] Hardware name: Allwinner sun7i (A20) Family
[ 2.065403] [<c00156b8>] (unwind_backtrace) from [<c0012600>] (show_stack+0x1 0/0x14)
[ 2.081660] [<c0012600>] (show_stack) from [<c04548e8>] (dump_stack+0x80/0x90 )
[ 2.097411] [<c04548e8>] (dump_stack) from [<c0453ae0>] (panic+0xa0/0x1f8)
[ 2.112756] [<c0453ae0>] (panic) from [<c0452e8c>] (cpu_die+0x0/0x88)
[ 2.127668] [<c0452e8c>] (cpu_die) from [<c000f428>] (ret_from_fork+0x14/0x2c )
[ 2.143413] CPU1: stopping
[ 2.154614] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.1.10 #1
[ 2.169092] Hardware name: Allwinner sun7i (A20) Family
[ 2.182772] [<c00156b8>] (unwind_backtrace) from [<c0012600>] (show_stack+0x1 0/0x14)
[ 2.198955] [<c0012600>] (show_stack) from [<c04548e8>] (dump_stack+0x80/0x90 )
[ 2.214595] [<c04548e8>] (dump_stack) from [<c0014a1c>] (handle_IPI+0x14c/0x1 6c)
[ 2.230368] [<c0014a1c>] (handle_IPI) from [<c0009420>] (gic_handle_irq+0x58/ 0x5c)
[ 2.246370] [<c0009420>] (gic_handle_irq) from [<c00130c0>] (__irq_svc+0x40/0 x54)
[ 2.262350] Exception stack(0xee891f78 to 0xee891fc0)
[ 2.275881] 1f60: 00000 001 00000000
[ 2.292627] 1f80: 00000000 c001f160 ee890000 c06154e8 c061549c 00000000 00000 000 ee891fc8
[ 2.309425] 1fa0: c045bcec 00000001 01000000 ee891fc0 c000fe54 c000fe58 60000 113 ffffffff
[ 2.326251] [<c00130c0>] (__irq_svc) from [<c000fe58>] (arch_cpu_idle+0x38/0x 3c)
[ 2.342366] [<c000fe58>] (arch_cpu_idle) from [<c0062100>] (cpu_startup_entry +0x264/0x2cc)
[ 2.359328] [<c0062100>] (cpu_startup_entry) from [<400094cc>] (0x400094cc)
[ 2.374935] Rebooting in 10 seconds..
Can you help?
See where it is looking for init and then check if it's there (clearly it isn't) - and either change where it looks or put init there.
John
Problem is solved. It happened that although dd command that copies image to the sd card finished, the image (namely linux partition) actually wasn't copied well. Today, it works...