Check-in [8325c05e69]
Overview
Comment:Added basic documentation
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 8325c05e69420f044aeb8ef42686cb3634eeb746
User & Date: rkeene on 2012-08-04 07:05:15
Other Links: manifest | tags
Context
2012-08-04
07:08
More basic documentation check-in: f2cca74c35 user: rkeene tags: trunk
07:05
Added basic documentation check-in: 8325c05e69 user: rkeene tags: trunk
05:41
initial empty check-in check-in: d19fa5904d user: rkeene tags: trunk
Changes

Added build/doc version [c28faf884f].























































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
AppBox

Filesystem Layout
	/ (rootfs)
	/system (ext2, ro)
	/system/config (tmpfs, populated from configuration partition)
	/system/proc (procfs)
	/system/dev (tmpfs)
	/system/apps/<app_name>/<app_version> (not a mountpoint, scheme for system apps)
	/data (ext3 or zfs)
	/data/apps (not a mountpoint)
	/data/apps/<app_name>/<app_version> (not a mountpoint, scheme for installed apps)
	/data/<app_name> (not a mountpoint, directory for app to manage)
	/apps (not a mountpoint, just a directory)
	/apps/<app_name>/<app_version> (symlink to /data/apps/<something> or /system/apps/<something>)
	/apps/<app_name>/default (symlink to default version of app)

Physical Disk Layout:
	p1 (10MB): boot filesystem: kernel, initrd, extlinux: ext2 (not mounted)
	p2 (2MB): config partition: header + tar
	p3 (unknown): root filesystem: mounted on /system
	p4 (unknown): data filesystem: mounted on /data

config partition:
	First 1024 bytes reserved for:
		[32 bytes]: Magic: SHA256("AppBox Configuration Partition"): {0x1d, 0xaa, 0x45, 0x9b, 0x97, 0x72, 0xef, 0x5d, 0x7d, 0x58, 0xc8, 0x14, 0x45, 0x82, 0x46, 0xc6, 0x9d, 0xbd, 0x1d, 0x53, 0xfa, 0x75, 0xf3, 0x96, 0x46, 0x29, 0x10, 0x25, 0x0b, 0xf7, 0xa4, 0xb6}
		[1 byte]: Offset index
		[7 bytes]: Reserved
		[8 bytes]: Offset #0
		[8 bytes]: Offset #1
		[968 bytes]: Reserved
	Tar contents (needed for early boot, may include other files)
		boot/modules/*.ko
		boot/modules/load
		fstab
		hostname
		apps/<appname>

initrd:
	/init
	/modules/*.ko
	/modules/load
	

Added components/apps/appbox-core/upstream version [c6299619a8].





>
>
1
2
glibc
tclkit

Added components/apps/appbox-gnu/upstream version [db1cdc2a51].



>
1
coreutils

Added components/apps/appbox-web/upstream version [07aa20c557].



>
1
tclwebappframework

Added components/init-earlyboot/functions version [7e04e0736f].





















>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
1. Load kernel modules
2. Mount devfs
3. Locate config partition
	-> If not found, mount "/system" as tmpfs and perform installation
	-> Offer to install
4. Load more kernel modules
5. Mount /system (if needed)
6. Mount /system/config (tmpfs) and copy contents to it
7. Unmount devfs
8. Pass control to later boot's init