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.
# 15  
Old 09-22-2011
Since you can dump/restore, you might be able to get this just by hex-editing. Change "AMER" to "ROW ". Note the space on the end, which makes the filesize not change. A newline would also work.
# 16  
Old 09-22-2011
I was thinking about this before...but...as you can see, there is no place to replace ROW with AMER. (taken from full nand dump file)
By the way. Changing ROW/AMER in config.ini will change unit to RestOfWorld version permanently.
Changing it in firmware, will change unit till next firmware update.

PS. Config.ini looks always the same. I made dumps with firmware 2.5, 3.0, 3.5, 4.0.

Image
# 17  
Old 09-22-2011
I don't think that is the config file, I think you landed inside an executable.

I'll take a closer look at the big dump when I get home.
This User Gave Thanks to Corona688 For This Post:
# 18  
Old 09-22-2011
I'm sure everything is in config.ini.
Some time ago I had HDS5 factory ROW version.
I just copied 12kb config.ini from this unit and pasted it into HDS5-AMER version dump.
After that HDS5-AMER started as ROW version.

---------- Post updated at 06:12 PM ---------- Previous update was at 06:01 PM ----------

Quote:
Originally Posted by Corona688
I'll take a closer look at the big dump when I get home.

Anyway. Thank you very much for your help.
You are my only hope to solve my problem.

Maybe this will help a little:
Memory Technology Device (MTD) Subsystem for Linux.

Linux is magic for me, Im electronic engineer Smilie

Ps. It is 1.00am here in Poland... I have to go to sleep Smilie
# 19  
Old 09-23-2011
Have you downloaded "big" dump?
# 20  
Old 09-23-2011
It'll take ages for me to download that rom dump. Sweet dreams Smilie

---------- Post updated 09-23-11 at 10:28 AM ---------- Previous update was 09-22-11 at 05:21 PM ----------

Quote:
Originally Posted by PouchX
Full NAND dump link is posted above.
It is 1GB chip.
Code:
#   1GB NAND has 256k ERASESIZE and 2k PAGESIZE OR 256k ERASESIZE and 4k PAGESIZE 

is that 256kiloBYTE pagesize or 256kiloBIT page size? The ROM is not a multiple of either in size. (4K doesn't work either.) It's not a gigabyte in size, not even a "drivemaker's gigabyte". Instead it's almost exactly 0x42000000 bytes long, with 2,200 bytes of change ( total 0x42000898 ).

I don't understand why they'd have data areas in a ROM chip that're smaller than the chip's page size. Is there any physical structure to the data layout? Some sort of special hardware data area?

I'm unable to mount this image as a MTD device yet. I'd need 44 gigabytes of RAM to emulate a 1GB MTD. Instead I'm seeing if I can find the offsets of partitions inside it and rip them out.

Last edited by Corona688; 09-23-2011 at 01:47 PM..
# 21  
Old 09-23-2011
I will try to read whole flash using different programmer settings.
It will take a while.

PS. This info:
# 1GB NAND has 256k ERASESIZE and 2k PAGESIZE OR 256k ERASESIZE and 4k PAGESIZE
is taken from update.sh script.

NAND chip used in HDS is Samsung K9G8G08U0M.
http://www.arm9board.net/download/FL...et/K9G8G08.pdf
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