Kexec, ram_console and future development - Nexus 6 Developer Discussion [Developers Only]

So there are a lot of us on nexus, this is our best opportunity to work together and fix Kexec for arm. I suppose hardboot has already been shown to work on arm but as far as normal Kexec I have not seen this work yet..(unless someone has an example?)
I have a Kexec tree started for both hard and softboot kexec, but I want to get ram console working first. I added back the ram console and persistent ram but last_kmsg still isnt showing up...though pstore still works I guess. Anyone able to enable ram_console and last kmsg? Ram_console is being a pain for me, not showing iomem.
As for current nexus issues, video, LED, sound etc I would be more than happy to contribute to solving these issues if anyone has a start already please post a dev related discussion for it, if not I will eventually start this.

Surge1223 said:
So there are a lot of us on nexus, this is our best opportunity to work together and fix Kexec for arm. I suppose hardboot has already been shown to work on arm but as far as normal Kexec I have not seen this work yet..(unless someone has an example?)
I have a Kexec tree started for both hard and softboot kexec, but I want to get ram console working first. I added back the ram console and persistent ram but last_kmsg still isnt showing up...though pstore still works I guess. Anyone able to enable ram_console and last kmsg? Ram_console is being a pain for me, not showing iomem.
As for current nexus issues, video, LED, sound etc I would be more than happy to contribute to solving these issues if anyone has a start already please post a dev related discussion for it, if not I will eventually start this.
Click to expand...
Click to collapse
Whilst I've never done kexec hardboot stuff, I did get a kexec port running for chipset 3 model Intel series laptops (E6420 in specific), and got the trackpad working again after softboot (just a matter of inserting correct device ID's and their related calls, easily found on ALPS code repository). But that was all x86 stuff, never messed with ARM implementations, if you'd be willing to help catch me up to speed on ARM specifics, I'd love to help. I took a look at your Kexec source for the S4, but when I laid eyes on it, it was way beyond me by that point XD.
Also, what exactly are the perks of using softboot/regular kexec as opposed to hardboot? It seems easier to implement, and equally as successful (based on my limited knowledge).
On the subject of LED, if your interested in how to communicate with it, I'd contact either Franco or the Light Flow developer, both seem to have the correct idea in progress.
The screen issues are a wide variation of problems from my understanding, one being that adaptive brightness dims the pixels, and changes the RGB profile, causing the green hue many users are seeing (the most common problem, and the one I have on my device), so it seems like something that /should/ be as simple as editing kernel sources and disabling the change in RGB profile. Though, this would be way easier if we still had XPosed, which honestly, was perfect for situations just like this edit.
Nice to see an actual central starting place for Nexus 6 development.

npjohnson said:
Whilst I've never done kexec hardboot stuff, I did get a kexec port running for chipset 3 model Intel series laptops (E6420 in specific), and got the trackpad working again after softboot (just a matter of inserting correct device ID's and their related calls, easily found on ALPS code repository). But that was all x86 stuff, never messed with ARM implementations, if you'd be willing to help catch me up to speed on ARM specifics, I'd love to help. I took a look at your Kexec source for the S4, but when I laid eyes on it, it was way beyond me by that point XD.
Also, what exactly are the perks of using softboot/regular kexec as opposed to hardboot? It seems easier to implement, and equally as successful (based on my limited knowledge).
On the subject of LED, if your interested in how to communicate with it, I'd contact either Franco or the Light Flow developer, both seem to have the correct idea in progress.
The screen issues are a wide variation of problems from my understanding, one being that adaptive brightness dims the pixels, and changes the RGB profile, causing the green hue many users are seeing (the most common problem, and the one I have on my device), so it seems like something that /should/ be as simple as editing kernel sources and disabling the change in RGB profile. Though, this would be way easier if we still had XPosed, which honestly, was perfect for situations just like this edit.
Nice to see an actual central starting place for Nexus 6 development.
Click to expand...
Click to collapse
Hey thanks, I was able to fix LEDs, testing latest edits for last_kmsg now...
About soft vs hard Kexec, its not a difference in functionality, its just principle I guess lol. Bringing the drivers back in a coherent state has to be possible....also for hardboot I'm having a hell of a time determining where to set the hardboot page address...I guess I've been on locked down devices too long.

I'm working on getting Motorola's fastboot ramdump working, it should be pretty useful for this.

As an update I have reserved space for ram console. And natively added kexec in...next is to test kexec hardboot and hopefully get some sort of multirom/safestrap solution going (I'm more familiar with building safestrap)

Surge1223 said:
As an update I have reserved space for ram console. And natively added kexec in...next is to test kexec hardboot and hopefully get some sort of multirom/safestrap solution going (I'm more familiar with building safestrap)
Click to expand...
Click to collapse
Great work, glad to see you found the right range to dial in for memory reservation.

You do realize that ram_console has been replaced by pstore filesystem and you can find the kmsg from last boot in /sys/fs/pstore/console-ramoops (or wherever you mount the pstore fs), right?

Tasssadar said:
You do realize that ram_console has been replaced by pstore filesystem and you can find the kmsg from last boot in /sys/fs/pstore/console-ramoops (or wherever you mount the pstore fs), right?
Click to expand...
Click to collapse
Yeah, I'm not a fan of pstore, I care about more than oops. Last kmsg was much better (especially for android). It's unfortunate so much of persistent ram code was moved to pstore, I see you have multirom going.. Did you post the hardboot patch yet? Id be interested in seeing how you did it.

Surge1223 said:
Yeah, I'm not a fan of pstore, I care about more than oops. Last kmsg was much better (especially for android). It's unfortunate so much of persistent ram code was moved to pstore, I see you have multirom going.. Did you post the hardboot patch yet? Id be interested in seeing how you did it.
Click to expand...
Click to collapse
What *more* are you talking about? As far as I can tell, pstore contains exactly the same information as ram_console did - kmesg from previous boot. In addition to that, I think I also seen it have another file specifically for last *failed* boot (like after kernel panic), can't confirm that right now though.
I will release the kexec-hardboot patch once MultiROM for shamu goes stable, I don't want kernel devs to merge potentially buggy versions of the patch.

Tasssadar said:
What *more* are you talking about? As far as I can tell, pstore contains exactly the same information as ram_console did - kmesg from previous boot. In addition to that, I think I also seen it have another file specifically for last *failed* boot (like after kernel panic), can't confirm that right now though.
I will release the kexec-hardboot patch once MultiROM for shamu goes stable, I don't want kernel devs to merge potentially buggy versions of the patch.
Click to expand...
Click to collapse
My pstore console-ramoops certainly doesn't show as much information as the last kmsg I'm used to, and even with early printk I still don't see the boot chain execution from last boot.
This could be on me missing some parameters or such but I thought I had read the documentation on pstore thoroughly .. Maybe I'll give it another read though. So since your testing kexec, do you see kexec execution info/debug messages from previous boot in your console-ramoops currently?

To me it looks about the same as other Nexus devices, if you're coming from something else then yeah, other devices might have more debugging logs enabled. This is how last part of console-ramoops looks after kexec:
Code:
[ 92.405394] multirom: Booting ROM euphoria...
[ 92.593884] type=1400 audit(1425901674.604:20): avc: denied { write } for pid=3783 comm="app_process32_o" name="[email protected]@boot.art" dev="dm-0" ino=791524 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file permissive=0
[ 92.622067] type=1400 audit(1425901674.634:21): avc: denied { getattr } for pid=3784 comm="busybox" path="/dev/kmem" dev="tmpfs" ino=8956 scontext=u:r:init:s0 tcontext=u:object_r:kmem_device:s0 tclass=chr_file permissive=1
[ 92.753169] init: untracked pid 3780 exited with status 89
[ 92.797384] multirom: No need to update trampoline.
[ 92.846391] multirom: Loading kexec:
[ 92.846407] multirom: /data/media/0/multirom/kexec
[ 92.846416] multirom: --mem-min=0x20000000
[ 92.846426] multirom: --boardname=shamu
[ 92.846435] multirom: --load-hardboot
[ 92.846445] multirom: /zImage
[ 92.846453] multirom: --initrd=/initrd.img
[ 92.846464] multirom: --dtb
[ 92.846476] multirom: --command-line=console=null androidboot.hardware=shamu msm_rtb.filter=0x37 ehci-hcd.park=3 utags.blkdev=/dev/block/platform/msm_sdcc.1/by-name/utags utags.backup=/dev/block/platform/msm_sdcc.1/by-name/utagsBackup coherent_pool=8M vmalloc=400M androidboot.bootdevice=msm_sdcc.1 androidboot.serialno=ZX1G4295T7 androidboot.baseband=mdm androidboot.mode=normal androidboot.device=shamu androidboot.hwrev=0x83A0 androidboot.radio=0x7 androidboot.powerup_reason=0x00004000 androidboot.
[ 92.846489] multirom: bootreason=reboot androidboot.write_protect=0 restart.download_mode=0 androidboot.fsg-id= androidboot.secure_hardware=1 androidboot.cid=0xDE androidboot.wifimacaddr=F8:CF:C5:D7:4C:D3 androidboot.btmacaddr=F8:CF:C5:D7:4C:D2 mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_mot_smd_596_QHD_dualmipi0_cmd_v0 androidboot.bootloader=0x7105 androidboot.carrier= androidboot.hardware.sku=XT1100 mrom_kexecd=1
[ 92.944507] type=1400 audit(1425901674.954:22): avc: denied { syslog_read } for pid=3782 comm="multirom" scontext=u:r:init:s0 tcontext=u:r:kernel:s0 tclass=system permissive=1
[ 92.949654] multirom: MultiromSaysNextBootShouldBeSecondMagic108
[ 92.949667] multirom: Saving multirom status
[ 92.972965] init: untracked pid 3783 exited with status 0
[ 92.973342] SysRq : Emergency Remount R/O
[ 92.976418] EXT4-fs (mmcblk0p38): re-mounted. Opts: (null)
[ 92.980614] EXT4-fs (mmcblk0p26): re-mounted. Opts: (null)
[ 92.985943] EXT4-fs (dm-0): re-mounted. Opts: (null)
[ 92.990139] Emergency Remount complete
[ 93.081991] CFG80211-ERROR) wl_cfg80211_disconnect : Reason 3
[ 93.086620] dhd_prot_flow_ring_delete sending FLOW RING Delete req msglen 40
[ 93.086848] dhd_bus_flow_ring_delete_response :Flow Delete Response 41
[ 93.086927] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK
[ 93.086944] link down if wlan0 may call cfg80211_disconnected. event : 16, reason=2 from c8:3a:35:10:7c:88
[ 93.089100] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_DEAUTH
[ 93.089627] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_DEAUTH
[ 93.090388] cfg80211: Calling CRDA for country: CN
[ 93.096568] wl_android_wifi_off in
[ 93.097488] dhd_bus_devreset: == Power OFF ==
[ 93.097845] dhd_dpc_kill: tasklet disabled
[ 93.172861] IRQ39 no longer affine to CPU2
[ 93.215166] msm_pcie_disable: msm_pcie_disable: PCIe: Assert the reset of endpoint of RC0.
[ 93.220062] dhd_bus_devreset: WLAN OFF Done
[ 93.220082] wifi_platform_set_power = 0
[ 93.220098] brcm_wlan_power Enter: power off
[ 93.224642] dhd_prot_ioctl : bus is down. we have nothing to do
[ 93.224668] dhd_ndo_remove_ip: ndo ip addr remove failed, retcode = -1
[ 93.224681] dhd_inet6_work_handler: Removing host ip for NDO failed -1
[ 93.226922] dhd_prot_ioctl : bus is down. we have nothing to do
[ 93.226949] CFG80211-ERROR) wl_cfgvendor_lstats_get_info : error (-1) - size = 44
[ 93.257305] dhd_ioctl_entry: Interface is down
[ 93.260342] dhd_prot_ioctl : bus is down. we have nothing to do
[ 93.260351] dhd_prot_ioctl : bus is down. we have nothing to do
[ 93.260359] dhd_aoe_hostip_clr failed code -1
[ 93.260366] aoe_update_host_ipv4_table failed
[ 93.292694] dhd_ioctl_entry: Interface is down
[ 93.295087] dhd_ioctl_entry: Interface is down
[ 93.377992]
[ 93.377992] Dongle Host Driver, version 1.201.31 (r)
[ 93.377992] Compiled in drivers/net/wireless/bcmdhd on Mar 6 2015 at 12:49:43
[ 93.378005] wl_android_wifi_on in
[ 93.378012] wifi_platform_set_power = 1
[ 93.378019] brcm_wlan_power Enter: power on
[ 93.547264] mdss_fb_release_all: try to close unopened fb 1! from kexec
[ 93.547455] mdss_fb_release_all: unknown process kexec pid=3782 mfd->ref=0
[ 93.584891] dhd_bus_devreset: == Power ON ==
[ 93.584939] msm_pcie_enable: msm_pcie_enable: PCIe: Assert the reset of endpoint of RC0.
[ 93.606532] msm_pcie_enable: msm_pcie_enable: PCIe RC0 PHY is ready!
[ 93.625051] msm_pcie_enable: msm_pcie_enable: PCIe: Release the reset of endpoint of RC0.
[ 93.654061] mdss_dsi_panel_off: ctrl=eb01f810 ndx=0
[ 93.656139] msm_pcie_enable: msm_pcie_enable: PCIe RC0 link initialized
[ 93.656559] dhd_bus_devreset: dhdpcie_bus_clock_start OK
[ 93.658841] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[ 93.659864] dhdpcie_download_code_file: download firmware /vendor/firmware/fw_bcmdhd.bin
[ 93.748649] dhdpcie_bus_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 93.796703] mdss_dsi_panel_off: ctrl=ea1a0010 ndx=1
[ 93.803032] mdss_mdp_mixer_free: called with ref_cnt=0
[ 93.805070] Starting new kernel
[ 93.805085] Disabling non-boot CPUs ...
[ 93.805241] BUG: scheduling while atomic: kexec/3782/0x00000002
[ 93.805261] CPU: 1 PID: 3782 Comm: kexec Tainted: G W 3.10.40-g15096bd-00002-g2a9d605 #2
[ 93.805327] [<c010c83c>] (unwind_backtrace+0x0/0x11c) from [<c0109c6c>] (show_stack+0x10/0x14)
[ 93.805371] [<c0109c6c>] (show_stack+0x10/0x14) from [<c0a26c10>] (__schedule_bug+0x44/0x60)
[ 93.805414] [<c0a26c10>] (__schedule_bug+0x44/0x60) from [<c0a2fa80>] (__schedule+0x70/0x77c)
[ 93.805434] [<c0a2fa80>] (__schedule+0x70/0x77c) from [<c0a2e3e8>] (schedule_timeout+0x28/0x26c)
[ 93.805455] [<c0a2e3e8>] (schedule_timeout+0x28/0x26c) from [<c0a2f8a0>] (wait_for_common+0x11c/0x164)
[ 93.805492] [<c0a2f8a0>] (wait_for_common+0x11c/0x164) from [<c017e5e0>] (flush_work+0xd4/0xfc)
[ 93.805517] [<c017e5e0>] (flush_work+0xd4/0xfc) from [<c0a245c8>] (workqueue_cpu_down_callback+0x80/0x9c)
[ 93.805549] [<c0a245c8>] (workqueue_cpu_down_callback+0x80/0x9c) from [<c01884a4>] (notifier_call_chain+0x40/0x68)
[ 93.805584] [<c01884a4>] (notifier_call_chain+0x40/0x68) from [<c0168014>] (__cpu_notify+0x28/0x44)
[ 93.805607] [<c0168014>] (__cpu_notify+0x28/0x44) from [<c0a1fe90>] (_cpu_down+0x74/0x2c0)
[ 93.805629] [<c0a1fe90>] (_cpu_down+0x74/0x2c0) from [<c01682cc>] (disable_nonboot_cpus+0x6c/0xec)
[ 93.805654] [<c01682cc>] (disable_nonboot_cpus+0x6c/0xec) from [<c01b3ff8>] (kernel_kexec+0x44/0x74)
[ 93.805676] [<c01b3ff8>] (kernel_kexec+0x44/0x74) from [<c0178910>] (SyS_reboot+0x174/0x1f4)
[ 93.805705] [<c0178910>] (SyS_reboot+0x174/0x1f4) from [<c0106240>] (ret_fast_syscall+0x0/0x30)
[ 93.806169] BUG: scheduling while atomic: kexec/3782/0x00000002
[ 93.806184] CPU: 1 PID: 3782 Comm: kexec Tainted: G W 3.10.40-g15096bd-00002-g2a9d605 #2
[ 93.806203] [<c010c83c>] (unwind_backtrace+0x0/0x11c) from [<c0109c6c>] (show_stack+0x10/0x14)
[ 93.806222] [<c0109c6c>] (show_stack+0x10/0x14) from [<c0a26c10>] (__schedule_bug+0x44/0x60)
[ 93.806243] [<c0a26c10>] (__schedule_bug+0x44/0x60) from [<c0a2fa80>] (__schedule+0x70/0x77c)
[ 93.806262] [<c0a2fa80>] (__schedule+0x70/0x77c) from [<c0a2e3e8>] (schedule_timeout+0x28/0x26c)
[ 93.806281] [<c0a2e3e8>] (schedule_timeout+0x28/0x26c) from [<c0a2f8a0>] (wait_for_common+0x11c/0x164)
[ 93.806310] [<c0a2f8a0>] (wait_for_common+0x11c/0x164) from [<c0183520>] (kthread_park+0x60/0x7c)
[ 93.806338] [<c0183520>] (kthread_park+0x60/0x7c) from [<c018ac1c>] (smpboot_park_threads+0x54/0x74)
[ 93.806358] [<c018ac1c>] (smpboot_park_threads+0x54/0x74) from [<c0a1fed0>] (_cpu_down+0xb4/0x2c0)
[ 93.806378] [<c0a1fed0>] (_cpu_down+0xb4/0x2c0) from [<c01682cc>] (disable_nonboot_cpus+0x6c/0xec)
[ 93.806395] [<c01682cc>] (disable_nonboot_cpus+0x6c/0xec) from [<c01b3ff8>] (kernel_kexec+0x44/0x74)
[ 93.806413] [<c01b3ff8>] (kernel_kexec+0x44/0x74) from [<c0178910>] (SyS_reboot+0x174/0x1f4)
[ 93.806431] [<c0178910>] (SyS_reboot+0x174/0x1f4) from [<c0106240>] (ret_fast_syscall+0x0/0x30)
[ 93.806517] BUG: scheduling while atomic: kexec/3782/0x00000002
[ 93.806530] CPU: 1 PID: 3782 Comm: kexec Tainted: G W 3.10.40-g15096bd-00002-g2a9d605 #2
[ 93.806549] [<c010c83c>] (unwind_backtrace+0x0/0x11c) from [<c0109c6c>] (show_stack+0x10/0x14)
[ 93.806567] [<c0109c6c>] (show_stack+0x10/0x14) from [<c0a26c10>] (__schedule_bug+0x44/0x60)
[ 93.806587] [<c0a26c10>] (__schedule_bug+0x44/0x60) from [<c0a2fa80>] (__schedule+0x70/0x77c)
[ 93.806606] [<c0a2fa80>] (__schedule+0x70/0x77c) from [<c0a2e3e8>] (schedule_timeout+0x28/0x26c)
[ 93.806626] [<c0a2e3e8>] (schedule_timeout+0x28/0x26c) from [<c0a2f8a0>] (wait_for_common+0x11c/0x164)
[ 93.806656] [<c0a2f8a0>] (wait_for_common+0x11c/0x164) from [<c01ba530>] (__stop_cpus+0x48/0x60)
[ 93.806678] [<c01ba530>] (__stop_cpus+0x48/0x60) from [<c01ba8a8>] (stop_cpus+0x2c/0x44)
[ 93.806699] [<c01ba8a8>] (stop_cpus+0x2c/0x44) from [<c01ba9c8>] (__stop_machine+0xb8/0xd4)
[ 93.806719] [<c01ba9c8>] (__stop_machine+0xb8/0xd4) from [<c0a1fef4>] (_cpu_down+0xd8/0x2c0)
[ 93.806740] [<c0a1fef4>] (_cpu_down+0xd8/0x2c0) from [<c01682cc>] (disable_nonboot_cpus+0x6c/0xec)
[ 93.806757] [<c01682cc>] (disable_nonboot_cpus+0x6c/0xec) from [<c01b3ff8>] (kernel_kexec+0x44/0x74)
[ 93.806776] [<c01b3ff8>] (kernel_kexec+0x44/0x74) from [<c0178910>] (SyS_reboot+0x174/0x1f4)
[ 93.806794] [<c0178910>] (SyS_reboot+0x174/0x1f4) from [<c0106240>] (ret_fast_syscall+0x0/0x30)
[ 93.809304] PCIe shared addr read took 56383 usec before dongle is ready
[ 93.809337] DMA RX offset from shared Area 0
[ 93.809345] bus->txmode_push is set to 0
[ 93.809372] ring_info_raw: 56
[ 93.809382] e8 96 23 00 b8 99 23 00 60 9a 23 00 08 9b 23 00
[ 93.809477] 14 9b 23 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 93.809569] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 93.809662] 00 00 00 00 2a 00 00 00
[ 93.809712] max H2D queues 42
[ 93.810056] dhd_bus_start: Initializing 42 flowrings
[ 93.810415] dhd_bus_cmn_writeshared:
[ 93.810428] 0000: 00 60 40 2b 00 00 00 00
[ 93.810438] dhd_bus_cmn_writeshared:
[ 93.810448] 0000: 00 80 40 2b 00 00 00 00
[ 93.810458] dhd_bus_cmn_writeshared:
[ 93.810467] 0000: 00 c0 40 2b 00 00 00 00
[ 93.810603] dhd_bus_cmn_writeshared:
[ 93.810613] 0000: 00 a0 40 2b 00 00 00 00
[ 93.810622] dhd_bus_cmn_writeshared:
[ 93.810632] 0000: 00 90 40 2b 00 00 00 00
[ 93.810642] dhd_bus_cmn_writeshared:
[ 93.810651] 0000: 00 30 41 2b
[ 93.810660] dhd_bus_cmn_writeshared:
[ 93.810669] 0000: 08 00 00 00
[ 93.812344] IRQ200 no longer affine to CPU1
[ 93.812364] IRQ203 no longer affine to CPU1
[ 93.816168] BUG: scheduling while atomic: kexec/3782/0x00000002
[ 93.816187] CPU: 0 PID: 3782 Comm: kexec Tainted: G W 3.10.40-g15096bd-00002-g2a9d605 #2
[ 93.816209] [<c010c83c>] (unwind_backtrace+0x0/0x11c) from [<c0109c6c>] (show_stack+0x10/0x14)
[ 93.816230] [<c0109c6c>] (show_stack+0x10/0x14) from [<c0a26c10>] (__schedule_bug+0x44/0x60)
[ 93.816250] [<c0a26c10>] (__schedule_bug+0x44/0x60) from [<c0a2fa80>] (__schedule+0x70/0x77c)
[ 93.816269] [<c0a2fa80>] (__schedule+0x70/0x77c) from [<c0167fe0>] (cpu_hotplug_begin+0x50/0x5c)
[ 93.816289] [<c0167fe0>] (cpu_hotplug_begin+0x50/0x5c) from [<c0a1fe7c>] (_cpu_down+0x60/0x2c0)
[ 93.816310] [<c0a1fe7c>] (_cpu_down+0x60/0x2c0) from [<c01682cc>] (disable_nonboot_cpus+0x6c/0xec)
[ 93.816328] [<c01682cc>] (disable_nonboot_cpus+0x6c/0xec) from [<c01b3ff8>] (kernel_kexec+0x44/0x74)
[ 93.816345] [<c01b3ff8>] (kernel_kexec+0x44/0x74) from [<c0178910>] (SyS_reboot+0x174/0x1f4)
[ 93.816362] [<c0178910>] (SyS_reboot+0x174/0x1f4) from [<c0106240>] (ret_fast_syscall+0x0/0x30)
[ 93.816710] BUG: scheduling while atomic: kexec/3782/0x00000002
[ 93.816726] CPU: 0 PID: 3782 Comm: kexec Tainted: G W 3.10.40-g15096bd-00002-g2a9d605 #2
[ 93.816745] [<c010c83c>] (unwind_backtrace+0x0/0x11c) from [<c0109c6c>] (show_stack+0x10/0x14)
[ 93.816764] [<c0109c6c>] (show_stack+0x10/0x14) from [<c0a26c10>] (__schedule_bug+0x44/0x60)
[ 93.816785] [<c0a26c10>] (__schedule_bug+0x44/0x60) from [<c0a2fa80>] (__schedule+0x70/0x77c)
[ 93.816803] [<c0a2fa80>] (__schedule+0x70/0x77c) from [<c0a2e3e8>] (schedule_timeout+0x28/0x26c)
[ 93.816820] [<c0a2e3e8>] (schedule_timeout+0x28/0x26c) from [<c0a2f8a0>] (wait_for_common+0x11c/0x164)
[ 93.816839] [<c0a2f8a0>] (wait_for_common+0x11c/0x164) from [<c017e5e0>] (flush_work+0xd4/0xfc)
[ 93.816858] [<c017e5e0>] (flush_work+0xd4/0xfc) from [<c0a245c8>] (workqueue_cpu_down_callback+0x80/0x9c)
[ 93.816879] [<c0a245c8>] (workqueue_cpu_down_callback+0x80/0x9c) from [<c01884a4>] (notifier_call_chain+0x40/0x68)
[ 93.816899] [<c01884a4>] (notifier_call_chain+0x40/0x68) from [<c0168014>] (__cpu_notify+0x28/0x44)
[ 93.816917] [<c0168014>] (__cpu_notify+0x28/0x44) from [<c0a1fe90>] (_cpu_down+0x74/0x2c0)
[ 93.816934] [<c0a1fe90>] (_cpu_down+0x74/0x2c0) from [<c01682cc>] (disable_nonboot_cpus+0x6c/0xec)
[ 93.816952] [<c01682cc>] (disable_nonboot_cpus+0x6c/0xec) from [<c01b3ff8>] (kernel_kexec+0x44/0x74)
[ 93.816971] [<c01b3ff8>] (kernel_kexec+0x44/0x74) from [<c0178910>] (SyS_reboot+0x174/0x1f4)
[ 93.816990] [<c0178910>] (SyS_reboot+0x174/0x1f4) from [<c0106240>] (ret_fast_syscall+0x0/0x30)
[ 93.817167] BUG: scheduling while atomic: kexec/3782/0x00000002
[ 93.817181] CPU: 0 PID: 3782 Comm: kexec Tainted: G W 3.10.40-g15096bd-00002-g2a9d605 #2
[ 93.817199] [<c010c83c>] (unwind_backtrace+0x0/0x11c) from [<c0109c6c>] (show_stack+0x10/0x14)
[ 93.817217] [<c0109c6c>] (show_stack+0x10/0x14) from [<c0a26c10>] (__schedule_bug+0x44/0x60)
[ 93.817236] [<c0a26c10>] (__schedule_bug+0x44/0x60) from [<c0a2fa80>] (__schedule+0x70/0x77c)
[ 93.817254] [<c0a2fa80>] (__schedule+0x70/0x77c) from [<c0a2e3e8>] (schedule_timeout+0x28/0x26c)
[ 93.817271] [<c0a2e3e8>] (schedule_timeout+0x28/0x26c) from [<c0a2f8a0>] (wait_for_common+0x11c/0x164)
[ 93.817292] [<c0a2f8a0>] (wait_for_common+0x11c/0x164) from [<c0183520>] (kthread_park+0x60/0x7c)
[ 93.817312] [<c0183520>] (kthread_park+0x60/0x7c) from [<c018ac1c>] (smpboot_park_threads+0x54/0x74)
[ 93.817332] [<c018ac1c>] (smpboot_park_threads+0x54/0x74) from [<c0a1fed0>] (_cpu_down+0xb4/0x2c0)
[ 93.817352] [<c0a1fed0>] (_cpu_down+0xb4/0x2c0) from [<c01682cc>] (disable_nonboot_cpus+0x6c/0xec)
[ 93.817369] [<c01682cc>] (disable_nonboot_cpus+0x6c/0xec) from [<c01b3ff8>] (kernel_kexec+0x44/0x74)
[ 93.817386] [<c01b3ff8>] (kernel_kexec+0x44/0x74) from [<c0178910>] (SyS_reboot+0x174/0x1f4)
[ 93.817404] [<c0178910>] (SyS_reboot+0x174/0x1f4) from [<c0106240>] (ret_fast_syscall+0x0/0x30)
[ 93.817438] BUG: scheduling while atomic: kexec/3782/0x00000002
[ 93.817452] CPU: 0 PID: 3782 Comm: kexec Tainted: G W 3.10.40-g15096bd-00002-g2a9d605 #2
[ 93.817470] [<c010c83c>] (unwind_backtrace+0x0/0x11c) from [<c0109c6c>] (show_stack+0x10/0x14)
[ 93.817490] [<c0109c6c>] (show_stack+0x10/0x14) from [<c0a26c10>] (__schedule_bug+0x44/0x60)
[ 93.817510] [<c0a26c10>] (__schedule_bug+0x44/0x60) from [<c0a2fa80>] (__schedule+0x70/0x77c)
[ 93.817529] [<c0a2fa80>] (__schedule+0x70/0x77c) from [<c0a2e3e8>] (schedule_timeout+0x28/0x26c)
[ 93.817548] [<c0a2e3e8>] (schedule_timeout+0x28/0x26c) from [<c0a2f8a0>] (wait_for_common+0x11c/0x164)
[ 93.817566] [<c0a2f8a0>] (wait_for_common+0x11c/0x164) from [<c01ba530>] (__stop_cpus+0x48/0x60)
[ 93.817584] [<c01ba530>] (__stop_cpus+0x48/0x60) from [<c01ba8a8>] (stop_cpus+0x2c/0x44)
[ 93.817602] [<c01ba8a8>] (stop_cpus+0x2c/0x44) from [<c01ba9c8>] (__stop_machine+0xb8/0xd4)
[ 93.817620] [<c01ba9c8>] (__stop_machine+0xb8/0xd4) from [<c0a1fef4>] (_cpu_down+0xd8/0x2c0)
[ 93.817638] [<c0a1fef4>] (_cpu_down+0xd8/0x2c0) from [<c01682cc>] (disable_nonboot_cpus+0x6c/0xec)
[ 93.817655] [<c01682cc>] (disable_nonboot_cpus+0x6c/0xec) from [<c01b3ff8>] (kernel_kexec+0x44/0x74)
[ 93.817672] [<c01b3ff8>] (kernel_kexec+0x44/0x74) from [<c0178910>] (SyS_reboot+0x174/0x1f4)
[ 93.817689] [<c0178910>] (SyS_reboot+0x174/0x1f4) from [<c0106240>] (ret_fast_syscall+0x0/0x30)
[ 93.817736] IRQ39 no longer affine to CPU2
[ 93.819113] BUG: scheduling while atomic: kexec/3782/0x00000002
[ 93.819128] CPU: 0 PID: 3782 Comm: kexec Tainted: G W 3.10.40-g15096bd-00002-g2a9d605 #2
[ 93.819147] [<c010c83c>] (unwind_backtrace+0x0/0x11c) from [<c0109c6c>] (show_stack+0x10/0x14)
[ 93.819170] [<c0109c6c>] (show_stack+0x10/0x14) from [<c0a26c10>] (__schedule_bug+0x44/0x60)
[ 93.819191] [<c0a26c10>] (__schedule_bug+0x44/0x60) from [<c0a2fa80>] (__schedule+0x70/0x77c)
[ 93.819210] [<c0a2fa80>] (__schedule+0x70/0x77c) from [<c0a2e3e8>] (schedule_timeout+0x28/0x26c)
[ 93.819229] [<c0a2e3e8>] (schedule_timeout+0x28/0x26c) from [<c0a2f8a0>] (wait_for_common+0x11c/0x164)
[ 93.819334] [<c0a2f8a0>] (wait_for_common+0x11c/0x164) from [<c014a5b0>] (msm_rpm_wait_for_ack+0x54/0x108)
[ 93.819373] [<c014a5b0>] (msm_rpm_wait_for_ack+0x54/0x108) from [<c041db38>] (rpm_vreg_send_request+0x44/0xa0)
[ 93.819397] [<c041db38>] (rpm_vreg_send_request+0x44/0xa0) from [<c041df78>] (rpm_vreg_aggregate_requests+0x1a0/0x2cc)
[ 93.819417] [<c041df78>] (rpm_vreg_aggregate_requests+0x1a0/0x2cc) from [<c041e644>] (rpm_vreg_set_voltage_corner+0x128/0x198)
[ 93.819437] [<c041e644>] (rpm_vreg_set_voltage_corner+0x128/0x198) from [<c0419700>] (_regulator_do_set_voltage+0x128/0x3e8)
[ 93.819457] [<c0419700>] (_regulator_do_set_voltage+0x128/0x3e8) from [<c0419a7c>] (regulator_set_voltage+0xbc/0xec)
[ 93.819488] [<c0419a7c>] (regulator_set_voltage+0xbc/0xec) from [<c07b9e84>] (update_vdd+0xe0/0x2b8)
[ 93.819512] [<c07b9e84>] (update_vdd+0xe0/0x2b8) from [<c07ba1b8>] (unvote_vdd_level+0x60/0x98)
[ 93.819532] [<c07ba1b8>] (unvote_vdd_level+0x60/0x98) from [<c07bab7c>] (clk_set_rate+0x18c/0x1f4)
[ 93.819565] [<c07bab7c>] (clk_set_rate+0x18c/0x1f4) from [<c0705460>] (update_l2_bw+0x8c/0xdc)
[ 93.819647] [<c0705460>] (update_l2_bw+0x8c/0xdc) from [<c0705a78>] (msm_cpufreq_cpu_callback+0xd4/0x124)
[ 93.819667] [<c0705a78>] (msm_cpufreq_cpu_callback+0xd4/0x124) from [<c01884a4>] (notifier_call_chain+0x40/0x68)
[ 93.819687] [<c01884a4>] (notifier_call_chain+0x40/0x68) from [<c0168014>] (__cpu_notify+0x28/0x44)
[ 93.819706] [<c0168014>] (__cpu_notify+0x28/0x44) from [<c0168044>] (cpu_notify_nofail+0x8/0x14)
[ 93.819726] [<c0168044>] (cpu_notify_nofail+0x8/0x14) from [<c0a1ff54>] (_cpu_down+0x138/0x2c0)
[ 93.819745] [<c0a1ff54>] (_cpu_down+0x138/0x2c0) from [<c01682cc>] (disable_nonboot_cpus+0x6c/0xec)
[ 93.819765] [<c01682cc>] (disable_nonboot_cpus+0x6c/0xec) from [<c01b3ff8>] (kernel_kexec+0x44/0x74)
[ 93.819782] [<c01b3ff8>] (kernel_kexec+0x44/0x74) from [<c0178910>] (SyS_reboot+0x174/0x1f4)
[ 93.819802] [<c0178910>] (SyS_reboot+0x174/0x1f4) from [<c0106240>] (ret_fast_syscall+0x0/0x30)
[ 93.820348] Bye!
BTW, serial console via headphones jack also works on Nexus 6, that's what I used most of the time. You just have to build/get the HW and forcefully enable the console in kernel, since whoever made the bootloader for Nexus 6 was a very evil kind of person.

Tasssadar said:
BTW, serial console via headphones jack also works on Nexus 6, that's what I used most of the time. You just have to build/get the HW and forcefully enable the console in kernel, since whoever made the bootloader for Nexus 6 was a very evil kind of person.
Click to expand...
Click to collapse
I'm pretty sure (on the Nexus 7 2013, at least) there is a "fastboot oem uart-on" command. Does this not work with the Nexus 6?

r3pwn said:
I'm pretty sure (on the Nexus 7 2013, at least) there is a "fastboot oem uart-on" command. Does this not work with the Nexus 6?
Click to expand...
Click to collapse
Oh, there is "fastboot oem config console true" (and bunch of other options, see "fastboot oem config"), thanks. Didn't know about "fastboot oem help", gonna remember that for next time. Still don't think bootloader should even do this kind of stuff though.

Tasssadar said:
Oh, there is "fastboot oem config console true" (and bunch of other options, see "fastboot oem config"), thanks. Didn't know about "fastboot oem help", gonna remember that for next time. Still don't think bootloader should even do this kind of stuff though.
Click to expand...
Click to collapse
I don't even have a Nexus 6.
If you get me an aboot dump, I'll check to see if there are any other relatively interesting commands (if you want, that is).

Hey, I hope you don't mind me asking about this here. I owned Samsung devices for years, so I sorta recognized the OP
I'm just wondering if anyone here might be able to tell me why my ROM/kernel won't generate a last_kmsg. No matter what, it's just never created. HTC M9 - CM12.1 based.
Is it possible that I'm missing a module in the kernel?

Related

Fascinate UART Hacking/debugging

