April 18, 2024

EBAZ4205 Bitcoin miner board - linux -- a quick look around

root@zedboard-zynq7:/dev# uname -a
Linux zedboard-zynq7 4.6.0-xilinx #5 SMP PREEMPT Mon May 8 14:36:49 CST 2017 armv7l GNU/Linux
We have one "disk" partition (the root) and it is 64M in size (about half of the available NAND flash). It is only about half full, so we have 32M of space available for whatever we might dream up.
df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                65536     33444     32092  51% /
Using "ps" to see what is running shows only the following interesting items:
  795 root       0:00 /usr/sbin/inetd
  810 root       0:00 /usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_host_key -p 22 -B
  816 root       0:00 /sbin/syslogd -n -O /var/log/messages
  819 root       0:00 /sbin/klogd -n
  827 root       0:00 {start_getty} /bin/sh /bin/start_getty 115200 ttyPS0
  828 root       0:00 /sbin/getty 38400 tty1
cat /proc/cpuinfo
processor	: 0
model name	: ARMv7 Processor rev 0 (v7l)
BogoMIPS	: 666.66
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpd32
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x3
CPU part	: 0xc09
CPU revision	: 0

processor	: 1
model name	: ARMv7 Processor rev 0 (v7l)
BogoMIPS	: 666.66
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpd32
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x3
CPU part	: 0xc09
CPU revision	: 0

Hardware	: Xilinx Zynq Platform
Revision	: 0003
Serial		: 0000000000000000

cat /proc/meminfo
MemTotal:         252032 kB
MemFree:          240820 kB
MemAvailable:     239892 kB

ifconfig -a
eth0      Link encap:Ethernet  HWaddr 0f:0A:35:00:01:22
          BROADCAST MULTICAST  MTU:1500  Metric:1
          Interrupt:148 Base address:0xb000
Most command line programs are provided via "busybox" and links thereto. Even "vi" (which works just fine) is a link to busybox.

We do have tar, awk, and bash. bash is its own executable. I see telnet and tftp clients. We have ssh and sshd via "dropbear". We even have tftpd and telnetd.

There is even a working "top" command

What I don't see is perl, python, gcc, or any kind of programming language. We see to be stuck with either bash or awk.


Feedback? Questions? Drop me a line!

Tom's Computer Info / tom@mmto.org