GithubHelp home page GithubHelp logo

rom-parser's People

Contributors

awilliam avatar rwmjones 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar

rom-parser's Issues

Run off end

I dumped out the nvidia card's rom using nouveau (https://nouveau.freedesktop.org/wiki/DumpingVideoBios/), but I get the run off end error. This is what the tool prints:
Valid ROM signature found @0h, PCIR offset 190h
PCIR: type 0 (x86 PC-AT), vendor: 10de, device: 0ffb, class: 030000
PCIR: revision 3, vendor revision: 1
Valid ROM signature found @f800h, PCIR offset 40h
PCIR: type e0, vendor: 10de, device: 0ff0, class: 000000
PCIR: revision 0, vendor revision: 0
Error, ran off the end

Edit: Managed to get the full ROM from the system bios. I think it is being parsed correctly. Closing the issue.

This is the passing output:
Valid ROM signature found @0h, PCIR offset 190h
PCIR: type 0 (x86 PC-AT), vendor: 10de, device: 0ffb, class: 030000
PCIR: revision 3, vendor revision: 1
Valid ROM signature found @f800h, PCIR offset 40h
PCIR: type e0, vendor: 10de, device: 0ff0, class: 000000
PCIR: revision 0, vendor revision: 0
Valid ROM signature found @16200h, PCIR offset 1ch
PCIR: type 3 (EFI), vendor: 10de, device: 0ffb, class: 030000
PCIR: revision 3, vendor revision: 0
EFI: Signature Valid, Subsystem: Boot, Machine: X64
Last image

Error, ran off the end

Im on a SAPPHIRE DUAL-X Radeon R9 280X which has a physical switch to enable UEFI boot. rom-parser works on the legacy side, but I get "Error, ran off the end" when I'm the UEFI part.

Running off the end

I have extracted a nVidia GeForce GTX650 rom following README.md instructions, but when I execute rom-parser against that file, I get

Valid ROM signature found @0h, PCIR offset 190h
        PCIR: type 0, vendor: 10de, device: 0fc6, class: 030000
        PCIR: revision 0, vendor revision: 1
Error, ran off the end

If you need, I can send you the rom file (just tell me at what address send it).

Error, ran off the end

I know this problem was already here, but the conclusion of the other questions was that the Rom is broken. So I tried to fix it and tried all the roms on Techpowerup with my device ID (https://www.techpowerup.com/vgabios/?did=1002-67DF-1682-9587-E1) but I got the error every time. To flash the rom, I used.

sudo ./amdvbflash -p 0 xyz.rom

I tried to flash my GPU (XFX RX 590 8 GB (Fatboy OC+)) through but with no result, not in unraid or proxmox, the VMs just don't boot.

Edit: I got my VMs to work, with gpu and everything, but the error remains.

cat: rom: Input/output error

Hi,It's seems didn't work on proxmox 5.4-11
platform:
cpu:i7-3820qm
chipset:hm77
GPU:NVIDIA Corporation GF108M [GeForce GT 635M]

root@nserver:~# cd /sys/bus/pci/devices/0000:01:00.0/
root@nserver:/sys/bus/pci/devices/0000:01:00.0# echo 1 > rom
root@nserver:/sys/bus/pci/devices/0000:01:00.0# cat rom > /tmp/image.rom
cat: rom: Input/output error

dmesg:
vfio-pci 0000:01:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff

what's wrong?

make: rom-parser.c:1:10: fatal error: fcntl.h: No such file or directory

root@pve:~/rom-parser# make
gcc -o rom-parser rom-parser.c
rom-parser.c:1:10: fatal error: fcntl.h: No such file or directory
 #include <fcntl.h>
          ^~~~~~~~~
compilation terminated.
make: *** [Makefile:4: rom-parser] Error 1

system info

root@pve:~/rom-parser# pveversion
pve-manager/7.4-3/9002ab8a (running kernel: 5.15.102-1-pve)

root@pve:~/rom-parser# gcc --version
gcc (Debian 8.3.0-6) 8.3.0

how

When I ran the make command, I reported an error. The fcntl.h file could not be found, but my gcc has been installed. Do I need to install anything else?

###I tried to install build-essential and still reported an error.

root@pve:~/rom-parser# apt-get  install  build-essential
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libc6-dev : Depends: libc6 (= 2.28-10+deb10u2) but 2.31-13+deb11u5 is to be installed
             Depends: libc-dev-bin (= 2.28-10+deb10u2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

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.