[LOTS] 스크린 링크 동글

옛날에 이런 물건이 있었더랬지…
베가 R3랑 S5만 그거도 전용앱이 있어야 되는거같은데… 난 그런거 없으니까 일단 뜯고본다.
kakaotalk_20161006_230624160 kakaotalk_20161006_230622858ee

UART 찾는건 기본 baudrate는 115200이다

아래는 부트로그

Linux version 3.0.15-01927-gf9a14bd (p50177@bs217) (gcc version 4.5.1 (Broadcom-2708) ) #1 PREEMPT Wed Aug 15 05:01:02 KST 2012
CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: BCM2708
cma: CMA: reserved 16 MiB at 08000000
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 36576
Kernel command line: console=ttybcm0,115200 mtdparts=bcm2708_nand:128k(loader),14m(fw_kernel),4m(nvram),44m(system),-(ota_storage)
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 144MB = 144MB total
Memory: 121872k/121872k available, 25584k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xc9800000 - 0xe8000000   ( 488 MB)
    lowmem  : 0xc0000000 - 0xc9000000   ( 144 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc036e000   (3480 kB)
      .text : 0xc036e000 - 0xc072e37c   (3841 kB)
      .data : 0xc0730000 - 0xc074c9e0   ( 115 kB)
       .bss : 0xc074ca04 - 0xc0794848   ( 288 kB)
Preemptible hierarchical RCU implementation.
NR_IRQS:85
timer_set_mode: unhandled mode:1
Console: colour dummy device 80x30
Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
hw perfevents: enabled with v6 PMU driver, 3 counters available
devtmpfs: initialized
NET: Registered protocol family 16
DMA: preallocated 768 KiB pool for atomic coherent allocations
bcm2708_pcni_gpio: bcm2708_pcni_gpio_probe c0736550
wlan reset!
usb path is wlan!
usb otgID Host
hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
mailbox: Broadcom VideoCore Mailbox driver
bcm2708_vcio: mailbox at f200b880
bcm_power: Broadcom power driver
bcm2708_mini_uart: ttybcm0 at MMIO 0x20215000 (irq = 29) is a BCM_MINIUART
bcm2708_mini_uart: registered console - rc 0
console [ttybcm0] enabled
bcm2708_mini_uart: located device
bio: create slab <bio-0> at 0
Switching to clocksource timer0_clk
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
bcm2708_dma: DMA manager at c9800000
: registered virtual buttonsbits @480c0000 via MBOX f200b8a0
input: bcm2708_vcbuttons as /devices/platform/bcm2708_vcbuttons/input/input0
: registered ledbits @480c1000 through MBOX f200b8a0
: registered gpiobits @480c2000 through MBOX f200b8a0
[bcm2708_smi_probe] SMI start=20600000 end=20600fff
allocated channel 2 with irq 77
SMI DMA CBs c80c3000 handle 480C3000 DMA2 c9800200 DMA IRQ 77
msgmni has been set to 270
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
BSC: Driver initialized
Sky WFD GPIO Driver: 1.00
vc-mem: Videocore memory driver
vc-mem: mm_vc_mem_phys_addr = 0x00000000
mem_size is 256
vc-mem: mm_vc_mem_size      = 0x10000000 (256 MiB)
vc-mem: mm_vc_mem_base      = 0x00000000 (0 MiB)
brd: module loaded
vchiq: vchiq_init_state: slot_zero = 0xc8000000, is_master = 0
[bcm2708_nand_probe]: probe=c0736a60
[bcm2708_nand_probe] GPIO start=20200000 end=20200fff
[bcm2708_nand_probe]: NAND init done
ONFI flash detected
NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 0 at 0x000000000000
Bad eraseblock 986 at 0x000007b40000
Bad eraseblock 987 at 0x000007b60000
5 cmdlinepart partitions found on MTD device bcm2708_nand
Creating 5 MTD partitions on "bcm2708_nand":
0x000000000000-0x000000020000 : "loader"
0x000000020000-0x000000e20000 : "fw_kernel"
0x000000e20000-0x000001220000 : "nvram"
0x000001220000-0x000003e20000 : "system"
0x000003e20000-0x000008000000 : "ota_storage"
mousedev: PS/2 mouse device common for all mice
bcm2708 watchdog, heartbeat=10 sec (nowayout=0)
cpuidle: using governor ladder
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
allocated channel 3 with irq 78
mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
mmc0: BCM2708 SDHC host at 0x20300000 DMA 3 IRQ 78
TCP cubic registered
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
Registering the dns_resolver key type
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
vc-fb: Videocore framebuffer driver
[I] vc_fb_connected_init: start
[I] vc_fb_connected_init: end (ret=0)
vc-sm: Videocore shared memory driver
[vc_sm_connected_init]: start
[vc_sm_connected_init]: end - returning 0
Warning: unable to open an initial console.
Freeing init memory: 3480K
UBI: attaching mtd3 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: max. sequence number:       148
UBI: attached mtd3 to ubi0
UBI: MTD device name:            "system"
UBI: MTD device size:            44 MiB
UBI: number of good PEBs:        352
UBI: number of bad PEBs:         0
UBI: number of corrupted PEBs:   0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    256
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             0
UBI: total number of reserved PEBs: 352
UBI: number of PEBs reserved for bad PEB handling: 3
UBI: max/mean erase counter: 2/0
UBI: image sequence number:  1144542126
UBI: background thread "ubi_bgt0d" started, PID 47
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size:   43094016 bytes (42084 KiB, 41 MiB, 334 LEBs)
UBIFS: journal size:       9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:  0 bytes (0 KiB)
Starting logging: OK
Populating  using udev: udevd[72]: starting version 182
done
Initializing random number generator... done.
Starting network...
result=1
/etc/init.d/dhcp-server not yet configured! - Aborting...
HFilesys: vc_hostfs is deprecated. Please use stdio
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
dwc_otg: version 2.90b 6-MAY-2010 (platform bus)
Core Release: 2.80a                     
Setting default values for core params                                                               
Finished setting default values for core params                                                      
c99c0008 -> 1                                                                                        
Using Buffer DMA mode                                                                                
Periodic Transfer Interrupt Enhancement - disabled
Multiprocessor Interrupt Enhancement - disabled
dwc_otg bcm2708_usb: DWC OTG Controller 
dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
dwc_otg bcm2708_usb: irq 75, io mem 0x00000000
Init: Port Power? op_state=1
Init: Power Port (0)
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: DWC OTG Controller
usb usb1: Manufacturer: Linux 3.0.15-01927-gf9a14bd dwc_otg_hcd
usb usb1: SerialNumber: bcm2708_usb
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usb 1-1: new high speed USB device number 2 using dwc_otg
usb 1-1: New USB device found, idVendor=0a5c, idProduct=bd17
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: Remote Download Wireless Adapter
usb 1-1: Manufacturer: Broadcom
usb 1-1: SerialNumber: 000000000001
bcm_rpc_up: waiting to be connected
bcm_rpc_buf_recv_mgn_high: Recvd:3 Version: 0x61e0900
State: 3 Session:105
bcm_rpc_buf_recv_mgn_high: Reason: 0 Dongle Version: 0x61e0900
bcm_rpc_buf_recv_mgn_high: Connected!
eth0: Broadcom BCMa8e4 802.11 Wireless Controller 6.30.9 (TOB) (r347267 BCMINT)
usbcore: registered new interface driver dbus_usbdev
start WFD Init Early!
UBI: attaching mtd2 to ubi1
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: max. sequence number:       14
UBI: attached mtd2 to ubi1
UBI: MTD device name:            "nvram"
UBI: MTD device size:            4 MiB
UBI: number of good PEBs:        32
UBI: number of bad PEBs:         0
UBI: number of corrupted PEBs:   0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    256
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             9
UBI: total number of reserved PEBs: 23
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 2/1
UBI: image sequence number:  -281321412
UBI: background thread "ubi_bgt1d" started, PID 119
UBI device number 1, total 32 LEBs (4128768 bytes, 3.9 MiB), available 9 LEBs (1161216 bytes, 1.1 MiB), LEB size 129024 bytes (126.0 KiB)
ubi Attach result!!! for Nvm  : 0
UBIFS: mounted UBI device 1, volume 0, name "skyNvm"
UBIFS: mounted read-only
UBIFS: file system size:   1161216 bytes (1134 KiB, 1 MiB, 9 LEBs)
UBIFS: journal size:       903169 bytes (882 KiB, 0 MiB, 5 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:  54846 bytes (53 KiB)
ubi mount  : 0
nv wlan mac 0:f:e4:2:b8:bb
nv wlan mac ok!
end WFD Init Early!
WFD NVM Access Ready!
mac addr 0:f:e4:2:b8:bb
pin code 20729850
serial number C6F245838564

You are now cooking with FLAMES
      Feel the HEAT!


Please press Enter to activate this console. 
Available sky-gpio_dev

엔터를 누르면

BCM2835
bcm2835 login:

가 뜨는데 그냥 root 하면 민망하게도 로그인이 된다 ;; 비밀번호 필요없음

아래는 간단한 시스템 정보들

# cat /proc/cpuinfo 
Processor       : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 795.44
Features        : swp half thumb fastmult vfp edsp java 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7

Hardware        : BCM2708
Revision        : 0000
Serial          : 0000000000000000

# cat /proc/meminfo 
MemTotal:         141736 kB
MemFree:          109672 kB
Buffers:               0 kB
Cached:            18092 kB
SwapCached:            0 kB
Active:             4168 kB
Inactive:          15804 kB
Active(anon):       1900 kB
Inactive(anon):       24 kB
Active(file):       2268 kB
Inactive(file):    15780 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 4 kB
Writeback:             0 kB
AnonPages:          1896 kB
Mapped:             1784 kB
Shmem:                44 kB
Slab:               5948 kB
SReclaimable:       2768 kB
SUnreclaim:         3180 kB
KernelStack:         416 kB
PageTables:          284 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:       70868 kB
Committed_AS:      49444 kB
VmallocTotal:     499712 kB
VmallocUsed:        1704 kB
VmallocChunk:     494924 kB

# uname -a
Linux bcm2835 3.0.15-01927-gf9a14bd #1 PREEMPT Wed Aug 15 05:01:02 KST 2012 armv6l GNU/Linux

# mount
rootfs on / type rootfs (rw)
none on /dev type devtmpfs (rw,relatime,size=60936k,nr_inodes=15234,mode=755)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
ubi0:rootfs on / type ubifs (rw,relatime)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
none on /dev type devtmpfs (rw,relatime,size=60936k,nr_inodes=15234,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
none on /tmp type tmpfs (rw,relatime)
none on /tmp type tmpfs (rw,relatime)
ubi1:skyNvm on /nvm type ubifs (ro,relatime)

# cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 00020000 00020000 "loader"
mtd1: 00e00000 00020000 "fw_kernel"
mtd2: 00400000 00020000 "nvram"
mtd3: 02c00000 00020000 "system"
mtd4: 041e0000 00020000 "ota_storage"

# ps
PID USER COMMAND
 1 root {init} /bin/busybox sh /init
 2 root [kthreadd]
 3 root [ksoftirqd/0]
 4 root [kworker/0:0]
 5 root [kworker/u:0]
 6 root [khelper]
 7 root [netns]
 8 root [kworker/0:1]
 9 root [sync_supers]
 10 root [bdi-default]
 11 root [kblockd]
 12 root [kswapd0]
 13 root [fsnotify_mark]
 14 root [kworker/u:1]
 19 root [VCHIQ-0]
 20 root [VCHIQr-0]
 21 root [VCHIQs-0]
 22 root [VCHIQl-0]
 23 root [VCHIQh-0]
 24 root [mtdblock0]
 25 root [mtdblock1]
 26 root [mtdblock2]
 27 root [mtdblock3]
 28 root [mtdblock4]
 29 root [kpsmoused]
 30 root [SMIO]
 47 root [ubi_bgt0d]
 50 root [ubifs_bgt0_0]
 54 root {linuxrc} init
 67 root /sbin/syslogd -m 0
 69 root /sbin/klogd
 72 root /lib/udev/udevd -d
 94 root /opt/vc/sbin/vcfiled
 103 root [khubd]
 106 root /lib/udev/udevd -d
 107 root /lib/udev/udevd -d
 108 root [DWC Notificatio]
 109 root [dwc_otg]
 119 root [ubi_bgt1d]
 132 root {exe} ash ./runWFD_App.sh
 133 root /sbin/getty -L tty0 115200 vt102
 135 root a1_process_manager
 136 root df_wfd_procedure
 138 root sh -c top -d 1
 139 root top -d 1
 158 root [flush-ubifs_0_0]
 159 root {init_ttyser0} /bin/sh /etc/init.d/init_ttyser0
 163 root -sh
 186 root ps

잠깐 보니까 MAC으로 vega 모델 아니니 팅궈내는거 같은데…
어떻게 가지고 놀아볼까…?

Leave a Reply

Your email address will not be published. Required fields are marked *