tiiuae / ghaf

TII SSRC Secure Technologies: Ghaf Framework
https://tiiuae.github.io/ghaf/
Apache License 2.0
39 stars 58 forks source link

desktop: add bar in targets without givc #867

Open humaidq-tii opened 1 week ago

humaidq-tii commented 1 week ago

Description of changes

This adds basic bar back on targets without givc, such as vm-debug and orin.

Note that widgets, settings and network applet are still not implemented on these systems. Only power control and date/time is available.

Checklist for things done

Instructions for Testing

humaidq-tii commented 1 week ago

Maybe this diff is clearer for review: https://github.com/tiiuae/ghaf/commit/788ce3f6eb780132cb35d9ddd187aa02e4984da6#diff-8dba792a484c73ba76c47a13d5b46d23805d664883e6ba59c9258d402d8d1602

kajusnau commented 1 week ago

Great change overall! I think the checking of givc can be slightly reduced, see my comment. In addition, should we add a check where cliArgs var is defined?

humaidq-tii commented 5 days ago

In addition, should we add a check where cliArgs var is defined?

cliArgs variable would not be used on non-givc systems, so no need to add check there.

johannarautanen commented 4 days ago

Tested with Orin NX cross compile and Orin NX native

Working:

Issues:

Notes: I took about 10 seconds before taskbar comes visible to ghaf backgroundpage.

johannarautanen commented 4 days ago

Tested with lenovo X1 (flashed to the SSD)

Working:

No new findings.

barnabakos commented 1 day ago

1 commit: db26cbea6c61f8f31714ff070729ccccb8b46f8e rebased to current tip of Ghaf main without conflicts: 86f3105c8ad9e0617bd9a40563f6372189a63ce6

platforms: NVIDIA Jetson AGX Orin; cross-compile; flash script and NVIDIA Jetson AGX Orin; native; flash script

works:

notes:

issues:

johannarautanen commented 1 day ago

Tested with Orin AGX and Orin NX native. Commit: b0bfdfb34e5d210ff1ff7039f0125f4953e841c2

Issues:

So far once able to boot up the Orin AGX to Ghaf view, other tries failed. journal_agx.odt start_agx.odt

Orin NX i haven't boot up successfully yet: journal_nx.odt start_nx.odt

humaidq-tii commented 1 day ago

@johannarautanen Maybe the system ran out of space? Try fresh install?

johannarautanen commented 1 day ago

@johannarautanen Maybe the system ran out of space? Try fresh install?

Something that.... new start from very beginning and now the Orin NX booted up normally. So, now i can start the testing :)

johannarautanen commented 1 day ago

Tested with Orin NX native amd Orin NX crosscompile commit: b0bfdfb34e5d210ff1ff7039f0125f4953e841c2

Issues:

Notes:

Working: