Android on the OGU

Third party OS images and hardware mods
Post Reply
notime2d8
Posts: 334
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 100 times
Been thanked: 138 times
Contact:

Android on the OGU

Post by notime2d8 »

Currently working on Android 9 using the Khadas Vim3 sources as I needed the gralloc/hwcomposer bits for a lcd.

Working:
Battery gauge
Charging
Controls
MMC
Screen
USB device
USB Host
Audio
Wifi -RTL8821CU
Bluetooth - RTL8821CU

Not Working:
backlight
Suspend/resume



IMG_20220916_014426.jpg
IMG_20220916_014426.jpg (238.76 KiB) Viewed 453 times
IMG_20220916_025053.jpg
IMG_20220916_025053.jpg (212.8 KiB) Viewed 453 times
Last edited by notime2d8 on Sat Sep 24, 2022 12:45 pm, edited 4 times in total.
These users thanked the author notime2d8 for the post (total 2):
odroid (Fri Sep 16, 2022 5:04 pm) • odjinan (Fri Sep 16, 2022 6:41 pm)

notime2d8
Posts: 334
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 100 times
Been thanked: 138 times
Contact:

Re: Android on the OGU

Post by notime2d8 »

Quick video of my kid playing Mario Kart on the Dolphin emulator. Will do a better video later but GameCube runs as amazing as I thought it would. Audio was over USB.



These users thanked the author notime2d8 for the post (total 2):
odroid (Mon Sep 19, 2022 10:02 am) • odjinan (Tue Sep 27, 2022 8:43 pm)

notime2d8
Posts: 334
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 100 times
Been thanked: 138 times
Contact:

Re: Android on the OGU

Post by notime2d8 »

I also have a kernel panic i can't figure out. I can trigger it by pressing the d-pad, volume down, - or any keys on my USB keyboard. But the rest of the OGU buttons work fine as well as my USB mouse.


Code: Select all

