The Following User Says Thank You to Akkumaru For This Useful Post: | ||
![]() |
2012-11-21
, 02:31
|
Moderator |
Posts: 6,215 |
Thanked: 6,400 times |
Joined on Nov 2011
|
#32
|
![]() |
2012-11-21
, 08:30
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#35
|
The Following User Says Thank You to juiceme For This Useful Post: | ||
![]() |
2012-11-21
, 08:50
|
|
Posts: 147 |
Thanked: 300 times |
Joined on Mar 2012
@ ^^ IRAN ^^ - Tehran :D
|
#36
|
The Following 3 Users Say Thank You to farfary For This Useful Post: | ||
![]() |
2012-11-21
, 08:58
|
|
Posts: 147 |
Thanked: 300 times |
Joined on Mar 2012
@ ^^ IRAN ^^ - Tehran :D
|
#38
|
The Following User Says Thank You to farfary For This Useful Post: | ||
![]() |
2012-12-01
, 14:04
|
Posts: 1,225 |
Thanked: 1,905 times |
Joined on Feb 2011
@ Quezon City, Philippines
|
#39
|
I would like to understand the Harmattan boot sequence a bit more thoroughly before I start really messing with it.
I have not yet found anywhere a detailed description how the boot sequence REALLY goes, all I know is what I have experimented with.
If anyone could point me to right direction, I would appreciate it.[*]What happens (detailed view) when the device is powered on?
[*]Where actually the flashed kernel is in the memory? (I cannot find it on any partition on mmcblk0 device?)
$ cat /proc/mtd
[*]What is the format of the flashable kernel? How do I create one? (I have built modules in the kernel source tree but not yet managed to build a loadable kernel...?)
![]() |
2012-12-04
, 12:20
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#40
|
~ # cat /proc/mtd dev: size erasesize name mtd0: 00100000 00040000 "bootloader" mtd1: 002c0000 00040000 "config" mtd2: 01000000 00040000 "kernel" mtd3: 00200000 00040000 "log" mtd4: 1ca40000 00040000 "var" mtd5: 02000000 00040000 "moslo" mtd6: 20000000 00040000 "omap2-onenand" ~ # ~ # /usr/sbin/ubiattach /dev/ubi_ctrl -m 4 UBI device number 0, total 1832 LEBs (472743936 bytes, 450.8 MiB), available 1810 LEBs (467066880 bytes, 445.4 MiB), LEB size 258048 bytes (252.0 KiB) ~ # ~ # /usr/sbin/ubimkvol /dev/ubi0 -N var -m Set volume size to 467066880 Volume ID 0, size 1810 LEBs (467066880 bytes, 445.4 MiB), LEB size 258048 bytes (252.0 KiB), dynamic, name "var", alignment 1 ~ # ~ # mount -t ubifs ubi0:var /root/tp1 ~ # ~ # mount rootfs on / type rootfs (rw) /dev/root on / type ext4 (rw,noatime,errors=remount-ro,barrier=1,stripe=8,data=ordered) devtmpfs on /dev type devtmpfs (rw,relatime,size=503976k,nr_inodes=125994,mode=755) /dev/mmcblk0p3 on /home type ext4 (rw,noatime,errors=remount-ro,barrier=1,stripe=8,data=ordered) none on /proc type proc (rw,nosuid,nodev,noexec,relatime) none on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /tmp type tmpfs (rw,noatime,size=4096k) tmpfs on /var/run type tmpfs (rw,nosuid,noatime,size=512k) none on /dev type tmpfs (rw,noatime,size=10240k,mode=755) securityfs on /sys/kernel/security type securityfs (rw,relatime) devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noatime,size=65536k) none on /sys/kernel/debug type debugfs (rw,relatime) cgroup on /syspart type cgroup (rw,relatime,freezer,memory,cpu) /dev/mapper/signonfs on /home/user/.signon/signonfs-mnt type ext2 (rw,sync,noexec,relatime,errors=continue) /dev/mmcblk0p1 on /home/user/MyDocs type vfat (rw,nosuid,nodev,noexec,noatime,nodiratime,uid=29999,fmask=0133,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,rodir,errors=remount-ro) ubi0:var on /root/tp1 type ubifs (rw,relatime) ~ # ~ # ls tp1/ -la total 4 drwxr-xr-x 2 root root 160 Dec 4 13:52 . drwxr-xr-x 18 root root 4096 Dec 4 00:35 .. ~ # ~ # df -h Filesystem Size Used Available Use% Mounted on /dev/root 3.9G 3.2G 535.1M 86% / devtmpfs 10.0M 248.0K 9.8M 2% /dev /dev/mmcblk0p3 2.0G 760.8M 1.1G 40% /home tmpfs 4.0M 108.0K 3.9M 3% /tmp tmpfs 512.0K 112.0K 400.0K 22% /var/run none 10.0M 248.0K 9.8M 2% /dev tmpfs 64.0M 248.0K 63.8M 0% /dev/shm /dev/mapper/signonfs 6.8M 41.0K 6.4M 1% /home/user/.signon/signonfs-mnt /dev/mmcblk0p1 53.7G 5.9G 47.8G 11% /home/user/MyDocs ubi0:var 414.8M 24.0K 410.0M 0% /root/tp1 ~ #
Still learning on geeky knowledge
N9 *stolen* → N900 *died* → N900 *on hiatus* → OnePlus X