porting Android to a device without display

This forum is for users of Atmel's SAM Series and who are interested in using Android.

Moderator: nferre

ageng
Posts: 1
Joined: Sat Jul 27, 2013 1:54 pm

porting Android to a device without display

Sat Jul 27, 2013 3:06 pm

Hello community,

I'm currently porting the Android4SAM v3.0 to a custom board with sama5d31 inside. The largest hw difference to the evaluation kit platform is that the board does not have a display. I see the code in the kernel that seems to emulate the display: at91_init_dummy_lcd(), but at the moment the code is failing to allocate resources during startup:

[<c0011bfc>] (unwind_backtrace+0x0/0xe4) from [<c0018e28>] (warn_slowpath_common+0x4c/0x64)
[<c0018e28>] (warn_slowpath_common+0x4c/0x64) from [<c0018e58>] (warn_slowpath_null+0x18/0x1c)
[<c0018e58>] (warn_slowpath_null+0x18/0x1c) from [<c0051a88>] (__alloc_pages_nodemask+0x144/0x578)
[<c0051a88>] (__alloc_pages_nodemask+0x144/0x578) from [<c001218c>] (__alloc_remap_buffer+0x30/0x168)
[<c001218c>] (__alloc_remap_buffer+0x30/0x168) from [<c0012930>] (arm_dma_alloc+0x1b4/0x234)
[<c0012930>] (arm_dma_alloc+0x1b4/0x234) from [<c01a8a10>] (goldfish_fb_probe+0x184/0x2b0)
[<c01a8a10>] (goldfish_fb_probe+0x184/0x2b0) from [<c01d1f7c>] (platform_drv_probe+0x14/0x18)
[<c01d1f7c>] (platform_drv_probe+0x14/0x18) from [<c01d0fe8>] (driver_probe_device+0xb0/0x1dc)
[<c01d0fe8>] (driver_probe_device+0xb0/0x1dc) from [<c01d1174>] (__driver_attach+0x60/0x84)
[<c01d1174>] (__driver_attach+0x60/0x84) from [<c01cfc20>] (bus_for_each_dev+0x48/0x74)
[<c01cfc20>] (bus_for_each_dev+0x48/0x74) from [<c01d01e4>] (bus_add_driver+0x9c/0x204)
[<c01d01e4>] (bus_add_driver+0x9c/0x204) from [<c01d1558>] (driver_register+0xa0/0x138)
[<c01d1558>] (driver_register+0xa0/0x138) from [<c0008604>] (do_one_initcall+0x98/0x168)
[<c0008604>] (do_one_initcall+0x98/0x168) from [<c05a02ec>] (kernel_init+0xdc/0x1b8)
[<c05a02ec>] (kernel_init+0xdc/0x1b8) from [<c000e104>] (kernel_thread_exit+0x0/0x8)

Is there a way to fix it, so the display will be emulated by kernel or do I need o stick with headless android?
Thank you!
Embest
Contact:
Location: Shenzhen, China
Posts: 62
Joined: Tue Jun 08, 2004 3:29 am

Re: porting Android to a device without display

Tue Dec 10, 2013 8:39 am

goldfish fb can be a solution, also you can remove the UI totally, that will be a lot of work

Return to “ANDROID”

Who is online

Users browsing this forum: No registered users and 1 guest