WhyCan Forum

人过留名,雁过留声,感谢各位朋友不离不弃地支持。 QQ: 516333132 (挖坑网/填坑网) admin@whycan.cn

您尚未登录。

#1 2018-12-23 18:22:47

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 7,826

买了两块中科世为的 HMI 屏 玩玩

离线

#2 2018-12-23 18:23:32

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 7,826

Re: 买了两块中科世为的 HMI 屏 玩玩

QQ20181223182351.jpg

DSC_01211.jpg

DSC_00631.jpg

离线

#3 2018-12-23 18:48:10

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 7,826

Re: 买了两块中科世为的 HMI 屏 玩玩

QQ20181223224141.png

QQ20181223224524.jpg

编程,下载挺方便。

离线

#4 2018-12-23 18:48:16

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 7,826

Re: 买了两块中科世为的 HMI 屏 玩玩

.

离线

#5 2018-12-23 18:48:23

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 7,826

Re: 买了两块中科世为的 HMI 屏 玩玩

.

离线

#6 2018-12-23 19:29:52

达克罗德
会员
注册时间: 2018-04-10
累计积分: 558

Re: 买了两块中科世为的 HMI 屏 玩玩

一个高分屏,一个低分的,

离线

#7 2018-12-23 19:34:38

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 7,826

Re: 买了两块中科世为的 HMI 屏 玩玩

达克罗德 说:

一个高分屏,一个低分的,

对,一个5寸 800x480 CTP GT911 电容屏, 令一个是 480x272 RTP电阻屏

离线

#8 2018-12-23 20:18:39

Lvy
会员
注册时间: 2017-11-25
累计积分: 84

Re: 买了两块中科世为的 HMI 屏 玩玩

请问Z6S是哪家的片子?

离线

#9 2018-12-23 20:21:15

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 7,826

Re: 买了两块中科世为的 HMI 屏 玩玩

Lvy 说:

请问Z6S是哪家的片子?

全志 f1c100s remark 的

离线

#10 2018-12-23 20:27:00

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 7,826

Re: 买了两块中科世为的 HMI 屏 玩玩

QQ20181223202529.png

USB插入电脑,显示一个 android 调试设备,但是没有办法使用 adb.exe 的基本命令,难道使用了自定义命令?

离线

#11 2018-12-23 21:07:23

gdfsli
会员
注册时间: 2018-07-11
累计积分: 12

Re: 买了两块中科世为的 HMI 屏 玩玩

有没有问过Z11S是否就是V3S?

离线

#12 2018-12-23 21:12:14

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 7,826

Re: 买了两块中科世为的 HMI 屏 玩玩

gdfsli 说:

有没有问过Z11S是否就是V3S?

就是V3s,确定无疑

离线

#13 2018-12-23 22:50:07

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 7,826

Re: 买了两块中科世为的 HMI 屏 玩玩

QQ20181223224916.png

QQ20181223224823.png

点击下载调试,bus hound 抓到这些数据, 这是ADB 的自定义命令?

离线

#14 2018-12-24 00:30:03

达克罗德
会员
注册时间: 2018-04-10
累计积分: 558

Re: 买了两块中科世为的 HMI 屏 玩玩

可以做到单步调试?

离线

#15 2018-12-24 06:51:12

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 7,826

Re: 买了两块中科世为的 HMI 屏 玩玩

达克罗德 说:

可以做到单步调试?

貌似不行,或者我没有发现

离线

#16 2018-12-24 09:19:04

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 7,826

Re: 买了两块中科世为的 HMI 屏 玩玩

D:\>adb push z.lib /mnt/extsd
[100%] /mnt/extsd/z.lib

试了一下 adb push 命令 OK, adb pull 命令貌似不行, adb shell 命令直接close.



也支持 adb logcat 命令

D:\>adb logcat
E/zkgui   (   36): readJsonFile /mnt/extsd/EasyUI.cfg fail errno: No such file o
r directory !!!
E/zkgui   (   36): initEasyUICfg ok!
D/zkgui   (   36): mRatio: 2.450000, mMinBrightness: 10, mMaxBrightness: 100, ma
xBrightness: 255, mBrightness: 100
E/zkgui   (   36): readJsonFile zh_CN.json fail errno: No such file or directory
!!!
D/zkgui   (   36): ExecuteThread start...
D/zkgui   (   36): ExecuteThread end...
D/zkgui   (   36): registerActivity name: adActivity OK!
D/zkgui   (   36): registerActivity name: inputtextActivity OK!
D/zkgui   (   36): registerActivity name: mainActivity OK!
D/zkgui   (   36): registerActivity name: musicActivity OK!
D/zkgui   (   36): registerActivity name: qrcodeActivity OK!
D/zkgui   (   36): registerActivity name: tesListActivity OK!
D/zkgui   (   36): registerActivity name: testButtonActivity OK!
D/zkgui   (   36): registerActivity name: testSliderActivity OK!
D/zkgui   (   36): registerActivity name: testTextActivity OK!
D/zkgui   (   36): registerActivity name: testpointerActivity OK!
D/zkgui   (   36): registerActivity name: video2Activity OK!
D/zkgui   (   36): registerActivity name: videoActivity OK!
D/zkgui   (   36): registerActivity name: waveViewActivity OK!
D/zkgui   (   36): registerActivity name: windowActivity OK!
D/zkgui   (   36): registerActivity name: SoftApSettingActivity OK!
D/zkgui   (   36): registerActivity name: UpgradeActivity OK!
D/zkgui   (   36): registerActivity name: WifiSettingActivity OK!
D/zkgui   (   36): registerActivity name: ZKSettingActivity OK!
D/zkgui   (   36): registerActivity name: DeveloperSettingActivity OK!
D/zkgui   (   36): registerActivity name: PowerOffActivity OK!
D/zkgui   (   36): registerActivity name: NetSettingActivity OK!
D/zkgui   (   36): registerActivity name: TouchCalibrationActivity OK!
D/zkgui   (   36): registerActivity name: LanguageSettingActivity OK!
D/zkgui   (   36): registerControl
D/zkgui   (   36): RegisterWindowClass zk_circlebar is OK!
D/zkgui   (   36): RegisterWindowClass zk_button is OK!
D/zkgui   (   36): RegisterWindowClass zk_diagram is OK!
D/zkgui   (   36): RegisterWindowClass zk_videoview is OK!
D/zkgui   (   36): RegisterWindowClass zk_cameraview is OK!
D/zkgui   (   36): RegisterWindowClass zk_digitalclock is OK!
D/zkgui   (   36): RegisterWindowClass zk_seekbar is OK!
D/zkgui   (   36): RegisterWindowClass zk_edittext is OK!
D/zkgui   (   36): RegisterWindowClass zk_checkbox is OK!
D/zkgui   (   36): RegisterWindowClass zk_qrcode is OK!
D/zkgui   (   36): RegisterWindowClass zk_radiogroup is OK!
D/zkgui   (   36): RegisterWindowClass zk_pointer is OK!
D/zkgui   (   36): RegisterWindowClass zk_animview is OK!
D/zkgui   (   36): RegisterWindowClass zk_listview is OK!
D/zkgui   (   36): RegisterWindowClass zk_timer is OK!
D/zkgui   (   36): RegisterWindowClass zk_slidetext is OK!
D/zkgui   (   36): RegisterWindowClass zk_textview is OK!
D/zkgui   (   36): RegisterWindowClass zk_scrollwindow is OK!
D/zkgui   (   36): RegisterWindowClass zk_scrollwindowpage is OK!
D/zkgui   (   36): RegisterWindowClass zk_slidewindow is OK!
D/zkgui   (   36): RegisterWindowClass zk_window is OK!
D/zkgui   (   36): mConnectFD = 10 .
D/zkgui   (   36): isMount checkPath=/mnt/extsd
D/zkgui   (   36): MountMonitor addMountListener pListener: 0x4020840c
D/zkgui   (   36): openUart pFileName = /dev/ttyS2, baudRate = 4098
D/zkgui   (   36): openUart mIsOpen = 1
D/zkgui   (   36): registerGlobalTouchListener
D/zkgui   (   36): registerProtocolDataUpdateListener
D/zkgui   (   36): LoadBitmapFromFile pPath: /system/res/internal/, load Error r
et: -2
D/zkgui   (   36): mSlidePageInfosList.size: 2
D/zkgui   (   36): hideStatusBar
D/zkgui   (   36): registerGlobalTouchListener
D/zkgui   (   36): registerProtocolDataUpdateListener
D/zkgui   (   36): hitIndex: -1
D/zkgui   (   36): MSG_LBUTTONUP needToRoll
D/zkgui   (   36): roll animation end!!!
D/zkgui   (   36): hitIndex: 2
D/zkgui   (   36): MSG_LBUTTONUP needToRoll
D/zkgui   (   36): roll animation end!!!

离线

#17 2018-12-24 09:57:54

Gentlepig
会员
注册时间: 2018-10-24
累计积分: 217

Re: 买了两块中科世为的 HMI 屏 玩玩

PCB板上,USB下方空的那块区域,是wifi板?usb的信号线连到了这个板上?

离线

#18 2018-12-24 10:06:08

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 7,826

Re: 买了两块中科世为的 HMI 屏 玩玩

Gentlepig 说:

PCB板上,USB下方空的那块区域,是wifi板?usb的信号线连到了这个板上?

如果买的是 WIFI 版本, 应该是可以的。

离线

#19 2018-12-24 10:21:48

Gentlepig
会员
注册时间: 2018-10-24
累计积分: 217

Re: 买了两块中科世为的 HMI 屏 玩玩

fc100通过usb信号线控制wifi板?
----------------------------------------
想了想,应该是的,就像常见的usb转wifi配件。

最近编辑记录 Gentlepig (2018-12-24 10:23:08)

离线

#20 2018-12-24 10:24:41

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 7,826

Re: 买了两块中科世为的 HMI 屏 玩玩

Gentlepig 说:

fc100通过usb信号线控制wifi板?
----------------------------------------
想了想,应该是的,就像常见的usb转wifi配件。

对,这个就是USB的WIFI模块.

离线

#21 2018-12-24 10:24:53

pineshen
会员
注册时间: 2018-12-24
累计积分: 4

Re: 买了两块中科世为的 HMI 屏 玩玩

就是标准的ADB,不过系统优化的太厉害,用SD卡里的busybox,可以运行任意命令,导出rootfs

# /mnt/extsd/busybox dmesg
/mnt/extsd/busybox dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.10.65 (jf@jf) (gcc version 5.2.1 (OpenWrt/Linaro GCC 5.2-2015.11-2 2016-11-07) ) #120 Mon Oct 29 04:29:43 UTC 2018
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: zkswe-z6x, model: Zkswe Z6s platform
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat c05845c8, node_mem_map c059a000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: loglevel=0 initcall_debug=0 lpj=1376256
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 32MB = 32MB total
[    0.000000] Memory: 26580k/26580k available, 6188k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc2800000 - 0xff000000   ( 968 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0280e04   (2532 kB)
[    0.000000]       .init : 0xc0281000 - 0xc04afbf4   (2235 kB)
[    0.000000]       .data : 0xc04b0000 - 0xc0584d08   ( 852 kB)
[    0.000000]        .bss : 0xc0584d08 - 0xc0599c24   (  84 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000153] Calibrating delay loop (skipped) preset value.. 275.25 BogoMIPS (lpj=1376256)
[    0.000187] pid_max: default: 32768 minimum: 301
[    0.000571] Mount-cache hash table entries: 512
[    0.001676] CPU: Testing write buffer coherency: ok
[    0.002399] Setting up static identity map for 0xc0229648 - 0xc0229684
[    0.004841] pinctrl core: initialized pinctrl subsystem
[    0.005079] NET: Registered protocol family 16
[    0.006000] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009245] z6s-pinctrl pio: initialized z6s driver
[    0.016220] bio: create slab <bio-0> at 0
[    0.017139] pwm module init!
[    0.021940] NET: Registered protocol family 2
[    0.023934] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.023993] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.024023] TCP: Hash tables configured (established 512 bind 512)
[    0.024184] TCP: reno registered
[    0.024221] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.024262] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.024805] NET: Registered protocol family 1
[    0.457688] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.458230] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.459015] msgmni has been set to 51
[    0.460286] io scheduler noop registered
[    0.460413] io scheduler cfq registered (default)
[    0.510901] uart0: ttyS0 at MMIO 0x1c25000 (irq = 102) is a Z6S
[    0.511730] uart2: ttyS2 at MMIO 0x1c25800 (irq = 103) is a Z6S
[    0.514217] spi spi0: master is unqueued, this is deprecated
[    0.515398] m25p80 spi0.0: found w25q64, expected w25q128
[    0.515454] m25p80 spi0.0: w25q64 (8192 Kbytes)
[    0.517374] 5 zkswepart partitions found on MTD device (null)
[    0.517411] Creating 5 MTD partitions on "(null)":
[    0.517447] 0x000000000000-0x000000020000 : "uboot"
[    0.518839] 0x000000020000-0x0000003c0000 : "boot"
[    0.520298] 0x0000003c0000-0x000000400000 : "data"
[    0.521581] 0x000000400000-0x000000800000 : "res"
[    0.522839] 0x000000800000-0x000000800000 : "UDISK"
[    0.522864] mtd: partition "UDISK" is out of reach -- disabled
[    0.525495] input: 1c24800.z6s-rtp as /devices/soc/1c24800.z6s-rtp/input/input0
[    0.527183] z6s-mmc sdc0: Failed getting OCR mask: 0
[    0.560413] logger: created 128K log 'log_main'
[    0.560596] z6s-mmc sdc0: smc 0 p0 err, cmd 52, RTO !!
[    0.561068] TCP: cubic registered
[    0.561135] VFP support v0.3: not present
[    0.561810] z6s-mmc sdc0: smc 0 p0 err, cmd 52, RTO !!
[    0.568546] usb_serial_number:20080411
[    0.568799] z6s-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    0.569574] android_usb gadget: android_usb ready
[    0.570895] zkswe_init ok!
[    0.571031] z6s-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    0.571328] Warning: unable to open an initial console.
[    0.572057] z6s-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    0.579940] Freeing unused kernel memory: 2232K (c0281000 - c04af000)
[    0.580886] z6s-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    0.610425] init: could not import file '/init.zkswe-z6x.rc' from '/etc/init.rc'
[    0.627928] mmc0: host does not support reading read-only switch. assuming write-enable.
[    0.630213] mmc0: new high speed SD card at address 2169
[    0.631027] mmcblk0: mmc0:2169 APPSD 1.85 GiB
[    0.632957]  mmcblk0: p1
[    0.848113] jffs2: notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    0.900192] android_usb: already disabled
[    0.909513] adb_open
[    0.909561] adb_bind_config
[    0.985494] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    6.492076] android_work: sent uevent USB_STATE=CONNECTED
[    6.538269] android_usb gadget: high-speed config #1: android
[    6.538666] android_work: sent uevent USB_STATE=CONFIGURED
[    9.477124] adbd (50): /proc/50/oom_adj is deprecated, please use /proc/50/oom_score_adj instead.
zkswe@flythings:/ #

离线

#22 2018-12-24 10:56:07

lilo
会员
注册时间: 2017-10-15
累计积分: 214

Re: 买了两块中科世为的 HMI 屏 玩玩

楼上这个厉害了, 怎么进入 shell 的? adb shell ?

离线

#23 2018-12-24 11:00:46

smartcar
会员
注册时间: 2018-02-19
累计积分: 385

Re: 买了两块中科世为的 HMI 屏 玩玩

lilo 说:

楼上这个厉害了, 怎么进入 shell 的? adb shell ?

应该是串口终端进去的吧

离线

#24 2018-12-24 11:11:16

pineshen
会员
注册时间: 2018-12-24
累计积分: 4

Re: 买了两块中科世为的 HMI 屏 玩玩

adb shell mksh, 串口log被关闭了, 屏自带的shell不能cp, 不能cat, 用openwrt编译出来的busybox, 放在SD卡里, 可以运行

离线

#25 2018-12-24 11:13:15

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 7,826

Re: 买了两块中科世为的 HMI 屏 玩玩

pineshen 说:

adb shell mksh, 串口log被关闭了, 屏自带的shell不能cp, 不能cat, 用openwrt编译出来的busybox, 放在SD卡里, 可以运行

厉害啊,果然 adb shell mksh 能进入, 接着弄个 busybox 到 sd 卡试一试.

QQ20181224111711.png


[2018-12-24 11:32.04]  ~
[Administrator.PC-20170510YOBI] ➤ /cygdrive/d/android-sdk/platform-tools/adb.exe                                                                      shell mksh
zkswe@flythings:/ # /mnt/extsd/busybox ls /
/mnt/extsd/busybox ls /
bin     dev     init    mnt     res     sys     tmp
data    etc     lib     proc    sbin    system
zkswe@flythings:/ #

zkswe@flythings:/ #

zkswe@flythings:/ #

zkswe@flythings:/ #

zkswe@flythings:/ #

