Commit Graph

4 Commits

Author SHA1 Message Date
Yifan Hong
023b893955 Revert "ANDROID: kleaf: convert rockpi4 to mixed build."
This reverts commit 6100c90ef5.

Reason for revert: rockpi4 has DEVTMPFS enabled and GKI doesn't

Bug: 258841346
Change-Id: Icefb1bb4cf39004234513d307e385b04cb76e51d
2022-11-22 23:44:09 +00:00
Yifan Hong
6100c90ef5 ANDROID: kleaf: convert rockpi4 to mixed build.
Build the GKI //common:kernel_aarch64, then
build rockpi4 modules on top of it.

As a side effect of this change, rockpi4 will no longer
be able to be built with build.sh because it won't produce
vmlinux, etc..

Test: TH
Test: bazel run //common:rockpi4_dist
Bug: 258841346
Change-Id: I88989a265d0a90daddc85dd45a8736f942350522
Signed-off-by: Yifan Hong <elsk@google.com>
2022-11-22 23:42:33 +00:00
Alistair Delva
34bddd1701 ANDROID: Build LZ4 ramdisk for rockpi4
Removes an unnecessary difference between GKI.

Bug: 183963484
Change-Id: I4e6e1755b7bf29e842d88829b14fce5b2e0ac120
Signed-off-by: Alistair Delva <adelva@google.com>
2021-04-09 18:15:40 +00:00
Alistair Delva
feb40bf813 ANDROID: GKI: Add rockpi4 fragment and build.config
Add support for the Rock Pi 4 board downstream of GKI. This removes a
bitrotting custom defconfig and replaces it with a fragment based on
the GKI. Add the build.config for build automation purposes.

This configuration is not yet GKI compatible. Some options must be set
that are not GKI compliant:

CONFIG_ARCH_ROCKCHIP=y
CONFIG_COMMON_CLK_ROCKCHIP=y
CONFIG_DEVTMPFS=y
CONFIG_ROCKCHIP_GRF=y
CONFIG_ROCKCHIP_IOMMU=y
CONFIG_ROCKCHIP_MBOX=y
CONFIG_ROCKCHIP_PM_DOMAINS=y
CONFIG_ROCKCHIP_TIMER=y

Bug: 183963484
Change-Id: Id7376d6d377f453a3fe2c215d10d0424550de1bc
Signed-off-by: Alistair Delva <adelva@google.com>
2021-03-30 17:33:42 +00:00