summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-16Deprecate goldfish-modulesandroid11-5.4Roman Kiryanov
Bug: 166154615 Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: Ie4756ef87708b95cadf228f722e434217176aab0
2020-09-10[Virtio Wifi] Fix beacon TX crash and add support for tx_statusWeilun Du
1, Each packet needs to acked for transmission. We can save the round trip between guest and host and the number of items in virtqueue by direectly calling ieee80211_status_tx for each pakcket in virtio_wifi_tx(). This would require a copy of the sk_buff because ieee80211_tx_status() will free the sk_buff. 2, Fixed crash in beacon tx timer. BUG: 148080973 BUG: 166501213 Signed-off-by: Weilun Du <wdu@google.com> Change-Id: Ie38ed4038cc8ba2f927a4a31be0042c27b5e7597
2020-07-23[Virtio Wifi] WLAN Mac80211 driverWeilun Du
Implemented a WLAN Mac80211 driver that communicates with the emulated Wifi on Emulator. BUG: 153654075 Signed-off-by: Weilun Du <wdu@google.com> Change-Id: I3a74fed8809173f1c1e808422ac85991cc4418d8
2020-06-22Add INCREMENTAL_FS as a moduleAlistair Delva
This was recently removed from the core image. Change-Id: Ieaf88254957dc73dd962d4e42c2683537e828580
2020-06-18Fail build if gki_defconfig enables options from our fragment as =yRoman Kiryanov
The kernel fails to boot if a module is defined twice: as =y in gki_defconfig and as =m in goldfish_defconfig.fragment. Bug: 158733532 Test: presubmit Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: Ica8ae328d2c92c6bc9b29e4010119364db4f035c
2020-06-18Remove CONFIG_USB_DUMMY_HCD from goldfish_defconfig.fragmentRoman Kiryanov
it was moved to gki_defconfig as =y Bug: 158733532 Test: presubmit Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: I9f0e6b80f3750a77b711c741a2b151686bfa63a5
2020-05-18Add CONFIG_BRIDGE and CONFIG_VETH to the required optionsRoman Kiryanov
they were moved to gki_defconfig. Bug: 154346346 Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: I1bf42c3f9f3bfd567144f2b2e5ca87ad60d5a36a
2020-05-15Drop various options added to gki_defconfigAlistair Delva
These are part of the GKI image now, so goldfish doesn't need to build them as modules. Bug: 144061615 Change-Id: Ie506539b99620d369a43f30441e035e5eab9d38c Signed-off-by: Alistair Delva <adelva@google.com>
2020-04-30Put explicitly options that goldfish depends onRoman Kiryanov
Bug: 154346346 Test: presubmit Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: Ifc05a13b271b4fd0174667006349010960570872
2020-04-29Retire common.patchRoman Kiryanov
We don't need it. Bug: 154346346 Test: presubmit Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: Icfc60f3de4a652efae776facebbe08395a48a950
2020-04-27Retire goldfish_rotary.cRoman Kiryanov
Our current Wear images do not have goldfish_rotary included. When we consider working on new ones we should use virtio_input instead. Bug: 154346346 Test: build Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: Iee60674fb05a6a999632200954531619fc2541ae
2020-03-26build.config.goldfish*: do not reuse the full GKI configMatthias Maennich
Using the *full* GKI config introduces ABI monitoring and whitelist functionality. This is not supposed to be done for goldfish. Hence, fix and refactor the config to only reuse the common parts that are meant to be reused. Bug: 152485743 Signed-off-by: Matthias Maennich <maennich@google.com> Change-Id: Ib1032777f92c75b111954bbb32b571358a6e9e22
2020-03-25Rename pin_user_pages to goldfish_pin_user_pagesRoman Kiryanov
kernel.org introduced the pin_user_pages function which collided with our function. Bug: 152433832 Test: build Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: I10ebdd6b93ff9bc1c0d1b50c1b45f6e65297206c
2020-03-25Replace FIELD_SIZEOF with sizeof_fieldRoman Kiryanov
kernel.org introduced sizeof_field and recently retired FIELD_SIZEOF. Bug: 152433832 Test: build Change-Id: Ib0266206fab3ac353175ac31a4dbd3b9830f4ae9
2020-03-23Use merge_config.sh to merge gki_defconfig and our fragmentRoman Kiryanov
Bug: 148247383 Test: build Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: I3748efbfa4efa44467abcd59318bfb68b67c6224
2020-03-18Don't strip kernel symbols for non-gki buildsRam Muthiah
Bug: 151861649 Test: Treehugger Signed-off-by: Ram Muthiah <rammuthiah@google.com> Change-Id: Ic5d8c1197a422849e11cf3f789d8903d546d9982
2020-03-02Disable CONFIG_SND_INTEL8X0Roman Kiryanov
We use hda for sound, CONFIG_SND_INTEL8X0 is ac97. Bug: 147493341 Test: boot, check if sound works Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: Ib8b4cad14353e8123399f75adc908df1842a9669
2020-02-28Add modules to gf that cf has to goldfish_defconfig.fragmentRoman Kiryanov
Bug: 147493341 Test: build Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: I2dfad721d496ec2b5b0974aa0f3cdd7e801c0824
2020-02-28Remove 'BRIDGE_NETFILTER is not set' from goldfish_defconfig.fragmentRoman Kiryanov
This option is disabled by default now. Bug: 147493341 Test: build Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: I8cea385730810a2eb2348ffbf17ecb6602009e6f
2020-02-27Remove CONFIG_BINFMT_MISC=m from goldfish_defconfig.fragmentRoman Kiryanov
CONFIG_BINFMT_MISC=y was added to gki_defconfig. Bug: 147493341 Bug: 150328771 Bug: 141618959 Test: build Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: I80e63c0aa1e0dddedfb0e323b15e1cf8f154d0d7
2020-02-26Add CONFIG_BINFMT_MISC=mRoman Kiryanov
required by ndk_translation. Bug: 141618959 Bug: 147493341 Change-Id: I493788451daff8f0d3711d6ea89d668fee978764 Signed-off-by: Roman Kiryanov <rkir@google.com>
2020-02-21Add a patch with the workaround for commonRoman Kiryanov
In our 4.14 kernel mac80211_hwsim has a 'mac_prefix' module parameter to make MAC address unique between emulators. In the GKI approach we cannot have this change anymore and we need to provide mac80211_hwsim MAC address another way. For now we build our kernel with this local change. git apply ../goldfish-modules/common.patch Bug: 147493341 Test: emulator presubmit Change-Id: I38418d28f3fdb839cdecfff883e7df2b28c95443 Signed-off-by: Roman Kiryanov <rkir@google.com>
2020-02-21Add CONFIG_SDCARD_FSRoman Kiryanov
Bug: 147493341 Test: emulator presubmit Change-Id: Idf544a51189d0dd03650f9f866e9bef6744817f1 Signed-off-by: Roman Kiryanov <rkir@google.com>
2020-02-18Add modules to make LTE and wifi to work on emulatorRoman Kiryanov
This change assumes that CONFIG_NAMESPACES and CONFIG_NET_NS are enabled and CONFIG_MAC80211_RC_MINSTREL is not disabled in gki_defconfig. Bug: 147493341 Test: boot, check if network works. Change-Id: Id4d7352c2ff2a63cd193429c9e73992420f261e2 Signed-off-by: Roman Kiryanov <rkir@google.com>
2020-02-11Update goldfish_defconfig.fragmentRoman Kiryanov
On GKI kernel our defconfig cannot contain =y options except when they are related to =m options in this config. CONFIG_MAC80211_HWSIM=m has an issue: ieee80211 phy0: Failed to select rate control algorithm we should move to virtio_wifi. Bug: 147493341 Test: boot Change-Id: I4492179f71dc6c7198be30b4db4847311fbd4145 Signed-off-by: Roman Kiryanov <rkir@google.com>
2020-02-11Add standard kernel options required by goldfish as modulesRoman Kiryanov
The kernel with goldfish modules boots on the emulator, adb works. Bug: 147493341 Test: boot Change-Id: If406f720a1eaa220203c6a262e338dc78514e1db Signed-off-by: Roman Kiryanov <rkir@google.com>
2020-02-05Add goldfish modules for r-goldfish-android-5.4Roman Kiryanov
Moved from android/kernel/goldfish/android-goldfish-4.14-dev How to build: repo init -u https://android.googlesource.com/kernel/manifest \ -b r-goldfish-android-5.4 repo sync BUILD_CONFIG=goldfish-modules/build.config.goldfish.x86_64 \ build/build.sh ls -1 ./out/android-5.4/dist/ bzImage goldfish_address_space.ko goldfish_battery.ko goldfish_cpufreq_stats.ko goldfish_pipe.ko goldfish_rotary.ko goldfish_sync.ko System.map vmlinux Bug: 147493341 Test: build Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: I93cc8ada709275140290d9441614ba58b5a3c555
2020-01-10Initial empty repositoryHEADmastermainInna Palant