- May 23, 2023
-
-
Francesco Pham authored
add and apply wifi-services-networkmanager-integration.patch ``` foundation/communication/wifi: implement wifi services with network manager With the aim of oniro/linux upstream hardware support we replace the wifi hal service with libnm calls to network manager. This way we can support wifi without having to write new wifi drivers with hdf. Currently, the following operations are reimplemented with libnm: EnableWifi, DisableWifi, AddDeviceConfig, ConnectToNetwork, ConnectToDevice, Disconnect, IsWifiActive, Scan, GetScanInfoList. Apply to foundation/communication/wifi Upstream-Status: Inappropriate ``` Signed-off-by:
Francesco Pham <francesco.pham@huawei.com> Signed-off-by:
Kareem Zarka <kareem.zarka@huawei.com>
-
Francesco Pham authored
Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
Francesco Pham authored
remove wlan_device_driver, third-party-wpa-supplicant, wifi_hal to arrange for network manager integration. Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
- May 17, 2023
-
-
Esben Haabendal authored
This addes Linux kernel and rootfs images, and the configuration file needed for using these with runqemu. After installing and setting up the environment simply run runqemu publicvnc serialstdio images/qemuarma7/*.qemuboot.conf Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
- May 09, 2023
-
-
Stefan Schmidt authored
To run our Qemu images we better provide a matching and tested qemu native build in our SDK. This allows to reproduce our results from a pure SDK installation without a full Yocto/OE build. Signed-off-by:
Stefan Schmidt <stefan.schmidt@huawei.com>
-
- Apr 19, 2023
-
-
Francesco Pham authored
The default test timeout is 5000ms which is too short, causing some testcases to exceed timeout. Increasing the timeout to 20 seconds. START_ABILITY_TIMEOUT is too short, causing some testcases in ActsBmsModuleUsageRecordTest to exceed timeout. Increasing the timeout to 15 seconds. Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
- Apr 14, 2023
-
-
Stefan Schmidt authored
This should be the final piece in enabling wifi components in OH. The wifi service as well as the JS wifi API is being enabled and packaged. Signed-off-by:
Stefan Schmidt <stefan.schmidt@huawei.com>
-
Stefan Schmidt authored
With the hdf wlan libraries in place we can now enable the wpa_supplicant build. Signed-off-by:
Stefan Schmidt <stefan.schmidt@huawei.com>
-
Stefan Schmidt authored
The HDF peripherals drivers for wlan had been patched out before. Enable them again in the build and package the needed files. They do not end up being installed in the normal libdir so we pick them from the build dir instead. Signed-off-by:
Stefan Schmidt <stefan.schmidt@huawei.com>
-
- Apr 13, 2023
-
-
Esben Haabendal authored
SSH host keys are generated by sshdgenkeys.service, which is started by socket activation on first SSH connection. On QEMU this can take a very long time, even more than the 300 seconds that is the default timeout when running SSH commands testimage recipes. Pre-generated SSH host keys prevents this. Note, this is only done in the -test image, as it is insecure and should never be done in images used for other purposes! Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
As we by now require working tun/tap support in CI runner to allow running ACTS, there is no need for using slirp networking. And who knows, maybe the randomly failing ssh ptest could be related to the QEMU slirp implementation. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Francesco Pham authored
weston needs to be running before system abilities are able to start. Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
Francesco Pham authored
dsoftbus service depends on network-online.target because it needs eth0 network adapter ready. Dsoftbus is crashing for a segfault when starting before networking is ready. Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
Francesco Pham authored
add InnerBundleInfo-initialize-installationFree.patch apply to foundation/appexecfwk/standard ``` InnerModuleInfo: initialize installationFree to false uninitialized installationFree property of InnerModuleInfo causes ActsBmsModuleUsageRecordTest to sometimes fail on `expect(data.installationFreeSupported).assertEqual(false);` Initializing installationFree property to false. ``` Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
Francesco Pham authored
add appdatamgr-IsColumnNull-initialize-result.patch and apply to foundation/distributeddatamgr/appdatamgr ``` testIsColumnNull0003 ACTS testcase sometimes fail because the result value of IsColumnNull is unpredictable when an error is returned. This is because AbsSharedResultSet::IsColumnNull does not set any value to &isNull when there is an error. The result value is not initialized, producing an unpredictable output of IsColumnNull. ``` Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
Francesco Pham authored
adding test-xts-acts-testRdbStoreUpdate0001-await-updatePromise.patch and apply to test/xts/acts . ``` The testRdbStoreUpdate0001 testcase which is part of ActsAppdatamagrJsTest sometimes fails (in our case on raspberrypi4-64). The reason is that the values in rdbStore are inspected before the update is completed. The `await updatePromise` command that is clearly needed was commented out for some unknown reason. Reintroducing the await command to avoid race conditions. ``` Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
Francesco Pham authored
On raspberry pi with VC4 drm graphics driver DRM_IOCTL_WAIT_VBLANK is failing returning EINVAL for some reason, applying drmWaitVBlank hack also on EINVAL until a proper solution is provided. Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
Francesco Pham authored
Adding `Restart=on-failure` to all openharmony services weston service is hanging at startup (SIGHUP) on raspberrypi4-64 adding `Restart=always` to systemd unit to restart weston service when hanging. `Restart=on-failure` is not enough here. Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
- Apr 12, 2023
-
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
The proper way to include SSH server is to use IMAGE_FEATURES. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
- Apr 11, 2023
-
-
Esben Haabendal authored
This reverts commit 312c51f4. We are seeing multiple different race conditions causing random failures in ACTS, many of them (maybe all) goes away when we stub out the mostly stub out JSView::CreateComponent() As before, this should be dropped again later on when the problems have been solved. And is required in order to get graphics support to work. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
- Mar 31, 2023
-
-
Kareem Zarka authored
Previously, the libinput quirks files were not being installed by the package. This commit installs them to the appropriate location. Signed-off-by:
Kareem Zarka <kareem.zarka@huawei.com>
-
Stefan Schmidt authored
Most .service files had the license file to go with it, but a few where missing. Adding the remaining ones here. Signed-off-by:
Stefan Schmidt <stefan.schmidt@huawei.com>
-
Stefan Schmidt authored
We removed the samgr_standard.cfg after conversion to systemd, but forgot thios extra file. Signed-off-by:
Stefan Schmidt <stefan.schmidt@huawei.com>
-
- Mar 29, 2023
-
-
Esben Haabendal authored
Alle these should hopefully not be needed anymore, with the workaround for the race condition in ace engine. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
When starting up abilities, there is a race condition between OnSurfaceChanged and RunPage, which both are executed as PostTask on the same task executor. This executor works in FIFO mode, and if (when) the OnSurfaceChanged comes first, it will fail with a nullptr check on runningPage_. This is because the runningPage_ variable is set by the RunPage PostTask. This patch is obviously just a workaround, and not a proper fix. Hopefully, 500 ms will be enough in all relevant situations, but at least in theory, the problem can still appear. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Graphics seems to be basically working now, both on QEMU and rpi4 (plus/minus a few quirks). This patch is now causing more problems than it is solving, so let's revert it for now. We need to take care that slow rendering is handled properly. We might have more test cases failing due to this after dropping this patch. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
This simplifies initialization, by having param_service starting up with all the default parameter values instead of setting them manually in different places. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
This service doesn't seem to be needed for ACTS compliance, and consumes a lot of CPU time when activated during some ACTS tests. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
These are used by ACTS test cases, seemingly as a workaround for problems with hilogd stalling/hanging. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
The services relying on the /dev/dri/card0 should not be started before the device have been created. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
With the removal of all services from the openharmony-preinit script, this is now a proper oneshot service, and can/must be run before starting the actual services. The goal is still to get rid if this script completely. Anything it does that is actually needed should be moved to the appropriate OH service unit files.
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
This avoids param service log information to end up spamming the console. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-