PabloPL / linux

Linux kernel source tree
Other
17 stars 0 forks source link

GUI acceleration support #18

Open PabloPL opened 5 years ago

PabloPL commented 5 years ago

We can use:

xc-racer99 commented 5 years ago

Looking into G2D, while there are is a libdrm component, this doesn't appear to be used by anything (checked weston, x11 arm-soc, kwin) so I've abandoned my preliminary attempts at adding support for the v3.0 g2d used in the s5pv210.

For the future, I've a few notes for the libdrm side of things at https://gist.github.com/xc-racer99/6c5466d820ae69090189adf249b75d99 and have created the branch at https://github.com/xc-racer99/linux/tree/g2d-wip Notably, it doesn't support the dma insertion that the supported v4.1 does (libdrm creates a list of commands for the g2d, kernel driver writes them to a dma address; writes dma address to a g2d register; starts g2d which works through the command list). We would need to copy all of the commands to their registers; then run the g2d and rinse and repeat for each section of the command list received from libdrm.

xc-racer99 commented 5 years ago

With regards to powervr, something else to try would be Galaxy Nexus/Tuna Android blobs. They can be found at https://github.com/xc-racer99/proprietary_vendor_samsung/commit/ac9e2d30378b036038dbf7aa9e22996865f11f06 and need a matching kernel driver patch like https://github.com/xc-racer99/android_kernel_samsung_aries/commit/0471749ba8735efd32564852094afb972d36099d#diff-9a0ae2f209e5e27649c5b796c42e3c5e

The only thing not working with them on s5pc110 on Android is some colour conversion used by hardware decoding. They may or may not properly expose the configs.

Failing that, we could try the DDK 1.9 blobs for OMAP4 and see if they work.

Additionally, we could try recompiling the hwcomposer module so that it uses /dev/fb{x} as opposed to /dev/graphics/fb{x}. Or we could simply make it a dummy hwcomposer that always returns the same gralloc usage flags which it pretty much does right now anyways :)

PabloPL commented 5 years ago

BTW: I wonder if that android logger module is working (didn't saw devices created in /dev, wasn't able to use logcat).

xc-racer99 commented 5 years ago

Probably the Android logger isn't used as we were using a 7.1 based system image for libhybris, it should be using pstore instead (is this enabled in the defconfig?).

I backported the Android logger driver so I could try booting KitKat which is the android version on my phone as it is too old for the pstore version.

I should try setting up libhybris again (I accidentally corrupted my SD card and had to reset it).

PabloPL commented 5 years ago

Ok, so we can revert that commit and make pstore work (defconfig + dts change needed). Libhybris setup is easy - some time ago when i looked at this, it required to rebuild android device image two times (from source code) - without and with some patches applied. Now it's just a matter of compiling libhybris from source code.

xc-racer99 commented 5 years ago

Libhybris setup is easy - some time ago when i looked at this, it required to rebuild android device image two times (from source code) - without and with some patches applied. Now it's just a matter of compiling libhybris from source code.

Ok, I got libhybris setup again and succesfully ran pvrsrvinit (although that doesn't require libhybris, as you already know). test_egl ends with a segfault; test_hwcomposer. More on this below...

Additionally, we could try recompiling the hwcomposer module so that it uses /dev/fb{x} as opposed to /dev/graphics/fb{x}. Or we could simply make it a dummy hwcomposer that always returns the same gralloc usage flags which it pretty much does right now anyways :)

We are definitely going to have to make some modifications to the hwcomposer to support a mainline kernel. For one, it tries to open the FIMC which we haven't setup, it has some special FB initializing that we can probably skip, and for vsync it uses a custom IOCTl or else a ueventd handler - neither of which we probably want to use.

I'm wondering if there's a way to do a render-only driver using the supposed pixmap support if we could find a driver (http://processors.wiki.ti.com/index.php/RN_4_04_00_04?keyMatch=SGX540&tisearch=Search-EN briefly describes that the pixmaps are supported)

PabloPL commented 5 years ago

Fixed powervr logging a bit (was hard to do this...), can be enabled with CONFIG_PVR_NEED_PVR_DPF.

Edit 1: Fixed also debug build (with all debug/trace options enabled).

PabloPL commented 5 years ago

Added workaround so we can use debug driver with release binaries. Maybe all debug enabled will help to trace why we can't rung egl programs.

PabloPL commented 5 years ago

@xc-racer99 Are You able to run libhybris binaries under android (or we could write some sample code with android-ndk - maybe could use some code from https://github.com/limadriver-ng/lima/tree/master/limare/tests)? I wonder what could be log, when running under stock kernel with following patches applied https://github.com/PabloPL/linux/commit/f5a3e48a09d3e3126f5900ea4ccba8bcbb3fc505 https://github.com/PabloPL/linux/commit/c4c80bc85924a01b2e757340ddf4cb3ed1d9d0ad https://github.com/PabloPL/linux/commit/31ba0b9d29b495d11b0fb44419f40ef3ac28293a

I'm thinking also about making some wrap (like it was done for lima) so we can dump content of ioctl.

PabloPL commented 5 years ago

Currently eglGetConfig in test_egl_configs returns with error EGL_NOT_INITIALIZED

xc-racer99 commented 5 years ago

@xc-racer99 Are You able to run libhybris binaries under android (or we could write some sample code with android-ndk - maybe could use some code from https://github.com/limadriver-ng/lima/tree/master/limare/tests)? I wonder what could be log, when running under stock kernel with following patches applied

As in running the Android binaries under Android or the libhybris specific ones? I doubt I could run anything via libhybris on Android; would need to recompile it at any rate. Are you wanting to try running the test_egl, etc binaries under Android?

Sure, I can cherry-pick those commits and run them from an Android kernel and get you the logs.

PabloPL commented 5 years ago

Hm at first wee need to check if there is possibility to run the same test code on android and linux (like lima was doing), so we could then compare logs etc (maybe compile it for android with ndk and normally for linux) - need some research.

xc-racer99 commented 5 years ago

Looking at the output of readelf -d; it appears that test_egl requires some hybris-specific and some non-android libraries

readelf -d test_egl

Dynamic section at offset 0x1598 contains 28 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libhybris-common.so.1]
 0x00000001 (NEEDED)                     Shared library: [libEGL.so.1]
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.0]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000f (RPATH)                      Library rpath: [/opt/libhybris/lib]
 0x0000000c (INIT)                       0x1078c
 0x0000000d (FINI)                       0x10e68
 0x00000019 (INIT_ARRAY)                 0x2158c
 0x0000001b (INIT_ARRAYSZ)               4 (bytes)
 0x0000001a (FINI_ARRAY)                 0x21590
 0x0000001c (FINI_ARRAYSZ)               4 (bytes)
 0x6ffffef5 (GNU_HASH)                   0x10194
 0x00000005 (STRTAB)                     0x10488
 0x00000006 (SYMTAB)                     0x10278
 0x0000000a (STRSZ)                      506 (bytes)
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000015 (DEBUG)                      0x0
 0x00000003 (PLTGOT)                     0x216a0
 0x00000002 (PLTRELSZ)                   160 (bytes)
 0x00000014 (PLTREL)                     REL
 0x00000017 (JMPREL)                     0x106ec
 0x00000011 (REL)                        0x106e4
 0x00000012 (RELSZ)                      8 (bytes)
 0x00000013 (RELENT)                     8 (bytes)
 0x6ffffffe (VERNEED)                    0x106c4
 0x6fffffff (VERNEEDNUM)                 1
 0x6ffffff0 (VERSYM)                     0x10682
 0x00000000 (NULL)                       0x0

What does test_egl output for you? For me I just get a segfault very early on, don't know if this is my setup or the blobs though...

PabloPL commented 5 years ago

The same for me. If You run test_egl you will find that there is 0 egl configurations. test_egl fails because it assumes that there are some valid configurations (from what i remember).

śr., 6 lut 2019 o 18:20 xc-racer99 notifications@github.com napisał(a):

Looking at the output of readelf -d; it appears that test_egl requires some hybris-specific and some non-android libraries readelf -d test_egl

Dynamic section at offset 0x1598 contains 28 entries: Tag Type Name/Value 0x00000001 (NEEDED) Shared library: [libhybris-common.so.1] 0x00000001 (NEEDED) Shared library: [libEGL.so.1] 0x00000001 (NEEDED) Shared library: [libpthread.so.0] 0x00000001 (NEEDED) Shared library: [libc.so.6] 0x0000000f (RPATH) Library rpath: [/opt/libhybris/lib] 0x0000000c (INIT) 0x1078c 0x0000000d (FINI) 0x10e68 0x00000019 (INIT_ARRAY) 0x2158c 0x0000001b (INIT_ARRAYSZ) 4 (bytes) 0x0000001a (FINI_ARRAY) 0x21590 0x0000001c (FINI_ARRAYSZ) 4 (bytes) 0x6ffffef5 (GNU_HASH) 0x10194 0x00000005 (STRTAB) 0x10488 0x00000006 (SYMTAB) 0x10278 0x0000000a (STRSZ) 506 (bytes) 0x0000000b (SYMENT) 16 (bytes) 0x00000015 (DEBUG) 0x0 0x00000003 (PLTGOT) 0x216a0 0x00000002 (PLTRELSZ) 160 (bytes) 0x00000014 (PLTREL) REL 0x00000017 (JMPREL) 0x106ec 0x00000011 (REL) 0x106e4 0x00000012 (RELSZ) 8 (bytes) 0x00000013 (RELENT) 8 (bytes) 0x6ffffffe (VERNEED) 0x106c4 0x6fffffff (VERNEEDNUM) 1 0x6ffffff0 (VERSYM) 0x10682 0x00000000 (NULL) 0x0

What does test_egl output for you? For me I just get a segfault very early on, don't know if this is my setup or the blobs though...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/PabloPL/linux/issues/18#issuecomment-461108628, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIQcpphEV-boXwn2-pz3sYVi1wRJHJ5ks5vKw7VgaJpZM4WpqQb .

xc-racer99 commented 5 years ago

The same for me. If You run test_egl you will find that there is 0 egl configurations. test_egl fails because it assumes that there are some valid configurations (from what i remember).

Hmm, ok. Good to know that I apparently have thing setup correctly.

I think I'll have a look at testing some of the Galaxy Nexus blobs and see if they have the same issue. You never know, since they're newer they may export the configs properly...

PabloPL commented 5 years ago

Some more progress, please fetch latest changes (also droped/edited few patches). It looks like userspace/microkernel is checking build flags (and stopping early if they don't match), so they can't be skipped (error handling if they are different) - we just need to skip setting them in sgx_options.h in SGX_BUILD_OPTIONS. Also made 3 framebuffers (like in stock kernel) and added export of phys addr of framebuffer. Now it's stopping much much more later (but still 0 configurations available).

śr., 6 lut 2019 o 18:39 xc-racer99 notifications@github.com napisał(a):

The same for me. If You run test_egl you will find that there is 0 egl configurations. test_egl fails because it assumes that there are some valid configurations (from what i remember).

Hmm, ok. Good to know that I apparently have thing setup correctly.

I think I'll have a look at testing some of the Galaxy Nexus blobs and see if they have the same issue. You never know, since they're newer they may export the configs properly...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/PabloPL/linux/issues/18#issuecomment-461115636, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIQcsxxMcned2bglDE4NV1lj4JNGQY9ks5vKxNIgaJpZM4WpqQb .

xc-racer99 commented 5 years ago

I came across a discussion on potential upstreaming of PowerVR code at https://www.pyra-handheld.com/pipermail/kernel/2019-February/003094.html which resulted in a repo set up at https://github.com/openpvrsgx-devgroup

As stated in that discussion, please do not post anything there that is from the leaked source code from several years ago - that would destroy the credibility of the project.

PabloPL commented 5 years ago

Yes, i'am also in this discussion.

xc-racer99 commented 5 years ago

A log from Android 4.4 with all PVR debug options turned on is available at https://gist.github.com/xc-racer99/427ac6e54cd42cff784008841ff98ec8

It took a long time to initialize (surfacefliner crashed?), but did eventually work albeit at a slower speed due to the time it takes to output all of the debug messages :)

xc-racer99 commented 5 years ago

Alright, a few musings to put down: 1) There is a DDK 1.9 kernel module (https://github.com/mobiaqua/pvr-omap4-dkms) and corresponding UM (https://github.com/mobiaqua/pvr-omap4) that originally came from https://launchpad.net/~tiomap-dev/+archive/ubuntu/omap-trunk/+files/ that appear to have a Wayland backend (with modified GBM). It is DDK 1.9@2253347 but is originally from 2013. There is no Exynos support here so we would have to add our DisplayClass and the system integration bits.

2) https://github.com/schnitzeltony/ti-omap3-sgx-wayland-wsegl uses deprecated/removed wayland structs and functions - I've created a CMake build system and tried to update it. Patches are at https://gist.github.com/xc-racer99/396529a1bbde308300181cd3a44f6556 - it might be possible to use the above DDK 1.9 blobs or maybe even the Android blobs, depending on how the Android blobs are linked.

3) Will also try libhybris with its various backends on pmOS and stock Android blobs from 4.4.

Edit: It looks like the 1.9 modules use some omap-specific symbols such as omap_bo_del and others from libdrm. These obviously won't work for exynos, so we'll need to use the Android binaries (I wonder if we can still use the alternate WSEGL plugins or not... Regardless, we'd need libhybris to run the blobs).

Edit 2: There is a DC for the mainline exynos FB driver available at https://github.com/syndtr/android-kernel/tree/qss-next/drivers/gpu/pvr - it's for a 3.3 based kernel and DDK 1.8@785978 (although the DC remains unchanged from that revision to the latest 1.8@2112805 that was used on crespo)

PabloPL commented 5 years ago

@xc-racer99 Any progress with pmOS and old kernel? I'm very curious (have problems with finding some time to look at all this - busy at other things..).

xc-racer99 commented 5 years ago

Yes, I have pmOS booting to Weston with old kernel (branch pushed to https://gitlab.com/xc-racer99/pmaports/commits/fascinate4g - for i9000 would need to change the defconfig for fascinate4g kernel to https://github.com/xc-racer99/android_kernel_samsung_aries/blob/unlegacy-4.4/arch/arm/configs/cyanogenmod_galaxysmtd_defconfig with CONFIG_DEVTMPFS added - assuming the kernel still compiles for i9000 as I may have broken it, if that's the case then switching the kernel source to CyanogenMod cm-11.0 branch should work, along with the defconfig from there - again with devtmps added). Still working on compiling libhybris to see if the tests run normally.

PabloPL commented 5 years ago

Great! Previously i was using my custom build of libhybris but it looks like pmOS have it packed. Will try to boot it (pmOS) on my aries, if i find some time.

Edit 1: It looks like galaxysmtd_defconfig was not updated (looking at diff between it and fascinate4g config). I've created fork of Your gitlab repo and will make PR (after testing if it boots), so You can submit it to pmOS.

Edit 2: For now diff is just

CONFIG_PHONE_ARIES=y CONFIG_SAMSUNG_GALAXYS=y CONFIG_RADIO_SI4709=y

and

CONFIG_PHONE_CRESPO=y CONFIG_SAMSUNG_GALAXYS4G=y CONFIG_SAMSUNG_GALAXYS4G_TELUS_VERSION=y

xc-racer99 commented 5 years ago

but it looks like pmOS have it packed.

Yep, looks about right. Note that CONFIG_PHONE_CRESPO would work as well - it uses the new crespo RIL interface which should work fine as well - plus it's the variant I ported to the mainline kernel.

Note that the pmOS hybris doesn't appear to work as it uses PR_SET_VMA_ANON_NAME - and this isn't in the 3.0 kernel so pvrsrvinit crashes. This is the same issue we initially ran into on mainline.

PabloPL commented 5 years ago

pmOS with mainline kernel -> boots fine pmOS with vendor kernel -> not booting (checking)

xc-racer99 commented 5 years ago

Hmm, odd. Also, forgot to mention that for i9000 you'll need to change the mtdparts in extlinux.conf - I used the larger ones. This might cause a panic on boot, not sure.

PabloPL commented 5 years ago

Yup, i already had it fixed.

Last lines in bootlog are

[    5.315075] mmcblk0: mmc0:0001 M8G4DD 7.65 GiB
[    5.320213] IPv6 over IPv4 tunneling driver
[    5.323812]  mmcblk0: p1 p2
[    5.331351] NET: Registered protocol family 17
[    5.334408] NET: Registered protocol family 15
[    5.340012] Bluetooth: RFCOMM TTY layer initialized
[    5.343736] Bluetooth: RFCOMM socket layer initialized
[    5.348851] Bluetooth: RFCOMM ver 1.11
[    5.352508] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.360898] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    5.365719] NET: Registered protocol family 35
[    5.369985] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2
[    5.377469] ThumbEE CPU extension supported.
[    5.383046] s5pv210_cpufreq_init: S5PV210 cpu-freq driver
[    5.388391] regulator_init_complete: 32KHz CP: disabling
[    5.395662] regulator_init_complete: pd_mfc_supply: disabling
[    5.403195] regulator_init_complete: pd_tv_supply: disabling
[    5.407579] regulator_init_complete: pd_cam_supply: disabling
[    5.413479] input: cypress-touchkey as /devices/virtual/input/input8
[    5.448670] cypress_touchkey_driver 10-0020: cypress_touchkey_probe: hardware rev1 = 0xa9, rev2 = 0x3
[    5.458175] s3c-rtc s3c2410-rtc: rtc disabled, re-enabling
[    5.462403] s3c-rtc s3c2410-rtc: setting system clock to 2019-05-18 19:16:44 UTC (1558207004)
[    5.475284] FIMC0 registered successfully
[    5.479360] FIMC1 registered successfully
[    5.483240] FIMC2 registered successfully
[    5.486974] S5P TVOUT Driver, (c) 2010 Samsung Electronics
[    5.491740] clk_get: could not find clock mout_vpll_src for dev s5p_device_tvout+0x8/0xd8 (s5p-tvout)
[    5.500649] failed to find clock "mout_vpll_src"
[    5.505249] s5p-tvout s5p-tvout: hpd status: cable removed/not connected
[    5.515248] s5p_tv_probe TV Probing is done
[    5.518074] max8998_charger_probe : MAX8998 Charger Driver Loading
[    5.526015] max8998_charger_probe : pmic interrupt registered
[    5.531137] check_lpm_charging_mode : lpm_charging_mode(0)
[    5.536309] wake enabled for irq 39

And here it will restart (so i'll see logs from PBL). I had similar issue when trying various old kernels on i9000 (with uboot installed) - not solved yet.

xc-racer99 commented 5 years ago

Hmm, here's my bootlog for reference:

[    0.000000] Linux version 3.0.101 (pmos@jon-hp-laptop) (gcc version 4.9.2 (postmarketOS 4.9.2) ) #1-postmarketOS PREEMPT Sat Jun 15 20:51:15 UTC 2019
[    0.000000] CPU: ARMv7 Processor [412fc082] revision 2 (ARMv7), cr=10c53c7d
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: aries
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] CPU S5PV210/S5PC110 (id 0x43110222)
[    0.000000] S3C24XX Clocks, Copyright 2004 Simtec Electronics
[    0.000000] s3c24xx_register_clock: new clock sclk_csis, id -1, dev   (null) uses same enable bit as mout_csis, id -1, dev   (null)
[    0.000000] s3c24xx_register_clock: new clock lcd, id -1, dev   (null) uses same enable bit as sclk_fimd, id -1, dev   (null)
[    0.000000] s3c24xx_register_clock: new clock mfc, id -1, dev   (null) uses same enable bit as sclk_mfc, id -1, dev   (null)
[    0.000000] s3c24xx_register_clock: new clock iis, id 0, dev   (null) uses same enable bit as i2s_v50, id 0, dev   (null)
[    0.000000] S5PV210: PLL settings, A=800000000, M=667000000, E=96000000 V=54000000
[    0.000000] S5PV210: ARMCLK=800000000, HCLKM=200000000, HCLKD=166750000
[    0.000000] HCLKP=133400000, PCLKM=100000000, PCLKD=83375000, PCLKP=66700000
[    0.000000] sclk_dmc: source is mout_mpll (1), rate is 166750000
[    0.000000] sclk_onenand: source is hclk_dsys (1), rate is 166750000
[    0.000000] sclk: source is mout_mpll (6), rate is 133400000
[    0.000000] sclk: source is mout_mpll (6), rate is 66700000
[    0.000000] sclk: source is mout_mpll (6), rate is 66700000
[    0.000000] sclk: source is mout_mpll (6), rate is 66700000
[    0.000000] sclk_mixer: source is sclk_dac (0), rate is 54000000
[    0.000000] sclk_fimc: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_fimc: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_fimc: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_cam: source is xusbxti (1), rate is 24000000
[    0.000000] sclk_cam: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_fimd: source is mout_mpll (6), rate is 667000000
[    0.000000] sclk_mmc: source is mout_mpll (6), rate is 51307692
[    0.000000] sclk_mmc: source is mout_mpll (6), rate is 47642857
[    0.000000] sclk_mmc: source is mout_mpll (6), rate is 47642857
[    0.000000] sclk_mmc: source is mout_mpll (6), rate is 47642857
[    0.000000] sclk_mfc: source is sclk_a2m (0), rate is 200000000
[    0.000000] sclk_fimg2d: source is sclk_a2m (0), rate is 200000000
[    0.000000] sclk: source is mout_mpll (1), rate is 66700000
[    0.000000] sclk_csis: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_spi: source is mout_epll (7), rate is 96000000
[    0.000000] sclk_spi: source is mout_epll (7), rate is 96000000
[    0.000000] sclk_pwi: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_pwm: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_mdnie: source is mout_mpll (6), rate is 166750000
[    0.000000] sclk_mdnie_pwm: source is ext_xtal (0), rate is 24000000
[    0.000000] s5p: 14680064 bytes system memory reserved for mfc at 0x340f9000, 0-bank base(0x340f9000)
[    0.000000] s5p: 22020096 bytes system memory reserved for mfc at 0x4eb00000, 1-bank base(0x4eb00000)
[    0.000000] s5p: 12582912 bytes system memory reserved for fimc0 at 0x4df00000, 1-bank base(0x4df00000)
[    0.000000] s5p: 12582912 bytes system memory reserved for fimc2 at 0x4d300000, 1-bank base(0x4d300000)
[    0.000000] s5p: 937984 bytes system memory reserved for jpeg at 0x34014000, 0-bank base(0x34014000)
[    0.000000] s5p: 15360000 bytes system memory reserved for fimd at 0x4c45a000, 1-bank base(0x4c45a000)
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 98167
[    0.000000] Kernel command line: ubi.mtd=ubi mtdparts=b0600000.onenand:256k@25856k(uboot-env),10240k(boot),10240k(recovery),980480k(ubi) console=ttySAC2,115200 PMOS_NO_OUTPUT_REDIRECT 
[    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: 64MB 1MB 196MB 127MB = 388MB total
[    0.000000] Memory: 379308k/455640k available, 18472k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xff000000 - 0xffe00000   (  14 MB)
[    0.000000]     vmalloc : 0xe8000000 - 0xfc000000   ( 320 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe7f00000   ( 639 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc003b000   ( 204 kB)
[    0.000000]       .text : 0xc003b000 - 0xc0b1c000   (11140 kB)
[    0.000000]       .data : 0xc0b1c000 - 0xc0b81950   ( 407 kB)
[    0.000000]        .bss : 0xc0b81974 - 0xc0ce8338   (1435 kB)
[    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:339
[    0.000000] VIC @fc000000: id 0x00041192, vendor 0x41
[    0.000000] VIC @fc010000: id 0x00041192, vendor 0x41
[    0.000000] VIC @fc020000: id 0x00041192, vendor 0x41
[    0.000000] VIC @fc030000: id 0x00041192, vendor 0x41
[    0.000000] mult[140737]
[    0.000000] max_delta_ns[2937815369]
[    0.000000] min_delta_ns[30517]
[    0.000000] rate[32768]
[    0.000000] HZ[256]
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [ttySAC2] enabled
[    0.000000] allocated 3145728 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.531294] Calibrating delay loop... 795.12 BogoMIPS (lpj=1554432)
[    0.563632] pid_max: default: 32768 minimum: 301
[    0.568340] Security Framework initialized
[    0.572339] SELinux:  Initializing.
[    0.575853] Mount-cache hash table entries: 512
[    0.580594] Initializing cgroup subsys debug
[    0.584526] Initializing cgroup subsys cpuacct
[    0.588945] Initializing cgroup subsys memory
[    0.593293] Initializing cgroup subsys freezer
[    0.597715] CPU: Testing write buffer coherency: ok
[    0.602653] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[    0.611085] devtmpfs: initialized
[    0.615622] print_constraints: dummy: 
[    0.618048] NET: Registered protocol family 16
[    0.626824] ram_console: got buffer at 57f00000, size ff000
[    0.631091] ram_console: uncorrectable error in header
[    0.636037] ram_console: no valid data in buffer (sig = 0x3fe4e7ea)
[    0.653283] console [ram-1] enabled
[    0.655466] S5PC110 Hardware version : EVT1
[    0.659612] HWREV is 0xf
[    0.662531] S3C Power Management, Copyright 2004 Simtec Electronics
[    0.668286] pmstats at 57fff000
[    0.671486] invalid media device
[    0.674610] invalid media device
[    0.677820] Universal :SD Detect configuration
[    0.682548] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.688405] S5PV210: Initializing architecture
[    0.692833] s3c24xx-pwm s3c24xx-pwm.0: tin at 66700000, tdiv at 66700000, tin=divclk, base 0
[    0.700907] s3c24xx-pwm s3c24xx-pwm.1: tin at 66700000, tdiv at 66700000, tin=divclk, base 8
[    0.709373] s3c24xx-pwm s3c24xx-pwm.2: tin at 66700000, tdiv at 66700000, tin=divclk, base 12
[    0.717863] s3c24xx-pwm s3c24xx-pwm.3: tin at 66700000, tdiv at 66700000, tin=divclk, base 16
[    0.726993] print_constraints: pd_audio_supply: 5000 mV normal 
[    0.732282] print_constraints: pd_cam_supply: 5000 mV normal 
[    0.738038] print_constraints: pd_tv_supply: 5000 mV normal 
[    0.743619] print_constraints: pd_lcd_supply: 5000 mV normal 
[    0.749385] print_constraints: pd_g3d_supply: 5000 mV normal 
[    0.755056] print_constraints: pd_mfc_supply: 5000 mV normal 
[    0.766047] bio: create slab <bio-0> at 0
[    0.769267] SCSI subsystem initialized
[    0.772532] usbcore: registered new interface driver usbfs
[    0.777986] usbcore: registered new interface driver hub
[    0.783219] usbcore: registered new device driver usb
[    0.788503] i2c-gpio i2c-gpio.4: using pins 247 (SDA) and 246 (SCL)
[    0.794530] i2c-gpio i2c-gpio.5: using pins 203 (SDA) and 204 (SCL)
[    0.800900] max8998 6-0066: No interrupt base specified, no interrupts
[    0.808762] i2:10, buck2_idx:0
[    0.811817] print_constraints: VALIVE_1.2V: 1200 mV 
[    0.815931] print_constraints: VUSB_1.1V: 1100 mV 
[    0.821161] print_constraints: VADC_3.3V: 3300 mV 
[    0.825461] print_constraints: VTF_2.8V: 2800 mV 
[    0.830140] print_constraints: CP_RTC_1.8V: 1800 mV 
[    0.835144] print_constraints: VLCD_1.8V: 1800 mV 
[    0.839869] print_constraints: VUSB_3.3V: 3300 mV 
[    0.845123] print_constraints: VCC_2.8V_PDA: 2800 mV 
[    0.849646] print_constraints: CAM_AF_3.0V: 3000 mV 
[    0.854584] print_constraints: CAM_SENSOR_CORE_1.2V: 1200 mV 
[    0.860310] print_constraints: VGA_VDDIO_2.8V: 2800 mV 
[    0.865498] print_constraints: VGA_DVDD_1.8V: 1800 mV 
[    0.870675] print_constraints: CAM_ISP_HOST_2.8V: 2800 mV 
[    0.876076] print_constraints: VGA_AVDD_2.8V: 2800 mV 
[    0.881262] print_constraints: VCC_3.0V_LCD: 3000 mV 
[    0.886030] print_constraints: VDD_ARM: 750 <--> 1500 mV at 1250 mV 
[    0.892421] print_constraints: VDD_INT: 750 <--> 1500 mV at 1100 mV 
[    0.899135] print_constraints: VCC_1.8V: 1800 mV 
[    0.903429] print_constraints: CAM_ISP_CORE_1.2V: 1200 mV 
[    0.908564] print_constraints: 32KHz CP: 
[    0.912667] i2c i2c-6: Failed to register i2c client rtc_max8998 at 0x06 (-16)
[    0.919629] i2c i2c-6: Can't create device at 0x06
[    0.924461] i2c-gpio i2c-gpio.6: using pins 206 (SDA) and 209 (SCL)
[    0.930763] i2c-gpio i2c-gpio.7: using pins 201 (SDA) and 202 (SCL)
[    0.937064] i2c-gpio i2c-gpio.9: using pins 245 (SDA) and 244 (SCL)
[    0.943253] i2c-gpio i2c-gpio.11: using pins 114 (SDA) and 98 (SCL)
[    0.949544] i2c-gpio i2c-gpio.12: using pins 173 (SDA) and 172 (SCL)
[    0.955878] i2c-gpio i2c-gpio.10: using pins 197 (SDA) and 198 (SCL)
[    0.962207] s3c-i2c s3c2440-i2c.0: i2c-0: S3C I2C adapter
[    0.967564] s3c-i2c s3c2440-i2c.1: i2c-1: S3C I2C adapter
[    0.972915] s3c-i2c s3c2440-i2c.2: i2c-2: S3C I2C adapter
[    0.978407] Advanced Linux Sound Architecture Driver Version 1.0.24.
[    0.984832] Bluetooth: Core ver 2.16
[    0.988025] NET: Registered protocol family 31
[    0.992488] Bluetooth: HCI device and connection manager initialized
[    0.998744] Bluetooth: HCI socket layer initialized
[    1.003658] Bluetooth: L2CAP socket layer initialized
[    1.008642] Bluetooth: SCO socket layer initialized
[    1.014024] Switching to clocksource clock_source_systimer
[    1.018976] cfg80211: Calling CRDA to update world regulatory domain
[    1.027299] Switched to NOHz mode on CPU #0
[    1.043547] NET: Registered protocol family 2
[    1.046695] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    1.054078] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    1.060987] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    1.067302] TCP: Hash tables configured (established 16384 bind 16384)
[    1.073699] TCP reno registered
[    1.076755] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.082636] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.089052] NET: Registered protocol family 1
[    1.093395] Trying to unpack rootfs image as initramfs...
[    1.155003] Freeing initrd memory: 1048K
[    1.157686] PMU: registered new PMU device of type 0
[    1.162939] clk_get: could not find clock emu_src_ck for dev s5pv210_etb_device+0x0/0x100 (etb)
[    1.330117] wake enabled for irq 165
[    1.332390] wake disabled for irq 165
[    1.336369] S5PV210 ADC driver, (c) 2010 Samsung Electronics
[    1.342015] Loaded driver for PL330 DMAC-0 s3c-pl330
[    1.346520]  DBUFF-64x8bytes Num_Chans-8 Num_Peri-2 Num_Events-32
[    1.352710] Loaded driver for PL330 DMAC-1 s3c-pl330
[    1.357520]  DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[    1.363722] Loaded driver for PL330 DMAC-2 s3c-pl330
[    1.368526]  DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[    1.374838] audit: initializing netlink socket (disabled)
[    1.379995] type=2000 audit(0.753:1): initialized
[    1.385473] ashmem: initialized
[    1.395722] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    1.400858] ROMFS MTD (C) 2007 Red Hat, Inc.
[    1.404789] fuse init (API version 7.16)
[    1.408914] yaffs: yaffs built Jun 15 2019 20:55:54 Installing.
[    1.414467] msgmni has been set to 742
[    1.418166] SELinux:  Registering netfilter hooks
[    1.424338] io scheduler noop registered
[    1.426919] io scheduler deadline registered
[    1.431176] io scheduler row registered (default)
[    1.435887] io scheduler cfq registered
[    1.440483] MDNIE  INIT ..........
[    1.442968] S3C MDNIE Driver, (c) 2010 Samsung Electronics
[    1.448537] MDNIE  INIT SUCCESS Addr : 0xe8082000
[    1.453122] IELCD  INIT ..........
[    1.456500] S3C IELCD Driver, (c) 2010 Samsung Electronics
[    1.462031] IELCD  INIT SUCCESS Addr : 0xe8090000
[    1.467267] s3cfb s3cfb: [fb2] dma: 0x4c8bf000, cpu: 0xe9000000, size: 0x00a41000
[    1.485726] FIMD src sclk = 166750000
[    1.488068] s3cfb s3cfb: pixclock adjusted from 39019 to 41979
[    1.493879] [mDNIe] mDNIe_tuning_initialize: addr(0x84), data(0x0)  
[    1.500137] [mDNIe] mDNIe_tuning_initialize: addr(0x90), data(0x0)  
[    1.506525] [mDNIe] mDNIe_tuning_initialize: addr(0x94), data(0xfff)  
[    1.512958] [mDNIe] mDNIe_tuning_initialize: addr(0x98), data(0x5c)  
[    1.519435] [mDNIe] mDNIe_tuning_initialize: addr(0x9c), data(0x10)  
[    1.525849] [mDNIe] mDNIe_tuning_initialize: addr(0xac), data(0x0)  
[    1.532108] [mDNIe] mDNIe_tuning_initialize: addr(0xb4), data(0x3ff)  
[    1.538675] [mDNIe] mDNIe_Set_Mode: current_mDNIe_UI(6), current_mDNIe_OutDoor_OnOff(0)  
[    1.546792] s3cfb s3cfb: registered successfully
[    1.577173] s3cfb_late_resume is called
[    1.581261] FIMD src sclk = 166750000
[    1.583518] s3cfb s3cfb: pixclock adjusted from 41979 to 41979
[    1.589407] [mDNIe] mDNIe_tuning_initialize: addr(0x84), data(0x0)  
[    1.595728] [mDNIe] mDNIe_tuning_initialize: addr(0x90), data(0x0)  
[    1.601991] [mDNIe] mDNIe_tuning_initialize: addr(0x94), data(0xfff)  
[    1.608553] [mDNIe] mDNIe_tuning_initialize: addr(0x98), data(0x5c)  
[    1.614900] [mDNIe] mDNIe_tuning_initialize: addr(0x9c), data(0x10)  
[    1.621378] [mDNIe] mDNIe_tuning_initialize: addr(0xac), data(0x0)  
[    1.627645] [mDNIe] mDNIe_tuning_initialize: addr(0xb4), data(0x3ff)  
[    1.634204] [mDNIe] mDNIe_Set_Mode: current_mDNIe_UI(6), current_mDNIe_OutDoor_OnOff(0)  
[    1.685585] s3cfb_late_resume is complete
[    1.688616] s5pv210-uart.0: s3c2410_serial0 at MMIO 0xe2900000 (irq = 16) is a S3C6400/10
[    1.705151] s5pv210-uart.1: s3c2410_serial1 at MMIO 0xe2900400 (irq = 20) is a S3C6400/10
[    1.720770] s5pv210-uart.2: s3c2410_serial2 at MMIO 0xe2900800 (irq = 24) is a S3C6400/10
[    1.736395] s5pv210-uart.3: s3c2410_serial3 at MMIO 0xe2900c00 (irq = 28) is a S3C6400/10
[    1.754572] PA FB = 0x4C8BF000, bits per pixel = 32
[    1.758147] screen width=480 height=800 va=0xdc8bf000 pa=0x4c8bf000
[    1.764370] xres_virtual = 480, yres_virtual = 5600, xoffset = 0, yoffset = 0
[    1.771480] fb_size=10752000
[    1.774251] Back frameBuffer[0].VAddr=dca36000 PAddr=4ca36000 size=1536000
[    1.781111] Back frameBuffer[1].VAddr=dcbad000 PAddr=4cbad000 size=1536000
[    1.788037] Video Y Buffer[0].VAddr=dcd24000 PAddr=4cd24000 size=921600
[    1.794607] Video Y Buffer[1].VAddr=dce05000 PAddr=4ce05000 size=921600
[    1.801128] Video Y Buffer[2].VAddr=dcee6000 PAddr=4cee6000 size=921600
[    1.807783] Video UV Buffer[0].VAddr=dcfc7000 PAddr=4cfc7000 size=462848
[    1.814386] Video UV Buffer[1].VAddr=dd038000 PAddr=4d038000 size=462848
[    1.821125] Video UV Buffer[2].VAddr=dd0a9000 PAddr=4d0a9000 size=462848
[    1.831979] brd: module loaded
[    1.835767] loop: module loaded
[    1.837543] Android kernel panic handler initialized (bind=kpanic)
[    1.843744] Loading pn544 driver
[    1.846968] sec_jack_probe : Registering jack driver
[    1.852074] wake enabled for irq 38
[    1.855372] sec_jack_detect_irq_thread
[    1.858843] sec_jack_set_micbias_state: HWREV=15, on=1
[    1.864129] sec_jack_init_jack_state
[    1.867562] sec_jack_set_micbias_state: HWREV=15, on=1
[    1.872783] handle_jack_not_inserted
[    1.876405] sec_jack_set_micbias_state: HWREV=15, on=0
[    1.881461] sec_jack_set_micbias_state: HWREV=15, on=0
[    1.887874] wake enabled for irq 167
[    1.890576] fsa9480 7-0025: dev1: 0x0, dev2: 0x4
[    1.894848] i2c-core: driver [fsa9480] using legacy suspend method
[    1.900942] i2c-core: driver [fsa9480] using legacy resume method
[    1.909413] [MODEM] bp_irq() PHONE_ACTIVE_PIN=0
[    1.912648] wake enabled for irq 47
[    1.916030] wake enabled for irq 43
[    1.920275] Muxed OneNAND 1024MB 1.8V 16-bit (0x60)
[    1.924430] cg2900_devices_init
[    1.927273] cg2900_devices_disable_chip-PDB*PWR
[    1.932828] OneNAND version = 0x0031
[    1.935591] Chip support all block unlock
[    1.939499] Chip has 4KiB pagesize
[    1.942863] Chip has cache program feature
[    1.947033] Scanning device for bad blocks
[    2.181679] determine_jack_type
[    2.183413] determine_jack_type : jack removed before detection complete
[    2.190159] handle_jack_not_inserted
[    2.193646] sec_jack_set_micbias_state: HWREV=15, on=0
[    2.198829] sec_jack_set_micbias_state: HWREV=15, on=0
[    5.344346] OneNAND eraseblock 4095 is an initial bad block
[    5.348601] 4 cmdlinepart partitions found on MTD device (null)
[    5.354421] Creating 4 MTD partitions on "(null)":
[    5.359250] 0x000001940000-0x000001980000 : "uboot-env"
[    5.365087] 0x000001980000-0x000002380000 : "boot"
[    5.369851] 0x000002380000-0x000002d80000 : "recovery"
[    5.375020] 0x000002d80000-0x00003eb00000 : "ubi"
[    5.381686] UBI: attaching mtd3 to ubi0
[    5.384180] UBI: physical eraseblock size:   262144 bytes (256 KiB)
[    5.390396] UBI: logical eraseblock size:    253952 bytes
[    5.395805] UBI: smallest flash I/O unit:    4096
[    5.400420] UBI: VID header offset:          4096 (aligned 4096)
[    5.406462] UBI: data offset:                8192
[    5.533345] onenand_wait: correctable ECC error = 0x5555
[    5.559110] onenand_wait: correctable ECC error = 0x5555
[    5.640840] onenand_wait: correctable ECC error = 0x5555
[    6.524289] onenand_wait: correctable ECC error = 0x5555
[    6.588351] UBI: max. sequence number:       7248
[    6.598592] UBI: attached mtd3 to ubi0
[    6.601043] UBI: MTD device name:            "ubi"
[    6.605716] UBI: MTD device size:            957 MiB
[    6.610723] UBI: number of good PEBs:        3830
[    6.615337] UBI: number of bad PEBs:         0
[    6.619752] UBI: number of corrupted PEBs:   0
[    6.624239] UBI: max. allowed volumes:       128
[    6.628769] UBI: wear-leveling threshold:    4096
[    6.633510] UBI: number of internal volumes: 1
[    6.637864] UBI: number of user volumes:     5
[    6.642303] UBI: available PEBs:             0
[    6.646775] UBI: total number of reserved PEBs: 3830
[    6.651642] UBI: number of PEBs reserved for bad PEB handling: 38
[    6.657774] UBI: max/mean erase counter: 1079/2
[    6.662216] UBI: image sequence number:  405512439
[    6.667056] UBI: background thread "ubi_bgt0d" started, PID 52
[    6.763726] tl2796: c0, b-6900cd33, got v 2065000, factory wants 2065000
[    6.769100] tl2796: c1, b-78b5a29d, got v 2072000, factory wants 2072000
[    6.775710] tl2796: c2, b-979fad80, got v 1596000, factory wants 1596000
[    6.923914] tl2796_probe successfully proved
[    6.926960] PPP generic driver version 2.4.2
[    6.931240] PPP Deflate Compression module registered
[    6.936072] PPP BSD Compression module registered
[    6.941330] PPP MPPE Compression module registered
[    6.945607] NET: Registered protocol family 24
[    6.951389] tun: Universal TUN/TAP device driver, 1.6
[    6.955119] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    6.961513] s3c-udc : S3C HS USB Device Controller Driver, (c) 2008-2009 Samsung Electronics
[    6.961522] s3c-udc : version 15 March 2009 (DMA Mode)
[    6.974808] usbcore: registered new interface driver xpad
[    6.980207] usbcore: registered new interface driver usb_acecad
[    6.985988] acecad: v3.2:USB Acecad Flair tablet driver
[    6.991289] usbcore: registered new interface driver aiptek
[    6.996729] aiptek: v2.3 (May 2, 2007):Aiptek HyperPen USB Tablet Driver (Linux 2.6.x)
[    7.004684] aiptek: Bryan W. Headley/Chris Atenasio/Cedric Brun/Rene van Paassen
[    7.012085] usbcore: registered new interface driver gtco
[    7.017353] GTCO usb driver version: 2.00.0006
[    7.021709] usbcore: registered new interface driver hanwang
[    7.027443] usbcore: registered new interface driver kbtab
[    7.032930] kbtab: v0.0.2:USB KB Gear JamStudio Tablet driver
[    7.038627] usbcore: registered new interface driver wacom
[    7.044110] wacom: v1.52:USB Wacom tablet driver
[    7.048855] input: mxt224_ts_input as /devices/virtual/input/input0
[    7.095608] Atmel MXT224 2-004a: family = 0x80, variant = 0x1, version = 0x16, build = 171
[    7.178193] bma023 5-0038: bma023 found
[    7.181188] bma023 5-0038: al_version=2, ml_version=1
[    7.210045] input: accelerometer_sensor as /devices/virtual/input/input1
[    7.215806] input: magnetic_sensor as /devices/virtual/input/input2
[    7.221848] input: raw_magnetic_sensor as /devices/virtual/input/input3
[    7.233061] yas529 12-002e: [init] 0 DeviceID is 86 40
[    7.250710] i2c-core: driver [yas529] using legacy suspend method
[    7.255478] i2c-core: driver [yas529] using legacy resume method
[    7.261496] gp2a: proximity val = 0
[    7.265084] input: proximity as /devices/virtual/input/input4
[    7.270867] input: lightsensor-level as /devices/virtual/input/input5
[    7.277519] input: orientation_sensor as /devices/virtual/input/input6
[    7.283729] wake enabled for irq 166
[    7.287133] wake enabled for irq 170
[    7.290599] wake enabled for irq 169
[    7.294146] GPIO Input Driver: Start gpio inputs for aries-keypad in interrupt mode
[    7.301980] input: aries-keypad as /devices/virtual/input/input7
[    7.308264] max8998-rtc max8998-rtc: RTC CHIP NAME: max8998-rtc
[    7.313749] S3C24XX RTC, (c) 2004,2006 Simtec Electronics
[    7.319772] s3c-rtc s3c2410-rtc: rtc disabled, re-enabling
[    7.324566] s3c-rtc s3c2410-rtc: rtc disabled, re-enabling
[    7.329943] s3c-rtc s3c2410-rtc: rtc disabled, re-enabling
[    7.335462] s3c-rtc s3c2410-rtc: rtc disabled, re-enabling
[    7.341066] using rtc device, s3c, for alarms
[    7.345113] s3c-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
[    7.351302] i2c /dev entries driver
[    7.355961] lirc_dev: IR Remote Control driver registered, major 251 
[    7.361141] IR NEC protocol handler initialized
[    7.365705] IR RC5(x) protocol handler initialized
[    7.370399] IR RC6 protocol handler initialized
[    7.374905] IR JVC protocol handler initialized
[    7.379476] IR Sony protocol handler initialized
[    7.384007] IR RC5 (streamzap) protocol handler initialized
[    7.389615] IR LIRC bridge handler initialized
[    7.393968] Linux video capture interface: v2.00
[    7.398687] mfc_init: <6>S5PC110 MFC Driver, (c) 2009 Samsung Electronics
[    7.398694] 
[    7.407181] S3C JPEG Driver, (c) 2007 Samsung Electronics
[    7.413617] JPEG driver for S5PV210
[    7.416214] i2c-core: driver [s5p_ddc] using legacy suspend method
[    7.421941] i2c-core: driver [s5p_ddc] using legacy resume method
[    7.429556] max17040 9-0036: MAX17040 Fuel-Gauge Ver 03
[    7.434260] device-mapper: uevent: version 1.0.3
[    7.438344] device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com
[    7.446579] Bluetooth: HCI UART driver ver 2.2
[    7.450804] Bluetooth: HCI H4 protocol initialized
[    7.455649] [imoseyon] ondemandx enter
[    7.459550] cpuidle: using governor ladder
[    7.463450] cpuidle: using governor menu
[    7.467371] sdhci: Secure Digital Host Controller Interface driver
[    7.473423] sdhci: Copyright(c) Pierre Ossman
[    7.477848] s3c-sdhci s3c-sdhci.1: clock source 0: hsmmc (133400000 Hz)
[    7.484424] s3c-sdhci s3c-sdhci.1: clock source 2: sclk_mmc (47642857 Hz)
[    7.491666] mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.1] using ADMA
[    7.498173] s3c-sdhci s3c-sdhci.2: clock source 0: hsmmc (133400000 Hz)
[    7.504786] s3c-sdhci s3c-sdhci.2: clock source 2: sclk_mmc (47642857 Hz)
[    7.512650] mmc1: SDHCI controller on samsung-hsmmc [s3c-sdhci.2] using ADMA
[    7.520725] usbcore: registered new interface driver usbhid
[    7.525014] usbhid: USB HID core driver
[    7.532238] logger: created 256K log 'log_main'
[    7.535493] logger: created 256K log 'log_events'
[    7.540227] logger: created 256K log 'log_radio'
[    7.544744] logger: created 256K log 'log_system'
[    7.550494] zram: num_devices not specified. Using default: 1
[    7.555052] zram: Creating 1 devices ...
[    7.560331] WM8994 Audio Codec 0.1
[    7.577060] wm8994_extensions: initializing driver v10
[    7.588971] s3c_idma_preallocate_buffer:  VA-e83c0000  PA-C0000000  163840bytes
[    7.595226] asoc: WM8994 PAIFRX <-> samsung-i2s.0 mapping ok
[    7.604020] ALSA device list:
[    7.605645]   #0: smdkc110
[    7.608570] oprofile: using arm/armv7
[    7.612197] GACT probability NOT on
[    7.615409] Mirror/redirect action on
[    7.619084] u32 classifier
[    7.621713]     Actions configured
[    7.626122] Netfilter messages via NETLINK v0.30.
[    7.629899] nf_conntrack version 0.5.0 (5943 buckets, 23772 max)
[    7.636564] ctnetlink v0.93: registering with nfnetlink.
[    7.644264] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[    7.649948] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[    7.656066] xt_time: kernel timezone is -0000
[    7.661604] ip_tables: (C) 2000-2006 Netfilter Core Team
[    7.666813] arp_tables: (C) 2002 David S. Miller
[    7.670175] TCP cubic registered
[    7.673300] Initializing XFRM netlink socket
[    7.678458] NET: Registered protocol family 10
[    7.695206] Mobile IPv6
[    7.696275] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    7.701961] IPv6 over IPv4 tunneling driver
[    7.710600] NET: Registered protocol family 17
[    7.713743] NET: Registered protocol family 15
[    7.718180] Bluetooth: RFCOMM TTY layer initialized
[    7.723007] Bluetooth: RFCOMM socket layer initialized
[    7.728123] Bluetooth: RFCOMM ver 1.11
[    7.731778] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    7.737137] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    7.743096] NET: Registered protocol family 35
[    7.747574] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2
[    7.755013] ThumbEE CPU extension supported.
[    7.759683] s5pv210_cpufreq_init: S5PV210 cpu-freq driver
[    7.768451] regulator_init_complete: VUSB_3.3V: disabling
[    7.773506] regulator_init_complete: pd_mfc_supply: disabling
[    7.778214] regulator_init_complete: pd_tv_supply: disabling
[    7.784855] mmc1: new high speed SDHC card at address e9a0
[    7.789259] regulator_init_complete: pd_cam_supply: disabling
[    7.795318] mmcblk0: mmc1:e9a0 SU04G 3.69 GiB 
[    7.800023] input: cypress-touchkey as /devices/virtual/input/input8
[    7.805861]  mmcblk0: p1 p2
[    7.838452] cypress_touchkey_driver 10-0020: cypress_touchkey_probe: hardware rev1 = 0xf, rev2 = 0x3
[    7.846799] s3c-rtc s3c2410-rtc: rtc disabled, re-enabling
[    7.851678] s3c-rtc s3c2410-rtc: setting system clock to 2019-05-17 19:15:29 UTC (1558120529)
[    7.861590] FIMC0 registered successfully
[    7.865415] FIMC1 registered successfully
[    7.869433] FIMC2 registered successfully
[    7.872191] S5P TVOUT Driver, (c) 2010 Samsung Electronics
[    7.877937] clk_get: could not find clock mout_vpll_src for dev s5p_device_tvout+0x8/0xd8 (s5p-tvout)
[    7.886871] failed to find clock "mout_vpll_src"
[    7.891522] s5p-tvout s5p-tvout: hpd status: cable removed/not connected
[    7.898334] s5p_tv_probe TV Probing is done
[    7.902359] max8998_charger_probe : MAX8998 Charger Driver Loading
[    7.910094] max8998_charger_probe : pmic interrupt registered
[    7.915268] check_lpm_charging_mode : lpm_charging_mode(0)
[    7.920325] wake enabled for irq 39
[    7.927651] Freeing init memory: 204K
mount: mounting configfs on /config failed: No such device
### postmarketOS initramfs ###
NOTE: Waiting 10 seconds for the framebuffer /dev/fb0.
If your device does not have a framebuffer, disable this with:
no_framebuffer=true in <https://postmarketos.org/deviceinfo>
Setting framebuffer mode to: U:480x800p-59
Setup usb network
ifconfig: SIOCSIFADDR: No such device
ifconfig: SIOCSIFADDR: No such device
ifconfig: SIOCSIFADDR: No such device
Start the dhcpcd daemon (forks into background)
...

