Title: T17e Braiins SD Firmware Update won't work
Post by: Cococarbine on October 13, 2021, 06:32:26 PM
Hi all, I tried updating to Braiins via the NAND SD loader, but now nothing works, including any network connection and factory SD firmware update. I have attached a startup log from the serial port; is there anything I can do to get the control board functional again? Thanks U-Boot SPL 2016.03-g8728fee00a (Dec 05 2020 - 17:42:30) Trying to boot from NAND
U-Boot 2016.03-gcaca2524a4 (Dec 11 2020 - 16:58:19 +0000)
Model: Antminer S17 Miner Control Board Board: Xilinx Zynq DRAM: ECC disabled 256 MiB NAND: 256 MiB MMC: sdhci@e0100000: 0 In: serial@e0000000 Out: serial@e0000000 Err: serial@e0000000 Model: Antminer S17 Miner Control Board Board: Xilinx Zynq Boot: NAND Net: ZYNQ GEM: e000b000, phyaddr 7, interface rgmii-id PHY is not detected GEM PHY init failed eth0: ethernet@e000b000 Hit any key to stop autoboot: 0 Copying FIT from NAND flash to RAM... Card did not respond to voltage select! ** Bad device mmc 0 **
NAND read: device 0 offset 0x300000, size 0x100000 1048576 bytes read: OK Uncompressed size: 2083859 = 0x1FCC13 design filename = "system_wrapper;UserID=0XFFFFFFFF;Version=2017.4_AR70455" part number = "7z007sclg225" date = "2020/12/04" time = "16:06:03" bytes in bitstream = 2083740 zynq_align_dma_buffer: Align buffer at 2100077 to 2100000(swap 1) gpio: pin 37 (gpio 37) value is 1 gpio: pin 36 (gpio 36) value is 1 gpio: pin 36 (gpio 36) value is 0 ubi0: attaching mtd1 ubi0: scanning is finished ubi0: attached mtd1 (name "mtd=7", size 95 MiB) ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 ubi0: good PEBs: 760, bad PEBs: 0, corrupted PEBs: 0 ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128 ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 17 69581814 ubi0: available PEBs: 0, total reserved PEBs: 760, PEBs reserved for bad PEB han dling: 40 Read 0 bytes from volume kernel to 2000000 No size specified -> Using max size (2920448) gpio: pin 36 (gpio 36) value is 1 ## Loading kernel from FIT Image at 02000000 ... Using 'config@1' configuration Verifying Hash Integrity ... OK Trying 'kernel@1' kernel subimage Description: ARM OpenWrt Linux-4.4.92 Type: Kernel Image Compression: uncompressed Data Start: 0x020000e4 Data Size: 2828176 Bytes = 2.7 MiB Architecture: ARM OS: Linux Load Address: 0x00008000 Entry Point: 0x00008000 Hash algo: crc32 Hash value: 883a4f29 Hash algo: sha1 Hash value: 097a2def90380b20ff7d88fb4e67ef0085c5f976 Verifying Hash Integrity ... crc32+ sha1+ OK ## Loading fdt from FIT Image at 02000000 ... Using 'config@1' configuration Trying 'fdt@1' fdt subimage Description: ARM OpenWrt am2-s17 device tree blob Type: Flat Device Tree Compression: uncompressed Data Start: 0x022b29a8 Data Size: 15638 Bytes = 15.3 KiB Architecture: ARM Hash algo: crc32 Hash value: d09638b7 Hash algo: sha1 Hash value: ca688998e39bf45f32375d43b69008e3ea246caa Verifying Hash Integrity ... crc32+ sha1+ OK Booting using the fdt blob at 0x22b29a8 Loading Kernel Image ... OK Loading Device Tree to 07ff9000, end 07fffd15 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.4.0-xilinx-g518c00cd977f-dirty (build@runner-pege gjka-project-312-concurrent-1) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3560-79f57e42 2d) ) #0 SMP PREEMPT Tue Oct 5 05:59:32 2021 [ 0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio n cache [ 0.000000] Machine model: Antminer S17 Miner Control Board [ 0.000000] cma: Reserved 16 MiB at 0x0f000000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] PERCPU: Embedded 12 pages/cpu @cedca000 s18944 r8192 d22016 u4915 2 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag es: 65024 [ 0.000000] Kernel command line: console=ttyPS0,115200 noinitrd ubi.mtd=7 ubi .block=0,1 root=/dev/ubiblock0_1 r rootfstype=squashfs rootwait mtdparts=pl35x-n and:512k(boot),2560k(uboot),2m(fpga1),2m(fpga2),512k(uboot_env),512k(miner_cfg), 22m(recovery),95m(firmware1),95m(firmware2),36m(factory) earlyprintk [ 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] Memory: 235148K/262144K available (5572K kernel code, 204K rwdata , 1844K rodata, 260K init, 221K bss, 10612K reserved, 16384K cma-reserved, 0K hi ghmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xd0800000 - 0xff800000 ( 752 MB) [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0746524 (7418 kB) [ 0.000000] .init : 0xc0747000 - 0xc0788000 ( 260 kB) [ 0.000000] .data : 0xc0788000 - 0xc07bb2a0 ( 205 kB) [ 0.000000] .bss : 0xc07bb2a0 - 0xc07f29c4 ( 222 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] slcr mapped to d0800000 [ 0.000000] L2C: platform modifies aux control register: 0x02060000 -> 0x3246 0000 [ 0.000000] L2C: DT/platform modifies aux control register: 0x02060000 -> 0x3 2460000 [ 0.000000] L2C-310 erratum 769419 enabled [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9 [ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9 [ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled [ 0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB [ 0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x46460001 [ 0.000000] zynq_clock_init: clkc starts at d0800100 [ 0.000000] Zynq clock init [ 0.000011] sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 43980 46511103ns [ 0.000035] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycle s: 0x4ce07af025, max_idle_ns: 440795209040 ns [ 0.000137] clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, ma x_idle_ns: 537538477 ns [ 0.000167] timer #0 at d0808000, irq=17 [ 0.000534] Console: colour dummy device 80x30 [ 0.000556] Calibrating delay loop... 1332.01 BogoMIPS (lpj=6660096) [ 0.090309] pid_max: default: 32768 minimum: 301 [ 0.090413] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.090427] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.090924] CPU: Testing write buffer coherency: ok [ 0.091130] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.091221] Setting up static identity map for 0x8280 - 0x82d8 [ 0.260297] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.260372] Brought up 2 CPUs [ 0.260391] SMP: Total of 2 processors activated (2664.03 BogoMIPS). [ 0.260399] CPU: All CPU(s) started in SVC mode. [ 0.265192] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 0.265614] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma x_idle_ns: 19112604462750000 ns [ 0.266519] pinctrl core: initialized pinctrl subsystem [ 0.267878] NET: Registered protocol family 16 [ 0.269929] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.300414] cpuidle: using governor ladder [ 0.330284] cpuidle: using governor menu [ 0.343098] zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0xd0880000 [ 0.343534] zynq-pinctrl 700.pinctrl: zynq pinctrl initialized [ 0.382352] GPIO IRQ not connected [ 0.382371] XGpio: /amba_pl/gpio@41200000: registered, base is 902 [ 0.382554] GPIO IRQ not connected [ 0.382566] XGpio: /amba_pl/gpio@41210000: registered, base is 897 [ 0.382812] XGpio: /amba_pl/gpio@41220000: registered, base is 895 [ 0.383660] vgaarb: loaded [ 0.384160] SCSI subsystem initialized [ 0.384636] usbcore: registered new interface driver usbfs [ 0.384734] usbcore: registered new interface driver hub [ 0.384837] usbcore: registered new device driver usb [ 0.385595] i2c-gpio amba_pl:i2c-psu: using pins 895 (SDA) and 896 (SCL) [ 0.385669] media: Linux media interface: v0.10 [ 0.385750] Linux video capture interface: v2.00 [ 0.385843] pps_core: LinuxPPS API ver. 1 registered [ 0.385855] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome tti <giometti@linux.it> [ 0.385903] PTP clock support registered [ 0.386006] EDAC MC: Ver: 3.0.0 [ 0.386754] Advanced Linux Sound Architecture Driver Initialized. [ 0.388018] clocksource: Switched to clocksource arm_global_timer [ 0.397833] NET: Registered protocol family 2 [ 0.398818] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.398859] TCP bind hash table entries: 2048 (order: 2, 16384 bytes) [ 0.398908] TCP: Hash tables configured (established 2048 bind 2048) [ 0.398959] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.398991] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.399217] NET: Registered protocol family 1 [ 0.399578] RPC: Registered named UNIX socket transport module. [ 0.399590] RPC: Registered udp transport module. [ 0.399599] RPC: Registered tcp transport module. [ 0.399607] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.401181] futex hash table entries: 512 (order: 3, 32768 bytes) [ 0.411859] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.424332] io scheduler noop registered [ 0.424356] io scheduler deadline registered [ 0.424411] io scheduler cfq registered (default) [ 0.426362] dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330 [ 0.426382] dma-pl330 f8003000.dmac: DBUFF-128x8bytes Num_Chans-8 Num _Peri-4 Num_Events-16 [ 0.427105] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 0.428559] e0000000.serial: ttyPS0 at MMIO 0xe0000000 (irq = 143, base_baud = 6249999) is a xuartps [ 1.070537] console [ttyPS0] enabled [ 1.074700] xdevcfg f8007000.devcfg: ioremap 0xf8007000 to d0826000 [ 1.081428] [drm] Initialized drm 1.1.0 20060810 [ 1.096776] brd: module loaded [ 1.105853] loop: module loaded [ 1.111897] CAN device driver interface [ 1.117489] libphy: MACB_mii_bus: probed [ 1.198153] macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000 b000 irq 145 (cc:e0:bf:8c:07:1a) [ 1.208028] macb e000b000.ethernet eth0: attached PHY driver [Generic PHY] (m ii_bus:phy_addr=e000b000.etherne:00, irq=-1) [ 1.219253] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k [ 1.224999] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. [ 1.236511] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.243003] ehci-pci: EHCI PCI platform driver [ 1.247571] usbcore: registered new interface driver usb-storage [ 1.255068] mousedev: PS/2 mouse device common for all mice [ 1.271006] i2c /dev entries driver [ 1.278307] EDAC MC: ECC not enabled [ 1.282071] Xilinx Zynq CpuIdle Driver started [ 1.286812] sdhci: Secure Digital Host Controller Interface driver [ 1.292943] sdhci: Copyright(c) Pierre Ossman [ 1.297255] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.303269] sdhci-arasan e0100000.mmc: No vmmc regulator found [ 1.309046] sdhci-arasan e0100000.mmc: No vqmmc regulator found [ 1.349069] mmc0: SDHCI controller on e0100000.mmc [e0100000.mmc] using ADMA [ 1.357041] ledtrig-cpu: registered to indicate activity on CPUs [ 1.363442] usbcore: registered new interface driver usbhid [ 1.368961] usbhid: USB HID core driver [ 1.373718] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda [ 1.380019] nand: Micron MT29F2G08ABAEAWP [ 1.383978] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB siz e: 64 [ 1.391554] nand: WARNING: pl35x-nand: the ECC used on your system is too wea k compared to the one required by the NAND chip [ 1.403024] Bad block table found at page 131008, version 0x01 [ 1.409249] Bad block table found at page 130944, version 0x01 [ 1.415257] nand_read_bbt: bad block at 0x00000cb00000 [ 1.420393] 10 cmdlinepart partitions found on MTD device pl35x-nand [ 1.426664] Creating 10 MTD partitions on "pl35x-nand": [ 1.431895] 0x000000000000-0x000000080000 : "boot" [ 1.437719] 0x000000080000-0x000000300000 : "uboot" [ 1.443524] 0x000000300000-0x000000500000 : "fpga1" [ 1.449314] 0x000000500000-0x000000700000 : "fpga2" [ 1.465059] 0x000000700000-0x000000780000 : "uboot_env" [ 1.481218] 0x000000780000-0x000000800000 : "miner_cfg" [ 1.497334] 0x000000800000-0x000001e00000 : "recovery" [ 1.513556] 0x000001e00000-0x000007d00000 : "firmware1" [ 1.520352] 0x000007d00000-0x00000dc00000 : "firmware2" [ 1.537099] 0x00000dc00000-0x000010000000 : "factory" [ 1.555955] nf_conntrack version 0.5.0 (3930 buckets, 15720 max) [ 1.563749] NET: Registered protocol family 10 [ 1.569396] sit: IPv6 over IPv4 tunneling driver [ 1.574723] NET: Registered protocol family 17 [ 1.579171] bridge: automatic filtering via arp/ip/ip6tables has been depreca ted. Update your scripts to load br_netfilter if you need this. [ 1.591721] can: controller area network core (rev 20120528 abi 9) [ 1.597922] NET: Registered protocol family 29 [ 1.602309] can: raw protocol (rev 20120528) [ 1.606540] can: broadcast manager protocol (rev 20120528 t) [ 1.612211] can: netlink gateway (rev 20130117) max_hops=1 [ 1.617870] 8021q: 802.1Q VLAN Support v1.8 [ 1.622393] Registering SWP/SWPB emulation handler [ 1.628719] ubi0: attaching mtd7 [ 1.978371] ubi0: scanning is finished [ 1.989776] ubi0: attached mtd7 (name "firmware1", size 95 MiB) [ 1.995614] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 2.002497] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 2.009262] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 2.016184] ubi0: good PEBs: 760, bad PEBs: 0, corrupted PEBs: 0 [ 2.022187] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 12 8 [ 2.029398] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequ ence number: 1769581814 [ 2.038506] ubi0: available PEBs: 0, total reserved PEBs: 760, PEBs reserved for bad PEB handling: 40 [ 2.047707] ubi0: background thread "ubi_bgt0d" started, PID 845 [ 2.058738] block ubiblock0_1: created from ubi0:1(rootfs) [ 2.064161] hctosys: unable to open rtc device (rtc0) [ 2.073707] ALSA device list: [ 2.076594] No soundcards found. [ 2.082827] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. [ 2.090268] Freeing unused kernel memory: 260K (c0747000 - c0788000) [ 2.564783] init: Console is alive [ 2.568304] init: - watchdog - [ 2.971920] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 3.067328] kmodloader: done loading kernel modules from /etc/modules-boot.d/ * [ 3.076042] init: - preinit - [ 3.683664] random: jshn urandom read with 0 bits of entropy available [ 3.885416] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 5.198209] macb e000b000.ethernet eth0: unable to generate target frequency: 25000000 Hz [ 5.206311] macb e000b000.ethernet eth0: link up (100/Full) [ 5.211899] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 7.048135] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 918 [ 7.072841] UBIFS (ubi0:2): recovery needed ▒[ 7.146695] UBIFS (ubi0:2): recovery completed [ 7.151170] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "root fs_data" [ 7.158937] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O u nit sizes: 2048 bytes/2048 bytes [ 7.168828] UBIFS (ubi0:2): FS size: 72122368 bytes (68 MiB, 568 LEBs), journ al size 3555328 bytes (3 MiB, 28 LEBs) [ 7.179239] UBIFS (ubi0:2): reserved for root: 3406517 bytes (3326 KiB) [ 7.185829] UBIFS (ubi0:2): media format: w4/r0 (latest is w4/r0), UUID BE0B2 0A5-CF46-4440-B4EE-6D050D517E05, small LPT model [ 7.198885] mount_root: switching to ubifs overlay [ 7.213715] urandom-seed: Seeding with /etc/urandom.seed [ 7.340236] procd: - early - [ 7.343093] procd: - watchdog - [ 7.992516] procd: - watchdog - [ 7.995798] procd: - ubus - [ 8.217208] macb e000b000.ethernet eth0: link down [ 8.223198] procd: - init - Please press Enter to activate this console. [ 8.542050] kmodloader: loading kernel modules from /etc/modules.d/* [ 8.620910] tun: Universal TUN/TAP device driver, 1.6 [ 8.625885] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 8.635076] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 8.647491] ip_tables: (C) 2000-2006 Netfilter Core Team [ 8.779516] xt_time: kernel timezone is -0000 [ 8.789985] kmodloader: done loading kernel modules from /etc/modules.d/* [ 11.740385] device eth0 entered promiscuous mode [ 11.750687] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 11.853615] Start post-upgrade process... [ 12.218235] macb e000b000.ethernet eth0: unable to generate target frequency: 25000000 Hz [ 12.226343] macb e000b000.ethernet eth0: link up (100/Full) [ 12.247029] br-lan: port 1(eth0) entered forwarding state [ 12.252436] br-lan: port 1(eth0) entered forwarding state [ 12.273054] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 12.627356] random: nonblocking pool is initialized [ 13.421492] Detecting miner model... [ 14.248176] br-lan: port 1(eth0) entered forwarding state [ 15.797518] Oct 13 18:07:27.359 WARN main bosminer_plus_am2_s17: Parsing config failed with: configuration parsing failed: missing field `format`,using default config [ 15.816823] Oct 13 18:07:27.378 WARN main bosminer_plus_am2_s17: Failed to get descriptor: missing model specification, using default descriptor Antminer S17 [ 20.433527] Oct 13 18:07:31.995 INFO main bosminer_plus_am2_s17: Detected Hash Board #0: [ 20.433527] +--------------------+-------------------------+ [ 20.433527] |S/N |YDFTYH9AIABBD0AHZ | [ 20.433527] |BOM version |01.00 | [ 20.433527] |PCB version |01.10 | [ 20.433527] |Voltage (Avg.) |17.80 V | [ 20.433527] |Frequency (Avg.) |625 MHz | [ 20.433527] |Hashrate |18638.00 GH/s | [ 20.433527] +--------------------+-------------------------+ [ 20.433527] [ 20.489914] Oct 13 18:07:32.052 INFO main bosminer_plus_am2_s17: Detected Hash Board #1: [ 20.489914] +--------------------+-------------------------+ [ 20.489914] |S/N |YDFTYH9AIABBD0AHZ | [ 20.489914] |BOM version |01.00 | [ 20.489914] |PCB version |01.10 | [ 20.489914] |Voltage (Avg.) |17.80 V | [ 20.489914] |Frequency (Avg.) |625 MHz | [ 20.489914] |Hashrate |18638.00 GH/s | [ 20.489914] +--------------------+-------------------------+ [ 20.489914] [ 20.546336] Oct 13 18:07:32.108 INFO main bosminer_plus_am2_s17: Detected Hash Board #2: [ 20.546336] +--------------------+-------------------------+ [ 20.546336] |S/N |YDFTYH9AIABBD0AHZ | [ 20.546336] |BOM version |01.00 | [ 20.546336] |PCB version |01.10 | [ 20.546336] |Voltage (Avg.) |17.80 V | [ 20.546336] |Frequency (Avg.) |625 MHz | [ 20.546336] |Hashrate |18638.00 GH/s | [ 20.546336] +--------------------+-------------------------+ [ 20.546336] [ 20.603218] Antminer T17e EDIT: New development, the Braiins boot from SD works and I can ping the IP address and log in to dashboard for a period of time (about 2 min), then ethernet goes down. When I am in the dashboard, there is no fan rpm, status, etc. Here is the system log I get before it shuts down: Wed Oct 13 18:59:15 2021 daemon.warn netifd: You have delegated IPv6-prefixes but haven't assigned them to any interface. Did you forget to set option ip6assign on your lan-interfaces? Wed Oct 13 18:59:15 2021 kern.info kernel: [ 11.667044] device eth0 entered promiscuous mode Wed Oct 13 18:59:15 2021 daemon.notice netifd: Interface 'lan' is enabled Wed Oct 13 18:59:15 2021 daemon.notice netifd: Interface 'lan6' is enabled Wed Oct 13 18:59:15 2021 kern.info kernel: [ 11.679225] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready Wed Oct 13 18:59:15 2021 daemon.notice netifd: Interface 'loopback' is enabled Wed Oct 13 18:59:15 2021 daemon.notice netifd: Interface 'loopback' is setting up now Wed Oct 13 18:59:15 2021 daemon.notice netifd: Interface 'loopback' is now up Wed Oct 13 18:59:15 2021 daemon.notice netifd: Network device 'lo' link is up Wed Oct 13 18:59:15 2021 daemon.notice netifd: Interface 'loopback' has link connectivity Wed Oct 13 18:59:15 2021 user.warn kernel: [ 11.789692] Start post-upgrade process... Wed Oct 13 18:59:15 2021 kern.warn kernel: [ 12.282642] macb e000b000.ethernet eth0: unable to generate target frequency: 25000000 Hz Wed Oct 13 18:59:15 2021 kern.info kernel: [ 12.290748] macb e000b000.ethernet eth0: link up (100/Full) Wed Oct 13 18:59:15 2021 kern.info kernel: [ 12.299322] br-lan: port 1(eth0) entered forwarding state Wed Oct 13 18:59:15 2021 kern.info kernel: [ 12.304717] br-lan: port 1(eth0) entered forwarding state Wed Oct 13 18:59:15 2021 daemon.notice netifd: Network device 'eth0' link is up Wed Oct 13 18:59:15 2021 kern.info kernel: [ 12.323695] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready Wed Oct 13 18:59:15 2021 daemon.notice netifd: bridge 'br-lan' link is up Wed Oct 13 18:59:15 2021 daemon.notice netifd: Interface 'lan' has link connectivity Wed Oct 13 18:59:15 2021 daemon.notice netifd: Interface 'lan' is setting up now Wed Oct 13 18:59:15 2021 daemon.notice netifd: Interface 'lan6' has link connectivity Wed Oct 13 18:59:15 2021 daemon.notice netifd: Interface 'lan6' is setting up now Wed Oct 13 18:59:15 2021 daemon.notice netifd: Interface 'lan6' is now up Wed Oct 13 18:59:15 2021 cron.info crond[1401]: crond (busybox 1.25.1) started, log level 5 Wed Oct 13 18:59:16 2021 daemon.notice netifd: lan (1424): udhcpc: started, v1.25.1 Wed Oct 13 18:59:16 2021 kern.notice kernel: [ 12.740083] random: nonblocking pool is initialized Wed Oct 13 18:59:16 2021 daemon.notice netifd: lan (1424): udhcpc: sending discover Wed Oct 13 18:59:16 2021 daemon.notice netifd: lan (1424): udhcpc: sending select for 192.168.0.156 Wed Oct 13 18:59:16 2021 daemon.notice netifd: lan (1424): udhcpc: lease of 192.168.0.156 obtained, lease time 7200 Wed Oct 13 18:59:16 2021 daemon.notice netifd: Interface 'lan' is now up Wed Oct 13 18:59:16 2021 user.notice firewall: Reloading firewall due to ifup of lan (br-lan) Wed Oct 13 18:59:17 2021 user.warn kernel: [ 13.454310] Detecting miner model... Wed Oct 13 18:59:17 2021 kern.info kernel: [ 14.302372] br-lan: port 1(eth0) entered forwarding state Wed Oct 13 18:59:19 2021 user.warn kernel: [ 16.198979] [2mOct 13 18:59:19.769[0m [33m WARN[0m main bosminer_plus_am2_s17: Parsing config failed with: configuration parsing failed: missing field `format`, using default config Wed Oct 13 18:59:19 2021 user.warn kernel: [ 16.281420] [2mOct 13 18:59:19.851[0m [33m WARN[0m main bosminer_plus_am2_s17: Failed to get descriptor: missing model specification, using default descriptor Antminer S17 Wed Oct 13 18:59:19 2021 daemon.info dnsmasq[1537]: started, version 2.78 cachesize 150 Wed Oct 13 18:59:19 2021 daemon.info dnsmasq[1537]: DNS service limited to local subnets Wed Oct 13 18:59:19 2021 daemon.info dnsmasq[1537]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify Wed Oct 13 18:59:19 2021 daemon.info dnsmasq[1537]: using local addresses only for domain lan Wed Oct 13 18:59:19 2021 daemon.info dnsmasq[1537]: reading /tmp/resolv.conf.auto Wed Oct 13 18:59:19 2021 daemon.info dnsmasq[1537]: using local addresses only for domain lan Wed Oct 13 18:59:19 2021 daemon.info dnsmasq[1537]: using nameserver 192.168.0.1#53 Wed Oct 13 18:59:19 2021 daemon.info dnsmasq[1537]: read /etc/hosts - 4 addresses Wed Oct 13 18:59:19 2021 daemon.info dnsmasq[1537]: read /tmp/hosts/dhcp.cfg02411c - 1 addresses Wed Oct 13 18:59:19 2021 user.warn kernel: [ 16.352936] Error: Cannot detect mining hardware Wed Oct 13 18:59:19 2021 user.warn kernel: [ 16.352936] Wed Oct 13 18:59:19 2021 user.warn kernel: [ 16.352936] Caused by: Wed Oct 13 18:59:19 2021 user.warn kernel: [ 16.358911] No known model detected: [ Wed Oct 13 18:59:19 2021 user.warn kernel: [ 16.369857] "Autodetection failed, no hashboard EEPROM\'s have been parsed", Wed Oct 13 18:59:19 2021 user.warn kernel: [ 16.382494] "No EEPROMs", Wed Oct 13 18:59:19 2021 user.warn kernel: [ 16.385788] ] Wed Oct 13 18:59:20 2021 daemon.notice procd: /etc/rc.d/S99bosminer: mv: can't rename '/etc/bosminer.toml_tmp': Read-only file system Wed Oct 13 18:59:21 2021 daemon.err bosminer[1619]: [2mOct 13 18:59:21.131[0m [33m WARN[0m main bosminer_plus_am2_s17: Parsing config failed with: configuration parsing failed: missing field `format`, using default config Wed Oct 13 18:59:21 2021 daemon.err bosminer[1619]: [2mOct 13 18:59:21.147[0m [33m WARN[0m main bosminer_plus_am2_s17: Failed to get descriptor: missing model specification, using default descriptor Antminer S17 Wed Oct 13 18:59:21 2021 daemon.err bosminer[1619]: [2mOct 13 18:59:21.148[0m [32m INFO[0m main bosminer_plus_am2_s17: BOS management state validation result: Reading BOS management state Wed Oct 13 18:59:21 2021 daemon.err bosminer[1619]: Wed Oct 13 18:59:21 2021 daemon.err bosminer[1619]: Caused by: Wed Oct 13 18:59:21 2021 daemon.err bosminer[1619]: No such file or directory (os error 2) Wed Oct 13 18:59:21 2021 daemon.err bosminer[1619]: Error: Model detection failed, you can possibly use 'Antminer S17' model when 'use_config_fallback = true' is set in '[model_detection]' section of '/etc/bosminer.toml' Wed Oct 13 18:59:21 2021 daemon.err bosminer[1619]: Wed Oct 13 18:59:21 2021 daemon.err bosminer[1619]: Caused by: Wed Oct 13 18:59:21 2021 daemon.err bosminer[1619]: No known model detected: [ Wed Oct 13 18:59:21 2021 daemon.err bosminer[1619]: "Autodetection failed, no hashboard EEPROM\'s have been parsed", Wed Oct 13 18:59:21 2021 daemon.err bosminer[1619]: "No EEPROMs", Wed Oct 13 18:59:21 2021 daemon.err bosminer[1619]: ] Wed Oct 13 18:59:21 2021 daemon.info procd: - init complete - Wed Oct 13 18:59:21 2021 daemon.info bosminer_monitor.lua[1639]: state dead because initialization Wed Oct 13 18:59:21 2021 daemon.info bosminer_monitor.lua[1639]: /sys/class/leds/Red LED mode on Wed Oct 13 18:59:21 2021 daemon.info bosminer_monitor.lua[1639]: /sys/class/leds/Green LED mode off Wed Oct 13 19:32:30 2021 daemon.info bosminer_monitor.lua[1639]: turning all fans on to enhance safety
Edit 2: I tried unplugging the 3 hashboards and 4 fans, and the webserver runs for a much longer time (over both SD card and NAND) before the green D3 LED stops blinking and I lose connection. Wondering if it's a bad component on the control board... Edit 3: I guess it doesn't seem to matter, sometimes the green D3 LED will blink for a couple seconds before the board crashes, sometimes 10 minutes. Maybe it's bad eeprom, maybe bad FPGA, who knows. I have a new (used) board on order. Final Edit: Does anyone know how to uninstall Braiins? I wanted to try putting stock firmware on that I know works somewhat, but I am unable to use bos_toolbox uninstall. Every time I try it says unable to connect to port 22, even though I have SSH configured in the webserver
Title: Re: T17e Braiins SD Firmware Update won't work
Post by: taserz on October 19, 2021, 05:03:22 PM
Final Edit: Does anyone know how to uninstall Braiins? I wanted to try putting stock firmware on that I know works somewhat, but I am unable to use bos_toolbox uninstall. Every time I try it says unable to connect to port 22, even though I have SSH configured in the webserver
Looks like you got braiin'd. It's common for people to struggle uninstalling. Try to reinstall it first to uninstall it
Title: Re: T17e Braiins SD Firmware Update won't work
Post by: BitMaxz on October 20, 2021, 05:31:39 PM
Final Edit: Does anyone know how to uninstall Braiins? I wanted to try putting stock firmware on that I know works somewhat, but I am unable to use bos_toolbox uninstall. Every time I try it says unable to connect to port 22, even though I have SSH configured in the webserver
Try to flash it with SD card firmware from bitmain to bring it back to stock firmware. You can download it from here https://service.bitmain.com/support/download?product=Flashing%20SD%20card%20with%20image This link below should be the right procedure to revert it back to original firmware. - S17e/T17e/S17+/T17+ miner SD card control board program recovery method (https://support.bitmain.com/hc/zh-cn/articles/900000267926) It's Chinese just translate it to English to understand.
Title: Re: T17e Braiins SD Firmware Update won't work
Post by: mikeywith on October 22, 2021, 12:52:05 PM
Uninstalling BO+ is a pain in the ass really, you will need to use their tool to get rid of it, the support team on telegram however are so professional and helpful, they will guide you through the problem, just post all the details you posted here in the telegram group at https://t.me/BraiinsOS.
You can also post in their topic (https://bitcointalk.org/index.php?topic=5036844.0), Artemis3 is pretty active there and he will assist you.
Title: Re: T17e Braiins SD Firmware Update won't work
Post by: investorpgroovy on October 27, 2021, 09:54:25 PM
Every time I see mikeywith or Phillipma they are helping people with antminers mostly T17 and S17s.. Well done fellas
Title: Re: T17e Braiins SD Firmware Update won't work
Post by: Artemis3 on November 02, 2021, 10:07:32 PM
You don't need to install Braiins OS+ to test/use it, people skip reading the docs and involve themselves in unnecessary complications. You can just run it from the sd card, without ever installing, and then just take out the sd card when you don't want it anymore.
This is a full OS replacement, its not some cracker group injecting code to cgminer causing mem leaks to crash it while writing eeprom data...
Therefore no, you can't just expect a different incompatible OS to just "install easily" from within. The manufacturer sd recovery procedure is assuming things that are no longer valid after you decide to install Braiins OS+ to NAND.
Its the same as if you decide to install Linux to a laptop, wipe all partitions, and then expect to restore it to windows by just pressing a key at boot. The recovery partition is not there anymore... And with Linux too, you could have avoided the trouble by running it directly from an usb thumbdrive without ever installing it to the machine.
Therefore use the provided tool as the documentation explains (https://docs.braiins.com/os/plus-en/Setup/1_quickstart.html#uninstall-braiins-os).
bos-toolbox uninstall is simple to use and works fine. Boot Linux 64 bits and just do
./bos-toolbox uninstall ip.ad.re.ss
Done.
Now go into the miner and from the upgrade tab install the latest version from the manufacturer support page, it won't mine until you finish this.
Title: Re: T17e Braiins SD Firmware Update won't work
Post by: PrematureCorn on April 11, 2022, 12:36:22 AM
I followed your advice and was able to uninstall Braiins but now when I try to login to the miner I still have to go through the Braiins portal - not the stock Antminer page. The page just says Network Not Found and if I try to click on the system tab to load Antminer firmware I get a 404 error. Why is Braiins still on my device? (I have a T17+)
Title: Re: T17e Braiins SD Firmware Update won't work
Post by: Artemis3 on April 14, 2022, 12:26:47 PM
You always need to clear the browser cache when you change firmware. Usually ctrl shift r.
|