Jump to content

pierre-pret

Members
  • Posts

    10
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Please make a pull request. I just made my first pull request to fix Bluetooth here: https://github.com/armbian/build/pull/3896
  2. Orange PI 3 image won't work on Orange PI 3 LTS board. See these images instead: https://imola.armbian.com/dl/orangepi3-lts/nightly/ https://github.com/armbian/build/pull/3628 From my experience 5.16 worked, then 5.17 had WiFi issues, but latest master 5.18 works again. Currently working on submitting pull request for bluetooth support.
  3. Here are some cases where a board wouldn't reboot, then after a fix it can reboot consistently: https://github.com/armbian/build/pull/3241 https://github.com/armbian/build/pull/3143 https://github.com/armbian/build/pull/3238/commits/362008cfb7b586abbba6330ce1a3b25846d89b68 I'm not sure exactly what needs to be changed, but the answer should be in this commit somewhere, as reboot works fine on the official orange PI debian: https://github.com/orangepi-xunlong/orangepi-build/commit/9f400f169d4f6c5ee01d4faa31417937e2148b86 We will probably have to wait for @Ukhellfire to have free time and energy to spend on this. Unless someone else has an idea of how to fix it? If an Armbian maintainer is willing to spend time on this, I'll be happy to place an order for an Orange PI 3 LTS to ship to them.
  4. Since others are reporting the WiFi as working (including myself) I would say the next step is to try and connect to a different WiFi network from Armbian to see if you get the same error. This specific WiFi network might be using hardware support that doesn't currently work in Armbian with the OPI3 LTS. Knowing what hardware feature makes it fail will be very helpful. If a different WiFi network (such as phone hotspot) works then it's a good starting point to determining what fails exactly.
  5. Try connecting from the official Orange PI Debian image to see if it's an Armbian issue or not.
  6. @Iain Dooley said he successfully flashed Android via PhoenixCard to the EMMC. I tried to flash Armbian OPI 3 LTS nightly but keep getting the same error when I select the image, before burning. I'm assuming it does some kind of check on the image and the Armbian one doesn't pass the check. https://imola.armbian.com/dl/orangepi3-lts/nightly/
  7. What I did notice when using the Armbian build compared to the official Orange PI 3 LTS Debian build is that sometimes when I use "sudo reboot" the Armbian system wouldn't come back online. Other times the ETH port lights doesn't come on and doesn't work when the system starts up. There seems to be some extra u-boot config needed in the Armbian build to reliably reboot. I see this is a fairly common problem that happened with many other Orange PI boards on Armbian and have been fixed.
  8. It turns out this isn't a problem with the Armbian image. I used the orangepi-config utility on official orange PI debian image to generate a WiFi hostapd.conf file. I then copied this hostapd.conf file into armbian and the WiFI hotspot works without any firmware crashes. You can see the config file here: https://github.com/orangepi-xunlong/firmware/issues/1
  9. Thank you for the great work in supporting this board on Armbian. I've been testing the nightly build and found the WiFi can't keep up an access point. Did anyone else get these errors? Is there an alternative WiFi driver to try? When I start the hotspot, it stays on for about a minute. If it doesn't crash, this command does a WiFi scan and instantly crashes it: iw dev wlan0 scan systemctl stop wpa_supplicant ip link set dev wlan0 down ip a add 10.0.1.5/24 brd + dev wlan0 ip link set dev wlan0 up dhcpcd -k wlan0 systemctl start hostapd dmesg | grep 'WCN\|wlan0' [ 4.977803] WCN: marlin_init entry! [ 4.978314] WCN: wcn config bt wake host [ 4.978537] WCN_ERR: dts node for bt_wake not found [ 4.978541] WCN: marlin2 parse_dt some para not config [ 4.983959] WCN: marlin_probe ok! [ 4.999011] WCN: marlin power state:0, subsys: [MARLIN_BLUETOOTH] power 0 [ 5.102498] WCN: start_marlin [MARLIN_WIFI] [ 5.102522] WCN: marlin power state:0, subsys: [MARLIN_WIFI] power 1 [ 5.102529] WCN: the first power on start [ 5.213542] WCN: marlin chip en dummy pull up -- need manually set GPIO [ 5.241793] WCN: marlin_scan_finish! [ 5.241941] WCN: then marlin start to download [ 5.242342] WCN: marlin_get_wcn_chipid: chipid: 0x2355b001 [ 5.242360] WCN: marlin_request_firmware from /lib/firmware/wcnmodem.bin start! [ 5.506517] WCN: start_marlin [MARLIN_BLUETOOTH] [ 6.148961] WCN: combin_img 0 marlin_firmware_write finish and successful [ 6.149338] WCN: marlin_start_run read reset reg val:0x1 [ 6.149356] WCN: after do marlin_start_run reset reg val:0x0 [ 6.149671] WCN: s_marlin_bootup_time=6149669142 [ 6.156900] WCN: clock mode: TSX [ 6.157095] WCN: marlin_write_cali_data sync init_state:0x0 [ 6.183625] WCN: marlin_write_cali_data sync init_state:0x0 [ 6.213403] WCN: marlin_write_cali_data sync init_state:0xf0f0f0f1 [ 6.213432] WCN: sdio_config bt_wake_host trigger:[high] [ 6.213475] WCN: sdio_config irq:[inband] [ 6.213478] WCN: sdio_config wake_host_level_duration_time:[20ms] [ 6.213483] WCN: sdio_config wake_host_data_separation:[bt/wifi reuse] [ 6.213485] WCN: marlin_send_sdio_config_to_cp sdio_config:0x80f01 (enable config) [ 6.213851] WCN: marlin_write_cali_data finish [ 6.214032] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 6.241770] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 6.269746] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 6.298346] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 6.325733] WCN: check_cp_ready sync val:0xf0f0f0f6, prj_type val:0x0 [ 6.325757] WCN: marlin_bind_verify confuse data: 0xcfe38251b04db73419dc5cae40581e72 [ 6.325773] WCN: marlin_bind_verify verify data: 0x1ed7454972563e2294bc7cf590020acc [ 6.326345] WCN: check_cp_ready sync val:0xf0f0f0f7, prj_type val:0x0 [ 6.353720] WCN: check_cp_ready sync val:0xf0f0f0ff, prj_type val:0x0 [ 6.364493] WCN: get_cp2_version entry! [ 6.403829] WCN: WCND at cmd read:WCN_VER:Platform Version:MARLIN3_19B_W20.37.4~Project Version:sc2355_marlin3_lite_ott~09-11-2020 21:27:32~ [ 6.403867] WCN: switch_cp2_log - close entry! [ 6.405182] WCN: WCND at cmd read:OK [ 6.405241] WCN: then marlin download finished and run ok [ 6.405256] WCN: start_loopcheck [ 6.405520] WCN: marlin power state:4, subsys: [MARLIN_BLUETOOTH] power 1 [ 6.405531] WCN: marlin have open, GNSS is closed [ 6.462911] WCN: get_board_ant_num [one_ant] root@orangepi3-lts:~# dmesg | grep WCN [ 4.977803] WCN: marlin_init entry! [ 4.978314] WCN: wcn config bt wake host [ 4.978537] WCN_ERR: dts node for bt_wake not found [ 4.978541] WCN: marlin2 parse_dt some para not config [ 4.983959] WCN: marlin_probe ok! [ 4.999011] WCN: marlin power state:0, subsys: [MARLIN_BLUETOOTH] power 0 [ 5.102498] WCN: start_marlin [MARLIN_WIFI] [ 5.102522] WCN: marlin power state:0, subsys: [MARLIN_WIFI] power 1 [ 5.102529] WCN: the first power on start [ 5.213542] WCN: marlin chip en dummy pull up -- need manually set GPIO [ 5.241793] WCN: marlin_scan_finish! [ 5.241941] WCN: then marlin start to download [ 5.242342] WCN: marlin_get_wcn_chipid: chipid: 0x2355b001 [ 5.242360] WCN: marlin_request_firmware from /lib/firmware/wcnmodem.bin start! [ 5.506517] WCN: start_marlin [MARLIN_BLUETOOTH] [ 6.148961] WCN: combin_img 0 marlin_firmware_write finish and successful [ 6.149338] WCN: marlin_start_run read reset reg val:0x1 [ 6.149356] WCN: after do marlin_start_run reset reg val:0x0 [ 6.149671] WCN: s_marlin_bootup_time=6149669142 [ 6.156900] WCN: clock mode: TSX [ 6.157095] WCN: marlin_write_cali_data sync init_state:0x0 [ 6.183625] WCN: marlin_write_cali_data sync init_state:0x0 [ 6.213403] WCN: marlin_write_cali_data sync init_state:0xf0f0f0f1 [ 6.213432] WCN: sdio_config bt_wake_host trigger:[high] [ 6.213475] WCN: sdio_config irq:[inband] [ 6.213478] WCN: sdio_config wake_host_level_duration_time:[20ms] [ 6.213483] WCN: sdio_config wake_host_data_separation:[bt/wifi reuse] [ 6.213485] WCN: marlin_send_sdio_config_to_cp sdio_config:0x80f01 (enable config) [ 6.213851] WCN: marlin_write_cali_data finish [ 6.214032] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 6.241770] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 6.269746] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 6.298346] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 6.325733] WCN: check_cp_ready sync val:0xf0f0f0f6, prj_type val:0x0 [ 6.325757] WCN: marlin_bind_verify confuse data: 0xcfe38251b04db73419dc5cae40581e72 [ 6.325773] WCN: marlin_bind_verify verify data: 0x1ed7454972563e2294bc7cf590020acc [ 6.326345] WCN: check_cp_ready sync val:0xf0f0f0f7, prj_type val:0x0 [ 6.353720] WCN: check_cp_ready sync val:0xf0f0f0ff, prj_type val:0x0 [ 6.364493] WCN: get_cp2_version entry! [ 6.403829] WCN: WCND at cmd read:WCN_VER:Platform Version:MARLIN3_19B_W20.37.4~Project Version:sc2355_marlin3_lite_ott~09-11-2020 21:27:32~ [ 6.403867] WCN: switch_cp2_log - close entry! [ 6.405182] WCN: WCND at cmd read:OK [ 6.405241] WCN: then marlin download finished and run ok [ 6.405256] WCN: start_loopcheck [ 6.405520] WCN: marlin power state:4, subsys: [MARLIN_BLUETOOTH] power 1 [ 6.405531] WCN: marlin have open, GNSS is closed [ 6.462911] WCN: get_board_ant_num [one_ant] root@orangepi3-lts:~# dmesg | grep WCN [ 4.977803] WCN: marlin_init entry! [ 4.978314] WCN: wcn config bt wake host [ 4.978537] WCN_ERR: dts node for bt_wake not found [ 4.978541] WCN: marlin2 parse_dt some para not config [ 4.983959] WCN: marlin_probe ok! [ 4.999011] WCN: marlin power state:0, subsys: [MARLIN_BLUETOOTH] power 0 [ 5.102498] WCN: start_marlin [MARLIN_WIFI] [ 5.102522] WCN: marlin power state:0, subsys: [MARLIN_WIFI] power 1 [ 5.102529] WCN: the first power on start [ 5.213542] WCN: marlin chip en dummy pull up -- need manually set GPIO [ 5.241793] WCN: marlin_scan_finish! [ 5.241941] WCN: then marlin start to download [ 5.242342] WCN: marlin_get_wcn_chipid: chipid: 0x2355b001 [ 5.242360] WCN: marlin_request_firmware from /lib/firmware/wcnmodem.bin start! [ 5.506517] WCN: start_marlin [MARLIN_BLUETOOTH] [ 6.148961] WCN: combin_img 0 marlin_firmware_write finish and successful [ 6.149338] WCN: marlin_start_run read reset reg val:0x1 [ 6.149356] WCN: after do marlin_start_run reset reg val:0x0 [ 6.149671] WCN: s_marlin_bootup_time=6149669142 [ 6.156900] WCN: clock mode: TSX [ 6.157095] WCN: marlin_write_cali_data sync init_state:0x0 [ 6.183625] WCN: marlin_write_cali_data sync init_state:0x0 [ 6.213403] WCN: marlin_write_cali_data sync init_state:0xf0f0f0f1 [ 6.213432] WCN: sdio_config bt_wake_host trigger:[high] [ 6.213475] WCN: sdio_config irq:[inband] [ 6.213478] WCN: sdio_config wake_host_level_duration_time:[20ms] [ 6.213483] WCN: sdio_config wake_host_data_separation:[bt/wifi reuse] [ 6.213485] WCN: marlin_send_sdio_config_to_cp sdio_config:0x80f01 (enable config) [ 6.213851] WCN: marlin_write_cali_data finish [ 6.214032] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 6.241770] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 6.269746] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 6.298346] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 6.325733] WCN: check_cp_ready sync val:0xf0f0f0f6, prj_type val:0x0 [ 6.325757] WCN: marlin_bind_verify confuse data: 0xcfe38251b04db73419dc5cae40581e72 [ 6.325773] WCN: marlin_bind_verify verify data: 0x1ed7454972563e2294bc7cf590020acc [ 6.326345] WCN: check_cp_ready sync val:0xf0f0f0f7, prj_type val:0x0 [ 6.353720] WCN: check_cp_ready sync val:0xf0f0f0ff, prj_type val:0x0 [ 6.364493] WCN: get_cp2_version entry! [ 6.403829] WCN: WCND at cmd read:WCN_VER:Platform Version:MARLIN3_19B_W20.37.4~Project Version:sc2355_marlin3_lite_ott~09-11-2020 21:27:32~ [ 6.403867] WCN: switch_cp2_log - close entry! [ 6.405182] WCN: WCND at cmd read:OK [ 6.405241] WCN: then marlin download finished and run ok [ 6.405256] WCN: start_loopcheck [ 6.405520] WCN: marlin power state:4, subsys: [MARLIN_BLUETOOTH] power 1 [ 6.405531] WCN: marlin have open, GNSS is closed [ 6.462911] WCN: get_board_ant_num [one_ant] root@orangepi3-lts:~# dmesg | grep WCN [ 4.977803] WCN: marlin_init entry! [ 4.978314] WCN: wcn config bt wake host [ 4.978537] WCN_ERR: dts node for bt_wake not found [ 4.978541] WCN: marlin2 parse_dt some para not config [ 4.983959] WCN: marlin_probe ok! [ 4.999011] WCN: marlin power state:0, subsys: [MARLIN_BLUETOOTH] power 0 [ 5.102498] WCN: start_marlin [MARLIN_WIFI] [ 5.102522] WCN: marlin power state:0, subsys: [MARLIN_WIFI] power 1 [ 5.102529] WCN: the first power on start [ 5.213542] WCN: marlin chip en dummy pull up -- need manually set GPIO [ 5.241793] WCN: marlin_scan_finish! [ 5.241941] WCN: then marlin start to download [ 5.242342] WCN: marlin_get_wcn_chipid: chipid: 0x2355b001 [ 5.242360] WCN: marlin_request_firmware from /lib/firmware/wcnmodem.bin start! [ 5.506517] WCN: start_marlin [MARLIN_BLUETOOTH] [ 6.148961] WCN: combin_img 0 marlin_firmware_write finish and successful [ 6.149338] WCN: marlin_start_run read reset reg val:0x1 [ 6.149356] WCN: after do marlin_start_run reset reg val:0x0 [ 6.149671] WCN: s_marlin_bootup_time=6149669142 [ 6.156900] WCN: clock mode: TSX [ 6.157095] WCN: marlin_write_cali_data sync init_state:0x0 [ 6.183625] WCN: marlin_write_cali_data sync init_state:0x0 [ 6.213403] WCN: marlin_write_cali_data sync init_state:0xf0f0f0f1 [ 6.213432] WCN: sdio_config bt_wake_host trigger:[high] [ 6.213475] WCN: sdio_config irq:[inband] [ 6.213478] WCN: sdio_config wake_host_level_duration_time:[20ms] [ 6.213483] WCN: sdio_config wake_host_data_separation:[bt/wifi reuse] [ 6.213485] WCN: marlin_send_sdio_config_to_cp sdio_config:0x80f01 (enable config) [ 6.213851] WCN: marlin_write_cali_data finish [ 6.214032] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 6.241770] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 6.269746] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 6.298346] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 6.325733] WCN: check_cp_ready sync val:0xf0f0f0f6, prj_type val:0x0 [ 6.325757] WCN: marlin_bind_verify confuse data: 0xcfe38251b04db73419dc5cae40581e72 [ 6.325773] WCN: marlin_bind_verify verify data: 0x1ed7454972563e2294bc7cf590020acc [ 6.326345] WCN: check_cp_ready sync val:0xf0f0f0f7, prj_type val:0x0 [ 6.353720] WCN: check_cp_ready sync val:0xf0f0f0ff, prj_type val:0x0 [ 6.364493] WCN: get_cp2_version entry! [ 6.403829] WCN: WCND at cmd read:WCN_VER:Platform Version:MARLIN3_19B_W20.37.4~Project Version:sc2355_marlin3_lite_ott~09-11-2020 21:27:32~ [ 6.403867] WCN: switch_cp2_log - close entry! [ 6.405182] WCN: WCND at cmd read:OK [ 6.405241] WCN: then marlin download finished and run ok [ 6.405256] WCN: start_loopcheck [ 6.405520] WCN: marlin power state:4, subsys: [MARLIN_BLUETOOTH] power 1 [ 6.405531] WCN: marlin have open, GNSS is closed [ 6.462911] WCN: get_board_ant_num [one_ant] root@orangepi3-lts:~# dmesg | grep 'WCN\|wlan0' [ 4.977803] WCN: marlin_init entry! [ 4.978314] WCN: wcn config bt wake host [ 4.978537] WCN_ERR: dts node for bt_wake not found [ 4.978541] WCN: marlin2 parse_dt some para not config [ 4.983959] WCN: marlin_probe ok! [ 4.999011] WCN: marlin power state:0, subsys: [MARLIN_BLUETOOTH] power 0 [ 5.102498] WCN: start_marlin [MARLIN_WIFI] [ 5.102522] WCN: marlin power state:0, subsys: [MARLIN_WIFI] power 1 [ 5.102529] WCN: the first power on start [ 5.213542] WCN: marlin chip en dummy pull up -- need manually set GPIO [ 5.241793] WCN: marlin_scan_finish! [ 5.241941] WCN: then marlin start to download [ 5.242342] WCN: marlin_get_wcn_chipid: chipid: 0x2355b001 [ 5.242360] WCN: marlin_request_firmware from /lib/firmware/wcnmodem.bin start! [ 5.506517] WCN: start_marlin [MARLIN_BLUETOOTH] [ 6.148961] WCN: combin_img 0 marlin_firmware_write finish and successful [ 6.149338] WCN: marlin_start_run read reset reg val:0x1 [ 6.149356] WCN: after do marlin_start_run reset reg val:0x0 [ 6.149671] WCN: s_marlin_bootup_time=6149669142 [ 6.156900] WCN: clock mode: TSX [ 6.157095] WCN: marlin_write_cali_data sync init_state:0x0 [ 6.183625] WCN: marlin_write_cali_data sync init_state:0x0 [ 6.213403] WCN: marlin_write_cali_data sync init_state:0xf0f0f0f1 [ 6.213432] WCN: sdio_config bt_wake_host trigger:[high] [ 6.213475] WCN: sdio_config irq:[inband] [ 6.213478] WCN: sdio_config wake_host_level_duration_time:[20ms] [ 6.213483] WCN: sdio_config wake_host_data_separation:[bt/wifi reuse] [ 6.213485] WCN: marlin_send_sdio_config_to_cp sdio_config:0x80f01 (enable config) [ 6.213851] WCN: marlin_write_cali_data finish [ 6.214032] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 6.241770] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 6.269746] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 6.298346] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 6.325733] WCN: check_cp_ready sync val:0xf0f0f0f6, prj_type val:0x0 [ 6.325757] WCN: marlin_bind_verify confuse data: 0xcfe38251b04db73419dc5cae40581e72 [ 6.325773] WCN: marlin_bind_verify verify data: 0x1ed7454972563e2294bc7cf590020acc [ 6.326345] WCN: check_cp_ready sync val:0xf0f0f0f7, prj_type val:0x0 [ 6.353720] WCN: check_cp_ready sync val:0xf0f0f0ff, prj_type val:0x0 [ 6.364493] WCN: get_cp2_version entry! [ 6.403829] WCN: WCND at cmd read:WCN_VER:Platform Version:MARLIN3_19B_W20.37.4~Project Version:sc2355_marlin3_lite_ott~09-11-2020 21:27:32~ [ 6.403867] WCN: switch_cp2_log - close entry! [ 6.405182] WCN: WCND at cmd read:OK [ 6.405241] WCN: then marlin download finished and run ok [ 6.405256] WCN: start_loopcheck [ 6.405520] WCN: marlin power state:4, subsys: [MARLIN_BLUETOOTH] power 1 [ 6.405531] WCN: marlin have open, GNSS is closed [ 6.462911] WCN: get_board_ant_num [one_ant] [ 6.593857] unisoc_wifi unisoc_wifi wlan0: mixed HW and IP checksum settings. [ 71.410334] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 114.433395] WCN: mdbg_assert_read:WCN Assert in rf_marlin.c line 993, pri20_offset == NO_OFFSET,data length 128 [ 114.433436] WCN: stop_loopcheck [ 114.433453] WCN_ERR: chip reset & notify every subsystem... [ 114.433684] WCN: [marlin_cp2_reset], DO BSP RESET [ 114.433700] WCN: marlin power state:5, subsys: [MARLIN_WIFI] power 0 [ 114.433713] WCN: can not power off, other module is on [ 114.433722] WCN: start_loopcheck [ 114.433735] WCN: marlin power state:1, subsys: [MARLIN_BLUETOOTH] power 0 [ 114.433747] WCN: stop_loopcheck [ 114.433757] WCN: wcn chip start power off! [ 114.433881] WCN: chip_power_off [ 114.433889] WCN: marlin chip en dummy pull down -- need manually set GPIO [ 114.433898] WCN: marlin power off! Configuration for reference. Connecting to the AP won't give you an IP via DHCP, I've left that part out to make the example simpler: # File: /etc/default/hostapd DAEMON_CONF="/etc/hostapd/hostapd.conf" # File: /etc/hostapd/hostapd.conf interface=wlan0 #driver=nl80211 ssid=MyHotspot hw_mode=g channel=4 #wmm_enabled=0 #macaddr_acl=0 auth_algs=1 ignore_broadcast_ssid=0 wpa=2 wpa_passphrase=1234 wpa_key_mgmt=WPA-PSK wpa_pairwise=CCMP TKIP rsn_pairwise=CCMP country_code=ZA ieee80211n=0 ieee80211d=1 # Append to file: /etc/dhcpcd.conf nohook wpa_supplicant static domain_name_servers=8.8.4.4 8.8.8.8
×
×
  • Create New...