Android-14 on JH7110

192 views
Skip to first unread message

Peter Yoon

unread,
Nov 2, 2023, 9:23:57 PM11/2/23
to android-risc-v
Now JH7110 can boot-up to Home with Android-14.

Switched default branch to arv-14,  arv-master is reserved.

Some ART changes are cherry picked from AOSP main branch as shown at : 

Chang Rebecca Swee Fun

unread,
Nov 8, 2023, 3:13:07 AM11/8/23
to android-risc-v
Hi Peter, did you see build error on Car packages?

[ 98% 83147/84796] //packages/services/Car/car-lib:android.car-system-stubs-docs metalava merged

packages/services/Car/car-lib/src/android/car/evs/CarEvsManager.java:650: lint: Documentation mentions 'TODO' [Todo]
packages/services/Car/car-lib/src/android/car/telemetry/CarTelemetryManager.java:200: lint: Documentation mentions 'TODO' [Todo]
packages/services/Car/car-lib/src/android/car/view/WindowManagerHelper.java:55: lint: Method 'setInputFeatureSpy' documentation mentions permissions without declaring @RequiresPermission [RequiresPermission]
packages/services/Car/car-lib/src/android/car/CarRemoteDeviceManager.java:88: warning: Found overlapping flag constant values: `FLAG_OCCUPANT_ZONE_CONNECTION_READY` with value 4 (0x4) and overlapping flag value 4 (0x4) from `FLAG_CLIENT_SAME_SIGNATURE` [OverlappingConstants]
packages/services/Car/car-lib/src/android/car/app/CarActivityManager.java:454: warning: Acronyms should not be capitalized in method names: was `isCarSystemUIProxyRegistered`, should this be `isCarSystemUiProxyRegistered`? [AcronymName]
packages/services/Car/car-lib/src/android/car/app/ControlledRemoteCarTaskView.java:59: warning: Classes that release resources (release()) should implement AutoCloseable and CloseGuard: class android.car.app.ControlledRemoteCarTaskView [NotCloseable]
packages/services/Car/car-lib/src/android/car/app/ControlledRemoteCarTaskViewConfig.java:142: warning: android.car.app.ControlledRemoteCarTaskViewConfig does not declare a `shouldAutoRestartOnTaskRemoval()` method matching method android.car.app.ControlledRemoteCarTaskViewConfig.Builder.setShouldAutoRestartOnTaskRemoval(boolean) [MissingGetterMatchingBuilder]
packages/services/Car/car-lib/src/android/car/user/UserStopRequest.java:63: warning: Builder methods names should use setFoo() / addFoo() / clearFoo() style: method android.car.user.UserStopRequest.Builder.withDelayedLocking(boolean) [BuilderSetStyle]
07:36:44 ninja failed with: exit status 137

#### failed to build some targets (52:33 (mm:ss)) ####


Is there a way to disable building on Car related packages for now? 

Thanks.

Peter Yoon

unread,
Nov 8, 2023, 3:19:27 AM11/8/23
to android-risc-v
I have not faced such error on building arv-14.

If it's my case, I will try build with fewer -j<n> numbers. It will continue build at 98%.

Chang Rebecca Swee Fun

unread,
Nov 8, 2023, 10:01:19 PM11/8/23
to android-risc-v
Thanks, that works for me.

Peter Yoon

unread,
Dec 11, 2023, 1:05:55 AM12/11/23
to android-risc-v
Build updated to android-14.0.0_r17 (UQ1A.231205.015)

Nikola Jelic

unread,
Apr 3, 2024, 6:51:58 AMApr 3
to android-risc-v
Hello,
I tried booting Android 14 on a Starfive VisionFive2 board. When booting, I don't get graphics and I don't get an IP address.
I'm interested in which kernel I should use and if there has been an update in the meantime?
I used the following kernel:  GitHub - android-risc-v/kernel_arv at arv-6.4_vs

Chang Rebecca Swee Fun

unread,
Apr 4, 2024, 3:50:29 AMApr 4
to android-risc-v

Hi Nikola,

You can try out the prebuilt binary by Peter from: sig-a...@lists.riscv.org | Android-14 on JH7110

For kernel, you can build from https://github.com/android-risc-v/kernel_arv/tree/arv-6.5 . Peter has ported the required patches into this 6.5 branch. It has the HDMI driver available to enable your HDMI display if you have any.

For IP address, i think it could be potential issue because i don't get any IP address on my VisionFive2 board either.

Hope this helps.

Regards,

Rebecca

Nikola Jelic

unread,
Apr 5, 2024, 4:46:29 AMApr 5
to android-risc-v
Hi Rebeca,
Thank you on answer.
When I transfer all images and use following kernel  GitHub - android-risc-v/kernel_arv ,  I have this error in kernel log:

starfive-hdmi 29590000.hdmi: [drm:starfive_hdmi_bind] registered Starfive HDMI I2C bus driver success
[    3.279748]  ra : dc_isr+0x2a/0x70
[    3.279762] epc : ffffffff8054f30e ra : ffffffff8054f30e sp : ffffffc800003e30
[    3.279772]  gp : ffffffff81525020 tp : ffffffff81415640 t0 : 0000000000046600
[    3.283196] starfive display-subsystem: bound 29590000.hdmi (ops starfive_hdmi_ops)
[    3.289860]  t1 : ffffffff809a330c t2 : 00000000015e36e2 s0 : ffffffc800003e80
[    3.289869]  s1 : ffffffd8c08c8040 a0 : 0000000000000000 a1 : ffffffd8c08c8040
[    3.289877]  a2 : 0000000000000001 a3 : 0000000000010001 a4 : 0000000000000000
[    3.289884]  a5 : ffffffd8c08cb040 a6 : 4000000000000000 a7 : 0000000054494d45
[    3.289893]  s2 : 0000000000000000 s3 : 0000000000000002 s4 : 000000000000003c
[    3.296444] [drm] Initialized starfive 1.0.0 202305161 for display-subsystem on minor 0
[    3.298855]  s5 : ffffffd8c08c8050 s6 : 0000000000000000 s7 : 000000000000003c
[    3.385799]  s8 : ffffffff81508e04 s9 : ffffffff81085350 s10: 0000000000000001
[    3.393017]  s11: 0000000000000000 t3 : 000000000000016b t4 : 000000000000016b
[    3.400235]  t5 : 0000000000000007 t6 : ffffffd8c004dd40
[    3.405545] status: 0000000200000100 badaddr: 0000000000000008 cause: 000000000000000d
[    3.413457] [<ffffffff8054f30e>] dc_isr+0x2a/0x70
[    3.418170] [<ffffffff8006d76e>] __handle_irq_event_percpu+0x4c/0x102
[    3.424619] [<ffffffff8006d8ae>] handle_irq_event+0x3c/0x86
[    3.430196] [<ffffffff80071426>] handle_fasteoi_irq+0x9c/0x1b6
[    3.436036] [<ffffffff8006cb62>] generic_handle_domain_irq+0x1c/0x2a
[    3.442393] [<ffffffff8042875c>] plic_handle_irq+0x88/0xf0
[    3.447886] [<ffffffff8006cb62>] generic_handle_domain_irq+0x1c/0x2a
[    3.454243] [<ffffffff804283da>] riscv_intc_irq+0x2e/0x46
[    3.459646] [<ffffffff809a2140>] handle_riscv_irq+0x4a/0x74
[    3.465227] [<ffffffff809a2b9e>] do_irq+0x58/0x80
[    3.469948] Code: 678d 97ae bb03 5b87 8a93 0105 8556 84ae f0ef 817f (4783) 008b
[    3.477340] ---[ end trace 0000000000000000 ]---
[    3.481956] Kernel panic - not syncing: Fatal exception in interrupt
[    3.488305] SMP: stopping secondary CPUs
[    3.492240] Rebooting in 5 seconds..

Regards,
Nikola

Slavisa Petrovic

unread,
Apr 9, 2024, 7:18:44 AMApr 9
to android-risc-v
Hello, 

Can we use ADB over USB and has anyone tried it yet?

Thanks.
Reply all
Reply to author
Forward
0 new messages