Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[device-port] [falcon] [Halium-7.1] Moto G (2013) #210

Open
8 of 16 tasks
ffsi opened this issue Jul 23, 2020 · 0 comments
Open
8 of 16 tasks

[device-port] [falcon] [Halium-7.1] Moto G (2013) #210

ffsi opened this issue Jul 23, 2020 · 0 comments

Comments

@ffsi
Copy link

ffsi commented Jul 23, 2020

Tree: halium-7.1

  • Create manifest link - pull request

  • Boot image and system image build successfully

  • Device boots into rootfs, usb: Manufacturer: GNU/Linux Device appears in dmesg on host.

[ 641.500005] usb 2-1: New USB device found, idVendor=0fce, idProduct=7169, bcdDevice= 2.28
[ 641.500010] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 641.500014] usb 2-1: Product: Unknown
[ 641.500017] usb 2-1: Manufacturer: GNU/Linux Device
[ 641.500020] usb 2-1: SerialNumber: GNU/Linux Device on rndis0 10.15.19.82
[ 641.502967] rndis_host 2-1:1.0 usb0: register 'rndis_host' at usb-0000:00:1d.7-1, RNDIS device

  • LXC container starts and does not crash

root@localhost:~# systemctl status lxc@android
[email protected] - LXC Container: android
Loaded: loaded (/lib/systemd/system/[email protected]; enabled; vendor preset: ena
Active: active (running) since Thu 2016-02-11 16:28:38 UTC; 2min 42s ago
Docs: man:lxc-start
man:lxc
Main PID: 1272 (lxc-start)
Memory: 2.6M
CPU: 563ms
CGroup: /system.slice/system-lxc.slice/[email protected]
└─1272 /usr/bin/lxc-start -F -n android
Feb 11 16:28:38 localhost.localdomain systemd[1]: Started LXC Container: android
Feb 11 16:28:38 localhost.localdomain lxc-start[1272]: 5492 blocks
Feb 11 16:28:39 localhost.localdomain lxc-start[1272]: lxc-start: start.c: prese

  • libhybris tests
    • test_gps
    • test_hwcomposer
    • test_lights --> Flash indicator light
    • test_vibrator
    • test_wifi --> Connecting, but cant ping
    • test_sensors --> 6 sensors
    • test_audio
    • test_camera
    • test_input
    • test_nfc --> Not applicable
    • test_recorder

Details

Device
Test performed on Moto G 2013 (XT1032) - 8GB internal storage variant;

test_gps

root@localhost:~# test_gps
*** setup signal handler
*** get gps interface
*** device info
id = gps
name = loc_api GPS Module
author = Qualcomm USA, Inc.
*** init gps interface
*** set capabilities
capability is 00000007
** Creating thread: 'Loc_hal_worker' (start=0xb6a484e5, arg=0x1a98358)
** After thread_create: 'Loc_hal_worker', error=0 (start=0xb6a484e5, arg=0x1a98358)
**** Thread wrapper start (start=0xb6a484e5, arg=0x1a98358) ****
*** setting positioning mode
*** start gps track
*** gps tracking started
*** tracking....
*** status callback
*** session begin
*** status callback
*** engine on
*** status callback
*** session begin
*** sv status
sv_size: 0
num_svs: 1
azimuth: 0.000000
elevation: 0.000000
prn: 15
size: 660
snr: 26.700001
*** nmea info
timestamp: -784962792
nmea (30): $GPGSV,1,1,01,15,00,000,27*49
*** nmea info
timestamp: -784962791
nmea (17): $GLGSV,1,1,0,*79
*** nmea info
timestamp: -784962790
nmea (29): $GPGSA,A,1,,,,,,,,,,,,,,,*1E

test_hwcomposer

root@localhost:~# EGL_PLATFORM=hwcomposer test_hwcomposer
cannot locate symbol "android_create_namespace" referenced by "/system/lib/libgui.so"...
test_hwcomposer: test_hwcomposer.cpp:179: int main(int, char**): Assertion `err == 0' failed.
Aborted

test_wifi

root@localhost:~# ping 8.8.8.8
socket: Permission denied

test_sensors

root@localhost:~# test_sensors
Hardware module ID: sensors
Hardware module Name: msm8226 Sensor module
Hardware module Author: Gabriele M
Hardware module API version: 0x1
Hardware HAL API version: 0x0
Poll device version: 0x1030001
API VERSION 0.1 (legacy): 0x1
API VERSION 0.1: 0x65537
API VERSION 1.0: 0x16777217
API VERSION 1.1: 0x16842753
API VERSION 1.2: 0x16908289
API VERSION 1.3: 0x16973825
API VERSION 1.4: 0x17039361
Got 6 sensors
=== Sensor 0 ==
Name: LIS3DH 3-axis Accelerometer
Vendor: ST Micro
Version: 0x1
Handle: 0x0
Type: 1
maxRange: 39
resolution: 0
power: 0 mA
minDelay: 10000
=== Sensor 1 ==
Name: AK8963 3-axis Magnetic field sensor
Vendor: Asahi Kasei
Version: 0x1
Handle: 0x1
Type: 2
maxRange: 2000
resolution: 0
power: 7 mA
minDelay: 200000
=== Sensor 2 ==
Name: AK8963 Orientation sensor
Vendor: Asahi Kasei
Version: 0x1
Handle: 0x2
Type: 3
maxRange: 360
resolution: 0
power: 7 mA
minDelay: 10000
=== Sensor 3 ==
Name: CT406 Light sensor
Vendor: TAOS
Version: 0x1
Handle: 0x3
Type: 5
maxRange: 27000
resolution: 1
power: 0 mA
minDelay: 20000
=== Sensor 4 ==
Name: CT406 Proximity sensor
Vendor: TAOS
Version: 0x1
Handle: 0x4
Type: 8
maxRange: 100
resolution: 100
power: 3 mA
minDelay: 0
=== Sensor 5 ==
Name: Movement Detection sensor
Vendor: ST Micro
Version: 0x1
Handle: 0x6
Type: 17
maxRange: 1
resolution: 1
power: 0 mA
minDelay: 0

test_audio

root@localhost:~# test_audio
cannot open device '/dev/snd/pcmC0D15c'
Audio device API version 0200 doesn't match platform current 3004.test_audio: test_audio.c:71: main: Assertion `audiohw->common.version == AUDIO_DEVICE_API_VERSION_CURRENT' failed.
Aborted

test_camera

root@localhost:~# test_camera
cannot locate symbol "android_create_namespace" referenced by "/system/lib/libgui.so"...
Segmentation fault

test_input

root@localhost:~# test_input
cannot locate symbol "android_create_namespace" referenced by "/system/lib/libgui.so"...
Segmentation fault

test_recorder

root@localhost:~# test_recorder
Test application for video recording using the camera
Recording start with volume up button. And stops with volume down.
The result is stored to /root/test_video.avi
cannot locate symbol "android_create_namespace" referenced by "/system/lib/libgui.so"...
Segmentation fault

defconfig

falcon_defconfig.txt

halium-boot

  • ubports rootfs
    But not able to flash halium-boot.img
    --> File size around 10.8MB and device has only 10.5MB /boot partition size. Booting directly with fastboot boot halium-boot.img
    --> Setting the flag CONFIG_CC_OPTIMIZE_FOR_SIZE=y it its possible to get a image size around 10MB (able to flash it).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant