Sponsored Content
Full Discussion: How to read EEPROM Locations
Top Forums Shell Programming and Scripting How to read EEPROM Locations Post 302167226 by shidlingayya on Wednesday 13th of February 2008 11:35:41 PM
Old 02-14-2008
How to read EEPROM Locations

Dear Sir,
I am Shidlingayya India, i am new to unix script..my problem is

present-> I have to read the eeprom locations from 0 to 255 locations in separate file..i wrote the code for this as follows

Code:
@eep_save_all	;<filename> store eeprom data to intel hex file
 kr 0,,02/n
 wf %1, 'tind[1],-1,$2,0,#16 /0ioc
 kr 28,,3B/n
 wf %1, 'tind[30],-1,$1C,0,#16/0ioc
 wd file written
 wd please add end of record to your file :00000001FF by hand
endmac

Required- Now i want to read only selected eeprom locations like
0x23, 0x29...so on..should get stored again in the form of Intel Hex file format

Can any body help me out to do this??i am thankful to you all..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Does admintool write to eeprom?

Hi: I was setting up a modem on an Ultra5 running 2.6. (yes I know, how quaint) There are 15 systems that are interlinked but not accessible to the outside world. This will end soon with new updated sun systems but until then the system needs to be accessed by the outside world. Hence the... (1 Reply)
Discussion started by: mndavies
1 Replies

2. Solaris

file locations...

Hi Guys, There was a post that I saw here a while ago regarding file system layout and what to put where, which I am unable to find now.. A user here posted a man page that list what each partition should have in it and what it is used for and were you should install custom packages. ie:... (1 Reply)
Discussion started by: Tornado
1 Replies

3. UNIX for Advanced & Expert Users

EEPROM password

hello i have sun machine and i need to reset EEPROM password where evrytime machine boot i should put password to start in booting any one can help me how i can remove this password Thanks (1 Reply)
Discussion started by: asafwat
1 Replies

4. Solaris

doubt reg EEPROM

Hi , Am new to solaris can anyone tell me what is the use of setting the eeprom variable to true or false ... (5 Replies)
Discussion started by: rogerben
5 Replies

5. UNIX for Dummies Questions & Answers

EEPROM CKSUM - Is there such thing?

Hi all, So I have a binary file and I need to generate an expected EEPROM checksum for it. Ideally, I would like to input the file (with the path) and output a computed checksum. Ive been using (cksum file1) with no avail and I was just curious as to whether there is such thing as EEPROM... (1 Reply)
Discussion started by: TeamUSA
1 Replies

6. Shell Programming and Scripting

EEPROM CKSUM? what is this?

Hi all, So I have a binary file and I need to generate an expected EEPROM checksum for it. Ideally, I would like to input the file (with the path) and output a computed checksum. Ive been using (cksum file1) with no avail and I was just curious as to whether there is such thing as EEPROM cksum,... (1 Reply)
Discussion started by: TeamUSA
1 Replies

7. UNIX for Advanced & Expert Users

Transferring Eeprom to Virtual machine

Hello all, I am currently trying to find a solution to replacing some 10 year old Solaris boxes because it is obvious that they are going to fail soon. The problem is that they are license servers, and I need the eeprom serial to transfer to a new computer. Now, I could request that we get new... (1 Reply)
Discussion started by: DeanCarlo
1 Replies

8. UNIX for Dummies Questions & Answers

Get the eeprom dump using PCI bus address

Hi, I need to get an output that is the same as "ethtool -e eth0" But I need to use another method that does not use the eth port ID (ethX). Does anyone know of any method? Thanks!! (3 Replies)
Discussion started by: h0ujun
3 Replies

9. Solaris

Eeprom security-mode=command cause invalid login

Hi there, In Solaris 8. I have accidentally set the eeprom security-mode=command because I followed the CIS benchmark guideline. Initally, it was eeprom security-mode=none. I have tried to login with the correct password numerous time and it still say permission denied. I have tried to login... (4 Replies)
Discussion started by: alvinoo
4 Replies

10. AIX

Is There a Method to Obtain EEPROM Info from SFP+

Does AIX (or even the ASMI interface) provide a method to obtain basic data from a SFP+ (aka 10Gb transceiver) installed in a NIC card ? In this case, the machine is remote (to me), a Power8, with EN0S adapter (2 x 10GbE and 2 x 1Gb). Specifically, just trying to determine basic things from... (2 Replies)
Discussion started by: The Doctor
2 Replies
OSMJS(1)						      General Commands Manual							  OSMJS(1)

NAME
osmjs - Javascript interpreter for the Osmium framework SYNOPSIS
osmjs [options] osmfile [args] DESCRIPTION
This manual page documents briefly the osmjs command. osmjs is an Osmium based framework for handling OSM data by calling Javascript callbacks for each object in an OSM data file. This gives you the flexibility of Javascript together with speed of the C++ Osmium framework and the Google V8 Javascript JIT compiler. osmfile can be an OSM XML (suffix .osm) (optionally packed with bz2 or gz) or PBF (suffix .osm.pbf) file. In single-pass mode it can also be '-' to read a PBF file from stdin. OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. -h, --help Show summary of options. -d, --debug Enable debugging output. -i FILE, --include=FILE Include Javascript file (can be given several times) -j FILE, --javascript=FILE Process given Javascript file -l STORE, --location-store=STORE Set location store (default: 'none'). See below for a list of available stores. -r, --no-repair Do not attempt to repair broken multipolygons -2, --2pass Read osmfile twice -m, --multipolygon Build multipolygons (implies -2) STORES
none Do not store node locations (you will have no way or polygon geometries) array Store node locations in large array (use for large OSM files) disk Store node locations on disk (use when low on memory) sparsetable Store node locations in sparse table (use for small OSM files) AUTHOR
Osmium was written by Jochen Topf <jochen@topf.org>. This manual page was written by David Paleino <dapal@debian.org>, for the Debian project (and may be used by others). November 14, 2011 OSMJS(1)
All times are GMT -4. The time now is 08:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy