Building kernel for emulator

147 views
Skip to first unread message

Ivan Sučić

unread,
Sep 14, 2022, 8:35:52 AM9/14/22
to Android Building
Hello, when I build the kernel from aosp using the command
BUILD_INITRAMFS=1 BUILD_CONFIG_FRAGMENTS=common-modules/virtual-device/goldfish_defconfig.fragment BUILD_CONFIG=common-modules/virtual-device/build.config.virtual_device.x86_64 build/build.sh
The file goldfish_defconfig.fragment contains only one line
CONFIG_BT_HCIBTUSB=m
After that i try to run the emulator with prebuilt kernel it works. When I try using my built kernel it displays the following
kernel too old to load a ramdisk.
How to solve the problem?
Thank you
Reply all
Reply to author
Forward
0 new messages