[Galaxy 3 Android Development] marcellusbe:
First of all great work Tom3q!

My goal was to boot an android initramfs too and recovery with ubifs partitions. All is working well.

I want to share some stuffs if they could help :

- initramfs with some ubi tools binaries.

- command ubiattach added to init

- recovery graphics fixed

- If you flash zImage.tar you can set up ubi with the following commands :

# flash_erase /dev/mtd/mtd1 0 0
# flash_erase /dev/mtd/mtd2 0 0
# flash_erase /dev/mtd/mtd3 0 0
# ubiattach /dev/ubi_ctrl -m 1 -d 0
# ubiattach /dev/ubi_ctrl -m 2 -d 1
# ubiattach /dev/ubi_ctrl -m 3 -d 2
# ubimkvol /dev/ubi0 -m -N system
# ubimkvol /dev/ubi1 -m -N userdata
# ubimkvol /dev/ubi2 -m -N cache
# then you can normally mount system, data and cache with ubifs or restart the phone and they will be mounted.

Here is my bootlog :

Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.13.0-rc5-next-20131224+ (desktop@ks207216.kimsufi.com) (gcc version 4.8.3 20140106 (prerelease) (crosstool-NG linaro-1.13.1+bzr2644 - Linaro GCC 2014.01) ) #143 PREEMPT Sun Feb 2 22:35:29 CET 2014
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine model: Samsung Galaxy Apollo
[ 0.000000] debug: ignoring loglevel setting.
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] cma: CMA: reserved 64 MiB at 41000000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 86016
[ 0.000000] Normal zone: 672 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 86016 pages, LIFO batch:15
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 85344
[ 0.000000] Kernel command line: console=ttySAC1,115200n8 root=/ rootfstype=rootfs rw rootwait ignore_loglevel earlyprintk g_ether.dev_addr=02:01:02:03:04:05 g_ether.host_addr=06:07:08:09:0a:0b
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 265260K/344064K available (4852K kernel code, 317K rwdata, 1712K rodata, 2668K init, 311K bss, 78804K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xe5800000 - 0xff000000 ( 408 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe5000000 ( 592 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0671604 (6566 kB)
[ 0.000000] .init : 0xc0672000 - 0xc090d28c (2669 kB)
[ 0.000000] .data : 0xc090e000 - 0xc095d6b0 ( 318 kB)
[ 0.000000] .bss : 0xc095d6bc - 0xc09ab6a0 ( 312 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:208
[ 0.000000] VIC @e5802000: id 0x00041192, vendor 0x41
[ 0.000000] VIC @e5804000: id 0x00041192, vendor 0x41
[ 0.000000] VIC @e5806000: id 0x00041192, vendor 0x41
[ 0.000000] S5PC110/S5PV210 clocks: mout_apll = 667000000, mout_mpll = 166000000
[ 0.000000] mout_epll = 48000000, mout_vpll = 54000000
[ 0.000000] sched_clock: 32 bits at 41MHz, resolution 24ns, wraps every 103493187559ns
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] allocated 1048576 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.020673] Calibrating delay loop... 663.55 BogoMIPS (lpj=1658880)
[ 0.054688] pid_max: default: 32768 minimum: 301
[ 0.059728] Mount-cache hash table entries: 512
[ 0.080133] Initializing cgroup subsys memory
[ 0.084582] Initializing cgroup subsys devices
[ 0.089118] Initializing cgroup subsys freezer
[ 0.093694] Initializing cgroup subsys blkio
[ 0.098247] CPU: Testing write buffer coherency: ok
[ 0.103533] Setting up static identity map for 0x2049e710 - 0x2049e76c
[ 0.113097] devtmpfs: initialized
[ 0.120091] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 0.128736] pinctrl core: initialized pinctrl subsystem
[ 0.134765] regulator-dummy: no parameters
[ 0.146654] NET: Registered protocol family 16
[ 0.153582] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.162007] cpuidle: using governor ladder
[ 0.166156] cpuidle: using governor menu
[ 0.176731] syscon e0108000.syscon: regmap [mem 0xe0108000-0xe010ffff] registered
[ 0.200207] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.207093] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.230338] bio: create slab <bio-0> at 0
[ 0.236168] V_BAT: 4200 mV
[ 0.239196] reg-fixed-voltage vbat-regulator.6: V_BAT supplying 4200000uV
[ 0.246522] WM8994_LDO: no parameters
[ 0.250308] reg-fixed-voltage wm8994-regulator.11: Looking up vin-supply from device tree
[ 0.258643] WM8994_LDO: supplied by V_BAT
[ 0.262956] reg-fixed-voltage wm8994-regulator.11: WM8994_LDO supplying 0uV
[ 0.271222] usbcore: registered new interface driver usbfs
[ 0.276965] usbcore: registered new interface driver hub
[ 0.282627] usbcore: registered new device driver usb
[ 0.297578] VALIVE_1.1V_6442: 1100 mV
[ 0.303346] VUSB_1.1V_6442: 1100 mV
[ 0.308896] VDD_PS_2.8V: 2800 mV
[ 0.313483] VTF_2.8V: 2800 <--> 3300 mV at 3300 mV
[ 0.320365] LDO6: 2000 mV
[ 0.325100] VADC_3.3V_6442: 3300 mV
[ 0.330592] VUSB_3.3V_6442: 3300 mV
[ 0.336716] VCC_2.8V_PDA: 2800 mV
[ 0.342800] VPLL_1.1V_6442: 1100 mV
[ 0.348955] VLCD_3.0V: 3000 mV
[ 0.354662] VLCD_1.8V: 1800 mV
[ 0.359783] VTOUCH_2.8V: 2800 mV
[ 0.364997] VTOUCH_3.0V: 3000 mV
[ 0.370886] VPWM_3.3V: 3300 mV
[ 0.375971] VDD_PS_3.0V: 3000 mV
[ 0.381191] VKEYLED_3.3V: 1600 <--> 3300 mV at 3300 mV
[ 0.388442] VARM_1.1V_6442: 950 <--> 1350 mV at 1200 mV
[ 0.396073] VINT_1.1V_6442: 1200 mV
[ 0.401972] VCC_1.8V_PDA: 1800 mV
[ 0.407383] BUCK4: 1200 mV
[ 0.410954] VICHG: no parameters
[ 0.415354] SAFEOUT1: no parameters
[ 0.419961] SAFEOUT2: no parameters
[ 0.425136] i2c-gpio i2c-3.7: using pins 126 (SDA) and 129 (SCL)
[ 0.432788] i2c-gpio i2c-4.8: using pins 101 (SDA) and 100 (SCL)
[ 0.441330] i2c-gpio i2c-5.9: using pins 28 (SDA) and 29 (SCL)
[ 0.448771] i2c-gpio i2c-6.10: using pins 123 (SDA) and 124 (SCL)
[ 0.456470] i2c-gpio i2c-7.12: using pins 159 (SDA) and 158 (SCL)
[ 0.463367] s3c-i2c ec100000.i2c: slave address 0x00
[ 0.468523] s3c-i2c ec100000.i2c: bus frequency set to 399 KHz
[ 0.475661] s3c-i2c ec100000.i2c: i2c-0: S3C I2C adapter
[ 0.481360] s3c-i2c ec600000.i2c: slave address 0x00
[ 0.486471] s3c-i2c ec600000.i2c: bus frequency set to 399 KHz
[ 0.493611] s3c-i2c ec600000.i2c: i2c-2: S3C I2C adapter
[ 0.499258] media: Linux media interface: v0.10
[ 0.504050] Linux video capture interface: v2.00
[ 0.512442] fsa9480 3-0025: dev1: 0x0, dev2: 0x8
[ 0.517780] Advanced Linux Sound Architecture Driver Initialized.
[ 0.525417] Switched to clocksource samsung_clocksource_timer
[ 0.559617] NET: Registered protocol family 2
[ 0.565131] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.572609] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.579316] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.585887] TCP: reno registered
[ 0.589106] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.595202] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.602048] NET: Registered protocol family 1
[ 0.955046] hw perfevents: enabled with v6 PMU driver, 3 counters available
[ 0.962423] CPU PMU: attempt to register multiple PMU devices!
[ 0.968189] arm-pmu: probe of arm-pmu failed with error -28
[ 0.976179] audit: initializing netlink socket (disabled)
[ 0.981737] type=2000 audit(0.949:1): initialized
[ 1.008835] ROMFS MTD (C) 2007 Red Hat, Inc.
[ 1.013628] msgmni has been set to 646
[ 1.021114] io scheduler noop registered
[ 1.025031] io scheduler deadline registered
[ 1.029741] io scheduler cfq registered (default)
[ 1.040323] dma-pl330 e8000000.dma: Loaded driver for PL330 DMAC-267056
[ 1.047138] dma-pl330 e8000000.dma: DBUFF-64x8bytes Num_Chans-8 Num_Peri-2 Num_Events-32
[ 1.063711] dma-pl330 e9000000.dma: Loaded driver for PL330 DMAC-267056
[ 1.070468] dma-pl330 e9000000.dma: DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[ 1.266593] ec000000.serial: ttySAC0 at MMIO 0xec000000 (irq = 43, base_baud = 0) is a S3C6400/10
[ 1.276657] console [ttySAC1] enabled
[ 1.276657] console [ttySAC1] enabled
[ 1.283961] bootconsole [earlycon0] disabled
[ 1.283961] bootconsole [earlycon0] disabled
[ 1.293440] ec000800.serial: ttySAC2 at MMIO 0xec000800 (irq = 45, base_baud = 0) is a S3C6400/10
[ 1.297727] [drm] Initialized drm 1.1.0 20060810
[ 1.303866] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.307949] [drm] No driver support for vblank timestamp query.
[ 1.321083] Console: switching to colour frame buffer device 30x25
[ 1.325842] exynos-drm exynos-drm: fb0: frame buffer device
[ 1.331452] exynos-drm exynos-drm: registered panic notifier
[ 1.337095] [drm] Initialized exynos 1.0.0 20110530 on minor 0
[ 1.360942] brd: module loaded
[ 1.369965] loop: module loaded
[ 1.371033] wm8994-ldo wm8994-ldo.0: Probing LDO1
[ 1.372178] wm8994 7-001a: Using default init data, supply 7-001a AVDD1
[ 1.379584] LDO1: no parameters
[ 1.383054] wm8994-ldo wm8994-ldo.1: Probing LDO2
[ 1.386657] wm8994 7-001a: Using default init data, supply 7-001a DCVDD
[ 1.393939] LDO2: no parameters
[ 1.397061] wm8994 7-001a: Looking up DBVDD-supply from device tree
[ 1.403167] wm8994 7-001a: Looking up DCVDD-supply from device tree
[ 1.409454] wm8994 7-001a: Looking up AVDD1-supply from device tree
[ 1.415722] wm8994 7-001a: Looking up AVDD2-supply from device tree
[ 1.421886] wm8994 7-001a: Looking up CPVDD-supply from device tree
[ 1.428184] wm8994 7-001a: Looking up SPKVDD1-supply from device tree
[ 1.434176] wm8994 7-001a: Looking up SPKVDD2-supply from device tree
[ 1.441268] wm8994 7-001a: Failed to read ID register
[ 1.448028] Muxed OneNAND 512MB 1.8V 16-bit (0x50)
[ 1.450149] OneNAND version = 0x013e
[ 1.453787] Chip support all block unlock
[ 1.457807] Chip has 4KiB pagesize
[ 1.461182] Chip has cache program feature
[ 1.465184] Scanning device for bad blocks
[ 1.738090] onenand_bbt_wait: ecc 0xaaaa ctrl 0x0400 intr 0x8080 addr1 0x3c6 addr8 0x0
[ 1.740383] OneNAND eraseblock 966 is an initial bad block
[ 2.046213] OneNAND eraseblock 2047 is an initial bad block
[ 2.046332] 8 ofpart partitions found on MTD device b0600000.flash-controller
[ 2.053323] Creating 8 MTD partitions on "b0600000.flash-controller":
[ 2.059747] 0x000000a00000-0x000001180000 : "boot"
[ 2.066758] 0x000001180000-0x00000ed80000 : "system"
[ 2.072274] 0x00000ed80000-0x00001b800000 : "userdata"
[ 2.077368] 0x00001b800000-0x00001dd00000 : "cache"
[ 2.081768] 0x00001dd00000-0x00001f500000 : "efs"
[ 2.086425] 0x00001f500000-0x00001ffc0000 : "reservoir"
[ 2.091599] 0x00001ffc0000-0x000020000000 : "dgs"
[ 2.096264] 0x000000180000-0x000000200000 : "param"
[ 2.106505] s6d04d1 spi32766.0: Looking up vdd3-supply from device tree
[ 2.108057] s6d04d1 spi32766.0: Looking up vci-supply from device tree
[ 2.116054] usbcore: registered new interface driver cdc_acm
[ 2.119637] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 2.127926] usbcore: registered new interface driver usblp
[ 2.133534] usbcore: registered new interface driver usbserial
[ 2.139155] usbcore: registered new interface driver usbserial_generic
[ 2.145651] usbserial: USB Serial support registered for generic
[ 2.151588] usbcore: registered new interface driver empeg
[ 2.157032] usbserial: USB Serial support registered for empeg
[ 2.162842] usbcore: registered new interface driver ftdi_sio
[ 2.168563] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 2.175861] usbcore: registered new interface driver pl2303
[ 2.181426] usbserial: USB Serial support registered for pl2303
[ 2.187950] s3c-hsotg ed200000.otg: regs e58c0000, irq 57
[ 2.192605] s3c-hsotg ed200000.otg: Looking up vusb_d-supply from device tree
[ 2.199856] s3c-hsotg ed200000.otg: Looking up vusb_a-supply from device tree
[ 2.209225] s3c-hsotg ed200000.otg: EPs:15
[ 2.210888] s3c-hsotg ed200000.otg: dedicated fifos
[ 2.218379] using random self ethernet address
[ 2.220115] using random host ethernet address
[ 2.225095] Number of LUNs=8
[ 2.227462] Mass Storage Function, version: 2009/09/11
[ 2.232554] LUN: removable file: (no medium)
[ 2.236824] Number of LUNs=1
[ 2.239613] no file given for LUN0
[ 2.243697] g_multi ed200000.otg: failed to start g_multi: -22
[ 2.249732] mousedev: PS/2 mouse device common for all mice
[ 2.258851] max8998-rtc max8998-rtc: rtc core: registered max8998-rtc as rtc0
[ 2.261976] max8998-rtc max8998-rtc: RTC CHIP NAME: max8998-rtc
[ 2.267836] s3c-rtc ea300000.rtc: rtc disabled, re-enabling
[ 2.273665] s3c-rtc ea300000.rtc: rtc core: registered s3c as rtc1
[ 2.279443] i2c /dev entries driver
[ 2.290625] s5p-fimc-md: Registered fimc.0.m2m as /dev/video0
[ 2.291243] s5p-fimc-md: Registered fimc.0.capture as /dev/video1
[ 2.297440] s5p-fimc-md: Registered fimc.1.m2m as /dev/video2
[ 2.303157] s5p-fimc-md: Registered fimc.1.capture as /dev/video3
[ 2.310749] s5p-jpeg efc00000.jpeg: encoder device registered as /dev/video4
[ 2.316302] s5p-jpeg efc00000.jpeg: decoder device registered as /dev/video5
[ 2.322801] s5p-jpeg efc00000.jpeg: Samsung S5P JPEG codec
[ 2.329131] s5p-g2d ef400000.gpu: device registered as /dev/video6
[ 2.335134] si470x: probe of 4-0010 failed with error -5
[ 2.343369] s3c2410-wdt ea200000.watchdog: watchdog inactive, reset disabled, irq disabled
[ 2.348193] sdhci: Secure Digital Host Controller Interface driver
[ 2.354049] sdhci: Copyright(c) Pierre Ossman
[ 2.358972] s3c-sdhci eda00000.sdhci: clock source 0: mmc_busclk.0 (166000000 Hz)
[ 2.365910] s3c-sdhci eda00000.sdhci: clock source 2: mmc_busclk.2 (83000000 Hz)
[ 2.373351] s3c-sdhci eda00000.sdhci: Looking up vqmmc-supply from device tree
[ 2.380510] s3c-sdhci eda00000.sdhci: Looking up vqmmc-supply property in node /soc/sdhci@eda00000 failed
[ 2.389966] mmc0: no vqmmc regulator found
[ 2.394034] s3c-sdhci eda00000.sdhci: Looking up vmmc-supply from device tree
[ 2.430513] mmc0: SDHCI controller on samsung-hsmmc [eda00000.sdhci] using ADMA
[ 2.434776] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.439895] usbcore: registered new interface driver usbhid
[ 2.443804] usbhid: USB HID core driver
[ 2.449185] ashmem: initialized
[ 2.451295] logger: created 256K log 'log_main'
[ 2.455731] logger: created 256K log 'log_events'
[ 2.460370] logger: created 256K log 'log_radio'
[ 2.465016] logger: created 256K log 'log_system'
[ 2.470325] exynos-adc f3000000.adc: Looking up vdd-supply from device tree
[ 2.477659] gp2ap020a00f 6-0044: Looking up vcc-supply from device tree
[ 2.483060] gp2ap020a00f 6-0044: Looking up vled-supply from device tree
[ 2.492325] i2c i2c-6: sendbytes: NAK bailout.
[ 2.493815] gp2ap020a00f 6-0044: Device initialization failed.
[ 2.501299] gp2ap020a00f: probe of 6-0044 failed with error -5
[ 2.507377] platform sound.15: Driver asoc-simple-card requests probe deferral
[ 2.514650] oprofile: using arm/armv6
[ 2.516822] TCP: cubic registered
[ 2.519561] NET: Registered protocol family 17
[ 2.524175] NET: Registered protocol family 15
[ 2.529995] registered taskstats version 1
[ 2.534808] VICHG: disabling
[ 2.540073] platform sound.15: Driver asoc-simple-card requests probe deferral
[ 2.544671] input: gpio-keys.14 as /devices/gpio-keys.14/input/input0
[ 2.549954] platform sound.15: Driver asoc-simple-card requests probe deferral
[ 2.557349] max8998-rtc max8998-rtc: setting system clock to 2005-02-01 06:31:09 UTC (1107239469)
[ 2.577768] ALSA device list:
[ 2.577817] No soundcards found.
[ 2.578639] Warning: unable to open an initial console.
[ 2.610409] Freeing unused kernel memory: 2668K (c0672000 - c090d000)
[ 3.269715] init: cannot open '/initlogo.rle'
[ 3.276247] init: command 'loglevel' r=0
[ 3.276344] init: command 'export' r=0
[ 3.278302] init: command 'export' r=0
[ 3.282135] init: command 'export' r=0
[ 3.285903] init: command 'export' r=0
[ 3.289501] init: command 'export' r=0
[ 3.293359] init: command 'export' r=0
[ 3.297029] init: command 'export' r=0
[ 3.300857] init: command 'symlink' r=0
[ 3.304604] init: command 'symlink' r=0
[ 3.308480] init: command 'mkdir' r=0
[ 3.312112] init: command 'mkdir' r=0
[ 3.315724] init: command 'mkdir' r=0
[ 3.319794] init: command 'mount' r=0
[ 3.323252] init: command 'mkdir' r=0
[ 3.326659] init: command 'mkdir' r=0
[ 3.330309] init: command 'mount' r=0
[ 3.334007] init: command 'symlink' r=0
[ 3.337760] init: command 'mkdir' r=0
[ 3.341393] init: command 'mkdir' r=0
[ 3.345010] init: command 'mkdir' r=0
[ 3.348734] init: command 'mkdir' r=0
[ 3.352362] init: command 'mkdir' r=0
[ 3.356012] init: command 'mkdir' r=0
[ 3.359630] init: command 'mkdir' r=0
[ 3.363308] init: command 'mkdir' r=0
[ 3.366938] init: command 'mkdir' r=0
[ 3.370822] init: command 'mount' r=0
[ 3.374135] init: command 'mkdir' r=0
[ 3.378347] init: command 'mount' r=0
[ 3.381486] init: command 'chown' r=0
[ 3.385052] init: command 'chown' r=0
[ 3.388762] init: command 'chmod' r=0
[ 3.392448] init: command 'write' r=-22
[ 3.396486] init: command 'mkdir' r=0
[ 3.399810] init: command 'chown' r=0
[ 3.403585] init: command 'chmod' r=0
[ 3.407258] init: command 'write' r=0
[ 3.411052] init: command 'mkdir' r=0
[ 3.414384] init: command 'chown' r=0
[ 3.418160] init: command 'chmod' r=0
[ 3.421830] init: command 'write' r=0
[ 3.425324] init: command 'chown' r=-2
[ 3.429134] init: command 'chown' r=-2
[ 3.432909] init: command 'chown' r=-2
[ 3.436628] init: command 'chown' r=-2
[ 3.440228] init: command 'chown' r=-2
[ 3.444047] init: command 'write' r=-2
[ 3.447713] init: processing action 0x26bc8 (fs)
[ 3.452406] UBI: attaching mtd1 to ubi0
[ 3.691262] UBI: scanning is finished
[ 3.698815] UBI: attached mtd1 (name "system", size 220 MiB) to ubi0
[ 3.699546] UBI: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
[ 3.706423] UBI: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
[ 3.713106] UBI: VID header offset: 4096 (aligned 4096), data offset: 8192
[ 3.719952] UBI: good PEBs: 880, bad PEBs: 0, corrupted PEBs: 0
[ 3.725809] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 3.732906] UBI: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 2180382461
[ 3.741926] UBI: available PEBs: 0, total reserved PEBs: 880, PEBs reserved for bad PEB handling: 40
[ 3.751055] UBI: background thread "ubi_bgt0d" started, PID 63
[ 3.756917] init: command 'ubiattach' r=0
[ 3.760986] UBI: attaching mtd2 to ubi1
[ 3.979962] UBI: scanning is finished
[ 3.987289] UBI: attached mtd2 (name "userdata", size 202 MiB) to ubi1
[ 3.988187] UBI: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
[ 3.995059] UBI: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
[ 4.001749] UBI: VID header offset: 4096 (aligned 4096), data offset: 8192
[ 4.008592] UBI: good PEBs: 809, bad PEBs: 1, corrupted PEBs: 0
[ 4.014450] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 4.021554] UBI: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 2261412610
[ 4.030569] UBI: available PEBs: 0, total reserved PEBs: 809, PEBs reserved for bad PEB handling: 39
[ 4.039697] UBI: background thread "ubi_bgt1d" started, PID 64
[ 4.045564] init: command 'ubiattach' r=0
[ 4.049531] UBI: attaching mtd3 to ubi2
[ 4.092528] UBI: scanning is finished
[ 4.098358] UBI: attached mtd3 (name "cache", size 37 MiB) to ubi2
[ 4.098912] UBI: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
[ 4.105787] UBI: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
[ 4.112469] UBI: VID header offset: 4096 (aligned 4096), data offset: 8192
[ 4.119317] UBI: good PEBs: 148, bad PEBs: 0, corrupted PEBs: 0
[ 4.125173] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 4.132277] UBI: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1116310762
[ 4.141293] UBI: available PEBs: 0, total reserved PEBs: 148, PEBs reserved for bad PEB handling: 40
[ 4.150505] UBI: background thread "ubi_bgt2d" started, PID 65
[ 4.156287] init: command 'ubiattach' r=0
[ 4.160224] init: command 'mkdir' r=-17
[ 4.165651] UBIFS: background thread "ubifs_bgt0_0" started, PID 66
[ 4.190293] UBIFS: recovery needed
[ 4.208598] UBIFS: recovery completed
[ 4.208854] UBIFS: mounted UBI device 0, volume 0, name "system"
[ 4.212708] UBIFS: LEB size: 253952 bytes (248 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
[ 4.221797] UBIFS: FS size: 209510400 bytes (199 MiB, 825 LEBs), journal size 10412032 bytes (9 MiB, 41 LEBs)
[ 4.231674] UBIFS: reserved for root: 4952683 bytes (4836 KiB)
[ 4.237488] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 1C6DDD2A-23EE-40F9-A7A7-8EAFEDE242E4, small LPT model
[ 4.248380] init: command 'mount' r=0
[ 4.253617] init: exec: pid 67 exited with return code 2: Unknown error: 512init: command 'exec' r=0
[ 4.260899] init: command 'mkdir' r=-17
[ 4.266192] UBIFS: background thread "ubifs_bgt1_0" started, PID 68
[ 4.289468] UBIFS: recovery needed
[ 4.322796] UBIFS: recovery completed
[ 4.323025] UBIFS: mounted UBI device 1, volume 0, name "userdata"
[ 4.327076] UBIFS: LEB size: 253952 bytes (248 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
[ 4.336167] UBIFS: FS size: 191733760 bytes (182 MiB, 755 LEBs), journal size 9650176 bytes (9 MiB, 38 LEBs)
[ 4.345953] UBIFS: reserved for root: 4952683 bytes (4836 KiB)
[ 4.351770] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 5C68594C-897A-4865-89C2-26F62A7EAC74, small LPT model
[ 4.362620] init: command 'mount' r=0
[ 4.366033] init: command 'chown' r=0
[ 4.369580] init: command 'chmod' r=0
[ 4.373282] init: command 'mkdir' r=-17
[ 4.377096] init: command 'chown' r=0
[ 4.380736] init: command 'chmod' r=0
[ 4.384334] init: command 'chown' r=-2
[ 4.388134] init: command 'chmod' r=-2
[ 4.391896] init: command 'mkdir' r=-17
[ 4.395900] init: mtd partition 0, boot
[ 4.399381] init: mtd partition 1, system
[ 4.403450] init: mtd partition 2, userdata
[ 4.407597] init: mtd partition 3, cache
[ 4.411486] init: mtd partition 4, efs
[ 4.415164] init: mtd partition 5, reservoir
[ 4.419476] init: mtd partition 6, dgs
[ 4.423203] init: mtd partition 7, param
[ 4.428753] random: modprobe urandom read with 41 bits of entropy available
[ 4.435615] init: command 'mount' r=-1
[ 4.437771] init: command 'chown' r=0
[ 4.441540] init: command 'chmod' r=0
[ 4.445059] init: command 'mkdir' r=0
[ 4.448821] init: command 'chown' r=0
[ 4.452431] init: command 'chmod' r=0
[ 4.457637] init: exec: pid 71 exited with return code 2: Unknown error: 512init: command 'exec' r=0
[ 4.465069] init: processing action 0x26f90 (post-fs)
[ 4.472010] init: exec: pid 72 exited with return code 2: Unknown error: 512init: command 'exec' r=0
[ 4.479247] init: command 'chown' r=0
[ 4.483011] init: command 'chmod' r=0
[ 4.486634] init: command 'chown' r=0
[ 4.490143] init: command 'chmod' r=0
[ 4.493915] init: command 'mkdir' r=-17
[ 4.497699] init: command 'chown' r=0
[ 4.501379] init: command 'chmod' r=0
[ 4.504898] init: command 'chown' r=0
[ 4.508667] init: command 'chmod' r=0
[ 4.512257] init: command 'chown' r=0
[ 4.515888] init: command 'chmod' r=0
[ 4.521168] init: exec: pid 73 exited with return code 2: Unknown error: 512init: command 'exec' r=0
[ 4.528734] init: command 'write' r=0
[ 4.532515] init: command 'write' r=0
[ 4.536155] init: command 'write' r=0
[ 4.539568] init: command 'write' r=-2
[ 4.543428] init: command 'write' r=-2
[ 4.547139] init: command 'write' r=-2
[ 4.550938] init: command 'write' r=0
[ 4.554330] init: processing action 0x278d8 (property_service_init)
[ 4.561066] init: Unable to open persistent property directory /data/property errno: 2
[ 4.568814] init: Created socket '/dev/socket/property_service' with mode '666', user '0', group '0'
[ 4.577703] init: command 'property_service_init' r=0
[ 4.582718] init: processing action 0x27920 (signal_init)
[ 4.588160] init: command 'signal_init' r=0
[ 4.592194] init: processing action 0x27968 (check_startup)
[ 4.597729] init: command 'check_startup' r=0
[ 4.602065] init: processing action 0x272c8 (boot)
[ 4.607502] init: command 'ifup' r=0
[ 4.610577] init: command 'hostname' r=0
[ 4.614385] init: command 'domainname' r=0
[ 4.618476] init: command 'setrlimit' r=0
[ 4.622474] init: starting 'recovery'
[ 4.626558] init: starting 'adbd'
[ 4.629699] init: command 'class_start' r=0
[ 4.640633] init: processing action 0x279b0 (queue_property_triggers)
[ 4.641494] init: command 'queue_property_triggers' r=0
[ 4.660607] init: processing action 0x27510 (property:ro.secure=0)
[ 4.661276] init: starting 'console'
[ 4.665217] init: command 'start' r=0
/sbin/sh: can't access tty; job control turned off
[ 4.680601] init: processing action 0x276d0 (property:persist.service.adb.enable=1)
[ 4.690603] init: command 'start' r=0
~ # [ 4.772371] UBIFS: background thread "ubifs_bgt2_0" started, PID 84
[ 4.791729] UBIFS: recovery needed
[ 4.839968] UBIFS: recovery completed
[ 4.840179] UBIFS: mounted UBI device 2, volume 0, name "cache"
[ 4.843990] UBIFS: LEB size: 253952 bytes (248 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
[ 4.853078] UBIFS: FS size: 23871488 bytes (22 MiB, 94 LEBs), journal size 2031617 bytes (1 MiB, 6 LEBs)
[ 4.862523] UBIFS: reserved for root: 1127509 bytes (1101 KiB)
[ 4.868339] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 78E4E642-C978-421F-994E-C7F4F2DF9B5E, small LPT model

~ # mount
rootfs on / type rootfs (rw)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
nodev on /tmp type tmpfs (rw,relatime)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/ubi0_0 on /system type ubifs (rw,relatime)
/dev/ubi1_0 on /data type ubifs (rw,relatime)
/dev/ubi2_0 on /cache type ubifs (rw,nodev,noatime,nodiratime)
~ #