balbes150 Posted February 1, 2018 Posted February 1, 2018 1 hour ago, icusu said: Hello all! I have successfully gotten @balbes150's debian server image installed onto a few H96's that I am setting up for compiling. I am hoping to reclaim some of the memory that systemd is using. Specifically, I intend to completely disable hdmi output as well as the reserved memory for the mali gpu. Does anyone have a guide I could read for uboot or something else that would allow me to accomplish this? I'm not looking for someone to just fix the problem for me, but a pointer in the right direction would be quite nice. Either way, thanks go out to balbes150 and others in these tv box threads which have gotten me to this point. Here was discussed a similar question (to increase the memory by turning off the redundant memory). http://forum.khadas.com/
balbes150 Posted February 1, 2018 Posted February 1, 2018 On 28.01.2018 at 5:25 PM, etatto said: I wait update
etatto Posted February 1, 2018 Posted February 1, 2018 1 hour ago, balbes150 said: update Ok, I will try this week-end. Thanks a lot!
etatto Posted February 2, 2018 Posted February 2, 2018 [ 6.531439@3] hdmitx: update physcial size: 16 9 [ 6.536003@3] config: hdmitx: unknown cmd: 0x14000000 [ 27.556171@3] INFO: rcu_preempt detected stalls on CPUs/tasks: [ 27.577311@6] 3-...: (1 GPs behind) idle=4f9/140000000000000/0 softirq=341/342 fqs=2593 [ 27.585638@6] (detected by 6, t=5259 jiffies, g=-78, c=-79, q=51) [ 27.593029@6] Task dump for CPU 3: [ 27.598885@6] hdmi_init.sh R running task 0 2371 1 0x00000002 [ 27.606987@6] Call trace: [ 27.612905@6] [<ffffff8009086434>] __switch_to+0x94/0xa8 [ 27.618911@6] [<0000000000000001>] 0x1 [ 62.476130@1] fb: mem_free_work, free memory: addr:6af000 [ 90.576173@1] INFO: rcu_preempt detected stalls on CPUs/tasks: [ 90.592272@5] 3-...: (1 GPs behind) idle=4f9/140000000000000/0 softirq=341/342 fqs=10404 [ 90.601310@5] (detected by 5, t=21014 jiffies, g=-78, c=-79, q=66) [ 90.609069@5] Task dump for CPU 3: [ 90.615263@5] hdmi_init.sh R running task 0 2371 1 0x00000002 [ 90.623679@5] Call trace: [ 90.629876@5] [<ffffff8009086434>] __switch_to+0x94/0xa8 [ 90.636119@5] [<0000000000000001>] 0x1 [ 153.600178@5] INFO: rcu_preempt detected stalls on CPUs/tasks: [ 153.616626@7] 3-...: (1 GPs behind) idle=4f9/140000000000000/0 softirq=341/342 fqs=18194 [ 153.625694@7] (detected by 7, t=36768 jiffies, g=-78, c=-79, q=66) [ 153.633622@7] Task dump for CPU 3: [ 153.639999@7] hdmi_init.sh R running task 0 2371 1 0x00000002 [ 153.648565@7] Call trace: [ 153.654867@7] [<ffffff8009086434>] __switch_to+0x94/0xa8 [ 153.661227@7] [<0000000000000001>] 0x1 [ 167.944416@0] random: crng init done [ 216.624164@0] INFO: rcu_preempt detected stalls on CPUs/tasks: [ 216.645877@6] 3-...: (1 GPs behind) idle=4f9/140000000000000/0 softirq=341/342 fqs=25995 [ 216.654917@6] (detected by 6, t=52528 jiffies, g=-78, c=-79, q=66) [ 216.662897@6] Task dump for CPU 3: [ 216.669308@6] hdmi_init.sh R running task 0 2371 1 0x00000002 [ 216.677892@6] Call trace: [ 216.684205@6] [<ffffff8009086434>] __switch_to+0x94/0xa8 [ 216.690568@6] [<0000000000000001>] 0x1 [ 242.696550@4] INFO: task kworker/1:1:1238 blocked for more than 120 seconds. [ 242.715772@4] Not tainted 4.9.40 #1 [ 242.722104@4] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 242.730956@4] kworker/1:1 D 0 1238 2 0x00000000 [ 242.740331@4] Workqueue: events aml_tvout_mode_work [ 242.748435@4] Call trace: [ 242.754944@4] [<ffffff8009086434>] __switch_to+0x94/0xa8 [ 242.761530@4] [<ffffff8009bf2cc4>] __schedule+0x21c/0x748 [ 242.768131@4] [<ffffff8009bf3230>] schedule+0x40/0xa8 [ 242.774691@4] [<ffffff8009bf3724>] schedule_preempt_disabled+0x1c/0x30 [ 242.782158@4] [<ffffff8009bf4ff4>] __mutex_lock_slowpath+0xac/0x188 [ 242.789341@4] [<ffffff8009bf5138>] mutex_lock+0x68/0x80 [ 242.795992@4] [<ffffff8009821e40>] validate_vmode+0x30/0x90 [ 242.802614@4] [<ffffff8009822ae8>] refresh_tvout_mode+0x58/0xf0 [ 242.809496@4] [<ffffff8009822e20>] aml_tvout_mode_work+0x30/0xa8 [ 242.816486@4] [<ffffff80090bbf58>] process_one_work+0x1e0/0x498 [ 242.823435@4] [<ffffff80090bc260>] worker_thread+0x50/0x4a8 [ 242.830124@4] [<ffffff80090c2cd8>] kthread+0xf8/0x110 [ 242.836821@4] [<ffffff8009083680>] ret_from_fork+0x10/0x50 [ 279.648172@4] INFO: rcu_preempt detected stalls on CPUs/tasks: [ 279.670232@6] 3-...: (1 GPs behind) idle=4f9/140000000000000/0 softirq=341/342 fqs=33795 [ 279.679620@6] (detected by 6, t=68284 jiffies, g=-78, c=-79, q=66) [ 279.687897@6] Task dump for CPU 3: [ 279.694527@6] hdmi_init.sh R running task 0 2371 1 0x00000002 [ 279.703470@6] Call trace: [ 279.710197@6] [<ffffff8009086434>] __switch_to+0x94/0xa8 [ 279.717022@6] [<0000000000000001>] 0x1 Is it perhaps because I'm running headless with a screen?
balbes150 Posted February 2, 2018 Posted February 2, 2018 4 hours ago, etatto said: Is it perhaps because I'm running headless with a screen? Gathered from the latest commit image stretch 4.9.40. Recorded on the USB flash drive, added the dtb (kvim2_multios.dtb). Has launched on the VIM2 Max. Connected only to a wired network, a USB flash drive with the system and USB power. Joined VIM2 via SSH from the PC and performed the initial configuration. After a reboot everything works. Try to run this image. Maybe when you build something made not so. https://yadi.sk/d/5zSm31vQ3S3ijn
etatto Posted February 9, 2018 Posted February 9, 2018 On 2/2/2018 at 9:49 PM, balbes150 said: Gathered from the latest commit image stretch 4.9.40. Recorded on the USB flash drive, added the dtb (kvim2_multios.dtb). Has launched on the VIM2 Max. Connected only to a wired network, a USB flash drive with the system and USB power. Joined VIM2 via SSH from the PC and performed the initial configuration. After a reboot everything works. Try to run this image. Maybe when you build something made not so. https://yadi.sk/d/5zSm31vQ3S3ijn Well I'm puzzled, but maybe I'm doing it the wrong way coz' your image @balbes150 also doesn't boot with the same hang/error... I'm doing the same as I have done when installing Armbian on my Khadas VIM Pros: - Android on the emmc, - Flashing aml_autoscript.zip with System update application under android, - Burning the image on sdcard with Etcher, - Sdcard in sd-slot, - Power on => Boot Armbian from the sdcard So have these steps changed for the VIM2 (or perhaps for all S905x/S912) ??? Thanks.
balbes150 Posted February 9, 2018 Posted February 9, 2018 You forgot to add the correct dtb file (copy from the /dtb directory to the root of the first section and rename to "dtb.img").
etatto Posted February 9, 2018 Posted February 9, 2018 Sorry I forget to list this step but I have done it. For a matter of fact, I have tried all the dtbs for VIM2 with the same result...
etatto Posted February 9, 2018 Posted February 9, 2018 Also I forget to ask : What are the use case of these dtbs? They are for the partioning of the emmc, right?
balbes150 Posted February 9, 2018 Posted February 9, 2018 I have this image running on VIM1 (s905x) and VIM2 (s912). What u-boot is installed ? To run the kernel 4.9.40 on VIM1 (s905x) need a new u-boot. I use my version of u-boot with built-in multi-boot. To run from external media, you can use any option of the dtb. The correct option dtb important to install the system in eMMC. Then you need to use strictly correct dtb.
etatto Posted February 9, 2018 Posted February 9, 2018 Well I've tried your image and mine on one of my VIM Pro: It boots without any issue (with the right dtb of course ). I might say the images are not the cause of the hang on my VIM2 Max Perhaps a stupid question and not related to my issue: Which revision of the VIM2 Max do you have? Mine is a V1.2 201707. I have spotted on Google V1.0 and V1.1 for the VIM2 and I don't know what might be the differences...
balbes150 Posted February 10, 2018 Posted February 10, 2018 1. Try updating the multi-boot using only the image Armbian. To capture the image, copy and rename the dtb file, to run Android, to run multi-boot activation. 2. What firmware version is installed in the eMMC of your VIM2 ?
guidol Posted February 13, 2018 Posted February 13, 2018 On 21/12/2016 at 3:30 PM, lvmc said: WiFi is now working on GT1. 1. Download & Copy AP6255 WiFi drivers extracted from Beelink's Android image: https://dl.dropboxusercontent.com/u/11164079/GT1/wifi.tar.gz Thanks for the instrutions - they did help me very much with the AP6330 onboard WiFi of the Sunvell T95K Pro (S912 device = q201_6255):Manually: modprobe cfg80211 modprobe dhd firmware_path=/lib/firmware/brcm/fw_bcm40183b2.bin nvram_path=/lib/firmware/brcm/nvram_ap6330.txt On boot: # /etc/modules cfg80211 dhd # /etc/modprobe.d/options.conf options dhd firmware_path=/lib/firmware/brcm/fw_bcm40183b2.bin nvram_path=/lib/firmware/brcm/nvram_ap6330.txt lsmod: root@sunvell-t95kpro:~# lsmod Module Size Used by brcmfmac 171742 0 brcmutil 5091 1 brcmfmac joydev 10336 0 dhd 817295 0 cfg80211 415017 2 dhd,brcmfmac aml_nftl_dev 95108 0 Now the WiFi does run very stable and without any big latency Before I had used an external USB-WiFi Dongle from Edimax where I had a high latency (and I did disable power-management in the /etc/network/interfaces) 1
alanoliver Posted February 16, 2018 Posted February 16, 2018 On 13/02/2018 at 10:44 AM, guidol said: Thanks for the instrutions - they did help me very much with the AP6330 onboard WiFi of the Sunvell T95K Pro (S912 device = q201_6255):Manually: modprobe cfg80211 modprobe dhd firmware_path=/lib/firmware/brcm/fw_bcm40183b2.bin nvram_path=/lib/firmware/brcm/nvram_ap6330.txt On boot: # /etc/modules cfg80211 dhd # /etc/modprobe.d/options.conf options dhd firmware_path=/lib/firmware/brcm/fw_bcm40183b2.bin nvram_path=/lib/firmware/brcm/nvram_ap6330.txt lsmod: root@sunvell-t95kpro:~# lsmod Module Size Used by brcmfmac 171742 0 brcmutil 5091 1 brcmfmac joydev 10336 0 dhd 817295 0 cfg80211 415017 2 dhd,brcmfmac aml_nftl_dev 95108 0 Now the WiFi does run very stable and without any big latency Before I had used an external USB-WiFi Dongle from Edimax where I had a high latency (and I did disable power-management in the /etc/network/interfaces) Link off file wifi!
alanoliver Posted February 16, 2018 Posted February 16, 2018 On 12/02/2017 at 1:08 PM, Quintus23M said: Has anybody tried to build and run a mainline Linux kernel on a S912 device? I do have a Beelink GT1 and would like to use a 4.9.x kernel, no graphics required for my headless server, just ethernet and maybe wifi for later. Currently I was able to boot the GT1 with an Armbian image from @balbes150, but this image has only a 3.14.29 kernel. Any advice and pointers are really appreciated. My friend, did you run the 4.9.x kernel on Beelink GT1? I'm trying to run more than not boot.
guidol Posted February 17, 2018 Posted February 17, 2018 10 hours ago, alanoliver said: Link off file wifi! Sorry - I didnt understand your question
ArtUrlWWW Posted February 21, 2018 Posted February 21, 2018 On 17.02.2018 at 1:28 AM, alanoliver said: My friend, did you run the 4.9.x kernel on Beelink GT1? I'm trying to run more than not boot. Asked balbes150 same question, but about Beelink GT1 Ultimate. It's only possible to rub 3.xx kernel on this device.
balbes150 Posted February 22, 2018 Posted February 22, 2018 18 hours ago, ArtUrlWWW said: Asked balbes150 same question, but about Beelink GT1 Ultimate. It's only possible to rub 3.xx kernel on this device. A new u-boot is needed to run kernel 4.9. I checked on my Tronsmart Vega S96 (S912) - with the dtb from VIM2 and the new u-boot system working with the 4.9 core.
koakh Posted February 26, 2018 Posted February 26, 2018 (edited) Hardware: AlfaWise H96 Pro+ Armbian Version: Armbian_5.37_S9xxx_Ubuntu_xenial_4.9.40_server_20180204.img.xz SOC: Amlogic S912 First thanks to all the people evolved in this great project This is my first post here, I'm a newer armbian user I'm using it has a headless server for my projects with docker and mongodb and my spring boot/aurelia framework projects, and it works like a real server, without lags at all, simple awesome , my main objective is put my solutions in a economic/cheaper server I already do that in raspberry pi 3, but I miss one important part that is use it has a Access Point with HostAPD like in RPI Next the problem: I Have problems configure Wifi card, I cant use Wifi at all, and dont have wlan0 mario@amlogic:~$ dmesg | grep wlan0 mario@amlogic:~$ dmesg | grep wifi [ 1.024140] wifi: power_on_pin_OD = 0; [ 1.024254] aml_wifi wifi: [wifi_dev_probe] no power_on_pin2 [ 1.024460] aml_wifi wifi: [pwm_double_channel_conf_dt] wifi pwm dt ok [ 1.024604] aml_wifi wifi: [pwm_double_channel_conf] wifi pwm conf ok [ 1.024737] aml_wifi wifi: [wifi_dev_probe] interrupt_pin=97 [ 1.024855] aml_wifi wifi: [wifi_dev_probe] irq_num=0, irq_trigger_type=1 [ 1.024992] aml_wifi wifi: [wifi_dev_probe] power_on_pin=96 [ 1.025108] aml_wifi wifi: [wifi_dev_probe] clock_32k_pin=0 [ 1.025595] aml_wifi wifi: [wifi_setup_dt] wifi_setup_dt [ 1.025757] aml_wifi wifi: [wifi_setup_dt] irq num is:(126) [ 1.025874] aml_wifi wifi: [wifi_setup_dt] interrupt_pin(97) [ 1.026007] aml_wifi wifi: [wifi_setup_dt] power_on_pin(96) [ 4.195633] efusekeyname: mac_wifi offset: 24 size: 12 I try everything that I remember, read a lot here in this post about wifi, but I dont even know if my alfawise is working with wifi I try all the DTBs from this armbian release one by one, with modprobe, but nothing gxl_p230_2g.dtb gxl_p231_1g.dtb gxl_p231_2g.dtb gxl_p400_2g.dtb gxl_p401_2g.dtb gxm_p200_2g.dtb kvim2_android.dtb kvim2_linux.dtb kvim2_multios.dtb kvim2_volumio.dtb kvim_android.dtb kvim_linux.dtb I try to follow this post https://forum.armbian.com/topic/2138-armbian-for-amlogic-s912/?page=19&tab=comments#comment-49228 added wifi_dummy to /etc/modules I even get driver from android firmware SCV4-Test1-Blue-PCB-H96ProPlus.zip (the link to cfg80211 driver from above post is broken) copied to /lib/modules/4.9.40/kernel/drivers/net/wireless/ and try to use modprobe on it like explained in above post sudo modprobe cfg80211 modprobe dhd modprobe: ERROR: could not insert 'dhd': No such device but It never works, It seems I need help......i'm a bit lost now, without any wise idea of how I can configure wifi in this device Or maybe I'm doing something stupid, or don't even know how to do it (I bet on this horse LOL) The other problem is I cant backup my /dev/mmcblk0 always have the error `error reading '/dev/mmcblk0': Input/output error` try many times, even try to use hard-disk and samba share but the problem is reading the mmcblk0 it always fail! I try to backup, because I like to install armbian on mmcblk0 I dont need android, maybe in a near future, or when I like to sell it $ sudo ddbr DO YOU WANT TO BACKUP OR RESTORE ? BACKUP=(b) RESTORE=(r) b AVAILABLE DEVICES: mmcblk0 sda1 sda2 YOU ARE RUNNING xenial FROM sda2 INTERNAL EMMC IS: mmcblk0 SIZE: 30535680 ROOT (sda2) FREE SPACE IS: 74266064 DO YOU WANT COMPRESSION ? YES=(y) NO=(n) n SAVING mmcblk0 TO /ddbr/Amlogic-emmc.img... dd: error reading '/dev/mmcblk0': Input/output error Thanks to all, for the excellent distro Edited February 26, 2018 by koakh Prettify Post
balbes150 Posted February 27, 2018 Posted February 27, 2018 Use the version of the images with kernel 3.14.
koakh Posted February 27, 2018 Posted February 27, 2018 1 hour ago, balbes150 said: Use the version of the images with kernel 3.14. Thanks @balbes150 I Will try "Armbian_5.37_S9xxx_Ubuntu_xenial_3.14.29_server_20171226.img.xz" and respond ASAP Once again Thanks
koakh Posted February 27, 2018 Posted February 27, 2018 25 minutes ago, balbes150 said: I recommend using 5.41 (mali6) Thanks @balage Can we send me the link or the filename of 5.41 mali server? Thanks edited: I think I found it here (Armbian_5.41_S9xxx_Ubuntu_xenial_3.14.29_server_20180225.img.xz) can You confirm that is the advised version Thanks (Again)
kingontheroad Posted February 27, 2018 Posted February 27, 2018 Hello If i choose to install ubuntu , wich version can i best to choose for kodi , plex and ipvanisch ? Mate or Server , i have the Beelink GT1 Ultimate 3gb/32gb . Root and 1234 is the standard ? for inlog (armbian 5.41) Friendly Regards , Richard
koakh Posted February 27, 2018 Posted February 27, 2018 10 hours ago, balbes150 said: yes Thanks @balbes150 After Installed Armbian_5.41_S9xxx_Ubuntu_xenial_3.14.29_server_20180225 Now I have wlan0 but I cant use it $ cat /etc/modules #aml_nftl_dev #wifi_dummy cfg80211 dhd $ lsmod Module Size Used by wlan 3435325 0 xt_addrtype 2923 2 zram 8953 8 ch341 5434 0 rtc_hym8563 5568 0 cfg80211 415017 1 wlan $ sudo lshw ... *-network:1 description: Wireless interface physical id: 4 logical name: wlan0 serial: 84:5d:d7:4a:32:02 capabilities: ethernet physical wireless configuration: broadcast=yes driver=ar6k_wlan driverversion=3.14.29 firmware=N/A link=no multicast=yes wireless=Qcom:802.11n $ wlan0 Link encap:Ethernet HWaddr 84:5d:d7:4a:32:02 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) nmtui can't scan networks/activate networks I try manually play with device with $ sudo iw dev phy#0 Interface p2p0 ifindex 7 wdev 0x2 addr 86:5d:d7:cf:32:02 type P2P-device Interface wlan0 ifindex 6 wdev 0x1 addr 84:5d:d7:4a:32:02 type managed $ iw wlan0 link $ sudo ip link set wlan0 up $ sudo ip link show wlan0 6: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000 link/ether 84:5d:d7:4a:32:02 brd ff:ff:ff:ff:ff:ff $ sudo iw wlan0 link $ sudo iw wlan0 scan (wait a 40sec and output nothing, it cant find any network, like nmtui ) seems like im playing with a wifi_dummy $ dmesg | grep wifi [ 2.342807] aml_wifi wifi.35: [wifi_dev_probe] no power_on_pin2 [ 2.342823] aml_wifi wifi.35: [wifi_dev_probe] set pwm as 32k output [ 2.342882] aml_wifi wifi.35: [wifi_dev_probe] dhd_static_buf setup [ 2.342977] aml_wifi wifi.35: [wifi_dev_probe] interrupt_pin=241 [ 2.342991] aml_wifi wifi.35: [wifi_dev_probe] irq_num=100, irq_trigger_type=1 [ 2.343006] aml_wifi wifi.35: [wifi_dev_probe] power_on_pin=240 [ 2.343019] aml_wifi wifi.35: [wifi_dev_probe] clock_32k_pin=0 [ 2.343354] aml_wifi wifi.35: [wifi_setup_dt] wifi_setup_dt [ 2.343399] aml_wifi wifi.35: [wifi_setup_dt] interrupt_pin(241) [ 2.343421] aml_wifi wifi.35: [wifi_setup_dt] power_on_pin(240) [ 6.383600] efusekeyname: mac_wifi offset: 12 size: 6 [ 207.567537] aml_wifi wifi.35: [extern_wifi_set_enable] WIFI Disable! 240 [ 207.870725] aml_wifi wifi.35: [extern_wifi_set_enable] WIFI Enable! 240 [ 208.458580] aml_wifi wifi.35: [extern_wifi_set_enable] WIFI Disable! 240 [ 208.658625] aml_wifi wifi.35: [extern_wifi_set_enable] WIFI Enable! 240 [ 210.348703] dhd_wifi_platform_load: Enter [ 210.348750] wifi_platform_set_power = 1 [ 210.348800] aml_wifi wifi.35: [extern_wifi_set_enable] WIFI Disable! 240 [ 210.548955] aml_wifi wifi.35: [extern_wifi_set_enable] WIFI Enable! 240 [ 211.050686] wifi_platform_bus_enumerate device present 1 [ 213.126880] wifi_platform_set_power = 0 [ 213.126905] wifi_platform_bus_enumerate device present 0 [ 213.126953] aml_wifi wifi.35: [extern_wifi_set_enable] WIFI Disable! 240 [ 213.327004] wifi_platform_set_power = 1 [ 213.327035] aml_wifi wifi.35: [extern_wifi_set_enable] WIFI Disable! 240 [ 213.527065] aml_wifi wifi.35: [extern_wifi_set_enable] WIFI Enable! 240 [ 214.030677] wifi_platform_bus_enumerate device present 1 [ 216.106908] wifi_platform_set_power = 0 [ 216.106933] wifi_platform_bus_enumerate device present 0 [ 216.106981] aml_wifi wifi.35: [extern_wifi_set_enable] WIFI Disable! 240 [ 216.307030] wifi_platform_set_power = 1 [ 216.307064] aml_wifi wifi.35: [extern_wifi_set_enable] WIFI Disable! 240 [ 216.507115] aml_wifi wifi.35: [extern_wifi_set_enable] WIFI Enable! 240 $ sudo modprobe cfg80211 $ sudo modprobe dhd modprobe: ERROR: could not insert 'dhd': No such device Maybe someone can help, I try hard, but it seems without some help I'm trapped here, cant use WiFi card update: I dont have tried all the DTBs......only when I have a monitor and keyboard connected to box, currently my only have ssh Thanks to all
koakh Posted February 28, 2018 Posted February 28, 2018 1 hour ago, balbes150 said: modprobe qca9377 or modprobe wlan Thanks it work até first line with modprobe Alan Now I ser the networks in nmtui Thanks @balbes150 you spare me a few suffering hours. Its so easy when we have the knowledge, and so hard when we are try and fail to learn Once again you are the man PS. Sorry my bad English. Its not my native language....
koakh Posted February 28, 2018 Posted February 28, 2018 5 hours ago, balbes150 said: modprobe qca9377 or modprobe wlan Hello Again I use "modprobe wlan" and it "load" module and I can use wifi (Thanks Again) but, after reboot, I must always do the same "modprobe wlan" I put wlan on /etc/modules but it wont "load" wlan on boot It only works with above combination, and launch "modprobe wlan" after boot/login cat /etc/modules aml_nftl_dev #wifi_dummy cfg80211 dhd # this is note loaded wlan Any idea is appreciated, thanks Update: $ dmesg | grep wlan $ dmesg | grep wlan [ 2.352247] Wifi: bcmdhd_init_wlan_mem: bcmdhd_init_wlan_mem: WIFI MEM Allocated [ 13.191319] ======== dhd_wlan_init_plat_data ======== [ 13.222553] dhd_wlan_init_gpio: GPIO(WL_REG_ON) = -1 [ 13.253521] dhd_wlan_init_gpio: GPIO(WL_HOST_WAKE) = -1 [ 13.263757] dhd_wlan_init_gpio: host_oob_irq: 100 [ 13.271307] dhd_wlan_init_gpio: host_oob_irq_flags=0x414 [ 15.594082] wlan: loading driver v4.5.20.037 [ 27.130863] ======== dhd_wlan_deinit_plat_data ======== [ 27.141717] ======== dhd_wlan_init_plat_data ======== [ 27.146895] dhd_wlan_init_gpio: GPIO(WL_REG_ON) = -1 [ 27.151961] dhd_wlan_init_gpio: GPIO(WL_HOST_WAKE) = -1 [ 27.157505] dhd_wlan_init_gpio: host_oob_irq: 100 [ 27.162239] dhd_wlan_init_gpio: host_oob_irq_flags=0x414 [ 35.674650] wlan: driver load failure [ 40.973680] ======== dhd_wlan_deinit_plat_data ======== [ 40.984504] ======== dhd_wlan_init_plat_data ======== [ 40.989626] dhd_wlan_init_gpio: GPIO(WL_REG_ON) = -1 [ 40.994754] dhd_wlan_init_gpio: GPIO(WL_HOST_WAKE) = -1 [ 41.000063] dhd_wlan_init_gpio: host_oob_irq: 100 [ 41.004927] dhd_wlan_init_gpio: host_oob_irq_flags=0x414 [ 55.385551] ======== dhd_wlan_deinit_plat_data ======== [ 55.399437] ======== dhd_wlan_init_plat_data ======== [ 55.406001] dhd_wlan_init_gpio: GPIO(WL_REG_ON) = -1 [ 55.412421] dhd_wlan_init_gpio: GPIO(WL_HOST_WAKE) = -1 [ 55.418709] dhd_wlan_init_gpio: host_oob_irq: 100 [ 55.424961] dhd_wlan_init_gpio: host_oob_irq_flags=0x414 [ 69.631380] ======== dhd_wlan_deinit_plat_data ======== [ 69.780403] ======== dhd_wlan_init_plat_data ======== [ 69.794767] dhd_wlan_init_gpio: GPIO(WL_REG_ON) = -1 [ 69.809041] dhd_wlan_init_gpio: GPIO(WL_HOST_WAKE) = -1 [ 69.823197] dhd_wlan_init_gpio: host_oob_irq: 100 [ 69.837174] dhd_wlan_init_gpio: host_oob_irq_flags=0x414 [ 70.323227] wlan: loading driver v4.5.20.037 [ 83.902800] ======== dhd_wlan_deinit_plat_data ======== [ 83.916720] ======== dhd_wlan_init_plat_data ======== [ 83.923267] dhd_wlan_init_gpio: GPIO(WL_REG_ON) = -1 [ 83.929730] dhd_wlan_init_gpio: GPIO(WL_HOST_WAKE) = -1 [ 83.929734] dhd_wlan_init_gpio: host_oob_irq: 100 [ 83.929736] dhd_wlan_init_gpio: host_oob_irq_flags=0x414 [ 90.734570] wlan: driver load failure [ 96.761044] ======== dhd_wlan_deinit_plat_data ======== [ 96.761083] ======== dhd_wlan_init_plat_data ======== [ 96.761087] dhd_wlan_init_gpio: GPIO(WL_REG_ON) = -1 [ 96.761091] dhd_wlan_init_gpio: GPIO(WL_HOST_WAKE) = -1 [ 96.761095] dhd_wlan_init_gpio: host_oob_irq: 100 [ 96.761099] dhd_wlan_init_gpio: host_oob_irq_flags=0x414 [ 108.841384] ======== dhd_wlan_deinit_plat_data ======== [ 108.841422] ======== dhd_wlan_init_plat_data ======== [ 108.841426] dhd_wlan_init_gpio: GPIO(WL_REG_ON) = -1 [ 108.841430] dhd_wlan_init_gpio: GPIO(WL_HOST_WAKE) = -1 [ 108.841434] dhd_wlan_init_gpio: host_oob_irq: 100 [ 108.841438] dhd_wlan_init_gpio: host_oob_irq_flags=0x414 [ 120.961724] ======== dhd_wlan_deinit_plat_data ========
balbes150 Posted February 28, 2018 Posted February 28, 2018 Edit file /etc/modules only line aml_nftl_dev wlan
Recommended Posts