Hey, I was playing around with my "Hack dock" on a Fascinate which was given to me at the Big Android BBQ from the gentleman who runs RootzWiki. The unique thing about this device is that it was totally functional when I received it. It was given to me with a busted screen. I'm going to turn this into a fully functional development platform as I have done with the Captivate.
I've squared away UnBrickable Mod on the device and I will be posting the information soon. I wanted to post up some UART Output from the device as I go along. through it. This is valuable for debugging information and can open some doors for development.
While I was playing around with the UART output I came across a SBL> prompt command which I had never seen before. The command is "movi_patch". If anyone can shed some light on it, I'd appreciate it.
Code:
SBL> movi_patch
###################################
MOVINAND PATCH START
###################################
Movi Init .....Enable Movinand
[hsmmc_init] MMC card is detected
Product Name : M2G1DE
<display_card_info:939>normal csd
read_bl_len: 10
read_bl_partial: 0
One Block Size: 1024 Byte
c_size: 3815
c_size_multi: 7
Total Card Size: 1909 MByte
MoviNand Initialization Complete!
Success!
Pre Patch ....Enter Patch Mode!
Success!
Success!
Good Block Erase!
Success!
Success!
Success!
Pre-Patch Binary Read ...
Success!
Pre-Patch Binary Write ...
.
Pre-Patch Confirm!
Success!
Success!
Power Off!
Movi Init (Format) .....Enable Movinand
[hsmmc_init] MMC card is detected
Product Name : 000000
<display_card_info:939>normal csd
read_bl_len: 10
read_bl_partial: 0
One Block Size: 1024 Byte
c_size: 3815
c_size_multi: 7
Total Card Size: 1909 MByte
MoviNand Initialization Complete!
Success!
Power Off!
Power On!
###################################
MOVINAND PATCH FINSH
###################################
Success!
SBL> reset
Rebooting...
I"ve never seen anything like it...
Here's some more of the UART output/boot sequence.. For those who don't know, this is like the bios on a PC.
Code:
�
-----------------------------------------------------------
Samsung Primitive Bootloader (PBL) v3.0
Copyright (C) Samsung Electronics Co., Ltd. 2006-2010
-----------------------------------------------------------
+n1stVPN 2688
+nPgsPerBlk 64
PBL found bootable SBL: Partition(3).
Set cpu clk. from 400MHz to 800MHz.
IROM e-fused version.
-----------------------------------------------------------
Samsung Secondary Bootloader (SBL) v3.0
Copyright (C) Samsung Electronics Co., Ltd. 2006-2010
Board Name: ARIES REV 02
Build On: Feb 28 2011 18:02:24
-----------------------------------------------------------
Re_partition: magic code(0x0)
[PAM: ] ++FSR_PAM_Init
[PAM: ] OneNAND physical base address : 0xb0000000
[PAM: ] OneNAND virtual base address : 0xb0000000
[PAM: ] OneNAND nMID=0xec : nDID=0x50
[PAM: ] --FSR_PAM_Init
fsr_bml_load_partition: pi->nNumOfPartEntry = 12
partitions loading success
board partition information update.. source: 0x0
.Done.
read 1 units.
==== PARTITION INFORMATION ====
ID : IBL+PBL (0x0)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 0
NO_UNITS : 1
===============================
ID : PIT (0x1)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 1
NO_UNITS : 1
===============================
ID : EFS (0x14)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 2
NO_UNITS : 40
===============================
ID : SBL (0x3)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 42
NO_UNITS : 5
===============================
ID : SBL2 (0x4)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 47
NO_UNITS : 5
===============================
ID : PARAM (0x15)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 52
NO_UNITS : 20
===============================
ID : KERNEL (0x6)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 72
NO_UNITS : 30
===============================
ID : RECOVERY (0x7)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 102
NO_UNITS : 30
===============================
ID : FACTORYFS (0x16)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 132
NO_UNITS : 1286
===============================
ID : DBDATAFS (0x17)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 1418
NO_UNITS : 444
===============================
ID : CACHE (0x18)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 1862
NO_UNITS : 140
===============================
ID : MODEM (0xb)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 2002
NO_UNITS : 2
===============================
loke_init: j4fs_open success..
load_lfs_parameters valid magic code and version.
load_debug_level reading debug level from file successfully(0x44494d44).
quick_start- quick start is executed!
init_fuel_gauge: vcell = 4110mV, soc = 90
reading nps status file is successfully!.
nps status=0x504d4f43
PMIC_IRQ1 = 0x28
PMIC_IRQ2 = 0x0
PMIC_IRQ3 = 0x0
PMIC_IRQ4 = 0x0
PMIC_STATUS1 = 0x40
PMIC_STATUS2 = 0x2c
get_debug_level current debug level is 0x44494d44.
get_debug_level current debug level is 0x44494d44.
aries_process_platform: Debug Level Mid
keypad_scan: key value ----------------->= 0x0
CONFIG_ARIES_REV:32 , CONFIG_ARIES_REV03:48
DISPLAY_PATH_SEL[MDNIE 0x1]is on
MDNIE setting Init start!!
vsync interrupt is off
video interrupt is off
[fb0] turn on
MDNIE setting Init end!!
set_boot_mode: boot mode = 1
aries_process_platform: final s1 booting mode = 1
Autoboot (0 seconds) in progress, press any key to stop Autoboot aborted..
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL> help
Following commands are supported:
* setenv
* saveenv
* printenv
* help
* reset
* boot
* kernel
* format
* open
* close
* erasepart
* eraseall
* loadkernel
* showpart
* addpart
* delpart
* savepart
* nkernel
* nramdisk
* nandread
* nandwrite
* usb
* mmctest
* keyread
* movi_patch
* usb_read
* usb_write
* fuelgauge
* pmic_read
* pmic_write
To get commands help, Type "help <command>"
SBL> printenv
PARAM Rev 1.3
SERIAL_SPEED : 7
LOAD_RAMDISK : 0
BOOT_DELAY : 0
LCD_LEVEL : 97
SWITCH_SEL : 5
PHONE_DEBUG_ON : 0
LCD_DIM_LEVEL : 0
LCD_DIM_TIME : 6
MELODY_MODE : 1
REBOOT_MODE : 0
NATION_SEL : 0
LANGUAGE_SEL : 0
SET_DEFAULT_PARAM : 0
PARAM_INT_13 : 0
TOOL_LAUNCHER_STATE : 1
VERSION : I9000XXIL
CMDLINE : console=ttySAC2,115200 loglevel=3 wipedata
DELTA_LOCATION : /mnt/rsv
PARAM_STR_3 :
PARAM_STR_4 :
SBL> showpart
board partition information update.. source: 0x0
.Done.
read 1 units.
==== PARTITION INFORMATION ====
ID : IBL+PBL (0x0)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 0
NO_UNITS : 1
===============================
ID : PIT (0x1)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 1
NO_UNITS : 1
===============================
ID : EFS (0x14)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 2
NO_UNITS : 40
===============================
ID : SBL (0x3)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 42
NO_UNITS : 5
===============================
ID : SBL2 (0x4)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 47
NO_UNITS : 5
===============================
ID : PARAM (0x15)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 52
NO_UNITS : 20
===============================
ID : KERNEL (0x6)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 72
NO_UNITS : 30
===============================
ID : RECOVERY (0x7)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 102
NO_UNITS : 30
===============================
ID : FACTORYFS (0x16)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 132
NO_UNITS : 1286
===============================
ID : DBDATAFS (0x17)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 1418
NO_UNITS : 444
===============================
ID : CACHE (0x18)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 1862
NO_UNITS : 140
===============================
ID : MODEM (0xb)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 2002
NO_UNITS : 2
===============================
SBL> setenv SWITCH_SEL 6543
argv[0] : setenv
argv[1] : SWITCH_SEL
argv[2] : 6543
value : 6543
SBL> setenv PHONE_DEBUG_ON 1
argv[0] : setenv
argv[1] : PHONE_DEBUG_ON
argv[2] : 1
value : 1
SBL> saveenv
save param.blk, size: 5268
save param.blk successfully.
SBL> reset
Rebooting...
SB
This shows default values for anyone who wants to modify them.
And here's the boot after enabling some debug output
Code:
-----------------------------------------------------------
Samsung Primitive Bootloader (PBL) v3.0
Copyright (C) Samsung Electronics Co., Ltd. 2006-2010
-----------------------------------------------------------
+n1stVPN 2688
+nPgsPerBlk 64
PBL found bootable SBL: Partition(3).
Set cpu clk. from 400MHz to 800MHz.
IROM e-fused version.
-----------------------------------------------------------
Samsung Secondary Bootloader (SBL) v3.0
Copyright (C) Samsung Electronics Co., Ltd. 2006-2010
Board Name: ARIES REV 02
Build On: Feb 28 2011 18:02:24
-----------------------------------------------------------
Re_partition: magic code(0x0)
[PAM: ] ++FSR_PAM_Init
[PAM: ] OneNAND physical base address : 0xb0000000
[PAM: ] OneNAND virtual base address : 0xb0000000
[PAM: ] OneNAND nMID=0xec : nDID=0x50
[PAM: ] --FSR_PAM_Init
fsr_bml_load_partition: pi->nNumOfPartEntry = 12
partitions loading success
board partition information update.. source: 0x0
.Done.
read 1 units.
==== PARTITION INFORMATION ====
ID : IBL+PBL (0x0)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 0
NO_UNITS : 1
===============================
ID : PIT (0x1)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 1
NO_UNITS : 1
===============================
ID : EFS (0x14)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 2
NO_UNITS : 40
===============================
ID : SBL (0x3)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 42
NO_UNITS : 5
===============================
ID : SBL2 (0x4)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 47
NO_UNITS : 5
===============================
ID : PARAM (0x15)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 52
NO_UNITS : 20
===============================
ID : KERNEL (0x6)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 72
NO_UNITS : 30
===============================
ID : RECOVERY (0x7)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 102
NO_UNITS : 30
===============================
ID : FACTORYFS (0x16)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 132
NO_UNITS : 1286
===============================
ID : DBDATAFS (0x17)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 1418
NO_UNITS : 444
===============================
ID : CACHE (0x18)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 1862
NO_UNITS : 140
===============================
ID : MODEM (0xb)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 2002
NO_UNITS : 2
===============================
loke_init: j4fs_open success..
load_lfs_parameters valid magic code and version.
load_debug_level reading debug level from file successfully(0x44494d44).
init_fuel_gauge: vcell = 4113mV, soc = 90
reading nps status file is successfully!.
nps status=0x504d4f43
PMIC_IRQ1 = 0x0
PMIC_IRQ2 = 0x0
PMIC_IRQ3 = 0x0
PMIC_IRQ4 = 0x0
PMIC_STATUS1 = 0x40
PMIC_STATUS2 = 0x2c
get_debug_level current debug level is 0x44494d44.
get_debug_level current debug level is 0x44494d44.
aries_process_platform: Debug Level Mid
keypad_scan: key value ----------------->= 0x0
CONFIG_ARIES_REV:32 , CONFIG_ARIES_REV03:48
DISPLAY_PATH_SEL[MDNIE 0x1]is on
MDNIE setting Init start!!
vsync interrupt is off
video interrupt is off
[fb0] turn on
MDNIE setting Init end!!
set_boot_mode: boot mode = 1
aries_process_platform: final s1 booting mode = 1
Autoboot (0 seconds) in progress, press any key to stop
get_debug_level current debug level is 0x44494d44.
get_debug_level current debug level is 0x44494d44.
boot_kernel: Debug Level 0x44494d44
Load Partion idx = (6)
Loading Partion idx = (6)
..............................done
Kernel read success from kernel partition no.6, idx.6.
setting param.serialnr=0x32321357 0x21bb00ec
setting param.board_rev=0x20
setting param.cmdline=console=ttySAC2,115200 loglevel=3 wipedata
Starting kernel at 0x32000000...
Uncompressing Linux... done, booting the kernel.
<hit enter to activate fiq debugger>
I should mention that this device came with CM7 on it. I will put together a Heimdall One-Click and flash back to stock, then update this post.
Here is the kernel loading into power-off battery charging mode
Code:
-----------------------------------------------------------
Samsung Primitive Bootloader (PBL) v3.0
Copyright (C) Samsung Electronics Co., Ltd. 2006-2010
-----------------------------------------------------------
+n1stVPN 2688
+nPgsPerBlk 64
+n1stVPN 3008
+nPgsPerBlk 64
PBL found bootable SBL: Partition(4).
Set cpu clk. from 400MHz to 800MHz.
IROM e-fused version.
-----------------------------------------------------------
Samsung Secondary Bootloader (SBL) v3.0
Copyright (C) Samsung Electronics Co., Ltd. 2006-2010
Board Name: ARIES REV 02
Build On: Oct 26 2010 14:22:42
-----------------------------------------------------------
Re_partition: magic code(0x0)
[PAM: ] ++FSR_PAM_Init
[PAM: ] OneNAND physical base address : 0xb0000000
[PAM: ] OneNAND virtual base address : 0xb0000000
[PAM: ] OneNAND nMID=0xec : nDID=0x50
[PAM: ] --FSR_PAM_Init
fsr_bml_load_partition: pi->nNumOfPartEntry = 12
partitions loading success
board partition information update.. source: 0x0
.Done.
read 1 units.
==== PARTITION INFORMATION ====
ID : IBL+PBL (0x0)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 0
NO_UNITS : 1
===============================
ID : PIT (0x1)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 1
NO_UNITS : 1
===============================
ID : EFS (0x14)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 2
NO_UNITS : 40
===============================
ID : SBL (0x3)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 42
NO_UNITS : 5
===============================
ID : SBL2 (0x4)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 47
NO_UNITS : 5
===============================
ID : PARAM (0x15)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 52
NO_UNITS : 20
===============================
ID : KERNEL (0x6)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 72
NO_UNITS : 30
===============================
ID : RECOVERY (0x7)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 102
NO_UNITS : 30
===============================
ID : FACTORYFS (0x16)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 132
NO_UNITS : 1286
===============================
ID : DBDATAFS (0x17)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 1418
NO_UNITS : 444
===============================
ID : CACHE (0x18)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 1862
NO_UNITS : 140
===============================
ID : MODEM (0xb)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 2002
NO_UNITS : 2
===============================
loke_init: j4fs_open success..
load_lfs_parameters valid magic code and version.
load_debug_level reading debug level from file successfully(0x574f4c44).
quick_start- quick start is executed!
init_fuel_gauge: vcell = 3790mV, soc = 36
reading nps status file is successfully!.
nps status=0x504d4f43
PMIC_IRQ1 = 0x0
PMIC_IRQ2 = 0x0
PMIC_IRQ3 = 0x0
PMIC_IRQ4 = 0x0
PMIC_STATUS1 = 0x40
PMIC_STATUS2 = 0x2c
get_debug_level current debug level is 0x574f4c44.
aries_process_platform: Debug Level Low
keypad_scan: key value ----------------->= 0x0
CONFIG_ARIES_REV:32 , CONFIG_ARIES_REV03:48
DISPLAY_PATH_SEL[MDNIE 0x1]is on
MDNIE setting Init start!!
vsync interrupt is off
video interrupt is off
[fb0] turn on
MDNIE setting Init end!!
set_boot_mode: boot mode = 1
aries_process_platform: final s1 booting mode = 1
Autoboot (0 seconds) in progress, press any key to stop
get_debug_level current debug level is 0x574f4c44.
get_debug_level current debug level is 0x574f4c44.
boot_kernel: Debug Level Low
Load Partion idx = (6)
Loading Partion idx = (6)
..............................done
Kernel read success from kernel partition no.6, idx.6.
setting param.serialnr=0x32321357 0x21bb00ec
setting param.board_rev=0x20
setting param.cmdline=console=ttySAC2,115200 loglevel=9
Starting kernel at 0x32000000...
Uncompressing Linux...................................................................................................................................................................................
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.32.9 ([email protected]) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) ) #1 Fri Jul 8 18:12:14 KST 2011
[ 0.000000] CPU: ARMv7 Processor [412fc082] revision 2 (ARMv7), cr=10c53c7f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: SMDKC110
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 20480
[ 0.000000] free_area_init_node: node 0, pgdat c1069aa8, node_mem_map c1240000
[ 0.000000] Normal zone: 160 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 20320 pages, LIFO batch:3
[ 0.000000] On node 1 totalpages: 65536
[ 0.000000] free_area_init_node: node 1, pgdat c106a160, node_mem_map d0002000
[ 0.000000] Normal zone: 512 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 65024 pages, LIFO batch:15
[ 0.000000] On node 2 totalpages: 32768
[ 0.000000] free_area_init_node: node 2, pgdat c106a818, node_mem_map e0001000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32512 pages, LIFO batch:7
[ 0.000000] On node 3 totalpages: 0
[ 0.000000] free_area_init_node: node 3, pgdat c106aed0, node_mem_map c12e8c20
[ 0.000000] Normal zone: 1 pages exceeds realsize 0
[ 0.000000] CPU S5PV210/S5PC110 (id 0x43110222)
[ 0.000000] s5pv210_init_clocks: initializing clocks
[ 0.000000] S3C24XX Clocks, Copyright 2004 Simtec Electronics
[ 0.000000] copy: bad source 0
[ 0.000000] mout_audss: bad source 0
[ 0.000000] s5pv210_setup_clocks: registering clocks
[ 0.000000] s5pv210_setup_clocks: clkdiv0 = 14131330, clkdiv1 = 00300400
[ 0.000000] s5pv210_setup_clocks: xtal is 24000000
[ 0.000000] S5PV210: PLL settings, A=800000000, M=667000000, E=96000000
[ 0.000000] s5pv210: 33554432 bytes system memory reserved for mfc at 0x312f3000
[ 0.000000] s5pv210: 33554432 bytes system memory reserved for mfc at 0x40204000
[ 0.000000] s5pv210: 12582912 bytes system memory reserved for fimc0 at 0x42204000
[ 0.000000] s5pv210: 1048576 bytes system memory reserved for fimc1 at 0x42e04000
[ 0.000000] s5pv210: 12582912 bytes system memory reserved for fimc2 at 0x42f04000
[ 0.000000] s5pv210: 2097152 bytes system memory reserved for pmem at 0x332f3000
[ 0.000000] s5pv210: 4194304 bytes system memory reserved for pmem_gpu1 at 0x334f3000
[ 0.000000] s5pv210: 1536000 bytes system memory reserved for pmem_adsp at 0x338f3000
[ 0.000000] s5pv210: 10485760 bytes system memory reserved for texstream at 0x33a6a000
[ 0.000000]
[ 0.000000] Skipping memset of fb base address 0x4fc00000 -------
[ 0.000000] s5pv210: 3145728 bytes system memory reserved for fimd at 0x4fc00000
[ 0.000000] s5pv210: 262144 bytes system memory reserved for wifi at 0x3446a000
[ 0.000000] Built 3 zonelists in Zone order, mobility grouping on. Total pages: 117856
[ 0.000000] Kernel command line: console=ttySAC2,115200 loglevel=9
[ 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: 80MB 256MB 128MB = 464MB total
[ 0.000000] Memory: 339468KB available (9240K code, 1899K data, 7152K init, 0K highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=4
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:339
[ 0.000000] VIC @fd000000: id 0x00041192, vendor 0x41
[ 0.000000] VIC @fd010000: id 0x00041192, vendor 0x41
[ 0.000000] VIC @fd020000: id 0x00041192, vendor 0x41
[ 0.000000] VIC @fd030000: id 0x00041192, vendor 0x41
[ 0.000000] mult[140737]
[ 0.000000] max_delta_ns[2147483647]
[ 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.366831] Calibrating delay loop... 796.20 BogoMIPS (lpj=1556480)
[ 0.450413] Mount-cache hash table entries: 512
[ 0.455270] Initializing cgroup subsys debug
[ 0.459117] Initializing cgroup subsys cpuacct
[ 0.463534] Initializing cgroup subsys freezer
[ 0.467980] CPU: Testing write buffer coherency: ok
[ 0.477113] KERNEL:kernel_sec_get_debug_level_from_boot=0x574f4c44
[ 0.481866] KERNEL:magic_number=0x0 DEBUG LEVEL low!!
[ 0.486861] (kernel_sec_set_upload_cause) : upload_cause set 0
[ 0.497612] regulator: core version 0.5
[ 0.500373] NET: Registered protocol family 16
[ 0.520404] S5PC110 Hardware version : EVT1
[ 0.524028] HWREV is 0x7
[ 0.526115] S3C Power Management, Copyright 2004 Simtec Electronics
[ 0.544089] aries_init_wifi_mem
[ 0.545787] aries_init_wifi_mem success
[ 0.549624] recovery_dev_register
[ 0.552874] create_recovery_class
[ 0.556535] S5PV210 Power Domain API Enable
[ 0.561293] S5PV210: Initializing architecture
[ 0.564803] S3C PL330-DMA Controller Driver, (c) 2008-2009 Samsung Electronics
[ 0.571957] Total 24 DMA channels will be initialized.
[ 0.578423] DMA: got clock for controller 0 and disabled
[ 0.583149] DMA: got clock for controller 1 and disabled
[ 0.588553] DMA: got clock for controller 2 and disabled
[ 0.594646] s3c24xx-pwm s3c24xx-pwm.0: tin at 66700000, tdiv at 66700000, tin=divclk, base 0
[ 0.601679] s3c24xx-pwm s3c24xx-pwm.1: tin at 66700000, tdiv at 66700000, tin=divclk, base 8
[ 0.610068] s3c24xx-pwm s3c24xx-pwm.2: tin at 4168750, tdiv at 4168750, tin=divclk, base 12
[ 0.618392] s3c24xx-pwm s3c24xx-pwm.3: tin at 4168750, tdiv at 4168750, tin=divclk, base 16
[ 0.646354] bio: create slab <bio-0> at 0
[ 0.650199] vgaarb: loaded
[ 0.652482] SCSI subsystem initialized
[ 0.656524] i2c-gpio i2c-gpio.4: using pins 247 (SDA) and 246 (SCL)
[ 0.662084] i2c-gpio i2c-gpio.5: using pins 203 (SDA) and 204 (SCL)
[ 0.668801] regulator: DCDC1: 750 <--> 1500 mV
[ 0.672841] regulator: DCDC2: 750 <--> 1500 mV
[ 0.677558] regulator: LDO4: 3300 mV
[ 0.680953] regulator: LDO7: 1600 <--> 3600 mV
[ 0.685469] regulator: LDO17: 1600 <--> 3600 mV
[ 0.690144] i2c-gpio i2c-gpio.6: using pins 206 (SDA) and 209 (SCL)
[ 0.696313] i2c-gpio i2c-gpio.7: using pins 201 (SDA) and 202 (SCL)
[ 0.702765] i2c-gpio i2c-gpio.8: using pins 42 (SDA) and 43 (SCL)
[ 0.708621] i2c-gpio i2c-gpio.9: using pins 245 (SDA) and 244 (SCL)
[ 0.714920] i2c-gpio i2c-gpio.10: using pins 197 (SDA) and 198 (SCL)
[ 0.721214] i2c-gpio i2c-gpio.11: using pins 114 (SDA) and 98 (SCL)
[ 0.727246] i2c-gpio i2c-gpio.12: using pins 173 (SDA) and 172 (SCL)
[ 0.735219] s3c-i2c s3c2410-i2c.0: i2c-0: S3C I2C adapter
[ 0.740439] s3c-i2c s3c2410-i2c.1: i2c-1: S3C I2C adapter
[ 0.746138] s3c-i2c s3c2410-i2c.2: i2c-2: S3C I2C adapter
[ 0.751898] Bluetooth: Core ver 2.15
[ 0.754256] NET: Registered protocol family 31
[ 0.758498] Bluetooth: HCI device and connection manager initialized
[ 0.764763] Bluetooth: HCI socket layer initialized
[ 0.770013] Switching to clocksource clock_source_systimer
[ 0.784918] NET: Registered protocol family 2
[ 0.788265] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.796083] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.802289] TCP bind hash table entries: 16384 (order: 6, 327680 bytes)
[ 0.809057] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.815055] TCP reno registered
[ 0.818394] NET: Registered protocol family 1
[ 0.854712] [BT] rfkill_register(bt_rfk)
[ 0.857638] [BT] Device Powering ON
[ 0.860813] [BT] GPIO_BT_nRST = 0
[ 0.864122] [BT] bt_host_wake_irq_handler start
[ 0.868675] [BT] GPIO_WLAN_BT_EN = 1
[ 0.974443] [BT] GPIO_BT_nRST = 1
[ 0.976444] [BT] Device Powering OFF
[ 0.979949] [BT] bt_host_wake_irq_handler start
[ 0.984454] [BT] GPIO_BT_nRST = 0
[ 0.987745] [BT] GPIO_WLAN_BT_EN = 0
[ 0.991619] [BT] bt_host_wake_irq_handler start
[ 0.996167] [BT] In the unblocked state of the sleep
[ 1.000782] [BT] GPIO_BT_WAKE = 0
[ 1.004051] [BT] wake_unlock(bt_wake_lock)
[ 1.008192] [BT] In the unblocked state of the sleep
[ 1.013085] [BT] GPIO_BT_WAKE = 0
[ 1.016366] [BT] wake_unlock(bt_wake_lock)
[ 1.020440] [BT] bt_host_wake_irq_handler start
[ 1.025275] S5PC11X_FREQ_TAB=0 , S5PC11X_MAXFREQLEVEL=4
[ 1.030508] S5PV210 ADC driver, (c) 2010 Samsung Electronics
[ 1.037481] [ JACK_DRIVER (sec_jack_init,791) ]
[ 1.040677] SEC HEADSET: Registering headset driver
[ 1.045917] input: sec_jack as /devices/virtual/input/input0
[ 1.051168] [ JACK_DRIVER (sec_jack_probe,631) ] registering switch_sendend switch_dev sysfs sec_jack
[ 1.060720] SISO:registering switch_sendend switch_dev
[ 1.066059] ##########[send_end_irq_handler irq : headset_state : 0 ]##########
[ 1.072924] [ JACK_DRIVER (sec_jack_probe,671) ] sended isr send=0Xbe, ret =0
[ 1.079947] ##########[detect_irq_handler]##########
[ 1.084982] [ JACK_DRIVER (sec_jack_probe,688) ] detect isr send=0X26, ret =0
[ 1.092080] ------------[ cut here ]------------
[ 1.096664] WARNING: at drivers/gpio/gpiolib.c:101 gpio_ensure_requested+0x64/0x130()
[ 1.104455] autorequest GPIO-208
[ 1.107664] Modules linked in:
[ 1.110733] [<c070cb70>] (unwind_backtrace+0x0/0xf4) from [<c0b81de8>] (dump_stack+0x20/0x24)
[ 1.119217] [<c0b81de8>] (dump_stack+0x20/0x24) from [<c074451c>] (warn_slowpath_common+0x60/0x70)
[ 1.128145] [<c074451c>] (warn_slowpath_common+0x60/0x70) from [<c0744588>] (warn_slowpath_fmt+0x38/0x40)
[ 1.137684] [<c0744588>] (warn_slowpath_fmt+0x38/0x40) from [<c08c6f70>] (gpio_ensure_requested+0x64/0x130)
[ 1.147398] [<c08c6f70>] (gpio_ensure_requested+0x64/0x130) from [<c08c70e4>] (gpio_direction_output+0xa8/0x118)
[ 1.157550] [<c08c70e4>] (gpio_direction_output+0xa8/0x118) from [<c0718e9c>] (sec_jack_probe+0x314/0x4f0)
[ 1.167179] [<c0718e9c>] (sec_jack_probe+0x314/0x4f0) from [<c091f8c4>] (platform_drv_probe+0x28/0x2c)
[ 1.176454] [<c091f8c4>] (platform_drv_probe+0x28/0x2c) from [<c091e3e8>] (driver_probe_device+0x8c/0x17c)
[ 1.186080] [<c091e3e8>] (driver_probe_device+0x8c/0x17c) from [<c091e574>] (__driver_attach+0x9c/0xa0)
[ 1.195447] [<c091e574>] (__driver_attach+0x9c/0xa0) from [<c091da80>] (bus_for_each_dev+0x70/0x9c)
[ 1.204467] [<c091da80>] (bus_for_each_dev+0x70/0x9c) from [<c091e25c>] (driver_attach+0x2c/0x30)
[ 1.213313] [<c091e25c>] (driver_attach+0x2c/0x30) from [<c091d180>] (bus_add_driver+0xd8/0x328)
[ 1.222073] [<c091d180>] (bus_add_driver+0xd8/0x328) from [<c091e880>] (driver_register+0x88/0x19c)
[ 1.231095] [<c091e880>] (driver_register+0x88/0x19c) from [<c091fe60>] (platform_driver_register+0x60/0x68)
[ 1.240899] [<c091fe60>] (platform_driver_register+0x60/0x68) from [<c000f978>] (sec_jack_init+0x2c/0x34)
[ 1.250442] [<c000f978>] (sec_jack_init+0x2c/0x34) from [<c07043f4>] (do_one_initcall+0x44/0x1d0)
[ 1.259282] [<c07043f4>] (do_one_initcall+0x44/0x1d0) from [<c0008490>] (kernel_init+0xc0/0x11c)
[ 1.268040] [<c0008490>] (kernel_init+0xc0/0x11c) from [<c0706184>] (kernel_thread_exit+0x0/0x8)
[ 1.276813] ---[ end trace da227214a82491b7 ]---
[ 1.281412] ##########[detect_irq_handler]##########
[ 1.286450] [ JACK_DRIVER (sec_jack_probe,709) ] sec_jack_probe HWREV =7, 0x01=1 jack->low_active =1
[ 1.295636] [ JACK_DRIVER (jack_detect_change,389) ] Headset detached 0
[ 1.302264] [wake_unlock]Detach
[ 1.305614] NetWinder Floating Point Emulator V0.97 (extended precision)
[ 1.313559] ashmem: initialized
[ 1.333496] ROMFS MTD (C) 2007 Red Hat, Inc.
[ 1.336838] msgmni has been set to 663
[ 1.340491] alg: No test for cipher_null (cipher_null-generic)
[ 1.346013] alg: No test for ecb(cipher_null) (ecb-cipher_null)
[ 1.351874] alg: No test for digest_null (digest_null-generic)
[ 1.357681] alg: No test for compress_null (compress_null-generic)
[ 1.365733] alg: No test for stdrng (krng)
[ 1.420873] alg: No test for ghash (ghash-generic)
[ 1.424280] io scheduler noop registered
[ 1.428124] io scheduler anticipatory registered
[ 1.432703] io scheduler deadline registered
[ 1.437643] io scheduler cfq registered (default)
[ 1.443640] MDNIE INIT ..........
[ 1.445571] S3C MDNIE Driver, (c) 2010 Samsung Electronics
[ 1.451772] MDNIE INIT SUCCESS Addr : 0xe8838000
[ 1.455782] IELCD INIT ..........
[ 1.459118] S3C IELCD Driver, (c) 2010 Samsung Electronics
[ 1.465250] IELCD INIT SUCCESS Addr : 0xe8840000
[ 1.470183] s3cfb s3cfb: [fb0] dma: 0x4fc00000, cpu: 0xe8c00000, size: 0x002ee000
[ 1.478610] FIMD src sclk = 166750000
[ 1.480825] s3cfb s3cfb: registered successfully
[ 1.678474] s5pv210-uart.0: s3c2410_serial0 at MMIO 0xe2900000 (irq = 16) is a S3C6400/10
[ 1.685885] s5pv210-uart.1: s3c2410_serial1 at MMIO 0xe2900400 (irq = 20) is a S3C6400/10
[ 1.693887] s5pv210-uart.2: s3c2410_serial2 at MMIO 0xe2900800 (irq = 24) is a S3C6400/10
[ 1.702008] s5pv210-uart.3: s3c2410_serial3 at MMIO 0xe2900c00 (irq = 28) is a S3C6400/10
[ 1.721239] brd: module loaded
[ 1.728267] loop: module loaded
[ 1.730088] pmem: 1 init
[ 1.734227] pmem_gpu1: 1 init
[ 1.737798] pmem_adsp: 1 init
[ 1.742068] [BIF:IN ] ++FSR_BML_Init(nFlag: 0x0)
[ 1.745404] [PAM: ] ++FSR_PAM_Init
[ 1.749714] [PAM: ] OneNAND physical base address : 0xb0000000
[ 1.755771] [PAM: ] OneNAND virtual base address : 0xe8880000
[ 1.762494] [PAM: ] OneNAND nMID=0xec : nDID=0x50 Page size=4
[ 1.768655] [PAM: ] --FSR_PAM_Init
[ 1.772318] [BIF: ] FSR VERSION: FSR_1.2.1p1_b139_RTM
[ 1.777769] [OND:INF] FSR_OND_4K_Open(nDev:0, pParam:0xc4ff1e38, nFlag:0x00000000) / 1033 line
[ 1.786606] pstOND4kCxt->nBaseAddr: 0xe8880000
[ 1.792153] nDev=0, nMID=0x00ec, nDID=0x0050, nVID=0x013e
[ 1.798657] [OND:INF] pstOND4kCxt->nSysConf1:0xf006 / 1116 line
[ 1.804818] [OND:INF] pstOND4kCxt->nBlksForSLCArea[0]:2048 / 1133 line
[ 1.811588] [OND:INF] pstOND4kCxt->nIntID :0x0000 / 1236 line
[ 1.817735] [OND:INF] 1X_CACHEPGM CMD : 0x007f
[ 1.822423] [OND:INF] 1X_PLOAD CMD : 0x0003
[ 1.827374] [BBM:INF] Scan from 2004 to 2047 to find BML meta blocks (die: 0)
[ 1.834686] [BBM:INF] ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff
[ 1.841625] [BBM:INF] ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff
[ 1.848531] [BBM:INF] ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff
[ 1.855475] [BBM:INF] ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff
[ 1.862408] [BBM:INF] a5a5 a5a5 ffff
[ 1.901878] FSR: Registered TinyFSR Driver.
[ 1.907286] tl2796_probe::779->s6e63m0 probed successfuly
[ 1.911549] PPP generic driver version 2.4.2
[ 1.916491] PPP Deflate Compression module registered
[ 1.920528] PPP BSD Compression module registered
[ 1.926100] PPP MPPE Compression module registered
[ 1.930005] NET: Registered protocol family 24
[ 1.934429] PPPoL2TP kernel driver, V1.0
[ 1.938290] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled).
[ 1.947917] CSLIP: code copyright 1989 Regents of the University of California.
[ 1.955306] [FSA9480] fsa9480_codec_probe
���Łfsa9480_interrupt
[ 2.524483] [FSA9480]----------DEBUG INT HENDLER--------------- fsa9480_interrupt
[ 2.531988] [FSA9480] FSA9480_ReadIntRegister
[ 2.536660] [audio_power, 333] AUDIO POWER COMPLETED : 1
[ 2.541944] [wm8994_i2c_probe, 2309]
[ 2.545587] [wm8994_init, 2120]
[ 2.550700] mmc0: switch to bus width 4
[ 2.552996] mmc0: new high speed MMC card at address 0001
[ 2.559064] mmcblk0: mmc0:0001 000000 1.86 GiB
[ 2.563300] mmcblk0: unknown partition table
[ 2.568203] Another host want the wakelock : 2
[ 2.579896] ldo38_control : turn ON LDO3 and LDO8 (cur_stat=0, req=1)
[ 2.584890] [otg_clock_enable] clk_enable(otg_clock) OK.
[ 2.591218] [udc_enable]AP_USB_Power off by Bootup : 1s3c_preallocate_dma_buffer: VA-ff001000, PA-4F860000, 131072bytes
[ 2.609233] s3c_preallocate_dma_buffer: VA-ff021000, PA-4F880000, 131072bytes
[ 2.616064] asoc: WM8994 PAIFRX <-> s3c64xx-i2s mapping ok
[ 2.621611] sound_tty procfs initialised
[ 2.625442] sound_tty procfs initialised
[ 2.633608] *** DEBUG : First we search for SDIO...(1)***
[ 2.638792] +++++++smdkc110_audio_init
[ 2.641408] *** DEBUG : ...then normal SD...(1) ***
[ 2.646476] [FSA9480] FSA9480_ProcessDevice (dev1 : 0x0, dev2 : 0x4)
[ 2.652481] FSA9480_DEV_TY2_JIG_UART_ON --- ATTACH
[ 2.657464] chk snd_soc_instantiate_card
[ 2.661152] chk snd_soc_instantiate_card: before for : DEBUG 1
[ 2.666958] chk snd_soc_instantiate_card: before !ac97 : DEBUG 2
[ 2.672934] chkerr snd_soc_instantiate_card: Problem card probe() is not defined
[ 2.680312] calling snd_soc_instantiate_card: cpu_dai->probe()
[ 2.687095] calling snd_soc_instantiate_card: codec_dev->probe()
[ 2.692150] WM8994 Audio Codec 0.1
[ 2.695487] [wm8994_pcm_init, 2218]
[ 2.700242] JIG UART ON
[ 2.702379] *** DEBUG : ...and finally MMC. (1)***
[ 2.706773] Another host want the wakelock : 1
[ 2.710846] Universal : Card status 1
[ 2.714652] mmc2: wake_lock_timeout 1sec 0
[ 2.752664] s3c_preallocate_dma_buffer: VA-ff041000, PA-4F8C0000, 131072bytes
[ 2.758618] s3c_preallocate_dma_buffer: VA-ff061000, PA-4F8E0000, 131072bytes
[ 2.765454] asoc: WM8994 PCM <-> s3c-pcmdev mapping ok
[ 2.772212] ASoC: Failed to create codec register debugfs file
[ 2.776612] Failed to create pop time debugfs file
[ 2.781363] Failed to create DAPM debugfs directory
[ 2.786217] chk snd_soc_instantiate_card
[ 2.790132] ----------smdkc110_audio_init
[ 2.794107] ALSA device list:
[ 2.797054] #0: smdkc110 (WM8994)
[ 2.800523] #1: smdkc110-pcm (WM8994)
[ 2.804746] Netfilter messages via NETLINK v0.30.
[ 2.809141] nf_conntrack version 0.5.0 (5311 buckets, 21244 max)
[ 2.815569] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
[ 2.822401] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
[ 2.830287] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
[ 2.836833] xt_time: kernel timezone is -0000
[ 2.842514] IPv4 over IPv4 tunneling driver
[ 2.846903] GRE over IPv4 tunneling driver
[ 2.852638] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 2.856692] TCP cubic registered
[ 2.861093] NET: Registered protocol family 10
[ 2.873550] IPv6 over IPv4 tunneling driver
[ 2.880571] NET: Registered protocol family 17
[ 2.883586] NET: Registered protocol family 15
[ 2.888005] Bluetooth: L2CAP ver 2.14
[ 2.891619] Bluetooth: L2CAP socket layer initialized
[ 2.896666] Bluetooth: SCO (Voice Link) ver 0.6
[ 2.901158] Bluetooth: SCO socket layer initialized
[ 2.906122] Bluetooth: RFCOMM TTY layer initialized
[ 2.910902] Bluetooth: RFCOMM socket layer initialized
[ 2.915999] Bluetooth: RFCOMM ver 1.11
[ 2.919906] NET: Registered protocol family 33
[ 2.924207] NET: Registered protocol family 35
[ 2.928733] S3C24XX RTC, (c) 2004,2006 Simtec Electronics
[ 2.937648] using rtc device, s3c, for alarms
[ 2.940433] s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
[ 2.950657] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2
[ 2.958221] melfas touchkey_init
[ 2.961602] EXT_I2C(244) -> No ACK
[ 2.964013] mcsdl_download_binary_data F/W version: 0xff, Module version:0xff
[ 2.970715] melfas i2c_touchkey_probe
[ 2.975728] input: melfas-touchkey as /devices/virtual/input/input2
[ 2.981990] i2c_touchkey_read 135 i2c transfer error
[ 2.985826] qt602240 GPIO Status
[ 2.988728] TOUCH_EN : High
[ 2.991570] TOUCH_RST : Low
[ 2.994343] TOUCH_INT : High
[ 3.100306] qt602240_i2c is attached..
[ 3.102583] +-----------------------------------------+
[ 3.107854] | Quantum Touch Driver Probe! |
[ 3.113016] +-----------------------------------------+
[ 3.118752] input: qt602240_ts_input as /devices/virtual/input/input3
[ 3.125492] QT_reprogram check
[ 3.127753] chkerr s3c24xx_i2c_doxfer, incomplete xfer -6
[ 3.133084] [QT] init_touch_driver start
[ 3.136948] [QT] init_I2C start
[ 3.165805]
[ 3.165810] [TSP] Touch device found
[ 3.169375] Version: 0x16
Family:169380] 0x80
Variant: 3734] 0x1
Build number: 0xab
Matrix X size : 19
Matrix Y size : 11
Calculated CRC: 0x1c 0x34 0xff 0x00
[ 3.195315]
Stored CRC:76] 0x1c 0x34 0xff 0x00
[ 3.201230]
Info block CRC value OK.
[ 3.204338]
[ 3.204342]
[ 3.209474] [TSP]qt_Power_Config_Init real board
[ 3.223015]
[ 3.223019] [TSP][reset_chip]
[ 3.329889] Chip reset OK!
[TSP] qt602240_probe: Start touchscreen qt602240_ts_input
[ 3.337649] qt602240_probe , 3665
[ 3.341263] [QT] ret : 0, qt602240->client name : qt602240_ts
[ 3.346768] [QT] qt602240_init/5837
[ 3.350459] [TSP] msg id = 1 90 8c d1 2 0 0 0 0
[ 3.354830] [TSP] quantum_msg[0] = 1 and quantum_msg[1] = 0x10 cal_check_flag=1
[ 3.362381] [QT] qt602240_init/5865, platform_driver_register!!
[ 3.369143] [TSP] msg id = 1 0 8c d1 2 0 0 0 0
[ 3.372665] [TSP] quantum_msg[0] = 1 and quantum_msg[1] = 0x00 cal_check_flag=2
[ 3.380523] s3c2410-rtc s3c2410-rtc: setting system clock to 2005-01-01 00:02:47 UTC (1104537767)
[ 3.391886] FIMC0 registered successfully
[ 3.397290] FIMC1 registered successfully
[ 3.402605] FIMC2 registered successfully
[ 3.405442] S5PC1XX TVOUT Driver, (c) 2009 Samsung Electronics
[ 3.416042] s5p-tvout s5p-tvout: hpd status is cable inserted
[ 3.421962] s3c_bat_init
[ 3.423075] Fuel guage attach success!!!
[ 3.427273] sec-battery sec-battery: s3c_bat_probe
[ 3.948059] s3c_bat_check_v_f: Battery auth. full check (Pass)
[ 3.953199] [BATT] s3c_cable_check_status
[ 4.470827] maxim_TA_connect~~~
[ 4.482524] maxim_TA_connect~~~
[ 4.484272] KERNEL:magic_number=0 CLEAR_UPLOAD_MAGIC_NUMBER
[ 4.490171] maxim_charging_control: TA charging enable
[ 4.495048] s3c_cable_check_status: status : AC
[ 4.499551] [BATT] s3c_cable_status_update
[ 4.503715] s3c_cable_status_update: cable AC
[ 4.508060] s3c_cable_status_update: call power_supply_changed
[ 4.519732] pmic interrupt registered
[ 4.524107] Freeing init memory: 7152K
[ 4.526439] Warning: unable to open an initial console.
[ 4.532680] [email protected] process: start parse init.rc
[ 4.537087] [email protected] process: drain_action_queue
[ 4.540521] [email protected] process: device_init #3
[ 5.022660] [BATT] maxim_vac_disconnect
[ 5.025440] maxim_vac_disconnect: connect status skip
[ 5.051149] [email protected] process: property_init
[ 5.069401] fsr: module license 'Samsung Proprietary' taints kernel.
[ 5.074314] Disabling lock debugging due to kernel taint
[ 5.114550] [BIF:IN ] ++FSR_BML_Init(nFlag: 0x0)
[ 5.117856] [PAM: ] ++FSR_PAM_Init
[ 5.122122] [PAM: ] OneNAND physical base address : 0xb0000000
[ 5.128254] [PAM: ] OneNAND virtual base address : 0xe8940000
[ 5.135630] [PAM: ] OneNAND Controller DMA physical base address : 0xb0600000
[ 5.143093] [PAM: ] OneNAND Controller DMA virtual base address : 0xe8980000
[ 5.151110] [PAM: ] OneNAND nMID=0xec : nDID=0x50 Page size=4
[ 5.157267] [PAM: ] --FSR_PAM_Init
[ 5.160992] [BIF: ] FSR VERSION: FSR_1.2.1p1_b139_RTM
[ 5.166385] [OND:INF] FSR_OND_4K_Open(nDev:0, pParam:0xc4ff1e00, nFlag:0x00000000) / 1033 line
[ 5.175224] pstOND4kCxt->nBaseAddr: 0xe8940000
[ 5.180769] nDev=0, nMID=0x00ec, nDID=0x0050, nVID=0x013e
[ 5.187273] [OND:INF] pstOND4kCxt->nSysConf1:0xf006 / 1116 line
[ 5.193435] [OND:INF] pstOND4kCxt->nBlksForSLCArea[0]:2048 / 1133 line
[ 5.200217] [OND:INF] pstOND4kCxt->nIntID :0x0000 / 1236 line
[ 5.206353] [OND:INF] 1X_CACHEPGM CMD : 0x007f
[ 5.211038] [OND:INF] 1X_PLOAD CMD : 0x0003
[ 5.215891] [BBM:INF] Scan from 2004 to 2047 to find BML meta blocks (die: 0)
[ 5.223209] [BBM:INF] ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff
[ 5.230116] [BBM:INF] ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff
[ 5.237054] [BBM:INF] ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff
[ 5.244011] [BBM:INF] ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff
[ 5.250931] [BBM:INF] a5a5 a5a5 ffff
[ 5.275279] [BBM: ] << DevNO:0, DieNO: 0 MAPPING INFORMATION >>
[ 5.280081] [BBM: ] Bad Mark Information
[ 5.284423] [BBM: ] - Bad Mark (0x2222) by erase error
[ 5.290229] [BBM: ] - Bad Mark (0x4444) by write error
[ 5.296153] [BBM: ] 0000: Sbn[ 1213]==>Rbn[ 2042] / BadMark: 0x0000 / SLC / Lock: UL
[ 5.304176] [BBM: ] << Total : 1 BAD-MAPPING INFORMATION >>
[ 5.310178] [BIF: ] nPartition Information (nVol : 0)
Here is the UART output during normal boot.
Code:

-----------------------------------------------------------
Samsung Primitive Bootloader (PBL) v3.0
Copyright (C) Samsung Electronics Co., Ltd. 2006-2010
-----------------------------------------------------------
+n1stVPN 2688
+nPgsPerBlk 64
+n1stVPN 3008
+nPgsPerBlk 64
PBL found bootable SBL: Partition(4).
Set cpu clk. from 400MHz to 800MHz.
IROM e-fused version.
-----------------------------------------------------------
Samsung Secondary Bootloader (SBL) v3.0
Copyright (C) Samsung Electronics Co., Ltd. 2006-2010
Board Name: ARIES REV 02
Build On: Oct 26 2010 14:22:42
-----------------------------------------------------------
Re_partition: magic code(0x0)
[PAM: ] ++FSR_PAM_Init
[PAM: ] OneNAND physical base address : 0xb0000000
[PAM: ] OneNAND virtual base address : 0xb0000000
[PAM: ] OneNAND nMID=0xec : nDID=0x50
[PAM: ] --FSR_PAM_Init
fsr_bml_load_partition: pi->nNumOfPartEntry = 12
partitions loading success
board partition information update.. source: 0x0
.Done.
read 1 units.
==== PARTITION INFORMATION ====
ID : IBL+PBL (0x0)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 0
NO_UNITS : 1
===============================
ID : PIT (0x1)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 1
NO_UNITS : 1
===============================
ID : EFS (0x14)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 2
NO_UNITS : 40
===============================
ID : SBL (0x3)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 42
NO_UNITS : 5
===============================
ID : SBL2 (0x4)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 47
NO_UNITS : 5
===============================
ID : PARAM (0x15)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 52
NO_UNITS : 20
===============================
ID : KERNEL (0x6)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 72
NO_UNITS : 30
===============================
ID : RECOVERY (0x7)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 102
NO_UNITS : 30
===============================
ID : FACTORYFS (0x16)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 132
NO_UNITS : 1286
===============================
ID : DBDATAFS (0x17)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 1418
NO_UNITS : 444
===============================
ID : CACHE (0x18)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 1862
NO_UNITS : 140
===============================
ID : MODEM (0xb)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 2002
NO_UNITS : 2
===============================
loke_init: j4fs_open success..
load_lfs_parameters valid magic code and version.
load_debug_level reading debug level from file successfully(0x574f4c44).
quick_start- quick start is executed!
init_fuel_gauge: vcell = 3815mV, soc = 44
reading nps status file is successfully!.
nps status=0x504d4f43
PMIC_IRQ1 = 0xc0
PMIC_IRQ2 = 0x0
PMIC_IRQ3 = 0x1
PMIC_IRQ4 = 0x0
PMIC_STATUS1 = 0x40
PMIC_STATUS2 = 0x2c
get_debug_level current debug level is 0x574f4c44.
aries_process_platform: Debug Level Low
keypad_scan: key value ----------------->= 0x0
CONFIG_ARIES_REV:32 , CONFIG_ARIES_REV03:48
aries_process_platform: final s1 booting mode = 0
AST_POWERON..
DISPLAY_PATH_SEL[MDNIE 0x1]is on
MDNIE setting Init start!!
vsync interrupt is off
video interrupt is off
[fb0] turn on
MDNIE setting Init end!!
Autoboot (0 seconds) in progress, press any key to stop
get_debug_level current debug level is 0x574f4c44.
get_debug_level current debug level is 0x574f4c44.
boot_kernel: Debug Level Low
Load Partion idx = (6)
Loading Partion idx = (6)
..............................done
Kernel read success from kernel partition no.6, idx.6.
setting param.serialnr=0x32321357 0x21bb00ec
setting param.board_rev=0x20
setting param.cmdline=console=ttySAC2,115200 loglevel=9
Starting kernel at 0x32000000...
Uncompressing Linux...................................................................................................................................................................................
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.32.9 ([email protected]) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) ) #1 Fri Jul 8 18:12:14 KST 2011
[ 0.000000] CPU: ARMv7 Processor [412fc082] revision 2 (ARMv7), cr=10c53c7f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: SMDKC110
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 20480
[ 0.000000] free_area_init_node: node 0, pgdat c1069aa8, node_mem_map c1240000
[ 0.000000] Normal zone: 160 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 20320 pages, LIFO batch:3
[ 0.000000] On node 1 totalpages: 65536
[ 0.000000] free_area_init_node: node 1, pgdat c106a160, node_mem_map d0002000
[ 0.000000] Normal zone: 512 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 65024 pages, LIFO batch:15
[ 0.000000] On node 2 totalpages: 32768
[ 0.000000] free_area_init_node: node 2, pgdat c106a818, node_mem_map e0001000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32512 pages, LIFO batch:7
[ 0.000000] On node 3 totalpages: 0
[ 0.000000] free_area_init_node: node 3, pgdat c106aed0, node_mem_map c12e8c20
[ 0.000000] Normal zone: 1 pages exceeds realsize 0
[ 0.000000] CPU S5PV210/S5PC110 (id 0x43110222)
[ 0.000000] s5pv210_init_clocks: initializing clocks
[ 0.000000] S3C24XX Clocks, Copyright 2004 Simtec Electronics
[ 0.000000] copy: bad source 0
[ 0.000000] mout_audss: bad source 0
[ 0.000000] s5pv210_setup_clocks: registering clocks
[ 0.000000] s5pv210_setup_clocks: clkdiv0 = 14131330, clkdiv1 = 00300400
[ 0.000000] s5pv210_setup_clocks: xtal is 24000000
[ 0.000000] S5PV210: PLL settings, A=800000000, M=667000000, E=96000000
[ 0.000000] s5pv210: 33554432 bytes system memory reserved for mfc at 0x312f3000
[ 0.000000] s5pv210: 33554432 bytes system memory reserved for mfc at 0x40204000
[ 0.000000] s5pv210: 12582912 bytes system memory reserved for fimc0 at 0x42204000
[ 0.000000] s5pv210: 1048576 bytes system memory reserved for fimc1 at 0x42e04000
[ 0.000000] s5pv210: 12582912 bytes system memory reserved for fimc2 at 0x42f04000
[ 0.000000] s5pv210: 2097152 bytes system memory reserved for pmem at 0x332f3000
[ 0.000000] s5pv210: 4194304 bytes system memory reserved for pmem_gpu1 at 0x334f3000
[ 0.000000] s5pv210: 1536000 bytes system memory reserved for pmem_adsp at 0x338f3000
[ 0.000000] s5pv210: 10485760 bytes system memory reserved for texstream at 0x33a6a000
[ 0.000000]
[ 0.000000] Skipping memset of fb base address 0x4fc00000 -------
[ 0.000000] s5pv210: 3145728 bytes system memory reserved for fimd at 0x4fc00000
[ 0.000000] s5pv210: 262144 bytes system memory reserved for wifi at 0x3446a000
[ 0.000000] Built 3 zonelists in Zone order, mobility grouping on. Total pages: 117856
[ 0.000000] Kernel command line: console=ttySAC2,115200 loglevel=9
[ 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: 80MB 256MB 128MB = 464MB total
[ 0.000000] Memory: 339468KB available (9240K code, 1899K data, 7152K init, 0K highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=4
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:339
[ 0.000000] VIC @fd000000: id 0x00041192, vendor 0x41
[ 0.000000] VIC @fd010000: id 0x00041192, vendor 0x41
[ 0.000000] VIC @fd020000: id 0x00041192, vendor 0x41
[ 0.000000] VIC @fd030000: id 0x00041192, vendor 0x41
[ 0.000000] mult[140737]
[ 0.000000] max_delta_ns[2147483647]
[ 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.366830] Calibrating delay loop... 796.20 BogoMIPS (lpj=1556480)
[ 0.450431] Mount-cache hash table entries: 512
[ 0.455292] Initializing cgroup subsys debug
[ 0.459135] Initializing cgroup subsys cpuacct
[ 0.463552] Initializing cgroup subsys freezer
[ 0.467998] CPU: Testing write buffer coherency: ok
[ 0.477132] KERNEL:kernel_sec_get_debug_level_from_boot=0x574f4c44
[ 0.481884] KERNEL:magic_number=0x0 DEBUG LEVEL low!!
[ 0.486879] (kernel_sec_set_upload_cause) : upload_cause set 0
[ 0.497624] regulator: core version 0.5
[ 0.500382] NET: Registered protocol family 16
[ 0.520423] S5PC110 Hardware version : EVT1
[ 0.524048] HWREV is 0x7
[ 0.526133] S3C Power Management, Copyright 2004 Simtec Electronics
[ 0.544098] aries_init_wifi_mem
[ 0.545796] aries_init_wifi_mem success
[ 0.549633] recovery_dev_register
[ 0.552883] create_recovery_class
[ 0.556540] S5PV210 Power Domain API Enable
[ 0.561300] S5PV210: Initializing architecture
[ 0.564813] S3C PL330-DMA Controller Driver, (c) 2008-2009 Samsung Electronics
[ 0.571966] Total 24 DMA channels will be initialized.
[ 0.578434] DMA: got clock for controller 0 and disabled
[ 0.583159] DMA: got clock for controller 1 and disabled
[ 0.588562] DMA: got clock for controller 2 and disabled
[ 0.594654] s3c24xx-pwm s3c24xx-pwm.0: tin at 66700000, tdiv at 66700000, tin=divclk, base 0
[ 0.601688] s3c24xx-pwm s3c24xx-pwm.1: tin at 66700000, tdiv at 66700000, tin=divclk, base 8
[ 0.610077] s3c24xx-pwm s3c24xx-pwm.2: tin at 4168750, tdiv at 4168750, tin=divclk, base 12
[ 0.618401] s3c24xx-pwm s3c24xx-pwm.3: tin at 4168750, tdiv at 4168750, tin=divclk, base 16
[ 0.646359] bio: create slab <bio-0> at 0
[ 0.650209] vgaarb: loaded
[ 0.652490] SCSI subsystem initialized
[ 0.656544] i2c-gpio i2c-gpio.4: using pins 247 (SDA) and 246 (SCL)
[ 0.662091] i2c-gpio i2c-gpio.5: using pins 203 (SDA) and 204 (SCL)
[ 0.668812] regulator: DCDC1: 750 <--> 1500 mV
[ 0.672850] regulator: DCDC2: 750 <--> 1500 mV
[ 0.677566] regulator: LDO4: 3300 mV
[ 0.680962] regulator: LDO7: 1600 <--> 3600 mV
[ 0.685476] regulator: LDO17: 1600 <--> 3600 mV
[ 0.690153] i2c-gpio i2c-gpio.6: using pins 206 (SDA) and 209 (SCL)
[ 0.696318] i2c-gpio i2c-gpio.7: using pins 201 (SDA) and 202 (SCL)
[ 0.702771] i2c-gpio i2c-gpio.8: using pins 42 (SDA) and 43 (SCL)
[ 0.708634] i2c-gpio i2c-gpio.9: using pins 245 (SDA) and 244 (SCL)
[ 0.714930] i2c-gpio i2c-gpio.10: using pins 197 (SDA) and 198 (SCL)
[ 0.721221] i2c-gpio i2c-gpio.11: using pins 114 (SDA) and 98 (SCL)
[ 0.727255] i2c-gpio i2c-gpio.12: using pins 173 (SDA) and 172 (SCL)
[ 0.735227] s3c-i2c s3c2410-i2c.0: i2c-0: S3C I2C adapter
[ 0.740445] s3c-i2c s3c2410-i2c.1: i2c-1: S3C I2C adapter
[ 0.746147] s3c-i2c s3c2410-i2c.2: i2c-2: S3C I2C adapter
[ 0.751911] Bluetooth: Core ver 2.15
[ 0.754274] NET: Registered protocol family 31
[ 0.758515] Bluetooth: HCI device and connection manager initialized
[ 0.764780] Bluetooth: HCI socket layer initialized
[ 0.770034] Switching to clocksource clock_source_systimer
[ 0.784946] NET: Registered protocol family 2
[ 0.788294] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.796108] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.802317] TCP bind hash table entries: 16384 (order: 6, 327680 bytes)
[ 0.809083] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.815081] TCP reno registered
[ 0.818420] NET: Registered protocol family 1
[ 0.854755] [BT] rfkill_register(bt_rfk)
[ 0.857679] [BT] Device Powering ON
[ 0.860857] [BT] GPIO_BT_nRST = 0
[ 0.864166] [BT] bt_host_wake_irq_handler start
[ 0.868718] [BT] GPIO_WLAN_BT_EN = 1
[ 0.974454] [BT] GPIO_BT_nRST = 1
[ 0.976451] [BT] Device Powering OFF
[ 0.979958] [BT] bt_host_wake_irq_handler start
[ 0.984463] [BT] GPIO_BT_nRST = 0
[ 0.987754] [BT] GPIO_WLAN_BT_EN = 0
[ 0.991626] [BT] bt_host_wake_irq_handler start
[ 0.996178] [BT] In the unblocked state of the sleep
[ 1.000791] [BT] GPIO_BT_WAKE = 0
[ 1.004059] [BT] wake_unlock(bt_wake_lock)
[ 1.008199] [BT] In the unblocked state of the sleep
[ 1.013095] [BT] GPIO_BT_WAKE = 0
[ 1.016375] [BT] wake_unlock(bt_wake_lock)
[ 1.020449] [BT] bt_host_wake_irq_handler start
[ 1.025281] S5PC11X_FREQ_TAB=0 , S5PC11X_MAXFREQLEVEL=4
[ 1.030516] S5PV210 ADC driver, (c) 2010 Samsung Electronics
[ 1.037487] [ JACK_DRIVER (sec_jack_init,791) ]
[ 1.040686] SEC HEADSET: Registering headset driver
[ 1.045926] input: sec_jack as /devices/virtual/input/input0
[ 1.051177] [ JACK_DRIVER (sec_jack_probe,631) ] registering switch_sendend switch_dev sysfs sec_jack
[ 1.060729] SISO:registering switch_sendend switch_dev
[ 1.066069] ##########[send_end_irq_handler irq : headset_state : 0 ]##########
[ 1.072933] [ JACK_DRIVER (sec_jack_probe,671) ] sended isr send=0Xbe, ret =0
[ 1.079956] ##########[detect_irq_handler]##########
[ 1.084991] [ JACK_DRIVER (sec_jack_probe,688) ] detect isr send=0X26, ret =0
[ 1.092089] ------------[ cut here ]------------
Code:
[ 1.096674] WARNING: at drivers/gpio/gpiolib.c:101 gpio_ensure_requested+0x64/0x130()
[ 1.104464] autorequest GPIO-208
[ 1.107673] Modules linked in:
[ 1.110742] [<c070cb70>] (unwind_backtrace+0x0/0xf4) from [<c0b81de8>] (dump_stack+0x20/0x24)
[ 1.119226] [<c0b81de8>] (dump_stack+0x20/0x24) from [<c074451c>] (warn_slowpath_common+0x60/0x70)
[ 1.128153] [<c074451c>] (warn_slowpath_common+0x60/0x70) from [<c0744588>] (warn_slowpath_fmt+0x38/0x40)
[ 1.137693] [<c0744588>] (warn_slowpath_fmt+0x38/0x40) from [<c08c6f70>] (gpio_ensure_requested+0x64/0x130)
[ 1.147407] [<c08c6f70>] (gpio_ensure_requested+0x64/0x130) from [<c08c70e4>] (gpio_direction_output+0xa8/0x118)
[ 1.157560] [<c08c70e4>] (gpio_direction_output+0xa8/0x118) from [<c0718e9c>] (sec_jack_probe+0x314/0x4f0)
[ 1.167188] [<c0718e9c>] (sec_jack_probe+0x314/0x4f0) from [<c091f8c4>] (platform_drv_probe+0x28/0x2c)
[ 1.176463] [<c091f8c4>] (platform_drv_probe+0x28/0x2c) from [<c091e3e8>] (driver_probe_device+0x8c/0x17c)
[ 1.186089] [<c091e3e8>] (driver_probe_device+0x8c/0x17c) from [<c091e574>] (__driver_attach+0x9c/0xa0)
[ 1.195456] [<c091e574>] (__driver_attach+0x9c/0xa0) from [<c091da80>] (bus_for_each_dev+0x70/0x9c)
[ 1.204476] [<c091da80>] (bus_for_each_dev+0x70/0x9c) from [<c091e25c>] (driver_attach+0x2c/0x30)
[ 1.213322] [<c091e25c>] (driver_attach+0x2c/0x30) from [<c091d180>] (bus_add_driver+0xd8/0x328)
[ 1.222082] [<c091d180>] (bus_add_driver+0xd8/0x328) from [<c091e880>] (driver_register+0x88/0x19c)
[ 1.231104] [<c091e880>] (driver_register+0x88/0x19c) from [<c091fe60>] (platform_driver_register+0x60/0x68)
[ 1.240908] [<c091fe60>] (platform_driver_register+0x60/0x68) from [<c000f978>] (sec_jack_init+0x2c/0x34)
[ 1.250451] [<c000f978>] (sec_jack_init+0x2c/0x34) from [<c07043f4>] (do_one_initcall+0x44/0x1d0)
[ 1.259291] [<c07043f4>] (do_one_initcall+0x44/0x1d0) from [<c0008490>] (kernel_init+0xc0/0x11c)
[ 1.268050] [<c0008490>] (kernel_init+0xc0/0x11c) from [<c0706184>] (kernel_thread_exit+0x0/0x8)
[ 1.276823] ---[ end trace da227214a82491b7 ]---
[ 1.281421] ##########[detect_irq_handler]##########
[ 1.286459] [ JACK_DRIVER (sec_jack_probe,709) ] sec_jack_probe HWREV =7, 0x01=1 jack->low_active =1
[ 1.295644] [ JACK_DRIVER (jack_detect_change,389) ] Headset detached 0
[ 1.302273] [wake_unlock]Detach
[ 1.305622] NetWinder Floating Point Emulator V0.97 (extended precision)
[ 1.313573] ashmem: initialized
[ 1.333511] ROMFS MTD (C) 2007 Red Hat, Inc.
[ 1.336855] msgmni has been set to 663
[ 1.340509] alg: No test for cipher_null (cipher_null-generic)
[ 1.346032] alg: No test for ecb(cipher_null) (ecb-cipher_null)
[ 1.351890] alg: No test for digest_null (digest_null-generic)
[ 1.357700] alg: No test for compress_null (compress_null-generic)
[ 1.365753] alg: No test for stdrng (krng)
[ 1.420885] alg: No test for ghash (ghash-generic)
[ 1.424288] io scheduler noop registered
[ 1.428132] io scheduler anticipatory registered
[ 1.432712] io scheduler deadline registered
[ 1.437655] io scheduler cfq registered (default)
[ 1.443650] MDNIE INIT ..........
[ 1.445580] S3C MDNIE Driver, (c) 2010 Samsung Electronics
[ 1.451789] MDNIE INIT SUCCESS Addr : 0xe8838000
[ 1.455792] IELCD INIT ..........
[ 1.459127] S3C IELCD Driver, (c) 2010 Samsung Electronics
[ 1.465251] IELCD INIT SUCCESS Addr : 0xe8840000
[ 1.470200] s3cfb s3cfb: [fb0] dma: 0x4fc00000, cpu: 0xe8c00000, size: 0x002ee000
[ 1.478616] FIMD src sclk = 166750000
[ 1.480818] s3cfb s3cfb: registered successfully
[ 1.678695] s5pv210-uart.0: s3c2410_serial0 at MMIO 0xe2900000 (irq = 16) is a S3C6400/10
[ 1.686097] s5pv210-uart.1: s3c2410_serial1 at MMIO 0xe2900400 (irq = 20) is a S3C6400/10
[ 1.694109] s5pv210-uart.2: s3c2410_serial2 at MMIO 0xe2900800 (irq = 24) is a S3C6400/10
[ 1.702225] s5pv210-uart.3: s3c2410_serial3 at MMIO 0xe2900c00 (irq = 28) is a S3C6400/10
[ 1.721428] brd: module loaded
[ 1.728517] loop: module loaded
[ 1.730259] pmem: 1 init
[ 1.734662] pmem_gpu1: 1 init
[ 1.738024] pmem_adsp: 1 init
[ 1.742264] [BIF:IN ] ++FSR_BML_Init(nFlag: 0x0)
[ 1.745586] [PAM: ] ++FSR_PAM_Init
[ 1.749902] [PAM: ] OneNAND physical base address : 0xb0000000
[ 1.755979] [PAM: ] OneNAND virtual base address : 0xe8880000
[ 1.762693] [PAM: ] OneNAND nMID=0xec : nDID=0x50 Page size=4
[ 1.768848] [PAM: ] --FSR_PAM_Init
[ 1.772521] [BIF: ] FSR VERSION: FSR_1.2.1p1_b139_RTM
[ 1.777974] [OND:INF] FSR_OND_4K_Open(nDev:0, pParam:0xc4ff1e38, nFlag:0x00000000) / 1033 line
[ 1.786801] pstOND4kCxt->nBaseAddr: 0xe8880000
[ 1.792365] nDev=0, nMID=0x00ec, nDID=0x0050, nVID=0x013e
[ 1.798857] [OND:INF] pstOND4kCxt->nSysConf1:0xf006 / 1116 line
[ 1.805013] [OND:INF] pstOND4kCxt->nBlksForSLCArea[0]:2048 / 1133 line
[ 1.811789] [OND:INF] pstOND4kCxt->nIntID :0x0000 / 1236 line
[ 1.817935] [OND:INF] 1X_CACHEPGM CMD : 0x007f
[ 1.822618] [OND:INF] 1X_PLOAD CMD : 0x0003
[ 1.827579] [BBM:INF] Scan from 2004 to 2047 to find BML meta blocks (die: 0)
[ 1.834886] [BBM:INF] ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff
[ 1.841811] [BBM:INF] ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff
[ 1.848731] [BBM:INF] ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff
[ 1.855670] [BBM:INF] ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff
[ 1.862614] [BBM:INF] a5a5 a5a5 ffff
[ 1.901951] FSR: Registered TinyFSR Driver.
[ 1.907358] tl2796_probe::779->s6e63m0 probed successfuly
[ 1.911602] PPP generic driver version 2.4.2
[ 1.916526] PPP Deflate Compression module registered
[ 1.920628] PPP BSD Compression module registered
[ 1.926163] PPP MPPE Compression module registered
[ 1.930066] NET: Registered protocol family 24
[ 1.934503] PPPoL2TP kernel driver, V1.0
[ 1.938360] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled).
[ 1.947981] CSLIP: code copyright 1989 Regents of the University of California.
[ 1.955379] [FSA9480] fsa9480_codec_probe
S�S2�ͅ�480_interrupt
[ 2.524145] [FSA9480]----------DEBUG INT HENDLER--------------- fsa9480_interrupt
[ 2.531655] [FSA9480] FSA9480_ReadIntRegister
[ 2.536324] [audio_power, 333] AUDIO POWER COMPLETED : 1
[ 2.541600] [wm8994_i2c_probe, 2309]
[ 2.545255] [wm8994_init, 2120]
[ 2.550363] mmc0: switch to bus width 4
[ 2.552658] mmc0: new high speed MMC card at address 0001
[ 2.558721] mmcblk0: mmc0:0001 000000 1.86 GiB
[ 2.562967] mmcblk0: unknown partition table
[ 2.567815] Another host want the wakelock : 2
[ 2.579904] ldo38_control : turn ON LDO3 and LDO8 (cur_stat=0, req=1)
[ 2.584900] [otg_clock_enable] clk_enable(otg_clock) OK.
[ 2.591222] [udc_enable]AP_USB_Power off by Bootup : 1s3c_preallocate_dma_buffer: VA-ff001000, PA-4F860000, 131072bytes
[ 2.609238] s3c_preallocate_dma_buffer: VA-ff021000, PA-4F880000, 131072bytes
[ 2.616078] asoc: WM8994 PAIFRX <-> s3c64xx-i2s mapping ok
[ 2.621621] sound_tty procfs initialised
[ 2.625451] sound_tty procfs initialised
[ 2.633607] *** DEBUG : First we search for SDIO...(1)***
[ 2.638775] +++++++smdkc110_audio_init
[ 2.641403] *** DEBUG : ...then normal SD...(1) ***
[ 2.646532] [FSA9480] FSA9480_ProcessDevice (dev1 : 0x0, dev2 : 0x4)
[ 2.652473] FSA9480_DEV_TY2_JIG_UART_ON --- ATTACH
[ 2.657428] chk snd_soc_instantiate_card
[ 2.661152] chk snd_soc_instantiate_card: before for : DEBUG 1
[ 2.666953] chk snd_soc_instantiate_card: before !ac97 : DEBUG 2
[ 2.672940] chkerr snd_soc_instantiate_card: Problem card probe() is not defined
[ 2.680308] calling snd_soc_instantiate_card: cpu_dai->probe()
[ 2.687093] calling snd_soc_instantiate_card: codec_dev->probe()
[ 2.692159] WM8994 Audio Codec 0.1
[ 2.695488] [wm8994_pcm_init, 2218]
[ 2.700236] JIG UART ON
[ 2.702380] *** DEBUG : ...and finally MMC. (1)***
[ 2.706777] Another host want the wakelock : 1
[ 2.710848] Universal : Card status 1
[ 2.714653] mmc2: wake_lock_timeout 1sec 0
[ 2.752666] s3c_preallocate_dma_buffer: VA-ff041000, PA-4F8C0000, 131072bytes
[ 2.758618] s3c_preallocate_dma_buffer: VA-ff061000, PA-4F8E0000, 131072bytes
[ 2.765459] asoc: WM8994 PCM <-> s3c-pcmdev mapping ok
[ 2.772192] ASoC: Failed to create codec register debugfs file
[ 2.776586] Failed to create pop time debugfs file
[ 2.781343] Failed to create DAPM debugfs directory
[ 2.786191] chk snd_soc_instantiate_card
[ 2.790102] ----------smdkc110_audio_init
[ 2.794081] ALSA device list:
[ 2.797034] #0: smdkc110 (WM8994)
[ 2.800498] #1: smdkc110-pcm (WM8994)
[ 2.804721] Netfilter messages via NETLINK v0.30.
[ 2.809110] nf_conntrack version 0.5.0 (5311 buckets, 21244 max)
[ 2.815546] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
[ 2.822374] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
[ 2.830249] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
[ 2.836818] xt_time: kernel timezone is -0000
[ 2.842487] IPv4 over IPv4 tunneling driver
[ 2.846879] GRE over IPv4 tunneling driver
[ 2.852614] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 2.856666] TCP cubic registered
[ 2.861099] NET: Registered protocol family 10
[ 2.873483] IPv6 over IPv4 tunneling driver
[ 2.880474] NET: Registered protocol family 17
[ 2.883485] NET: Registered protocol family 15
[ 2.887915] Bluetooth: L2CAP ver 2.14
[ 2.891524] Bluetooth: L2CAP socket layer initialized
[ 2.896566] Bluetooth: SCO (Voice Link) ver 0.6
[ 2.901063] Bluetooth: SCO socket layer initialized
[ 2.906034] Bluetooth: RFCOMM TTY layer initialized
[ 2.910809] Bluetooth: RFCOMM socket layer initialized
[ 2.915899] Bluetooth: RFCOMM ver 1.11
[ 2.919850] NET: Registered protocol family 33
[ 2.924107] NET: Registered protocol family 35
[ 2.928638] S3C24XX RTC, (c) 2004,2006 Simtec Electronics
[ 2.937564] using rtc device, s3c, for alarms
[ 2.940348] s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
[ 2.950585] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2
[ 2.958136] melfas touchkey_init
[ 2.961520] EXT_I2C(244) -> No ACK
[ 2.963935] mcsdl_download_binary_data F/W version: 0xff, Module version:0xff
[ 2.970631] melfas i2c_touchkey_probe
[ 2.975658] input: melfas-touchkey as /devices/virtual/input/input2
[ 2.981917] i2c_touchkey_read 135 i2c transfer error
[ 2.985737] qt602240 GPIO Status
[ 2.988652] TOUCH_EN : High
[ 2.991492] TOUCH_RST : Low
[ 2.994272] TOUCH_INT : High
[ 3.100251] qt602240_i2c is attached..
[ 3.102532] +-----------------------------------------+
[ 3.107799] | Quantum Touch Driver Probe! |
[ 3.112957] +-----------------------------------------+
[ 3.118706] input: qt602240_ts_input as /devices/virtual/input/input3
[ 3.125439] QT_reprogram check
[ 3.127701] chkerr s3c24xx_i2c_doxfer, incomplete xfer -6
[ 3.133026] [QT] init_touch_driver start
[ 3.136902] [QT] init_I2C start
[ 3.165812]
[ 3.165817] [TSP] Touch device found
[ 3.169384] Version: 0x16
Family:169389] 0x80
Variant: 3749] 0x1
Build number: 0xab
Matrix X size : 19
Matrix Y size : 11
Calculated CRC: 0x1c 0x34 0xff 0x00
[ 3.195324]
Stored CRC:86] 0x1c 0x34 0xff 0x00
[ 3.201239]
Info block CRC value OK.
[ 3.204347]
[ 3.204351]
[ 3.209488] [TSP]qt_Power_Config_Init real board
[ 3.223018]
[ 3.223023] [TSP][reset_chip]
[ 3.329927] Chip reset OK!
[TSP] qt602240_probe: Start touchscreen qt602240_ts_input
[ 3.337690] qt602240_probe , 3665
[ 3.341297] [QT] ret : 0, qt602240->client name : qt602240_ts
[ 3.346799] [QT] qt602240_init/5837
[ 3.350491] [TSP] msg id = 1 90 8c d1 2 0 0 0 0
[ 3.354869] [TSP] quantum_msg[0] = 1 and quantum_msg[1] = 0x10 cal_check_flag=1
[ 3.362412] [QT] qt602240_init/5865, platform_driver_register!!
[ 3.369179] [TSP] msg id = 1 0 8c d1 2 0 0 0 0
[ 3.372700] [TSP] quantum_msg[0] = 1 and quantum_msg[1] = 0x00 cal_check_flag=2
[ 3.380552] s3c2410-rtc s3c2410-rtc: setting system clock to 2005-01-01 00:05:28 UTC (1104537928)
[ 3.391929] FIMC0 registered successfully
[ 3.397335] FIMC1 registered successfully
[ 3.402648] FIMC2 registered successfully
[ 3.405493] S5PC1XX TVOUT Driver, (c) 2009 Samsung Electronics
[ 3.416062] s5p-tvout s5p-tvout: hpd status is cable inserted
[ 3.421987] s3c_bat_init
[ 3.423111] Fuel guage attach success!!!
[ 3.427300] sec-battery sec-battery: s3c_bat_probe
[ 3.948049] s3c_bat_check_v_f: Battery auth. full check (Pass)
[ 3.953191] [BATT] s3c_cable_check_status
[ 4.470831] maxim_TA_connect~~~
[ 4.482560] maxim_TA_connect~~~
[ 4.484307] KERNEL:magic_number=0 CLEAR_UPLOAD_MAGIC_NUMBER
[ 4.490207] maxim_charging_control: TA charging enable
[ 4.495078] s3c_cable_check_status: status : AC
[ 4.499592] [BATT] s3c_cable_status_update
[ 4.503750] s3c_cable_status_update: cable AC
[ 4.508095] s3c_cable_status_update: call power_supply_changed
[ 4.519474] pmic interrupt registered
[ 4.523847] Freeing init memory: 7152K
[ 4.526176] Warning: unable to open an initial console.
[ 4.532410] [email protected] process: start parse init.rc
[ 4.538072] init: /init.rc: 385: invalid option 'ioprio'
[ 4.542519] init: /init.rc: 514: invalid option 'chmod'
[ 4.547144] init: /init.rc: 514: invalid option 'chmod'
[ 4.552349] init: /init.rc: 514: invalid option 'chmod'
[ 4.557555] init: /init.rc: 514: invalid option 'chmod'
[ 4.563082] [email protected] process: drain_action_queue
[ 4.567177] [email protected] process: device_init #3
[ 5.022236] [BATT] maxim_vac_disconnect
[ 5.024985] maxim_vac_disconnect: connect status skip
[ 5.078518] [email protected] process: property_init
[ 5.096756] fsr: module license 'Samsung Proprietary' taints kernel.
[ 5.101661] Disabling lock debugging due to kernel taint
[ 5.141891] [BIF:IN ] ++FSR_BML_Init(nFlag: 0x0)
[ 5.145215] [PAM: ] ++FSR_PAM_Init
[ 5.149462] [PAM: ] OneNAND physical base address : 0xb0000000
[ 5.155601] [PAM: ] OneNAND virtual base address : 0xe8940000
[ 5.162986] [PAM: ] OneNAND Controller DMA physical base address : 0xb0600000
[ 5.170433] [PAM: ] OneNAND Controller DMA virtual base address : 0xe8980000
[ 5.178457] [PAM: ] OneNAND nMID=0xec : nDID=0x50 Page size=4
[ 5.184616] [PAM: ] --FSR_PAM_Init
[ 5.188341] [BIF: ] FSR VERSION: FSR_1.2.1p1_b139_RTM
[ 5.193733] [OND:INF] FSR_OND_4K_Open(nDev:0, pParam:0xc4ff1e00, nFlag:0x00000000) / 1033 line
[ 5.202570] pstOND4kCxt->nBaseAddr: 0xe8940000
[ 5.208115] nDev=0, nMID=0x00ec, nDID=0x0050, nVID=0x013e
[ 5.214620] [OND:INF] pstOND4kCxt->nSysConf1:0xf006 / 1116 line
[ 5.220782] [OND:INF] pstOND4kCxt->nBlksForSLCArea[0]:2048 / 1133 line
[ 5.227563] [OND:INF] pstOND4kCxt->nIntID :0x0000 / 1236 line
[ 5.233705] [OND:INF] 1X_CACHEPGM CMD : 0x007f
[ 5.238381] [OND:INF] 1X_PLOAD CMD : 0x0003
[ 5.243239] [BBM:INF] Scan from 2004 to 2047 to find BML meta blocks (die: 0)
[ 5.250556] [BBM:INF] ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff
[ 5.257462] [BBM:INF] ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff
[ 5.264401] [BBM:INF] ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff
[ 5.271358] [BBM:INF] ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff
[ 5.278278] [BBM:INF] a5a5 a5a5 ffff
[ 5.302629] [BBM: ] << DevNO:0, DieNO: 0 MAPPING INFORMATION >>
[ 5.307442] [BBM: ] Bad Mark Information
[ 5.311774] [BBM: ] - Bad Mark (0x2222) by erase error
[ 5.317585] [BBM: ] - Bad Mark (0x4444) by write error
[ 5.323514] [BBM: ] 0000: Sbn[ 1213]==>Rbn[ 2042] / BadMark: 0x0000 / SLC / Lock: UL
[ 5.331532] [BBM: ] << Total : 1 BAD-MAPPING INFORMATION >>
[ 5.337535] [BIF: ] nPartition Information (nVol : 0)
[ 5.343004] nVer : 0x10000
[ 5.346817] 00 / nID:0x00 / nAttr:0x00001002 / 1stVun: 0 / Units: 1
[ 5.354710] 01 / nID:0x01 / nAttr:0x00001002 / 1stVun: 1 / Units: 1
[ 5.362608] 02 / nID:0x20 / nAttr:0x00001101 / 1stVun: 2 / Units: 40
[ 5.370495] 03 / nID:0x03 / nAttr:0x00001002 / 1stVun: 42 / Units: 5
[ 5.378392] 04 / nID:0x04 / nAttr:0x00001002 / 1stVun: 47 / Units: 5
[ 5.386283] 05 / nID:0x21 / nAttr:0x00001101 / 1stVun: 52 / Units: 20
[ 5.394173] 06 / nID:0x06 / nAttr:0x00001002 / 1stVun: 72 / Units: 30
[ 5.402070] 07 / nID:0x07 / nAttr:0x00001002 / 1stVun: 102 / Units: 30
[ 5.409961] 08 / nID:0x22 / nAttr:0x00001101 / 1stVun: 132 / Units: 1286
[ 5.417856] 09 / nID:0x23 / nAttr:0x00001101 / 1stVun: 1418 / Units: 444
[ 5.425743] 10 / nID:0x24 / nAttr:0x00001101 / 1stVun: 1862 / Units: 140
[ 5.433646] 11 / nID:0x11 / nAttr:0x00001002 / 1stVun: 2002 / Units: 2
[ 5.441531] [BBM:INF] The registered blocks in ERL are handled
[ 5.447597] [BBM:INF] (number of blocks: 0)
[ 5.466270] BML: Registered BML Driver.
[ 5.507518] [BIF:IN ] ++FSR_BML_Init(nFlag: 0x0)
[ 5.510960] [BIF: ] FSR_BML_Init(nFlag:0x0, nRe:FSR_BML_ALREADY_INITIALIZED) / 1027 line
[ 5.529021] FSR: Registered STL Driver.
[ 5.703758] [BIF: ] FSR VERSION: FSR_1.2.1p1_b139_RTM
[ 5.707871] [BIF: ] FSR_BML_Open(nVol:0, nFlag:0x0, nOpenCnt:2) / 1171 line
[ 5.715227] [SIF:INF] ===> STL Clst[ 1] Scan Root Info
[ 5.721152] [SIF:INF] ===> STL Zone[ 1, 0] Open Zone Meta
[ 5.727040] [SIF:INF] Latest Header Index ( 0) Vbn ( 2)
[ 5.733620] [SIF:INF] Latest Header Clean Page Offset ( 3)
[ 5.740072] [SIF:INF] POR write timer : 0xa
[ 5.744971] [SIF:INF] Latest Context BlockIdx ( 0) Offset ( 2) Vpn ( 130)
[ 5.753116] [SIF:INF] Number of Free Block ( 4)
[ 5.758630] [SIF:INF] Active Log List : Num ( 2)
[ 5.764265] [SIF:INF] ===> STL Zone[ 1, 0] Open Zone Post
[ 5.770130] [SIF:INF] ===> STL Zone[ 1, 0] Validity check
[ 5.775554] [SIF:INF] Partition [0, 21] open is success
[ 5.781767] [SIF:INF] Zone[ 1, 0]: nDgn( 4) nVbn( 8) S( 0)-E( 2) nCPOffs( 3)
[ 5.795662] [SIF:INF] Zone[ 1, 0]: nDgn( 2) nVbn( 15) S( 0)-E( 5) nCPOffs( 6)
[ 5.813939] param_init
[ 5.820327] load_lfs_param_value: param.blk read successfully.
[ 5.842194] pdp_activate, id: 1
[ 5.844457] ttyCSD(id: 1) serial device is created.
[ 5.848799] pdp_activate, id: 7
[ 5.852441] ttyCDMA(id: 7) serial device is created.
[ 5.856853] pdp_activate, id: 9
[ 5.860479] ttyTRFB(id: 9) serial device is created.
[ 5.864914] pdp_activate, id: 27
[ 5.868643] ttyCIQ(id: 27) serial device is created.
continued....
Code:
[ 5.874886] [OneDRAM] command_handler:1889 - <3>Unknown command.. ff3f
[ 5.888633] [FSA9480]connectivity_switching_init = switch_sel : 0x198f
[ 5.893764] [FSA9480_Enable_AP_USB] Enable AP USB
[ 5.899245] [ap_usb_power_on]AP USB Power ON, askon: 0, mtp : 0
[ 5.904294] !!!!!!!!!!! [ap_usb_power_on]AP samsung_kies_mtp_mode_flag0, mtp:0
[ 5.921781] [enable_adb] enable(1), dev->adb_enabled(0)
[ 5.925545] [enable_adb]USBSTATUS_SAMSUNG_KIES
[ 5.929962] [enable_adb] change usb config to UMS + CDFS (No Debugging mode)
[ 5.937081] [usb_change_config] list_del 'UMS Only (No debugging mode)'
[ 5.943667] mass_storage_function_config_changed
[ 5.948266] interface 0 = usb_mass_storage/c4adfa00
[ 5.953824] [ap_usb_power_on]AP USB Power ON, askon: 0, mtp : 0
[ 5.959193] !!!!!!!!!!! [ap_usb_power_on]AP samsung_kies_mtp_mode_flag0, mtp:0
[ 5.966394] ldo38_control : turn ON LDO3 and LDO8 (cur_stat=1, req=1)
[ 5.972823] [otg_clock_enable] already clk_enabled.
[ 5.983767] [otg_clock_enable] clk_disable(otg_clock) OK.
[ 5.987707] ldo38_control : turn OFF LDO3 and LDO8 (cur_stat=1, req=1)
[ 5.998078] [BIF: ] FSR VERSION: FSR_1.2.1p1_b139_RTM
[ 6.002164] [BIF: ] FSR_BML_Open(nVol:0, nFlag:0x0, nOpenCnt:3) / 1171 line
[ 6.009495] [OneDRAM] command_handler:1889 - <3>Unknown command.. ff3f
[ 6.016043] [SIF:INF] ===> STL Clst[ 2] Scan Root Info
[ 6.021961] [SIF:INF] ===> STL Zone[ 2, 0] Open Zone Meta
[ 6.034897] [SIF:INF] Latest Header Index ( 13) Vbn ( 15)
[ 6.041314] [SIF:INF] Latest Header Clean Page Offset ( 7)
[ 6.047338] [SIF:INF] POR write timer : 0x4
[ 6.052486] [SIF:INF] Latest Context BlockIdx ( 13) Offset ( 6) Vpn ( 966)
[ 6.060391] [SIF:INF] Number of Free Block ( 25)
[ 6.065898] [SIF:INF] Active Log List : Num ( 0)
[ 6.071536] [SIF:INF] ===> STL Zone[ 2, 0] Open Zone Post
[ 6.077181] [SIF:INF] ===> STL Zone[ 2, 0] Validity check
[ 6.082824] [SIF:INF] Partition [0, 22] open is success
[ 6.089425] [BIF: ] FSR VERSION: FSR_1.2.1p1_b139_RTM
[ 6.093757] [BIF: ] FSR_BML_Open(nVol:0, nFlag:0x0, nOpenCnt:4) / 1171 line
[ 6.101139] [SIF:INF] ===> STL Clst[ 3] Scan Root Info
[ 6.107051] [SIF:INF] ===> STL Zone[ 3, 0] Open Zone Meta
[ 6.113654] [SIF:INF] Latest Header Index ( 7) Vbn ( 9)
[ 6.124580] [SIF:INF] Latest Header Clean Page Offset ( 39)
[ 6.129994] [SIF:INF] POR write timer : 0x5
[ 6.134900] [SIF:INF] Latest Context BlockIdx ( 7) Offset ( 38) Vpn ( 614)
[ 6.143051] [SIF:INF] Number of Free Block ( 23)
[ 6.148559] [SIF:INF] Active Log List : Num ( 8)
[ 6.154192] [SIF:INF] ===> STL Zone[ 3, 0] Open Zone Post
[ 6.160694] [SIF:INF] ===> STL Zone[ 3, 0] Validity check
[ 6.165477] [SIF:INF] Partition [0, 23] open is success
[ 6.172783] [SIF:INF] Zone[ 3, 0]: nDgn( 0) nVbn( 33) S( 0)-E( 10) nCPOffs( 11)
[ 6.180112] [FSA9480]connectivity_switching_init = switch_sel : 0x198f
[ 6.186288] [SIF:INF] Zone[ 3, 0]: nDgn( 5) nVbn( 86) S( 53)-E( 52) nCPOffs( 53)
[ 6.202189] [SIF:INF] Zone[ 3, 0]: nDgn( 4) nVbn( 23) S( 0)-E( 55) nCPOffs( 56)
[ 6.210114] [SIF:INF] Zone[ 3, 0]: nDgn( 1) nVbn( 37) S( 0)-E( 5) nCPOffs( 6)
[ 6.228984] [BIF: ] FSR VERSION: FSR_1.2.1p1_b139_RTM
[ 6.233030] [BIF: ] FSR_BML_Open(nVol:0, nFlag:0x0, nOpenCnt:5) / 1171 line
[ 6.240424] [SIF:INF] ===> STL Clst[ 4] Scan Root Info
[ 6.246333] [SIF:INF] ===> STL Zone[ 4, 0] Open Zone Meta
[ 6.252291] [SIF:INF] Latest Header Index ( 1) Vbn ( 3)
[ 6.258968] [SIF:INF] Latest Header Clean Page Offset ( 4)
[ 6.265280] [SIF:INF] POR write timer : 0x9
[ 6.270184] [SIF:INF] Latest Context BlockIdx ( 1) Offset ( 3) Vpn ( 195)
[ 6.278335] [SIF:INF] Number of Free Block ( 17)
[ 6.283839] [SIF:INF] Active Log List : Num ( 4)
[ 6.289474] [SIF:INF] ===> STL Zone[ 4, 0] Open Zone Post
[ 6.295563] [SIF:INF] ===> STL Zone[ 4, 0] Validity check
[ 6.300761] [SIF:INF] Partition [0, 24] open is success
[ 6.307186] [SIF:INF] Zone[ 4, 0]: nDgn( 0) nVbn( 27) S( 0)-E( 3) nCPOffs( 4)
[ 6.314910] [SIF:INF] Zone[ 4, 0]: nDgn( 4) nVbn( 28) S( 0)-E( 0) nCPOffs( 1)
[ 6.332238] [SIF:INF] Zone[ 4, 0]: nDgn( 2) nVbn( 25) S( 0)-E( 28) nCPOffs( 29)
[ 6.345842] [BIF: ] FSR VERSION: FSR_1.2.1p1_b139_RTM
[ 6.349890] [BIF: ] FSR_BML_Open(nVol:0, nFlag:0x0, nOpenCnt:6) / 1171 line
[ 6.357275] [SIF:INF] ===> STL Clst[ 0] Scan Root Info
[ 6.363195] [SIF:INF] ===> STL Zone[ 0, 0] Open Zone Meta
[ 6.369141] [SIF:INF] Latest Header Index ( 2) Vbn ( 4)
[ 6.375546] [SIF:INF] Latest Header Clean Page Offset ( 2)
[ 6.382150] [SIF:INF] POR write timer : 0x2
[ 6.387040] [SIF:INF] Latest Context BlockIdx ( 2) Offset ( 1) Vpn ( 257)
[ 6.395185] [SIF:INF] Number of Free Block ( 10)
[ 6.400705] [SIF:INF] Active Log List : Num ( 0)
[ 6.406349] [SIF:INF] ===> STL Zone[ 0, 0] Open Zone Post
[ 6.411979] [SIF:INF] ===> STL Zone[ 0, 0] Validity check
[ 6.417625] [SIF:INF] Partition [0, 20] open is success
[ 6.423586] [BIF: ] FSR_BML_Close(nVol: 0, nFlag: 0x0, nOpenCnt: 5)
[ 6.474773] PA FB = 0x4FC00000, bits per pixel = 32
[ 6.478177] screen width=480 height=800 va=0xdfc00000 pa=0x4fc00000
[ 6.485207] Back frameBuffer[0].VAddr=dfd77000 PAddr=4fd77000 size=1536000
[ 6.491339] [OneDRAM] command_handler:1889 - <3>Unknown command.. ff3f
[ 6.523569] [VIBETONZ:WJYOO] MISC_REGISTER nRet = 0
/system/bin/sh: Can't open /system/etc/install-recovery.sh
sh: can't access tty; job control turned off
$ [ 6.652080] init: cannot find '/system/bin/immvbsd', disabling 'immvbsd'
[ 6.691955] init: cannot find '/system/bin/wlp2pservice', disabling 'mobileAP'
[ 6.698115] init: wifi.mac_addr: check_wifi_address()
[ 6.702964] init: [WLAN] Sleep before insmod Wi-Fi Driver !!
[ 6.855398] warning: `rild' uses 32-bit capabilities (legacy support in use)
[ 6.978456] [OneDRAM] command_handler:1889 - <3>Unknown command.. ff3f
[ 6.990483] PVR_K:(Warning): SysFinalise: Version string: SGX540 S5PC110 [475, services4/system/s5pc110/sysconfig.c]
[ 7.466165] [OneDRAM] command_handler:1889 - <3>Unknown command.. ff3f
[ 7.953908] [OneDRAM] command_handler:1889 - <3>Unknown command.. ff3f
[ 8.096988] [OneDRAM] Phone Power on! sem: 1 lock: 0
[ 8.100561] [OneDRAM] set semaphore: 0
[ 8.104232] [OneDRAM] power control (with GPIO_PHONE_RST_N)
[ 8.306509] [OneDRAM] command_handler:1889 - <3>Unknown command.. ff3f
[ 8.902544] [wm8994_get_fmradio_path, 929] wm8994_get_fmradio_path : 0
[ 8.915294] [wm8994_get_playback_path, 595]
[ 8.922012] [wm8994_get_codec_tuning, 1035] testmode_config_flag = [0]
[ 8.927313] [wm8994_get_mic_path, 549]
[ 8.931278] [wm8994_get_voipcall_path, 859]
[ 8.935698] [wm8994_get_call_path, 728]
[ 8.945011] [wm8994_get_fmradio_path, 929] wm8994_get_fmradio_path : 0
[ 8.952671] [wm8994_get_playback_path, 595]
[ 8.959369] [wm8994_get_codec_tuning, 1035] testmode_config_flag = [0]
[ 8.966647] [wm8994_get_mic_path, 549]
[ 8.969236] [wm8994_get_voipcall_path, 859]
[ 8.973658] [wm8994_get_call_path, 728]
[ 9.002510] [wm8994_startup, 1876] Turn on codec!! Power state =[1]
[ 9.063059] [wm8994_set_dai_fmt, 1606]
[ 9.066781] [wm8994_set_sysclk, 1577] clk_id =2
[ 9.070386] [wm8994_hw_params, 1706]
[ 9.076413] [configure_clock, 1332]
[ 9.084098] [email protected] Total=32768bytes PrdSz=2048 #Prds=4, dmaEnd 0x4f868000
[ 9.091597] [wm8994_get_playback_path, 595]
[ 9.094801] [wm8994_set_playback_path, 635] routing to SPK
[ 9.094809]
[ 9.102026] [wm8994_set_playback_speaker, 1323]
[ 9.115083] [wm8994_digital_mute, 1857] Mute =[0], current Path = [2]
[ 9.115093]
[ 9.127085] [wm8994_digital_mute, 1857] Mute =[1], current Path = [2]
[ 9.127095]
[ 9.133758] [wm8994_shutdown, 1901] Stream_state = [0x1], Codec State = [0x1]
[ 9.141099] [wm8994_shutdown, 1921] Turn off Codec!!
[ 9.146229] [ JACK_DRIVER (get_headset_status,106) ] headset_status 0
[ 9.152719] [audio_ctrl_mic_bias_gpio, 361] enable = [0]
[ 9.158183] [audio_ctrl_mic1_bias_gpio, 379] enable = [0]
[ 9.164619] [wm8994_startup, 1876] Turn on codec!! Power state =[1]
[ 9.228987] [wm8994_set_dai_fmt, 1606]
[ 9.232708] [wm8994_set_sysclk, 1577] clk_id =2
[ 9.236313] [wm8994_hw_params, 1706]
[ 9.242297] [configure_clock, 1332]
[ 9.249964] [email protected] Total=32768bytes PrdSz=2048 #Prds=4, dmaEnd 0x4f868000
[ 9.256329] [wm8994_get_playback_path, 595]
[ 9.260701] [wm8994_set_playback_path, 635] routing to SPK
[ 9.260709]
[ 9.267875] [wm8994_set_playback_speaker, 1323]
[ 9.277888] [wm8994_digital_mute, 1857] Mute =[0], current Path = [2]
[ 9.277898]
[ 9.290526] [OneDRAM] Received 0xc8 from MailboxAB (Phone Boot OK).
[ 9.295322] [OneDRAM] dpram_init_and_report, sem: 0
[ 9.310140] =====> send IRQ: cd
[ 9.311982] [OneDRAM] Send 0xc2 to MailboxBA (onedram init finish).
[ 9.439784] [OneDRAM](dpram_write) Failed to get a Semaphore. sem:0, PHONE_ACTIVE:HIGH, fail_cnt:1
[ 11.708997] init: Loading the wifi driver DRIVER_MODULE_ARG:firmware_path=/system/etc/wifi/bcm4329_sta.bin nvram_path=/system/etc/wifi/nvram_net.txt dhd_customer_gpio_wlan_ctrl: call customer sN
[ 11.820902] wlan_setup_power on --enter
[ 11.824672] WLAN: GPIO_WLAN_BT_EN = 1, GPIO_WLAN_nRST = 1
[ 11.830046] [BT] bt_host_wake_irq_handler start
[ 11.834583] sdhci_s3c_force_presence_change : Enter
[ 11.869009]
[ 11.869020] Dongle Host Driver, version 4.218.237.100
[ 11.869028] Compiled in drivers/net/wireless/bcm4329/atlas/src on Jul 8 2011 at 18:10:30
[ 11.903307] [email protected]_init1()
[ 12.061588] [email protected]_init1()
[ 12.075687] *** DEBUG : First we search for SDIO...(1)***
[ 12.116887] mmc1: queuing CIS tuple 0x80 length 50
[ 12.134846] mmc1: queuing CIS tuple 0x80 length 7
[ 12.149652] mmc1: queuing CIS tuple 0x80 length 9
[ 12.164309] mmc1: queuing CIS tuple 0x80 length 6
[ 12.204520] mmc1: queuing CIS tuple 0x02 length 1
[ 12.208639] [email protected]
[ 12.220721] mmc1: new SDIO card at address 0001
[ 12.242279] dhd_customer_oob_irq_map: customer specific Host GPIO number is (180)
[ 12.249275] use staic skb
[ 12.268035] F1 signature read @0x18000000=0x9934329
[ 12.281951] DHD: dongle ram size is set to 294912(orig 294912)
[ 12.290287] wl_iw_init_ss_cache_ctrl :
[ 12.392010] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 12.425884] [SIF:INF] Zone[ 3, 0]: nDgn( 6) nVbn( 77) S( 3)-E( 33) nCPOffs( 34)
[ 12.432935] [SIF:INF] Zone[ 3, 0]: nDgn( 7) nVbn( 96) S( 61)-E( 60) nCPOffs( 61)
[ 12.477570] Firmware version = wl0: Jun 4 2010 14:21:21 version 4.218.214.3
[ 12.491571] setting wme_apsd_sta 1
[ 12.499393] [SIF:INF] Zone[ 3, 0]: nDgn( 8) nVbn( 22) S( 54)-E( 56) nCPOffs( 57)
[ 12.506715] [SIF:INF] Zone[ 3, 0]: nDgn( 9) nVbn( 74) S( 24)-E( 23) nCPOffs( 24)
[ 12.670290] eth0: Broadcom Dongle Host Driver mac=5c:da:d4:15:50:b7
[ 12.675119] wl_iw_iscan_set_scan_broadcast_prep: First Brodcast scan was forced
[ 12.682397] dev_wlc_ioctl:eth0: cmd 49
[ 12.686134] Enter wl_control_wl_start
[ 12.689852] Exited wl_control_wl_start
[ 12.693742] _dhd_set_multicast_list: mcast_list
[ 12.705431] _dhd_set_multicast_list: allmulti
[ 12.708757] _dhd_set_multicast_list: WLC_SET_PROMISC
[ 12.720902] eth0: set promisc 0 failed
[ 12.744288] _dhd_set_multicast_list: mcast_list
[ 12.748216] dev_wlc_ioctl:eth0: cmd 262
[ 12.751618] _dhd_set_multicast_list: allmulti
[ 12.763979] dev_wlc_ioctl:eth0: cmd 263
[ 12.766776] _dhd_set_multicast_list: WLC_SET_PROMISC
[ 12.773817] +++: Set Broadcast ISCAN
[ 12.775953] dev_wlc_ioctl:eth0: cmd 263
[ 12.783343] eth0: set promisc 0 failed
[ 12.796975] init: ret of init_module:(0)
[ 12.806712] mmc1: wake_lock_timeout 1sec 0
[ 13.712843] wl_iw_event: dev=eth0 event=26
[ 13.715683] dev_wlc_ioctl:eth0: cmd 262
[ 13.723082] results->count = 3
[ 13.724685] results->buflen = 1368
[ 13.728043] iscanresults complete
[ 13.731375] Send Event ISCAN complete
[ 15.806704] wl_iw_release_ss_cache_ctrl :
[ 15.809244] wl_iw_free_ss_cache called
[ 15.813014] wl_iw_run_ss_cache_timer : timer stops
[ 15.850454] dhd_customer_gpio_wlan_ctrl: call customer specific GPIO to turn off WL_REG_ON
[ 15.857404] wlan_setup_power down --enter
[ 15.861270] WLAN: GPIO_WLAN_BT_EN = 0, GPIO_WLAN_nRST = 0
[ 15.866655] sdhci_s3c_force_presence_change : Enter
[ 15.897315] [BT] bt_host_wake_irq_handler start
[ 15.983437] init: wifi.mac_addr: .mac.info well created!
[ 16.019520] init: no such service 'bootanim'
[ 16.083981] mmc1: card 0001 removed
[ 16.134540] *** DEBUG : First we search for SDIO...(1)***
[ 16.151457] *** DEBUG : ...then normal SD...(1) ***
[ 16.161159] *** DEBUG : ...and finally MMC. (1)***
[ 16.165849] mmc1: wake_lock_timeout 1sec 0
[ 22.081484] xrun: occurred buffer xrun[0]
[ 22.650158] KERNEL:magic_number=0 CLEAR_UPLOAD_MAGIC_NUMBER
And that's the stock ED04 kernel output.
At higher levels of logging, there is a shell prompt available. If you are rooted, you can use this with the SU binary to make administrative changes
The PMIC on this device is wired differently then all other Galaxy S devices. When booting from USB, the PMIC requires you to hold the power-on button in order to maintain memory. On all other Galaxy S devices I have used, the USB cable is sufficient to hold power.
This device uses MoviNAND like the Samsung Vibrant.
I was not able to access Internal UART. Internal UART will allow a root prompt during power-off battery charging. You can use this as a temp-root to perma-root your device. Again, I could not locate this,but it DOES exist.

Swap space Issue with 3G modem

Dear All,
I am working on 3G modem integration with Android .I am using Texas Instruments am335X Starter kit and and Android Source Provided by Texas. I have Integrated Driver For 3G modem with this Android Source.
3g Modem gets Connected to Internet and also it can browse the web pages for some time.
I analysed RAM usage From Settings App. While Running The Browser I can See 80 to 90 MB of Free RAM Space.
Still Starter kit becomes unresponsive and gets hanged and restarts.
From the Logcats it seems to be an issue of swap cache . Please Suggest How can I resolve this Issue?
Followings are my logcat messages:->
[ 799.801239] Mem-info:
[ 799.803588] Normal per-cpu:
[ 799.806518] CPU 0: hi: 90, btch: 15 usd: 0
[ 799.811523] active_anon:30212 inactive_anon:67 isolated_anon:0
[ 799.811523] active_file:1403 inactive_file:1540 isolated_file:0
[ 799.811553] unevictable:0 dirty:0 writeback:6 unstable:0
[ 799.811553] free:511 slab_reclaimable:1029 slab_unreclaimable:2018
[ 799.811553] mapped:22156 shmem:74 pagetables:1449 bounce:0
[ 799.841857] Normal free:2044kB min:2036kB low:2544kB high:3052kB active_anon:
120848kB inactive_anon:268kB active_file:5612kB inactive_file:6160kB unevictable
:0kB isolated(anon):0kB isolated(file):0kB present:260096kB mlocked:0kB dirty:0k
B writeback:24kB mapped:88624kB shmem:296kB slab_reclaimable:4116kB slab_unrecla
imable:8072kB kernel_stack:3528kB pagetables:5796kB unstable:0kB bounce:0kB writ
eback_tmp:0kB pages_scanned:37608 all_unreclaimable? yes
[ 799.883361] lowmem_reserve[]: 0 0
[ 799.886840] Normal: 5*4kB 29*8kB 22*16kB 19*32kB 11*64kB 1*128kB 0*256kB 0*51
2kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB = 2044kB
[ 799.898712] 3017 total pagecache pages
[ 799.902618] 0 pages in swap cache
[ 799.906066] Swap cache stats: add 0, delete 0, find 0/0
[ 799.911499] Free swap = 0kB
[ 799.914520] Total swap = 0kB
[ 799.927947] 65536 pages of RAM
[ 799.931152] 1072 free pages
[ 799.934082] 2954 reserved pages
[ 799.937377] 3047 slab pages
[ 799.940277] 71306 pages shared
[ 799.943450] 0 pages swap cached
[ 799.946746] [ pid ] uid tgid total_vm rss cpu oom_adj oom_score_adj n
ame
[ 799.954498] [ 59] 0 59 88 22 0 -16 -941 u
eventd
[ 799.962493] [ 67] 1000 67 223 57 0 -16 -941 s
ervicemanager
[ 799.971130] [ 68] 0 68 1019 108 0 -16 -941 v
old
[ 799.978881] [ 70] 0 70 227 60 0 -16 -941 u
im-sysfs
[ 799.987060] [ 71] 0 71 2477 153 0 -16 -941 n
etd
[ 799.994781] [ 72] 0 72 679 518 0 -16 -941 d
ebuggerd
[ 800.002960] [ 73] 1000 73 7527 4382 0 -16 -941 s
urfaceflinger
[ 800.011596] [ 74] 0 74 114617 2975 0 -16 -941 z
ygote
[ 800.019500] [ 75] 1019 75 2251 242 0 -16 -941 d
rmserver
[ 800.027679] [ 76] 1013 76 6651 458 0 -16 -941 m
ediaserver
[ 800.036071] [ 77] 1012 77 229 71 0 -16 -941 i
nstalld
[ 800.044128] [ 78] 1017 78 458 103 0 -16 -941 k
eystore
[ 800.052246] [ 79] 1001 79 1787 485 0 -16 -941 r
ild
[ 800.059967] [ 83] 1023 83 582 72 0 -16 -941 s
dcard
[ 800.067871] [ 84] 0 84 206 54 0 -16 -941 s
h
[ 800.075439] [ 323] 1000 323 136825 5403 0 -16 -941 s
ystem_server
[ 800.083953] [ 405] 10005 405 122482 7394 0 -16 -941 n
droid.systemui
[ 800.092681] [ 466] 10026 466 118226 3371 0 -16 -941 d
.process.media
[ 800.101409] [ 481] 10039 481 117998 3178 0 -16 -941 p
utmethod.latin
[ 800.110137] [ 496] 1001 496 120847 3551 0 -16 -941 m
.android.phone
[ 800.118865] [ 508] 10012 508 125824 8852 0 -16 -941 n
droid.launcher
[ 800.127593] [ 544] 10031 544 116701 2985 0 -16 -941 .
location.fused
[ 800.136291] [ 568] 10006 568 122772 3617 0 -16 -941 d
.process.acore
[ 800.145019] [ 587] 10009 587 116750 3004 0 -16 -941 a
ndroid.smspush
[ 800.153747] [ 596] 10021 596 117133 3057 0 -16 -941 m
.android.music
[ 800.162475] [ 653] 0 653 862 16 0 -16 -941 a
dbd
[ 800.170196] [ 660] 10001 660 119349 3227 0 -16 -941 m
.android.email
[ 800.178924] [ 700] 10022 700 118264 3066 0 -16 -941 n
droid.exchange
[ 800.187652] [ 717] 10025 717 117664 3133 0 -16 -941 d
roid.deskclock
[ 800.196380] [ 744] 10042 744 118859 3209 0 -16 -941 v
iders.calendar
[ 800.205108] [ 760] 10007 760 121618 3144 0 -16 -941 n
droid.calendar
[ 800.213806] [ 800] 10034 800 123166 7028 0 -16 -941 o
id.development
[ 800.222534] [ 815] 10002 815 116744 2991 0 -16 -941 a
ndroid.musicfx
[ 800.231262] [ 880] 10020 880 117221 3063 0 -16 -941 i
d.defcontainer
[ 800.239990] [ 930] 0 930 545 103 0 -16 -941 p
ppd
[ 800.247741] [ 1040] 10013 1040 141441 18238 0 -16 -941 a
ndroid.browser
[ 800.256439] Out of memory: Kill process 59 (ueventd) score 1 or sacrifice chi
ld
[ 800.264068] Killed process 59 (ueventd) total-vm:352kB, anon-rss:84kB, file-r
ss:4kB
Thanks And Regards,
Vinod

[HOWTO] Linux on Xiaomi Mi Box S(MDZ-22-AB)

UART Pins for TTL (I used Nokia CA-42 USB cable)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Boot log:
Code:
GXL:BL1:9ac50e:bb16dc;FEAT:BDFD71BC:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;0.0;CHK:0;
TE: 112230
BL2 Built : 14:26:56, Dec 14 2017. gxl g56303a2 - [email protected]
set vcck to 1120 mv
set vddee to 1000 mv
Board ID = 5
CPU clk: 1200MHz
DQS-corr enabled
DDR scramble enabled
DDR3 chl: Rank0+1 @ 912MHz
bist_test rank: 0 18 01 30 2b 16 41 17 00 2f 2e 1a 43 19 04 2f 2c 1a 3f 17 00 2f 2d 17 43 702 rank: 1 15 01 2a 2a 16 3f 14 00 29 2f 1b 43 14 02 26 2c 18 41 15 00 2a 2d 17 44 702 - PASS
Rank0: 1024MB(auto)-2T-13
Rank1: 1024MB(auto)-2T-13
AddrBus test pass!
-s
emmc switch 3 ok
Authentication key not yet programmed
emmc_rpmb_key_is_programmed: error 0x00000007
emmc switch 0 ok
Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000
aml log : R1024 check pass!
New fip structure!
Load bl30 from eMMC, src: 0x00010200, des: 0x01700000, size: 0x0000d600
aml log : R1024 check pass!
Load bl31 from eMMC, src: 0x00020200, des: 0x01700000, size: 0x0002c600
aml log : R1024 check pass!
Load bl32 from eMMC, src: 0x00050200, des: 0x01700000, size: 0x00033e00
aml log : R1024 check pass!
Load bl33 from eMMC, src: 0x00084200, des: 0x01700000, size: 0x00053c00
aml log : R1024 check pass!
NOTICE: BL3-1: v1.0(release):b60a036
NOTICE: BL3-1: Built : 17:03:54, Apr 10 2018
[BL31]: GXL CPU setup!
NOTICE: BL3-1: GXL secure boot!
NOTICE: BL3-1: BL33 decompress pass
mpu_config_enable:ok
[Image: gxl_v1.1.3255-1a77b01 2017-09-15 16:58:02 [email protected]]
OPS=0x84
31 ab f1 38 a4 4e b b1 c6 9f 14 93 [1.440554 Inits done]
secure task start!
high task start!
low task start!
INFO: BL3-2: ATOS-V2.4-69-gc1e2fb5 #1 Wed Jan 31 06:57:06 UTC 2018 arm
INFO: BL3-2: Chip: GXL Rev: D (21:D - 80:2)
INFO: BL3-2: crypto engine DMA
INFO: BL3-2: secure time TEE
INFO: BL3-2: CONFIG_DEVICE_SECURE 0xb200000e
U-Boot 2015.01-gccdffc5-dirty (Nov 18 2018 - 10:53:49), Build: jenkins-oneday-430
DRAM: 2 GiB
Relocation Offset is: 76ed6000
gpio: pin gpiodv_24 (gpio 43) value is 1
gpio: pin gpioh_3 (gpio 52) value is 1
register usb cfg[0][1] = 0000000077f5f388
MMC: aml_priv->desc_buf = 0x0000000073ed6b40
aml_priv->desc_buf = 0x0000000073ed8e60
SDIO Port B: 0, SDIO Port C: 1
emmc/sd response timeout, cmd8, status=0x3ff2800
emmc/sd response timeout, cmd55, status=0x3ff2800
init_part() 293: PART_TYPE_AML
[mmc_init] mmc init success
aml log : R1024 check pass!
start dts,buffer=0000000073edb690,dt_addr=0000000073edb690
get_partition_from_dts() 103: ret 0
parts: 14
00: logo 0000000000800000 1
01: recovery 0000000001800000 1
02: misc 0000000000800000 1
03: dto 0000000000800000 1
04: cri_data 0000000000800000 2
05: param 0000000001000000 2
06: boot 0000000001000000 1
07: rsv 0000000001000000 1
08: tee 0000000002000000 1
09: vendor 0000000006400000 1
10: oem 0000000012c00000 1
11: system 0000000046000000 1
12: cache 0000000010000000 2
13: data ffffffffffffffff 4
init_part() 293: PART_TYPE_AML
eMMC/TSD partition table have been checked OK!
check pattern success
mmc env offset: 0x17400000
In: serial
Out: serial
Err: serial
reboot_mode=cold_boot
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-2610: calc 723413d2, store 723413d2
_verify_dtb_checksum()-2610: calc 723413d2, store 723413d2
dtb_read()-2827: total valid 2
update_old_dtb()-2808: do nothing
aml log : R1024 check pass!
vpu: clk_level in dts: 7
vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300)
vpu: vpu_clk_gate_init_off finish
hpd_state=0
cvbs performance type = 6, table = 0
amlkey_init() enter!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[KM]Error:f[keymanage_dts_get_key_device]L85:carrier key name is not exist
[KM]Error:f[_get_km_ops_by_name]L231:key carrier not know device 4
[KM]Error:f[key_manage_query_exist]L546:There isn't dts cfg for key[carrier]
[KM]Error:f[key_manage_query_size]L503:Fail in query key exist
Start read misc partition datas!
info->magic =
info->version_major = 1
info->version_minor = 0
info->slots[0].priority = 15
info->slots[0].tries_remaining = 7
info->slots[0].successful_boot = 0
info->slots[1].priority = 14
info->slots[1].tries_remaining = 7
info->slots[1].successful_boot = 0
info->crc32 = -1075449479
active slot = 0
wipe_data=successful
wipe_cache=successful
upgrade_step=2
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x7f800000
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x7f800000
[CANVAS]canvas init
[CANVAS]addr=0x7f800000 width=5760, height=2160
pull down bt_reset
pull up bt_reset
set hci reset
04 0e 04 01 03 0c 00
set scan parameters
04 0e 04 01 0b 20 00
set scan enable
04 0e 04 01 0c 20 00
04 3e 2b 02 01 00 01 9d 53 be 6c e1 67 1f 02 01 02 03 03 9f fe 17 16 9f fe 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 cf
04 3e 16 02 01 04 01 9d 53 be 6c e1 67 0a 09 ff e0 00 01 43 a5 4c 5a 24 cd
04 3e 21 02 01 00 01 88 0a 0b 55 03 54 15 02 01 02 11 07 fc 9d d0 b3 cb 84 e0 84 06 42 f3 f7 e1 e0 bf cb b8
04 3e 0c 02 01 04 01 88 0a 0b 55 03 54 00 b8
pull down bt_enable
Hit Enter or space or Ctrl+C key to stop autoboot -- : 0
[imgread]szTimeStamp[2018111811300118]
[imgread]secureKernelImgSz=0xa96800
aml log : R-1024 check pass!
aml log : R1024 check pass!
aml log : R1024 check pass!
aml log : R1024 check pass!
ee_gate_off ...
## Booting Android Image at 0x01080000 ...
reloc_addr =73f5b8e0
copy done
Kernel command line: buildvariant=user
load dtb from 0x1000000 ......
Uncompressing Kernel Image ... OK
kernel loaded at 0x01080000, end = 0x02604a00
Loading Ramdisk to 73cad000, end 73ec3800 ... OK
Loading Device Tree to 000000001fff1000, end 000000001ffff000 ... OK
Starting kernel ...
uboot time: 3849048 us
[ [email protected]] Booting Linux on physical CPU 0x0
[ [email protected]] Linux version 4.9.61-g92463ee ([email protected]) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02) ) #1 SMP PREEMPT Sun Nov 18 10:56:38 CST 2018
[ [email protected]] Boot CPU: AArch64 Processor [410fd034]
[ [email protected]] earlycon: aml_uart0 at MMIO 0x00000000c81004c0 (options '')
[ [email protected]] bootconsole [aml_uart0] enabled
[ [email protected]] efi: Getting EFI parameters from FDT:
[ [email protected]] efi: UEFI not found.
[ [email protected]] OF: reserved mem: __reserved_mem_alloc_size, start:5000000, end:7400000, len:2400000
[ [email protected]] Reserved memory: created CMA memory pool at 0x0000000005000000, size 36 MiB
[ [email protected]] OF: reserved mem: initialized node linux,secmon, compatible id shared-dma-pool
[ [email protected]] OF: reserved mem: __reserved_mem_alloc_size, start:7f800000, end:80000000, len:800000
[ [email protected]] Reserved memory: created CMA memory pool at 0x000000007f800000, size 8 MiB
[ [email protected]] OF: reserved mem: initialized node linux,meson-fb, compatible id shared-dma-pool
[ [email protected]] Reserved memory: created CMA memory pool at 0x000000007d800000, size 32 MiB
[ [email protected]] OF: reserved mem: initialized node linux,di_cma, compatible id shared-dma-pool
[ [email protected]] Reserved memory: created CMA memory pool at 0x0000000075c00000, size 124 MiB
[ [email protected]] OF: reserved mem: initialized node linux,ion-dev, compatible id shared-dma-pool
[ [email protected]] Reserved memory: created CMA memory pool at 0x0000000074c00000, size 16 MiB
[ [email protected]] OF: reserved mem: initialized node linux,vdin1_cma, compatible id shared-dma-pool
[ [email protected]] Reserved memory: created DMA memory pool at 0x0000000074c00000, size 0 MiB
[ [email protected]] OF: reserved mem: initialized node linux,ppmgr, compatible id shared-dma-pool
[ [email protected]] Reserved memory: created CMA memory pool at 0x0000000060800000, size 308 MiB
[ [email protected]] OF: reserved mem: initialized node linux,codec_mm_cma, compatible id shared-dma-pool
[ [email protected]] Reserved memory: unable to setup CMA region
[ [email protected]] OF: reserved mem: initialized node linux,codec_mm_reserved, compatible id amlogic, codec-mm-reserved
[ [email protected]] cma: Reserved 8 MiB at 0x0000000074400000
[ [email protected]] psci: probing for conduit method from DT.
[ [email protected]] psci: PSCIv0.2 detected in firmware.
[ [email protected]] psci: Using standard PSCI v0.2 function IDs
[ [email protected]] psci: Trusted OS migration not required
[ [email protected]] percpu: Embedded 23 pages/cpu @ffffffc074355000 s53528 r8192 d32488 u94208
[ [email protected]] Detected VIPT I-cache on CPU0
[ [email protected]] CPU features: enabling workaround for ARM erratum 845719
[ [email protected]] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 515844
[ [email protected]] Kernel command line: rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlycon=aml_uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 androidboot.selinux=enforcing logo=osd1,loaded,0x3d800000,576cvbs maxcpus=4 vout=576cvbs,enable hdmimode=1080p60hz cvbsmode=576cvbs hdmitx= cvbsdrv=0 androidboot.firstboot=0 jtag=apao androidboot.veritymode=enforcing androidboot.hardware=amlogic androidboot.btmacaddr=c8:28:32:2d:a2:36 androidboot.wifimac=c8:28:32:2b:0a:26 androidboot.wificountrycode=US androidboot.bootloader=oneday androidboot.serialno=18554280002242 androidboot.rpmb_state=0 androidboot.verifiedbootstate=orange androidboot.slot_suffix=_a buildvariant=user
[ [email protected]] fb: osd1
[ [email protected]] fb: loaded
[ [email protected]] fb: 0x3d800000
[ [email protected]] fb: 576cvbs
[ [email protected]] vout: 576cvbs
[ [email protected]] vout: enable: 1
[ [email protected]] vout: get hdmimode: 1080p60hz
[ [email protected]] vout: get cvbsmode: 576cvbs
[ [email protected]] cvbs_out: cvbs performance line = 0
[ [email protected]] jtag: jtag select apao
[ [email protected]] (NULL device *): [mac_addr_set] try to wifi mac from emmc key!
[ [email protected]] (NULL device *): [mac_addr_set] uboot setup mac-addr: c8:28:32:2b:a:26
[ [email protected]] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ [email protected]] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ [email protected]] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ [email protected]] Memory: 1488104K/2096128K available (11644K kernel code, 1426K rwdata, 4472K rodata, 4416K init, 1434K bss, 63256K reserved, 544768K cma-reserved)
[ [email protected]] Virtual kernel memory layout:
[ [email protected]] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB)
[ [email protected]] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB)
[ [email protected]] .text : 0xffffff8009080000 - 0xffffff8009be0000 ( 11648 KB)
[ [email protected]] .rodata : 0xffffff8009be0000 - 0xffffff800a050000 ( 4544 KB)
[ [email protected]] .init : 0xffffff800a050000 - 0xffffff800a4a0000 ( 4416 KB)
[ [email protected]] .data : 0xffffff800a4a0000 - 0xffffff800a604a00 ( 1427 KB)
[ [email protected]] .bss : 0xffffff800a604a00 - 0xffffff800a76b324 ( 1435 KB)
[ [email protected]] fixed : 0xffffffbefe7fd000 - 0xffffffbefec00000 ( 4108 KB)
[ [email protected]] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB)
[ [email protected]] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum)
[ [email protected]] 0xffffffbf00004000 - 0xffffffbf02000000 ( 31 MB actual)
[ [email protected]] memory : 0xffffffc000100000 - 0xffffffc080000000 ( 2047 MB)
[ [email protected]] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ [email protected]] Preemptible hierarchical RCU implementation.
[ [email protected]] Build-time adjustment of leaf fanout to 64.
[ [email protected]] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ [email protected]] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[ [email protected]] NR_IRQS:64 nr_irqs:64 0
[ [email protected]] amlogic_init_sdemmc: register amlogic sdemmc clk
[ [email protected]] amlogic_init_sdemmc: register amlogic sdemmc clk
[ [email protected]] success set parent gpu_p1_composite rate to 400000000
[ [email protected]] amlogic_init_gpu: register meson gpu clk
[ [email protected]] amlogic_init_media: register meson media clk
[ [email protected]] amlogic_init_misc: register meson misc clk
[ [email protected]] gxl_clkc_init initialization complete
[ [email protected]] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
[ [email protected]] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ [email protected]] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ [email protected]] meson_bc_timer: mclk->mux_reg =ffffff8008006990,mclk->reg =ffffff8008008994
[ [email protected]] Console: colour dummy device 80x25
[ [email protected]] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ [email protected]] pid_max: default: 32768 minimum: 301
[ [email protected]] Security Framework initialized
[ [email protected]] SELinux: Initializing.
[ [email protected]] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ [email protected]] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ [email protected]] ftrace: allocating 38256 entries in 150 pages
[ [email protected]] sched-energy: CPU device node has no sched-energy-costs
[ [email protected]] CPU0: update cpu_capacity 1024
[ [email protected]] ASID allocator initialised with 65536 entries
[ [email protected]] EFI services will not be available.
[ [email protected]] Meson chip version = RevD (21:D - 84:0)
[ [email protected]] Detected VIPT I-cache on CPU1
[ [email protected]] CPU1: update cpu_capacity 1024
[ [email protected]] CPU1: Booted secondary processor [410fd034]
[ [email protected]] Detected VIPT I-cache on CPU2
[ [email protected]] CPU2: update cpu_capacity 1024
[ [email protected]] CPU2: Booted secondary processor [410fd034]
[ [email protected]] Detected VIPT I-cache on CPU3
[ [email protected]] CPU3: update cpu_capacity 1024
[ [email protected]] CPU3: Booted secondary processor [410fd034]
[ [email protected]] Brought up 4 CPUs
full bootlog at https://pastebin.com/GaRRd76p
Uboot env:
Code:
oneday#printenv
1080p60hz_deepcolor=444,8bit
1080p_h=1080
1080p_w=1920
1080p_x=0
1080p_y=0
480p60hz_deepcolor=rgb,8bit
EnableSelinux=enforcing
active_slot=_a
baudrate=115200
bcb_cmd=get_valid_slot;
boot_part=boot
bootargs=rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlycon=aml_uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 androidboot.selinux=enforcing logo=osd1,loaded,0x3d800000,1080p60hz maxcpus=4 vout=1080p60hz,enable hdmimode=1080p60hz cvbsmode=576cvbs hdmitx= cvbsdrv=0 androidboot.firstboot=0 jtag=apao androidboot.veritymode=enforcing androidboot.hardware=amlogic androidboot.btmacaddr=c8:28:32:2d:a2:36 androidboot.wifimac=c8:28:32:2b:0a:26 androidboot.wificountrycode=US androidboot.bootloader=oneday androidboot.serialno=18554280002242 androidboot.rpmb_state=0 androidboot.verifiedbootstate=orange androidboot.slot_suffix=_a
bootcmd=run storeboot;
bootdelay=1
bootloader=oneday
bootup_offset=0x10dbbb0
bootup_size=0x5eec7a
btmac=c8:28:32:2d:a2:36
cmdline_keys=keyman init 0x1234; setkeys;
colorattribute=444,8bit
cvbs_drv=0
cvbsmode=576cvbs
display_bpp=24
display_color_bg=0
display_color_fg=0xffff
display_color_index=24
display_height=1080
display_layer=osd1
display_width=1920
dtb_mem_addr=0x1000000
factory_reset_poweroff_protect=echo wipe_data=${wipe_data}; echo wipe_cache=${wipe_cache};if test ${wipe_data} = failed; then run init_display; run storeargs;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;fi; if test ${wipe_cache} = failed; then run init_display; run storeargs;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;fi;
fb_addr=0x3d800000
fb_height=1080
fb_width=1920
fdt_high=0x20000000
firstboot=0
hdmimode=1080p60hz
init_display=osd open;osd clear;imgread pic logo bootup $loadaddr;bmp display $bootup_offset;bmp scale
initargs=rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlycon=aml_uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000
is.bestmode=false
jtag=apao
loadaddr=1080000
maxcpus=4
outputmode=1080p60hz
preboot=run cmdline_keys;run bcb_cmd; run factory_reset_poweroff_protect;run upgrade_check;run init_display;run storeargs;run switch_bootmode;
reboot_mode=cold_boot
recovery_from_flash=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if itest ${upgrade_step} == 3; then if ext4load mmc 1:2 ${dtb_mem_addr} /recovery/dtb.img; then echo cache dtb.img loaded; fi;if ext4load mmc 1:2 ${loadaddr} /recovery/recovery.img; then echo cache recovery.img loaded; wipeisb; bootm ${loadaddr}; fi;else fi;if imgread kernel ${recovery_part} ${loadaddr} ${recovery_offset}; then wipeisb; bootm ${loadaddr}; fi;
recovery_from_udisk=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if fatload usb 0 ${loadaddr} aml_autoscript; then autoscr ${loadaddr}; fi;if fatload usb 0 ${loadaddr} recovery.img; then if fatload usb 0 ${dtb_mem_addr} dtb.img; then echo udisk dtb.img loaded; fi;wipeisb; bootm ${loadaddr};fi;
recovery_offset=0
recovery_part=recovery
rpmb_state=0
sdc_burning=sdc_burn ${sdcburncfg}
sdcburncfg=aml_sdc_burn.ini
serialno=18554280002242
sn2=3138353534323830303032323432
stderr=serial
stdin=serial
stdout=serial
storeargs=setenv bootargs ${initargs} androidboot.selinux=${EnableSelinux} logo=${display_layer},loaded,${fb_addr},${outputmode} maxcpus=${maxcpus} vout=${outputmode},enable hdmimode=${hdmimode} cvbsmode=${cvbsmode} hdmitx=${cecconfig} cvbsdrv=${cvbs_drv} androidboot.firstboot=${firstboot} jtag=${jtag}; setenv bootargs ${bootargs} androidboot.veritymode=enforcing androidboot.hardware=amlogic androidboot.btmacaddr=${btmac} androidboot.wifimac=${wifimac} androidboot.wificountrycode=${wifi_ccode} androidboot.bootloader=${bootloader} androidboot.serialno=${serialno};setenv bootargs ${bootargs} androidboot.rpmb_state=${rpmb_state};setenv bootargs ${bootargs} androidboot.verifiedbootstate=${verifiedbootstate};setenv bootargs ${bootargs} androidboot.slot_suffix=${active_slot};
storeboot=if imgread kernel ${boot_part} ${loadaddr}; then bootm ${loadaddr}; fi;run update;
switch_bootmode=get_rebootmode;if test ${reboot_mode} = factory_reset; then run recovery_from_flash;else if test ${reboot_mode} = update; then run update;else if test ${reboot_mode} = cold_boot; then else if test ${reboot_mode} = fastboot; then fastboot;fi;fi;fi;fi;if monitor_bt_cmdline; then run recovery_from_flash; fi;
try_auto_burn=update 700 750;
update=run usb_burning; run sdc_burning; if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;
upgrade_check=echo upgrade_step=${upgrade_step}; if itest ${upgrade_step} == 3; then run init_display; run storeargs; run update;else fi;
upgrade_step=0
usb_burning=update 1000
verifiedbootstate=orange
wifi_ccode=US
wifimac=c8:28:32:2b:0a:26
wipe_cache=successful
wipe_data=successful
successfully booted Armbian 5.34 on Mi Box S
Armbian_5.34_S9xxx_Ubuntu_xenial_4.9.40_mate_20171112 from https://yadi.sk/d/srrtn6kpnsKz2/Linux/ARMBIAN/5.34 boots like charm.
Quick HOWTO:
Download Armbian_5.34_S9xxx_Ubuntu_xenial_4.9.40_mate_20171112.img(or any other flavour) from https://yadi.sk/d/srrtn6kpnsKz2/Linux/ARMBIAN/5.34
Unpack xz archive with 7zip(windows)/Keka(mac), Use Rufus(windows)/balenaEtcher(mac) or other img to deploy to any usb drive.
Make sure you are connected to the box via usb serial interface(use putty.exe on windows/Serial.app on mac)
baud rate 115200, data bits: 8, parity: none, stop bits: 1, flow control: none.
After successful serial connection to the box, you can interrupt uboot(ctrl+c or space) and get a uboot shell. after that paste:
Code:
setenv bootcmd "run start_autoscript; run storeboot;"
setenv start_autoscript "if usb start ; then run start_usb_autoscript; fi; if mmcinfo; then run start_mmc_autoscript; fi;"
setenv start_mmc_autoscript "if fatload mmc 0 1020000 s905_autoscript; then autoscr 1020000; fi;"
setenv start_usb_autoscript "if fatload usb 0 1020000 s905_autoscript; then autoscr 1020000; fi; if fatload usb 1 1020000 s905_autoscript; then autoscr 1020000; fi; if fatload usb 2 1020000 s905_autoscript; then autoscr 1020000; fi; if fatload usb 3 1020000 s905_autoscript; then autoscr 1020000; fi;"
setenv upgrade_step "0"
saveenv
insert armbian usb that you created in step 1 and power-cycle the box. (you might need to use powered usb hub, my box did not power usb port, so usb flash drive was not working)
you should be able to see armbian booting via HDMI on your TV/Monitor
wifi is not working, but you should be able to use usb wifi or ethernet adapter.
would root and custom android tv be possible too?
wazer1337 said:
would root and custom android tv be possible too?
Click to expand...
Click to collapse
might be possible. All Android partitions are visible and mountable in linux. I guess you can't make changes to system partition, as android has protections in place that will revert previous system state, but I'm sure there are ways around it.
did a stupid thing, after Oreo update on my MiBox S MDZ 22 AB everything went down, wifi connection drops in every 10 seconds, so I used a version of android from a MDZ-16 on a stick and tried to flash on a tutorial found on the web. It started to flash for a few seconds and total brick!
Now when I plug it, have no signal on hdmi, no led on front, nothing. (
Can I restore the life in the box or no? Is it totally lost?
Are there any test points for MDZ 22 AB?
Any additional breakthroughs?
Have you investigated modifying the uboot environment thus automatically booting from USB?
l.capriotti said:
Have you investigated modifying the uboot environment thus automatically booting from USB?
Click to expand...
Click to collapse
you did already, apologies!
Are you also able to revert to stock settings?
Would you pls boot a LibreELEC build...?
contact
hi i want to contact like this
this model cotact pin RX and TX?
recrof said:
UART Pins for TTL (I used Nokia CA-42 USB cable)
Boot log:
Code:
GXL:BL1:9ac50e:bb16dc;FEAT:BDFD71BC:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;0.0;CHK:0;
TE: 112230
BL2 Built : 14:26:56, Dec 14 2017. gxl g56303a2 - [email protected]
set vcck to 1120 mv
set vddee to 1000 mv
Board ID = 5
CPU clk: 1200MHz
DQS-corr enabled
DDR scramble enabled
DDR3 chl: Rank0+1 @ 912MHz
bist_test rank: 0 18 01 30 2b 16 41 17 00 2f 2e 1a 43 19 04 2f 2c 1a 3f 17 00 2f 2d 17 43 702 rank: 1 15 01 2a 2a 16 3f 14 00 29 2f 1b 43 14 02 26 2c 18 41 15 00 2a 2d 17 44 702 - PASS
Rank0: 1024MB(auto)-2T-13
Rank1: 1024MB(auto)-2T-13
AddrBus test pass!
-s
emmc switch 3 ok
Authentication key not yet programmed
emmc_rpmb_key_is_programmed: error 0x00000007
emmc switch 0 ok
Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000
aml log : R1024 check pass!
New fip structure!
Load bl30 from eMMC, src: 0x00010200, des: 0x01700000, size: 0x0000d600
aml log : R1024 check pass!
Load bl31 from eMMC, src: 0x00020200, des: 0x01700000, size: 0x0002c600
aml log : R1024 check pass!
Load bl32 from eMMC, src: 0x00050200, des: 0x01700000, size: 0x00033e00
aml log : R1024 check pass!
Load bl33 from eMMC, src: 0x00084200, des: 0x01700000, size: 0x00053c00
aml log : R1024 check pass!
NOTICE: BL3-1: v1.0(release):b60a036
NOTICE: BL3-1: Built : 17:03:54, Apr 10 2018
[BL31]: GXL CPU setup!
NOTICE: BL3-1: GXL secure boot!
NOTICE: BL3-1: BL33 decompress pass
mpu_config_enable:ok
[Image: gxl_v1.1.3255-1a77b01 2017-09-15 16:58:02 [email protected]]
OPS=0x84
31 ab f1 38 a4 4e b b1 c6 9f 14 93 [1.440554 Inits done]
secure task start!
high task start!
low task start!
INFO: BL3-2: ATOS-V2.4-69-gc1e2fb5 #1 Wed Jan 31 06:57:06 UTC 2018 arm
INFO: BL3-2: Chip: GXL Rev: D (21:D - 80:2)
INFO: BL3-2: crypto engine DMA
INFO: BL3-2: secure time TEE
INFO: BL3-2: CONFIG_DEVICE_SECURE 0xb200000e
U-Boot 2015.01-gccdffc5-dirty (Nov 18 2018 - 10:53:49), Build: jenkins-oneday-430
DRAM: 2 GiB
Relocation Offset is: 76ed6000
gpio: pin gpiodv_24 (gpio 43) value is 1
gpio: pin gpioh_3 (gpio 52) value is 1
register usb cfg[0][1] = 0000000077f5f388
MMC: aml_priv->desc_buf = 0x0000000073ed6b40
aml_priv->desc_buf = 0x0000000073ed8e60
SDIO Port B: 0, SDIO Port C: 1
emmc/sd response timeout, cmd8, status=0x3ff2800
emmc/sd response timeout, cmd55, status=0x3ff2800
init_part() 293: PART_TYPE_AML
[mmc_init] mmc init success
aml log : R1024 check pass!
start dts,buffer=0000000073edb690,dt_addr=0000000073edb690
get_partition_from_dts() 103: ret 0
parts: 14
00: logo 0000000000800000 1
01: recovery 0000000001800000 1
02: misc 0000000000800000 1
03: dto 0000000000800000 1
04: cri_data 0000000000800000 2
05: param 0000000001000000 2
06: boot 0000000001000000 1
07: rsv 0000000001000000 1
08: tee 0000000002000000 1
09: vendor 0000000006400000 1
10: oem 0000000012c00000 1
11: system 0000000046000000 1
12: cache 0000000010000000 2
13: data ffffffffffffffff 4
init_part() 293: PART_TYPE_AML
eMMC/TSD partition table have been checked OK!
check pattern success
mmc env offset: 0x17400000
In: serial
Out: serial
Err: serial
reboot_mode=cold_boot
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-2610: calc 723413d2, store 723413d2
_verify_dtb_checksum()-2610: calc 723413d2, store 723413d2
dtb_read()-2827: total valid 2
update_old_dtb()-2808: do nothing
aml log : R1024 check pass!
vpu: clk_level in dts: 7
vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300)
vpu: vpu_clk_gate_init_off finish
hpd_state=0
cvbs performance type = 6, table = 0
amlkey_init() enter!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[KM]Error:f[keymanage_dts_get_key_device]L85:carrier key name is not exist
[KM]Error:f[_get_km_ops_by_name]L231:key carrier not know device 4
[KM]Error:f[key_manage_query_exist]L546:There isn't dts cfg for key[carrier]
[KM]Error:f[key_manage_query_size]L503:Fail in query key exist
Start read misc partition datas!
info->magic =
info->version_major = 1
info->version_minor = 0
info->slots[0].priority = 15
info->slots[0].tries_remaining = 7
info->slots[0].successful_boot = 0
info->slots[1].priority = 14
info->slots[1].tries_remaining = 7
info->slots[1].successful_boot = 0
info->crc32 = -1075449479
active slot = 0
wipe_data=successful
wipe_cache=successful
upgrade_step=2
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x7f800000
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x7f800000
[CANVAS]canvas init
[CANVAS]addr=0x7f800000 width=5760, height=2160
pull down bt_reset
pull up bt_reset
set hci reset
04 0e 04 01 03 0c 00
set scan parameters
04 0e 04 01 0b 20 00
set scan enable
04 0e 04 01 0c 20 00
04 3e 2b 02 01 00 01 9d 53 be 6c e1 67 1f 02 01 02 03 03 9f fe 17 16 9f fe 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 cf
04 3e 16 02 01 04 01 9d 53 be 6c e1 67 0a 09 ff e0 00 01 43 a5 4c 5a 24 cd
04 3e 21 02 01 00 01 88 0a 0b 55 03 54 15 02 01 02 11 07 fc 9d d0 b3 cb 84 e0 84 06 42 f3 f7 e1 e0 bf cb b8
04 3e 0c 02 01 04 01 88 0a 0b 55 03 54 00 b8
pull down bt_enable
Hit Enter or space or Ctrl+C key to stop autoboot -- : 0
[imgread]szTimeStamp[2018111811300118]
[imgread]secureKernelImgSz=0xa96800
aml log : R-1024 check pass!
aml log : R1024 check pass!
aml log : R1024 check pass!
aml log : R1024 check pass!
ee_gate_off ...
## Booting Android Image at 0x01080000 ...
reloc_addr =73f5b8e0
copy done
Kernel command line: buildvariant=user
load dtb from 0x1000000 ......
Uncompressing Kernel Image ... OK
kernel loaded at 0x01080000, end = 0x02604a00
Loading Ramdisk to 73cad000, end 73ec3800 ... OK
Loading Device Tree to 000000001fff1000, end 000000001ffff000 ... OK
Starting kernel ...
uboot time: 3849048 us
[ [email protected]] Booting Linux on physical CPU 0x0
[ [email protected]] Linux version 4.9.61-g92463ee ([email protected]) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02) ) #1 SMP PREEMPT Sun Nov 18 10:56:38 CST 2018
[ [email protected]] Boot CPU: AArch64 Processor [410fd034]
[ [email protected]] earlycon: aml_uart0 at MMIO 0x00000000c81004c0 (options '')
[ [email protected]] bootconsole [aml_uart0] enabled
[ [email protected]] efi: Getting EFI parameters from FDT:
[ [email protected]] efi: UEFI not found.
[ [email protected]] OF: reserved mem: __reserved_mem_alloc_size, start:5000000, end:7400000, len:2400000
[ [email protected]] Reserved memory: created CMA memory pool at 0x0000000005000000, size 36 MiB
[ [email protected]] OF: reserved mem: initialized node linux,secmon, compatible id shared-dma-pool
[ [email protected]] OF: reserved mem: __reserved_mem_alloc_size, start:7f800000, end:80000000, len:800000
[ [email protected]] Reserved memory: created CMA memory pool at 0x000000007f800000, size 8 MiB
[ [email protected]] OF: reserved mem: initialized node linux,meson-fb, compatible id shared-dma-pool
[ [email protected]] Reserved memory: created CMA memory pool at 0x000000007d800000, size 32 MiB
[ [email protected]] OF: reserved mem: initialized node linux,di_cma, compatible id shared-dma-pool
[ [email protected]] Reserved memory: created CMA memory pool at 0x0000000075c00000, size 124 MiB
[ [email protected]] OF: reserved mem: initialized node linux,ion-dev, compatible id shared-dma-pool
[ [email protected]] Reserved memory: created CMA memory pool at 0x0000000074c00000, size 16 MiB
[ [email protected]] OF: reserved mem: initialized node linux,vdin1_cma, compatible id shared-dma-pool
[ [email protected]] Reserved memory: created DMA memory pool at 0x0000000074c00000, size 0 MiB
[ [email protected]] OF: reserved mem: initialized node linux,ppmgr, compatible id shared-dma-pool
[ [email protected]] Reserved memory: created CMA memory pool at 0x0000000060800000, size 308 MiB
[ [email protected]] OF: reserved mem: initialized node linux,codec_mm_cma, compatible id shared-dma-pool
[ [email protected]] Reserved memory: unable to setup CMA region
[ [email protected]] OF: reserved mem: initialized node linux,codec_mm_reserved, compatible id amlogic, codec-mm-reserved
[ [email protected]] cma: Reserved 8 MiB at 0x0000000074400000
[ [email protected]] psci: probing for conduit method from DT.
[ [email protected]] psci: PSCIv0.2 detected in firmware.
[ 0.000000[email protected]] psci: Using standard PSCI v0.2 function IDs
[ [email protected]] psci: Trusted OS migration not required
[ [email protected]] percpu: Embedded 23 pages/cpu @ffffffc074355000 s53528 r8192 d32488 u94208
[ [email protected]] Detected VIPT I-cache on CPU0
[ [email protected]] CPU features: enabling workaround for ARM erratum 845719
[ [email protected]] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 515844
[ [email protected]] Kernel command line: rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlycon=aml_uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 androidboot.selinux=enforcing logo=osd1,loaded,0x3d800000,576cvbs maxcpus=4 vout=576cvbs,enable hdmimode=1080p60hz cvbsmode=576cvbs hdmitx= cvbsdrv=0 androidboot.firstboot=0 jtag=apao androidboot.veritymode=enforcing androidboot.hardware=amlogic androidboot.btmacaddr=c8:28:32:2d:a2:36 androidboot.wifimac=c8:28:32:2b:0a:26 androidboot.wificountrycode=US androidboot.bootloader=oneday androidboot.serialno=18554280002242 androidboot.rpmb_state=0 androidboot.verifiedbootstate=orange androidboot.slot_suffix=_a buildvariant=user
[ [email protected]] fb: osd1
[ [email protected]] fb: loaded
[ [email protected]] fb: 0x3d800000
[ [email protected]] fb: 576cvbs
[ [email protected]] vout: 576cvbs
[ [email protected]] vout: enable: 1
[ [email protected]] vout: get hdmimode: 1080p60hz
[ [email protected]] vout: get cvbsmode: 576cvbs
[ [email protected]] cvbs_out: cvbs performance line = 0
[ [email protected]] jtag: jtag select apao
[ [email protected]] (NULL device *): [mac_addr_set] try to wifi mac from emmc key!
[ [email protected]] (NULL device *): [mac_addr_set] uboot setup mac-addr: c8:28:32:2b:a:26
[ [email protected]] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ [email protected]] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ [email protected]] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ [email protected]] Memory: 1488104K/2096128K available (11644K kernel code, 1426K rwdata, 4472K rodata, 4416K init, 1434K bss, 63256K reserved, 544768K cma-reserved)
[ [email protected]] Virtual kernel memory layout:
[ [email protected]] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB)
[ [email protected]] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB)
[ [email protected]] .text : 0xffffff8009080000 - 0xffffff8009be0000 ( 11648 KB)
[ [email protected]] .rodata : 0xffffff8009be0000 - 0xffffff800a050000 ( 4544 KB)
[ [email protected]] .init : 0xffffff800a050000 - 0xffffff800a4a0000 ( 4416 KB)
[ [email protected]] .data : 0xffffff800a4a0000 - 0xffffff800a604a00 ( 1427 KB)
[ [email protected]] .bss : 0xffffff800a604a00 - 0xffffff800a76b324 ( 1435 KB)
[ [email protected]] fixed : 0xffffffbefe7fd000 - 0xffffffbefec00000 ( 4108 KB)
[ [email protected]] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB)
[ [email protected]] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum)
[ [email protected]] 0xffffffbf00004000 - 0xffffffbf02000000 ( 31 MB actual)
[ [email protected]] memory : 0xffffffc000100000 - 0xffffffc080000000 ( 2047 MB)
[ [email protected]] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ [email protected]] Preemptible hierarchical RCU implementation.
[ [email protected]] Build-time adjustment of leaf fanout to 64.
[ [email protected]] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ [email protected]] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[ [email protected]] NR_IRQS:64 nr_irqs:64 0
[ [email protected]] amlogic_init_sdemmc: register amlogic sdemmc clk
[ [email protected]] amlogic_init_sdemmc: register amlogic sdemmc clk
[ [email protected]] success set parent gpu_p1_composite rate to 400000000
[ [email protected]] amlogic_init_gpu: register meson gpu clk
[ [email protected]] amlogic_init_media: register meson media clk
[ [email protected]] amlogic_init_misc: register meson misc clk
[ [email protected]] gxl_clkc_init initialization complete
[ [email protected]] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
[ 0.[email protected]] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ [email protected]] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ [email protected]] meson_bc_timer: mclk->mux_reg =ffffff8008006990,mclk->reg =ffffff8008008994
[ [email protected]] Console: colour dummy device 80x25
[ [email protected]] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ [email protected]] pid_max: default: 32768 minimum: 301
[ [email protected]] Security Framework initialized
[ [email protected]] SELinux: Initializing.
[ [email protected]] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ [email protected]] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ [email protected]] ftrace: allocating 38256 entries in 150 pages
[ [email protected]] sched-energy: CPU device node has no sched-energy-costs
[ [email protected]] CPU0: update cpu_capacity 1024
[ [email protected]] ASID allocator initialised with 65536 entries
[ [email protected]] EFI services will not be available.
[ [email protected]] Meson chip version = RevD (21:D - 84:0)
[ [email protected]] Detected VIPT I-cache on CPU1
[ [email protected]] CPU1: update cpu_capacity 1024
[ [email protected]] CPU1: Booted secondary processor [410fd034]
[ [email protected]] Detected VIPT I-cache on CPU2
[ [email protected]] CPU2: update cpu_capacity 1024
[ [email protected]] CPU2: Booted secondary processor [410fd034]
[ [email protected]] Detected VIPT I-cache on CPU3
[ [email protected]] CPU3: update cpu_capacity 1024
[ [email protected]] CPU3: Booted secondary processor [410fd034]
[ [email protected]] Brought up 4 CPUs
full bootlog at https://pastebin.com/GaRRd76p
Uboot env:
Code:
oneday#printenv
1080p60hz_deepcolor=444,8bit
1080p_h=1080
1080p_w=1920
1080p_x=0
1080p_y=0
480p60hz_deepcolor=rgb,8bit
EnableSelinux=enforcing
active_slot=_a
baudrate=115200
bcb_cmd=get_valid_slot;
boot_part=boot
bootargs=rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlycon=aml_uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 androidboot.selinux=enforcing logo=osd1,loaded,0x3d800000,1080p60hz maxcpus=4 vout=1080p60hz,enable hdmimode=1080p60hz cvbsmode=576cvbs hdmitx= cvbsdrv=0 androidboot.firstboot=0 jtag=apao androidboot.veritymode=enforcing androidboot.hardware=amlogic androidboot.btmacaddr=c8:28:32:2d:a2:36 androidboot.wifimac=c8:28:32:2b:0a:26 androidboot.wificountrycode=US androidboot.bootloader=oneday androidboot.serialno=18554280002242 androidboot.rpmb_state=0 androidboot.verifiedbootstate=orange androidboot.slot_suffix=_a
bootcmd=run storeboot;
bootdelay=1
bootloader=oneday
bootup_offset=0x10dbbb0
bootup_size=0x5eec7a
btmac=c8:28:32:2d:a2:36
cmdline_keys=keyman init 0x1234; setkeys;
colorattribute=444,8bit
cvbs_drv=0
cvbsmode=576cvbs
display_bpp=24
display_color_bg=0
display_color_fg=0xffff
display_color_index=24
display_height=1080
display_layer=osd1
display_width=1920
dtb_mem_addr=0x1000000
factory_reset_poweroff_protect=echo wipe_data=${wipe_data}; echo wipe_cache=${wipe_cache};if test ${wipe_data} = failed; then run init_display; run storeargs;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;fi; if test ${wipe_cache} = failed; then run init_display; run storeargs;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;fi;
fb_addr=0x3d800000
fb_height=1080
fb_width=1920
fdt_high=0x20000000
firstboot=0
hdmimode=1080p60hz
init_display=osd open;osd clear;imgread pic logo bootup $loadaddr;bmp display $bootup_offset;bmp scale
initargs=rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlycon=aml_uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000
is.bestmode=false
jtag=apao
loadaddr=1080000
maxcpus=4
outputmode=1080p60hz
preboot=run cmdline_keys;run bcb_cmd; run factory_reset_poweroff_protect;run upgrade_check;run init_display;run storeargs;run switch_bootmode;
reboot_mode=cold_boot
recovery_from_flash=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if itest ${upgrade_step} == 3; then if ext4load mmc 1:2 ${dtb_mem_addr} /recovery/dtb.img; then echo cache dtb.img loaded; fi;if ext4load mmc 1:2 ${loadaddr} /recovery/recovery.img; then echo cache recovery.img loaded; wipeisb; bootm ${loadaddr}; fi;else fi;if imgread kernel ${recovery_part} ${loadaddr} ${recovery_offset}; then wipeisb; bootm ${loadaddr}; fi;
recovery_from_udisk=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if fatload usb 0 ${loadaddr} aml_autoscript; then autoscr ${loadaddr}; fi;if fatload usb 0 ${loadaddr} recovery.img; then if fatload usb 0 ${dtb_mem_addr} dtb.img; then echo udisk dtb.img loaded; fi;wipeisb; bootm ${loadaddr};fi;
recovery_offset=0
recovery_part=recovery
rpmb_state=0
sdc_burning=sdc_burn ${sdcburncfg}
sdcburncfg=aml_sdc_burn.ini
serialno=18554280002242
sn2=3138353534323830303032323432
stderr=serial
stdin=serial
stdout=serial
storeargs=setenv bootargs ${initargs} androidboot.selinux=${EnableSelinux} logo=${display_layer},loaded,${fb_addr},${outputmode} maxcpus=${maxcpus} vout=${outputmode},enable hdmimode=${hdmimode} cvbsmode=${cvbsmode} hdmitx=${cecconfig} cvbsdrv=${cvbs_drv} androidboot.firstboot=${firstboot} jtag=${jtag}; setenv bootargs ${bootargs} androidboot.veritymode=enforcing androidboot.hardware=amlogic androidboot.btmacaddr=${btmac} androidboot.wifimac=${wifimac} androidboot.wificountrycode=${wifi_ccode} androidboot.bootloader=${bootloader} androidboot.serialno=${serialno};setenv bootargs ${bootargs} androidboot.rpmb_state=${rpmb_state};setenv bootargs ${bootargs} androidboot.verifiedbootstate=${verifiedbootstate};setenv bootargs ${bootargs} androidboot.slot_suffix=${active_slot};
storeboot=if imgread kernel ${boot_part} ${loadaddr}; then bootm ${loadaddr}; fi;run update;
switch_bootmode=get_rebootmode;if test ${reboot_mode} = factory_reset; then run recovery_from_flash;else if test ${reboot_mode} = update; then run update;else if test ${reboot_mode} = cold_boot; then else if test ${reboot_mode} = fastboot; then fastboot;fi;fi;fi;fi;if monitor_bt_cmdline; then run recovery_from_flash; fi;
try_auto_burn=update 700 750;
update=run usb_burning; run sdc_burning; if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;
upgrade_check=echo upgrade_step=${upgrade_step}; if itest ${upgrade_step} == 3; then run init_display; run storeargs; run update;else fi;
upgrade_step=0
usb_burning=update 1000
verifiedbootstate=orange
wifi_ccode=US
wifimac=c8:28:32:2b:0a:26
wipe_cache=successful
wipe_data=successful
Click to expand...
Click to collapse
elitecop said:
hi i want to contact like this
this model cotact pin RX and TX?
Click to expand...
Click to collapse
Your board is not mdz-22-ab, so I can't help you with that. I have tried lots of contact points before I discovered right ones. Don't be affraid to experiment, you will find correct pins eventually.
l.capriotti said:
you did already, apologies!
Are you also able to revert to stock settings?
Would you pls boot a LibreELEC build...?
Click to expand...
Click to collapse
You can successfuly boot any s905x image from yadi.sk that uses same kernel version. some of them have kodi preinstalled, but drivers for wifi and sound do not work, so it's not very practical.
there is more in-depth information on mdz-16-ab linux on xda and also https://discourse.coreelec.org/t/xiaomi-mi-box-ce-and-drm/834.
all information on mdz-16-ab is also applicable to mdz-22-ab, as those boxes are very simmilar.
recrof said:
Your board is not mdz-22-ab, so I can't help you with that. I have tried lots of contact points before I discovered right ones. Don't be affraid to experiment, you will find correct pins eventually.
Click to expand...
Click to collapse
yes this board 3s, my board https://gadgetpage.ru/razbiraem-i-izuchaem/1828-razbor-tv-pristavki-xiaomi-mi-box-s.html
Do not burn the board while experimenting?
elitecop said:
yes this board 3s, my board https://gadgetpage.ru/razbiraem-i-izuchaem/1828-razbor-tv-pristavki-xiaomi-mi-box-s.html
Do not burn the board while experimenting?
Click to expand...
Click to collapse
There is always risk of burning the board, but it's very low.
error during boting
the box does not start!
I connected the box via serial usb, and this is the log:
GXL:BL1:9ac50e:bb16dc;FEAT:BDFD71BC:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;0.0;CHK:0;
TE: 90559
BL2 Built : 13:27:37, Oct 25 2017. gxl g56b77aa - [email protected]
_vcc5_power_init
rn5t567_power_init
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
Board ID = 5
CPU clk: 1200MHz
DQS-corr enabled
DDR scramble enabled
DDR3 chl: Rank0+1 @ 912MHz - FAIL
DDR3 chl: Rank0 @ 912MHz - FAIL
DDR3 chl: Rank0 16bit @ 912MHz - FAIL
DDR4 chl: Rank0+1 @ 1008MHz - FAIL
DDR4 chl: Rank0 @ 1008MHz - FAIL
DDR4 chl: Rank0 16bit @ 1008MHz - FAIL
DDR init failed...
Reset...
-------------------------------------------------------------------------------------
Can you give me some advice?
Could this apply for mi box 4 mdz-21-aa?
Anyone found a way for root on latest android tv?
I connected the mibox 4c with cp2012 at windows 10
Hi, dear friend
I connected the mibox 4c with cp2012 at windows 10
, After I start the box and press ctl+c or space. Can not stop the uboot.i checked .
I checked the tx and Rx connection. It is OK.
How to fix it?
Maybe the xiaomi change something of uboot and disable the interruption ?
---------- Post added at 08:19 PM ---------- Previous post was at 08:03 PM ----------
This is my video of connection.
Please search andy漫漫说 at YouTube to get my channel and find the latest video.
I am newbie here. Can not post link .
Somebody help me ?
Code:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2019.06.28 05:39:49 =~=~=~=~=~=~=~=~=~=~=~=
GXL:BL1:9ac50e:bb16dc;FEAT:ADFC718C:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0;
TE: 224076
BL2 Built : 18:13:36, Jun 17 2016.
gxl g176ecdb - [email protected]
set vcck to 1120 mv
set vddee to 1000 mv
Board ID = 1
CPU clk: 1200MHz
DDR3 chl: Rank0+1 @ 792MHz - FAIL
DDR3 chl: Rank0 @ 792MHz - PASS
DQS-corr enabled
DDR scramble enabled
Rank0: 1024MB(auto)-2T-11
DataBus test pass!
AddrBus test pass!
-s
Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000
New fip structure!
Load bl30 from eMMC, src: 0x00010200, des: 0x01100000, size: 0x0000d600
Load bl31 from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00014400
Load bl33 from eMMC, src: 0x00038200, des: 0x01000000, size: 0x000cc400
NOTICE: BL3-1: v1.0(debug):ed1aadc
NOTICE: BL3-1: Built : 11:06:24, May 31 2016
aml log : bl31 normal boot !
[Image: gxl_v1.1.3122-bcd5b77 2018-07-11 18:46:53 [email protected]]
OPS=0xc4
0 0 3 c c 0 d1 b3 40 a0 0 c4 [0.594431 Inits done]
secure task start!
high task start!
low task start!
INFO: BL3-1: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader
ERROR: Error initializing runtime service opteed_fast
INFO: BL3-1: Preparing for EL3 exit to normal world
INFO: BL3-1: Next image address = 0x1000000
INFO: BL3-1: Next image spsr = 0x3c9
U-Boot 2015.01-gfbef5dd (Sep 25 2018 - 15:03:01), Build: jenkins-transformers-627
DRAM: 1 GiB
Relocation Offset is: 36ea8000
gpio: pin gpiox_6 (gpio 6) value is 1
gpio: pin gpioao_4 (gpio 123) value is 1
register usb cfg[0][1] = 0000000037f64488
vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters
vpu: clk_level = 7
vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300)
saradc_enable1 P_SAR_ADC_REG13: 0x0
saradc: check dts: FDT_ERR_BADMAGIC, load default parameters
saradc_enable2 P_SAR_ADC_REG13: 0x1100
MMC: aml_priv->desc_buf = 0x0000000033ea8f50
aml_priv->desc_buf = 0x0000000033eaaf60
SDIO Port B: 0, SDIO Port C: 1
emmc/sd response timeout, cmd8, status=0x3ff2800
emmc/sd response timeout, cmd55, status=0x3ff2800
[mmc_init] mmc init success
mmc read lba=0x4000, blocks=0x400
Amlogic multi-dtb tool
Multi dtb detected
saradc: check dts: FDT_ERR_BADMAGIC, load default parameters
get_adc_value ch(1) 79
aml_dt=gxl_tf_1g
Multi dtb tool version: v2 .
Support 2 dtbs.
aml_dt soc: gxl platform: tf variant: 1g
dtb 0 soc: gxl plat: tf vari: 1g
dtb 1 soc: gxl plat: tf vari: 2g
Find match dtb: 0
start dts,buffer=0000000033ead670,dt_addr=0000000033eade70
parts: 13
00: cache 0000000010000000 2
01: logo 0000000000300000 1
02: encrypt 0000000000100000 1
03: recovery 0000000002000000 1
04: tee 0000000000800000 1
05: crypt 0000000002000000 1
06: misc 0000000002000000 1
07: boot 0000000001400000 1
08: system 0000000040000000 1
09: backup 0000000020000000 4
10: persist 0000000000800000 4
11: panic 0000000000400000 4
12: data ffffffffffffffff 4
get_dtb_struct: Get emmc dtb OK!
overide_emmc_partition_table: overide cache
[mmc_get_partition_table] skip partition cache.
Partition table get from SPL is :
name offset size flag
===================================================================================
0: bootloader 0 400000 0
1: reserved 400000 800000 0
2: cache c00000 10000000 2
3: env 10c00000 400000 0
4: logo 11000000 300000 1
5: encrypt 11300000 100000 1
6: recovery 11400000 2000000 1
7: tee 13400000 800000 1
8: crypt 13c00000 2000000 1
9: misc 15c00000 2000000 1
10: boot 17c00000 1400000 1
11: system 19000000 @ 40000000 1
12: backup 59000000 20000000 4
13: persist 79000000 800000 4
14: panic 79800000 400000 4
15: data 79c00000 158400000 4
mmc read lba=0x2000, blocks=0x2
mmc read lba=0x2002, blocks=0x2
mmc_read_partition_tbl: mmc read partition OK!
eMMC/TSD partition table have been checked OK!
mmc env offset: 0x10c00000
In: serial
Out: serial
Err: serial
reboot_mode=cold_boot
hardware_version=1
hpd_state=1
[1080p60hz] is invalid for cvbs.
set hdmitx VIC = 16
config HPLL = 3000
HPLL: 0xc000027b
config HPLL done
j = 4 vid_clk_div = 1
hdmitx phy setting done
hdmitx: set enc for VIC: 16
enc_vpu_bridge_reset[1183]
rx version is 1.4 or below div=10
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
read emmc dtb
Amlogic multi-dtb tool
Multi dtb detected
aml_dt=gxl_tf_1g
Multi dtb tool version: v2 .
Support 2 dtbs.
aml_dt soc: gxl platform: tf variant: 1g
dtb 0 soc: gxl plat: tf vari: 1g
dtb 1 soc: gxl plat: tf vari: 2g
Find match dtb: 0
P_SAR_ADC_REG13: 0x1000
P_SAR_ADC_REG13 bak: 0x10
P_SAR_ADC_REG13: 0x1000
SEC_AO_SEC_SD_CFG12: 0xa040b3d1
ffu update start
old fw_ver = 6
amlkey_init() enter!
[EFUSE_MSG]keynum is 4
wipe_data=successful
wipe_cache=successful
Boot command:
Boot status:
Boot message
""
upgrade_step=2
[OSD]load fb addr from dts
[OSD]failed to get fb addr for logo
[OSD]use default fb_addr parameters
[OSD]fb_addr for logo: 0x3d800000
[OSD]load fb addr from dts
[OSD]failed to get fb addr for logo
[OSD]use default fb_addr parameters
[OSD]fb_addr for logo: 0x3d800000
[CANVAS]canvas init
[CANVAS]addr=0x3d800000 width=5760, height=2160
pull down bt_reset
pull up bt_reset
set hci reset
bt_vendor_name = Realteck RTL8723DS
set scan parameters
set scan enable
pull down bt_enable
IR init done!
ee_gate_off ...
## Booting Android Image at 0x01080000 ...
reloc_addr =33f2d890
copy done
Amlogic multi-dtb tool
Single dtb detected
load dtb from 0x1000000 ......
Uncompressing Kernel Image ... OK
kernel loaded at 0x01080000, end = 0x02043d58
Loading Ramdisk to 33ded000, end 33e95658 ... OK
Loading Device Tree to 000000001fff4000, end 000000001ffffcda ... OK
Starting kernel ...
uboot time: 2655518 us
[ [email protected]] Initializing cgroup subsys cpuset
[ [email protected]] Initializing cgroup subsys cpu
[ [email protected]] Initializing cgroup subsys cpuacct
[ [email protected]] Linux version 3.14.29-301482-g2d0e095 ([email protected]) (gcc version 4.9.2 20140904 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) ) #1 SMP PREEMPT Tue Sep 25 14:57:56 CST 2018
[ [email protected]] CPU: AArch64 Processor [410fd034] revision 4
[ [email protected]] no prop version_code
[ [email protected]] bootconsole [earlycon0] enabled
[ [email protected]] fdt Reserved memory table:
[ [email protected]] linux,meson-fb: 0x000000003e000000 - 0x0000000040000000 (32 MiB)
[ [email protected]] linux,di: 0x000000003c200000 - 0x000000003e000000 (30 MiB)
[ [email protected]] DI: DI reserved memory: created CMA memory pool at 0x000000003c200000, size 30 MiB
[ [email protected]] linux,ion-dev: 0x0000000039200000 - 0x000000003c200000 (48 MiB)
[ [email protected]] linux,ppmgr: 0x0000000039200000 - 0x0000000039200000 (0 MiB)
[ [email protected]] linux,codec_mm_cma: 0x0000000027c00000 - 0x0000000033c00000 (192 MiB)
[ [email protected]] linux,picdec: 0x0000000039200000 - 0x0000000039200000 (0 MiB)
[ [email protected]] Reserved memory: incorrect alignment of CMA region
[ [email protected]] linux,codec_mm_reserved: 0x0000000035100000 - 0x0000000039200000 (65 MiB)
[ [email protected]] fdt Reserved memory total: 370 MiB
[ [email protected]] psci: probing function IDs from device-tree
[ [email protected]] PERCPU: Embedded 12 pages/cpu @ffffffc0350a8000 s20224 r8192 d20736 u49152
[ [email protected]] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 257539
[ [email protected]] Kernel command line: rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlyprintk=aml-uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 logo=osd1,loaded,0x3d800000,1080p60hz hdmimode=1080p60hz cvbsmode=576cvbs hdmitx= vout=1080p60hz,enable cvbsdrv=0 boardver= jtag=apao androidboot.hardware=amlogic androidboot.firstboot=0 androidboot.btmac=00:00:00:00:00:00 androidboot.wifimac=c8:28:32:b7:c3:0e androidboot.wificountrycode=CN androidboot.serialno=17132/280733558 androidboot.selinux=enforcing androidboot.recoveryflag=false androidboot.hardware_version=1 androidboot.bootreason=cold_boot
[ [email protected]] logo: osd1
[ [email protected]] logo: loaded
[ [email protected]] logo: 0x3d800000
[ [email protected]] logo: 1080p60hz
[ [email protected]] logo: get hdmimode: 1080p60hz
[ [email protected]] logo: get cvbsmode: 576cvbs
[ [email protected]] vout_serve: 1080p60hz
[ [email protected]] vout_serve: enable: 1
[ [email protected]] tv_vout: cvbs performance line = 0
[ [email protected]] jtag: jtag select 2
[ [email protected]] (NULL device *): [mac_addr_set] try to wifi mac from emmc key!
[ [email protected]] (NULL device *): [mac_addr_set] uboot setup mac-addr: c8:28:32:b7:c3:e
[ [email protected]] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ [email protected]] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ [email protected]] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[ [email protected]] Memory: 621540K/1044480K available (9852K kernel code, 1111K rwdata, 3956K rodata, 1216K init, 5803K bss, 422940K reserved)
[ [email protected]] Virtual kernel memory layout:
[ [email protected]] vmalloc : 0xffffff8000000000 - 0xffffff807fff0000 ( 2047 MB)
[ [email protected]] vmemmap : 0xffffff8080000000 - 0xffffff8080e00000 ( 14 MB)
[ [email protected]] modules : 0xffffffbffc000000 - 0xffffffc000000000 ( 64 MB)
[ [email protected]] memory : 0xffffffc000000000 - 0xffffffc040000000 ( 1024 MB)
[ [email protected]] .init : 0xffffffc001dfe000 - 0xffffffc001f2e000 ( 1216 kB)
[ [email protected]] .text : 0xffffffc001080000 - 0xffffffc001dfd334 ( 13813 kB)
[ [email protected]] .data : 0xffffffc001f2e000 - 0xffffffc002043d58 ( 1112 kB)
[ [email protected]] PM: Registered nosave memory: [mem 0x01080000-0x01dfcfff]
[ [email protected]] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ [email protected]] arch_multi_cluster:0
[ [email protected]] Preemptible hierarchical RCU implementation.
[ [email protected]] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ [email protected]] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ [email protected]] NR_IRQS:64 nr_irqs:64 0
[ [email protected]] Architected cp15 timer(s) running at 24.00MHz (phys).
[ [email protected]] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 2863311519744ns
[ [email protected]] meson_bc_timer: mclk->mux_reg =ffffff800000c990,mclk->reg =ffffff800000e994
[ [email protected]] Console: colour dummy device 80x25
[ [email protected]] allocated 4194304 bytes of page_cgroup
[ [email protected]] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ [email protected]] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ [email protected]] pid_max: default: 32768 minimum: 301
[ [email protected]] Security Framework initialized
[ [email protected]] SELinux: Initializing.
[ [email protected]] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ [email protected]] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ [email protected]] device-tree: Duplicate name in /efusekey, renamed to "key0#1"
[ [email protected]] device-tree: Duplicate name in /efusekey, renamed to "key1#1"
[ [email protected]] device-tree: Duplicate name in /efusekey, renamed to "key2#1"
[ [email protected]] device-tree: Duplicate name in /efusekey, renamed to "key3#1"
[ [email protected]] Initializing cgroup subsys debug
[ [email protected]] Initializing cgroup subsys memory
[ [email protected]] Initializing cgroup subsys freezer
[ [email protected]] Initializing cgroup subsys blkio
[ [email protected]] ftrace: allocating 33470 entries in 131 pages
[ [email protected]] /cpus/[email protected]: Missing clock-frequency property
[ [email protected]] /cpus/[email protected]: Missing clock-frequency property
[ [email protected]] /cpus/[email protected]: Missing clock-frequency property
[ [email protected]] /cpus/[email protected]: Missing clock-frequency property
[ [email protected]] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 7 counters available
[ [email protected]] ftrace: Allocated trace_printk buffers
[ [email protected]] Meson chip version = RevC (21:C - C4:0)
[ [email protected]] CPU1: Booted secondary processor
[ [email protected]] CPU2: Booted secondary processor
[ [email protected]] CPU3: Booted secondary processor
[ [email protected]] Brought up 4 CPUs
[ [email protected]] SMP: Total of 4 processors activated.
[ [email protected]] sched: registering cpufreq notifiers for scale-invariant loads
[ [email protected]] instabooting: 0
[ [email protected]] pinctrl core: initialized pinctrl subsystem
[ [email protected]] regulator-dummy: no parameters
[ [email protected]] NET: Registered protocol family 16
[ [email protected]] ramoops: using module parameters
[ [email protected]] console [pstore-1] enabled
[ [email protected]] pstore: Registered ramoops as persistent store backend
[ [email protected]] ramoops: attached [email protected], ecc: 0/0
[ [email protected]] cpuidle: using governor menu
[ [email protected]] aml_vdac_init: module init
[ [email protected]] register canvas platform driver
[ [email protected]] register rdma platform driver
[ [email protected]] vdso: 2 pages (1 code, 1 data) at base ffffffc001f38000
[ [email protected]] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ [email protected]] DMA: preallocated 256 KiB pool for atomic allocations
[ [email protected]] software IO TLB [mem 0x26000000-0x26040000] (0MB) mapped at [ffffffc026000000-ffffffc02603ffff]
[ [email protected]] Serial: AMBA PL011 UART driver
[ [email protected]] aml_i2c version: 20140813
[ [email protected]] i2c-core: driver [pmu4] using legacy resume method
[ [email protected]] codec_mm:codec_mm_module_init
[ [email protected]] aml_watch_point_probe, in
[ [email protected]] gxbb_mpll_clk: register mpll_clk_out0 success done
[ [email protected]] gxbb_mpll_clk: register mpll_clk_out1 success done
[ [email protected]] gxbb_mpll_clk: register mpll_clk_out2 success done
[ [email protected]] clk_sys: register PLL sys_pll success done
[ [email protected]] gxl_clk: [ xtal ] ->clockrate: 24000000Hz
[ [email protected]] gxl_clk: [ 32Khz ] ->clockrate: 32000Hz
[ [email protected]] gxl_clk: [ clk81 ] ->clockrate: 166666666Hz
[ [email protected]] gxl_clk: [ fixed_pll ] ->clockrate: 2000000000Hz
[ [email protected]] gxl_clk: [ fclk_div2 ] ->clockrate: 1000000000Hz
[ [email protected]] gxl_clk: [ fclk_div3 ] ->clockrate: 666666666Hz
[ [email protected]] gxl_clk: [ fclk_div4 ] ->clockrate: 500000000Hz
[ [email protected]] gxl_clk: [ fclk_div5 ] ->clockrate: 400000000Hz
[ [email protected]] gxl_clk: [ fclk_div7 ] ->clockrate: 285714285Hz
[ [email protected]] gxl_clk: clock initialization complete
[ [email protected]] clkmsr: Gxl msr_clk_reg0=ffffff800003a75c,msr_clk_reg2=ffffff800003c764
[ [email protected]] aml_iomap: amlogic iomap probe done
[ [email protected]] pinmux-gxl c1109880.pinmux: Init pinux probe!
[ [email protected]] pinmux-gxl c1109880.pinmux: Probed amlogic pinctrl driver
[ [email protected]] genirq: Setting trigger mode 8 for irq 241 failed (gic_set_type+0x0/0xbc)
[ [email protected]] genirq: Setting trigger mode 8 for irq 242 failed (gic_set_type+0x0/0xbc)
[ [email protected]] genirq: Setting trigger mode 8 for irq 241 failed (gic_set_type+0x0/0xbc)
[ [email protected]] genirq: Setting trigger mode 8 for irq 242 failed (gic_set_type+0x0/0xbc)
[ [email protected]] codec_mm has 2 memory regions
[ [email protected]] codec_mm codec_mm.18: assigned reserved memory node linux,codec_mm_cma ok
[ [email protected]] codec_mm codec_mm.18: assigned reserved memory node linux,codec_mm_reserved ok
[ [email protected]] codec_mm has 2 memory regions
[ [email protected]] codec_mm codec_mm.18: assigned reserved memory node linux,codec_mm_cma ok
[ [email protected]] codec_mm codec_mm.18: assigned reserved memory node linux,codec_mm_reserved ok
[ [email protected]] vpu: driver version: v02
[ [email protected]] vpu: load vpu_clk: 666667000Hz(7)
[ [email protected]] vpu: vpu_probe OK
[ [email protected]] tv_vout: tvout_probe
[ [email protected]] tv_vout: major number 254 for disp
[ [email protected]] vout_notify: vout_register_server
[ [email protected]] tv_vout: register tv module server ok
[ [email protected]] tv_vout: tvout_probe OK
[ [email protected]] canvas_probe reg=00000000c8838000,size=400
[ [email protected]] canvas maped reg_base =ffffff800008e000
[ [email protected]] rdma_probe
[ [email protected]] bio: create slab <bio-0> at 0
[ [email protected]] SCSI subsystem initialized
[ [email protected]] usbcore: registered new interface driver usbfs
[ [email protected]] usbcore: registered new interface driver hub
[ [email protected]] usbcore: registered new device driver usb
[ [email protected]] i2c-gpio i2c_gpio.35: using pins 172 (SDA) and 173 (SCL)
[ [email protected]] Linux video capture interface: v2.00
[ [email protected]] pps_core: LinuxPPS API ver. 1 registered
[ [email protected]] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[ [email protected]] PTP clock support registered
[ [email protected]] hdmitx: system: amhdmitx_init
[ [email protected]] hdmitx: system: Ver: 2014May6
[ [email protected]] hdmitx: system: amhdmitx_probe
[ [email protected]] ------------[ cut here ]------------
[ [email protected]] WARNING: CPU: 0 PID: 1 at /home/work/data/jenkins/workspace/transformers/common/drivers/base/core.c:549 device_create_file+0xa4/0xbc()
[ [email protected]] Attribute product_name: write permission without 'store'
[ [email protected]] Modules linked in:
[ [email protected]] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.14.29-301482-g2d0e095 #1
[ [email protected]] Call trace:
[ [email protected]] [<ffffffc0010894d8>] dump_backtrace+0x0/0x144
[ [email protected]] [<ffffffc001089638>] show_stack+0x1c/0x28
[ [email protected]] [<ffffffc001a0b108>] dump_stack+0x74/0xb8
[ [email protected]] [<ffffffc0010a0088>] warn_slowpath_common+0x98/0xc0
[ [email protected]] [<ffffffc0010a0124>] warn_slowpath_fmt+0x74/0x88
[ [email protected]] [<ffffffc001454cd4>] device_create_file+0xa0/0xbc
[ [email protected]] [<ffffffc00163fa14>] amhdmitx_probe+0x2ac/0x924
[ [email protected]] [<ffffffc00145bc68>] platform_drv_probe+0x28/0x60
[ [email protected]] [<ffffffc001459bd4>] really_probe+0xd4/0x244
[ [email protected]] [<ffffffc001459e68>] __driver_attach+0xb0/0xb8
[ [email protected]] [<ffffffc001457c3c>] bus_for_each_dev+0x68/0xac
[ [email protected]] [<ffffffc001459684>] driver_attach+0x28/0x34
[ [email protected]] [<ffffffc00145928c>] bus_add_driver+0x158/0x210
[ [email protected]] [<ffffffc00145a624>] driver_register+0x64/0x124
[ [email protected]] [<ffffffc00145bc30>] __platform_driver_register+0x74/0x84
[ [email protected]] [<ffffffc001e36d4c>] amhdmitx_init+0x5c/0xa4
[ [email protected]] [<ffffffc0010816a4>] do_one_initcall+0xd4/0x138
[ [email protected]] [<ffffffc001dfe990>] kernel_init_freeable+0x19c/0x23c
[ [email protected]] [<ffffffc001a05d48>] kernel_init+0x1c/0xdc
[ [email protected]] ---[ end trace da93876e7f41ceba ]---
[ [email protected]] ------------[ cut here ]------------
[ [email protected]] WARNING: CPU: 0 PID: 1 at /home/work/data/jenkins/workspace/transformers/common/drivers/base/core.c:549 device_create_file+0xa4/0xbc()
[ [email protected]] Attribute prefer_mode: write permission without 'store'
[ [email protected]] Modules linked in:
[ [email protected]] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 3.14.29-301482-g2d0e095 #1
[ [email protected]] Call trace:
[ [email protected]] [<ffffffc0010894d8>] dump_backtrace+0x0/0x144
[ [email protected]] [<ffffffc001089638>] show_stack+0x1c/0x28
[ [email protected]] [<ffffffc001a0b108>] dump_stack+0x74/0xb8
[ [email protected]] [<ffffffc0010a0088>] warn_slowpath_common+0x98/0xc0
[ [email protected]] [<ffffffc0010a0124>] warn_slowpath_fmt+0x74/0x88
[ [email protected]] [<ffffffc001454cd4>] device_create_file+0xa0/0xbc
[ [email protected]] [<ffffffc00163fa20>] amhdmitx_probe+0x2b8/0x924
[ [email protected]] [<ffffffc00145bc68>] platform_drv_probe+0x28/0x60
[ [email protected]] [<ffffffc001459bd4>] really_probe+0xd4/0x244
[ [email protected]] [<ffffffc001459e68>] __driver_attach+0xb0/0xb8
[ [email protected]] [<ffffffc001457c3c>] bus_for_each_dev+0x68/0xac
[ [email protected]] [<ffffffc001459684>] driver_attach+0x28/0x34
[ [email protected]] [<ffffffc00145928c>] bus_add_driver+0x158/0x210
[ [email protected]] [<ffffffc00145a624>] driver_register+0x64/0x124
[ [email protected]] [<ffffffc00145bc30>] __platform_driver_register+0x74/0x84
[ [email protected]] [<ffffffc001e36d4c>] amhdmitx_init+0x5c/0xa4
[ [email protected]] [<ffffffc0010816a4>] do_one_initcall+0xd4/0x138
[ [email protected]] [<ffffffc001dfe990>] kernel_init_freeable+0x19c/0x23c
[ [email protected]] [<ffffffc001a05d48>] kernel_init+0x1c/0xdc
[ [email protected]] ---[ end trace da93876e7f41cebb ]---
[ [email protected]] hdmitx: system: not find match init-data
[ [email protected]] hdmitx: system: not find match pwr-ctl
[ [email protected]] hdmitx hpd irq = 89
[ [email protected]] hdmitx20: Mapped PHY: 0xc0800000
[ [email protected]] hdmitx20: Mapped PHY: 0xc1104400
[ [email protected]] hdmitx20: Mapped PHY: 0xc8100000
[ [email protected]] hdmitx20: Mapped PHY: 0xc8834000
[ [email protected]] hdmitx20: Mapped PHY: 0xc883a000
[ [email protected]] hdmitx20: Mapped PHY: 0xc883c000
[ [email protected]] hdmitx20: Mapped PHY: 0xd0100000
[ [email protected]] hdmitx20: Mapped PHY: 0xda83a000
[ [email protected]] hdmitx: alread display in uboot 0x10
[ [email protected]] avmute set to 1
[ [email protected]] vout_serve: vout_init_module
[ [email protected]] tv_vout: tv_set_current_vmode[759]fps_target_mode=16
[ [email protected]] hdmitx: system: irq 2
[ [email protected]] tv_vout: mode is 16,sync_duration_den=1,sync_duration_num=60
[ [email protected]] tv_vout: already display in uboot
[ [email protected]] vout_serve: vinfo mode is: 1080p60hz
[ [email protected]] vout_serve: init mode 1080p60hz
[ [email protected]] vout_serve: create vout attribute OK
[ [email protected]] vout_serve: meson_vout_probe OK
[ [email protected]] logo: logo_init
[ [email protected]] osd_rdma: osd_rdma_init: rdma_table p=0x34841000,op=0x34841000 , v=0xffffff80000a9000
[ [email protected]] osd_rdma: osd rdma request irq as second interrput function!
[ [email protected]] Advanced Linux Sound Architecture Driver Initialized.
[ [email protected]] Bluetooth: Core ver 2.18
[ [email protected]] NET: Registered protocol family 31
[ [email protected]] Bluetooth: HCI device and connection manager initialized
[ [email protected]] Bluetooth: HCI socket layer initialized
[ [email protected]] Bluetooth: L2CAP socket layer initialized
[ [email protected]] Bluetooth: SCO socket layer initialized
[ [email protected]] cfg80211: Calling CRDA to update world regulatory domain
[ [email protected]] NetLabel: Initializing
[ [email protected]] NetLabel: domain hash size = 128
[ [email protected]] NetLabel: protocols = UNLABELED CIPSOv4
[ [email protected]] NetLabel: unlabeled traffic allowed by default
[ [email protected]] Switched to clocksource arch_sys_counter
[ [email protected]] ktrace : kp ktrace init OK
[ [email protected]] ktrace : event ktrace init OK
[ [email protected]] ktrace : mm ktrace init OK
[ [email protected]] ktrace : sched ktrace init OK
[ [email protected]] ktrace : binder ktrace init OK
[ [email protected]] ktrace : cpufreq ktrace init OK
[ [email protected]] ktrace : ktrace init OK
[ [email protected]] [amlatvdemod..]aml_atvdemod_init.
[ [email protected]] NET: Registered protocol family 2
[ [email protected]] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ [email protected]] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[ [email protected]] TCP: Hash tables configured (established 8192 bind 8192)
[ [email protected]] TCP: reno registered
[ [email protected]] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ [email protected]] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ [email protected]] NET: Registered protocol family 1
[ [email protected]] aml_wifi wifi.31: [wifi_dev_probe] no power_on_pin2
[ [email protected]] aml_wifi wifi.31: [wifi_dev_probe] set pwm as 32k output
[ [email protected]] aml_wifi wifi.31: [wifi_dev_probe] interrupt_pin=241
[ [email protected]] aml_wifi wifi.31: [wifi_dev_probe] irq_num=100, irq_trigger_type=0
[ [email protected]] aml_wifi wifi.31: [wifi_dev_probe] power_on_pin=229
[ [email protected]] aml_wifi wifi.31: [wifi_dev_probe] clock_32k_pin=0
[ [email protected]] aml_wifi wifi.31: [wifi_setup_dt] wifi_setup_dt
[ [email protected]] aml_wifi wifi.31: [wifi_setup_dt] interrupt_pin(241)
[ [email protected]] aml_wifi wifi.31: [wifi_setup_dt] power_on_pin(229)
[ [email protected]] Unpacking initramfs...
[ [email protected]] Freeing initrd memory: 672K (ffffffc033ded000 - ffffffc033e95000)
[ [email protected]] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ [email protected]] audit: initializing netlink subsys (disabled)
[ [email protected]] audit: type=2000 audit(1.470:1): initialized
[ [email protected]] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ [email protected]] VFS: Disk quotas dquot_6.5.2
[ [email protected]] hdmitx: plugin
[ [email protected]] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ [email protected]] fuse init (API version 7.22)
[ [email protected]] msgmni has been set to 1679
[ [email protected]] NET: Registered protocol family 38
[ [email protected]] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ [email protected]] io scheduler noop registered
[ [email protected]] io scheduler deadline registered
[ [email protected]] io scheduler cfq registered (default)
[ [email protected]] meson-rng c8834000.rng: hwrng registered
[ [email protected]] loop: module loaded
[ [email protected]] zram: Created 1 device(s) ...
[ [email protected]] tun: Universal TUN/TAP device driver, 1.6
[ [email protected]] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
[ [email protected]] PPP generic driver version 2.4.2
[ [email protected]] PPP BSD Compression module registered
[ [email protected]] PPP Deflate Compression module registered
[ [email protected]] PPP MPPE Compression module registered
[ [email protected]] NET: Registered protocol family 24
[ [email protected]] hdmitx: edid: check sum valid
[ [email protected]] hdmitx: edid: check sum valid
[ [email protected]] hdmitx: edid: blk0 raw data
[ [email protected]] 00ffffffffffff003674010be903000000100103804627780a1990a755469824
[ [email protected]] 10494b2108008bc0814081c061400101010101010101011d007251d01e206e28
[ [email protected]] 5500c48e2100001e011d8018711c1620582c2500c48e2100009e000000fc0050
[ [email protected]] 524f4a4543544f52530a2020000000fd0016500e5b10000a20202020202001e1
[ [email protected]]
[ [email protected]]
[ [email protected]] hdmitx: edid: blk1 raw data
[ [email protected]] 02031df24a0102038405101293141f230907078301000065030c0010008c0ad0
[ [email protected]] 8a20e02d10103e9600138e21000018011d00bc52d01e20b8285540c48e210000
[ [email protected]] 1e011d80d0721c1620102c2580c48e2100009e8c0ad08a20e02d10103e9600c4
[ [email protected]] 8e210000188c0ad090204031200c405500c48e2100001800000000000000002b
[ [email protected]]
[ [email protected]]
[ [email protected]] EDID Parser:
[ [email protected]] hdmitx: edid: find IEEEOUT
[ [email protected]]
[ [email protected]] hdmitx: edid: check sum valid
[ [email protected]] hdmitx: edid: check sum valid
[ [email protected]] hdmitx: update RX hdr info 0
[ [email protected]] [RX]-receive ksv list len:1,depth:1,cas:0,dev:0
[ [email protected]] hdmitx: video: get current mode: 1080p60hz
[ [email protected]] hdmitx: update rx hdr info 0
[ [email protected]] hdmitx: get ext_name
[ [email protected]] hdmitx: system: [set_disp_mode_auto] ALREADY init VIC = 16
[ [email protected]] hdmtix: set audio
[ [email protected]] hdmitx tx_aud_src = 0
[ [email protected]] hdmitx: system: irq 80000001
[ [email protected]] hdmitx: fs = 0, cd = 4, tmds_clk = 148500
[ [email protected]] hdmitx aud_n_para = 6144
[ [email protected]] hdmitx set channel status
[ [email protected]] Start = 0x10000100 End = 0x100001ff
[ [email protected]] [0x10000103]: 0x00000008
[ [email protected]] [0x10000104]: 0x00000001
[ [email protected]] [0x10000170]: 0x00000010
[ [email protected]] [0x10000180]: 0x000000ff
[ [email protected]] [0x10000181]: 0x000000ff
[ [email protected]] [0x10000182]: 0x00000003
[ [email protected]] [0x10000183]: 0x00000007
[ [email protected]] [0x10000184]: 0x0000003f
[ [email protected]] [0x10000185]: 0x00000002
MDZ-22 ab crashed
Hello togehter,
I new in the rforum and need support.
I think I crashed mz mdy-22ab bz upadting new version via USB, since this i cannot enter reoverz mode.
I followed the describtion to enter via UART and Putty and got the following.
Due the fact that i am not an expert i don^t know wht the puttz.log means.
Maybe some experts in the forum can help me.
Reset...
GXL:BL1:9ac50e:bb16dc;FEAT:BDFD71BC:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;0.0;CHK:0;
TE: 99019
BL2 Built : 13:27:37, Oct 25 2017. gxl g56b77aa - [email protected]
_vcc5_power_init
rn5t567_power_init
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
i2c timeout
Board ID = 5
CPU clk: 1200MHz
DQS-corr enabled
DDR scramble enabled
DDR3 chl: Rank0+1 @ 912MHz - FAIL
DDR3 chl: Rank0 @ 912MHz - FAIL
DDR3 chl: Rank0 16bit @ 912MHz - FAIL
DDR4 chl: Rank0+1 @ 1008MHz - FAIL
DDR4 chl: Rank0 @ 1008MHz - FAIL
DDR4 chl: Rank0 16bit @ 1008MHz - FAIL
DDR init failed...
Reset...
GXL:BL1:9ac50e:bb16dc;FEAT:BDFD71BC:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;0.0;CHK:0;
TE: 99323
Same me..(((
I can't find any link to download Armbian_5.34_S9xxx_Ubuntu_xenial_4.9.40_mate_20171 112. Can someone reupload it?
Can I do it with regular usb rs232 cable?I have to solder it?Is there newer builds avalible?

5.1.1: finetune battery thermal shutdown value

Consider an Android (5.1.1) phone with battery removed and powered by external power. The external power replaces the battery, so the phone thinks it still has its original battery.
This works fine 100%, but I have an issue. The phone can get direct sunshine and on hot summer days it usually shuts down due to thermal alarm of battery.
Here is the Logcat:
Code:
[ 07-26 11:59:16.191 521: 1067 I/system_monitor ]
alarm_callback - Received MAX alarm: batt_therm at Level:1
[ 07-26 11:59:16.195 968: 6013 I/libsysmon ]
handle_notification - Called
[ 07-26 11:59:16.195 968: 6013 I/libsysmon ]
handle_notification - Dumping notification
[ 07-26 11:59:16.195 968: 6013 I/libsysmon ]
name: batt_therm
[ 07-26 11:59:16.195 968: 6013 I/libsysmon ]
current_level: 0
[ 07-26 11:59:16.195 968: 6013 I/libsysmon ]
prev_level: 1
[ 07-26 11:59:16.195 968: 6013 I/libsysmon ]
shutdown_in: 20
[ 07-26 11:59:16.195 968: 6013 I/libsysmon ]
Adding action: SHUTDOWN
[ 07-26 11:59:16.195 968: 6013 I/libsysmon ]
handle_notification - Going to callback function
[ 07-26 11:59:16.196 968: 6013 I/libsysmon ]
[ 07-26 11:59:16.196 968: 6013 I/libsysmon ]
[ 07-26 11:59:16.276 521: 1067 E/system_monitor ]
write_miscta_sysmon_log - read error[10022].
[ 07-26 11:59:16.284 186: 186 I/tad ]
MiscTA Unit 10022:
[ 07-26 11:59:16.284 186: 186 I/tad ]
NOT WRITTEN (Identical)
[ 07-26 11:59:16.284 186: 186 I/tad ]
MiscTA: Write of unit 10022 completed - OK
[ 07-26 11:59:16.311 186: 186 I/tad ]
MiscTA Unit 10025:
[ 07-26 11:59:16.312 186: 186 I/tad ]
WRITTEN (Size 50)
[ 07-26 11:59:16.409 186: 186 I/tad ]
Actual erase/write to flash done (count 1, time 1564135156).
[ 07-26 11:59:16.409 186: 186 I/tad ]
MiscTA: Write of unit 10025 completed - OK
[ 07-26 11:59:16.431 186: 186 I/tad ]
MiscTA Unit 10024:
[ 07-26 11:59:16.431 186: 186 I/tad ]
WRITTEN (Size 50)
[ 07-26 11:59:16.494 186: 186 I/tad ]
Actual erase/write to flash done (count 2, time 1564135156).
[ 07-26 11:59:16.494 186: 186 I/tad ]
MiscTA: Write of unit 10024 completed - OK
[ 07-26 11:59:16.501 186: 186 I/tad ]
MiscTA Unit 10023:
[ 07-26 11:59:16.501 186: 186 I/tad ]
WRITTEN (Size 50)
[ 07-26 11:59:16.574 186: 186 I/tad ]
Actual erase/write to flash done (count 3, time 1564135156).
[ 07-26 11:59:16.574 186: 186 I/tad ]
MiscTA: Write of unit 10023 completed - OK
[ 07-26 11:59:16.576 521: 1067 I/system_monitor ]
Shutting down
[ 07-26 11:59:16.996 1930: 1930 I/GPSManager ]
location.getAccuracy() 4.0
[ 07-26 11:59:16.996 1930: 1930 I/AdressUpdate ]
AdressUpdate
[ 07-26 11:59:18.009 1930: 1930 I/GPSManager ]
location.getAccuracy() 4.0
[ 07-26 11:59:18.009 1930: 1930 I/AdressUpdate ]
AdressUpdate
[ 07-26 11:59:18.221 2217: 2231 I/art ]
Background sticky concurrent mark sweep GC freed 64885(3MB) AllocSpace objects, 0(0B) LOS objects, 10% free, 27MB/30MB, paused 9.626ms total 105.405ms
[ 07-26 11:59:18.336 968: 1034 W/PackageManager ]
Invalid verification token 0 received
[ 07-26 11:59:18.993 1930: 1930 I/GPSManager ]
location.getAccuracy() 4.0
[ 07-26 11:59:18.993 1930: 1930 I/AdressUpdate ]
AdressUpdate
[ 07-26 11:59:19.984 1930: 1930 I/GPSManager ]
location.getAccuracy() 4.0
[ 07-26 11:59:19.984 1930: 1930 I/AdressUpdate ]
AdressUpdate
[ 07-26 11:59:20.983 1930: 1930 I/GPSManager ]
location.getAccuracy() 4.0
[ 07-26 11:59:20.983 1930: 1930 I/AdressUpdate ]
AdressUpdate
[ 07-26 11:59:21.666 968: 1572 W/InputMethodManagerService ]
Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
[ 07-26 11:59:21.727 968: 1028 I/MediaFocusControl ]
AudioFocus requestAudioFocus() from [email protected] req=1flags=0x0
[ 07-26 11:59:22.064 968: 5233 W/ShutdownThread ]
Disabling Bluetooth...
[ 07-26 11:59:22.069 968: 5232 I/ShutdownThread ]
Sending shutdown broadcast...
[ 07-26 11:59:22.078 968: 5232 I/ShutdownThread ]
Shutting down activity manager...
[ 07-26 11:59:22.084 968: 968 W/SyncManager ]
Writing sync state before shutdown...
[ 07-26 11:59:22.097 1930: 1930 I/GPSManager ]
location.getAccuracy() 5.0
[ 07-26 11:59:22.097 1930: 1930 I/AdressUpdate ]
AdressUpdate
[ 07-26 11:59:22.240 4674: 4750 I/BluetoothAdapterState ]
Bluetooth adapter state changed: 12-> 13
[ 07-26 11:59:22.274 968: 5233 W/ShutdownThread ]
Turning off cellular radios...
[
Now, of course high temperature is wrong for battery, but this particular case the phone has no battery at all.
(How) is it possible to increase the battery thermal alarm value? Based on my measurements it seems firing around 65 °C. I would raise it a bit, to 75 or maybe 85 °C, but not more.

XT1941-4 (DEEN) stuck on fastboot

Hello, my XT1941-4 got stuck on fastboot. Model is showing only zeros (0000000000), IMEI as well. (see pictures)
Fastboot flash doesn't work maybe because bootloader is LOCKED. Tried to boot it into EDL via test point and blank flash it. Does anyone have any experience with this?
**** Log buffer [000001] 2022-01-18_10:26:13 ****
[ -0.000] Opening device: \\.\COM13
[ -0.000] Detecting device
[ -0.000] ...cpu.id = 70 (0x46)
[ -0.000] ...cpu.sn = 655886582 (0x271808f6)
[ -0.000] Opening singleimage
[ 0.016] Loading package
[ 0.016] ...filename = singleimage.pkg.xml
[ 0.016] Loading programmer
[ 0.016] ...filename = programmer.mbn
[ 0.016] Sending programmer
[ 11.173] ERROR: sahara_download()->IO error
[ 11.173] Check qboot_log.txt for more details
[ 11.173] Total time: 11.173s
[ 11.173]
[ 11.173] qboot version 3.86
[ 11.173]
[ 11.173] DEVICE {
[ 11.173] name = "\\.\COM13",
[ 11.173] flags = "0x64",
[ 11.173] addr = "0x28FD64",
[ 11.173] sahara.current_mode = "0",
[ 11.173] api.buffer = "0x20EF020",
[ 11.173] cpu.serial = "655886582",
[ 11.173] cpu.id = "70",
[ 11.173] cpu.sv_sbl = "0",
[ 11.173] cpu.name = "MSM8953",
[ 11.173] storage.type = "eMMC",
[ 11.173] sahara.programmer = "programmer.mbn",
[ 11.173] api.bnr = "0x2023EE8",
[ 11.173] }
[ 11.173]
[ 11.173]
[ 11.173] Backup & Restore {
[ 11.173] num_entries = 0,
[ 11.173] restoring = "false",
[ 11.173] backup_error = "not started",
[ 11.173] restore_error = "not started",
[ 11.173] }
[ 11.173]
**** Log buffer [000001] 2022-01-19_16:09:20 ****
[ 0.001] Opening device: \\.\COM13
[ 0.002] Detecting device
[ 0.005] ...cpu.id = 70 (0x46)
[ 0.005] ...cpu.sn = 655886582 (0x271808f6)
[ 0.005] Opening singleimage
[ 0.009] Loading package
[ 0.013] ...filename = singleimage.pkg.xml
[ 0.015] Loading programmer
[ 0.017] ...filename = programmer.mbn
[ 0.017] Sending programmer
[ 11.027] ERROR: sahara_download()->IO error
[ 11.028] Check qboot_log.txt for more details
[ 11.028] Total time: 11.031s
[ 11.028]
[ 11.028] qboot version 3.86
[ 11.028]
[ 11.028] DEVICE {
[ 11.028] name = "\\.\COM13",
[ 11.028] flags = "0x64",
[ 11.028] addr = "0x28FD64",
[ 11.028] sahara.current_mode = "0",
[ 11.028] api.buffer = "0x5F3020",
[ 11.028] cpu.serial = "655886582",
[ 11.028] cpu.id = "70",
[ 11.028] cpu.sv_sbl = "0",
[ 11.028] cpu.name = "MSM8953",
[ 11.028] storage.type = "eMMC",
[ 11.028] sahara.programmer = "programmer.mbn",
[ 11.028] api.bnr = "0x4F3EE8",
[ 11.028] }
[ 11.028]
[ 11.028]
[ 11.028] Backup & Restore {
[ 11.028] num_entries = 0,
[ 11.028] restoring = "false",
[ 11.028] backup_error = "not started",
[ 11.028] restore_error = "not started",
[ 11.028] }
[ 11.028]
Click to expand...
Click to collapse

Categories

Resources