-
Notifications
You must be signed in to change notification settings - Fork 20
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
Kernel build is failing for arpi-5.10 #7
Comments
Hi @mse6cob , You can try this: also make sure you don't have these files or directories:
|
To avoid this issue, put the kernel source under aosp tree : |
Certain projects may move forward on their master branch breaking compatibility with other Android-version-specific projects. This happend e.g. with the 'kernel/build' project where on the master branch certain path' and locations have changed. Thus we have to pin the default revision to the Android and kernel version we want to build for. This also fixes issue android-rpi#7. Change-Id: Icf22094caf3521d506acaeb9a3c3f9265d1a877f
Certain projects may move forward on their master branch breaking compatibility with other Android-version-specific projects. This happend e.g. with the 'kernel/build' project where on the master branch certain path' and locations have changed. Thus we have to pin the default revision to the Android and kernel version we want to build for. This also fixes issue android-rpi#7. Change-Id: Icf22094caf3521d506acaeb9a3c3f9265d1a877f
Hi @mse6cob, |
After checking PR of @icedieler , |
Hi @peyo-hd , Thanks for the input. I have re based again with latest arpi-5.10. merged configuration written to android_kernel/common/arch/arm64/configs/arpi_defconfig (needs make)
*** The source tree is not clean, please run 'make mrproper' make[1]: *** [/android_kernel/common/Makefile:562: outputmakefile] Error 1 So I have tried with (https://github.com/MaJiu/kernel_manifest) . Build is successful. android-rpi/device_arpi_rpi4#96 (comment) Thanks. |
Hi @peyo-hd @icedieler , I am able to run android 12 on Raspberry Pi4. But NOT able to connect adb over USB.. Could you please let me know the steps for connect adb over USB. Thanks. |
Hi, |
Hi @icedieler, We are not able to navigate through Developer options while selecting is redirected to Home screen. Thanks. |
Hi @mse6cob , |
Hi @icedieler , I am building the android source using the below repository. I think it is an engineering build. https://github.com/android-rpi/local_manifests Android12 build is successful and it is up and running . But I am not able to get the ip address of the Pi4. Please find the ifconfig output of Pi4. console:/ $ ifconfig dummy0 Link encap:Ethernet HWaddr f6:44:18:2e:78:f6 eth0 Link encap:Ethernet HWaddr e4:5f:01:72:b9:12 Driver bcmgenet If I set the IPAddress, "Operation not permitted" message is seen in console. console:/ $ ifconfig eth0 192.168.1.2 Could you please let me know how to set the IPAddress. Note: Also I have tried another variant of android 12(omnirom) using the below repository. In this I am able to connect adb over USB. https://github.com/omnirom/android_device_brcm_rpi4 Thanks. |
Yes, you cannot manually configure an IP address as a non-privileged user. The easiest thing would be to have a DHCP server on your network that just assigns an IP address to your Pi. Alternatively you can achieve that with manual |
Hi @icedieler @peyo-hd, I have checked the services which are running in Pi board. DHCP service is NOT running Could you share the steps of manual ip setting in init.rc file. Thanks. |
You can use the
|
@peyo-hd :
I got the below error while building the kernel with arpi-5.10.
$ build/build.sh
build/build.sh: line 424: nproc: command not found
build/build.sh: line 425: readlink: command not found
build/build.sh: line 426: readlink: command not found
build/build.sh: line 427: readlink: command not found
build/build.sh: line 472: rm: command not found
Because of that, I followed the below commands for building the kernel arpi-5.10.
$ cd common
$ ARCH=arm64 scripts/kconfig/merge_config.sh arch/arm64/configs/bcm2711_defconfig kernel/configs/android-base.config kernel/configs/android-recommended.config kernel/configs/android-recommended-arm64.config kernel/configs/android-base-conditional.config
$ ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make Image.gz
$ ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- DTC_FLAGS="-@" make broadcom/bcm2711-rpi-4-b.dtb
$ ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- DTC_FLAGS="-@" make overlays/vc4-kms-v3d-pi4.dtbo
$ ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- DTC_FLAGS="-@" make broadcom/bcm2711-rpi-400.dtb
Build was successful.
Could you please let me know whether it is correct.
Thanks
The text was updated successfully, but these errors were encountered: