Git Product home page Git Product logo

thpimon's People

Contributors

nyx0 avatar thebel1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

thpimon's Issues

Making repeated VC mailbox requests will result in response being empty

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

Not working on ESXi on Arm Fling (Build 20693597)

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?

Install of vib fails on ARM release build-17839012

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:~]

DMA heap may be placed above 1GB

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

Instructions to compile

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).

[Errno 22] Invalid argument

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.