User Tools

Site Tools


architecture

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
architecture [2019/02/25 13:58]
misterjei created
architecture [2020/09/07 13:11] (current)
misterjei
Line 3: Line 3:
 Reptilian is a hybrid of Android (mobile) and Ubuntu (desktop) Linux distributions. To make both systems available, Reptilian use two distinct userspaces with different directory mappings but atop a single Linux kernel. Reptilian is a hybrid of Android (mobile) and Ubuntu (desktop) Linux distributions. To make both systems available, Reptilian use two distinct userspaces with different directory mappings but atop a single Linux kernel.
  
-===== Boot Process ===== +===== Virtual Disk Layout ===== 
-Reptilian's core is based on Android x86, which as the name implies, is a variant of Android that is built for x86 processors (and particularly PCs). The boot partition contains... (TBC)+Reptilian's core is based on Android x86, which as the name implies, is a variant of Android that is built for x86 processors (and particularly PCs). The boot partition contains... 
 + 
 +  * GRUB (the bootloaderin **/grub** 
 +  * The kernel and initrd.img in **/boot** 
 +  * Android user data in **/data** 
 +  * The ramdisk and system images in **/android-VERISON** 
 + 
 +In addition, Reptilian comes with an Ubuntu userspace partition. This userspace is laid out in typical fashion for the most part. However, Reptilian includes pre-packaged artifacts for building the Linux kernel in **/usr/rep**: 
 + 
 +  * The build toolchain is in **/usr/rep/build/tools** 
 +  * Kernel configuration file is in **/usr/rep/build/config** 
 + 
 +The **reptilian** user also has several environment variables set to simplify the compilation process. 
 + 
 +Each partition can be accessed from the sister system as well. The Ubuntu partition is mapped within Android to **/mnt/ubuntu**, while the Android partition is mapped within Ubuntu to **/mnt/sysroot**. 
 + 
 +===== Boot Routine ===== 
 +The boot process for Reptilian is as follows: 
 +  - The GRUB bootloader is used to determine the kernel version and parameters. It loads the kernel. 
 +  - Partway through the init process, the "vendor" scripts are executed, one of which mounts and starts Ubuntu. 
 +  - The Ubuntu init executes, starting the SSH server (and any other services added by the user). 
architecture.1551121082.txt.gz · Last modified: 2019/02/25 13:58 by misterjei