Copy file to SD card from internal flash.


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Copy file to SD card from internal flash.
# 57  
Old 09-28-2011
Another try.

The log filled with error messages about how it was too tiny, but it still mounted, contained valid-looking files, and let me edit. The size wasn't off by a factor of a thousand this time so this at least stands a better chance of working than my last try. Good luck to you.
# 58  
Old 09-28-2011
Programming flash...

---------- Post updated at 05:03 PM ---------- Previous update was at 04:16 PM ----------

Your file looks like this:

Image

First part is modified Config.ini but not packed.
Second one is Config.ini in original version.

I programmed flash with second one, and unit is still AMER. So there is no change.

Now, I will program it with first part.
Is it ok that meta data is unpacked?
# 59  
Old 09-28-2011
I have no idea, but jffs2 is pretty strange baffling diabolical as filesystems go. I wouldn't necessarily expect a sector to change just because I modified its contents. jffs2 avoids writing to the same sectors over and over by spreading out over fresh, empty ones. This also makes it very hard to tell how much space is actually free in a jffs2 system since one block might have n slightly-updated duplicates. Eventually it decides enough is enough and consolidates itself, but only when it absolutely needs to.

Try the data I actually gave you instead, all of it Smilie
# 60  
Old 09-28-2011
Ok... Programming flash with "ASCII" Config.ini Smilie

---------- Post updated at 05:37 PM ---------- Previous update was at 05:17 PM ----------

Unit says: " Unable to open Config.ini" Smilie
So, ASCII version does not work.

Last edited by PouchX; 09-28-2011 at 07:22 PM..
# 61  
Old 09-28-2011
Please, explain to me how it works.
You mount original Config.ini as new/virtual drive in your system.
When you access to this drive you can see all 3 files.
You can edit it.
After edit, you make image of this drive.
But image does not contains any changes.
Am I right?
# 62  
Old 09-28-2011
Afraid of that... At least we know we're working in the right place, though.

I'll have to think on this.

---------- Post updated at 04:50 PM ---------- Previous update was at 04:40 PM ----------

It could be the ECC, you know.
# 63  
Old 09-28-2011
Tomorrow, I can try to fill ECC blocks with 0xFF and I will program flash with original Config.ini. We will see what unit will say.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question