ArticleslgStudy

science

T-Kernel

T-Kernel is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand T-Kernel rather than just read about it. In short: T-Kernel is an open source real-time operating system (RTOS) designed for 32-bit microcontrollers. It is standardized by T-Engine Forum, which distributed it under T-License agreement.

T-Kernel — main illustration
T-Kernel — illustration

Key takeaways

  • T-Kernel belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect T-Kernel to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of T-Kernel from memory before moving on to harder problems.

Reference excerpt

T-Kernel is an open source real-time operating system (RTOS) designed for 32-bit microcontrollers. It is standardized by T-Engine Forum, which distributed it under T-License agreement. There is also a corresponding Micro T-Kernel (μT-Kernel) implementation designed for embedded systems with 16-bit or 8-bit microcontrollers. Today, it is distributed by TRON Forum, a successor of T-Engine Forum under T-License 2.2.

TRON real-time operating system family history In 1984, Dr. Ken Sakamura, then a research assistant at the University of Tokyo, started The Real-time Operating system Nucleus (TRON Project) at the University of Tokyo, with a goal of designing an open real-time operating system (RTOS) kernel. The TRON framework tries to define a complete architecture for the different computing architecture layers to address the needs of different applications. Industrial TRON (ITRON) specification OS has been the most popular TRON architecture for OS kernel layer. ITRON specification promotion was done by the various companies which sold the commercial implementations. A different RTOS developed in TRON Project was called BTRON. BTRON stands for Business TRON and was meant for desktop PC with windowing environment. In 1989, Matsushita Electric Industrial Co., Ltd., now known as Panasonic Corporation, introduced a TRON PC that used this BTRON OS. This personal computer had an Intel 80286 chip of 8 MHz and only 2 MB of memory, but it could display moving video. Also, it had a dual-booting system that could run both the BTRON OS and DOS. Although the Japanese government once announced it would use the TRON PC in Japanese schools, the plan was dropped, partly due to economic issues with the United States. However, ITRON specification OS has been used in many devices, household appliances, automobile electronics, robots, satellites, and factory automation systems in Japan, China, and elsewhere. Embedded system developers claim that ITRON specification OS is the number one OS for embedded chips in both Japan and the United States. T-Kernel was developed as a successor to the ITRON specification RTOS. T-Kernel is the name of the specification and at the same time a single implementation based on the authorized source code available from TRON Forum (formerly T-Engine Forum) for free under T-License 2.2. T-Kernel was developed for T-Engine hardware platform. T-Engine was arguably the most advanced ubiquitous computing platform in the world when it was released. Now some users have begun transitioning from ITRON specification OS to μT-Kernel. The Japanese domestic rocket Epsilon, which was launched in September 2013, and the observatory satellite HISAKI, which was put into the earth orbit, used μITRON and T-Kernel respectively. T-Kernel 2.0 was used for the control system of Hayabusa2 launched by H-IIA rocket on December 3, 2014. On December 11, 2017, it was announced that a copyright transfer agreement for μT-Kernel 2.0 specification had been signed with Institute of Electrical and Electronics Engineers (IEEE). On September 11, 2018, "IEEE 2050-2018," standard based on "μT-Kernel 2.0" was officially approved as an IEEE standard. In May 2023, the IEEE recognized the RTOS, proposed, created, and released by TRON Project, as an IEEE Milestone, titled "TRON Real-time Operating System Family, 1984." The certified Milestone plaque is installed on the campus of the University of Tokyo, where Ken Sakamura started TRON Project in 1984.

Early T-Kernel history T-Kernel was released as an embedded RTOS for T-Engine. With subsequent version upgrades, it now supports target hardware other than T-Engine. T-Kernel 2.0 also supports a processor emulator called QEMU. The T-Kernel 2.0 Software Package distributed by TRON Forum includes QEMU (emulator for tef_em1d) configured to emulate T-Engine reference board, so it is possible to develop T-Kernel 2.0 applications on a PC alone. Similar to the conventional ITRON specification OS, T-Kernel allows kernel-based programming using static memory allocation. However, in order to achieve the original purpose of T-Engine, which is "distribution of middleware", it is desirable to be able to use T-Kernel/Standard Extension, which allows dynamic memory allocation and process-based programming.

Overview To make it easy to distribute middleware, T-Kernel has separate specification for subsystem and device driver which will be suitable for different types of middleware APIs. An RTOS appropriate for individual application can be created by combining the middleware called T-Kernel Extension with T-Kernel. T-Monitor initializes computer hardware and handles the interrupt set up at the start. T-Monitor lessens hardware-dependency of T-Kernel, and improves the application portability.

Structure of T-Kernel T-Kernel consists of the following three components from the viewpoint of function.

T-Kernel/OS (operating system) This offers the basic functions as RTOS. (Functions corresponding to μITRON's functions are mainly handled by this component.)

T-Kernel/SM (system manager) This offers the functions including system memory management function and address space management function in order to manage middleware such as device drivers and subsystems. This component has been extended from μITRON in T-Kernel.

T-Kernel/DS (debugger support) This offers the functions for debuggers to be used in development tools.

License of T-Kernel The source code of T-Kernel was distributed free of charge by TRON Forum under its own license called T-License. As of September 2024, software such as T-Kernel and μT-Kernel has been released as open source based on T-License 2.2, and can be used free of charge, including for commercial use. With the original T-License, the source code could be freely modified, and it was free for both personal use and commercial use when incorporated into a product. However, under the "Single One Source" policy of T-Kernel, it was not possible to freely redistribute the source code under the original T-License. T-License 2.0 has been improved to allow the redistribution of original source code and the distribution of modified source code, giving users more freedom in terms of source code distribution.

… excerpt ends here. Continue reading the full article.

Illustrations

T-Kernel illustration

Worked examples

Example 1 — a first encounter with T-Kernel

Start with the simplest possible case. Write down what T-Kernel claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to T-Kernel before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about T-Kernel ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of T-Kernel

In research
T-Kernel appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses T-Kernel in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
T-Kernel is common in secondary-school and first-year university syllabi. It links to neighbouring topics Embedded operating systems, TRON project, so understanding it makes those chapters shorter.
In everyday life
Look for T-Kernel outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study T-Kernel in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what T-Kernel means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain T-Kernel out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is T-Kernel in simple terms?

T-Kernel is an open source real-time operating system (RTOS) designed for 32-bit microcontrollers. It is standardized by T-Engine Forum, which distributed it under T-License agreement.

Why does T-Kernel matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study T-Kernel?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on T-Kernel.

Tags

  • Embedded operating systems
  • TRON project

Keep exploring