Jump to content

pierre-pret

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by pierre-pret

  1. On 11/1/2022 at 5:59 PM, rodrigobrochado said:

    1) The board turn off the green led and the screen keeps black forever. The CPU and the power supply case keeps hot, above normal operation. If I hold power button for 5 seconds (so I think it forces cold shutdown) and then hold again for 2 seconds, the boards then starts normally (turn on the green led and the screen show boot log)

     

    I found the same restart problem.  If I take the latest official Orange PI debian bullseye image and copy /boot/dtb/allwinner/sun50i-h6-orangepi-3-lts.dtb and the /boot/dtb/allwinner/overlay/*h6* files to the Armbian debian bullseye image (5.1 kernel downloadable under archive, not latest) then the reboot problem is resolved.

  2. With Armbian 22 (kernel 5.15 and bullseye/jammy) the Orange PI 3 LTS worked great including WiFi, ETH, Bluetooth. Partly thanks to @Ukhellfire and @going. Downloadable here:

    https://xogium.performanceservers.nl/archive/orangepi3-lts/archive/

     

    Below is what I find the status is for the new Armbian 23 images provided for here : https://www.armbian.com/orangepi3-lts/

     

    Branch current: Main downloads

    Armbian 23 with kernel 6.1 bookworm: It boots, but every 3rd or 4th keystroke is ignored. No ETH, no WiFi.

    Armbian 23 with kernel 6.1 jammy: It boots, keystrokes are OK, ETH is OK, but WiFi doesn't work.

     

    Branch edge: Rolling release downloads

    Armbian 23 with kernel 6.4 bookworm: Doesn't boot, no board lights come on.

    Armbian 23 with kernel 6.4 lunar: Doesn't boot, no board lights come on.

     

    Branch edge: When I build myself

    There doesn't seem to be any selection to make edge boot regardless of kernel (5.15, 6.1 or 6.4) or bookworm/bullseye.

     

    Branch current: When I build myself

    I found a way to get a good build of Armbian 23: use branch current with legacy kernel 5.15: 

    1) Checkout the last current commit: https://github.com/armbian/build/commit/6af50cfcdd46661038fd30c71548362012df6438

    2) Edit config/boards/orangepi3-lts.csc and add support for legacy kernel: KERNEL_TARGET="legacy,current,edge"

    3) Build legacy bullseye: ./compile.sh build BOARD=orangepi3-lts BRANCH=legacy RELEASE=bullseye

     

    @Igor I can send free Orange PI 3 LTS boards to US based Armbian contributors if it can improve community support of this board.

  3. We flash hundreds of Orange PI 3 LTS boards with stock Armbian Debian Bullseye via nand-sata-install to install it on the onboard eMMC storage.  Some boards after running for a week or more would randomly give this error and fail to boot:

     

    Begin: Running /scripts/local-block ... done.
    done.
    Gave up waiting for root file system device.  Common problems:
     - Boot args (cat /proc/cmdline)
       - Check rootdelay* (did the system wait long enough?)
     - Missing modules (cat /proc/modules: ls /dev)
    ALERT! /dev/mmcblk0p1 does not exist
    (initramfs)

     

    We can turn the board on and off as many times as we want, the error persists.  We can fix the problem by booting it from an Armbian SD again, mount the eMMC drive, then shut it down.  We don't change any files. For some reason only mounting it from eMMC make it boot fine again.  This has been confirmed with many boards.  Any idea what can be going wrong or what we can manually add to the image to prevent it?

     

    image.thumb.png.bcd5985b207f4586117491d08c2ca144.png

     

  4. On 4/19/2022 at 8:54 PM, pierre-pret said:

    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.

     

    On 4/22/2022 at 9:14 AM, Eemeien said:

    Any idea about solution?

     

    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.

     

  5. On 4/29/2022 at 6:46 AM, awolfman said:

    rangepi3-lts Debian kernel 5.10, wifi connection working.

     

    On Armbian, when connected to Wi-Fi, the following messages appear: 

     

     

    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.

  6. 4 hours ago, awolfman said:

    Hello, friends.

    When trying to connect to WiFi, it gives a message:

    "Could not activate connection: Activation failed: The Wi-Fi network could not be found"

    At the same time, he sees the Wi-Fi network.

    OrangePi 3LTS v1.4.

     

    Try connecting from the official Orange PI Debian image to see if it's an Armbian issue or not.

  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. On 4/18/2022 at 3:45 PM, pierre-pret said:

    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

     

    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...

Important Information

Terms of Use - Privacy Policy - Guidelines