A13 Android for MicroSD

Started by Grovello, September 17, 2015, 08:01:12 PM

Previous topic - Next topic

Grovello

Hi,
I received A13-oluxino (without NAND & wifi) and I want to run Android on it.
I tried all SD images from https://www.olimex.com/wiki/A13-OLinuXino#Android, but result is the same -  shows logo screen and nothing more.
https://www.dropbox.com/s/8qbk3k3bchh81z8/IMAG1456.jpg?dl=0
It connected via VGA, power supply is 12V 2A, sd card 8gb, 4 class.
Maybe I missed something?

Also I have LCD screen with touch screen, but it not works with android.
With Debian all was good.

Thank you all,
Andrew.

LubOlimex

Hey there,

We only have Android for microSD card suitable for 800x480 pixels LCD display (7 inch one). We don't have Android for microSD card that is suitable for VGA display or resolution.

There was misleading information below the image which is now fixed.

You might want to check this wiki article however: https://www.olimex.com/wiki/How_to_edit_prebuilt_Android_images

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

Grovello

Quote from: LubOlimex on September 18, 2015, 04:19:53 PM
Hey there,

We only have Android for microSD card suitable for 800x480 pixels LCD display (7 inch one). We don't have Android for microSD card that is suitable for VGA display or resolution.

There was misleading information below the image which is now fixed.

You might want to check this wiki article however: https://www.olimex.com/wiki/How_to_edit_prebuilt_Android_images

Best regards,
Lub/OLIMEX

Thanks for reply.
I tried with different images and 7 inch display, but all what I get - blinking display.
When I start board, the display flashes once and nothing else happens. Seems like board works normally, but no image on display. With Debian image (A13 Debian Linux with kernel 3.4.90+, suitable for HYNIX DDR3 RAM) display works fine.
Display is https://www.olimex.com/Products/OLinuXino/A13/A13-LCD7-TS/. As I understand it, this image is suitable for this display and resolution, or not? (Android release 2 for microSD card)

dave-at-axon

It's been said many times before but you are better off getting the source and building your own Android OS. This way you can modify it to suit your needs. There is a lot of stuff in there you can do without. :)

You need a Linux machine (I use Ubuntu 12.04) to build it but you can also do this from a virtual machine if you don't have a Linux machine handy.

Grovello

Thank you all for replies.
I changed settings, but I didn`t find the way to run it.
I found some threads with same problem, but I didn`t find solution in them.

https://www.olimex.com/forum/index.php?topic=3506.msg14757#msg14757
https://www.olimex.com/forum/index.php?topic=800.msg3503#msg3503 - this "solution" ruined my img :)
and some other.

