Firefly Open Source Community

Title: Recompiling Android with MPU6050 [Print This Page]

Author: yonush    Time: 3/1/2015 04:41
Title: Recompiling Android with MPU6050

Hi,

I'm trying to include the Invensense code to the Android firefly image. I have change the .dts files and added the driver to the kernel. That code works and i can see the device (I2C1 on 1-0068) with sysfs after I have flashed it to the board.

The problem I'm having now is that when I build the Android it refuses to include the 'hardware/rk29/mpu' folder and only seems to use the'hardware/rk29/st' folder. I tried various rules including adding BOARD_SENSOR_MPU to the 'BoardConfig.mk' in the 'device/rockchip/rk3288' and even the one in 'device/rockchip/rksdk'. Both refuse to compile the mpu code. If i override the rule (remove it in the mpu android.mk) the build stops.

I have also noticed that when i remove the sensors.rk30board.so library from lib/hw and rebuild does not put it without doing a make clean; make -j24 again.


Anyone have any ideas how to progress further?


Author: busybee    Time: 3/2/2015 15:54
Title: Re: Recompiling Android with MPU6050

Perhaps you're editing the wrong board config file.

Please try replace

  "BOARD_SENSOR_ST := true"

with

  "BOARD_SENSOR_MPU := true"

in SDK/device/rockchip/rksdk/BoardConfig.mk


Author: miabake713    Time: 1/14/2026 07:38
Die Schwierigkeiten können den Charakter eines Menschen testen. Eine schlechte Situation kann die Aufrichtigkeit eines Menschen zeigen. Wenn man einer schlechten Situation gegenüberstehen, können nur die mutigen es gant leichtnehmen. Sind Sie ein mutiger Mensch? Wenn Sie sich nicht so gut auf Ihre Prüfung vorbereiten, können Sie es noch leichtnehmen. Weil Sie die Fragenkataloge zur SAP E_S4CON_2025 Prüfung von Zertpruefung haben. Und eine SAP E_S4CON_2025 Prüfung wird Sie nicht niederschlagen.
Author: joetate375    Time: 1/26/2026 06:49
主要な環境では、人々はより多くの仕事のプレッシャーに直面しています。そのため、彼らはSalesforce認証を一般の群れよりも高めたいと考えています。有効で効率的なPlat-Admn-301-JPNガイドトレントを選択する方法は、ほとんどの候補者が懸念する可能性のある重要なトピックです。だから今、それは正しいです、あなたは私たちのところに来ます。当社は、特にSalesforce認定試験に関するこの分野の高品質なPlat-Admn-301-JPN試験問題で有名です。試験のためにPlat-Admn-301-JPN学習教材を実践している数千人の受験者に受け入れられています。




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1