zkswe@flythings:/ #
zkswe@flythings:/ #
zkswe@flythings:/ # clear
clear
mksh: clear: not found
127|zkswe@flythings:/ # cls
cls
mksh: cls: not found
127|zkswe@flythings:/ # /mnt/extsd/busybox clear
/mnt/extsd/busybox clear
zkswe@flythings:/ # /mnt/extsd/busybox dmesg
/mnt/extsd/busybox dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.10.65 (jf@jf) (gcc version 5.2.1 (OpenWrt/Linaro GCC 5.2-2015.11-2 2016-11-07) ) #100 Fri Sep 28 03:03:53 UTC 2018
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: zkswe-z6x, model: Zkswe Z6s platform
[    0.000000] cma: CMA: reserved 8 MiB at 81800000
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat c05d5bf0, node_mem_map c05ec000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: loglevel=0 initcall_debug=0 lpj=1376256 cma=5m
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 32MB = 32MB total
[    0.000000] Memory: 18048k/18048k available, 14720k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc2800000 - 0xff000000   ( 968 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc02b9e34   (2760 kB)
[    0.000000]       .init : 0xc02ba000 - 0xc04ffd7c   (2328 kB)
[    0.000000]       .data : 0xc0500000 - 0xc05d64c8   ( 858 kB)
[    0.000000]        .bss : 0xc05d64c8 - 0xc05eb0a4   (  83 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000150] Calibrating delay loop (skipped) preset value.. 275.25 BogoMIPS (lpj=1376256)
[    0.000185] pid_max: default: 32768 minimum: 301
[    0.000576] Mount-cache hash table entries: 512
[    0.001679] CPU: Testing write buffer coherency: ok
[    0.002419] Setting up static identity map for 0xc0258cb8 - 0xc0258cf4
[    0.004863] pinctrl core: initialized pinctrl subsystem
[    0.006850] NET: Registered protocol family 16
[    0.009679] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.013229] z6s-pinctrl pio: initialized z6s driver
[    0.021214] bio: create slab <bio-0> at 0
[    0.022141] pwm module init!
[    0.025458] Advanced Linux Sound Architecture Driver Initialized.
[    0.029175] NET: Registered protocol family 2
[    0.031093] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.031155] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.031187] TCP: Hash tables configured (established 512 bind 512)
[    0.031340] TCP: reno registered
[    0.031377] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.031422] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.031933] NET: Registered protocol family 1
[    0.481252] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.481805] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.482619] msgmni has been set to 51
[    0.483551] io scheduler noop registered
[    0.483672] io scheduler cfq registered (default)
[    0.538104] uart1: ttyS1 at MMIO 0x1c25400 (irq = 102) is a Z6S
[    0.538996] uart2: ttyS2 at MMIO 0x1c25800 (irq = 103) is a Z6S
[    0.541482] spi spi0: master is unqueued, this is deprecated
[    0.542685] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.544622] 5 zkswepart partitions found on MTD device (null)
[    0.544658] Creating 5 MTD partitions on "(null)":
[    0.544692] 0x000000000000-0x000000020000 : "uboot"
[    0.546140] 0x000000020000-0x000000540000 : "boot"
[    0.547599] 0x000000540000-0x000000600000 : "data"
[    0.548894] 0x000000600000-0x000001000000 : "res"
[    0.550193] 0x000001000000-0x000001000000 : "UDISK"
[    0.550217] mtd: partition "UDISK" is out of reach -- disabled
[    0.551891] i2c /dev entries driver
[    0.553540] z6s-mmc sdc0: Failed getting OCR mask: 0
[    0.588909] logger: created 128K log 'log_main'
[    0.590265] spk gpio valid!
[    0.796851] z6s-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTR
[    0.796898] z6s-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTL
[    0.796922] z6s-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKL
[    0.796945] z6s-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKR
[    0.796970] zkswe-codec-machine sound.1: ASoC: DAPM unknown pin External Speaker
[    0.804941] zkswe-codec-machine sound.1:  z6s-codec <-> 1c23c00.cpudai0-controller mapping ok
[    0.805062] zkswe-codec-machine sound.1: ASoC: no sink widget found for MainMic Bias
[    0.805095] zkswe-codec-machine sound.1: ASoC: Failed to add route External MainMic -> direct -> MainMic Bias
[    0.805119] zkswe-codec-machine sound.1: ASoC: no source widget found for MainMic Bias
[    0.805143] zkswe-codec-machine sound.1: ASoC: Failed to add route MainMic Bias -> direct -> MIC1P
[    0.805166] zkswe-codec-machine sound.1: ASoC: no source widget found for MainMic Bias
[    0.805191] zkswe-codec-machine sound.1: ASoC: Failed to add route MainMic Bias -> direct -> MIC1N
[    0.806906] TCP: cubic registered
[    0.807001] VFP support v0.3: not present
[    0.810522] usb_serial_number:20080411
[    0.811117] android_usb gadget: android_usb ready
[    0.811261] get ctp_power is fail, -22
[    0.811279] get ctp_power_ldo_vol is fail, -22
[    0.811300] ctp_fetch_sysconfig_para: ctp_power_io is invalid.
[    0.937035] sunxi_i2c_do_xfer()945 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x5d)
[    0.937300] sunxi_i2c_do_xfer()945 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x5d)
[    0.937523] sunxi_i2c_do_xfer()945 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x5d)
[    0.937731] sunxi_i2c_do_xfer()945 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x5d)
[    0.937935] sunxi_i2c_do_xfer()945 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x5d)
[    1.056626] <<-GTP-ERROR->> GTP i2c test failed time 1.
[    1.097122] input: gt9xx as /devices/virtual/input/input0
[    1.098215] i2c-core: driver [gt9xx] using legacy suspend method
[    1.098244] i2c-core: driver [gt9xx] using legacy resume method
[    1.098443] ALSA device list:
[    1.098472]   #0: audiocodec
[    1.099720] zkswe_init ok!
[    1.100011] Warning: unable to open an initial console.
[    1.112550] Freeing unused kernel memory: 2324K (c02ba000 - c04ff000)
[    1.141891] init: could not import file '/init.zkswe-z6x.rc' from '/etc/init.rc'
[    1.380326] jffs2: notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    1.402273] android_usb: already disabled
[    1.436794] adb_open
[    1.436841] adb_bind_config
[    6.565733] android_work: sent uevent USB_STATE=CONNECTED
[    7.063498] android_usb gadget: high-speed config #1: android
[    7.063916] android_work: sent uevent USB_STATE=CONFIGURED
[   13.243532] adbd (52): /proc/52/oom_adj is deprecated, please use /proc/52/oom_score_adj instead.
zkswe@flythings:/ #

QQ20181224113439.png

离线

#26 2018-12-24 11:24:12

pineshen
会员
注册时间: 2018-12-24
累计积分: 4

Re: 买了两块中科世为的 HMI 屏 玩玩

离线

#27 2018-12-24 11:28:23

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 7,826

Re: 买了两块中科世为的 HMI 屏 玩玩

下载: https://busybox.net/downloads/busybox-1.29.3.tar.bz2

配置下面两项:

CONFIG_STATIC=y
CONFIG_CROSS_COMPILER_PREFIX="arm-linux-"

然后 make, 接着以下操作:

c:\> adb push busybox /mnt/extsd/

c:\> adb shell mksh

#chmod 777 /mnt/extsd/busybox

#/mnt/extsd/busybox ls /

#/mnt/extsd/busybox dmesg

离线

#28 2018-12-24 11:30:27

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 7,826

Re: 买了两块中科世为的 HMI 屏 玩玩

没错,是这样的.

我一般会编辑一下:

下载编译好的 @pineshen 编译的: busybox可执行程序

离线

#29 2018-12-24 11:52:06

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 7,826

Re: 买了两块中科世为的 HMI 屏 玩玩

/mnt/extsd/busybox dd if=/dev/mtd/mtd0 of=/mnt/extsd/mtd0.bin
/mnt/extsd/busybox dd if=/dev/mtd/mtd1 of=/mnt/extsd/mtd1.bin
/mnt/extsd/busybox dd if=/dev/mtd/mtd2 of=/mnt/extsd/mtd2.bin
/mnt/extsd/busybox dd if=/dev/mtd/mtd3 of=/mnt/extsd/mtd3.bin
/mnt/extsd/busybox dd if=/dev/mtd/mtd4 of=/mnt/extsd/mtd4.bin

通过上面的指令,可以把 flash 数据备份起来.

zkswe@flythings:/ # /mnt/extsd/busybox ls /mnt/extsd -l
total 18496
d---rwxr-x    2 1000     1023         32768 Jan  1  1980 SY
----rwxr-x    1 1000     1023       2103112 Dec 24  2018 busybox
----rwxr-x    1 1000     1023        131072 Jan  1 00:37 mtd0.bin
----rwxr-x    1 1000     1023       5373952 Jan  1 00:37 mtd1.bin
----rwxr-x    1 1000     1023        786432 Jan  1 00:37 mtd2.bin
----rwxr-x    1 1000     1023      10485760 Jan  1 00:38 mtd3.bin
----rwxr-x    1 1000     1023             0 Jan  1 00:38 mtd4.bin













mksh 原来躲在这里面:

