Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inquiry regarding emulated NVRAM #10

Open
test164c opened this issue Apr 21, 2021 · 1 comment
Open

Inquiry regarding emulated NVRAM #10

test164c opened this issue Apr 21, 2021 · 1 comment

Comments

@test164c
Copy link

test164c commented Apr 21, 2021

Thank you for the software. Would like to check how the NVRAM implementation works.

I noticed that nvram.ini contains key-value pairs which is updated into the emulated NVRAM, however I am not sure how and where it is preloaded into. Is it by means of a custom shared object?

Additionally, I noticed that there are two flash0/1.bin files created as pflash device. Could I check if these are dummy files or critical to QEMU emulation?

Lastly, I noticed that the mtdparts file (specific to each machine) contains the nandsim kernel commands. May I know how the nandsim IDs are chosen, and if they should be partitioned?

Thank you!

@WizardsOfTheInternet
Copy link

Have you managed to get your device emulated?

On some of the Netgear devices there is an nvram binary.

You can run commands such as nvram show and it will list the current nvram config settings.

You can then run commands such as nvram set, example: nvram set lan_ipaddr=192.168.100.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants