thebel1 / thpimon Goto Github PK
View Code? Open in Web Editor NEWNative ESXi on Arm hardware status driver for the Raspberry Pi.
Native ESXi on Arm hardware status driver for the Raspberry Pi.
This only recovers after a reboot.
i=0; while :; do echo "[${i}]"; /scratch/downloads/pyUtil/pimon_util.py; i=$((${i} + 1)); done;
[...]
[18]
Firmware Revision: 0x5f440c10
Board Model: 0
Board Revision: 0xc03111
Board MAC Address: d6:51:4:32:a6:dc
Board Serial: 0x000000664b0067
Temp: 60.0 (deg. C)
[19]
[Errno 16] Device or resource busy
[Errno 22] Invalid argument
Firmware Revision: 0x0
[Errno 22] Invalid argument
[...]
Log:
2020-09-01T14:13:08.380Z cpu2:67963)thpimon: rpiq_mmioIoctlCB:401: bufLen=32 rqRp=0 tag=0x10003 rpLen=6 rqLen=0 endTag=0 padding[0]=0 padding[1]=0
2020-09-01T14:13:08.380Z cpu2:67963)thpimon: rpiq_mboxSend:121: allocating from heap 0x430073c00000, size 32, alignment 16
2020-09-01T14:13:08.380Z cpu2:67963)thpimon: rpiq_mboxSend:146: writing mboxOut 0xe651228 to DMA buffer 0x430073c01220 (MA 0xe651220) on channel 8
2020-09-01T14:13:08.380Z cpu2:67963)WARNING: thpimon: rpiq_mboxSend:203: RPIQ mailbox not full after 4096 retries
2020-09-01T14:13:08.380Z cpu2:67963)WARNING: thpimon: rpiq_mmioIoctlCB:413: unable to send to mailbox: Busy
2020-09-01T14:13:08.380Z cpu2:67963)WARNING: thpimon: pimon_charDevIoctl:506: ioctl cmd 8 with data 0x31b96260fc8 failed: Busy
2020-09-01T14:13:08.423Z cpu2:67963)thpimon: pimon_charDevFileDestroy:737: destroying file 0x4300740012f0
Howdy - I updated my ESXi today (my ESXi was a very early build), and it seems that thpimon no longer works. (There is no /dev/vmgfx.. devices?
It was working on my early build of ESXi (and I did an upgrade of ESXi).
esxcli software vib list|grep pimon
shows
thpimon 0.1.0-1OEM.701.1.0.40650718 THX CommunitySupported 2023-01-15
Should it still be working?
Built VIB appears to fail install on latest arm release: 17839012
[root@pi4-esxi03:~] vmware -v
VMware ESXi 7.0.0 build-17839012
[root@pi4-esxi03:~]esxcli software acceptance get
CommunitySupported
[root@pi4-esxi03:~] esxcli software vib update -v file:////vmfs/volumes/5f4e56e5-100d8621-8d2a-dca6327371c7/ESXITOOLS/native/pi-temp/thpimon-0.1.0-1OEM.701.1.0.40650718.aarch64.vib
Installation Result
Message: Host is not changed.
Reboot Required: false
VIBs Installed:
VIBs Removed:
VIBs Skipped: THX_bootbank_thpimon_0.1.0-1OEM.701.1.0.40650718
[root@pi4-esxi03:~]
Currently, only a fixed-size buffer of 32 bytes is supported. This prevents acquiring the VideoCore command line or the clock list.
This will cause the VideoCore to be unable to DMA to the mailbox buffer.
A few options:
a) Ensure the driver is loaded before others that require a sub-2GB heap
b) Make a test allocation on the DMA heap and fail to attach to the ACPI device if the MA is above 1GB
c) Program the DMA controller to move the aperture up to match the start of the first heap segment
Can the script be ported to the X64 platform?
Identify last added /dev/vmgfxXX device and enter that into the pyLib init script.
Thank you very much for this project!
I was wondering if you could provide instruction to compile your project and end up with a .vib
(which afaiu is an archive).
Hi. Thanks for the great libraries. Pulling pin state is working great for me. When I try to pull temperature with pimon_util.py, I get this though. Any ideas? I am running ESXi on Arm Fling (Build 17068872) on a Raspberry Pi4. TIA.
] python3 ./pimon_util.py
[Errno 22] Invalid argument
[Errno 22] Invalid argument
Firmware Revision: 0x0
[Errno 22] Invalid argument
Board Model: 0
[Errno 22] Invalid argument
Board Revision: 0x0
Board MAC Address: 0:0:0:0:0:0
[Errno 22] Invalid argument
Board Serial: 0x00000000000000
[Errno 22] Invalid argument
Temp: 0 (deg. C)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.