Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Lubuntu possible on S905?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    that seems good ...

    [ 0.213827] [wifi_dev_probe] wifi_dev_probe
    [ 0.213838] [wifi_dev_probe] wifi_dt : interrupt_pin=
    [ 0.213871] [wifi_dev_probe] wifi_dt : irq_num=null
    [ 0.213880] [wifi_dev_probe] wifi_dt : irq_trigger_type=GPIO_IRQ_LOW
    [ 0.213891] [wifi_dev_probe] wifi_dt : power_on_pin=
    [ 0.213903] [wifi_dev_probe] set pwm as 32k output
    [ 0.213949] [wifi_dev_probe] dhd_static_buf setup
    [ 0.213964] 1 bcmdhd_init_wlan_mem: wlan_static_skb[0]=ffffffc034a0d600, size=3760
    [ 0.213979] 1 bcmdhd_init_wlan_mem: wlan_static_skb[1]=ffffffc034a0d700, size=3760
    [ 0.213992] 1 bcmdhd_init_wlan_mem: wlan_static_skb[2]=ffffffc034a0d800, size=3760
    [ 0.214006] 1 bcmdhd_init_wlan_mem: wlan_static_skb[3]=ffffffc034a0d900, size=3760
    [ 0.214019] 1 bcmdhd_init_wlan_mem: wlan_static_skb[4]=ffffffc034a0da00, size=3760
    [ 0.214033] 1 bcmdhd_init_wlan_mem: wlan_static_skb[5]=ffffffc034a0db00, size=3760
    [ 0.214047] 1 bcmdhd_init_wlan_mem: wlan_static_skb[6]=ffffffc034a0dc00, size=3760
    [ 0.214060] 1 bcmdhd_init_wlan_mem: wlan_static_skb[7]=ffffffc034a0dd00, size=3760
    [ 0.214074] 2 bcmdhd_init_wlan_mem: wlan_static_skb[8]=ffffffc034a0de00, size=7856
    [ 0.214088] 2 bcmdhd_init_wlan_mem: wlan_static_skb[9]=ffffffc034a0df00, size=7856
    [ 0.214108] 2 bcmdhd_init_wlan_mem: wlan_static_skb[10]=ffffffc034a0f000, size=7856
    [ 0.214122] 2 bcmdhd_init_wlan_mem: wlan_static_skb[11]=ffffffc034a0f100, size=7856
    [ 0.214136] 2 bcmdhd_init_wlan_mem: wlan_static_skb[12]=ffffffc034a0f200, size=7856
    [ 0.214149] 2 bcmdhd_init_wlan_mem: wlan_static_skb[13]=ffffffc034a0f300, size=7856
    [ 0.214162] 2 bcmdhd_init_wlan_mem: wlan_static_skb[14]=ffffffc034a0f400, size=7856
    [ 0.214175] 2 bcmdhd_init_wlan_mem: wlan_static_skb[15]=ffffffc034a0f500, size=7856
    [ 0.214190] 3 bcmdhd_init_wlan_mem: wlan_static_skb[16]=ffffffc034a0f600, size=16048
    [ 0.214203] 4 bcmdhd_init_wlan_mem: wlan_mem_array[0]=ffffffc034a0d600, size=20504
    [ 0.214218] 4 bcmdhd_init_wlan_mem: wlan_mem_array[1]=ffffffc034a0d700, size=20504
    [ 0.214232] 4 bcmdhd_init_wlan_mem: wlan_mem_array[2]=ffffffc034a0d800, size=81944
    [ 0.214248] 4 bcmdhd_init_wlan_mem: wlan_mem_array[3]=ffffffc034a0d900, size=163864
    [ 0.214261] 4 bcmdhd_init_wlan_mem: wlan_mem_array[4]=ffffffc034a0da00, size=20504
    [ 0.214275] 4 bcmdhd_init_wlan_mem: wlan_mem_array[5]=ffffffc034a0db00, size=81944
    [ 0.214290] 5 bcmdhd_init_wlan_mem: wlan_static_scan_buf0=ffffffc034b80000, size=65536
    [ 0.214303] 6 bcmdhd_init_wlan_mem: wlan_static_scan_buf1=ffffffc034b90000, size=65536
    [ 0.214314] bcmdhd_init_wlan_mem: WIFI MEM Allocated
    [ 0.214322] [wifi_dev_probe] interrupt_pin=235
    [ 0.214330] [wifi_dev_probe] irq_num=100, irq_trigger_type=1
    [ 0.214339] [wifi_dev_probe] power_on_pin=234
    [ 0.214347] [wifi_dev_probe] clock_32k_pin=0


    and bad ..

    [ 3.486077] [wifi_power_probe] Error: can not read string
    [ 3.486087] [wifi_power_probe] wifi_dev_probe : there is no DTS file!

    what's next ?
    Last edited by Koxx; 04-18-2016, 20:23.

    Comment


      #32
      What on Your console chip ? ap6330 ? Then you need to use the settings nvram.txt from your consoles. The files you need you can take from this image



      MiniMX r22293

      Comment


        #33
        The MiniMX 1G/8G has an AP6212.

        Ok, let's restart ...

        I installed the distrib as described :
        http://freaktab.com/forum/tv-player-...thod-and-files

        I extract the MiniMX dtb as described and placed it on sdcard as dtb.img (as loaded in s905_autoscript, in /media/boot ... sdcard) :
        http://www.cnx-software.com/2014/05/...irmware-files/

        I took the kernel from here :

        odroid@odroid64:~$ git clone --depth 1 https://github.com/hardkernel/linux.git -b odroidc2-3.14.y

        I prepared the kernel with "odroidc2_defconfig".

        odroid@odroid64:~/linux$ make odroidc2_defconfig

        Added wifi 80211 / am_wifi as module & snd_aml_m8
        Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.


        diff :
        CONFIG_SND_AML_M8=y
        CONFIG_AM_WIFI=y
        CONFIG_AM_WIFI_SD_MMC=y
        CONFIG_AM_WIFI_USB=y
        CONFIG_DHD_USE_STATIC_BUF=y
        CONFIG_BT_DEVICE=y
        CONFIG_BRCMSMAC=m
        CONFIG_BRCMFMAC_SDIO=y
        CONFIG_BCMA=m
        CONFIG_BCMA_BLOCKIO=y

        I removed the kernel 'plus' sign in the kernel version to get '3.14.29' and not '3.14.29+' (to avoid module issue when loading)
        http://stackoverflow.com/questions/1...kernel-version

        then compiled (and didn't copy dtd file since I alredy copied it):

        odroid@odroid64:~/linux$ LOCALVERSION= make -j4
        odroid@odroid64:~/linux$ sudo make modules_install
        odroid@odroid64:~/linux$ sudo cp -f arch/arm64/boot/Image /media/boot/

        I obtain those modules :
        INSTALL net/wireless/cfg80211.ko
        INSTALL net/wireless/lib80211.ko
        INSTALL net/wireless/lib80211_crypt_ccmp.ko
        INSTALL net/wireless/lib80211_crypt_tkip.ko
        INSTALL net/wireless/lib80211_crypt_wep.ko
        INSTALL drivers/net/wireless/brcm80211/brcmfmac/brcmfmac.ko
        INSTALL drivers/net/wireless/brcm80211/brcmsmac/brcmsmac.ko
        INSTALL drivers/net/wireless/brcm80211/brcmutil/brcmutil.ko

        I set the /lib/firmware/nvram.txt file with the AP6212:
        Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.


        I have the firmware in place in /lib/firmware/ (from openelec MiniMX):
        -rw-r--r-- 1 root root 34700 Apr 18 13:45 fw-0a5c_21e8.hcd
        -rw-r--r-- 1 root root 34573 Apr 18 13:45 fw-0a5c_21ec.hcd
        -rw-r--r-- 1 root root 309352 Apr 18 13:45 fw_bcm43438a0_apsta.bin
        -rw-r--r-- 1 root root 326074 Apr 18 13:45 fw_bcm43438a0.bin
        -rw-r--r-- 1 root root 326074 Apr 18 13:45 fw_bcm43438a0_p2p.bin
        -rw-r--r-- 1 root root 4178 Apr 18 13:45 LICENCE.broadcom_bcm43xx
        -rw-r--r-- 1 root root 956 Apr 18 13:45 nvram.txt

        and let's go :
        odroid@odroid64:~/linux$ sudo reboot

        still nothing ...

        dmesg:
        Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

        Last edited by Koxx; 04-19-2016, 22:23.

        Comment


          #34
          Oh yes, one more thing... Thanks a lot for your help guys

          Comment


            #35
            AHHHHHHHH !!!! YESSSSSSSSSSSSSSS !!!!!

            I ported the dhd module from openelec kernel sources to odroidC2 sources


            [ 103.646591] cfg80211: Calling CRDA to update world regulatory domain
            [ 103.845046] cfg80211: World regulatory domain updated:
            [ 103.845057] cfg80211: DFS Master region: unset
            [ 103.845061] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
            [ 103.845067] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
            [ 103.845071] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
            [ 103.845075] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
            [ 103.845079] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm)
            [ 103.845083] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm)
            [ 103.845087] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm)
            [ 103.845091] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm)
            [ 103.845095] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
            [ 106.251264] dhd_module_init: in
            [ 106.251275] [wifi_setup_dt] wifi_setup_dt
            [ 106.251309] [wifi_setup_dt] interrupt_pin(235)
            [ 106.251322] [wifi_setup_dt] power_on_pin(234)
            [ 106.251327] ======== bcm_wlan_set_plat_data ========
            [ 106.251331] host_oob_irq: 100
            [ 106.251335] host_oob_irq_flags=1044
            [ 106.251338] dhd_wifi_platform_load: Enter
            [ 106.251351] Power-up adapter 'DHD generic adapter'
            [ 106.251355] wifi_platform_set_power = 1
            [ 106.251359] ======== PULL WL_REG_ON HIGH! ========
            [ 106.251365] [extern_wifi_set_enable] WIFI Disable! 234
            [ 106.451382] [extern_wifi_set_enable] WIFI Enable! 234
            [ 106.956249] wifi_platform_bus_enumerate device present 1
            [ 106.956256] ======== Card detection to detect SDIO card! ========
            [ 106.957315] [aml_sd_emmc_irq] sdio: resp_timeout,vstat:0x2800,virqc:3fff

            [ 106.957340] aml_sd_emmc_data_thread 2211 sdio: cmd:52
            [ 106.958313] [aml_sd_emmc_irq] sdio: resp_timeout,vstat:0x2800,virqc:3fff

            [ 106.958323] aml_sd_emmc_data_thread 2211 sdio: cmd:52
            [ 106.962778] [aml_sd_emmc_irq] sdio: resp_timeout,vstat:0x2800,virqc:3fff

            [ 106.962787] aml_sd_emmc_data_thread 2211 sdio: cmd:8
            [ 106.977647] sdio: queuing unknown CIS tuple 0x80 (2 bytes)
            [ 106.979952] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
            [ 106.982257] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
            [ 106.986435] sdio: queuing unknown CIS tuple 0x80 (7 bytes)
            [ 107.119395] sdio: new high speed SDIO card at address 0001
            [ 107.119401] sdio: clock 50000000, 4-bit-bus-width

            [ 107.119610] [sdio_reinit] finish
            [ 107.135841] bcmsdh_register: register client driver
            [ 107.135924] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
            [ 107.135980] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
            [ 107.135985] bus num (host idx)=0, slot num (rca)=1
            [ 107.135989] found adapter info 'DHD generic adapter'
            [ 107.135999] 7 bcmdhd_mem_prealloc: wlan_mem_array[section].mem_ptr=ffffffc001beafb8, size=139264
            [ 107.136003] success alloc section 3, size 139264
            [ 107.136078] alloc static buf at ffffffc034b00000!
            [ 107.136083] 1 bcmdhd_mem_prealloc: section=4, wlan_static_skb=ffffffc001f09bb0
            [ 107.136086] success alloc section 4, size 0
            [ 107.136426] dhdsdio_probe : no mutex held. set lock
            [ 107.136519] F1 signature read @0x18000000=0x1540a9a6
            [ 107.138696] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x0 pkg:0x4
            [ 107.139467] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
            [ 107.139577] 4 bcmdhd_mem_prealloc: section=7, wlan_mem_array[4]=ffffffc034ad8000
            [ 107.139581] success alloc section 7, size 26160
            [ 107.139610] dhd_conf_set_chiprev: chip=0xa9a6, chiprev=0
            [ 107.139646] dhd_conf_set_conf_path_by_nv_path: config_path=/lib/firmware/config.txt
            [ 107.146805] dhd_conf_read_config: Ignore config file /lib/firmware/config.txt
            [ 107.146842] 7 bcmdhd_mem_prealloc: wlan_mem_array[section].mem_ptr=ffffffc001beaf88, size=10416
            [ 107.146847] success alloc section 0, size 10416
            [ 107.147149] 2 bcmdhd_mem_prealloc: section=5, wlan_static_scan_buf0=ffffffc034b60000
            [ 107.147154] success alloc section 5, size 65536
            [ 107.147742] wl_create_event_handler(): thread:wl_event_handler:5f0 started
            [ 107.147780] tsk Enter, tsk = 0xffffff80009fdaa8
            [ 107.148296] dhd_attach(): thread:dhd_watchdog_thread:5f1 started
            [ 107.150195] dhd_attach(): thread:dhd_dpc:5f3 started
            [ 107.150211] dhd_dpc_thread: set dpc_cpucore 0 from config.txt
            [ 107.150270] dhd_attach(): thread:dhd_rxf:5f4 started
            [ 107.150282] dhd_deferred_work_init: work queue initialized
            [ 107.150296] 7 bcmdhd_mem_prealloc: wlan_mem_array[section].mem_ptr=ffffffc001beaf98, size=10396
            [ 107.150300] success alloc section 1, size 10396
            [ 107.150310] 7 bcmdhd_mem_prealloc: wlan_mem_array[section].mem_ptr=ffffffc001beafa8, size=65536
            [ 107.150314] success alloc section 2, size 65536
            [ 107.150524] dhdsdio_probe_init: set use_rxchain 0 from config.txt
            [ 107.160069] Dongle Host Driver, version 1.201.59.5 (r506368)
            Compiled in drivers/net/wireless/bcmdhd
            [ 107.162083] Register interface [wlan0] MAC: 94:a1:a2:f5:70:af

            [ 107.162098] dhd_prot_ioctl : bus is down. we have nothing to do
            [ 107.162165] bcmsdh_oob_intr_unregister: Enter
            [ 107.162170] bcmsdh_oob_intr_unregister: irq is not registered
            [ 107.162179] dhd_txglom_enable: enable 0
            [ 107.162182] dhd_bus_devreset: WLAN OFF DONE
            [ 107.162224] wifi_platform_set_power = 0
            [ 107.162228] ======== PULL WL_REG_ON LOW! ========
            [ 107.162234] dhdsdio_probe : the lock is released.
            [ 107.162304] dhd_module_init: Exit err=0
            [ 107.231421] dhd: version magic '3.14.29 SMP mod_unload aarch64' should be '3.14.29 SMP preempt mod_unload aarch64'
            [ 107.231425] dhd: version magic '3.14.29 SMP mod_unload aarch64' should be '3.14.29 SMP preempt mod_unload aarch64'
            [ 107.277428] dhd_open: Enter ffffffc022bd3000
            [ 107.277443]
            Dongle Host Driver, version 1.201.59.5 (r506368)
            Compiled in drivers/net/wireless/bcmdhd
            [ 107.277449] wl_android_wifi_on in 1
            [ 107.277454] wl_android_wifi_on in 2: g_wifi_on=0
            [ 107.277458] wifi_platform_set_power = 1
            [ 107.277462] ======== PULL WL_REG_ON HIGH! ========
            [ 107.277479] [extern_wifi_set_enable] WIFI Disable! 234
            [ 107.479316] [extern_wifi_set_enable] WIFI Enable! 234
            [ 107.986233] sdio_reset_comm():
            [ 108.003631] sdio: queuing unknown CIS tuple 0x80 (2 bytes)
            [ 108.005938] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
            [ 108.008387] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
            [ 108.012534] sdio: queuing unknown CIS tuple 0x80 (7 bytes)
            [ 108.143797]

            dhd_bus_devreset: == WLAN ON ==
            [ 108.143891] F1 signature read @0x18000000=0x1540a9a6
            [ 108.145929] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x0 pkg:0x4
            [ 108.146863] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
            [ 108.147085] dhdsdio_probe_init: set use_rxchain 0 from config.txt
            [ 108.147151] dhd_conf_read_config: Ignore config file /lib/firmware/config.txt
            [ 108.147160] dhd_conf_set_fw_name_by_chip: firmware_path=/lib/firmware/fw_bcm43438a0.bin
            [ 108.147165] Final fw_path=/lib/firmware/fw_bcm43438a0.bin
            [ 108.147168] Final nv_path=/lib/firmware/nvram.txt
            [ 108.147171] Final conf_path=/lib/firmware/config.txt
            [ 108.188708] NVRAM version: AP6212_NVRAM_V1.0_20140603
            [ 108.189185] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
            [ 108.244632] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
            [ 108.244726] bcmsdh_oob_intr_register: Enter
            [ 108.244730] bcmsdh_oob_intr_register: HW_OOB enabled
            [ 108.244734] bcmsdh_oob_intr_register OOB irq=100 flags=414
            [ 108.244757] bcmsdh_oob_intr_register: enable_irq_wake
            [ 108.244762] bcmsdh_oob_intr_register: enable_irq_wake failed with -6
            [ 108.245982] dhd_conf_set_band: Set band 0
            [ 108.246164] dhd_preinit_ioctls: Set tcpack_sup_mode 0
            [ 108.248892] Firmware up: op_mode=0x0005, MAC=94:a1:a2:f5:70:af
            [ 108.248899] dhd_conf_set_country: Set country CN, revision 0
            [ 108.312878] Country code: CN (CN/0)
            [ 108.313368] dhd_conf_set_roam: Set roam_off 1
            [ 108.322737] Firmware version = wl0: Jul 18 2014 18:24:48 version 7.10.226.54.x2 (A0 Station) FWID 01-2faae407
            [ 108.322745] Driver: 1.201.59.5 (r506368)
            Firmware: wl0: Jul 18 2014 18:24:48 version 7.10.226.54.x2 (A0 Station) FWID 01-2faae407
            [ 108.322752] dhd_txglom_enable: enable 0
            [ 108.322756] dhd_conf_set_disable_proptx: set disable_proptx 0
            [ 108.324527] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64
            [ 108.324903] wl_android_wifi_on: Success
            [ 108.395619] dhd_open: Exit ret=0
            [ 108.498285] WLC_E_IF: NO_IF set, event Ignored
            [

            odroid@odroid64:/lib/modules/3.14.29/kernel/drivers/amlogic/wifi/broadcom/bcmdhd_1_201_59_x$ iw
            iw iwconfig iwevent iwgetid iwlist iwpriv iwspy
            odroid@odroid64:/lib/modules/3.14.29/kernel/drivers/amlogic/wifi/broadcom/bcmdhd_1_201_59_x$ iwconfig
            eth0 no wireless extensions.

            wlan0 IEEE 802.11 Access Point: Not-Associated
            Link Quality:0 Signal level:0 Noise level:0
            Rx invalid nwid:0 invalid crypt:0 invalid misc:0

            lo no wireless extensions.


            odroid@odroid64:~$ sudo iwlist wlan0 scan
            wlan0 Scan completed :
            Cell 01 - Address: 00:37:B7:51:749
            ESSID:"SFR-74d3"
            Mode:Managed
            Frequency=2.412 GHz (Channel 1)
            Quality:1/5 Signal level:-83 dBm Noise level:0 dBm
            IE: IEEE 802.11i/WPA2 Version 1
            Group Cipher : TKIP
            Pairwise Ciphers (2) : CCMP TKIP
            Authentication Suites (1) : PSK
            IE: WPA Version 1
            Group Cipher : TKIP
            Pairwise Ciphers (2) : CCMP TKIP
            Authentication Suites (1) : PSK
            Encryption keyn
            Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
            11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
            48 Mb/s; 54 Mb/s



            odroid@odroid64:~$ ifconfig wlan0
            wlan0 Link encap:Ethernet HWaddr 94:a1:a2:f5:70:af
            inet addr:192.168.10.53 Bcast:192.168.10.255 Mask:255.255.255.0
            UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
            RX packets:19 errors:0 dropped:2 overruns:0 frame:0
            TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000
            RX bytes:2654 (2.6 KB) TX bytes:2806 (2.8 KB)

            Comment


              #36
              still this crappy message which prevent me from doing modprobe :
              [ 107.231421] dhd: version magic '3.14.29 SMP mod_unload aarch64' should be '3.14.29 SMP preempt mod_unload aarch64'

              but it works GREAT !

              EDIT : fixed. It was due to an old module still in /lib/modules. remove and depmod -a solved it.
              Last edited by Koxx; 04-20-2016, 13:07.

              Comment


                #37
                now bluetooth ...

                compile broadcom tool :
                git clone https://github.com/kdeenkhoorn/cubie...ster/bluetooth
                cd cubietruck-scripts/sources/broadcom-bluetooth
                make
                sudo cp ./brcm_patchram_plus /usr/local/bin/


                init bluetooth :
                brcm_patchram_plus -d --patchram /lib/firmware/bcm43438a0.hcd --enable_hci --bd_addr 11:22:33:44:55:66 --no2bytes --tosleep 1000 /dev/ttyS1

                in dmesg, you should see :
                [ 8931.542636] ttyS1 use xtal 24000000 change 0 to 9600
                [ 8931.542681] ttyS1 use xtal 24000000 change 9600 to 9600
                [ 8931.542702] ttyS1 use xtal 24000000 change 9600 to 115200
                [ 8939.459567] Bluetooth: HCI UART driver ver 2.2
                [ 8939.459580] Bluetooth: HCI H4 protocol initialized


                now attach hci :
                hciattach /dev/ttyS1 any

                now check :
                odroid@odroid64:~$ hciconfig -a
                hci0: Type: BR/EDR Bus: UART
                BD Address: 11:22:33:44:55:66 ACL MTU: 1021:8 SCO MTU: 64:1
                UP RUNNING PSCAN ISCAN
                RX bytes:691 acl:0 sco:0 events:42 errors:0
                TX bytes:1075 acl:0 sco:0 commands:41 errors:0
                Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87
                Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
                Link policy: RSWITCH SNIFF
                Link mode: SLAVE ACCEPT
                Name: 'odroid64'
                Class: 0x000000
                Service Classes: Unspecified
                Device Class: Miscellaneous,
                HCI Version: 4.1 (0x7) Revision: 0xf5
                LMP Version: 4.1 (0x7) Subversion: 0x2122
                Manufacturer: Broadcom Corporation (15)


                then, start it automatically :
                sudo nano /etc/systemd/system/bt-up.service

                paste this :
                [Unit]
                Description=Bring Up Bluetooth
                #After=bluetooth.target
                After=network-online

                [Service]
                Type=idle
                ExecStart=/bin/su -c '/etc/systemd/system/start-brcmbt-patchram-plus'
                ExecStop=/bin/kill -HUP ${MAINPID}
                StandardInput=tty
                StandardOutput=tty
                TTYPath=/dev/tty5
                Restart=always
                RestartSec=2

                [Install]
                WantedBy=getty.target


                then :
                nano /etc/systemd/system/start-brcmbt-patchram-plus

                paste this :
                #!/bin/sh

                brcm_patchram_plus -d --patchram /lib/firmware/bcm43438a0.hcd --enable_hci --bd_addr 11:22:33:44:55:66 --no2bytes --tosleep 1000 /dev/ttyS1
                hciattach /dev/ttyS1 any
                hciconfig hci0 up

                exit 0



                paste this :
                sudo systemctl enable bt-up.service

                all done !
                reboot to check
                Last edited by Koxx; 04-20-2016, 18:13.

                Comment


                  #38
                  Well done! Perseverance wins.

                  p/s/ I recommend not to use UUID. Better to use a LABEL when specifying disks. It will be easier to transfer on any media.

                  Comment


                    #39
                    boot.ini is not taken into account.

                    to change boot settings :
                    nano s905_autoscript.txt

                    you can paste mine :
                    Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.


                    odroid@odroid64:~$ mkimage -A arm -O linux -T script -C none -d s905_autoscript.txt s905_autoscript
                    Image Name:
                    Created: Wed Apr 20 13:18:55 2016
                    Image Type: ARM Linux Script (uncompressed)
                    Data Size: 853 Bytes = 0.83 kB = 0.00 MB
                    Load Address: 00000000
                    Entry Point: 00000000
                    Contents:
                    Image 0: 845 Bytes = 0.83 kB = 0.00 MB


                    then copy it on sdcard :
                    odroid@odroid64:~$ cp s905_autoscript /media/boot/

                    Comment


                      #40
                      Originally posted by balbes150 View Post
                      Well done! Perseverance wins.

                      p/s/ I recommend not to use UUID. Better to use a LABEL when specifying disks. It will be easier to transfer on any media.
                      thanks for your help !
                      where did you see UUID ?

                      Comment


                        #41
                        iperf results :
                        TCP window size: 212 KByte (default)
                        ------------------------------------------------------------
                        [ 6] local 192.168.10.48 port 44064 connected with 192.168.10.3 port 5555
                        [ 5] 0.0-10.0 sec 769 MBytes 645 Mbits/sec
                        [ 6] 0.0-10.0 sec 816 MBytes 684 Mbits/sec

                        good !

                        Comment


                          #42
                          lol... for remote, it was fast :
                          get this file : https://github.com/surkovalex/OpenEL...te/remote.conf
                          sudo cp /remote.conf /etc/
                          sudo remotecfg /etc/remote.conf

                          for automatic start :
                          sudo nano /lib/systemd/system/amlogic-remotecfg.service

                          paste this :
                          [Unit]
                          Description=Amlogic IR remote support

                          [Service]
                          Type=oneshot
                          ExecStart=/usr/bin/remotecfg /etc/remote.conf
                          RemainAfterExit=yes

                          [Install]
                          WantedBy=basic.target


                          then enable:
                          sudo systemctl enable amlogic-remotecfg

                          hop ! it works with kodi !
                          Last edited by Koxx; 04-20-2016, 19:50.

                          Comment


                            #43
                            Originally posted by Koxx View Post

                            thanks for your help !
                            where did you see UUID ?
                            [ 0.000000] Kernel command line: root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait rw console=ttyS0,115200n8 console=tty0 no_console_suspend hdmimode=1080p60hz m_bpp= vout= fsck.repair=yes net.ifnames=0 consoleblank=0

                            Comment


                              #44
                              oh ok !
                              which partition should I rename dos or ext ? ok, the ext partition
                              how can I change the parition name ? ok : sudo blkid ... sudo tune2fs -L ubuntu /dev/mmcblk1p2
                              I simply have to change ti root=LABEL=ubuntu ? yes ...

                              EDIT : ok, done

                              Comment


                                #45
                                minimx ubuntu image ready !
                                EDIT : not yet ....

                                Comment

                                Working...
                                X