Sponsored Content
Top Forums Shell Programming and Scripting Copy file to SD card from internal flash. Post 302558112 by PouchX on Thursday 22nd of September 2011 06:10:14 PM
Old 09-22-2011
Smilie

Here is full NAND flash dump:
www pouchx com/PRV/HDS/K9G8G08U0M-HDS-10-full-NAND_dump.rar

Config.ini at 0x837D0C0 offset.

Here is how HDS reads config.ini values.

My mission is to change AMER to ROW.
It can be represented by values as below:
0 - AMER
1 - EMEA
2 - ROW

Image

Code:
[General]
Brand=0 
INIVersion=2.0 
ScreenType=2

[ApplicationDefaults] 
DefaultCharProvider=Navico 
DefaultDateFormat=MM/dd/yyyy 
DefaultTimeFormat=12hr 
DefaultTimeZone=-06:00 
DefaultUnits=Imperial 
DefaulVideoFormat=N/A

[Mapping]
HaveBackground=True 
HaveLakeInsight=False 
HaveNauticInsight=False 
HaveSonarOnly=False 
HaveUSInsight=False 
HaveWorldBackground=False

[Product]
Description=HDS-7 with US Background 
FinalAssyPartNum=003-8086-00 
ProductId=HDS7 
ProductRegion=AMER


Last edited by Scott; 09-22-2011 at 07:44 PM.. Reason: Please use code tags...
 

10 More Discussions You Might Find Interesting

1. Solaris

istall sas raid HBA internal card

I need to install a raid HBA internal card on a T5240. The reason is I have more drives and the current mother board controller does not support more than 4 drives. My question is I have raidctl set up on current drives. If I install new HBA card do I have to delete current raidctl and... (3 Replies)
Discussion started by: photon
3 Replies

2. UNIX for Advanced & Expert Users

Forwarding internal internet packets to internal webserver using iptables

Hi, I need to redirect internal internet requests to a auth client site siting on the gateway. Currently users that are authenticated to access the internet have there mac address listed in the FORWARD chain. All other users need to be redirected to a internal site for authentication. Can... (1 Reply)
Discussion started by: mshindo
1 Replies

3. Solaris

Install Solaris 10 with an internal StorageTek SAS HBA Raid card

Hi all i would like to ask some suggests about my next job! I have to install a new Sun Netra T5220, with an additional internal StorageTek SAS HBA Raid. The problem come in if every disk is now controlled by the HBA, how can I install the OS? No disk is being detected by the OS. SAS card... (2 Replies)
Discussion started by: kakabobo
2 Replies

4. UNIX for Advanced & Expert Users

Sun internal disks and HBA card

I have a V490 that has couple internal disks attached to the same dual-port HBA card that I'm planning attach to the SAN for additional storage. Would I sacrifice performance if I use the same HBA? Is it better to throw in a new HBA instead? (1 Reply)
Discussion started by: kiem
1 Replies

5. Ubuntu

Format a compact flash card in Ubuntu

I need some assistance formatting a compact flash card in Ubtunu. I connect up the CF card through a USB reader. Ubuntu recognizes the reader usb device, but does not "mount" the CF card as a device. The CF card was formatted in FAT32 format. Any help would be greatly appreciated.... (3 Replies)
Discussion started by: genesis211
3 Replies

6. AIX

Flash Copy Problem, has any one else seen this?

Around a month ago we suffered a prolonged power outage, due to circumstances the servers and storage arrays were still in use when the UPS dropped. One of the servers was running a flash copy on the database while batch processing had commenced. This is the only server that suffered any further... (2 Replies)
Discussion started by: gull04
2 Replies

7. Shell Programming and Scripting

File splitting, naming file according to internal field

Hi All, I have a rather stange set of requirements that I'm hoping someone here could help me with. We receive a file that is actually a concatenation of 4 files (don't believe this would change, but ideally the solution would handle n files). The super-file looks like:... (7 Replies)
Discussion started by: Leedor
7 Replies

8. SuSE

In KDE Copy completed not always mean files were copied to USB flash drive - how to fix it?

I have noticed that when I copy files to flash disk and in UI I see message copy completed in notification area on task bar, usually copy is not completed. So, if I eject the media I loose data. It is very serious problem because may cause loss of valuable and even critical data. Moreover, when... (2 Replies)
Discussion started by: netwalker
2 Replies

9. Shell Programming and Scripting

Copy file and evaluate its internal variables

Hi I have been trying to figure a way to copy a file, (a template), that has internal variables. Using the values as defined for those variables in another script. So a file called x - #! /bin/bash D=aa.$X.bb And file y #! /bin/bash X=6 while read line do eval echo... (5 Replies)
Discussion started by: steadyonabix
5 Replies

10. AIX

PowerHA; Import flash copy of VG?

Hey guys, wondering if this is possible to accomplish. PowerHA SystemMirror7.1 active/passive cluster. Restored a clustered system in test and upgraded to the latest version of PowerHA. Things are working great. However in the interest of time during cut over to the new system, I was hoping to... (4 Replies)
Discussion started by: j_aix
4 Replies
Astro::FITS::Header::NDF(3pm)				User Contributed Perl Documentation			     Astro::FITS::Header::NDF(3pm)

NAME
Astro::FITS::Header::NDF - Manipulate FITS headers from NDF files SYNOPSIS
use Astro::FITS::Header::NDF; $hdr = new Astro::FITS::Header::NDF( Cards => @cards ); $hdr = new Astro::FITS::Header::NDF( Items => @items ); $hdr = new Astro::FITS::Header::NDF( ndfID => $indf ); $hdr = new Astro::FITS::Header::NDF( File => $file ); $hdr->writehdr( $indf ); $hdr->writehdr( File => $file ); DESCRIPTION
This module makes use of the Starlink NDF module to read and write to an NDF FITS extension or to a ".HEADER" block in an HDS container file. If the file is found to be an HDS container containing multiple NDFs at the top level, either the .HEADER NDF or the first NDF containing a FITS header is deemed to be the primary header, and all other headers a subsidiary headers indexed by the name of the NDF in the container. It stores information about a FITS header block in an object. Takes an hash as an argument, with either an array reference pointing to an array of FITS header cards, array of "Astro::FITS::Header::Item" objects, or a filename, or (alternatively) an NDF identifier. Currently, subheader support is readonly. METHODS
configure Reads a FITS header from an NDF. $hdr->configure( Cards => @cards ); $hdr->configure( ndfID => $indf ); $hdr->configure( File => $filename ); Accepts an NDF identifier or a filename. If both "ndfID" and "File" keys exist, "ndfID" key takes priority. If the file is actually an HDS container, an attempt will be made to read a ".HEADER" NDF inside that container (this is the standard layout of UKIRT (and some JCMT) data files). If an extension is specified explicitly (that is not ".sdf") that path is treated as an explicit path to an NDF. If an explicit path is specified no attempt is made to locate other NDFs in the HDS container. If the NDF can be opened successfully but there is no .MORE.FITS extension, an empty header is returned rather than throwing an error. writehdr Write a FITS header to an NDF. $hdr->writehdr( ndfID => $indf ); $hdr->writehdr( File => $file ); Accepts an NDF identifier or a filename. If both "ndfID" and "File" keys exist, "ndfID" key takes priority. Throws an exception (croaks) on error. NOTES
This module requires the Starlink NDF module. SEE ALSO
NDF, Astro::FITS::Header, Astro::FITS::Header::Item Astro::FITS::Header::CFITSIO AUTHORS
Tim Jenness <t.jenness@jach.hawaii.edu>, Alasdair Allan <aa@astro.ex.ac.uk>, Brad Cavanagh <b.cavanagh@jach.hawaii.edu> COPYRIGHT
Copyright (C) 2008-2009 Science & Technology Facilities Council. Copyright (C) 2001-2005 Particle Physics and Astronomy Research Council. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place,Suite 330, Boston, MA 02111-1307, USA perl v5.14.2 2012-06-30 Astro::FITS::Header::NDF(3pm)
All times are GMT -4. The time now is 02:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy