kernel.mk support build kernel header and install to system/usr/share ?
kernel.mk support build kernel header and install to system/usr/share ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-x86/62feb5fd-0edc-4c32-be8f-10df936e36a6%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-x86/cdf2894c-dd7e-448f-b132-d0eed18a3c8d%40googlegroups.com.
Sorry, forgot to add the error was Can't find default configuration "arch/x86/configs/android-x86_64_defconfig"
To unsubscribe from this group and stop receiving emails from it, send an email to andro...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-x86/25208ace-b142-4efd-af43-45b8ee066534%40googlegroups.com.
Let me check if I did it right. I didn't follow Youling's instruction regarding pulling it from GitHub and executing the make command. Here are the steps I took:
- Extract the Rockchip driver folder to /kernel/drivers/net/wireless/realtek/
- In /kernel/drivers/net/wireless/realtek, modify the Kconfig file to add "source "drivers/net/wireless/realtek/rtl8723bs/Kconfig" "
- In the same directory, modify the Makefile to add "obj-$(CONFIG_RTL8723BS) += rtl8723bs/
- In /kernel/drivers/net/wireless/realtek/rtl8723bs, modify the Makefile and change
- CONFIG_PLATFORM_I386_PC = n
- CONFIG_PLATFORM_ANDROID_INTEL_X86 = y
- In /kernel/drivers/staging, modify the Kconfig file and removed "source "drivers/staging/rtl8723bs" "
Then run the kernel configurator, make sure RTL8723BS shows up under wifi instead of staging section and select it. Build the ISO as usual.I'm going to test it for a few days and see how it works. There were no errors during the compile process and it manage to detect my access point. Waking from sleep still have problem re-connect but I just have to cycle the switch from settings and it would connect again. Previously, I would have to reboot to get it to reconnect but that only works 50% of the time.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-x86/25208ace-b142-4efd-af43-45b8ee066534%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-x86/d23f5951-b3d7-4f0d-94d5-d2b6a62a93bf%40googlegroups.com.
/home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:67:15: warning: ‘struct proc_ops’ declared inside parameter list will not be visible outside of this definition or declaration
const struct proc_ops *proc_ops, void * data)
^~~~~~~~
/home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c: In function ‘rtw_proc_create_entry’:
/home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:72:71: error: passing argument 4 of ‘proc_create_data’ from incompatible pointer type [-Werror=incompatible-pointer-types]
entry = proc_create_data(name, S_IFREG | S_IRUGO | S_IWUGO, parent, proc_ops, data);
^~~~~~~~
In file included from /home/daniel/2/rtl8723bs/include/../os_dep/linux/rtw_proc.h:18:0,
from /home/daniel/2/rtl8723bs/include/osdep_intf.h:128,
from /home/daniel/2/rtl8723bs/include/drv_types.h:104,
from /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:17:
/home/daniel/android9/kernel/include/linux/proc_fs.h:44:31: note: expected ‘const struct file_operations *’ but argument is of type ‘const struct proc_ops *’
extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
^~~~~~~~~~~~~~~~
/home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c: At top level:
/home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:235:21: error: variable ‘rtw_drv_proc_seq_proc_ops’ has initializer but incomplete type
static const struct proc_ops rtw_drv_proc_seq_proc_ops = {
^~~~~~~~
HEAD is now at 1ba598d rtl8723bs: Fix build for kernel 5.8
mkdir rtl_driver (name it whatever you want)cd rtl_driver
git initgit fetch https://github.com/youling257/rockchip_wlan v5.2.17.1git checkout FETCH_HEAD
git revert af0df860505dfdc5834068bf3c8e5253efec6bbe
In Kconfig add source "drivers/net/wireless/realtek/rtl8723bs/Kconfig"
In Makefile add obj-$(CONFIG_RTL8723BS) += rtl8723bs/
Go to line 244 and find the line that looks like include $(TOP_DIR)/halphydm/phydm.mk
Replace the $(TOP_DIR) part with the actual directory path to phydm.mk
Mine looks like include ~/android9/kernel/drivers/netwireless/realtek/rtl8723bs/hal/phydm/phydm.mk
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-x86/8f3d5ed9-067d-4985-b02f-b1e0a6e6b849o%40googlegroups.com.
git revert af0df860505dfdc5834068bf3c8e5253efec6bbe
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-x86/332ab8c4-55f4-44dd-8964-317536004935n%40googlegroups.com.
Try using the full path instead of the tilde (~) and see if that helps? It's not finding the /include path specifically when it complains about fatal error: drv_types.h: No such file or directoryNote that I was also using Android 8.1r5 source when building and haven't tried this method with Android 9, but you're getting the same error I was, so I'm hoping that simply using the full path will help.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-x86/0ea07bf5-4787-4c85-8543-c6f65ec06292n%40googlegroups.com.