The bootloader attempts to read invalid memory address
-Unable to handle kernel paging request at virtual address 4075f000
Before  UART stopped transmitting he sent error messages and memory dumps
-Internal error: Oops: 17 [#1] PREEMPT

This error is reproduced with unchanged script.bin and I don`t know what to do with it.
Any idea?


U-Boot 2011.09-rc1-00000-geceb6aa-dirty (Jun 26 2013 - 11:12:35) Allwinner Technology

CPU:   SUNXI Family
Board: A1X-EVB
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0
In:    serial
Out:   serial
Err:   serial
--------fastboot partitions--------
-total partitions:11-
-name-        -start-       -size-
bootloader  : 1000000       1000000
env         : 2000000       1000000
boot        : 3000000       2000000
system      : 5000000       14000000
data        : 19000000      20000000
misc        : 39000000      1000000
recovery    : 3a000000      2000000
cache       : 3c000000      8000000
private     : 44000000      1000000
sysrecovery : 45000000      14000000
UDISK       : 59000000      93000000
-----------------------------------
bootcmd set setargs_mmc
Hit any key to stop autoboot:  0
read boot or recovery all
sunxi flash read :offset 3000000, 11207685 bytes OK

Starting kernel ...

[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Linux version 3.0.8+ (root@bundie) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50) ) #4 PREEMPT Wed Jun 26 11:11:50 EEST 2013
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: sun5i
[    0.000000] Total Detected Memory: 512MB with 2 banks
[    0.000000] Memory Reserved(in bytes):
[    0.000000]  LCD: 0x49000000, 0x01000000
[    0.000000]  SYS: 0x43000000, 0x00010000
[    0.000000]  VE : 0x44000000, 0x05000000
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 114688
[    0.000000] free_area_init_node: node 0, pgdat c092c4ac, node_mem_map c0ae8000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 113664 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 113664
[    0.000000] Kernel command line: console=ttyS0,115200 rw init=/init loglevel=8
[    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] Memory: 160MB 288MB = 448MB total
[    0.000000] Memory: 344656k/344656k available, 114096k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
[    0.000000]     vmalloc : 0xe0800000 - 0xf0000000   ( 248 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .init : 0xc0008000 - 0xc0032000   ( 168 kB)
[    0.000000]       .text : 0xc0032000 - 0xc083396c   (8199 kB)
[    0.000000]       .data : 0xc0834000 - 0xc0933428   (1022 kB)
[    0.000000]        .bss : 0xc093344c - 0xc0ae7738   (1745 kB)
[    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] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] aw_clksrc_init, line:341
[    0.000000] Console: colour dummy device 80x30
[    0.000000] ram_console: buffer   (null), invalid size 0, datasize 4294967284
[    0.000201] Calibrating delay loop... 380.92 BogoMIPS (lpj=1904640)
[    0.059954] pid_max: default: 32768 minimum: 301
[    0.060228] Mount-cache hash table entries: 512
[    0.060789] Initializing cgroup subsys cpuacct
[    0.060826] Initializing cgroup subsys devices
[    0.060849] Initializing cgroup subsys freezer
[    0.060866] Initializing cgroup subsys blkio
[    0.061007] CPU: Testing write buffer coherency: ok
[    0.061329] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[    0.062282] devtmpfs: initialized
[    0.064804] print_constraints: dummy:
[    0.065081] NET: Registered protocol family 16
[    0.066135] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.066995] try to parse apb frequency from script faild!
[    0.067044] [ccmu] PLL4 clock rate should not be set!
[    0.067066] [ccmu] try to set ve_pll rate to 2400000000 failed!
[    0.067087] [ccmu] PLL4 clock rate should not be set!
[    0.067104] [ccmu] ID is invalid when get module clock information!
[    0.067218] SOFTWINNER DMA Driver, (c) 2003-2004,2006 Simtec Electronics
[    0.067326] Initialize DMAC OK
[    0.070977] bio: create slab <bio-0> at 0
[    0.072116] SCSI subsystem initialized
[    0.072571] usbcore: registered new interface driver usbfs
[    0.072720] usbcore: registered new interface driver hub
[    0.072976] usbcore: registered new device driver usb

...

[    5.245454] init: starting 'console'
[    5.249481] init: starting 'servicemanager'
[    5.254095] init: starting 'vold'
[    5.257740] init: command 'class_start' r=0
[    5.264211] init: Created socket '/dev/socket/vold' with mode '660', user '0', group '1009'
[    5.273484] init: starting 'netd'
[    5.278192] init: starting 'debuggerd'
[    5.286433] init: Created socket '/dev/socket/dnsproxyd' with mode '660', user '0', group '3003'
[    5.297678] init: starting 'surfaceflinger'
[    5.303745] init: starting 'zygote'
[    5.308349] init: Created socket '/dev/socket/netd' with mode '660', user '0', group '1000'
[    5.322185] init: starting 'drm'
[    5.327999] init: Created socket '/dev/socket/zygote' with mode '666', user '0', group '0'
[    5.337020] init: starting 'media'
[    5.342937] init: starting 'dbus'
[    5.348800] init: starting 'installd'
[    5.355097] init: Created socket '/dev/socket/dbus' with mode '660', user '1002', group '1002'
[    5.366895] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
[    5.376581] init: Created socket '/dev/socket/installd' with mode '600', user '1000', group '1000'
[    5.386908] init: starting 'keystore'
[    5.392538] init: starting 'u3gmonitor'
[    5.396806] init: starting 'ril-daemon'
[    5.413251] init: Created socket '/dev/socket/keystore' with mode '666', user '0', group '0'
[    5.425429] init: command 'class_start' r=0
[    5.437980] init: Created socket '/dev/socket/rild-debug' with mode '660', user '1001', group '1000'
[    5.448071] init: processing action 0x86fb38 (boot)
[    5.470337] init: Created socket '/dev/socket/rild' with mode '660', user '0', group '1001'
[    5.580939] sun4i-ts.c: sun4i_ts_init: start ...
[    5.585578] rtp_used == 1.
[    5.634650] sun4i-ts: tp_screen_size is 5 inch.
[    5.665809] sun4i-ts: tp_regidity_level is 5.
[    5.704377] sun4i-ts: tp_press_threshold_enable is 0.
[    5.727369] sun4i-ts: rtp_sensitive_level is 15.
[    5.742756] sun4i-ts: rtp_exchange_x_y_flag is 0.
[    5.766329] sun4i-ts.c: sun4i_ts_probe: start...
[    5.783727] begin get platform resourec
[    5.802886] input: sun4i-ts as /devices/platform/sun4i-ts/input/input3
[    5.817646] ==register_early_suspend =
[    5.827631] tp init
[    5.829749] sun4i-ts.c: sun4i_ts_probe: end
[    5.872348] init: command 'insmod' r=0
[    5.923610] init: waitpid returned pid 96, status = 00007e00
[    5.929308] init: untracked pid 96 exited
[    6.050353] UMP<2>: Inserting UMP device driver. Compiled: Jun 26 2013, time: 11:12:09
[    6.091894] UMP<2>: Using OS memory backend, allocation limit: 134217728
[    6.160269] UMP: UMP device driver  loaded
[    6.164654] init: command 'insmod' r=0
[    6.382141] Mali: Mali device driver  loaded
[    6.403120] init: command 'insmod' r=0
[    6.470449] [cedar dev]: install start!!!
[    6.491901] [cedar dev]: install end!!!
[    6.495905] init: command 'insmod' r=0
[    6.545657] init: command 'insmod' r=0
[    6.577314] init: command 'insmod' r=0
[    6.608033] init: command 'insmod' r=0
[    6.673583] UMP<2>: New session opened
[    6.698578] [CSI]Welcome to CSI driver
[    6.704143] [CSI]csi_init
[    6.707061] [CSI_ERR]csi_used=0,csi driver is not enabled!
[    6.713037] init: command 'insmod' r=0
[    6.763162] usbcore: registered new interface driver asix
[    6.769300] init: command 'insmod' r=0
[    6.829315] usbcore: registered new interface driver qf9700
[    6.835547] init: command 'insmod' r=0
[    6.882612] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[    6.890841] init: command 'insmod' r=0
[    6.895421] init: starting 'bootanim'
[    6.922151] rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet driver
[    6.929949] usbcore: registered new interface driver rtl8150
[    6.937484] init: command 'insmod' r=0
[    6.941781] init: processing action 0x870010 (queue_propety_triggers)
[    6.948586] init: command 'queue_propety_triggers' r=0
[    6.954083] init: processing action 0x86b4b0 (nonencrypted)
[    6.960259] init: command 'class_start' r=0
[    6.964458] init: processing action 0x86bbd8 (property:persist.sys.usb.config=*)
[    6.972277] init: command 'setprop' r=0
[    6.976308] init: processing action 0x86bda8 (property:ro.debuggable=1)
[    6.983264] init: command 'start' r=0
[    6.986940] init: processing action 0x86ed18 (property:sys.usb.config=mass_storage,adb)
[    6.995378] android_usb: already disabled
[    6.999773] init: command 'write' r=0
[    7.004528] init: command 'write' r=0
[    7.008299] init: command 'write' r=0
[    7.012560] init: command 'write' r=0
[    7.017483] ep_matches, wrn: endpoint already claimed, ep(0xc090f478, 0xdfb99200, ep1-bulk)
[    7.026354] adb_bind_config
[    7.029480] ep_matches, wrn: endpoint already claimed, ep(0xc090f478, 0xdfb99200, ep1-bulk)
[    7.038272] ep_matches, wrn: endpoint already claimed, ep(0xc090f4b8, 0xdfb99200, ep2-bulk)
[    7.047227] ep_matches, wrn: endpoint already claimed, ep(0xc090f478, 0xdfb99200, ep1-bulk)
[    7.056262] ep_matches, wrn: endpoint already claimed, ep(0xc090f4b8, 0xdfb99200, ep2-bulk)
[    7.064885] ep_matches, wrn: endpoint already claimed, ep(0xc090f4f8, 0xdf92f600, ep3-bulk)
[    7.073486] [sw_udc]: alloc request: ep(0xc090f538, ep4-bulk, 512), req(0xdf375700)
[    7.081747] [sw_udc]: alloc request: ep(0xc090f4f8, ep3-bulk, 512), req(0xdf375980)
[    7.091242] [sw_udc]: alloc request: ep(0xc090f4f8, ep3-bulk, 512), req(0xdf375880)
[    7.099742] [sw_udc]: alloc request: ep(0xc090f4f8, ep3-bulk, 512), req(0xde42c000)
[    7.108285] [sw_udc]: alloc request: ep(0xc090f4f8, ep3-bulk, 512), req(0xde42c080)
[    7.116683] [sw_udc]: sw_udc_pullup, is_on = 1
[    7.132746] WRN:L2729(drivers/usb/sun5i_usb/udc/sw_udc.c):ERR: usb device is not active
[    7.161301] init: command 'write' r=0
[    7.171479] init: starting 'adbd'
[    7.186927] init: command 'start' r=0
[    7.202213] init: command 'setprop' r=0
[    7.209937] adb_open
[    7.375465] UMP<2>: New session opened
[   11.842455] [AXP]init charger->rest_vol = 100
[   12.060186] ------------[ cut here ]------------
[   12.064847] WARNING: at kernel/sched.c:4107 search_module_extables+0x10/0x9c()
[   12.070055] Unable to handle kernel NULL pointer dereference at virtual address 000000d0
[   12.070055] pgd = df830630
[   12.070055] [000000d0] *pgd=c075f644
[   12.070055] Unable to handle kernel paging request at virtual address 4075f000
[   12.070055] pgd = df830630
[   12.070055] [4075f000] *pgd=00000000
[   12.070055] Internal error: Oops: 17 [#1] PREEMPT
[   12.070055] Modules linked in: rtl8150 mcs7830 qf9700 asix sun5i_csi0 gc0308 videobuf_dma_contig videobuf_core cedarx mali ump sun4i_ts
[   12.070055] CPU: 0    Not tainted  (3.0.8+ #4)
[   12.070055] PC is at show_pte+0xb8/0xf4
[   12.070055] LR is at contig_page_data+0x0/0x914
[   12.070055] pc : [<c00436e8>]    lr : [<c092c4ac>]    psr: a0000193
[   12.070055] sp : df87ba60  ip : c092cd4c  fp : df87bc2c
[   12.070055] r10: df8b754c  r9 : 20000193  r8 : df830600
[   12.070055] r7 : 00000017  r6 : 4075f000  r5 : 00000000  r4 : 00000000
[   12.070055] r3 : 00000000  r2 : 4075f000  r1 : 00000033  r0 : c0758550
[   12.070055] Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   12.070055] Control: 10c5387d  Table: 5f28c019  DAC: 00000015
[   12.070055]
[   12.070055] PC: 0xc0043668:
[   12.070055] 3668  e34c0075 e3a03000 e7952186 eb166f38 e7952186 e3520000 0a00001f e2125002
[   12.070055] 3688  1a000021 e30b179c e1a0e622 e34c109c e24e3701 e30ce4ac e591c000 e34ce092
[   12.070055] 36a8  e79c0283 e1a03f20 e3a00e2e e02ce390 e59c12cc e061300c e1530000 0a00000e
[   12.070055] 36c8  e3c20eff e7e84654 e3c0600f e3080550 e2862102 e1a03005 e0826104 e34c0075
[   12.070055] 36e8  e7922104 eb166f1a e3080560 e5962800 e1a03005 e34c0075 eb166f15 e30809a0
[   12.070055] 3708  e34c007b e8bd4070 ea166f11 e3080548 e34c0075 eb166f0e eafffff7 e92d41f0
[   12.070055] 3728  e1a08000 e1a00003 e1a04003 e1a05001 e1a07002 ebffff9b e2506000 18bd81f0
[   12.070055] 3748  e2800001 eb09ea1c e3083570 e34c3075 e3550a01 e308158c e308059c e34c1075

...



Also full UART log:
https://www.dropbox.com/s/ubmj9xcs0vpdjvc/boot%20logs.txt?dl=0