Jump to content

lvmc

Members
  • Posts

    134
  • Joined

  • Last visited

Everything posted by lvmc

  1. @Wanninger The same here. About the "display crashes", I think you are seeing some artifacts on screen... it is an issue on all H3 boards with 3.x kernel... we are investigating it here: https://github.com/igorpecovnik/lib/issues/579 Can you please confirm you are seeing this kind of artifact on your screen? Based on my tests it is not related to the fact M2+ is not booting (because other H3 boards show the same strange screen and boot). There is something else... maybe on u-boot or fex.
  2. @Igor, the issue is still here. Try to unplug power sup for 30 min and reconnect again... all M2+ boards I have are failing!
  3. @Igor, it really seems to be stable now... testing! What are the changes that got your attention on U-boot dev?
  4. @Igor, something interesting... using this latest image (I only tested with it for now)... if I both plug power sup barrel (5V@2A or 5V@2.5A) + another power supply connected to microUSB, it seems to be stable... I'm testing.
  5. @Igor, what have you changed? It seems to present the same behavior as before...
  6. @Igor, maybe related to https://github.com/BPI-SINOVOIP/BPI-M2P-bsp/commit/1d6fe6d644f1df412458dcce24b1fec4ef72842a?
  7. @balbes150, Armbian_5.24_Amlogic-s905x_Ubuntu_xenial_3.14.29_20161218.img.xz, 19/12/2016. nvram.txt is missing
  8. 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 2. Load WiFi kernel modules 2.1. Manually modprobe cfg80211 modprobe dhd firmware_path=/lib/firmware/ap6255/fw_bcm43455c0_ag.bin nvram_path=/lib/firmware/ap6255/nvram.txt 2.2. On boot # /etc/modules cfg80211 dhd # /etc/modprobe.d/options.conf options dhd firmware_path=/lib/firmware/ap6255/fw_bcm43455c0_ag.bin nvram_path=/lib/firmware/ap6255/nvram.txt SCAN root@amlogic-s905x:~# iwlist wlan0 scan wlan0 Scan completed : Cell 01 - Address: XX:54:XX:FA:C8:XX ESSID:"SSID_NAME" Mode:Managed Connect to SSID with nmcli nmcli dev wifi connect NETWORK_SSID password NETWORK_PASSWD DMESG dhd_bus_devreset: == WLAN ON == [ 149.800463] F1 signature read @0x18000000=0x15264345 [ 149.806417] F1 signature OK, socitype:0x1 chip:0x4345 rev:0x6 pkg:0x2 [ 149.807102] DHD: dongle ram size is set to 819200(orig 819200) at 0x198000 [ 149.807543] dhd_conf_read_config: kso_enable = 0 [ 149.807633] dhd_conf_set_fw_name_by_chip: firmware_path=/lib/firmware/ap6255/fw_bcm43455c0_ag.bin [ 149.807641] dhdsdio_download_firmware: set use_rxchain 0 [ 149.807647] dhdsdio_download_firmware: set txglomsize 40 [ 149.807653] sdioh_set_mode: set txglom_mode to multi-desc [ 149.807659] Final fw_path=/lib/firmware/ap6255/fw_bcm43455c0_ag.bin [ 149.807664] Final nv_path=/lib/firmware/ap6255/nvram.txt [ 149.807669] Final conf_path=/lib/firmware/ap6255/config.txt [ 149.861058] NVRAM version: AP6255_NVRAM_V1.0_29052015 [ 149.861683] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded. [ 149.939601] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us) [ 149.939765] bcmsdh_oob_intr_register: Enter [ 149.939769] bcmsdh_oob_intr_register: HW_OOB enabled [ 149.939773] bcmsdh_oob_intr_register OOB irq=100 flags=414 [ 149.939802] bcmsdh_oob_intr_register: enable_irq_wake [ 149.939808] bcmsdh_oob_intr_register: enable_irq_wake failed with -6 [ 149.940733] dhd_conf_set_fw_int_cmd: set WLC_SET_BAND 142 0 [ 149.941361] dhd_preinit_ioctls: Set tcpack_sup_mode 0 [ 149.943237] Firmware up: op_mode=0x0005, MAC=44:2c:05:4b:5b:49 [ 149.943243] dhd_conf_set_country: set country ALL, revision 38 [ 149.943248] dhd_conf_set_fw_string_struct_cmd: set country [ 149.943581] CONFIG-ERROR) dhd_conf_set_fw_string_struct_cmd: country setting failed -2 [ 149.947523] Country code: US (US/0) [ 149.947863] dhd_conf_set_fw_string_cmd: set roam_off 1 [ 149.949492] dhd_conf_set_fw_string_cmd: set txbf 1 [ 149.949947] CONFIG-ERROR) dhd_conf_set_fw_string_cmd: txbf setting failed -23 [ 149.959389] Firmware version = wl0: Aug 25 2015 18:58:57 version 7.45.69 (r581703) FWID 01-24037f6e [ 149.959398] Driver: 1.201.59.6 (r506368) Firmware: wl0: Aug 25 2015 18:58:57 version 7.45.69 (r581703) FWID 01-24037f6e [ 149.959611] dhd_txglom_enable: enable 1 [ 149.959616] dhd_conf_set_txglom_params: swtxglom=0, txglom_ext=0 [ 149.959620] dhd_conf_set_txglom_params: txglom_bucket_size=0 [ 149.959624] dhd_conf_set_txglom_params: txglomsize=40, deferred_tx_len=40, bus_txglom=0 [ 149.959628] dhd_conf_set_txglom_params: tx_in_rx=1, tx_max_offset=0 [ 149.959632] dhd_conf_set_disable_proptx: set disable_proptx 0 [ 149.960335] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64 [ 149.960826] wl_android_wifi_on: Success [ 150.018061] dhd_open: Exit ret=0 [ 150.140579] P2P interface registered [ 150.153519] WLC_E_IF: NO_IF set, event Ignored [ 150.154635] P2P interface started [ 182.422348] dhd_module_cleanup: Enter [ 182.422393] sdioh_remove: Enter [ 182.422398] dhdsdio_disconnect : no mutex held. set lock [ 182.430336] dhdsdio_dpc: Bus down, ret [ 182.430350] bcmsdh_oob_intr_unregister: Enter [ 182.430364] dhd_wlfc_deinit():3301, Already disabled! [ 182.490019] dhd_stop: Enter ffffffc05119b000 [ 182.490026] wl_android_wifi_off in 1 [ 182.490030] wl_android_wifi_off in 2: g_wifi_on=1 [ 182.490036] dhd_prot_ioctl : bus is down. we have nothing to do [ 182.490118] bcmsdh_oob_intr_unregister: Enter [ 182.490128] bcmsdh_oob_intr_unregister: irq is not registered [ 182.490143] dhd_txglom_enable: enable 0 [ 182.490150] dhd_conf_set_txglom_params: swtxglom=0, txglom_ext=0 [ 182.490156] dhd_conf_set_txglom_params: txglom_bucket_size=0 [ 182.490162] dhd_conf_set_txglom_params: txglomsize=0, deferred_tx_len=0, bus_txglom=0 [ 182.490168] dhd_conf_set_txglom_params: tx_in_rx=1, tx_max_offset=0 [ 182.490175] dhd_bus_devreset: WLAN OFF DONE [ 182.490240] wifi_platform_set_power = 0 [ 182.490247] ======== PULL WL_REG_ON LOW! ======== [ 182.490252] wl_android_wifi_off out [ 182.490258] dhd_stop: Exit [ 182.570103] dhd_detach(): thread:dhd_watchdog_thread:ee1 terminated OK [ 182.570165] dhd_detach(): thread:dhd_rxf:ee3 terminated OK [ 182.570188] dhd_dpc_thread: Unexpected up_cnt 0 [ 182.570211] dhd_detach(): thread:dhd_dpc:ee2 terminated OK [ 182.571711] P2P interface unregistered [ 182.571746] wl_event_handler: was terminated [ 182.571944] wl_destroy_event_handler(): thread:wl_event_handler:ee0 terminated OK [ 182.799988] dhd_tcpack_suppress_set 376: already set to 0 [ 182.800006] dhd_os_prealloc: failed to alloc memory, section: 7, size: 0bytes [ 182.800031] dhdsdio_disconnect : the lock is released. [ 182.800275] unregister wifi platform drivers [ 182.800283] wifi_platform_bus_enumerate device present 0 [ 182.800289] ======== Card detection to remove SDIO card! ======== [ 182.800315] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI Disable! 240 [ 183.000404] dhd_module_cleanup: Exit
  9. @balbes150, on your latest images for 905x / 5.24. sudo modprobe cfg80211 sudo modprobe dhd dhd_bus_devreset: == WLAN ON == [ 482.888058] F1 signature read @0x18000000=0x15264345 [ 482.891391] F1 signature OK, socitype:0x1 chip:0x4345 rev:0x6 pkg:0x2 [ 482.892072] DHD: dongle ram size is set to 819200(orig 819200) at 0x198000 [ 482.892502] dhd_conf_read_nv_by_chip: nv_by_chip_count=1 [ 482.892511] dhd_conf_read_nv_by_chip: chip=0xa962, chiprev=1, name=nvram_ap6210.txt [ 482.892760] dhd_conf_set_fw_name_by_chip: firmware_path=/lib/firmware/brcm/fw_bcm43455c0_ag.bin [ 482.892768] dhdsdio_download_firmware: set use_rxchain 0 [ 482.892773] dhdsdio_download_firmware: set txglomsize 40 [ 482.892780] sdioh_set_mode: set txglom_mode to multi-desc [ 482.892785] Final fw_path=/lib/firmware/brcm/fw_bcm43455c0_ag.bin [ 482.892790] Final nv_path=/lib/firmware/brcm/ [ 482.892795] Final conf_path=/lib/firmware/brcm/config.txt [ 482.893250] dhdsdio_download_code_file: Open firmware file failed /lib/firmware/brcm/fw_bcm43455c0_ag.bin [ 482.893256] _dhdsdio_download_firmware: dongle image file download failed [ 482.893290] dhd_net_bus_devreset: dhd_bus_devreset: -35 [ 482.893299] dhd_prot_ioctl : bus is down. we have nothing to do [ 482.893306] dhd_net_bus_devreset: dhd_bus_devreset: -35 [ 482.893358] wifi_platform_set_power = 0 [ 482.893365] ======== PULL WL_REG_ON LOW! ======== [ 482.893370] wl_android_wifi_on: Failed [ 482.893376] dhd_open : wl_android_wifi_on failed (-35) [ 482.893383] dhd_stop: Enter ffffffc060c55800 [ 482.893389] wl_android_wifi_off in 1 [ 482.893394] wl_android_wifi_off in 2: g_wifi_on=0 [ 482.893399] wl_android_wifi_off out [ 482.893404] dhd_stop: Exit [ 482.893412] dhd_open: Exit ret=-1 [ 482.894105] dhd_open: Enter ffffffc060c55800 [ 482.894121] Dongle Host Driver, version 1.201.59.6 (r506368) Compiled in drivers/net/wireless/bcmdhd [ 482.894131] wl_android_wifi_on in 1 [ 482.894137] wl_android_wifi_on in 2: g_wifi_on=0 [ 482.894143] wifi_platform_set_power = 1 [ 482.894148] ======== PULL WL_REG_ON HIGH! ======== [ 482.894171] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI Disable! 240 [ 483.094200] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI Enable! 240 [ 483.594991] sdio_reset_comm(): [ 483.623129] sdio: queuing unknown CIS tuple 0x80 (2 bytes) [ 483.625767] sdio: queuing unknown CIS tuple 0x80 (3 bytes) [ 483.628392] sdio: queuing unknown CIS tuple 0x80 (3 bytes) [ 483.633103] sdio: queuing unknown CIS tuple 0x80 (7 bytes) [ 483.726307] sdio: clk 200000000 SDR mode tuning start [ 483.726575] sdio: rx_tuning_result[0] = 10 [ 483.726829] sdio: rx_tuning_result[1] = 10 [ 483.727082] sdio: rx_tuning_result[2] = 10 [ 483.727337] sdio: rx_tuning_result[3] = 10 [ 483.727368] sdio: best_win_start =0, best_win_size =4 [ 483.727376] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x22000 [ 483.727384] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x22000 [ 483.727440] sdioh_start: set sd_f2_blocksize 128 [ 483.727811] dhd_bus_devreset: == WLAN ON == [ 483.728000] F1 signature read @0x18000000=0x15264345 [ 483.731325] F1 signature OK, socitype:0x1 chip:0x4345 rev:0x6 pkg:0x2 [ 483.732007] DHD: dongle ram size is set to 819200(orig 819200) at 0x198000 [ 483.732443] dhd_conf_read_nv_by_chip: nv_by_chip_count=1 [ 483.732452] dhd_conf_read_nv_by_chip: chip=0xa962, chiprev=1, name=nvram_ap6210.txt [ 483.732702] dhd_conf_set_fw_name_by_chip: firmware_path=/lib/firmware/brcm/fw_bcm43455c0_ag.bin [ 483.732710] dhdsdio_download_firmware: set use_rxchain 0 [ 483.732716] dhdsdio_download_firmware: set txglomsize 40 [ 483.732722] sdioh_set_mode: set txglom_mode to multi-desc [ 483.732727] Final fw_path=/lib/firmware/brcm/fw_bcm43455c0_ag.bin [ 483.732732] Final nv_path=/lib/firmware/brcm/ [ 483.732737] Final conf_path=/lib/firmware/brcm/config.txt [ 483.733191] dhdsdio_download_code_file: Open firmware file failed /lib/firmware/brcm/fw_bcm43455c0_ag.bin [ 483.733198] _dhdsdio_download_firmware: dongle image file download failed [ 483.733232] dhd_net_bus_devreset: dhd_bus_devreset: -35 [ 483.733241] dhd_prot_ioctl : bus is down. we have nothing to do [ 483.733247] dhd_net_bus_devreset: dhd_bus_devreset: -35 [ 483.733300] wifi_platform_set_power = 0 [ 483.733306] ======== PULL WL_REG_ON LOW! ======== [ 483.733312] wl_android_wifi_on: Failed [ 483.733319] dhd_open : wl_android_wifi_on failed (-35) [ 483.733327] dhd_stop: Enter ffffffc060c55800 [ 483.733332] wl_android_wifi_off in 1 [ 483.733337] wl_android_wifi_off in 2: g_wifi_on=0 [ 483.733342] wl_android_wifi_off out [ 483.733347] dhd_stop: Exit [ 483.733355] dhd_open: Exit ret=-1
  10. @balbes150, Is your image supporting WiFi on GT1? Please check my post, I uploaded the binary drivers... it may help you! https://forum.armbian.com/index.php/topic/2138-armbian-for-amlogic-s912/?p=20902
  11. @lex, I can generate the new patch as you need and submit to @Igor. Let's remember that we kept DEBUG enable on the current OV5640 driver patch to facilitate collecting dmesg logs from Armbian users. As soon we collect more positive feedbacks I suggest turning it off again.
  12. @balbes150, please send me an Inbox. Let's ship an GT1 for you!
  13. @balbes150, yes. But if the device is bricked because of a previous failure on writing OS to eMMC why we can't just reboot and try to write again?
  14. @pyl, try to use cap-v4l2 https://github.com/avafinger/cap-v4l2
  15. @balbes150, do you have any news about writing on eMMC?
  16. @pel.hu, go to "Developer Options" and ensure "USB Debugging" is enabled.
  17. @pel.hu, to extract dtb from your device, please check this post I did some days ago: https://forum.armbian.com/index.php/topic/2138-armbian-for-amlogic-s912/?p=20906
  18. @mdel, don't know about the wifi hardware spec. GT1 has a seal antenna type, but it is working incredible well... I had bad, really bad experiences with this kind of antenna before, but it is working on mid-range (25m with walls) from AP.
  19. @balbes150, please check the fdisk -l output for Beelink GT1 / 16GB eMMC / 2GB RAM / AP 6255 (GT-T_V20.20160810) root@amlogic-s905x:~# fdisk -l Disk /dev/mmcblk0: 14.5 GiB, 15518924800 bytes, 30310400 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mmcblk0rpmb: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mmcblk1: 14.9 GiB, 15931539456 bytes, 31116288 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x000d9380 Device Boot Start End Sectors Size Id Type /dev/mmcblk1p1 2048 133119 131072 64M e W95 FAT16 (LBA) /dev/mmcblk1p2 133120 30805119 30672000 14.6G 83 Linux
  20. @balbes150 Are you sure that this s905_autoscript is loading dtb.img from sdcard? setenv boot_start booti ${loadaddr} ${initrd_loadaddr} ${dtb_loadaddr} if fatload usb 0 ${initrd_loadaddr} uInitrd; then if fatload usb 0 ${loadaddr} zImage; then if fatload usb 0 ${dtb_loadaddr} dtb.img; then run boot_start; else store dtb read $dtb_loadaddr; run boot_start;fi;fi;fi; if fatload mmc 0 ${initrd_loadaddr} uInitrd; then if fatload mmc 0 ${loadaddr} zImage; then if fatload mmc 0 ${dtb_loadaddr} dtb.img; then run boot_start; else store dtb read $dtb_loadaddr; run boot_start;fi;fi;fi; Is it loading from /boot/dtb/dtb.img or /boot/dtb.img?
  21. @balbes150, I'm trying to use the GT1 .dtb file that I extracted from Android on your Armbian_5.24_Amlogic-s905x_Ubuntu_xenial_3.14.29_desktop_20161125, but I still have a few questions. On sdcard /BOOT there is a s905_autostart file pointing to dtb.img, but there is not dtb.img anywhere. Who is calling s905_autostart? Where is it retrieving dtb.img from?
  22. @mdel, please check the result of your test here.
  23. @mdel, that is the openssl test you requested on this thread with S912 / Beelink GT1 running Armbian_5.24_Amlogic-s905x_Ubuntu_xenial_3.14.29_desktop_20161125 root@amlogic-s905x:~# openssl speed -elapsed -evp bf-cbc aes-128-cbc aes-256-cbcYou have chosen to measure elapsed time instead of user CPU time. Doing aes-128 cbc for 3s on 16 size blocks: 9073379 aes-128 cbc's in 3.03s Doing aes-128 cbc for 3s on 64 size blocks: 2438563 aes-128 cbc's in 3.02s Doing aes-128 cbc for 3s on 256 size blocks: 625809 aes-128 cbc's in 3.02s Doing aes-128 cbc for 3s on 1024 size blocks: 157495 aes-128 cbc's in 3.02s Doing aes-128 cbc for 3s on 8192 size blocks: 19716 aes-128 cbc's in 3.02s Doing aes-256 cbc for 3s on 16 size blocks: 7251936 aes-256 cbc's in 3.02s Doing aes-256 cbc for 3s on 64 size blocks: 1891159 aes-256 cbc's in 3.02s Doing aes-256 cbc for 3s on 256 size blocks: 482672 aes-256 cbc's in 3.02s Doing aes-256 cbc for 3s on 1024 size blocks: 121272 aes-256 cbc's in 3.02s Doing aes-256 cbc for 3s on 8192 size blocks: 15188 aes-256 cbc's in 3.02s Doing bf-cbc for 3s on 16 size blocks: 7347258 bf-cbc's in 3.02s Doing bf-cbc for 3s on 64 size blocks: 2182180 bf-cbc's in 3.02s Doing bf-cbc for 3s on 256 size blocks: 571752 bf-cbc's in 3.02s Doing bf-cbc for 3s on 1024 size blocks: 144898 bf-cbc's in 3.02s Doing bf-cbc for 3s on 8192 size blocks: 18182 bf-cbc's in 3.02s OpenSSL 1.0.2g 1 Mar 2016 built on: reproducible build, date unspecified options:bn(64,64) rc4(ptr,char) des(idx,cisc,16,int) aes(partial) blowfish(ptr) compiler: cc -I. -I.. -I../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wa,--noexecstack -Wall -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM The 'numbers' are in 1000s of bytes per second processed. type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes aes-128 cbc 47912.23k 51678.16k 53048.71k 53402.28k 53481.28k aes-256 cbc 38420.85k 40077.54k 40915.24k 41120.04k 41198.71k bf-cbc 38925.87k 46244.87k 48466.39k 49130.98k 49320.18k Note: this command is using a single CPU.
  24. @zador.blood.stained, that is why we are here pushing!
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines