Skip to content

Commit 0875865

Browse files
committed
Updated README
- Add information how to provide qnx.com credentials - Add how to fix issue with running Qemu
1 parent ea969b1 commit 0875865

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

qnx_qemu/README.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ qnx_qemu/
8383
│ ├── run_qemu.sh # QEMU launcher with bridge networking
8484
│ ├── run_qemu_portforward.sh # QEMU launcher with port forwarding
8585
│ └── qnx_wireshark.sh # Wireshark integration for network analysis
86-
86+
8787
└── test/ # Testing framework
8888
├── test_qnx_qemu_bridge.sh # Bridge networking integration tests
8989
└── test_qnx_qemu_portforward.sh # Port forwarding integration tests
@@ -130,6 +130,13 @@ bazel run --config=x86_64-qnx //:test_qemu_bridge
130130
bazel run --config=x86_64-qnx //:test_qemu_portforward
131131
```
132132

133+
In order to provide credentials for qnx.com pass to bazel command:
134+
```bash
135+
--credential_helper=*.qnx.com=<path_to_toolchains-qnx>/tools/qnx_credential_helper.py
136+
```
137+
See more in [toolchains_qnx README](https://github.com/eclipse-score/toolchains_qnx?tab=readme-ov-file#using-pre-packaged-qnx-80-sdp).
138+
139+
133140
## Running the System
134141

135142
### Using Bazel (Recommended)
@@ -201,7 +208,7 @@ qemu-system-x86_64 \
201208

202209
- **`-smp 2`** - Enable 2 CPU cores for SMP support
203210
- **`--enable-kvm`** - Use hardware virtualization for better performance
204-
- **`-cpu Cascadelake-Server-v5`** - Emulate modern Intel CPU features for older Ubuntu Versions change that to -cpu host in case of errors
211+
- **`-cpu Cascadelake-Server-v5`** - Emulate modern Intel CPU features for older Ubuntu versions change that to `-cpu host` in case of errors
205212
- **`-m 1G`** - Allocate 1GB of RAM
206213
- **`-nographic`** - Disable graphical display (console-only)
207214
- **`-netdev bridge`** - Connect to host bridge network for direct IP access
@@ -236,7 +243,7 @@ To modify the default IP address, edit the network configuration:
236243
vim configs/network_setup.sh
237244
```
238245

239-
2. **Eample on modify the IP configuration line**:
246+
2. **Example on modify the IP configuration line**:
240247

241248
```bash
242249
# Change this line to your desired IP
@@ -279,11 +286,16 @@ echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward
279286
```
280287

281288
In case of failed to parse default acl file /etc/qemu/bridge.conf'
282-
1. Check acl of /etc/qemu/bridge.conf
289+
1. Check acl of `/etc/qemu/bridge.conf`
283290
2. If file does not exist; create that file and add the following line in it
284-
allow virbr0
291+
`allow virbr0`
285292
3. Run qemu with Sudo as debug option in case of failure with acl
286293

294+
In case of error "Operation not permitted" for `qemu-bridge-helper` run
295+
```bash
296+
sudo chmod u+s /usr/lib/qemu/qemu-bridge-helper
297+
```
298+
287299
## User Accounts and Access
288300

289301
### Available Users

0 commit comments

Comments
 (0)