[Galaxy 3 Android Development] tom3q:
Looking how slowly this is moving forward, what about giving it a kick with a little base upgrade? What about giving Linux 3.14 (or whatever the current Linux-next is) a try? Check out my tree:

https://github.com/tom3q/linux/tree/v3.14-s5p6442

Quite a lot of things is already working, probably even more than on 3.4, but still there is a lot to do. I'll try to set up some wiki to list current progress, remianing tasks to do and some useful instructions there.

Here's a bootlog, so you can take a quick look at what is already working. I'm successfully booting Debian using this kernel, with framebuffer console and SSH over USB ethernet gadget and this is the setup I really recommend to anyone that would one to help in development.

What is the bounty if this succeeds? Satisfaction from developing the first fully open source (and free, as in freedom) Android phone, including graphics stack (I'm working on a Gallium3D driver for FIMG-3DSE in parallel, as a part of my master's thesis) and telephony (there is open source implementation of Samsung RIL for Replicant, which seems to be quite compatible with the one used on Apollo).

[ 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+ (tom3q@flatron) (gcc version 4.8.2 (Gentoo 4.8.2 p1.1, pie-0.5.8) ) #1500 PREEMPT Mon Jan 6 18:42:47 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 console=tty1 root=/dev/mmcblk0p1 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: 267964K/344064K available (4779K kernel code, 315K rwdata, 1656K rodata, 169K init, 242K bss, 76100K 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 - 0xc0650fb8 (6436 kB)
[ 0.000000] .init : 0xc0651000 - 0xc067b7cc ( 170 kB)
[ 0.000000] .data : 0xc067c000 - 0xc06cafd0 ( 316 kB)
[ 0.000000] .bss : 0xc06cafdc - 0xc0707b80 ( 243 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 = 1334000000, 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] console [tty1] enabled
[ 0.000000] bootconsole [earlycon0] disabled
[ 0.000000] allocated 1048576 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.015681] Calibrating delay loop... 663.55 BogoMIPS (lpj=1658880)
[ 0.042053] pid_max: default: 32768 minimum: 301
[ 0.042360] Mount-cache hash table entries: 512
[ 0.055936] Initializing cgroup subsys memory
[ 0.056024] Initializing cgroup subsys devices
[ 0.056062] Initializing cgroup subsys freezer
[ 0.056093] Initializing cgroup subsys blkio
[ 0.056273] CPU: Testing write buffer coherency: ok
[ 0.056742] Setting up static identity map for 0x2048bbd0 - 0x2048bc2c
[ 0.059541] devtmpfs: initialized
[ 0.063166] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 0.064072] pinctrl core: initialized pinctrl subsystem
[ 0.064797] regulator-dummy: no parameters
[ 0.072676] NET: Registered protocol family 16
[ 0.074954] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.076301] cpuidle: using governor ladder
[ 0.076348] cpuidle: using governor menu
[ 0.082565] syscon e0108000.syscon: regmap [mem 0xe0108000-0xe010ffff] registered
[ 0.097534] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.097585] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.111629] bio: create slab <bio-0> at 0
[ 0.113364] V_BAT: 4200 mV
[ 0.113541] reg-fixed-voltage vbat-regulator.6: V_BAT supplying 4200000uV
[ 0.114050] WM8994_LDO: no parameters
[ 0.114177] reg-fixed-voltage wm8994-regulator.11: Looking up vin-supply from device tree
[ 0.114279] WM8994_LDO: supplied by V_BAT
[ 0.114516] reg-fixed-voltage wm8994-regulator.11: WM8994_LDO supplying 0uV
[ 0.115661] usbcore: registered new interface driver usbfs
[ 0.115884] usbcore: registered new interface driver hub
[ 0.116235] usbcore: registered new device driver usb
[ 0.125396] VALIVE_1.1V_6442: 1100 mV
[ 0.127401] VUSB_1.1V_6442: 1100 mV
[ 0.129244] VDD_PS_2.8V: 2800 mV
[ 0.130431] VTF_2.8V: 2800 <--> 3300 mV at 2800 mV
[ 0.132386] LDO6: 2000 mV
[ 0.134248] VADC_3.3V_6442: 3300 mV
[ 0.136054] VUSB_3.3V_6442: 3300 mV
[ 0.138626] VCC_2.8V_PDA: 2800 mV
[ 0.141098] VPLL_1.1V_6442: 1100 mV
[ 0.143642] VLCD_3.0V: 3000 mV
[ 0.146089] VLCD_1.8V: 1800 mV
[ 0.148083] VTOUCH_2.8V: 2800 mV
[ 0.149949] VTOUCH_3.0V: 3000 mV
[ 0.152501] VPWM_3.3V: 3300 mV
[ 0.154371] VDD_PS_3.0V: 3000 mV
[ 0.156203] VKEYLED_3.3V: 1600 <--> 3300 mV at 3300 mV
[ 0.158095] VARM_1.1V_6442: 950 <--> 1350 mV at 1200 mV
[ 0.160305] VINT_1.1V_6442: 1200 mV
[ 0.162599] VCC_1.8V_PDA: 1800 mV
[ 0.164422] BUCK4: 1200 mV
[ 0.165254] VICHG: no parameters
[ 0.166362] SAFEOUT1: no parameters
[ 0.167493] SAFEOUT2: no parameters
[ 0.169054] i2c-gpio i2c-3.7: using pins 126 (SDA) and 129 (SCL)
[ 0.170472] i2c-gpio i2c-4.8: using pins 101 (SDA) and 100 (SCL)
[ 0.172795] i2c-gpio i2c-5.9: using pins 28 (SDA) and 29 (SCL)
[ 0.174230] i2c-gpio i2c-6.10: using pins 123 (SDA) and 124 (SCL)
[ 0.175604] i2c-gpio i2c-7.12: using pins 159 (SDA) and 158 (SCL)
[ 0.176120] s3c-i2c ec100000.i2c: slave address 0x00
[ 0.176194] s3c-i2c ec100000.i2c: bus frequency set to 399 KHz
[ 0.177418] s3c-i2c ec100000.i2c: i2c-0: S3C I2C adapter
[ 0.177759] s3c-i2c ec600000.i2c: slave address 0x00
[ 0.177833] s3c-i2c ec600000.i2c: bus frequency set to 399 KHz
[ 0.178996] s3c-i2c ec600000.i2c: i2c-2: S3C I2C adapter
[ 0.179254] media: Linux media interface: v0.10
[ 0.179425] Linux video capture interface: v2.00
[ 0.182858] fsa9480 3-0025: dev1: 0x4, dev2: 0x0
[ 0.183435] Advanced Linux Sound Architecture Driver Initialized.
[ 0.184793] Switched to clocksource samsung_clocksource_timer
[ 0.211610] NET: Registered protocol family 2
[ 0.212751] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.212986] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.213200] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.213371] TCP: reno registered
[ 0.213429] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.213521] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.214028] NET: Registered protocol family 1
[ 0.215221] hw perfevents: enabled with v6 PMU driver, 3 counters available
[ 0.215423] CPU PMU: attempt to register multiple PMU devices!
[ 0.215487] arm-pmu: probe of arm-pmu failed with error -28
[ 0.217268] audit: initializing netlink socket (disabled)
[ 0.217382] type=2000 audit(0.219:1): initialized
[ 0.238069] ROMFS MTD (C) 2007 Red Hat, Inc.
[ 0.238486] msgmni has been set to 651
[ 0.241942] io scheduler noop registered
[ 0.242006] io scheduler deadline registered
[ 0.242109] io scheduler cfq registered (default)
[ 0.247161] dma-pl330 e8000000.dma: Loaded driver for PL330 DMAC-267056
[ 0.247242] dma-pl330 e8000000.dma: DBUFF-64x8bytes Num_Chans-8 Num_Peri-2 Num_Events-32
[ 0.255459] dma-pl330 e9000000.dma: Loaded driver for PL330 DMAC-267056
[ 0.255539] dma-pl330 e9000000.dma: DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[ 0.430990] ec000000.serial: ttySAC0 at MMIO 0xec000000 (irq = 43, base_baud = 0) is a S3C6400/10
[ 0.431912] ec000400.serial: ttySAC1 at MMIO 0xec000400 (irq = 44, base_baud = 0) is a S3C6400/10
[ 1.170657] console [ttySAC1] enabled
[ 1.175180] ec000800.serial: ttySAC2 at MMIO 0xec000800 (irq = 45, base_baud = 0) is a S3C6400/10
[ 1.184133] [drm] Initialized drm 1.1.0 20060810
[ 1.190171] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.194293] [drm] No driver support for vblank timestamp query.
[ 1.208461] Console: switching to colour frame buffer device 60x66
[ 1.213612] exynos-drm exynos-drm: fb0: frame buffer device
[ 1.219304] exynos-drm exynos-drm: registered panic notifier
[ 1.224944] [drm] Initialized exynos 1.0.0 20110530 on minor 0
[ 1.247596] brd: module loaded
[ 1.256245] loop: module loaded
[ 1.257133] wm8994-ldo wm8994-ldo.0: Probing LDO1
[ 1.258546] wm8994 7-001a: Using default init data, supply 7-001a AVDD1
[ 1.265949] LDO1: no parameters
[ 1.269244] wm8994-ldo wm8994-ldo.1: Probing LDO2
[ 1.273015] wm8994 7-001a: Using default init data, supply 7-001a DCVDD
[ 1.280405] LDO2: no parameters
[ 1.283317] wm8994 7-001a: Looking up DBVDD-supply from device tree
[ 1.289543] wm8994 7-001a: Looking up DCVDD-supply from device tree
[ 1.295741] wm8994 7-001a: Looking up AVDD1-supply from device tree
[ 1.303801] wm8994 7-001a: Looking up AVDD2-supply from device tree
[ 1.311906] wm8994 7-001a: Looking up CPVDD-supply from device tree
[ 1.320175] wm8994 7-001a: Looking up SPKVDD1-supply from device tree
[ 1.328193] wm8994 7-001a: Looking up SPKVDD2-supply from device tree
[ 1.336863] wm8994 7-001a: Failed to read ID register
[ 1.343507] Muxed OneNAND 512MB 1.8V 16-bit (0x50)
[ 1.347306] OneNAND version = 0x013e
[ 1.351097] Chip support all block unlock
[ 1.354774] Chip has 4KiB pagesize
[ 1.358526] Chip has cache program feature
[ 1.362293] Scanning device for bad blocks
[ 1.935478] OneNAND eraseblock 2047 is an initial bad block
[ 1.942725] 1 ofpart partitions found on MTD device b0600000.flash-controller
[ 1.951396] Creating 1 MTD partitions on "b0600000.flash-controller":
[ 1.959357] 0x000001180000-0x00001f500000 : "UBI"
[ 1.969552] s6d04d1 spi32766.0: Looking up vdd3-supply from device tree
[ 1.978339] s6d04d1 spi32766.0: Looking up vci-supply from device tree
[ 1.988088] usbcore: registered new interface driver cdc_acm
[ 1.995504] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 2.005508] usbcore: registered new interface driver usblp
[ 2.013279] usbcore: registered new interface driver usbserial
[ 2.020968] usbcore: registered new interface driver usbserial_generic
[ 2.029393] usbserial: USB Serial support registered for generic
[ 2.037371] usbcore: registered new interface driver empeg
[ 2.045075] usbserial: USB Serial support registered for empeg
[ 2.052992] usbcore: registered new interface driver ftdi_sio
[ 2.060875] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 2.070418] usbcore: registered new interface driver pl2303
[ 2.078310] usbserial: USB Serial support registered for pl2303
[ 2.087073] s3c-hsotg ed200000.otg: regs e58c0000, irq 57
[ 2.091734] s3c-hsotg ed200000.otg: Looking up vusb_d-supply from device tree
[ 2.101050] s3c-hsotg ed200000.otg: Looking up vusb_a-supply from device tree
[ 2.111312] s3c-hsotg ed200000.otg: EPs:15
[ 2.115267] s3c-hsotg ed200000.otg: dedicated fifos
[ 2.121699] using random self ethernet address
[ 2.125689] using random host ethernet address
[ 2.129437] using host ethernet address: 06:07:08:09:0a:0b
[ 2.134082] using self ethernet address: 02:01:02:03:04:05<6>[ 2.142432] usb0: HOST MAC 06:07:08:09:0a:0b
[ 2.146463] usb0: MAC 02:01:02:03:04:05
[ 2.150418] using random self ethernet address
[ 2.154261] using random host ethernet address
[ 2.158209] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[ 2.166653] g_ether gadget: g_ether ready
[ 2.172753] s3c-hsotg ed200000.otg: bound driver g_ether
[ 2.180713] mousedev: PS/2 mouse device common for all mice
[ 2.188131] s3c-hsotg ed200000.otg: GINTSTS_USBSusp
[ 2.197069] max8998-rtc max8998-rtc: rtc core: registered max8998-rtc as rtc0
[ 2.206484] max8998-rtc max8998-rtc: RTC CHIP NAME: max8998-rtc
[ 2.214472] s3c-rtc ea300000.rtc: rtc disabled, re-enabling
[ 2.222518] s3c-rtc ea300000.rtc: rtc core: registered s3c as rtc1
[ 2.230447] s3c-rtc ea300000.rtc: warning: invalid RTC value so initializing it
[ 2.239723] i2c /dev entries driver
[ 2.248801] s5p-fimc-md: Registered fimc.0.m2m as /dev/video0
[ 2.256736] s5p-fimc-md: Registered fimc.0.capture as /dev/video1
[ 2.265105] s5p-fimc-md: Registered fimc.1.m2m as /dev/video2
[ 2.273001] s5p-fimc-md: Registered fimc.1.capture as /dev/video3
[ 2.282666] s5p-jpeg efc00000.jpeg: encoder device registered as /dev/video4
[ 2.291917] s5p-jpeg efc00000.jpeg: decoder device registered as /dev/video5
[ 2.300731] s5p-jpeg efc00000.jpeg: Samsung S5P JPEG codec
[ 2.308995] s5p-g2d ef400000.gpu: device registered as /dev/video6
[ 2.317581] si470x: probe of 4-0010 failed with error -5
[ 2.325610] s3c2410-wdt ea200000.watchdog: watchdog inactive, reset disabled, irq disabled
[ 2.335882] sdhci: Secure Digital Host Controller Interface driver
[ 2.343797] sdhci: Copyright(c) Pierre Ossman
[ 2.348735] s3c-sdhci eda00000.sdhci: clock source 0: mmc_busclk.0 (166000000 Hz)
[ 2.358054] s3c-sdhci eda00000.sdhci: clock source 2: mmc_busclk.2 (83000000 Hz)
[ 2.367477] s3c-sdhci eda00000.sdhci: Looking up vqmmc-supply from device tree
[ 2.376722] s3c-sdhci eda00000.sdhci: Looking up vqmmc-supply property in node /soc/sdhci@eda00000 failed
[ 2.388351] mmc0: no vqmmc regulator found
[ 2.392417] s3c-sdhci eda00000.sdhci: Looking up vmmc-supply from device tree
[ 2.401676] s3c-hsotg ed200000.otg: s3c_hsotg_irq: USBRst
[ 2.413097] s3c-hsotg ed200000.otg: GINTSTS_USBSusp
[ 2.439881] mmc0: SDHCI controller on samsung-hsmmc [eda00000.sdhci] using ADMA
[ 2.450586] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.461711] usbcore: registered new interface driver usbhid
[ 2.469619] usbhid: USB HID core driver
[ 2.474062] exynos-adc f3000000.adc: Looking up vdd-supply from device tree
[ 2.484714] gp2ap020a00f 6-0044: Looking up vcc-supply from device tree
[ 2.493695] gp2ap020a00f 6-0044: Looking up vled-supply from device tree
[ 2.505409] i2c i2c-6: sendbytes: NAK bailout.
[ 2.509414] gp2ap020a00f 6-0044: Device initialization failed.
[ 2.518813] gp2ap020a00f: probe of 6-0044 failed with error -5
[ 2.528568] platform sound.15: Driver asoc-simple-card requests probe deferral
[ 2.539952] oprofile: using arm/armv6
[ 2.544300] TCP: cubic registered
[ 2.548314] NET: Registered protocol family 17
[ 2.552365] NET: Registered protocol family 15
[ 2.557643] registered taskstats version 1
[ 2.561541] s3c-hsotg ed200000.otg: s3c_hsotg_irq: USBRst
[ 2.567333] SAFEOUT2: disabling
[ 2.571437] s3c-hsotg ed200000.otg: new device is high-speed
[ 2.579696] VICHG: disabling
[ 2.585910] LDO6: disabling
[ 2.591576] platform sound.15: Driver asoc-simple-card requests probe deferral
[ 2.602493] input: gpio-keys.14 as /devices/gpio-keys.14/input/input0
[ 2.611487] platform sound.15: Driver asoc-simple-card requests probe deferral
[ 2.621450] max8998-rtc max8998-rtc: setting system clock to 2014-01-06 17:50:10 UTC (1389030610)
[ 2.637170] s3c-hsotg ed200000.otg: s3c_hsotg_irq: USBRst
[ 2.643979] s3c-hsotg ed200000.otg: s3c_hsotg_irq: USBRst
[ 2.647666] s3c-hsotg ed200000.otg: new device is high-speed
[ 2.663746] ALSA device list:
[ 2.667379] No soundcards found.
[ 2.671478] Waiting for root device /dev/mmcblk0p1...
[ 2.706436] s3c-hsotg ed200000.otg: new address 10
[ 2.724271] g_ether gadget: high-speed config #1: CDC Ethernet (ECM)
[ 3.261700] mmc0: new high speed SD card at address 0002
[ 3.265984] mmcblk0: mmc0:0002 00000 1.90 GiB
[ 3.271933] mmcblk0: p1 p2
[ 3.277492] platform sound.15: Driver asoc-simple-card requests probe deferral
[ 3.307303] EXT4-fs (mmcblk0p1): couldn't mount as ext3 due to feature incompatibilities
[ 3.319072] EXT4-fs (mmcblk0p1): couldn't mount as ext2 due to feature incompatibilities
[ 7.401726] random: nonblocking pool is initialized
[ 7.689434] EXT4-fs (mmcblk0p1): warning: maximal mount count reached, running e2fsck is recommended
[ 7.703241] EXT4-fs (mmcblk0p1): recovery complete
[ 7.878590] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 7.888052] VFS: Mounted root (ext4 filesystem) on device 179:1.
[ 7.897001] devtmpfs: mounted
[ 7.902293] Freeing unused kernel memory: 168K (c0651000 - c067b000)
[ 9.594403] udevd[176]: starting version 175
[ 11.884394] s5p-g2d ef400000.gpu: instance opened
[ 11.995243] s5p-g2d ef400000.gpu: instance closed
[ 17.337798] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)