Living In Harmony
Living In Harmony

@LivingInHM

22 Tweets 55 reads Mar 27, 2024
How was Huawei's in-house HarmonyOS kernel (Microkernel) created for HarmonyOS NEXT, it's quite simple the REE of LiteOS RTOS lightweight kernel, that can go low as 6KB in memory footprint. RTOS are Microkernel-like in nature. I believe strongly that influenced REE Microkernel
A kernel driver acts as a bridge between software and hardware. It allows accessing hardware resources of the OpenHarmony kernel through file system APIs, providing a mode of communication between the user space and kernel space and between processes.
Timeline is key 2012;2015-2024
2012 R&D on HarmonyOS, same time LiteOS began development
Began in 2015-2023 HarmonyOS NEXT stack development
2024 - Public developers/manufacturers of app ecosystem H1 2024 and end process of commercialisation for users/consumers H2 2024.
Pre-release (Internal)[edit]
Harmony kernel 1.0 - Technology verified (2017)
Harmony kernel 2.0 - Used for devices TEE (2018)
TEE era
The system incorporated the HarmonyOS microkernel for Trusted execution environment with hardware and user authentication for security, alongside system for Linux kernel and LiteOS kernel space.
The rich execution environment (REE) version of HarmonyOS microkernel is placed at its core with a single framework.
Linux and LiteOS RTOS base on wearables, phones, tablets on System Service Layer replaced with self-developed REE verison of HarmonyOS kernel, Microkernel architecture.
New Permission application system with AI, Capability-based security REE kernel features, alongside native OpenHarmony-based Access token manager implements unified app permission management on Core File Kit, departure from previous versions of HarmonyOS with AOSP framework.
The REE OS kernel attaches the TEE foundations of the operating system hardware firmware level. TEE is the security barrier between the hardware, the hardest to crack to attack hardware surface level, with Microkernel REE on top with reduced surface attacks, makes it harder.
commoncriteriaportal.org TEE document, public by Huawei, iTrustee ARM ISA platform, kernel build around the chipset platform and compatible chipset ecosystem for ARM and future Lingxi (Loongson LoongArch model of binaries) with Kernel Abstract Layer abstracting away on REE OS/apps
Without "crappy" open-source lightweight LiteOS foundation development of it's IoT operating system in 2015, there would be no HarmonyOS itself, no open source OpenHarmony and no HarmonyOS NEXT system stack for future HarmonyOS.
Without LiteOS, no ability for Huawei and it's software supply chain providers, internally and externally within China to create an independent telephony stack. Self-developed LiteOS is an important lineage to Huawei.
Without LiteOS, you can forget about Personal computers, you cannot replicate it on Android Open Source Project.
Open source LiteOS is a powerful atom created by Huawei :)
blossoms into something massive! #HarmonyOSNEXT
Thank goodness for software/hardware technological independence out of China from Kirin, Ascend, Kunpeng chips to OpenHarmony and HarmonyOS NEXT alongside openEuler stack! :)
Future Architecture:
OS system operates utilises rich execution environment (REE) version of it's HarmonyOS kernel. And system provides a hardware-based Trusted Execution Environment (TEE) microkernel to prevent leakage of sensitive personal data when they are stored or processed
This architecture, removes any need for dedicated chip embedded component called "Secure Enclave" marketing attached to hardware-based sepOS (second secret OS) for Apple's hardware components, like storage, RAM etc. preventing upgrades, locked wall garden. youtube.com
Apple should name their "Secure Enclave Processor" as Unsecure Enslave Processor.
for total enslavement
OpenHarmony kernel spaces also carries hardware-based TEE with LiteOS, UniProton (add-on) and OP-TEE on Linux kernel side.
LiteOS:
huawei.com - Feb 2018, Huawei
Scalable lightweight kernel: The smallest kernel (6 KB) on the market offers fast-start and low power consumption features.

Loading suggestions...