zkswe@flythings:/ # /mnt/extsd/busybox ls /bin -l
/mnt/extsd/busybox ls /bin -l
total 452
-rwxr-xr-x    1 0        0            98797 Sep 26  2018 adbd
lrwxrwxrwx    1 0        0                7 Sep 28  2018 cat -> toolbox
lrwxrwxrwx    1 0        0                7 Sep 28  2018 chmod -> toolbox
lrwxrwxrwx    1 0        0                7 Sep 28  2018 chown -> toolbox
lrwxrwxrwx    1 0        0                7 Sep 28  2018 cp -> toolbox
lrwxrwxrwx    1 0        0                7 Sep 28  2018 df -> toolbox
lrwxrwxrwx    1 0        0                7 Sep 28  2018 getprop -> toolbox
lrwxrwxrwx    1 0        0                7 Sep 28  2018 insmod -> toolbox
lrwxrwxrwx    1 0        0                7 Sep 28  2018 kill -> toolbox
lrwxrwxrwx    1 0        0                7 Sep 28  2018 ln -> toolbox
-rwxr-xr-x    1 0        0            12297 Sep 26  2018 logcat
lrwxrwxrwx    1 0        0                7 Sep 28  2018 ls -> toolbox
lrwxrwxrwx    1 0        0                7 Sep 28  2018 lsmod -> toolbox
lrwxrwxrwx    1 0        0                7 Sep 28  2018 mkdir -> toolbox
-rwxr-xr-x    1 0        0           225655 Sep 26  2018 mksh
lrwxrwxrwx    1 0        0                7 Sep 28  2018 mount -> toolbox
lrwxrwxrwx    1 0        0                7 Sep 28  2018 mv -> toolbox
lrwxrwxrwx    1 0        0                7 Sep 28  2018 printenv -> toolbox
lrwxrwxrwx    1 0        0                7 Sep 28  2018 ps -> toolbox
lrwxrwxrwx    1 0        0                7 Sep 28  2018 reboot -> toolbox
lrwxrwxrwx    1 0        0                7 Sep 28  2018 renice -> toolbox
lrwxrwxrwx    1 0        0                7 Sep 28  2018 rm -> toolbox
lrwxrwxrwx    1 0        0                7 Sep 28  2018 rmdir -> toolbox
lrwxrwxrwx    1 0        0                7 Sep 28  2018 rmmod -> toolbox
lrwxrwxrwx    1 0        0                7 Sep 28  2018 setprop -> toolbox
lrwxrwxrwx    1 0        0                4 Sep 28  2018 sh -> mksh
lrwxrwxrwx    1 0        0                7 Sep 28  2018 sync -> toolbox
-rwxr-xr-x    1 0        0            53275 Sep 26  2018 toolbox
lrwxrwxrwx    1 0        0                7 Sep 28  2018 top -> toolbox
lrwxrwxrwx    1 0        0                7 Sep 28  2018 umount -> toolbox
-rwxr-xr-x    1 0        0            49206 Sep 26  2018 vold
-rwxr-xr-x    1 0        0             4095 Sep 27  2018 zkgui
lrwxrwxrwx    1 0        0                7 Sep 28  2018 zkstart -> toolbox
lrwxrwxrwx    1 0        0                7 Sep 28  2018 zkstop -> toolbox


测试电容触摸屏:

/mnt/extsd/busybox cat /dev/input/event1

离线

#30 2018-12-24 12:11:03

Jmhh247
会员
注册时间: 2018-12-21
累计积分: 139

Re: 买了两块中科世为的 HMI 屏 玩玩

晕哥的节奏真快啊,又买板子啦

请问晕哥,你在帖子 “这种 f1c100s 车载音乐播放器, 请问哪里有卖?”(新手还不会发链接)中买的板子,有计划出挖坑教程吗,想跟风学习

离线

#31 2018-12-24 12:51:06

科技植
会员
注册时间: 2018-11-05
累计积分: 34

Re: 买了两块中科世为的 HMI 屏 玩玩

感觉已经快被扒光了

离线

#32 2018-12-24 13:36:28

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 7,826

Re: 买了两块中科世为的 HMI 屏 玩玩

Jmhh247 说:

晕哥的节奏真快啊,又买板子啦

请问晕哥,你在帖子 “这种 f1c100s 车载音乐播放器, 请问哪里有卖?”(新手还不会发链接)中买的板子,有计划出挖坑教程吗,想跟风学习

https://whycan.cn/t_1918.html

那个我只是打算买来借鉴调试 CVBS 输入/输出的, 目前测试 CVBS 输入可以, 输出不行.

离线

#33 2018-12-24 14:55:18

smartcar
会员
注册时间: 2018-02-19
累计积分: 385

Re: 买了两块中科世为的 HMI 屏 玩玩

这个板子两三秒就可以进入系统看到界面,真不知道如何做到的。

离线

#34 2019-05-11 16:48:58

超级萌新
会员
注册时间: 2018-05-04
累计积分: 267

Re: 买了两块中科世为的 HMI 屏 玩玩

smartcar 说:

这个板子两三秒就可以进入系统看到界面,真不知道如何做到的。

刚刚实测4秒启动到主界面,感觉优化得好吧。

离线

#35 2019-09-16 17:05:09

hzpyl
会员
注册时间: 2019-07-10
累计积分: 79

Re: 买了两块中科世为的 HMI 屏 玩玩

mark一下,

离线

页脚