Koenkk / Z-Stack-firmware

Compilation instructions and hex files for Z-Stack firmwares
MIT License
2.33k stars 643 forks source link

Router compile instructions are not working. #380

Closed jairbj closed 2 years ago

jairbj commented 2 years ago

Hi, I'm trying to compile a router firmware with custom "TX POWER" but compile instructions doesn't seem to work.

1st - When installing SIMPLELINK-CC13XX-CC26XX-SDK_5.30.01.01 it creates a "simplelink_cc13xx_cc26xx_sdk_5_30_01_01" dir, not "simplelink_cc13x2_26x2_sdk_5_30_01_01" as stated in step 2.

2nd - If I import the projects of step 3, there are no files "znp.syscfg" inside projects. I only found "zr_genericapp.syscfg".

3rd - If I open the file I mentioned on previous step, I didn't find the "power management" section.

4th - If I try to apply the diff to the workspace directory I get:

/mnt/c/ti/workspace_v11 ❯ git apply firmware.patch --ignore-space-change                              
firmware.patch:160: trailing whitespace.
--preinclude=preinclude.h
firmware.patch:807: trailing whitespace.
    // Set TXRX pin to 0 in RX and high impedance in idle/TX.
firmware.patch:827: trailing whitespace.
    // Set TXRX pin to 0 in RX/TX and high impedance in idle.
firmware.patch:1283: trailing whitespace.
--preinclude=preinclude.h
firmware.patch:1504: trailing whitespace.
--preinclude=preinclude.h
warning: zr_genericapp_CC1352P_2_LAUNCHXL_tirtos_ccs/Application/zcl_genericapp.c has type 100755, expected 100644
warning: zr_genericapp_CC1352P_2_LAUNCHXL_tirtos_ccs/Application/zcl_genericapp_data.c has type 100755, expected 100644
warning: zr_genericapp_CC1352P_2_LAUNCHXL_tirtos_ccs/Stack/Config/f8wrouter.opts has type 100755, expected 100644
warning: zr_genericapp_CC1352P_2_LAUNCHXL_tirtos_ccs/app.cfg has type 100755, expected 100644
warning: zr_genericapp_CC1352P_2_LAUNCHXL_tirtos_ccs/zr_genericapp.syscfg has type 100755, expected 100644
error: patch failed: zr_genericapp_CC1352P_2_LAUNCHXL_tirtos_ccs/zr_genericapp.syscfg:50
error: zr_genericapp_CC1352P_2_LAUNCHXL_tirtos_ccs/zr_genericapp.syscfg: patch does not apply
warning: zr_genericapp_CC26X2R1_LAUNCHXL_tirtos_ccs/Application/zcl_genericapp.c has type 100755, expected 100644
warning: zr_genericapp_CC26X2R1_LAUNCHXL_tirtos_ccs/Application/zcl_genericapp_data.c has type 100755, expected 100644
warning: zr_genericapp_CC26X2R1_LAUNCHXL_tirtos_ccs/Stack/Config/f8wrouter.opts has type 100755, expected 100644
warning: zr_genericapp_CC26X2R1_LAUNCHXL_tirtos_ccs/app.cfg has type 100755, expected 100644
warning: zr_genericapp_CC26X2R1_LAUNCHXL_tirtos_ccs/zr_genericapp.syscfg has type 100755, expected 100644
error: patch failed: zr_genericapp_CC26X2R1_LAUNCHXL_tirtos_ccs/zr_genericapp.syscfg:47
error: zr_genericapp_CC26X2R1_LAUNCHXL_tirtos_ccs/zr_genericapp.syscfg: patch does not apply
warning: zr_genericapp_LP_CC2652RB_tirtos_ccs/Application/zcl_genericapp.c has type 100755, expected 100644
warning: zr_genericapp_LP_CC2652RB_tirtos_ccs/Application/zcl_genericapp_data.c has type 100755, expected 100644
warning: zr_genericapp_LP_CC2652RB_tirtos_ccs/Stack/Config/f8wrouter.opts has type 100755, expected 100644
warning: zr_genericapp_LP_CC2652RB_tirtos_ccs/app.cfg has type 100755, expected 100644
warning: zr_genericapp_LP_CC2652RB_tirtos_ccs/zr_genericapp.syscfg has type 100755, expected 100644
error: patch failed: zr_genericapp_LP_CC2652RB_tirtos_ccs/zr_genericapp.syscfg:48
error: zr_genericapp_LP_CC2652RB_tirtos_ccs/zr_genericapp.syscfg: patch does not apply
Koenkk commented 2 years ago

I will update the instructions with the next TI SDK release (which I expect soon)

jairbj commented 2 years ago

Just for known, why not release the full source of the firmware?

On Sun, Jul 17, 2022, 17:21 Koen Kanters @.***> wrote:

I will update the instructions with the next TI SDK release (which I expect soon)

— Reply to this email directly, view it on GitHub https://github.com/Koenkk/Z-Stack-firmware/issues/380#issuecomment-1186601071, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANKW5XDU2EHFFBUZSDKKLTVURTLHANCNFSM53Y6C65Q . You are receiving this because you authored the thread.Message ID: @.***>

Koenkk commented 2 years ago

The project files contain all types of computer specific paths so it will not be useful (and simply won't work on any other pc)

bojanpotocnik commented 2 years ago

I thought this is actually pre-compiled/prepared FW using https://github.com/ptvoinfo/zigbee-configurable-firmware - or are there any special modifications?

ptvoinfo commented 2 years ago

@bojanpotocnik PTVO is a separate project without sources.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days