baylibre / k-boot Goto Github PK
View Code? Open in Web Editor NEWKexec based bootloader
Kexec based bootloader
By default we only boot on slot a
, we should add logics to support AB slots.
On Android some features should be present or not following the type of build.
Example: the console should not be available on user build
Add the support of Android Verified Boot:
https://source.android.com/docs/security/features/verifiedboot/avb
The verification should be done through AVB Trusted Application:
https://github.com/OP-TEE/optee_os/tree/master/ta/avb
kbootd
should be able to boot on Yocto.
It means extract the right components from FIT image: kernel, cmdline, dtb, ramdisk ...
The boot flow is different if the user do: adb reboot bootloader|recovery|sideload|...
.
We should handle all different type of reboot.
https://source.android.com/docs/core/architecture/bootloader/boot-reason
For now we use the default busybox config which include a lot of features/applets.
In order to reduce the size of the binary we should enable only the necessary.
We should add OP-TEE support in case when we want to communicate with a Trusted Application.
tee-supplicant
do already this kind of job, we must check if we only add tee-supplicant
to the build or we extract only the necessary and include it in kbootd
.
https://github.com/OP-TEE/optee_client/tree/master/tee-supplicant
For now we only support Android boot and the cmdline arguments are hardcoded here:
https://github.com/BayLibre/k-boot/blob/main/initramfs/bin/init#L18
init
process should only read /proc/cmdline
and kbootd
is responsible of writing the right cmdline arguments in this file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.