[   64.522921@4] fb: mem_free_work, free memory: addr:800000
[   69.396010@0] healthd: battery l=92 v=4036 t=18.8 h=2 st=3 c=-487 fc=4000000 chg=
[   72.667307@0] Unable to handle kernel paging request at virtual address 7275f900
[   72.667311@0] pgd = ffffffc045e24000
[   72.667316@0] [000000007275f900] *pgd=0000000000000000, *pud=0000000000000000
[   72.667321@0] Internal error: Oops: 96000045 [#1] PREEMPT SMP
[   72.667326@0] Modules linked in:
[   72.667333@0] CPU: 0 PID: 2751 Comm: sh Not tainted 4.9.277 #74
[   72.667335@0] Hardware name: Hardkernel ODROID-GOU (DT)
[   72.667337@0] task: ffffffc046f2c600 task.stack: ffffffc042c8c000
[   72.667348@0] PC is at cfb_imageblit+0x3d8/0x448
[   72.667352@0] LR is at cfb_imageblit+0x7c/0x448
[   72.667355@0] R14 : ffffff8009d14880, PFN: 1d14
[   72.667358@0] pc : [<ffffff80094ec460>] lr : [<ffffff80094ec104>] pstate: 80000145
[   72.667360@0] sp : ffffffc042c8f9b0
[   72.667365@0] x29: ffffffc042c8f9b0 x28: 0000000000000000 
[   72.667369@0] x27: 0000000000000002 x26: ffffffc047c80000 
[   72.667373@0] x25: 0000000000000018 x24: 0000000000000010 
[   72.667377@0] x23: ffffffc046c5c800 x22: 0000000000000000 
[   72.667381@0] x21: ffffffc042c8fab0 x20: 000000007275f900 
[   72.667385@0] x19: 0000000000000000 x18: 0000000000000008 
[   72.667389@0] x17: 00000073e9eb210c x16: ffffff800922fd98 
[   72.667393@0] x15: 0000000000000002 x14: ffffff8009d14880 
[   72.667397@0] x13: 0000000000000000 x12: 0000000000000007 
[   72.667401@0] x11: 0000000000000008 x10: 0000000000000040 
[   72.667405@0] x9 : 0000000000000001 x8 : ffffffc0473bdb40 
[   72.667409@0] x7 : 000000007275f940 x6 : 0000000000aaaaaa 
[   72.667413@0] x5 : 000000007275f904 x4 : 0000000000000001 
[   72.667417@0] x3 : ffffffc0473bdb40 x2 : 000000007275f900 
[   72.667421@0] x1 : 0000000000000007 x0 : 0000000000000000 
[   72.667424@0] 
[   72.667424@0] SP: 0xffffffc042c8f930:
[   72.667437@0] f930  00000000 00000000 46c5c800 ffffffc0 00000010 00000000 00000018 00000000
[   72.667448@0] f950  47c80000 ffffffc0 00000002 00000000 00000000 00000000 42c8f9b0 ffffffc0
[   72.667460@0] f970  094ec104 ffffff80 42c8f9b0 ffffffc0 094ec460 ffffff80 80000145 00000000
[   72.667472@0] f990  36740400 ffffffc0 00000002 00000000 ffffffff 0000007f 094ec104 ffffff80
[   72.667483@0] f9b0  42c8fa00 ffffffc0 094e2cf8 ffffff80 00000010 00000000 00000001 00000000
[   72.667494@0] f9d0  46c5c800 ffffffc0 00000001 00000000 000000ff 00000000 367e2016 ffffffc0
[   72.667506@0] f9f0  473bdb50 ffffffc0 00000001 00000000 42c8fb00 ffffffc0 094d9ad8 ffffff80
[   72.667518@0] fa10  46c5c800 ffffffc0 47c80000 ffffffc0 367e2018 ffffffc0 00000001 00000000
[   72.667522@0] 
[   72.667522@0] X3: 0xffffffc0473bdac0:
[   72.667534@0] dac0  00000000 600c0000 0000600c 00000000 20030000 10053007 10051005 e003f007
[   72.667545@0] dae0  00000000 f03f1000 1020f03f 00000000 e0030000 1004f007 10041004 e003f007
[   72.667557@0] db00  20020000 d0047006 90059004 20023007 f0030000 0004f007 f0030004 0004f007
[   72.667569@0] db20  e0030000 1004f007 10041004 e003f007 20020000 10043006 10041004 e003f007
[   72.667580@0] db40  e0010000 1022f003 10321022 e00ff01f 00000000 00000000 00000000 00000000
[   72.667591@0] db60  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   72.667603@0] db80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   72.667614@0] dba0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   72.667617@0] 
[   72.667617@0] X8: 0xffffffc0473bdac0:
[   72.667629@0] dac0  00000000 600c0000 0000600c 00000000 20030000 10053007 10051005 e003f007
[   72.667641@0] dae0  00000000 f03f1000 1020f03f 00000000 e0030000 1004f007 10041004 e003f007
[   72.667652@0] db00  20020000 d0047006 90059004 20023007 f0030000 0004f007 f0030004 0004f007
[   72.667664@0] db20  e0030000 1004f007 10041004 e003f007 20020000 10043006 10041004 e003f007
[   72.667675@0] db40  e0010000 1022f003 10321022 e00ff01f 00000000 00000000 00000000 00000000
[   72.667686@0] db60  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   72.667697@0] db80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   72.667709@0] dba0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   72.667716@0] 
[   72.667716@0] X21: 0xffffffc042c8fa30:
[   72.667727@0] fa30  0000000c 00000000 00000000 00000000 094e2a50 ffffff80 00000007 00000000
[   72.667739@0] fa50  00000001 00000000 47c80000 ffffffc0 42c8fa90 ffffffc0 46c5ca00 ffffffc0
[   72.667750@0] fa70  ffffffff ffffffff 00000000 00000000 00000200 00000001 46c5c800 ffffffc0
[   72.667762@0] fa90  00000001 ffffffc0 367e2016 ffffffc0 367e2016 ffffffc0 00000000 00000000
[   72.667773@0] fab0  00000000 000002ee 00000010 00000008 00000007 00000000 46c5c801 ffffffc0
[   72.667785@0] fad0  473bdb40 ffffffc0 094d9ab4 ffffff80 46c5c800 ffffffc0 47c80000 ffffffc0
[   72.667797@0] faf0  367e2018 ffffffc0 00000001 00000000 42c8fb50 ffffffc0 09529874 ffffff80
[   72.667808@0] fb10  00000000 00000000 42c69c00 ffffffc0 0000000c 00000000 00000000 00000000
[   72.667811@0] 
[   72.667811@0] X23: 0xffffffc046c5c780:
[   72.667822@0] c780  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   72.667833@0] c7a0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   72.667844@0] c7c0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   72.667855@0] c7e0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   72.667866@0] c800  00000002 00000000 00000000 00000000 00000001 00000000 46c5c818 ffffffc0
[   72.667878@0] c820  46c5c818 ffffffc0 00000000 00000000 00000000 00000000 00000001 00000000
[   72.667889@0] c840  46c5c840 ffffffc0 46c5c840 ffffffc0 00000000 00000000 00000000 00000000
[   72.667901@0] c860  000001e0 00000356 000001e0 00000a02 00000000 00000000 00000020 00000000
[   72.667904@0] 
[   72.667904@0] X26: 0xffffffc047c7ff80:
[   72.667915@0] ff80  47c10000 ffffffc0 0a8434b0 ffffff80 00000000 00000000 3d9a2540 ffffffc0
[   72.667927@0] ffa0  0a6f6068 ffffff80 4750ff40 ffffffc0 47c7ffb0 ffffffc0 47c7ffb0 ffffffc0
[   72.667939@0] ffc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   72.667950@0] ffe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   72.667962@0] 0000  3655fc00 ffffffc0 00000180 00000000 47c80010 ffffffc0 47c80010 ffffffc0
[   72.667973@0] 0020  095164b0 ffffff80 00000001 00000000 47c80030 ffffffc0 47c80030 ffffffc0
[   72.667985@0] 0040  00000000 00000000 00000000 00000000 00000000 00000000 3655fc00 ffffffc0
[   72.667996@0] 0060  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   72.667999@0] 
[   72.667999@0] X29: 0xffffffc042c8f930:
[   72.668010@0] f930  00000000 00000000 46c5c800 ffffffc0 00000010 00000000 00000018 00000000
[   72.668022@0] f950  47c80000 ffffffc0 00000002 00000000 00000000 00000000 42c8f9b0 ffffffc0
[   72.668033@0] f970  094ec104 ffffff80 42c8f9b0 ffffffc0 094ec460 ffffff80 80000145 00000000
[   72.668045@0] f990  36740400 ffffffc0 00000002 00000000 ffffffff 0000007f 094ec104 ffffff80
[   72.668056@0] f9b0  42c8fa00 ffffffc0 094e2cf8 ffffff80 00000010 00000000 00000001 00000000
[   72.668068@0] f9d0  46c5c800 ffffffc0 00000001 00000000 000000ff 00000000 367e2016 ffffffc0
[   72.668079@0] f9f0  473bdb50 ffffffc0 00000001 00000000 42c8fb00 ffffffc0 094d9ad8 ffffff80
[   72.668091@0] fa10  46c5c800 ffffffc0 47c80000 ffffffc0 367e2018 ffffffc0 00000001 00000000
[   72.668092@0] 
[   72.668095@0] Process sh (pid: 2751, stack limit = 0xffffffc042c8c000)
[   72.668099@0] Stack: (0xffffffc042c8f9b0 to 0xffffffc042c90000)
[   72.668103@0] f9a0:                                   ffffffc042c8fa00 ffffff80094e2cf8
[   72.668107@0] f9c0: 0000000000000010 0000000000000001 ffffffc046c5c800 0000000000000001
[   72.668112@0] f9e0: 00000000000000ff ffffffc0367e2016 ffffffc0473bdb50 0000000000000001
[   72.668116@0] fa00: ffffffc042c8fb00 ffffff80094d9ad8 ffffffc046c5c800 ffffffc047c80000
[   72.668120@0] fa20: ffffffc0367e2018 0000000000000001 000000000000000c 0000000000000000
[   72.668125@0] fa40: ffffff80094e2a50 0000000000000007 0000000000000001 ffffffc047c80000
[   72.668129@0] fa60: ffffffc042c8fa90 ffffffc046c5ca00 ffffffffffffffff 0000000000000000
[   72.668134@0] fa80: 0000000100000200 ffffffc046c5c800 ffffffc000000001 ffffffc0367e2016
[   72.668138@0] faa0: ffffffc0367e2016 0000000000000000 000002ee00000000 0000000800000010
[   72.668142@0] fac0: 0000000000000007 ffffffc046c5c801 ffffffc0473bdb40 ffffff80094d9ab4
[   72.668147@0] fae0: ffffffc046c5c800 ffffffc047c80000 ffffffc0367e2018 0000000000000001
[   72.668151@0] fb00: ffffffc042c8fb50 ffffff8009529874 0000000000000000 ffffffc042c69c00
[   72.668155@0] fb20: 000000000000000c 0000000000000000 0000000000000001 ffffffc042c23800
[   72.668160@0] fb40: 0000000000000001 ffffff800a95c000 ffffffc042c8fc30 ffffff800952a0b8
[   72.668164@0] fb60: 0000000000000001 ffffffc042c69c00 ffffffc042c23800 ffffff80089d92a8
[   72.668169@0] fb80: 00000000000022a8 ffffff8009cfeba8 ffffffc042c69cd8 ffffffc042c64500
[   72.668173@0] fba0: ffffffc042c69e30 ffffff80089d7000 ffffffc042c8fbe0 ffffff800a95c418
[   72.668178@0] fbc0: ffffff800a95d010 0000003600000061 0000070000000700 ffffff8009d1be48
[   72.668182@0] fbe0: ffffff8009d1be30 0000000100000001 00000000000000ff ffffffc0367e2018
[   72.668186@0] fc00: ffffffc0367e201a 0000000000000000 ffffffc047c80000 ffffff8000000036
[   72.668191@0] fc20: ffffffc047c80000 ffffff8000000036 ffffffc042c8fc60 ffffff8009510e3c
[   72.668195@0] fc40: ffffffc042c69c00 0000000000000001 ffffffc042c23800 ffffff8009caf32c
[   72.668200@0] fc60: ffffffc042c8fd00 ffffff800950bba4 ffffffc042c69c00 0000000000000001
[   72.668204@0] fc80: 0000000000000001 00000073e9820288 ffffffc042c64500 ffffffc04702e540
[   72.668208@0] fca0: ffffff8009510cb8 0000000000000000 0000000000000001 ffffffc042c23800
[   72.668213@0] fcc0: ffffffc042c8fd00 ffffffc042c23800 ffffffc042c69c00 0000000000000000
[   72.668217@0] fce0: ffffffc046f2c600 ffffff80090fa3c8 ffffffc042c69e38 ffffffc042c69e38
[   72.668222@0] fd00: ffffffc042c8fd70 ffffff800950be34 0000000000000000 ffffff800a95be08
[   72.668226@0] fd20: 00000073e9820288 0000000000000001 ffffffc042c64500 ffffffc042c8feb8
[   72.668231@0] fd40: 0000000000000123 0000000000000040 ffffff8009cc2000 ffffffc046f2c600
[   72.668235@0] fd60: 0000000000000000 ffffff800a03a278 ffffffc042c8fdb0 ffffff800922d778
[   72.668239@0] fd80: ffffffc042c64500 0000000000000001 ffffffc042c8feb8 00000073e9820288
[   72.668244@0] fda0: ffffffc042c8feb8 0000000000000015 ffffffc042c8fe40 ffffff800922e76c
[   72.668248@0] fdc0: 0000000000000001 ffffffc042c64500 0000000000000000 00000073e9820288
[   72.668252@0] fde0: ffffffc042c8fe10 ffffff800922e4e8 ffffffc042c64500 0000000000000001
[   72.668257@0] fe00: 0000000000000001 ffffffc042c8feb8 ffffffc042c8fe40 ffffff800922e730
[   72.668261@0] fe20: 0000000000000001 ffffffc042c64500 00000073e9820288 00000073e9820288
[   72.668266@0] fe40: ffffffc042c8fe80 ffffff800922fdf4 ffffffc042c64500 ffffffc042c64500
[   72.668270@0] fe60: 00000073e9820288 0000000000000001 0000000060000000 ffffff800908a67c
[   72.668275@0] fe80: 0000000000000000 ffffff8009083740 ffffffffffffff1d 0000004040059000
[   72.668279@0] fea0: ffffffffffffffff 00000073e9eb2114 ffffffffffffffff 0000000000000000
[   72.668283@0] fec0: 0000000000000002 00000073e9820288 0000000000000001 000000623d9ac471
[   72.668288@0] fee0: 000000623d9ac471 00000073e9852c49 0000000000000036 0000000000000036
[   72.668292@0] ff00: 0000000000000040 0000000000000002 0000000000000001 0000000000000001
[   72.668296@0] ff20: 0000000000000000 000000623d9ac000 0000000000000001 0000000000000007
[   72.668300@0] ff40: 000000623d9abe48 00000073e9eb210c 0000000000000008 000000623d9adbd0
[   72.668304@0] ff60: 0000000000000000 0000000000000000 0000000000000001 00000073e9820288
[   72.668309@0] ff80: 000000623d9adbe8 000000623d9ac000 0000000000000001 000000623d9ac000
[   72.668313@0] ffa0: 000000623d9aa9e8 0000007ff83b3bb0 000000623d97dfe0 0000007ff83b3b80
[   72.668317@0] ffc0: 00000073e9eb2114 0000000060000000 0000000000000002 0000000000000040
[   72.668321@0] ffe0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[   72.668324@0] Call trace:
[   72.668328@0] Exception stack(0xffffffc042c8f7e0 to 0xffffffc042c8f910)
[   72.668333@0] f7e0: 0000000000000000 0000007fffffffff ffffffc042c8f9b0 ffffff80094ec460
[   72.668337@0] f800: 0000000000000000 ffffff800a2bb000 ffffffc042c8f830 00000010eb4e4c80
[   72.668341@0] f820: 00000000ffff21f4 0000000000000000 ffffffc042c8f8f0 ffffffc042c8f96c
[   72.668346@0] f840: ffffffc04a30ead0 0000000000000000 ffffff8000000002 ffffffc047f3ea00
[   72.668350@0] f860: ffffff800a6c9024 ffffff800a6c7f40 0000000000000000 ffffff800a2bb7c0
[   72.668355@0] f880: 0000000000000000 0000000000000007 000000007275f900 ffffffc0473bdb40
[   72.668359@0] f8a0: 0000000000000001 000000007275f904 0000000000aaaaaa 000000007275f940
[   72.668363@0] f8c0: ffffffc0473bdb40 0000000000000001 0000000000000040 0000000000000008
[   72.668367@0] f8e0: 0000000000000007 0000000000000000 ffffff8009d14880 0000000000000002
[   72.668370@0] f900: ffffff800922fd98 00000073e9eb210c
[   72.668378@0] [<ffffff80094ec460>] cfb_imageblit+0x3d8/0x448
[   72.668385@0] [<ffffff80094e2cf8>] ccw_putcs+0x2a8/0x380
[   72.668390@0] [<ffffff80094d9ad8>] fbcon_putcs+0x100/0x130
[   72.668397@0] [<ffffff8009529874>] do_con_write.part.15+0x1fc/0x938
[   72.668402@0] [<ffffff800952a0b8>] con_write+0x90/0x98
[   72.668407@0] [<ffffff8009510e3c>] n_tty_write+0x184/0x3f8
[   72.668414@0] [<ffffff800950bba4>] tty_write+0x134/0x308
[   72.668420@0] [<ffffff800950be34>] redirected_tty_write+0xbc/0xd8
[   72.668427@0] [<ffffff800922d778>] __vfs_write+0x48/0x118
[   72.668432@0] [<ffffff800922e76c>] vfs_write+0xac/0x1b0
[   72.668436@0] [<ffffff800922fdf4>] SyS_write+0x5c/0xc8
[   72.668442@0] [<ffffff8009083740>] el0_svc_naked+0x34/0x38
[   72.668448@0] Code: 0a090000 b86079c0 0a0000c0 4a0d0000 (b9000040) 
[   72.668455@0] ---[ end trace c99c85b5099c9b14 ]---
[   72.679406@0] Kernel panic - not syncing: Fatal exception
[   72.679446@0] SMP: stopping secondary CPUs
[   72.679458@0] Kernel Offset: disabled
[   72.679459@0] Memory Limit: none
[   73.938339@0] Rebooting in 5 seconds..
[   78.942307@0] reboot reason 12
bl31 reboot reason: 0xd



notime2d8
Posts: 334
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 100 times
Been thanked: 138 times
Contact:

Re: Android on the OGU

Post by notime2d8 »

I just got the audio working through the speaker only so far.
I thought the backlight would be working too but I'm thinking my sysfs path is incorrect. That or the backlight is doing something different.

odjinan
Posts: 5
Joined: Mon Sep 12, 2022 4:39 pm
languages_spoken: english
ODROIDs: oga
Has thanked: 6 times
Been thanked: 0
Contact:

Re: Android on the OGU

Post by odjinan »

looking good so far

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 1 guest