which looks very similar. Wondering if there's still something going wrong with the initramfs - I had a difficult time getting the kernel to load the initramfs and had to resort to using the Android boot.img format.

PabloPL commented 5 years ago

And here is mine

[    0.000000] Linux version 3.0.101 (pmos@pablo-laptop) (gcc version 4.9.2 (postmarketOS 4.9.2) ) #1-postmarketOS PREEMPT Mon Jun 17 18:40:29 UTC 2019
[    0.000000] CPU: ARMv7 Processor [412fc082] revision 2 (ARMv7), cr=10c53c7d
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: aries
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] CPU S5PV210/S5PC110 (id 0x43110222)
[    0.000000] S3C24XX Clocks, Copyright 2004 Simtec Electronics
[    0.000000] s3c24xx_register_clock: new clock sclk_csis, id -1, dev   (null) uses same enable bit as mout_csis, id -1, dev   (null)
[    0.000000] s3c24xx_register_clock: new clock lcd, id -1, dev   (null) uses same enable bit as sclk_fimd, id -1, dev   (null)
[    0.000000] s3c24xx_register_clock: new clock mfc, id -1, dev   (null) uses same enable bit as sclk_mfc, id -1, dev   (null)
[    0.000000] s3c24xx_register_clock: new clock iis, id 0, dev   (null) uses same enable bit as i2s_v50, id 0, dev   (null)
[    0.000000] S5PV210: PLL settings, A=800000000, M=667000000, E=96000000 V=54000000
[    0.000000] S5PV210: ARMCLK=800000000, HCLKM=200000000, HCLKD=166750000
[    0.000000] HCLKP=133400000, PCLKM=100000000, PCLKD=83375000, PCLKP=66700000
[    0.000000] sclk_dmc: source is mout_mpll (1), rate is 166750000
[    0.000000] sclk_onenand: source is hclk_dsys (1), rate is 166750000
[    0.000000] sclk: source is mout_mpll (6), rate is 133400000
[    0.000000] sclk: source is mout_mpll (6), rate is 66700000
[    0.000000] sclk: source is mout_mpll (6), rate is 66700000
[    0.000000] sclk: source is mout_mpll (6), rate is 66700000
[    0.000000] sclk_mixer: source is sclk_dac (0), rate is 54000000
[    0.000000] sclk_fimc: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_fimc: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_fimc: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_cam: source is xusbxti (1), rate is 24000000
[    0.000000] sclk_cam: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_fimd: source is mout_mpll (6), rate is 667000000
[    0.000000] sclk_mmc: source is mout_mpll (6), rate is 51307692
[    0.000000] sclk_mmc: source is mout_mpll (6), rate is 47642857
[    0.000000] sclk_mmc: source is mout_mpll (6), rate is 47642857
[    0.000000] sclk_mmc: source is mout_mpll (6), rate is 47642857
[    0.000000] sclk_mfc: source is sclk_a2m (0), rate is 200000000
[    0.000000] sclk_fimg2d: source is sclk_a2m (0), rate is 200000000
[    0.000000] sclk: source is mout_mpll (1), rate is 66700000
[    0.000000] sclk_csis: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_spi: source is mout_epll (7), rate is 96000000
[    0.000000] sclk_spi: source is mout_epll (7), rate is 96000000
[    0.000000] sclk_pwi: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_pwm: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_mdnie: source is mout_mpll (6), rate is 166750000
[    0.000000] sclk_mdnie_pwm: source is ext_xtal (0), rate is 24000000
[    0.000000] s5p: 14680064 bytes system memory reserved for mfc at 0x340f9000, 0-bank base(0x340f9000)
[    0.000000] s5p: 22020096 bytes system memory reserved for mfc at 0x4eb00000, 1-bank base(0x4eb00000)
[    0.000000] s5p: 12582912 bytes system memory reserved for fimc0 at 0x4df00000, 1-bank base(0x4df00000)
[    0.000000] s5p: 12582912 bytes system memory reserved for fimc2 at 0x4d300000, 1-bank base(0x4d300000)
[    0.000000] s5p: 937984 bytes system memory reserved for jpeg at 0x34014000, 0-bank base(0x34014000)
[    0.000000] s5p: 15360000 bytes system memory reserved for fimd at 0x4c45a000, 1-bank base(0x4c45a000)
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 98167
[    0.000000] Kernel command line: ubi.mtd=ubi mtdparts=b0600000.onenand:256k@25856k(uboot-env),10240k(boot),10240k(recovery),466432k(ubi) console=ttySAC2,115200 PMOS_NO_OUTPUT_REDIRECT 
[    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: 64MB 1MB 196MB 127MB = 388MB total
[    0.000000] Memory: 379324k/455656k available, 18456k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xff000000 - 0xffe00000   (  14 MB)
[    0.000000]     vmalloc : 0xe8000000 - 0xfc000000   ( 320 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe7f00000   ( 639 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc003b000   ( 204 kB)
[    0.000000]       .text : 0xc003b000 - 0xc0b18000   (11124 kB)
[    0.000000]       .data : 0xc0b18000 - 0xc0b7dfc0   ( 408 kB)
[    0.000000]        .bss : 0xc0b7dfe4 - 0xc0ce4ab8   (1435 kB)
[    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:339
[    0.000000] VIC @fc000000: id 0x00041192, vendor 0x41
[    0.000000] VIC @fc010000: id 0x00041192, vendor 0x41
[    0.000000] VIC @fc020000: id 0x00041192, vendor 0x41
[    0.000000] VIC @fc030000: id 0x00041192, vendor 0x41
[    0.000000] mult[140737]
[    0.000000] max_delta_ns[2937815369]
[    0.000000] min_delta_ns[30517]
[    0.000000] rate[32768]
[    0.000000] HZ[256]
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [ttySAC2] enabled
[    0.000000] allocated 3145728 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.531199] Calibrating delay loop... 795.12 BogoMIPS (lpj=1554432)
[    0.563623] pid_max: default: 32768 minimum: 301
[    0.568331] Security Framework initialized
[    0.572331] SELinux:  Initializing.
[    0.575847] Mount-cache hash table entries: 512
[    0.580589] Initializing cgroup subsys debug
[    0.584516] Initializing cgroup subsys cpuacct
[    0.588936] Initializing cgroup subsys memory
[    0.593284] Initializing cgroup subsys freezer
[    0.597706] CPU: Testing write buffer coherency: ok
[    0.602641] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[    0.611073] devtmpfs: initialized
[    0.615641] print_constraints: dummy: 
[    0.618066] NET: Registered protocol family 16
[    0.626893] ram_console: got buffer at 57f00000, size ff000
[    0.631136] ram_console: error in header, 3
[    0.635152] ram_console: no valid data in buffer (sig = 0x00000000)
[    0.652410] console [ram-1] enabled
[    0.654599] S5PC110 Hardware version : EVT1
[    0.658737] HWREV is 0xe
[    0.661646] S3C Power Management, Copyright 2004 Simtec Electronics
[    0.667408] pmstats at 57fff000
[    0.670620] invalid media device
[    0.673734] invalid media device
[    0.676944] Universal :SD Detect configuration
[    0.681834] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.687562] S5PV210: Initializing architecture
[    0.691876] s3c24xx-pwm s3c24xx-pwm.0: tin at 66700000, tdiv at 66700000, tin=divclk, base 0
[    0.700096] s3c24xx-pwm s3c24xx-pwm.1: tin at 66700000, tdiv at 66700000, tin=divclk, base 8
[    0.708497] s3c24xx-pwm s3c24xx-pwm.2: tin at 66700000, tdiv at 66700000, tin=divclk, base 12
[    0.716988] s3c24xx-pwm s3c24xx-pwm.3: tin at 66700000, tdiv at 66700000, tin=divclk, base 16
[    0.726053] print_constraints: pd_audio_supply: 5000 mV normal 
[    0.731485] print_constraints: pd_cam_supply: 5000 mV normal 
[    0.737110] print_constraints: pd_tv_supply: 5000 mV normal 
[    0.742794] print_constraints: pd_lcd_supply: 5000 mV normal 
[    0.748441] print_constraints: pd_g3d_supply: 5000 mV normal 
[    0.754177] print_constraints: pd_mfc_supply: 5000 mV normal 
[    0.764827] bio: create slab <bio-0> at 0
[    0.768055] SCSI subsystem initialized
[    0.771318] usbcore: registered new interface driver usbfs
[    0.776760] usbcore: registered new interface driver hub
[    0.781993] usbcore: registered new device driver usb
[    0.787289] i2c-gpio i2c-gpio.4: using pins 247 (SDA) and 246 (SCL)
[    0.793301] i2c-gpio i2c-gpio.5: using pins 203 (SDA) and 204 (SCL)
[    0.799674] max8998 6-0066: No interrupt base specified, no interrupts
[    0.807528] i2:10, buck2_idx:0
[    0.810596] print_constraints: VALIVE_1.2V: 1200 mV 
[    0.814729] print_constraints: VUSB_1.1V: 1100 mV 
[    0.819937] print_constraints: VADC_3.3V: 3300 mV 
[    0.824328] print_constraints: VTF_2.8V: 2800 mV 
[    0.828931] print_constraints: VLCD_1.8V: 1800 mV 
[    0.833758] print_constraints: VUSB_3.3V: 3300 mV 
[    0.838922] print_constraints: VCC_2.8V_PDA: 2800 mV 
[    0.843551] print_constraints: CAM_AF_3.0V: 3000 mV 
[    0.848428] print_constraints: CAM_SENSOR_CORE_1.2V: 1200 mV 
[    0.854155] print_constraints: VGA_VDDIO_2.8V: 2800 mV 
[    0.859436] print_constraints: VGA_DVDD_1.8V: 1800 mV 
[    0.864461] print_constraints: CAM_ISP_HOST_2.8V: 2800 mV 
[    0.869992] print_constraints: VGA_AVDD_2.8V: 2800 mV 
[    0.875054] print_constraints: VCC_3.0V_LCD: 3000 mV 
[    0.879950] print_constraints: VDD_ARM: 750 <--> 1500 mV at 1200 mV 
[    0.886201] print_constraints: VDD_INT: 750 <--> 1500 mV at 1100 mV 
[    0.893030] print_constraints: VCC_1.8V: 1800 mV 
[    0.897211] print_constraints: CAM_ISP_CORE_1.2V: 1200 mV 
[    0.902478] print_constraints: 32KHz CP: 
[    0.906445] i2c i2c-6: Failed to register i2c client rtc_max8998 at 0x06 (-16)
[    0.913543] i2c i2c-6: Can't create device at 0x06
[    0.918241] i2c-gpio i2c-gpio.6: using pins 206 (SDA) and 209 (SCL)
[    0.924682] i2c-gpio i2c-gpio.7: using pins 201 (SDA) and 202 (SCL)
[    0.930847] i2c-gpio i2c-gpio.8: using pins 42 (SDA) and 43 (SCL)
[    0.936983] i2c-gpio i2c-gpio.9: using pins 245 (SDA) and 244 (SCL)
[    0.943154] i2c-gpio i2c-gpio.11: using pins 114 (SDA) and 98 (SCL)
[    0.949457] i2c-gpio i2c-gpio.12: using pins 173 (SDA) and 172 (SCL)
[    0.955792] i2c-gpio i2c-gpio.10: using pins 197 (SDA) and 198 (SCL)
[    0.962125] s3c-i2c s3c2440-i2c.0: i2c-0: S3C I2C adapter
[    0.967479] s3c-i2c s3c2440-i2c.1: i2c-1: S3C I2C adapter
[    0.972832] s3c-i2c s3c2440-i2c.2: i2c-2: S3C I2C adapter
[    0.978309] Advanced Linux Sound Architecture Driver Version 1.0.24.
[    0.984723] Bluetooth: Core ver 2.16
[    0.987937] NET: Registered protocol family 31
[    0.992401] Bluetooth: HCI device and connection manager initialized
[    0.998655] Bluetooth: HCI socket layer initialized
[    1.003569] Bluetooth: L2CAP socket layer initialized
[    1.008552] Bluetooth: SCO socket layer initialized
[    1.013928] Switching to clocksource clock_source_systimer
[    1.018890] cfg80211: Calling CRDA to update world regulatory domain
[    1.027294] Switched to NOHz mode on CPU #0
[    1.043417] NET: Registered protocol family 2
[    1.046561] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    1.053933] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    1.060858] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    1.067173] TCP: Hash tables configured (established 16384 bind 16384)
[    1.073569] TCP reno registered
[    1.076625] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.082504] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.088922] NET: Registered protocol family 1
[    1.093271] Trying to unpack rootfs image as initramfs...
[    1.154866] Freeing initrd memory: 1048K
[    1.157547] PMU: registered new PMU device of type 0
[    1.162784] clk_get: could not find clock emu_src_ck for dev s5pv210_etb_device+0x0/0x100 (etb)
[    1.330019] wake enabled for irq 165
[    1.332293] wake disabled for irq 165
[    1.336315] level device init
[    1.338958] S5PV210 ADC driver, (c) 2010 Samsung Electronics
[    1.344735] Loaded driver for PL330 DMAC-0 s3c-pl330
[    1.349370]  DBUFF-64x8bytes Num_Chans-8 Num_Peri-2 Num_Events-32
[    1.355563] Loaded driver for PL330 DMAC-1 s3c-pl330
[    1.360370]  DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[    1.366572] Loaded driver for PL330 DMAC-2 s3c-pl330
[    1.371374]  DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[    1.377686] audit: initializing netlink socket (disabled)
[    1.382844] type=2000 audit(0.753:1): initialized
[    1.388287] ashmem: initialized
[    1.398537] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    1.403718] ROMFS MTD (C) 2007 Red Hat, Inc.
[    1.407547] fuse init (API version 7.16)
[    1.411729] yaffs: yaffs built Jun 17 2019 18:45:27 Installing.
[    1.417289] msgmni has been set to 742
[    1.420977] SELinux:  Registering netfilter hooks
[    1.427156] io scheduler noop registered
[    1.429700] io scheduler deadline registered
[    1.433954] io scheduler row registered (default)
[    1.438785] io scheduler cfq registered
[    1.443234] MDNIE  INIT ..........
[    1.445822] S3C MDNIE Driver, (c) 2010 Samsung Electronics
[    1.451337] MDNIE  INIT SUCCESS Addr : 0xe8082000
[    1.455936] IELCD  INIT ..........
[    1.459381] S3C IELCD Driver, (c) 2010 Samsung Electronics
[    1.464781] IELCD  INIT SUCCESS Addr : 0xe8090000
[    1.470053] s3cfb s3cfb: [fb2] dma: 0x4c8bf000, cpu: 0xe9000000, size: 0x00a41000
[    1.488599] FIMD src sclk = 166750000
[    1.490931] s3cfb s3cfb: pixclock adjusted from 39019 to 41979
[    1.496745] [mDNIe] mDNIe_tuning_initialize: addr(0x84), data(0x0)  
[    1.503070] [mDNIe] mDNIe_tuning_initialize: addr(0x90), data(0x0)  
[    1.509326] [mDNIe] mDNIe_tuning_initialize: addr(0x94), data(0xfff)  
[    1.515891] [mDNIe] mDNIe_tuning_initialize: addr(0x98), data(0x5c)  
[    1.522237] [mDNIe] mDNIe_tuning_initialize: addr(0x9c), data(0x10)  
[    1.528715] [mDNIe] mDNIe_tuning_initialize: addr(0xac), data(0x0)  
[    1.534977] [mDNIe] mDNIe_tuning_initialize: addr(0xb4), data(0x3ff)  
[    1.541543] [mDNIe] mDNIe_Set_Mode: current_mDNIe_UI(6), current_mDNIe_OutDoor_OnOff(0)  
[    1.549724] s3cfb s3cfb: registered successfully
[    1.580983] s3cfb_late_resume is called
[    1.585079] FIMD src sclk = 166750000
[    1.587394] s3cfb s3cfb: pixclock adjusted from 41979 to 41979
[    1.593155] [mDNIe] mDNIe_tuning_initialize: addr(0x84), data(0x0)  
[    1.599540] [mDNIe] mDNIe_tuning_initialize: addr(0x90), data(0x0)  
[    1.605799] [mDNIe] mDNIe_tuning_initialize: addr(0x94), data(0xfff)  
[    1.612363] [mDNIe] mDNIe_tuning_initialize: addr(0x98), data(0x5c)  
[    1.618776] [mDNIe] mDNIe_tuning_initialize: addr(0x9c), data(0x10)  
[    1.625125] [mDNIe] mDNIe_tuning_initialize: addr(0xac), data(0x0)  
[    1.631521] [mDNIe] mDNIe_tuning_initialize: addr(0xb4), data(0x3ff)  
[    1.637950] [mDNIe] mDNIe_Set_Mode: current_mDNIe_UI(6), current_mDNIe_OutDoor_OnOff(0)  
[    1.689392] s3cfb_late_resume is complete
[    1.692425] s5pv210-uart.0: s3c2410_serial0 at MMIO 0xe2900000 (irq = 16) is a S3C6400/10
[    1.708960] s5pv210-uart.1: s3c2410_serial1 at MMIO 0xe2900400 (irq = 20) is a S3C6400/10
[    1.724581] s5pv210-uart.2: s3c2410_serial2 at MMIO 0xe2900800 (irq = 24) is a S3C6400/10
[    1.740202] s5pv210-uart.3: s3c2410_serial3 at MMIO 0xe2900c00 (irq = 28) is a S3C6400/10
[    1.758351] PA FB = 0x4C8BF000, bits per pixel = 32
[    1.761989] screen width=480 height=800 va=0xdc8bf000 pa=0x4c8bf000
[    1.768082] xres_virtual = 480, yres_virtual = 5600, xoffset = 0, yoffset = 0
[    1.775250] fb_size=10752000
[    1.778044] Back frameBuffer[0].VAddr=dca36000 PAddr=4ca36000 size=1536000
[    1.784954] Back frameBuffer[1].VAddr=dcbad000 PAddr=4cbad000 size=1536000
[    1.791747] Video Y Buffer[0].VAddr=dcd24000 PAddr=4cd24000 size=921600
[    1.798385] Video Y Buffer[1].VAddr=dce05000 PAddr=4ce05000 size=921600
[    1.804906] Video Y Buffer[2].VAddr=dcee6000 PAddr=4cee6000 size=921600
[    1.811496] Video UV Buffer[0].VAddr=dcfc7000 PAddr=4cfc7000 size=462848
[    1.818233] Video UV Buffer[1].VAddr=dd038000 PAddr=4d038000 size=462848
[    1.824835] Video UV Buffer[2].VAddr=dd0a9000 PAddr=4d0a9000 size=462848
[    1.835768] brd: module loaded
[    1.839525] loop: module loaded
[    1.841295] Android kernel panic handler initialized (bind=kpanic)
[    1.847503] Loading pn544 driver
[    1.850726] sec_jack_probe : Registering jack driver
[    1.855893] wake enabled for irq 38
[    1.859071] sec_jack_init_jack_state
[    1.862425] sec_jack_set_micbias_state: HWREV=14, on=1
[    1.867772] handle_jack_not_inserted
[    1.871257] sec_jack_set_micbias_state: HWREV=14, on=0
[    1.876435] sec_jack_set_micbias_state: HWREV=14, on=0
[    1.882800] wake enabled for irq 167
[    1.885434] fsa9480 7-0025: dev1: 0x8, dev2: 0x0
[    1.889728] i2c-core: driver [fsa9480] using legacy suspend method
[    1.895783] i2c-core: driver [fsa9480] using legacy resume method
[    1.901923] [modemctl_init]
[    1.904656] [modemctl_probe]
[    1.907591] modemctl xmm: modem_get_active
[    1.911633] wake enabled for irq 47
[    1.915025] modemctl xmm: cp 0 phone 0
[    1.918778] wake enabled for irq 171
[    1.922368] modemctl xmm: PHONE ACTIVE: 0
[    1.926312] [onedram_init]
[    1.929031] [onedram_probe]
[    1.932118] wake enabled for irq 43
[    1.935432] [svnet_init]
[    1.939010] Muxed OneNAND 512MB 1.8V 16-bit (0x50)
[    1.942523] OneNAND version = 0x013e
[    1.946107] Chip support all block unlock
[    1.950025] Chip has 4KiB pagesize
[    1.953408] Chip has cache program feature
[    1.957559] Scanning device for bad blocks
[    3.667908] OneNAND eraseblock 2047 is an initial bad block
[    3.672164] 4 cmdlinepart partitions found on MTD device (null)
[    3.677986] Creating 4 MTD partitions on "(null)":
[    3.682750] 0x000001940000-0x000001980000 : "uboot-env"
[    3.688713] 0x000001980000-0x000002380000 : "boot"
[    3.693429] 0x000002380000-0x000002d80000 : "recovery"
[    3.698565] 0x000002d80000-0x00001f500000 : "ubi"
[    3.704280] UBI: attaching mtd3 to ubi0
[    3.706817] UBI: physical eraseblock size:   262144 bytes (256 KiB)
[    3.712969] UBI: logical eraseblock size:    253952 bytes
[    3.718400] UBI: smallest flash I/O unit:    4096
[    3.723012] UBI: VID header offset:          4096 (aligned 4096)
[    3.729061] UBI: data offset:                8192
[    4.224035] UBI: max. sequence number:       0
[    4.227096] UBI error: ubi_read_volume_table: the layout volume was not found
[    4.234723] UBI error: ubi_init: cannot attach mtd3
[    4.330067] tl2796: c0, b-6f0d9480, got v 2037000, factory wants 2037000
[    4.335446] tl2796: c1, b-7daa9d08, got v 2051000, factory wants 2051000
[    4.342118] tl2796: c2, b-acf2be2b, got v 1498000, factory wants 1498000
[    4.490224] tl2796_probe successfully proved
[    4.493349] PPP generic driver version 2.4.2
[    4.497501] PPP Deflate Compression module registered
[    4.502376] PPP BSD Compression module registered
[    4.507687] PPP MPPE Compression module registered
[    4.511849] NET: Registered protocol family 24
[    4.517677] tun: Universal TUN/TAP device driver, 1.6
[    4.521324] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    4.527877] s3c-udc : S3C HS USB Device Controller Driver, (c) 2008-2009 Samsung Electronics
[    4.527886] s3c-udc : version 15 March 2009 (DMA Mode)
[    4.541173] usbcore: registered new interface driver xpad
[    4.546437] usbcore: registered new interface driver usb_acecad
[    4.552345] acecad: v3.2:USB Acecad Flair tablet driver
[    4.557527] usbcore: registered new interface driver aiptek
[    4.563086] aiptek: v2.3 (May 2, 2007):Aiptek HyperPen USB Tablet Driver (Linux 2.6.x)
[    4.570908] aiptek: Bryan W. Headley/Chris Atenasio/Cedric Brun/Rene van Paassen
[    4.578374] usbcore: registered new interface driver gtco
[    4.583709] GTCO usb driver version: 2.00.0006
[    4.587941] usbcore: registered new interface driver hanwang
[    4.593738] usbcore: registered new interface driver kbtab
[    4.599222] kbtab: v0.0.2:USB KB Gear JamStudio Tablet driver
[    4.604918] usbcore: registered new interface driver wacom
[    4.610400] wacom: v1.52:USB Wacom tablet driver
[    4.615108] input: mxt224_ts_input as /devices/virtual/input/input0
[    4.661923] Atmel MXT224 2-004a: family = 0x80, variant = 0x1, version = 0x16, build = 171
[    4.744556] bma023 5-0038: bma023 found
[    4.747494] bma023 5-0038: al_version=2, ml_version=1
[    4.776345] input: accelerometer_sensor as /devices/virtual/input/input1
[    4.782095] input: magnetic_sensor as /devices/virtual/input/input2
[    4.788210] input: raw_magnetic_sensor as /devices/virtual/input/input3
[    4.799371] yas529 12-002e: [init] 0 DeviceID is 86 40
[    4.817035] i2c-core: driver [yas529] using legacy suspend method
[    4.821739] i2c-core: driver [yas529] using legacy resume method
[    4.827889] gp2a: proximity val = 0
[    4.831328] input: proximity as /devices/virtual/input/input4
[    4.837184] input: lightsensor-level as /devices/virtual/input/input5
[    4.843844] input: orientation_sensor as /devices/virtual/input/input6
[    4.850124] wake enabled for irq 166
[    4.853376] wake enabled for irq 173
[    4.856955] wake enabled for irq 169
[    4.860556] wake enabled for irq 170
[    4.864024] GPIO Input Driver: Start gpio inputs for aries-keypad in interrupt mode
[    4.871853] input: aries-keypad as /devices/virtual/input/input7
[    4.878143] max8998-rtc max8998-rtc: RTC CHIP NAME: max8998-rtc
[    4.883623] S3C24XX RTC, (c) 2004,2006 Simtec Electronics
[    4.889653] s3c-rtc s3c2410-rtc: rtc disabled, re-enabling
[    4.894450] s3c-rtc s3c2410-rtc: rtc disabled, re-enabling
[    4.899819] s3c-rtc s3c2410-rtc: rtc disabled, re-enabling
[    4.905343] s3c-rtc s3c2410-rtc: rtc disabled, re-enabling
[    4.910952] using rtc device, s3c, for alarms
[    4.914926] s3c-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
[    4.921250] i2c /dev entries driver
[    4.925823] lirc_dev: IR Remote Control driver registered, major 251 
[    4.931088] IR NEC protocol handler initialized
[    4.935513] IR RC5(x) protocol handler initialized
[    4.940343] IR RC6 protocol handler initialized
[    4.944783] IR JVC protocol handler initialized
[    4.949294] IR Sony protocol handler initialized
[    4.953948] IR RC5 (streamzap) protocol handler initialized
[    4.959430] IR LIRC bridge handler initialized
[    4.963917] Linux video capture interface: v2.00
[    4.968554] mfc_init: <6>S5PC110 MFC Driver, (c) 2009 Samsung Electronics
[    4.968561] 
[    4.977053] S3C JPEG Driver, (c) 2007 Samsung Electronics
[    4.983243] JPEG driver for S5PV210
[    4.986010] i2c-core: driver [s5p_ddc] using legacy suspend method
[    4.991702] i2c-core: driver [s5p_ddc] using legacy resume method
[    5.003115] i2c-core: driver [Si4709] using legacy suspend method
[    5.007832] i2c-core: driver [Si4709] using legacy resume method
[    5.015422] max17040 9-0036: MAX17040 Fuel-Gauge Ver 02
[    5.020005] device-mapper: uevent: version 1.0.3
[    5.024298] device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com
[    5.032387] Bluetooth: HCI UART driver ver 2.2
[    5.036743] Bluetooth: HCI H4 protocol initialized
[    5.041450] [imoseyon] ondemandx enter
[    5.045460] cpuidle: using governor ladder
[    5.049321] cpuidle: using governor menu
[    5.053176] sdhci: Secure Digital Host Controller Interface driver
[    5.059352] sdhci: Copyright(c) Pierre Ossman
[    5.063722] s3c-sdhci s3c-sdhci.0: clock source 0: hsmmc (133400000 Hz)
[    5.070292] s3c-sdhci s3c-sdhci.0: clock source 2: sclk_mmc (51307692 Hz)
[    5.077458] mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.0] using ADMA
[    5.084106] s3c-sdhci s3c-sdhci.1: clock source 0: hsmmc (133400000 Hz)
[    5.090657] s3c-sdhci s3c-sdhci.1: clock source 2: sclk_mmc (47642857 Hz)
[    5.098503] mmc1: SDHCI controller on samsung-hsmmc [s3c-sdhci.1] using ADMA
[    5.104466] s3c-sdhci s3c-sdhci.2: clock source 0: hsmmc (133400000 Hz)
[    5.110956] s3c-sdhci s3c-sdhci.2: clock source 2: sclk_mmc (47642857 Hz)
[    5.117919] mmc2: SDHCI controller on samsung-hsmmc [s3c-sdhci.2] using ADMA
[    5.130230] usbcore: registered new interface driver usbhid
[    5.134453] usbhid: USB HID core driver
[    5.138547] logger: created 256K log 'log_main'
[    5.142932] logger: created 256K log 'log_events'
[    5.147516] logger: created 256K log 'log_radio'
[    5.152180] logger: created 256K log 'log_system'
[    5.156777] zram: num_devices not specified. Using default: 1
[    5.162491] zram: Creating 1 devices ...
[    5.168779] WM8994 Audio Codec 0.1
[    5.186365] wm8994_extensions: initializing driver v10
[    5.197354] s3c_idma_preallocate_buffer:  VA-e83c0000  PA-C0000000  163840bytes
[    5.203562] asoc: WM8994 PAIFRX <-> samsung-i2s.0 mapping ok
[    5.209362] ALSA device list:
[    5.211828]   #0: smdkc110
[    5.214706] oprofile: using arm/armv7
[    5.218515] GACT probability NOT on
[    5.221656] Mirror/redirect action on
[    5.225297] u32 classifier
[    5.228031]     Actions configured
[    5.231344] Netfilter messages via NETLINK v0.30.
[    5.236083] nf_conntrack version 0.5.0 (5943 buckets, 23772 max)
[    5.242868] ctnetlink v0.93: registering with nfnetlink.
[    5.247358] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[    5.254327] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[    5.260405] xt_time: kernel timezone is -0000
[    5.265987] ip_tables: (C) 2000-2006 Netfilter Core Team
[    5.270089] arp_tables: (C) 2002 David S. Miller
[    5.274625] TCP cubic registered
[    5.277708] Initializing XFRM netlink socket
[    5.282716] NET: Registered protocol family 10
[    5.287889] mmc0: new high speed MMC card at address 0001
[    5.295887] Mobile IPv6
[    5.296954] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    5.302421] mmcblk0: mmc0:0001 M8G4DD 7.65 GiB 
[    5.307569] IPv6 over IPv4 tunneling driver
[    5.311153]  mmcblk0: p1 p2
[    5.318696] NET: Registered protocol family 17
[    5.321752] NET: Registered protocol family 15
[    5.327361] Bluetooth: RFCOMM TTY layer initialized
[    5.331079] Bluetooth: RFCOMM socket layer initialized
[    5.336130] Bluetooth: RFCOMM ver 1.11
[    5.339854] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.348234] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    5.353060] NET: Registered protocol family 35
[    5.357323] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2
[    5.364868] ThumbEE CPU extension supported.
[    5.370386] s5pv210_cpufreq_init: S5PV210 cpu-freq driver
[    5.375719] regulator_init_complete: 32KHz CP: disabling
[    5.382999] regulator_init_complete: pd_mfc_supply: disabling
[    5.390529] regulator_init_complete: pd_tv_supply: disabling
[    5.394921] regulator_init_complete: pd_cam_supply: disabling
[    5.400814] input: cypress-touchkey as /devices/virtual/input/input8
[    5.436001] cypress_touchkey_driver 10-0020: cypress_touchkey_probe: hardware rev1 = 0xa9, rev2 = 0x3
[    5.445514] s3c-rtc s3c2410-rtc: rtc disabled, re-enabling
[    5.449743] s3c-rtc s3c2410-rtc: setting system clock to 2019-05-10 08:45:50 UTC (1557477950)
[    5.462616] FIMC0 registered successfully
[    5.466691] FIMC1 registered successfully
[    5.470578] FIMC2 registered successfully
[    5.474246] S5P TVOUT Driver, (c) 2010 Samsung Electronics
[    5.479129] clk_get: could not find clock mout_vpll_src for dev s5p_device_tvout+0x8/0xd8 (s5p-tvout)
[    5.487989] failed to find clock "mout_vpll_src"
[    5.492585] s5p-tvout s5p-tvout: hpd status: cable removed/not connected
[    5.502594] s5p_tv_probe TV Probing is done
[    5.505427] max8998_charger_probe : MAX8998 Charger Driver Loading
[    5.513368] max8998_charger_probe : pmic interrupt registered
[    5.518493] check_lpm_charging_mode : lpm_charging_mode(0)
[    5.523666] wake enabled for irq 39
1

-----------------------------------------------------------

   Samsung Primitive Bootloader (PBL) v3.0

   Copyright (C) Samsung Electronics Co., Ltd. 2006-2010

In my case i'm not seeing "Freeing init memory: 204K" on my device - so it couldn't found init process?

During install i've just

pmbootstrap install --no-fde --sdcard=/dev/sdb

without flasing any boot.img on my device. Now i'm just selecting it from extlinux menu.

xc-racer99 commented 5 years ago

In my case i'm not seeing "Freeing init memory: 204K" on my device - so it couldn't found init process?

During install i've just

pmbootstrap install --no-fde --sdcard=/dev/sdb

without flasing any boot.img on my device. Now i'm just selecting it from extlinux menu.

No, it looks like it found init (it would give either couldn't find init or attempted to kill init message if it couldn't find it).

That's the same command I'm using. Shouldn't need to flash a boot.img, it just needs to be present in the same partition as the extlinux.conf.

However, looking at the PR you opened to my pmaports, you're still using the SGS4G defconfig, without the i9000 changes.

xc-racer99 commented 5 years ago

Success running tests on 3.0 kernel!!

samsung-fascinate4g:~$ sudo /vendor/bin/pvrsrvinit
linker: /system/vendor/lib/libsrv_init.so: unused DT entry: type 0xf arg 0x1ae
WARNING: linker: /system/vendor/lib/libsrv_init.so: unused DT entry: type 0xf arg 0x1ae
linker: /system/vendor/lib/libsrv_um.so: unused DT entry: type 0xf arg 0xb31
WARNING: linker: /system/vendor/lib/libsrv_um.so: unused DT entry: type 0xf arg 0xb31
linker: /system/vendor/lib/libsrv_um.so: unused DT entry: type 0xf arg 0xb31
WARNING: linker: /system/vendor/lib/libsrv_um.so: unused DT entry: type 0xf arg 0xb31
samsung-fascinate4g:/home/user# test_egl_configs
Starting test (EGL_PLATFORM=(null))
library "libgui.so" wasn't loaded and RTLD_NOLOAD prevented it
WARNING: linker /system/vendor/lib/libIMGegl.so: unused DT entry: type 0xf arg 0x8c5
WARNING: linker /system/vendor/lib/libsrv_um.so: unused DT entry: type 0xf arg 0xb31
library "libOpenVG.so" not found
WARNING: linker /system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so: unused DT entry: type 0xf arg 0xd12
WARNING: linker /system/vendor/lib/libusc.so: unused DT entry: type 0xf arg 0x2c0
WARNING: linker /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so: unused DT entry: type 0xf arg 0xde0
library "libPVROGL.so" not found
library "libPVROCL.so" not found
WARNING: linker /system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so: unused DT entry: type 0xf arg 0xd12
WARNING: linker /system/vendor/lib/libusc.so: unused DT entry: type 0xf arg 0x2c0
WARNING: linker /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so: unused DT entry: type 0xf arg 0xde0
WARNING: linker /system/vendor/lib/libpvrANDROID_WSEGL.so: unused DT entry: type 0xf arg 0x124
WARNING: linker /system/vendor/lib/hw/gralloc.aries.so: unused DT entry: type 0xf arg 0x502
WARNING: linker /system/vendor/lib/libpvr2d.so: unused DT entry: type 0xf arg 0x779
EGL Version 1.4
Extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_ANDROID_create_native_client_buffer EGL_ANDROID_front_buffer_auto_refresh EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable EGL_HYBRIS_native_buffer2 EGL_HYBRIS_WL_acquire_native_buffer EGL_WL_bind_wayland_display 
Available configurations: 22
===== Configuration #0 =====
  EGL_RED_SIZE: 8
  EGL_GREEN_SIZE: 8
  EGL_BLUE_SIZE: 8
  EGL_ALPHA_SIZE: 8
  EGL_BUFFER_SIZE: 32
  EGL_DEPTH_SIZE: 24
  EGL_STENCIL_SIZE: 8
  EGL_CONFIG_ID: 1
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 0
  EGL_SAMPLES: 0
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 0
  EGL_MAX_SWAP_INTERVAL: 5
  EGL_NATIVE_VISUAL_ID: 5
  EGL_NATIVE_VISUAL_TYPE: 0
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: yes
  EGL_BIND_TO_TEXTURE_RGBA: yes
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 5 ( EGL_PBUFFER_BIT  EGL_WINDOW_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 1 ( EGL_OPENGL_ES_BIT )
  EGL_CONFORMANT: 1 ( EGL_OPENGL_ES_BIT )

===== Configuration #1 =====
  EGL_RED_SIZE: 8
  EGL_GREEN_SIZE: 8
  EGL_BLUE_SIZE: 8
  EGL_ALPHA_SIZE: 8
  EGL_BUFFER_SIZE: 32
  EGL_DEPTH_SIZE: 0
  EGL_STENCIL_SIZE: 0
  EGL_CONFIG_ID: 2
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 0
  EGL_SAMPLES: 0
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 0
  EGL_MAX_SWAP_INTERVAL: 5
  EGL_NATIVE_VISUAL_ID: 5
  EGL_NATIVE_VISUAL_TYPE: 0
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: yes
  EGL_BIND_TO_TEXTURE_RGBA: yes
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 5 ( EGL_PBUFFER_BIT  EGL_WINDOW_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 1 ( EGL_OPENGL_ES_BIT )
  EGL_CONFORMANT: 1 ( EGL_OPENGL_ES_BIT )

===== Configuration #2 =====
  EGL_RED_SIZE: 8
  EGL_GREEN_SIZE: 8
  EGL_BLUE_SIZE: 8
  EGL_ALPHA_SIZE: 8
  EGL_BUFFER_SIZE: 32
  EGL_DEPTH_SIZE: 24
  EGL_STENCIL_SIZE: 8
  EGL_CONFIG_ID: 3
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 1
  EGL_SAMPLES: 4
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 0
  EGL_MAX_SWAP_INTERVAL: 5
  EGL_NATIVE_VISUAL_ID: 5
  EGL_NATIVE_VISUAL_TYPE: 0
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: yes
  EGL_BIND_TO_TEXTURE_RGBA: yes
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 5 ( EGL_PBUFFER_BIT  EGL_WINDOW_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 1 ( EGL_OPENGL_ES_BIT )
  EGL_CONFORMANT: 1 ( EGL_OPENGL_ES_BIT )

===== Configuration #3 =====
  EGL_RED_SIZE: 8
  EGL_GREEN_SIZE: 8
  EGL_BLUE_SIZE: 8
  EGL_ALPHA_SIZE: 0
  EGL_BUFFER_SIZE: 32
  EGL_DEPTH_SIZE: 24
  EGL_STENCIL_SIZE: 8
  EGL_CONFIG_ID: 4
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 0
  EGL_SAMPLES: 0
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 0
  EGL_MAX_SWAP_INTERVAL: 5
  EGL_NATIVE_VISUAL_ID: 511
  EGL_NATIVE_VISUAL_TYPE: 0
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: yes
  EGL_BIND_TO_TEXTURE_RGBA: no
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 5 ( EGL_PBUFFER_BIT  EGL_WINDOW_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 1 ( EGL_OPENGL_ES_BIT )
  EGL_CONFORMANT: 1 ( EGL_OPENGL_ES_BIT )

===== Configuration #4 =====
  EGL_RED_SIZE: 8
  EGL_GREEN_SIZE: 8
  EGL_BLUE_SIZE: 8
  EGL_ALPHA_SIZE: 0
  EGL_BUFFER_SIZE: 32
  EGL_DEPTH_SIZE: 0
  EGL_STENCIL_SIZE: 0
  EGL_CONFIG_ID: 5
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 0
  EGL_SAMPLES: 0
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 0
  EGL_MAX_SWAP_INTERVAL: 5
  EGL_NATIVE_VISUAL_ID: 511
  EGL_NATIVE_VISUAL_TYPE: 0
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: yes
  EGL_BIND_TO_TEXTURE_RGBA: no
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 5 ( EGL_PBUFFER_BIT  EGL_WINDOW_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 1 ( EGL_OPENGL_ES_BIT )
  EGL_CONFORMANT: 1 ( EGL_OPENGL_ES_BIT )

===== Configuration #5 =====
  EGL_RED_SIZE: 8
  EGL_GREEN_SIZE: 8
  EGL_BLUE_SIZE: 8
  EGL_ALPHA_SIZE: 0
  EGL_BUFFER_SIZE: 32
  EGL_DEPTH_SIZE: 24
  EGL_STENCIL_SIZE: 8
  EGL_CONFIG_ID: 6
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 1
  EGL_SAMPLES: 4
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 0
  EGL_MAX_SWAP_INTERVAL: 5
  EGL_NATIVE_VISUAL_ID: 511
  EGL_NATIVE_VISUAL_TYPE: 0
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: yes
  EGL_BIND_TO_TEXTURE_RGBA: no
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 5 ( EGL_PBUFFER_BIT  EGL_WINDOW_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 1 ( EGL_OPENGL_ES_BIT )
  EGL_CONFORMANT: 1 ( EGL_OPENGL_ES_BIT )

===== Configuration #6 =====
  EGL_RED_SIZE: 5
  EGL_GREEN_SIZE: 6
  EGL_BLUE_SIZE: 5
  EGL_ALPHA_SIZE: 0
  EGL_BUFFER_SIZE: 16
  EGL_DEPTH_SIZE: 24
  EGL_STENCIL_SIZE: 8
  EGL_CONFIG_ID: 7
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 0
  EGL_SAMPLES: 0
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 0
  EGL_MAX_SWAP_INTERVAL: 5
  EGL_NATIVE_VISUAL_ID: 4
  EGL_NATIVE_VISUAL_TYPE: 0
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: yes
  EGL_BIND_TO_TEXTURE_RGBA: no
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 5 ( EGL_PBUFFER_BIT  EGL_WINDOW_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 1 ( EGL_OPENGL_ES_BIT )
  EGL_CONFORMANT: 1 ( EGL_OPENGL_ES_BIT )

===== Configuration #7 =====
  EGL_RED_SIZE: 5
  EGL_GREEN_SIZE: 6
  EGL_BLUE_SIZE: 5
  EGL_ALPHA_SIZE: 0
  EGL_BUFFER_SIZE: 16
  EGL_DEPTH_SIZE: 0
  EGL_STENCIL_SIZE: 0
  EGL_CONFIG_ID: 8
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 0
  EGL_SAMPLES: 0
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 0
  EGL_MAX_SWAP_INTERVAL: 5
  EGL_NATIVE_VISUAL_ID: 4
  EGL_NATIVE_VISUAL_TYPE: 0
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: yes
  EGL_BIND_TO_TEXTURE_RGBA: no
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 5 ( EGL_PBUFFER_BIT  EGL_WINDOW_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 1 ( EGL_OPENGL_ES_BIT )
  EGL_CONFORMANT: 1 ( EGL_OPENGL_ES_BIT )

===== Configuration #8 =====
  EGL_RED_SIZE: 5
  EGL_GREEN_SIZE: 6
  EGL_BLUE_SIZE: 5
  EGL_ALPHA_SIZE: 0
  EGL_BUFFER_SIZE: 16
  EGL_DEPTH_SIZE: 24
  EGL_STENCIL_SIZE: 8
  EGL_CONFIG_ID: 9
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 1
  EGL_SAMPLES: 4
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 0
  EGL_MAX_SWAP_INTERVAL: 5
  EGL_NATIVE_VISUAL_ID: 4
  EGL_NATIVE_VISUAL_TYPE: 0
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: yes
  EGL_BIND_TO_TEXTURE_RGBA: no
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 5 ( EGL_PBUFFER_BIT  EGL_WINDOW_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 1 ( EGL_OPENGL_ES_BIT )
  EGL_CONFORMANT: 1 ( EGL_OPENGL_ES_BIT )

===== Configuration #9 =====
  EGL_RED_SIZE: 8
  EGL_GREEN_SIZE: 8
  EGL_BLUE_SIZE: 8
  EGL_ALPHA_SIZE: 8
  EGL_BUFFER_SIZE: 32
  EGL_DEPTH_SIZE: 24
  EGL_STENCIL_SIZE: 8
  EGL_CONFIG_ID: 10
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 0
  EGL_SAMPLES: 0
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 1
  EGL_MAX_SWAP_INTERVAL: 1
  EGL_NATIVE_VISUAL_ID: 0
  EGL_NATIVE_VISUAL_TYPE: 12344
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: yes
  EGL_BIND_TO_TEXTURE_RGBA: yes
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 1 ( EGL_PBUFFER_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 3 ( EGL_OPENGL_ES_BIT  EGL_OPENVG_BIT )
  EGL_CONFORMANT: 3 ( EGL_OPENGL_ES_BIT  EGL_OPENVG_BIT )

===== Configuration #10 =====
  EGL_RED_SIZE: 5
  EGL_GREEN_SIZE: 6
  EGL_BLUE_SIZE: 5
  EGL_ALPHA_SIZE: 0
  EGL_BUFFER_SIZE: 16
  EGL_DEPTH_SIZE: 24
  EGL_STENCIL_SIZE: 8
  EGL_CONFIG_ID: 11
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 0
  EGL_SAMPLES: 0
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 1
  EGL_MAX_SWAP_INTERVAL: 1
  EGL_NATIVE_VISUAL_ID: 0
  EGL_NATIVE_VISUAL_TYPE: 12344
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: yes
  EGL_BIND_TO_TEXTURE_RGBA: no
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 1 ( EGL_PBUFFER_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 3 ( EGL_OPENGL_ES_BIT  EGL_OPENVG_BIT )
  EGL_CONFORMANT: 3 ( EGL_OPENGL_ES_BIT  EGL_OPENVG_BIT )

===== Configuration #11 =====
  EGL_RED_SIZE: 4
  EGL_GREEN_SIZE: 4
  EGL_BLUE_SIZE: 4
  EGL_ALPHA_SIZE: 4
  EGL_BUFFER_SIZE: 16
  EGL_DEPTH_SIZE: 24
  EGL_STENCIL_SIZE: 8
  EGL_CONFIG_ID: 12
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 0
  EGL_SAMPLES: 0
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 1
  EGL_MAX_SWAP_INTERVAL: 1
  EGL_NATIVE_VISUAL_ID: 0
  EGL_NATIVE_VISUAL_TYPE: 12344
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: yes
  EGL_BIND_TO_TEXTURE_RGBA: yes
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 1 ( EGL_PBUFFER_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 3 ( EGL_OPENGL_ES_BIT  EGL_OPENVG_BIT )
  EGL_CONFORMANT: 3 ( EGL_OPENGL_ES_BIT  EGL_OPENVG_BIT )

===== Configuration #12 =====
  EGL_RED_SIZE: 5
  EGL_GREEN_SIZE: 5
  EGL_BLUE_SIZE: 5
  EGL_ALPHA_SIZE: 1
  EGL_BUFFER_SIZE: 16
  EGL_DEPTH_SIZE: 24
  EGL_STENCIL_SIZE: 8
  EGL_CONFIG_ID: 13
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 0
  EGL_SAMPLES: 0
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 1
  EGL_MAX_SWAP_INTERVAL: 1
  EGL_NATIVE_VISUAL_ID: 0
  EGL_NATIVE_VISUAL_TYPE: 12344
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: yes
  EGL_BIND_TO_TEXTURE_RGBA: yes
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 1 ( EGL_PBUFFER_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 3 ( EGL_OPENGL_ES_BIT  EGL_OPENVG_BIT )
  EGL_CONFORMANT: 3 ( EGL_OPENGL_ES_BIT  EGL_OPENVG_BIT )

===== Configuration #13 =====
  EGL_RED_SIZE: 8
  EGL_GREEN_SIZE: 8
  EGL_BLUE_SIZE: 8
  EGL_ALPHA_SIZE: 8
  EGL_BUFFER_SIZE: 32
  EGL_DEPTH_SIZE: 24
  EGL_STENCIL_SIZE: 8
  EGL_CONFIG_ID: 14
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 0
  EGL_SAMPLES: 0
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 0
  EGL_MAX_SWAP_INTERVAL: 5
  EGL_NATIVE_VISUAL_ID: 5
  EGL_NATIVE_VISUAL_TYPE: 0
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: no
  EGL_BIND_TO_TEXTURE_RGBA: no
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 5 ( EGL_PBUFFER_BIT  EGL_WINDOW_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 4 ( EGL_OPENGL_ES2_BIT )
  EGL_CONFORMANT: 4 ( EGL_OPENGL_ES2_BIT )

===== Configuration #14 =====
  EGL_RED_SIZE: 8
  EGL_GREEN_SIZE: 8
  EGL_BLUE_SIZE: 8
  EGL_ALPHA_SIZE: 8
  EGL_BUFFER_SIZE: 32
  EGL_DEPTH_SIZE: 0
  EGL_STENCIL_SIZE: 0
  EGL_CONFIG_ID: 15
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 0
  EGL_SAMPLES: 0
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 0
  EGL_MAX_SWAP_INTERVAL: 5
  EGL_NATIVE_VISUAL_ID: 5
  EGL_NATIVE_VISUAL_TYPE: 0
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: no
  EGL_BIND_TO_TEXTURE_RGBA: no
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 5 ( EGL_PBUFFER_BIT  EGL_WINDOW_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 4 ( EGL_OPENGL_ES2_BIT )
  EGL_CONFORMANT: 4 ( EGL_OPENGL_ES2_BIT )

===== Configuration #15 =====
  EGL_RED_SIZE: 8
  EGL_GREEN_SIZE: 8
  EGL_BLUE_SIZE: 8
  EGL_ALPHA_SIZE: 8
  EGL_BUFFER_SIZE: 32
  EGL_DEPTH_SIZE: 24
  EGL_STENCIL_SIZE: 8
  EGL_CONFIG_ID: 16
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 1
  EGL_SAMPLES: 4
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 0
  EGL_MAX_SWAP_INTERVAL: 5
  EGL_NATIVE_VISUAL_ID: 5
  EGL_NATIVE_VISUAL_TYPE: 0
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: no
  EGL_BIND_TO_TEXTURE_RGBA: no
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 4 ( EGL_WINDOW_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 4 ( EGL_OPENGL_ES2_BIT )
  EGL_CONFORMANT: 4 ( EGL_OPENGL_ES2_BIT )

===== Configuration #16 =====
  EGL_RED_SIZE: 8
  EGL_GREEN_SIZE: 8
  EGL_BLUE_SIZE: 8
  EGL_ALPHA_SIZE: 0
  EGL_BUFFER_SIZE: 32
  EGL_DEPTH_SIZE: 24
  EGL_STENCIL_SIZE: 8
  EGL_CONFIG_ID: 17
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 0
  EGL_SAMPLES: 0
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 0
  EGL_MAX_SWAP_INTERVAL: 5
  EGL_NATIVE_VISUAL_ID: 511
  EGL_NATIVE_VISUAL_TYPE: 0
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: no
  EGL_BIND_TO_TEXTURE_RGBA: no
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 5 ( EGL_PBUFFER_BIT  EGL_WINDOW_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 4 ( EGL_OPENGL_ES2_BIT )
  EGL_CONFORMANT: 4 ( EGL_OPENGL_ES2_BIT )

===== Configuration #17 =====
  EGL_RED_SIZE: 8
  EGL_GREEN_SIZE: 8
  EGL_BLUE_SIZE: 8
  EGL_ALPHA_SIZE: 0
  EGL_BUFFER_SIZE: 32
  EGL_DEPTH_SIZE: 0
  EGL_STENCIL_SIZE: 0
  EGL_CONFIG_ID: 18
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 0
  EGL_SAMPLES: 0
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 0
  EGL_MAX_SWAP_INTERVAL: 5
  EGL_NATIVE_VISUAL_ID: 511
  EGL_NATIVE_VISUAL_TYPE: 0
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: no
  EGL_BIND_TO_TEXTURE_RGBA: no
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 5 ( EGL_PBUFFER_BIT  EGL_WINDOW_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 4 ( EGL_OPENGL_ES2_BIT )
  EGL_CONFORMANT: 4 ( EGL_OPENGL_ES2_BIT )

===== Configuration #18 =====
  EGL_RED_SIZE: 8
  EGL_GREEN_SIZE: 8
  EGL_BLUE_SIZE: 8
  EGL_ALPHA_SIZE: 0
  EGL_BUFFER_SIZE: 32
  EGL_DEPTH_SIZE: 24
  EGL_STENCIL_SIZE: 8
  EGL_CONFIG_ID: 19
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 1
  EGL_SAMPLES: 4
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 0
  EGL_MAX_SWAP_INTERVAL: 5
  EGL_NATIVE_VISUAL_ID: 511
  EGL_NATIVE_VISUAL_TYPE: 0
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: no
  EGL_BIND_TO_TEXTURE_RGBA: no
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 4 ( EGL_WINDOW_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 4 ( EGL_OPENGL_ES2_BIT )
  EGL_CONFORMANT: 4 ( EGL_OPENGL_ES2_BIT )

===== Configuration #19 =====
  EGL_RED_SIZE: 5
  EGL_GREEN_SIZE: 6
  EGL_BLUE_SIZE: 5
  EGL_ALPHA_SIZE: 0
  EGL_BUFFER_SIZE: 16
  EGL_DEPTH_SIZE: 24
  EGL_STENCIL_SIZE: 8
  EGL_CONFIG_ID: 20
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 0
  EGL_SAMPLES: 0
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 0
  EGL_MAX_SWAP_INTERVAL: 5
  EGL_NATIVE_VISUAL_ID: 4
  EGL_NATIVE_VISUAL_TYPE: 0
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: no
  EGL_BIND_TO_TEXTURE_RGBA: no
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 5 ( EGL_PBUFFER_BIT  EGL_WINDOW_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 4 ( EGL_OPENGL_ES2_BIT )
  EGL_CONFORMANT: 4 ( EGL_OPENGL_ES2_BIT )

===== Configuration #20 =====
  EGL_RED_SIZE: 5
  EGL_GREEN_SIZE: 6
  EGL_BLUE_SIZE: 5
  EGL_ALPHA_SIZE: 0
  EGL_BUFFER_SIZE: 16
  EGL_DEPTH_SIZE: 0
  EGL_STENCIL_SIZE: 0
  EGL_CONFIG_ID: 21
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 0
  EGL_SAMPLES: 0
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 0
  EGL_MAX_SWAP_INTERVAL: 5
  EGL_NATIVE_VISUAL_ID: 4
  EGL_NATIVE_VISUAL_TYPE: 0
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: no
  EGL_BIND_TO_TEXTURE_RGBA: no
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 5 ( EGL_PBUFFER_BIT  EGL_WINDOW_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 4 ( EGL_OPENGL_ES2_BIT )
  EGL_CONFORMANT: 4 ( EGL_OPENGL_ES2_BIT )

===== Configuration #21 =====
  EGL_RED_SIZE: 5
  EGL_GREEN_SIZE: 6
  EGL_BLUE_SIZE: 5
  EGL_ALPHA_SIZE: 0
  EGL_BUFFER_SIZE: 16
  EGL_DEPTH_SIZE: 24
  EGL_STENCIL_SIZE: 8
  EGL_CONFIG_ID: 22
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 1
  EGL_SAMPLES: 4
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 0
  EGL_MAX_SWAP_INTERVAL: 5
  EGL_NATIVE_VISUAL_ID: 4
  EGL_NATIVE_VISUAL_TYPE: 0
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: no
  EGL_BIND_TO_TEXTURE_RGBA: no
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 4 ( EGL_WINDOW_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 4 ( EGL_OPENGL_ES2_BIT )
  EGL_CONFORMANT: 4 ( EGL_OPENGL_ES2_BIT )

samsung-fascinate4g:/home/user# 

This is after having the 7.1 system in /system and installinghybris-base and hybris-base-x11-generic while chrooted into the SD (ie by running apk add hybris-base hybris-base-x11-generic)

Edit 1: Although test_egl and test_hwcomposer both fail as well - https://gist.github.com/xc-racer99/2029750757fde370ae84bc0de2f73a4e

PabloPL commented 5 years ago

Ok, so now we can check why it's not returning configurations.

xc-racer99 commented 5 years ago

Ok, so now we can check why it's not returning configurations.

Yeah, if I could figure out why my mainline kernel is now refusing to probe the PVR succesfully :)

display width: 53, height 89
Back frameBuffer[0].VAddr=(ptrval) PAddr=(ptrval) size=1536000
Back frameBuffer[1].VAddr=(ptrval) PAddr=(ptrval) size=1536000
PVR_K:(Fatal): Debug assertion failed! [178, drivers/gpu/drm/powervr/syscommon.h]
------------[ cut here ]------------
kernel BUG at drivers/gpu/drm/powervr/pvr_debug.c:206!
Internal error: Oops - BUG: 0 [#1] PREEMPT ARM
Modules linked in:
CPU: 0 PID: 1 Comm: swapper Not tainted 5.1.6 #1-postmarketOS
Hardware name: Samsung S5PC110/S5PV210-based board
PC is at PVRSRVDebugAssertFail+0x18/0x20
LR is at PVRSRVDebugAssertFail+0x18/0x20
pc : [<8046b530>]    lr : [<8046b530>]    psr: 60000013
sp : a6465e70  ip : a6460000  fp : 00000002
r10: a67c4680  r9 : 00000003  r8 : a67c4600
r7 : 00000001  r6 : 00000000  r5 : 80b07008  r4 : a67d6000
r3 : 6f926bb6  r2 : 6f926bb6  r1 : 00000000  r0 : 80b7be48
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
Control: 10c5387d  Table: 30004019  DAC: 00000051
Process swapper (pid: 1, stack limit = 0x(ptrval))
Stack: (0xa6465e70 to 0xa6466000)
5e60:                                     a67d6000 804730a0 00000002 8014b72c
5e80: 8091c430 00000000 00000320 6f926bb6 a67d6000 a67c4600 80b7e994 00000001
5ea0: 00000320 00000003 00000960 8049190c 00177000 8090afb7 00000000 a8861000
5ec0: 00000002 00000000 00000000 8090afb7 a6465eec 6f926bb6 a6465eec 80b3fb40
5ee0: 80b07008 ffffe000 80a18a74 00000000 80a29830 80a3518c 000000af 80a18a7c
5f00: 80b3fb40 80102690 a6fffc82 80133ca4 80984868 8092d900 00000000 00000006
5f20: 00000006 808d28cc 00000000 80b07008 808d8014 808d2940 00000000 a6fffc80
5f40: 00000000 6f926bb6 00000000 00000006 80b3fb40 6f926bb6 00000007 80b3fb40
5f60: 80b3fb40 80a29850 80a004a4 80a00e88 00000006 00000006 00000000 80a004a4
5f80: 00000000 00000000 8072a78c 00000000 00000000 00000000 00000000 00000000
5fa0: 00000000 8072a794 00000000 801010e8 00000000 00000000 00000000 00000000
5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[<8046b530>] (PVRSRVDebugAssertFail) from [<804730a0>] (PVRSRVRegisterDCDeviceKM+0x40/0x24c)
[<804730a0>] (PVRSRVRegisterDCDeviceKM) from [<8049190c>] (s3c_displayclass_init+0x34c/0x4fc)
[<8049190c>] (s3c_displayclass_init) from [<80a18a7c>] (S3cLcdBridgeInit+0x8/0x18)
[<80a18a7c>] (S3cLcdBridgeInit) from [<80102690>] (do_one_initcall+0x7c/0x1ac)
[<80102690>] (do_one_initcall) from [<80a00e88>] (kernel_init_freeable+0x12c/0x1c0)
[<80a00e88>] (kernel_init_freeable) from [<8072a794>] (kernel_init+0x8/0x110)
[<8072a794>] (kernel_init) from [<801010e8>] (ret_from_fork+0x14/0x2c)
Exception stack(0xa6465fb0 to 0xa6465ff8)
5fa0:                                     00000000 00000000 00000000 00000000
5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
Code: e1a01000 e59f3008 e3a00001 ebffff46 (e7f001f2) 
---[ end trace adc8ba9aaf479dae ]---
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ]---

Anyways, almost time for bed here so will hopefully look at it again tomorrow.

PabloPL commented 5 years ago

I hope that that problem with powervr on mainline is not caused by my latest rebase of powervr branch on newer kernel...

xc-racer99 commented 5 years ago

Dunno, I'm currently trying a few different ones. I don't remember which I successfully had probing though... Do you remember?

PabloPL commented 5 years ago

I don't remember if i was ever using powervr as module....it was always built-in in kernel. Maybe try this way?

xc-racer99 commented 5 years ago

No, I never used it as a module either. I'm trying a few difference revisions that I have marked as being "powervr" :)

PabloPL commented 5 years ago

@xc-racer99 OT: Updated pmOS PR (already had correct options in defconfing when it wasn't working). Now even by compiling that kernel + simple hand made initrd (using busybox) also hangs at the same place. Will look at this using kgdb (funny that for long time my i9000 didn't wanted to boot mainline and now it don't want to boot old kernels).

xc-racer99 commented 5 years ago

Updated pmOS PR (already had correct options in defconfing when it wasn't working). Now even by compiling that kernel + simple hand made initrd (using busybox) also hangs at the same place. Will look at this using kgdb (funny that for long time my i9000 didn't wanted to boot mainline and now it don't want to boot old kernels).

IIRC the "Freeing init memory" is when the kernel tries to free everything that is marked initdata. If I had to guess, something is mistakenly marked with initdata that shouldn't be (there are 6 or 7 kernel section mismatches after all...)

Also, I've had some finickyness with booting the kernel, only LZMA compression seems to work - GZIP and LZO don't (but then I just get no serial output whatsoever, so probably different from your issue)

PabloPL commented 5 years ago

KGDB not working (not stopping/waiting for connection from pc..), so using printk. It looks like it's failing in kernel_init, after do_basic_setup but before init_post. Checking more...

Edit 1: Boot.img build with following command

mkbootimg --kernel arch/arm/boot/zImage --ramdisk ../initrd/initrd-rootfs.cpio.gz --pagesize 4096 --base 0x30000000 --ramdisk_offset 0x01000000 --cmdline "console=ttySAC2,115200 init=/init no_console_suspend earlyprintk kgdboc=ttySAC2,115200 kgdbwait" --output boot.img

Edit 2: @xc-racer99 During kernel compilation do You also see

Kernel: arch/arm/boot/Image is ready /bin/sh: 1: [: Linux: unexpected operator /bin/sh: 1: [: Linux: unexpected operator /bin/sh: 1: [: Linux: unexpected operator /bin/sh: 1: [: Linux: unexpected operator LZMA arch/arm/boot/compressed/piggy.lzma SHIPPED arch/arm/boot/compressed/lib1funcs.S AS arch/arm/boot/compressed/lib1funcs.o AS arch/arm/boot/compressed/piggy.lzma.o LD arch/arm/boot/compressed/vmlinux OBJCOPY arch/arm/boot/zImage Kernel: arch/arm/boot/zImage is ready

Edit 3: It looks like i'm not seeing any more logs after

/ Open the /dev/console on the rootfs, this should never fail /

xc-racer99 commented 5 years ago

@PabloPL Command for creating boot.img looks fine

Yes, I do see the "unexpected operator" errors - I don't remember exactly what caused them but I'm pretty sure it's harmless.

It's odd that you're having issues, the kernel is essentially the CyanogenMod 11.0 kernel with UBIFS and SGS4G patches on top. You could try https://github.com/CyanogenMod/android_kernel_samsung_aries/tree/cm-11.0 (making sure to cherry-pick/apply the memset fixes if using gcc > 4.7) and see if that boots for you.

PabloPL commented 5 years ago

Will do this tomorrow. Maybe will try also diff compiler - used some old arm-eabi 4.3 for old kernel build

xc-racer99 commented 5 years ago

Maybe will try also diff compiler - used some old arm-eabi 4.3 for old kernel build

Ok. I used the pmOS infrastructure to build the Android kernel. You don't need to run install all of the time, the built files can be found in ~/.local/var/pmbootstrap (if you have a default pmbootstrap install), just search for vmlinuz-samsung-galaxys

PabloPL commented 5 years ago

For now i'm just building this kernel with hand made initramfs with busybox only, flashed by fastboot to boot partition. This way i can quickly test it and know that issue is for not in pmos

xc-racer99 commented 5 years ago

Alright, I worked through everything from the 3.0 kernel drop again. I managed to get test_egl_configs running, changes are pushed to https://github.com/xc-racer99/linux/tree/powervr-2 and also to my private pmOS tree.

Now we need to work on seeing if libhybris works for acceleration...

PabloPL commented 5 years ago

Alright, I worked through everything from the 3.0 kernel drop again. I managed to get test_egl_configs

Need to check what i did wrong so it wasn't working...

PabloPL commented 5 years ago

"Funny" thing - when i've (just) disabled opening /dev/console in init/main.c (NO other changes), pmOS booted with old kernel (but thouch screen wasn't working). No idea what is happening...

@xc-racer99 How to get console/shell in pmOS? I can see logs over uart but cannot run commands

xc-racer99 commented 5 years ago

Hmm, if building via pmOS you need to add --force (ie pmbootstrap build --force linux-samsung-aries) unless the package rel has been increased.

For console, you need to edit /etc/inittab. I haven't done this permanently yet, as I'm still trying to figure out something that works for both mainline and vendor kernel. For mainline, you need

ttySAC2::respawn:/sbin/getty -L ttySAC2 115200 vt100

but for vendor kernel you need

s3c2410_serial2::/sbin/getty -L s3c2410_serial2 115200 vt100

I have a script that may integrate and work properly with the build, but I'm not sure. The issue with adding both lines is that the other one then keeps spewing errors saying that it can't find the terminal.

PabloPL commented 5 years ago

Ok, i think i've found something.

After making https://github.com/xc-racer99/android_kernel_samsung_aries/blob/unlegacy-4.4/drivers/tty/serial/samsung.c#L356 and https://github.com/xc-racer99/android_kernel_samsung_aries/blob/unlegacy-4.4/drivers/tty/serial/serial_core.c#L109 work for my device also, i got console on my custom ramdisk (where previously had to remove opening /dev/console or i got restart of kernel). Also now i got shell on uart (NO changes in my ramdisk). Will do testing on pmOS now, i hope that it'll also work since on both pmOS and my ramdisk i had the same sympthoms.

xc-racer99 commented 5 years ago

Need to check what i did wrong so it wasn't working...

Did you run pvrsrvinit?

Welcome to postmarketOS
Kernel 5.1.6-00092-gbdae09326139-dirty on an armv7l (/dev/ttySAC2)
[9;5]samsung-fascinate4g login: user
Password: 
Welcome to postmarketOS!

This distribution is based on Alpine Linux.
Read both our wikis to find a large amount of how-to guides and
general information about administrating and development.
See <https://wiki.postmarketos.org> and <https://wiki.alpinelinux.org>.

You may change this message by editing /etc/motd.

samsung-fascinate4g:~$ sudo /vendor/bin/pvrsrvinit
[sudo] password for user: 
linker: /system/vendor/lib/libsrv_init.so: unused DT entry: type 0xf arg 0x1ae
WARNING: linker: /system/vendor/lib/libsrv_init.so: unused DT entry: type 0xf arg 0x1ae
linker: /system/vendor/lib/libsrv_um.so: unused DT entry: type 0xf arg 0xb31
WARNING: linker: /system/vendor/lib/libsrv_um.so: unused DT entry: type 0xf arg 0xb31
linker: /system/vendor/lib/libsrv_um.so: unused DT entry: type 0xf arg 0xb31
WARNING: linker: /system/vendor/lib/libsrv_um.so: unused DT entry: type 0xf arg 0xb31
samsung-fascinate4g:~$ sudo test_egl_configs
Starting test (EGL_PLATFORM=(null))
library "libgui.so" wasn't loaded and RTLD_NOLOAD prevented it
WARNING: linker /system/vendor/lib/libIMGegl.so: unused DT entry: type 0xf arg 0x8c5
WARNING: linker /system/vendor/lib/libsrv_um.so: unused DT entry: type 0xf arg 0xb31
library "libOpenVG.so" not found
WARNING: linker /system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so: unused DT entry: type 0xf arg 0xd12
WARNING: linker /system/vendor/lib/libusc.so: unused DT entry: type 0xf arg 0x2c0
WARNING: linker /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so: unused DT entry: type 0xf arg 0xde0
library "libPVROGL.so" not found
library "libPVROCL.so" not found
WARNING: linker /system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so: unused DT entry: type 0xf arg 0xd12
WARNING: linker /system/vendor/lib/libusc.so: unused DT entry: type 0xf arg 0x2c0
WARNING: linker /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so: unused DT entry: type 0xf arg 0xde0
WARNING: linker /system/vendor/lib/libpvrANDROID_WSEGL.so: unused DT entry: type 0xf arg 0x124
WARNING: linker /system/vendor/lib/hw/gralloc.aries.so: unused DT entry: type 0xf arg 0x502
WARNING: linker /system/vendor/lib/libpvr2d.so: unused DT entry: type 0xf arg 0x779
EGL Version 1.4
Extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_ANDROID_create_native_client_buffer EGL_ANDROID_front_buffer_auto_refresh EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable EGL_HYBRIS_native_buffer2 EGL_HYBRIS_WL_acquire_native_buffer EGL_WL_bind_wayland_display 
Available configurations: 22
===== Configuration #0 =====
  EGL_RED_SIZE: 8
  EGL_GREEN_SIZE: 8
  EGL_BLUE_SIZE: 8
  EGL_ALPHA_SIZE: 8
  EGL_BUFFER_SIZE: 32
  EGL_DEPTH_SIZE: 24
  EGL_STENCIL_SIZE: 8
  EGL_CONFIG_ID: 1
  EGL_LEVEL: 0
  EGL_SAMPLE_BUFFERS: 0
  EGL_SAMPLES: 0
  EGL_MAX_PBUFFER_WIDTH: 2048
  EGL_MAX_PBUFFER_HEIGHT: 2048
  EGL_MAX_PBUFFER_PIXELS: 4194304
  EGL_MIN_SWAP_INTERVAL: 0
  EGL_MAX_SWAP_INTERVAL: 5
  EGL_NATIVE_VISUAL_ID: 5
  EGL_NATIVE_VISUAL_TYPE: 0
  EGL_CONFIG_CAVEAT: EGL_NONE
  EGL_BIND_TO_TEXTURE_RGB: yes
  EGL_BIND_TO_TEXTURE_RGBA: yes
  EGL_NATIVE_RENDERABLE: no
  EGL_SURFACE_TYPE: 5 ( EGL_PBUFFER_BIT  EGL_WINDOW_BIT )
  EGL_TRANSPARENT_RED_VALUE: 0
  EGL_TRANSPARENT_GREEN_VALUE: 0
  EGL_TRANSPARENT_BLUE_VALUE: 0
  EGL_TRANSPARENT_TYPE: EGL_NONE
  EGL_LUMINANCE_SIZE: 0
  EGL_COLOR_BUFFER_TYPE: EGL_RGB_BUFFER
  EGL_RENDERABLE_TYPE: 1 ( EGL_OPENGL_ES_BIT )
  EGL_CONFORMANT: 1 ( EGL_OPENGL_ES_BIT )
...