Skip to content

Instantly share code, notes, and snippets.

@mbohun
Created January 24, 2022 03:01
Show Gist options
  • Save mbohun/62146a7943f9fb353bb638baba2ab656 to your computer and use it in GitHub Desktop.
Save mbohun/62146a7943f9fb353bb638baba2ab656 to your computer and use it in GitHub Desktop.
HiFive Unmatched, RISC-V

HiFive Unmatched

lspci

00:00.0 PCI bridge: SiFive, Inc. FU740-C000 RISC-V SoC PCI Express x8 to AXI4 Bridge
01:00.0 PCI bridge: ASMedia Technology Inc. ASM2824 PCIe Gen3 Packet Switch (rev 01)
02:00.0 PCI bridge: ASMedia Technology Inc. ASM2824 PCIe Gen3 Packet Switch (rev 01)
02:02.0 PCI bridge: ASMedia Technology Inc. ASM2824 PCIe Gen3 Packet Switch (rev 01)
02:03.0 PCI bridge: ASMedia Technology Inc. ASM2824 PCIe Gen3 Packet Switch (rev 01)
02:04.0 PCI bridge: ASMedia Technology Inc. ASM2824 PCIe Gen3 Packet Switch (rev 01)
02:08.0 PCI bridge: ASMedia Technology Inc. ASM2824 PCIe Gen3 Packet Switch (rev 01)
04:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller
06:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev e7)
07:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
@mbohun
Copy link
Author

mbohun commented Jan 24, 2022

IMG_20220124_211439_Common_brushtail_possum

@mbohun
Copy link
Author

mbohun commented Jun 8, 2022

ubuntu@ubuntu:~/src/console-client.git$ git remote show origin
* remote origin
  Fetch URL: https://github.com/pcloudcom/console-client
  Push  URL: https://github.com/pcloudcom/console-client
  HEAD branch: master
  Remote branches:
    cc_update_lib tracked
    master        tracked
  Local branch configured for 'git pull':
    master merges with remote master
  Local ref configured for 'git push':
    master pushes to master (up to date)
ubuntu@ubuntu:~/src/console-client.git$
ubuntu@ubuntu:~/src/console-client.git/pCloudCC$ pcloudcc
pCloud console client v.2.0.1
Username option is required!!!
ubuntu@ubuntu:~/src/console-client.git/pCloudCC$ pcloudcc --help
pCloud console client v.2.0.1
Allowed options:
  -h [ --help ]             produce help message
  -u [ --username ] arg     pCloud account name
  -p [ --password ]         Ask pCloud account password
  -c [ --crypto ]           Ask crypto password
  -y [ --passascrypto ] arg Use user password as crypto password also.
  -d [ --daemonize ]        Daemonize the process.
  -o [ --commands  ]        Parent stays alive and processes commands. 
  -m [ --mountpoint ] arg   Mount point where drive to be mounted.
  -k [ --commands_only ]    Daemon already started pass only commands
  -n [ --newuser ]          Switch if this is a new user to be registered.
  -s [ --savepassword ]     Save password in database.
ubuntu@ubuntu:~/src/console-client.git/pCloudCC$ cd ..
ubuntu@ubuntu:~/src/console-client.git$ git diff
diff --git a/pCloudCC/lib/pclsync/Makefile b/pCloudCC/lib/pclsync/Makefile
index ffb8638..6445c11 100644
--- a/pCloudCC/lib/pclsync/Makefile
+++ b/pCloudCC/lib/pclsync/Makefile
@@ -5,7 +5,7 @@ RANLIB=ranlib
 USESSL=mbed
 
 #CFLAGS=-Wall -Wpointer-arith -O2 -g -mtune=core2
-CFLAGS=-Wall -Wpointer-arith -O2 -g -fno-stack-protector -fomit-frame-pointer -mtune=core2 -I../sqlite -DP_ELECTRON -fPIC
+CFLAGS=-Wall -Wpointer-arith -O2 -g -fno-stack-protector -fomit-frame-pointer -I../sqlite -DP_ELECTRON -fPIC
 
 #CFLAGS=-Wall -Wpointer-arith -O2 -g -fsanitize=address -mtune=core2
 #CFLAGS=-Wall -Wpointer-arith -O2 -g -fsanitize=address -mtune=core2 -I../sqlite
ubuntu@ubuntu:~/src/console-client.git$ sudo dmesg -T | grep -i 'machine model'
[Wed Jun  8 22:01:34 2022] Machine model: SiFive HiFive Unmatched A00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment