7 Commits
Author SHA1 Message Date
subhamgdebandsubhamgdeb 680b258e4e Added taskDeleteHook clean up function to support commands after Ctrl+C (#69)
Log:
```
sysToMonitor: reboot type  BOOT_NORMAL
0x1f03d20 (tRootTask): logging started to /tyCo/0 [3], queue size 50
0x1f03d20 (tRootTask): before usrNetInit()
0x1f03d20 (tRootTask): after usrNetInit()

Wait Flash and Network initialisation ...
Error reading target netmask information.
Defaulting netmask to 0xFFFFFF00.
Using default network mask = 0xFFFFFF00
User Network Init ... done

Launch CMT interface ... Done

[VxWorks Boot]:
0x1f03d20 (tRootTask): sysStartNetDev: Failed to set mask on device motfcc, unit: 1
RTClock set at: 5/1/2000 a 0:14:22
Instantiating /RAMDEV as rawFs,  device = 0x40001
Formatting /RAMDEV for DOSFS
Instantiating /RAMDEV as rawFs, device = 0x40001
Formatting...OK.
Ram Disk </RAMDEV> format and mount done.
Verify Flash structure
Flash structure check finished
@

boot device          : motfcc
unit number          : 0
processor number     : 0
host name            : host
file name            : vxWorks
inet on ethernet (e) : 192.168.0.18
host inet (h)        : 192.168.0.110
user (u)             : user
ftp password (pw)    : password
flags (f)            : 0x4
target name (tn)     : C264
other (o)            : motfcc

Loading... 5618296 + 408 + 624 + 616724
Starting at 0x10000...

Adding 15079 symbols for standalone.

                VxWorks

Copyright 1984-2026  Wind River Systems, Inc.

             CPU: Schneider Electric C264 CPU3 - MPC8270 PowerQUICC II core Frequency 262 MHz
    Runtime Name: VxWorks
 Runtime Version: 6.9
     BSP version: 6.9/D0.22
         Created: Jun 23 2026 01:17:59
ED&R Policy Mode: Deployed
   WDB Comm Type: WDB_COMM_END
             WDB: Agent Disabled.

-> cmd
[vxWorks]# genrsa -out pkey_new.pem 1024
[vxWorks]#
0x0007be50 vxTaskEntry  +0x48 : 0x003a4788 ()
0x003a4788 shellTask    +0x4a8: shellExec ()
0x003a41b0 shellExec    +0x78 : 0x003a3eb8 ()
0x003a3fe8 shellTaskDefaultBaseNameGet+0x81c: ledRead2 ()
0x00386928 ledRead2     +0x18c: 0x003acaac ()
0x003acaac viLedLibInit +0x150: read ()
0x00363930 read         +0x30 : 0x0036384c ()
0x003638bc close        +0xe0 : iosRead ()
0x00366030 iosRead      +0x54 : tyRead ()
0x0036da78 tyRead       +0x34 : semTake (0x1bc938)
0x004a1150 semTake      +0x7c : semBTake ()

Shell task 'tShell0' restarted...

[vxWorks]# genrsa -out pkey_new1.pem 1024
[vxWorks]#
0x0007be50 vxTaskEntry  +0x48 : 0x003a4788 ()
0x003a4788 shellTask    +0x4a8: shellExec ()
0x003a41b0 shellExec    +0x78 : 0x003a3eb8 ()
0x003a3fe8 shellTaskDefaultBaseNameGet+0x81c: ledRead2 ()
0x00386928 ledRead2     +0x18c: 0x003acaac ()
0x003acaac viLedLibInit +0x150: read ()
0x00363930 read         +0x30 : 0x0036384c ()
0x003638bc close        +0xe0 : iosRead ()
0x00366030 iosRead      +0x54 : tyRead ()
0x0036da78 tyRead       +0x34 : semTake (0x1bc938)
0x004a1150 semTake      +0x7c : semBTake ()

Shell task 'tShell0' restarted...

[vxWorks]#
0x0007be50 vxTaskEntry  +0x48 : 0x003a4788 ()
0x003a4788 shellTask    +0x4a8: shellExec ()
0x003a41b0 shellExec    +0x78 : 0x003a3eb8 ()
0x003a3fe8 shellTaskDefaultBaseNameGet+0x81c: ledRead2 ()
0x00386928 ledRead2     +0x18c: 0x003acaac ()
0x003acaac viLedLibInit +0x150: read ()
0x00363930 read         +0x30 : 0x0036384c ()
0x003638bc close        +0xe0 : iosRead ()
0x00366030 iosRead      +0x54 : tyRead ()
0x0036da78 tyRead       +0x34 : semTake (0x10)
0x004a1150 semTake      +0x7c : semBTake ()

Shell task 'tShell0' restarted...

[vxWorks]#
[vxWorks]# C
-> tss_symlist_show

=== TSS Symbol Table ===
TINFO                            ONCE_ARGSTR                      TSSKEYNAME                       TSSKEYVAL        STATE    CLONE
-------------------------------------------------------------------------------------------------------------------------------------
=== End of Table ===

value = 0 = 0x0
-> cmd
[vxWorks]# rand -hex 128
d187fc72364bbfb675724c93a0e9331ce2e51d519f32e7d258d88706e40c2faf7f575a307cc5965f9945b9df0548cdbd3a0d9f832edb803166a09be9449b01df94656ff1df3b7c0bf398e1e03225e9189534325b050dde670315eb4607cbbc4eab108ba8f60effb0111246bd6beec80b4367260ad9e599410ada2f49eec9bbb6
[vxWorks]# C
->
0x0007be50 vxTaskEntry  +0x48 : 0x003a4788 ()
0x003a4788 shellTask    +0x4a8: shellExec ()
0x003a41b0 shellExec    +0x78 : 0x003a3eb8 ()
0x003a3fe8 shellTaskDefaultBaseNameGet+0x81c: ledRead2 ()
0x00386928 ledRead2     +0x18c: 0x003acaac ()
0x003acaac viLedLibInit +0x150: read ()
0x00363930 read         +0x30 : 0x0036384c ()
0x003638bc close        +0xe0 : iosRead ()
0x00366030 iosRead      +0x54 : tyRead ()
0x0036da78 tyRead       +0x34 : semTake (0x17bb501)
0x004a1150 semTake      +0x7c : semBTake ()

Shell task 'tShell0' restarted...

-> cmd
[vxWorks]# genrsa -out pkey_new2.pem 2048
[vxWorks]# enc -aes-256-cbc -in plain.txt -out cipher.enc -K 4d794145533235364b6579466f72546573743132333435363738393000000000 -iv 496e6974566563746f72313643686172
[vxWorks]#
0x0007be50 vxTaskEntry  +0x48 : 0x003a4788 ()
0x003a4788 shellTask    +0x4a8: shellExec ()
0x003a41b0 shellExec    +0x78 : 0x003a3eb8 ()
0x003a3fe8 shellTaskDefaultBaseNameGet+0x81c: ledRead2 ()
0x00386928 ledRead2     +0x18c: 0x003acaac ()
0x003acaac viLedLibInit +0x150: read ()
0x00363930 read         +0x30 : 0x0036384c ()
0x003638bc close        +0xe0 : iosRead ()
0x00366030 iosRead      +0x54 : tyRead ()
0x0036da78 tyRead       +0x34 : semTake (0x4b657946)
0x004a1150 semTake      +0x7c : semBTake ()

Shell task 'tShell0' restarted...

[vxWorks]# enc -aes-256-cbc -d -in cipher.enc -out decrypted.txt -K 4d794145533235364b6579466f72546573743132333435363738393000000000 -iv 496e6974566563746f72313643686172
[vxWorks]#
```

Co-authored-by: subhamgdeb <subhamgdeb>
Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/69
Co-authored-by: Subham Gangdeb <subham.gangdeb@neominds.in>
Co-committed-by: Subham Gangdeb <subham.gangdeb@neominds.in>
2026-07-30 20:45:01 +05:30
subhamgdebandsubhamgdeb d6e76bcf3d Replace global variable and first task reference for cloning with tss_clone_list (#63)
Task Id of first task in vxtss symbol list is updated with 0 after it is terminated.

Co-authored-by: subhamgdeb <subhamgdeb>
Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/63
Co-authored-by: Subham Gangdeb <subham.gangdeb@neominds.in>
Co-committed-by: Subham Gangdeb <subham.gangdeb@neominds.in>
2026-07-30 20:45:01 +05:30
subhamgdebandsubhamgdeb 212a16f58f Added batch and shell scripts to apply updates for OpenSSL 3.5.0 (#66)
Windows log:
```
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Users\subha\Desktop\WR_ossl\VxWorks69\VxWorks69> .\create_ossl350.bat ossl_350_new_version_c0.zip                      ]
OpenSSL 3.5.0 Upgrade Utility
Unzipping ossl_350_new_version_c0.zip...
Unzip completed successfully.
Copying files to .\components...
19 File(s) copied
  - Copied components from zip
Copying files to .\vxworks-6.9...
19876 File(s) copied
  - Copied vxworks-6.9 from zip
Removing old OpenSSL source trees...
Cleanup completed.

Upgrade completed successfully
Press any key to continue . . .
```

Linux log:
```
subhneo@subhneo-VirtualBox:~/Downloads/ossl350/VxWorks69$ ./create_ossl.sh ossl_350_new_version_c0.zip
OpenSSL 3.5.0 Upgrade Utility
Extracting ossl_350_new_version_c0.zip ...
Updating ./components ...
Updating ./vxworks-6.9 ...
Removing old OpenSSL source trees ...
Cleanup completed.

Upgrade completed successfully!

subhneo@subhneo-VirtualBox:~/Downloads/ossl350/VxWorks69$
```

Error log:
```
subhneo@subhneo-VirtualBox:~/Downloads/ossl350/VxWorks69$ ./create_ossl.sh
OpenSSL 3.5.0 Upgrade Utility
Error: Please specify the zip file as command line argument!
Usage: ./create_ossl.sh <zip-file>
subhneo@subhneo-VirtualBox:~/Downloads/ossl350$ ./create_ossl.sh ossl_350_new_version_c0.zip
OpenSSL 3.5.0 Upgrade Utility
Error: ossl_350_new_version_c0.zip not found
subhneo@subhneo-VirtualBox:~/Downloads/ossl350$ cp VxWorks69/ossl_350_new_version_c0.zip .
subhneo@subhneo-VirtualBox:~/Downloads/ossl350$ ./create_ossl.sh ossl_350_new_version_c0.zip
OpenSSL 3.5.0 Upgrade Utility
Error: ./components dir not found
```

Co-authored-by: subhamgdeb <subhamgdeb>
Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/66
Reviewed-by: Siddhant Singh <siddhant.singh@neominds.in>
Co-authored-by: Subham <subham.gangdeb@neominds.in>
Co-committed-by: Subham <subham.gangdeb@neominds.in>
2026-07-30 20:42:24 +05:30
subhamgdeb 4f2d67aac9 Removed old openssl files and target/h/openssl (#60)
Removed OpenSSL 1.0.2 and OpenSSL 0.9.8 files from ipcrypto and ipssl2 and target/h/openssl.

Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/60
Co-authored-by: Subham <subham.gangdeb@neominds.in>
Co-committed-by: Subham <subham.gangdeb@neominds.in>
2026-07-30 20:40:25 +05:30
subhamgdeb c088e4db41 Changes done for unlinking OpenSSL 0.9.8 and OpenSSL 1.0.2 from build (#57)
This PR updates the build to succeed without relying on existing OpenSSL versions.

Changes include:
1. Removed OpenSSL 0.9.8 and 1.0.2 components from VSB configuration
2. Removed ipcrypto and ipssl from ipnet root Makefile (ipComps and VARLIST)
3. Updated ipcom/src/ipcom_auth.c for compatibility with OpenSSL 3.5.0
4. Added OpenSSL 3.5.0 include paths where required
5. Removed script from vxworks.krnl.mak which was renaming old OpenSSL library files
6. Removed script from ossl350_prepare/Makefile which was copying OpenSSL 3.5.0 headers to target/h
7. Adapted OpenSSL 3.5.0 headers to ipcom types during build
8. Modified ipnet CDF to switch dependency from INCLUDE_IPSSL to INCLUDE_IPCRYPTO
9. Components: WebCli and NTP are by default disabled

Note  : There may still be build issues, as target/h/openssl and old OpenSSL source files remain in master.
Co-authored-by: subhamgdeb <subhamgdeb>
Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/57
Reviewed-by: Siddhant Singh <siddhant.singh@neominds.in>
Co-authored-by: Subham <subham.gangdeb@neominds.in>
Co-committed-by: Subham <subham.gangdeb@neominds.in>
2026-07-30 20:23:33 +05:30
subhamgdeb f6e24b295d Added src files: webcli VSB vxconfig, e_os.h and ipcrypto_iptype_map.h (#59)
Integrated webcli VSB vxconfig source files and added e_os.h (from OpenSSL 3.5.0) along with ipcrypto_iptype_map.h (needed to resolve type‑conflict issues during the ipcom build) into target/h

Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/59
Co-authored-by: Subham <subham.gangdeb@neominds.in>
Co-committed-by: Subham <subham.gangdeb@neominds.in>
2026-07-30 20:21:09 +05:30
subhamgdeb 117ff624be Enabling 1.0.2 in VSB configuration by default (#43)
Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/43
Co-authored-by: subhamgdeb <subham.gangdeb@neominds.in>
Co-committed-by: subhamgdeb <subham.gangdeb@neominds.in>
2026-07-30 19:58:31 +05:30