# EBAZ4205 **Repository Path**: jinnxf/EBAZ4205 ## Basic Information - **Project Name**: EBAZ4205 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-11-21 - **Last Updated**: 2022-11-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # EBAZ4205 This development board was the control card of Ebit E9+ BTC miner. In mainland China, it cost about 5 dollars (<35 CNY) on the secondhand market. ## hardware summary - [PDF Schematic](HW/EBAZ4205.pdf) - [Altium Designer PcbDoc](HW/EBAZ4205.PcbDoc) - [CPU info](proc/cpuinfo) - [Kernel cmdline](proc/cmdline) - [NAND Memory Map](proc/mtd) - [Linux Version](proc/version) The TF card socket is absent by default, you can buy and solder it by yourself if necessary. So do the UART port `J7`and the JTAG port `J8`. ![Top layer of the board](image/01-PCB-TL.jpg) on bottom layer of the board, Diode `D24` is absent by default. In order to power the board via `J3 J4 J5`, you should solder a SMC schottky diode. ![Bottom layer of the board](image/02-PCB-BL.jpg) XC7Z010CLG400, Dual Core Cortex A9 @ 666.66MHz and Artix-7 FPGA with 28k LEs. ![ZYNQ](image/03-ZYNQ.jpg) 256MB DDR3 Dynamic Memory. ![DDR3](image/04-DDR3.jpg) 128MB SLC NAND FLASH. ![NAND](image/05-NAND.jpg) 10/100Mbps Ethernet transceiver: IP101GA ![PHY](image/06-PHY.jpg) BOOT Select Resistor: `R2577 and R2584`. The resistor is on `R2584` by default, which indicates boot from NAND. If you want to boot from TF card, **move** `R2584` to `R2577`. ![BOOT](image/07-BOOT.jpg) ## power the board If the Schottky Diode `D24` was not mounted. You can only power the board by `DATA1` `DATA2` and `DATA3` port. Voltage 5V~12V is OK, 400mA and above is necessary. The pin distance of these three ports is 2.0mm, which is not common as 2.54mm. After `D24` was mounted, we can power the board by J3 J4 J5. For convenience, J3 or J5 is recommended, which was originally for FAN power. ## reset the root password of built-in linux Use HyperTerminal or Putty to connect the TTL port, TXD RXD and GND is enough, VCC is not necessary. Power the Board, Hit `d` to enter the u-boot shell. ``` nandboot=echo Copying Linux from NAND flash to RAM... && nand info && run nandroot;nand read 0x100000 0x2220000 0x300000 && fpga loadb 0 0x100000 0x300000 && nand read ${kernel_load_address} 0x300000 ${kernel_size} && nand read ${devicetree_load_address} 0x800000 ${devicetree_size} setenv bootargs 'console=ttyPS0,115200 root=/dev/mtdblock6 rootfstype=jffs2 noinitrd rw rootwait reboot=cold,hard emergency init=/bin/sh' bootm ${kernel_load_address} - ${devicetree_load_address} init=/bin/sh passwd ``` Use the commands above to reset the root password. ## shut down the BTC miner program After logging on with root, execute commands below to disable the BTC miner program. ``` mv /etc/rcS.d/S95cgminer.sh /etc/rcS.d/K95cgminer.sh reboot ``` ## set static IP address Edit configuration file: `/etc/network/interfaces`, add contents below. ``` auto eth0 iface eth0 inet static address 192.168.1.205 netmask 255.255.255.0 gateway 192.168.1.1 dns-nameservers 192.168.1.1 ``` Enable ethernet: `ifup eth0`. Check ethernet status: `ethtool eth0` Now you can use `ssh root@192.168.1.205` to connect the built-in linux. Of course, you can use other IP address according to your network configuration.