WeHack BBS
这个蚂蚁矿机的BB Black怎样能做成EHCI debug工具? - 可打印的版本

+- WeHack BBS (https://bbs.wehack.space)
+-- 版块: 计算机技术 (https://bbs.wehack.space/forum-5.html)
+--- 版块: 固件技术讨论区 (https://bbs.wehack.space/forum-8.html)
+--- 主题: 这个蚂蚁矿机的BB Black怎样能做成EHCI debug工具? (/thread-153.html)



这个蚂蚁矿机的BB Black怎样能做成EHCI debug工具? - dalao - 04-27-2020

发现咸鱼上有些蚂蚁矿机的BB Black挺便宜,买了个1.6版的,怎样能做成EHCI debug工具?

   
   

这里有人说它缺少USB外围原件,具体要再买哪些原件? 然后又该怎样刷它?

https://whycan.cn/t_2643.html


RE: 这个蚂蚁矿机的BB Black怎样能做成EHCI debug工具? - vimacs - 04-27-2020

我手上有个不知道什么版本的BBB,对比了一下。第二张图左上角那个焊盘那里应该是有个USB OTG口的,EHCI debug 用的是那个口。此外BBB有个独立的供电口,是焊在第二张图右上角C2那个位置的。

对比一下你给的帖子的那张图也能看到。
元件这东西我不是很熟,应该不难买。


RE: 这个蚂蚁矿机的BB Black怎样能做成EHCI debug工具? - dalao - 05-15-2020

这两天有点时间准备折腾下这个,看这个帖子 http://bbs.eeworld.com.cn/thread-1072298-1-1.html 说检测到sd卡就会从sd卡启动,但我这个好像检测到了但还是不从sd卡启动。

这个是矿机原系统登录网页界面的log

```
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.8.13 (xxl@armdev01) (gcc version 4.7.4 20130626 (prerelease) (Linaro GCC 4.7-2013.07) ) #22 SMP Tue Dec 2 15:26:11 CST 2014
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x BeagleBone
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 65280
[ 0.000000] free_area_init_node: node 0, pgdat c06cb100, node_mem_map c0726000
[ 0.000000] Normal zone: 512 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 64768 pages, LIFO batch:15
[ 0.000000] AM335X ES1.0 (neon )
[ 0.000000] PERCPU: Embedded 8 pages/cpu @c0934000 s9408 r8192 d15168 u32768
[ 0.000000] pcpu-alloc: s9408 r8192 d15168 u32768 alloc=8*4096
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64768
[ 0.000000] Kernel command line: console=ttyO0,115200n8 init=/sbin/init
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] __ex_table already sorted, skipping sort
[ 0.000000] allocated 524288 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] Memory: 255MB = 255MB total
[ 0.000000] Memory: 236120k/236120k available, 26024k 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 : 0xd0800000 - 0xff000000 ( 744 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf800000 - 0xbfe00000 ( 6 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0612cf0 (6188 kB)
[ 0.000000] .init : 0xc0613000 - 0xc06554c0 ( 266 kB)
[ 0.000000] .data : 0xc0656000 - 0xc06cc020 ( 473 kB)
[ 0.000000] .bss : 0xc06cc020 - 0xc0725e3c ( 360 kB)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] Total of 128 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: GPTIMER1 at 24000000 Hz
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000000] OMAP clocksource: GPTIMER2 at 24000000 Hz
[ 0.000000] Console: colour dummy device 80x30
[ 0.000358] Calibrating delay loop... 545.07 BogoMIPS (lpj=531968)
[ 0.015409] pid_max: default: 32768 minimum: 301
[ 0.015640] Security Framework initialized
[ 0.015735] Mount-cache hash table entries: 512
[ 0.025668] Initializing cgroup subsys cpuacct
[ 0.025700] Initializing cgroup subsys memory
[ 0.025763] Initializing cgroup subsys blkio
[ 0.025906] CPU: Testing write buffer coherency: ok
[ 0.026444] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.026519] Setting up static identity map for 0x8038c820 - 0x8038c86c
[ 0.027909] Brought up 1 CPUs
[ 0.027933] SMP: Total of 1 processors activated (545.07 BogoMIPS).
[ 0.029237] devtmpfs: initialized
[ 0.093777] pinctrl core: initialized pinctrl subsystem
[ 0.093992] rstctl core: initialized rstctl subsystem
[ 0.094487] regulator-dummy: no parameters
[ 0.095000] NET: Registered protocol family 16
[ 0.095764] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.105551] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.106317] platform 49000000.edma: alias fck already exists
[ 0.106350] platform 49000000.edma: alias fck already exists
[ 0.106378] platform 49000000.edma: alias fck already exists
[ 0.107591] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
[ 0.107775] OMAP GPIO hardware version 0.1
[ 0.109113] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
[ 0.110440] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
[ 0.111904] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
[ 0.112444] of_get_named_gpio_flags exited with status 52
[ 0.112476] gpio-rctrl rstctl.3: loaded OK
[ 0.117284] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[ 0.120553] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.122769] cpsw.0: No hwaddr in dt. Using 84:eb:18:ef:c7:a8 from efuse
[ 0.122850] cpsw.1: No hwaddr in dt. Using 84:eb:18:ef:c7:aa from efuse
[ 0.138308] bio: create slab <bio-0> at 0
[ 0.150506] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[ 0.150740] of_get_named_gpio_flags: can't parse gpios property
[ 0.150955] vmmcsd_fixed: 3300 mV
[ 0.154017] SCSI subsystem initialized
[ 0.154506] usbcore: registered new interface driver usbfs
[ 0.154640] usbcore: registered new interface driver hub
[ 0.154910] usbcore: registered new device driver usb
[ 0.156976] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 0.158501] input: tps65217_pwr_but as /devices/ocp.2/44e0b000.i2c/i2c-0/0-0024/input/input0
[ 0.160745] DCDC1: at 1500 mV
[ 0.161965] vdd_mpu: 925 <--> 1325 mV at 1100 mV
[ 0.163095] vdd_core: 925 <--> 1150 mV at 1100 mV
[ 0.164211] LDO1: at 1800 mV
[ 0.165285] LDO2: at 3300 mV
[ 0.167276] LDO3: 1800 mV
[ 0.168439] LDO4: at 3300 mV
[ 0.169426] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 0.170150] omap_i2c 44e0b000.i2c: unable to select pin group
[ 0.170865] omap_i2c 4819c000.i2c: bus 1 rev0.11 at 100 kHz
[ 0.173218] omap_i2c 4819c000.i2c: unable to select pin group
[ 0.173457] media: Linux media interface: v0.10
[ 0.173561] Linux video capture interface: v2.00
[ 0.173760] pps_core: LinuxPPS API ver. 1 registered
[ 0.173777] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.174502] Advanced Linux Sound Architecture Driver Initialized.
[ 0.175714] Switching to clocksource gp_timer
[ 0.193981] NET: Registered protocol family 2
[ 0.194984] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.195074] TCP bind hash table entries: 2048 (order: 3, 40960 bytes)
[ 0.195165] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.195259] TCP: reno registered
[ 0.195286] UDP hash table entries: 256 (order: 1, 12288 bytes)
[ 0.195406] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
[ 0.195825] NET: Registered protocol family 1
[ 0.196396] RPC: Registered named UNIX socket transport module.
[ 0.196416] RPC: Registered udp transport module.
[ 0.196430] RPC: Registered tcp transport module.
[ 0.196444] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.196818] Trying to unpack rootfs image as initramfs...
[ 2.123744] Freeing initrd memory: 14788K
[ 2.124414] CPU PMU: probing PMU on CPU 0
[ 2.124445] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[ 2.124972] omap2_mbox_probe: platform not supported
[ 2.128850] VFS: Disk quotas dquot_6.5.2
[ 2.129176] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 2.130486] NFS: Registering the id_resolver key type
[ 2.130581] Key type id_resolver registered
[ 2.130598] Key type id_legacy registered
[ 2.130665] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 2.131189] msgmni has been set to 490
[ 2.133967] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 2.133993] io scheduler noop registered
[ 2.134009] io scheduler deadline registered
[ 2.134061] io scheduler cfq registered (default)
[ 2.135868] tps65217-bl tps65217-bl: no platform data provided
[ 2.135907] tps65217-bl: probe of tps65217-bl failed with error -22
[ 2.136958] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 2.139594] omap_uart 44e09000.serial: did not get pins for uart0 error: -19
[ 2.139887] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88) is a OMAP UART0
[ 2.856989] console [ttyO0] enabled
[ 2.861867] [drm] Initialized drm 1.1.0 20060810
[ 2.880515] brd: module loaded
[ 2.890829] loop: module loaded
[ 2.894282] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 2.901568] at24 1-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 2.908842] at24 1-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 2.916113] at24 1-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 2.923382] at24 1-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 2.960991] bone-capemgr bone_capemgr.8: bone: scan failed (1 time)
[ 3.500057] bone-capemgr bone_capemgr.8: bone: scan failed (2 time)
[ 4.039111] bone-capemgr bone_capemgr.8: bone: scan failed (3 time)
[ 4.578174] bone-capemgr bone_capemgr.8: bone: scan failed (4 time)
[ 5.117236] bone-capemgr bone_capemgr.8: bone: scan failed (5 time)
[ 5.656299] bone-capemgr bone_capemgr.8: bone: scan failed (6 time)
[ 6.195365] bone-capemgr bone_capemgr.8: bone: scan failed (7 time)
[ 6.734423] bone-capemgr bone_capemgr.8: bone: scan failed (8 time)
[ 7.273486] bone-capemgr bone_capemgr.8: bone: scan failed (9 time)
[ 7.812549] bone-capemgr bone_capemgr.8: bone: scan failed (10 time)
[ 8.320533] bone-capemgr bone_capemgr.8: Failed to scan baseboard eeprom
[ 8.327604] bone-capemgr: probe of bone_capemgr.8 failed with error -110
[ 8.337133] nand_get_flash_type: 2c,da against 2c,da
[ 8.342659] ONFI param page 0 valid
[ 8.346331] ONFI flash detected
[ 8.349650] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP), 256MiB, page size: 2048, OOB size: 64
[ 8.361562] omap2-nand: detected x8 NAND flash
[ 8.366227] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
[ 8.371829] omap2-nand: using custom ecc layout
[ 8.376667] 10 ofpart partitions found on MTD device omap2-nand.0
[ 8.383060] Creating 10 MTD partitions on "omap2-nand.0":
[ 8.388732] 0x000000000000-0x000000020000 : "spl"
[ 8.395614] 0x000000020000-0x000000040000 : "spl_backup1"
[ 8.403063] 0x000000040000-0x000000060000 : "spl_backup2"
[ 8.410481] 0x000000060000-0x000000080000 : "spl_backup3"
[ 8.417755] 0x000000080000-0x000000240000 : "u-boot"
[ 8.426010] 0x000000240000-0x000000260000 : "bootenv"
[ 8.432981] 0x000000260000-0x000000280000 : "fdt"
[ 8.439609] 0x000000280000-0x000000780000 : "kernel"
[ 8.450633] 0x000000800000-0x000001c00000 : "root"
[ 8.474052] 0x000001c00000-0x000003000000 : "config"
[ 8.497835] OneNAND driver initializing
[ 8.505305] edma-dma-engine edma-dma-engine.0: allocated channel for 0:17
[ 8.512596] edma-dma-engine edma-dma-engine.0: allocated channel for 0:16
[ 8.522875] edma-dma-engine edma-dma-engine.0: allocated channel for 0:43
[ 8.530162] edma-dma-engine edma-dma-engine.0: allocated channel for 0:42
[ 8.539417] usbcore: registered new interface driver asix
[ 8.545261] usbcore: registered new interface driver cdc_ether
[ 8.551543] usbcore: registered new interface driver smsc95xx
[ 8.557666] usbcore: registered new interface driver net1080
[ 8.563691] usbcore: registered new interface driver cdc_subset
[ 8.570001] usbcore: registered new interface driver zaurus
[ 8.575987] usbcore: registered new interface driver cdc_ncm
[ 8.582735] usbcore: registered new interface driver cdc_acm
[ 8.588696] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 8.597075] Initializing USB Mass Storage driver...
[ 8.602302] usbcore: registered new interface driver usb-storage
[ 8.608603] USB Mass Storage support registered.
[ 8.613630] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 8.620291] musb-hdrc musb-hdrc.0.auto: pdev->id = 0
[ 8.625531] musb-hdrc musb-hdrc.0.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK
[ 8.634296] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 8.634318] musb-hdrc: MHDRC RTL version 2.0
[ 8.634333] musb-hdrc: setup fifo_mode 4
[ 8.634361] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 8.634511] musb-hdrc musb-hdrc.0.auto: *** mode=3
[ 8.639553] musb-hdrc musb-hdrc.0.auto: *** power=250
[ 8.645495] musb-hdrc musb-hdrc.1.auto: pdev->id = 1
[ 8.650741] musb-hdrc musb-hdrc.1.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK
[ 8.659504] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 8.659525] musb-hdrc: MHDRC RTL version 2.0
[ 8.659539] musb-hdrc: setup fifo_mode 4
[ 8.659561] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 8.659682] musb-hdrc musb-hdrc.1.auto: *** mode=1
[ 8.664723] musb-hdrc musb-hdrc.1.auto: *** power=250
[ 8.670030] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 8.676435] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[ 8.684670] musb-hdrc musb-hdrc.1.auto: supports USB remote wakeup
[ 8.684783] usb usb1: default language 0x0409
[ 8.684841] usb usb1: udev 1, busnum 1, minor = 0
[ 8.684865] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 8.691993] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 8.699564] usb usb1: Product: MUSB HDRC host driver
[ 8.704777] usb usb1: Manufacturer: Linux 3.8.13 musb-hcd
[ 8.710445] usb usb1: SerialNumber: musb-hdrc.1.auto
[ 8.716331] usb usb1: usb_probe_device
[ 8.716360] usb usb1: configuration #1 chosen from 1 choice
[ 8.716426] usb usb1: adding 1-0:1.0 (config #1, interface 0)
[ 8.716634] hub 1-0:1.0: usb_probe_interface
[ 8.716656] hub 1-0:1.0: usb_probe_interface - got id
[ 8.716683] hub 1-0:1.0: USB hub found
[ 8.720773] hub 1-0:1.0: 1 port detected
[ 8.724911] hub 1-0:1.0: standalone hub
[ 8.724932] hub 1-0:1.0: individual port power switching
[ 8.724950] hub 1-0:1.0: no over-current protection
[ 8.724967] hub 1-0:1.0: Single TT
[ 8.724988] hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)
[ 8.725008] hub 1-0:1.0: power on to power good time: 10ms
[ 8.725051] hub 1-0:1.0: local power source is good
[ 8.725155] hub 1-0:1.0: enabling power on all ports
[ 8.726205] mousedev: PS/2 mouse device common for all mice
[ 8.734565] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[ 8.742353] i2c /dev entries driver
[ 8.747763] pps_ldisc: PPS line discipline registered
[ 8.753244] Driver for 1-wire Dallas network protocol.
[ 8.760448] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 8.768020] cpuidle: using governor ladder
[ 8.772342] cpuidle: using governor menu
[ 8.776877] of_get_named_gpio_flags exited with status 6
[ 8.776897] of_get_named_gpio_flags: can't parse gpios property
[ 8.776913] of_get_named_gpio_flags: can't parse gpios property
[ 8.776950] omap_hsmmc mmc.4: of_parse_phandle_with_args of 'reset' failed
[ 8.784183] omap_hsmmc mmc.4: Failed to get rstctl; not using any
[ 8.790963] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
[ 8.798174] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
[ 8.805513] mmc.4 supply vmmc_aux not found, using dummy regulator
[ 8.812456] omap_hsmmc mmc.4: pins are not configured from the driver
[ 8.826346] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000
[ 8.846388] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.7
[ 8.858112] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.7) status -22
[ 8.865412] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
[ 8.874392] leds-gpio gpio-leds.7: pins are not configured from the driver
[ 8.881659] of_get_named_gpio_flags exited with status 53
[ 8.881683] of_get_named_gpio_flags exited with status 54
[ 8.881705] of_get_named_gpio_flags exited with status 55
[ 8.881726] of_get_named_gpio_flags exited with status 56
[ 8.881790] of_get_named_gpio_flags exited with status 53
[ 8.882084] of_get_named_gpio_flags exited with status 54
[ 8.882303] of_get_named_gpio_flags exited with status 55
[ 8.882493] of_get_named_gpio_flags exited with status 56
[ 8.883103] ledtrig-cpu: registered to indicate activity on CPUs
[ 8.889899] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36
[ 8.897141] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 8.905600] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 8.911913] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5
[ 8.919159] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6
[ 8.931517] usbcore: registered new interface driver usbhid
[ 8.937423] usbhid: USB HID core driver
[ 8.944725] TCP: cubic registered
[ 8.948285] Initializing XFRM netlink socket
[ 8.952839] NET: Registered protocol family 17
[ 8.957672] NET: Registered protocol family 15
[ 8.962551] Key type dns_resolver registered
[ 8.967213] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 8.975362] ThumbEE CPU extension supported.
[ 8.979920] Registering SWP/SWPB emulation handler
[ 8.986017] registered taskstats version 1
[ 9.009421] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 9.019889] mmc0: new high speed SDHC card at address 59b4
[ 9.026354] mmcblk0: mmc0:59b4 00000 7.34 GiB
[ 9.033357] mmcblk0: p1
[ 9.043022] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 9.049429] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[ 9.063792] libphy: 4a101000.mdio: probed
[ 9.068091] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[ 9.077965] Detected MACID = 84:eb:18:ef:c7:a8
[ 9.082658] cpsw 4a100000.ethernet: NAPI disabled
[ 9.089352] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 9.105720] ALSA device list:
[ 9.108862] No soundcards found.
[ 9.113054] Freeing init memory: 264K
[ 9.116974] Failed to execute /init
[ 9.379251] compile May 11 2016--14:50:30
[ 9.383514] CM_PER_SPI1_CLKCTRL 0x10002
[ 9.387550] spi_vaddr 0xfa1a0000
[ 9.390926] version 0x40300a0b
[ 9.394124] OMAP2_MCSPI_SYSSTATUS 0x1
[ 9.397957] OMAP2_MCSPI_MODULCTRL 0x1
[ 9.401798] OMAP2_MCSPI_CHCONF0 0x180103c5
[ 9.406318] Initial OMAP2_MCSPI_IRQSTATUS{0x0}OMAP2_MCSPI_IRQENABLE{0x0}
[ 9.413481] hash ok
[ 9.415705] hashtest OK
[ 9.422249] bitmain-asic: success to register device
[ 9.437692] Detect hardware version = 7
[ 9.441756] fix hardware version
[ 9.445144] hardware_version = 0x7
[ 9.449016] bitmain_asic_open ok
[ 9.452842] FPGA don't responed config{0x8000d484}
[ 9.459217] stop send work to all chain
[ 9.463268] Sending open core work
[ 9.466836] Send new block cmd
[ 9.570338] Division by zero in kernel.
[ 9.574400] [<c001051d>] (unwind_backtrace+0x1/0x8c) from [<c0193c53>] (Ldiv0+0x9/0x12)
[ 9.582816] [<c0193c53>] (Ldiv0+0x9/0x12) from [<bf805807>] (nonce_query+0x4e/0x1c8 [bitmain_spi])
[ 9.592216] [<bf805807>] (nonce_query+0x4e/0x1c8 [bitmain_spi]) from [<bf801855>] (bitmain_asic_close+0x68/0x108 [bitmain_spi])
[ 9.604235] [<bf801855>] (bitmain_asic_close+0x68/0x108 [bitmain_spi]) from [<c0094f27>] (__fput+0x9b/0x154)
[ 9.614509] [<c0094f27>] (__fput+0x9b/0x154) from [<c003b13d>] (task_work_run+0x79/0x8c)
[ 9.622986] [<c003b13d>] (task_work_run+0x79/0x8c) from [<c000eb75>] (do_work_pending+0x51/0x5c)
[ 9.632176] [<c000eb75>] (do_work_pending+0x51/0x5c) from [<c000c693>] (work_pending+0x9/0x1a)
[ 9.641178] timeout {0x189b}
[ 9.644194] rev timeout {0x9b180080}
[ 9.648006] FPGA return data error
[ 9.651575] set_baud cmd_buf[0]{0x86}cmd_buf[1]{0x10}cmd_buf[2]{0x1a}cmd_buf[3]{0x17}
[ 9.783226] bitmain_asic_close
[ 9.803576] bitmain-asic: success to unregister device
[ 10.825141] compile May 11 2016--14:50:30
[ 10.829431] CM_PER_SPI1_CLKCTRL 0x2
[ 10.833107] spi_vaddr 0xfa1a0000
[ 10.836495] version 0x40300a0b
[ 10.839692] OMAP2_MCSPI_SYSSTATUS 0x1
[ 10.843523] OMAP2_MCSPI_MODULCTRL 0x1
[ 10.847359] OMAP2_MCSPI_CHCONF0 0x180103c5
[ 10.851693] Initial OMAP2_MCSPI_IRQSTATUS{0x0}OMAP2_MCSPI_IRQENABLE{0x0}
[ 10.858825] hash ok
[ 10.861050] hashtest OK
[ 10.863843] bitmain-asic: success to register device
[ 10.873435] Detect hardware version = 7
[ 10.877522] fix hardware version
[ 10.880903] hardware_version = 0x7
[ 10.884739] bitmain_asic_open ok
[ 10.888556] FPGA don't responed config{0x8000d484}
[ 10.894936] stop send work to all chain
[ 10.898978] Sending open core work
[ 10.902541] Send new block cmd
[ 11.005909] Division by zero in kernel.
[ 11.009969] [<c001051d>] (unwind_backtrace+0x1/0x8c) from [<c0193c53>] (Ldiv0+0x9/0x12)
[ 11.018391] [<c0193c53>] (Ldiv0+0x9/0x12) from [<bf81f807>] (nonce_query+0x4e/0x1c8 [bitmain_spi])
[ 11.027786] [<bf81f807>] (nonce_query+0x4e/0x1c8 [bitmain_spi]) from [<bf81b855>] (bitmain_asic_close+0x68/0x108 [bitmain_spi])
[ 11.039788] [<bf81b855>] (bitmain_asic_close+0x68/0x108 [bitmain_spi]) from [<c0094f27>] (__fput+0x9b/0x154)
[ 11.050072] [<c0094f27>] (__fput+0x9b/0x154) from [<c003b13d>] (task_work_run+0x79/0x8c)
[ 11.058550] [<c003b13d>] (task_work_run+0x79/0x8c) from [<c000eb75>] (do_work_pending+0x51/0x5c)
[ 11.067748] [<c000eb75>] (do_work_pending+0x51/0x5c) from [<c000c693>] (work_pending+0x9/0x1a)
[ 11.076749] timeout {0x189b}
[ 11.079765] rev timeout {0x9b180080}
[ 11.083788] FPGA return data error
[ 11.087372] set_baud cmd_buf[0]{0x86}cmd_buf[1]{0x10}cmd_buf[2]{0x1a}cmd_buf[3]{0x17}
[ 11.218773] bitmain_asic_close
[ 11.238923] bitmain-asic: success to unregister device
[ 12.260522] compile May 11 2016--14:50:30
[ 12.264806] CM_PER_SPI1_CLKCTRL 0x2
[ 12.268478] spi_vaddr 0xfa1a0000
[ 12.271854] version 0x40300a0b
[ 12.275048] OMAP2_MCSPI_SYSSTATUS 0x1
[ 12.278879] OMAP2_MCSPI_MODULCTRL 0x1
[ 12.282714] OMAP2_MCSPI_CHCONF0 0x180103c5
[ 12.287047] Initial OMAP2_MCSPI_IRQSTATUS{0x0}OMAP2_MCSPI_IRQENABLE{0x0}
[ 12.294176] hash ok
[ 12.296402] hashtest OK
[ 12.299193] bitmain-asic: success to register device
[ 12.308791] Detect hardware version = 7
[ 12.312868] fix hardware version
[ 12.316253] hardware_version = 0x7
[ 12.320091] bitmain_asic_open ok
[ 12.323912] FPGA don't responed config{0x8000d484}
[ 12.330299] stop send work to all chain
[ 12.334345] Sending open core work
[ 12.337910] Send new block cmd
[ 12.441434] Division by zero in kernel.
[ 12.445491] [<c001051d>] (unwind_backtrace+0x1/0x8c) from [<c0193c53>] (Ldiv0+0x9/0x12)
[ 12.453904] [<c0193c53>] (Ldiv0+0x9/0x12) from [<bf839807>] (nonce_query+0x4e/0x1c8 [bitmain_spi])
[ 12.463295] [<bf839807>] (nonce_query+0x4e/0x1c8 [bitmain_spi]) from [<bf835855>] (bitmain_asic_close+0x68/0x108 [bitmain_spi])
[ 12.475304] [<bf835855>] (bitmain_asic_close+0x68/0x108 [bitmain_spi]) from [<c0094f27>] (__fput+0x9b/0x154)
[ 12.485594] [<c0094f27>] (__fput+0x9b/0x154) from [<c003b13d>] (task_work_run+0x79/0x8c)
[ 12.494074] [<c003b13d>] (task_work_run+0x79/0x8c) from [<c000eb75>] (do_work_pending+0x51/0x5c)
[ 12.503271] [<c000eb75>] (do_work_pending+0x51/0x5c) from [<c000c693>] (work_pending+0x9/0x1a)
[ 12.512282] timeout {0x189b}
[ 12.515299] rev timeout {0x9b180080}
[ 12.519110] FPGA return data error
[ 12.522677] set_baud cmd_buf[0]{0x86}cmd_buf[1]{0x10}cmd_buf[2]{0x1a}cmd_buf[3]{0x17}
[ 12.654318] bitmain_asic_close
[ 12.674488] bitmain-asic: success to unregister device
[ 13.696113] compile May 11 2016--14:50:30
[ 13.700406] CM_PER_SPI1_CLKCTRL 0x2
[ 13.704078] spi_vaddr 0xfa1a0000
[ 13.707459] version 0x40300a0b
[ 13.710650] OMAP2_MCSPI_SYSSTATUS 0x1
[ 13.714477] OMAP2_MCSPI_MODULCTRL 0x1
[ 13.718308] OMAP2_MCSPI_CHCONF0 0x180103c5
[ 13.722646] Initial OMAP2_MCSPI_IRQSTATUS{0x0}OMAP2_MCSPI_IRQENABLE{0x0}
[ 13.729765] hash ok
[ 13.731996] hashtest OK
[ 13.734785] bitmain-asic: success to register device
[ 13.744409] Detect hardware version = 7
[ 13.748491] fix hardware version
[ 13.751877] hardware_version = 0x7
[ 13.755721] bitmain_asic_open ok
[ 13.759539] FPGA don't responed config{0x8000d484}
[ 13.765912] stop send work to all chain
[ 13.769959] Sending open core work
[ 13.773515] Send new block cmd
[ 13.876976] Division by zero in kernel.
[ 13.881033] [<c001051d>] (unwind_backtrace+0x1/0x8c) from [<c0193c53>] (Ldiv0+0x9/0x12)
[ 13.889450] [<c0193c53>] (Ldiv0+0x9/0x12) from [<bf853807>] (nonce_query+0x4e/0x1c8 [bitmain_spi])
[ 13.898843] [<bf853807>] (nonce_query+0x4e/0x1c8 [bitmain_spi]) from [<bf84f855>] (bitmain_asic_close+0x68/0x108 [bitmain_spi])
[ 13.910862] [<bf84f855>] (bitmain_asic_close+0x68/0x108 [bitmain_spi]) from [<c0094f27>] (__fput+0x9b/0x154)
[ 13.921146] [<c0094f27>] (__fput+0x9b/0x154) from [<c003b13d>] (task_work_run+0x79/0x8c)
[ 13.929622] [<c003b13d>] (task_work_run+0x79/0x8c) from [<c000eb75>] (do_work_pending+0x51/0x5c)
[ 13.938805] [<c000eb75>] (do_work_pending+0x51/0x5c) from [<c000c693>] (work_pending+0x9/0x1a)
[ 13.947802] timeout {0x189b}
[ 13.950819] rev timeout {0x9b180080}
[ 13.954623] FPGA return data error
[ 13.958195] set_baud cmd_buf[0]{0x86}cmd_buf[1]{0x10}cmd_buf[2]{0x1a}cmd_buf[3]{0x17}
[ 14.089866] bitmain_asic_close
[ 14.110037] bitmain-asic: success to unregister device
[ 15.131582] compile May 11 2016--14:50:30
[ 15.135871] CM_PER_SPI1_CLKCTRL 0x2
[ 15.139541] spi_vaddr 0xfa1a0000
[ 15.142918] version 0x40300a0b
[ 15.146115] OMAP2_MCSPI_SYSSTATUS 0x1
[ 15.149945] OMAP2_MCSPI_MODULCTRL 0x1
[ 15.153779] OMAP2_MCSPI_CHCONF0 0x180103c5
[ 15.158112] Initial OMAP2_MCSPI_IRQSTATUS{0x0}OMAP2_MCSPI_IRQENABLE{0x0}
[ 15.165252] hash ok
[ 15.167482] hashtest OK
[ 15.170272] bitmain-asic: success to register device
[ 15.179890] Detect hardware version = 7
[ 15.183964] fix hardware version
[ 15.187350] hardware_version = 0x7
[ 15.191189] bitmain_asic_open ok
[ 15.195008] FPGA don't responed config{0x8000d484}
[ 15.201383] stop send work to all chain
[ 15.205428] Sending open core work
[ 15.208993] Send new block cmd
[ 15.312526] Division by zero in kernel.
[ 15.316583] [<c001051d>] (unwind_backtrace+0x1/0x8c) from [<c0193c53>] (Ldiv0+0x9/0x12)
[ 15.324997] [<c0193c53>] (Ldiv0+0x9/0x12) from [<bf86d807>] (nonce_query+0x4e/0x1c8 [bitmain_spi])
[ 15.334399] [<bf86d807>] (nonce_query+0x4e/0x1c8 [bitmain_spi]) from [<bf869855>] (bitmain_asic_close+0x68/0x108 [bitmain_spi])
[ 15.346418] [<bf869855>] (bitmain_asic_close+0x68/0x108 [bitmain_spi]) from [<c0094f27>] (__fput+0x9b/0x154)
[ 15.356700] [<c0094f27>] (__fput+0x9b/0x154) from [<c003b13d>] (task_work_run+0x79/0x8c)
[ 15.365173] [<c003b13d>] (task_work_run+0x79/0x8c) from [<c000eb75>] (do_work_pending+0x51/0x5c)
[ 15.374366] [<c000eb75>] (do_work_pending+0x51/0x5c) from [<c000c693>] (work_pending+0x9/0x1a)
[ 15.383360] timeout {0x189b}
[ 15.386372] rev timeout {0x9b180080}
[ 15.390183] FPGA return data error
[ 15.393749] set_baud cmd_buf[0]{0x86}cmd_buf[1]{0x10}cmd_buf[2]{0x1a}cmd_buf[3]{0x17}
[ 15.525414] bitmain_asic_close
[ 15.545565] bitmain-asic: success to unregister device
[ 16.567147] compile May 11 2016--14:50:30
[ 16.571439] CM_PER_SPI1_CLKCTRL 0x2
[ 16.575108] spi_vaddr 0xfa1a0000
[ 16.578485] version 0x40300a0b
[ 16.581681] OMAP2_MCSPI_SYSSTATUS 0x1
[ 16.585513] OMAP2_MCSPI_MODULCTRL 0x1
[ 16.589343] OMAP2_MCSPI_CHCONF0 0x180103c5
[ 16.593682] Initial OMAP2_MCSPI_IRQSTATUS{0x0}OMAP2_MCSPI_IRQENABLE{0x0}
[ 16.600819] hash ok
[ 16.603045] hashtest OK
[ 16.605840] bitmain-asic: success to register device
[ 16.615462] Detect hardware version = 7
[ 16.619541] fix hardware version
[ 16.622928] hardware_version = 0x7
[ 16.626761] bitmain_asic_open ok
[ 16.630580] FPGA don't responed config{0x8000d484}
[ 16.636962] stop send work to all chain
[ 16.641011] Sending open core work
[ 16.644571] Send new block cmd
[ 16.748073] Division by zero in kernel.
[ 16.752125] [<c001051d>] (unwind_backtrace+0x1/0x8c) from [<c0193c53>] (Ldiv0+0x9/0x12)
[ 16.760538] [<c0193c53>] (Ldiv0+0x9/0x12) from [<bf887807>] (nonce_query+0x4e/0x1c8 [bitmain_spi])
[ 16.769934] [<bf887807>] (nonce_query+0x4e/0x1c8 [bitmain_spi]) from [<bf883855>] (bitmain_asic_close+0x68/0x108 [bitmain_spi])
[ 16.781944] [<bf883855>] (bitmain_asic_close+0x68/0x108 [bitmain_spi]) from [<c0094f27>] (__fput+0x9b/0x154)
[ 16.792228] [<c0094f27>] (__fput+0x9b/0x154) from [<c003b13d>] (task_work_run+0x79/0x8c)
[ 16.800697] [<c003b13d>] (task_work_run+0x79/0x8c) from [<c000eb75>] (do_work_pending+0x51/0x5c)
[ 16.809883] [<c000eb75>] (do_work_pending+0x51/0x5c) from [<c000c693>] (work_pending+0x9/0x1a)
[ 16.818880] timeout {0x189b}
[ 16.821897] rev timeout {0x9b180080}
[ 16.825701] FPGA return data error
[ 16.829271] set_baud cmd_buf[0]{0x86}cmd_buf[1]{0x10}cmd_buf[2]{0x1a}cmd_buf[3]{0x17}
[ 16.960959] bitmain_asic_close
[ 17.331666] jffs2: Empty flash at 0x00a218fc ends at 0x00a22000
[ 17.549821] jffs2: notice: (195) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 18.365812] net eth0: initializing cpsw version 1.12 (0)
[ 18.373594] net eth0: phy found : id is : 0x7c0f1
[ 18.378583] libphy: PHY 4a101000.mdio:01 not found
[ 18.383611] net eth0: phy 4a101000.mdio:01 not found on slave 1
[ 22.520089] libphy: 4a101000.mdio:00 - Link is Up - 100/Full
[ 38.865649] bitmain-asic: success to unregister device
[ 39.887611] compile May 11 2016--14:50:30
[ 39.891908] CM_PER_SPI1_CLKCTRL 0x2
[ 39.895576] spi_vaddr 0xfa1a0000
[ 39.898955] version 0x40300a0b
[ 39.902146] OMAP2_MCSPI_SYSSTATUS 0x1
[ 39.905975] OMAP2_MCSPI_MODULCTRL 0x1
[ 39.909803] OMAP2_MCSPI_CHCONF0 0x180103c5
[ 39.914137] Initial OMAP2_MCSPI_IRQSTATUS{0x0}OMAP2_MCSPI_IRQENABLE{0x0}
[ 39.921259] hash ok
[ 39.923488] hashtest OK
[ 39.926283] bitmain-asic: success to register device
[ 40.049054] Detect hardware version = 7
[ 40.053120] fix hardware version
[ 40.056503] hardware_version = 0x7
[ 40.066574] bitmain_asic_open ok
[ 40.084650] Detect device
[ 40.087469] soft ctrl rst time
[ 40.093929] reset hash asic
[ 40.096892] clear FPGA nonce buffer
[ 40.102317] FPGA return data error
[ 40.105945] FPGA don't code
[ 41.107460] soft ctrl rst time
[ 41.110755] reset hash asic
[ 41.113682] clear FPGA nonce buffer
[ 41.117393] FPGA return data error
[ 41.120954] FPGA don't code
[ 42.222713] total chain_num{0}
[ 42.225937] FPGA detect asic addr err
[ 42.225937]
[ 42.231317]
[ 42.231317]
[ 42.231317] !!!!Restart1 detect asic addr!!!
[ 42.231317]
[ 42.240434] total chain_num{0}
[ 42.243629] FPGA detect asic addr err
[ 42.243629]
[ 42.249005]
[ 42.249005]
[ 42.249005] !!!!Restart2 detect asic addr!!!
[ 42.249005]
[ 42.258110] total chain_num{0}
[ 42.261306] FPGA detect asic addr err
[ 42.261306]
[ 42.266679]
[ 42.266679]
[ 42.266679] !!!!Restart3 detect asic addr!!!
[ 42.266679]
[ 42.275780] total chain_num{0}
[ 42.278974] FPGA detect asic addr err
[ 42.278974]
[ 42.284346]
[ 42.284346]
[ 42.284346] !!!!soft set defult asic num 0!!!
[ 42.284346]
[ 42.293532] clear FPGA nonce buffer
[ 42.297254] FPGA return data error
[ 42.300817] FPGA don't code
[ 100.231620] stop send work to all chain
[ 100.334102] Division by zero in kernel.
[ 100.338180] [<c001051d>] (unwind_backtrace+0x1/0x8c) from [<c0193c53>] (Ldiv0+0x9/0x12)
[ 100.346596] [<c0193c53>] (Ldiv0+0x9/0x12) from [<bf8a1807>] (nonce_query+0x4e/0x1c8 [bitmain_spi])
[ 100.356006] [<bf8a1807>] (nonce_query+0x4e/0x1c8 [bitmain_spi]) from [<bf89d855>] (bitmain_asic_close+0x68/0x108 [bitmain_spi])
[ 100.368020] [<bf89d855>] (bitmain_asic_close+0x68/0x108 [bitmain_spi]) from [<c0094f27>] (__fput+0x9b/0x154)
[ 100.378349] [<c0094f27>] (__fput+0x9b/0x154) from [<c003b13d>] (task_work_run+0x79/0x8c)
[ 100.386827] [<c003b13d>] (task_work_run+0x79/0x8c) from [<c002ec39>] (do_exit+0x259/0x5dc)
[ 100.395488] [<c002ec39>] (do_exit+0x259/0x5dc) from [<c002f025>] (do_group_exit+0x4d/0x70)
[ 100.404133] [<c002f025>] (do_group_exit+0x4d/0x70) from [<c0035569>] (get_signal_to_deliver+0x2d9/0x31c)
[ 100.414052] [<c0035569>] (get_signal_to_deliver+0x2d9/0x31c) from [<c000e51f>] (do_signal+0x5f/0x314)
[ 100.423709] [<c000e51f>] (do_signal+0x5f/0x314) from [<c000eb57>] (do_work_pending+0x33/0x5c)
[ 100.432627] [<c000eb57>] (do_work_pending+0x33/0x5c) from [<c000c693>] (work_pending+0x9/0x1a)
[ 100.441624] timeout {0x189b}
[ 100.444638] rev timeout {0x9b180080}
[ 100.482251] FPGA return data error
[ 100.485924] bitmain_asic_close
[ 105.346245] bitmain-asic: success to unregister device
[ 106.368155] compile May 11 2016--14:50:30
[ 106.372504] CM_PER_SPI1_CLKCTRL 0x2
[ 106.376177] spi_vaddr 0xfa1a0000
[ 106.379552] version 0x40300a0b
[ 106.382747] OMAP2_MCSPI_SYSSTATUS 0x1
[ 106.386578] OMAP2_MCSPI_MODULCTRL 0x1
[ 106.390409] OMAP2_MCSPI_CHCONF0 0x180103c5
[ 106.394766] Initial OMAP2_MCSPI_IRQSTATUS{0x0}OMAP2_MCSPI_IRQENABLE{0x0}
[ 106.401882] hash ok
[ 106.404109] hashtest OK
[ 106.406902] bitmain-asic: success to register device
[ 106.479364] Detect hardware version = 7
[ 106.483437] fix hardware version
[ 106.486815] hardware_version = 0x7
[ 106.490793] bitmain_asic_open ok
[ 106.504293] Detect device
[ 106.507076] soft ctrl rst time
[ 106.510372] reset hash asic
[ 106.513310] clear FPGA nonce buffer
[ 106.517031] FPGA return data error
[ 106.520599] FPGA don't code
[ 107.523487] soft ctrl rst time
[ 107.526777] reset hash asic
[ 107.529702] clear FPGA nonce buffer
[ 107.533423] FPGA return data error
[ 107.536985] FPGA don't code
[ 108.638723] total chain_num{0}
[ 108.641946] FPGA detect asic addr err
[ 108.641946]
[ 108.647328]
[ 108.647328]
[ 108.647328] !!!!Restart1 detect asic addr!!!
[ 108.647328]
[ 108.656443] total chain_num{0}
[ 108.659638] FPGA detect asic addr err
[ 108.659638]
[ 108.665014]
[ 108.665014]
[ 108.665014] !!!!Restart2 detect asic addr!!!
[ 108.665014]
[ 108.674115] total chain_num{0}
[ 108.677310] FPGA detect asic addr err
[ 108.677310]
[ 108.682686]
[ 108.682686]
[ 108.682686] !!!!Restart3 detect asic addr!!!
[ 108.682686]
[ 108.691813] total chain_num{0}
[ 108.695015] FPGA detect asic addr err
[ 108.695015]
[ 108.700386]
[ 108.700386]
[ 108.700386] !!!!soft set defult asic num 0!!!
[ 108.700386]
[ 108.709576] clear FPGA nonce buffer
[ 108.713388] FPGA return data error
[ 108.716959] FPGA don't code
[ 170.268330] stop send work to all chain
[ 170.371125] Division by zero in kernel.
[ 170.375240] [<c001051d>] (unwind_backtrace+0x1/0x8c) from [<c0193c53>] (Ldiv0+0x9/0x12)
[ 170.383661] [<c0193c53>] (Ldiv0+0x9/0x12) from [<bf8bb807>] (nonce_query+0x4e/0x1c8 [bitmain_spi])
[ 170.393056] [<bf8bb807>] (nonce_query+0x4e/0x1c8 [bitmain_spi]) from [<bf8b7855>] (bitmain_asic_close+0x68/0x108 [bitmain_spi])
[ 170.405064] [<bf8b7855>] (bitmain_asic_close+0x68/0x108 [bitmain_spi]) from [<c0094f27>] (__fput+0x9b/0x154)
[ 170.415337] [<c0094f27>] (__fput+0x9b/0x154) from [<c003b13d>] (task_work_run+0x79/0x8c)
[ 170.423805] [<c003b13d>] (task_work_run+0x79/0x8c) from [<c002ec39>] (do_exit+0x259/0x5dc)
[ 170.432444] [<c002ec39>] (do_exit+0x259/0x5dc) from [<c002f025>] (do_group_exit+0x4d/0x70)
[ 170.441089] [<c002f025>] (do_group_exit+0x4d/0x70) from [<c0035569>] (get_signal_to_deliver+0x2d9/0x31c)
[ 170.451014] [<c0035569>] (get_signal_to_deliver+0x2d9/0x31c) from [<c000e51f>] (do_signal+0x5f/0x314)
[ 170.460650] [<c000e51f>] (do_signal+0x5f/0x314) from [<c000eb57>] (do_work_pending+0x33/0x5c)
[ 170.469564] [<c000eb57>] (do_work_pending+0x33/0x5c) from [<c000c693>] (work_pending+0x9/0x1a)
[ 170.478563] timeout {0x189b}
[ 170.481575] rev timeout {0x9b180080}
[ 170.485399] FPGA return data error
[ 170.488967] bitmain_asic_close
[ 365.357923] bitmain-asic: success to unregister device
[ 366.379871] compile May 11 2016--14:50:30
[ 366.384159] CM_PER_SPI1_CLKCTRL 0x2
[ 366.387834] spi_vaddr 0xfa1a0000
[ 366.391215] version 0x40300a0b
[ 366.394410] OMAP2_MCSPI_SYSSTATUS 0x1
[ 366.398241] OMAP2_MCSPI_MODULCTRL 0x1
[ 366.402077] OMAP2_MCSPI_CHCONF0 0x180103c5
[ 366.406422] Initial OMAP2_MCSPI_IRQSTATUS{0x0}OMAP2_MCSPI_IRQENABLE{0x0}
[ 366.413553] hash ok
[ 366.415771] hashtest OK
[ 366.418560] bitmain-asic: success to register device
[ 366.493281] Detect hardware version = 7
[ 366.497363] fix hardware version
[ 366.500750] hardware_version = 0x7
[ 366.504735] bitmain_asic_open ok
[ 366.517961] Detect device
[ 366.520750] soft ctrl rst time
[ 366.524050] reset hash asic
[ 366.526988] clear FPGA nonce buffer
[ 366.530722] FPGA return data error
[ 366.534285] FPGA don't code
[ 367.537151] soft ctrl rst time
[ 367.540441] reset hash asic
[ 367.543372] clear FPGA nonce buffer
[ 367.547087] FPGA return data error
[ 367.550643] FPGA don't code
[ 368.652396] total chain_num{0}
[ 368.655618] FPGA detect asic addr err
[ 368.655618]
[ 368.660994]
[ 368.660994]
[ 368.660994] !!!!Restart1 detect asic addr!!!
[ 368.660994]
[ 368.670104] total chain_num{0}
[ 368.673295] FPGA detect asic addr err
[ 368.673295]
[ 368.678669]
[ 368.678669]
[ 368.678669] !!!!Restart2 detect asic addr!!!
[ 368.678669]
[ 368.687802] total chain_num{0}
[ 368.691001] FPGA detect asic addr err
[ 368.691001]
[ 368.696383]
[ 368.696383]
[ 368.696383] !!!!Restart3 detect asic addr!!!
[ 368.696383]
[ 368.705490] total chain_num{0}
[ 368.708684] FPGA detect asic addr err
[ 368.708684]
[ 368.714059]
[ 368.714059]
[ 368.714059] !!!!soft set defult asic num 0!!!
[ 368.714059]
[ 368.723244] clear FPGA nonce buffer
[ 368.727063] FPGA return data error
[ 368.730632] FPGA don't code
[ 430.282139] stop send work to all chain
[ 430.384802] Division by zero in kernel.
[ 430.388873] [<c001051d>] (unwind_backtrace+0x1/0x8c) from [<c0193c53>] (Ldiv0+0x9/0x12)
[ 430.397294] [<c0193c53>] (Ldiv0+0x9/0x12) from [<bf8d5807>] (nonce_query+0x4e/0x1c8 [bitmain_spi])
[ 430.406698] [<bf8d5807>] (nonce_query+0x4e/0x1c8 [bitmain_spi]) from [<bf8d1855>] (bitmain_asic_close+0x68/0x108 [bitmain_spi])
[ 430.418719] [<bf8d1855>] (bitmain_asic_close+0x68/0x108 [bitmain_spi]) from [<c0094f27>] (__fput+0x9b/0x154)
[ 430.428998] [<c0094f27>] (__fput+0x9b/0x154) from [<c003b13d>] (task_work_run+0x79/0x8c)
[ 430.437473] [<c003b13d>] (task_work_run+0x79/0x8c) from [<c002ec39>] (do_exit+0x259/0x5dc)
[ 430.446111] [<c002ec39>] (do_exit+0x259/0x5dc) from [<c002f025>] (do_group_exit+0x4d/0x70)
[ 430.454763] [<c002f025>] (do_group_exit+0x4d/0x70) from [<c0035569>] (get_signal_to_deliver+0x2d9/0x31c)
[ 430.464687] [<c0035569>] (get_signal_to_deliver+0x2d9/0x31c) from [<c000e51f>] (do_signal+0x5f/0x314)
[ 430.474349] [<c000e51f>] (do_signal+0x5f/0x314) from [<c000eb57>] (do_work_pending+0x33/0x5c)
[ 430.483267] [<c000eb57>] (do_work_pending+0x33/0x5c) from [<c000c693>] (work_pending+0x9/0x1a)
[ 430.492274] timeout {0x189b}
[ 430.495289] rev timeout {0x9b180080}
[ 430.499590] FPGA return data error
[ 430.503219] bitmain_asic_close
```

---------------------------------
发现用那个最旧的debian7.5版才能从sd卡启动


RE: 这个蚂蚁矿机的BB Black怎样能做成EHCI debug工具? - vimacs - 05-17-2020

BBB的引导设备选择机制我也不是很清楚。
我刚刚把我手上的BBB拿出来用了一下。我用的固件是 lynxis 做的 bbb_screwdriver (https://github.com/lynxis/bbb_screwdriver_builder). 我有一份编译好的版本在 https://wehack.space/vimacs/openwrt-0.3.0-omap-beagleboneblack-sdcard-vfat-am335x_evm.img.xz


RE: 这个蚂蚁矿机的BB Black怎样能做成EHCI debug工具? - shangyatsen - 08-30-2020

(05-17-2020, 01:53 PM)vimacs 提到: BBB的引导设备选择机制我也不是很清楚。
我刚刚把我手上的BBB拿出来用了一下。我用的固件是 lynxis 做的 bbb_screwdriver (https://github.com/lynxis/bbb_screwdriver_builder). 我有一份编译好的版本在 https://wehack.space/vimacs/openwrt-0.3.0-omap-beagleboneblack-sdcard-vfat-am335x_evm.img.xz

借这个帖子问下,是不是所有支持otg的运行linux的开发板都能做成EHCI debugger。我手上有一块廉价的i.MX280A,已经吃灰多年,当年还给他跑起来了新的uboot和4.x的内核,不知道能不能做成调试器。


RE: 这个蚂蚁矿机的BB Black怎样能做成EHCI debug工具? - vimacs - 08-30-2020

(08-30-2020, 11:48 AM)shangyatsen 提到:
(05-17-2020, 01:53 PM)vimacs 提到: BBB的引导设备选择机制我也不是很清楚。
我刚刚把我手上的BBB拿出来用了一下。我用的固件是 lynxis 做的 bbb_screwdriver (https://github.com/lynxis/bbb_screwdriver_builder). 我有一份编译好的版本在 https://wehack.space/vimacs/openwrt-0.3.0-omap-beagleboneblack-sdcard-vfat-am335x_evm.img.xz

借这个帖子问下,是不是所有支持otg的运行linux的开发板都能做成EHCI debugger。我手上有一块廉价的i.MX280A,已经吃灰多年,当年还给他跑起来了新的uboot和4.x的内核,不知道能不能做成调试器。

再加个条件,OTG口需要EHCI支持。我觉得应该没问题。


RE: 这个蚂蚁矿机的BB Black怎样能做成EHCI debug工具? - shangyatsen - 08-30-2020

(08-30-2020, 01:32 PM)vimacs 提到:
(08-30-2020, 11:48 AM)shangyatsen 提到:
(05-17-2020, 01:53 PM)vimacs 提到: BBB的引导设备选择机制我也不是很清楚。
我刚刚把我手上的BBB拿出来用了一下。我用的固件是 lynxis 做的 bbb_screwdriver (https://github.com/lynxis/bbb_screwdriver_builder). 我有一份编译好的版本在 https://wehack.space/vimacs/openwrt-0.3.0-omap-beagleboneblack-sdcard-vfat-am335x_evm.img.xz

借这个帖子问下,是不是所有支持otg的运行linux的开发板都能做成EHCI debugger。我手上有一块廉价的i.MX280A,已经吃灰多年,当年还给他跑起来了新的uboot和4.x的内核,不知道能不能做成调试器。

再加个条件,OTG口需要EHCI支持。我觉得应该没问题。

发现手上的这个hp 800 g1 dm不带usb 2.0的口,看了lshw的输出,好像也确实没接到EHCI控制器上,这种情况下是不是不能使用EHCI debug了?