Comments (3)
Can anyone give me an example to illustrate the type code 0xFD's value field format?
from onie.
Indeed, the documentation for setting type code 0xFD "Vendor Extension" is absent. Also it is not entirely clear from the source code. The docs for the command are here:
https://github.com/opencomputeproject/onie/wiki/Design-Spec-x86-Linux-Kernel
Nevertheless, here is how it works, using a DELL-S6000 as an example:
ONIE:/ # onie-syseeprom -s 0xfd="0x12 0x34 0xAA 0x0A"
Adding TLV 0xfd: Vendor Extension
Programming passed.
TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 95
TLV Name Code Len Value
-------------------- ---- --- -----
Service Tag 0x2F 7 2RY8VS1
Base MAC Address 0x24 6 44:38:39:00:7B:0E
MAC Addresses 0x2A 2 129
Product Name 0x21 5 S6000
Manufacturer 0x2B 4 DELL
Serial Number 0x23 7 2RY8VS1
Platform Name 0x28 26 x86_64-dell_s6000_s1220-r0
Loader Version 0x29 10 2015.02.01
Vendor Extension 0xFD 4 0x12 0x34 0xAA 0x0A
CRC-32 0xFE 4 0x7CA831DF
Checksum is valid.
There a few particularities you have to watch out for:
- The type code must be
0xfd
(lower case). Using0xFD
will not work. That should be fixed. - The value is a space separated list of bytes.
- The bytes can be specified in decimal or hex. If hex then the
0x
prefix is required.
All of this should end up in the docs for this command.
from onie.
Dear cbrune:
Thanks for your clear explain and illustrate. I will take care with "space separated list of bytes" and make a try on newest ONIE github code. And maybe fixed the case issue(0xfd, 0xFD).
from onie.
Related Issues (20)
- How to access Uboot of ONIE?
- Error building ONIE image for machine quanta_common_rglbmc HOT 3
- mokutil: not found - new build image
- NOS install from DHCP exact URL
- kvm_x86_64 build does not produce the expected files HOT 1
- error: No suitable video mode found
- Missing documentation on how to upgrade NOS HOT 2
- Can ONIE install in the different partition instead of the start of disk?
- tofino2 Which one of MACHINE is it?
- How to obtain x86_64-accton_as9516_32d-r0
- can onie install the iperf tool
- UPgrade kernel for accton as4610 HOT 1
- No rule to make target '/home/shkurudi/onie/onie/encryption/machines/kvm_x86_64/keys/ONIE/efi-keys/ONIE-shim-key-cert.pem', needed by 'certs/signing_key.x509'. Stop. HOT 1
- How does the ONIE secure boot mechanism verify the ONIE installer?
- ONIE build env should support archive.debian.org HOT 2
- error on make -j4 MACHINEROOT=../machine/celestica MACHINE=cel_seastone all
- ONIE Embed failed on AMD CPU (V3000) Board HOT 1
- error: no suitable video mode found.
- secure boot implementation as per proposal "ONIE UEFI Secure Boot Proposal"
- Can i burn custom Mac address permanently ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onie.