Có cách up rom cho O 2 2 bằng SD card, có hướng dẫn nhưng E không biết làm thế nào cả
Bác nào rành kỹ thuật dịch ra hộ E tý
perlscript to assist in creating sd card images
* sdtool.pl source
*
first create an sdcard from the bootloader, and extract the header from that card with:
psdread -3 0 0x200 sd.hdr
this file is specific to the sd-card, and the bootloader version that it was created with.
*
use as follows:
perl sdtool.pl -rm 0x80040000:sd.nb1:0:0x1ec0000 -wi sd.img -rh sd.hdr
*
save the image to sdcard with:
psdwrite -3 sd.img
* HimalayaSDcardLayout describes the layout of sd-cards
example how to create an sdcard with both extended rom upgrade, and os update
sdtool -rm 0x70010000:ms_.nba:0x40 -rm 0x80040000:nk.nba:0x40040:0x1ec0000 -wi sd.img -rh sd.hdr
example how to extract the contents of an sd-card
sdtool -ri sdrawimage.img -wm sd
will create files with prefic 'sd', followed by the offset for each section found on the sdcard.
note: to create a multi section sdcard from the bootloader, see HimalayaBootloaderSdCardFlashing.
example how to flash the extended rom and radio Simultaneously
in the HimalayaBootloader:
first copy the first 3 M of the radio to sd
d2s 60000000 00300000
SD:Waiting for card insert.........
CMD3 for SD, it's OK, ready to get RCA from response.
SD
etected one card
SD:ready for transfer OK
Total card size=1D30000ze=0
****************
Store image to SD/MMC card successful.
and now append the extended rom to the sd card
d2s 70080000 01000000 sd a
SD:Waiting for card insert.........
CMD3 for SD, it's OK, ready to get RCA from response.
SD
etected one card
SD:ready for transfer OK
Total card size=1D30000ze=0
DOCInfoTableinitHW+
Binary0:dwSize=80000
BINFS0:dwSize=0
FAT0:dwSize=1000000
FAT1:dwSize=EA0000
All:dwSize=1F20000
****************************************************************
Store image to SD/MMC card successful.
then when you insert the sdcard, and then boot into bootloader mode, the following happens:
on the display, you see a message 'sections=2', and 'press power to flash'. after pressing the power button, you see the following output on the serial port:
Flash ROM mapping total size = 2000000
Flash ID = 89,8802
Trumbull INTEL StrataFlash 128 Mbit MEMORY (K3/k18) found
dwROMTotalSize = 2000000
wTotalChip = 2
HTC Integrated Re-Flash Utility for bootloader Version:1.29 HIMALAYAS PVT version:1.02
MainBoardID = 4
Built at: Sep 24 2003 18:17:06
Copyright (c) 1998-2002 High Tech Computer Corporation
Turbo Mode Frequency = 398 MHz
Run Mode Frequency = 199 MHz
Memory Frequency = 100 MHz
SDRAM Frequency = 100 MHz
Main=0x90035EE4
LCD Power ON!
ATI Chip Id=0x56441002
DOCInfoTableinitHW+
Binary0:dwSize=80000
BINFS0:dwSize=0
FAT0:dwSize=1000000
FAT1:dwSize=EA0000
All:dwSize=1F20000
SD:Waiting for card insert.........
CMD3 for SD, it's OK, ready to get RCA from response.
SD
etected one card
SD:ready for transfer OK
Total card size=1D30000ze=0
Radio flash Updating...
************
SD/MMC download to ROM is successful!
DOCInfoTableinitHW+
Binary0:dwSize=80000
BINFS0:dwSize=0
FAT0:dwSize=1000000
FAT1:dwSize=EA0000
All:dwSize=1F20000
DOC flash Updating...
****************************************************************
SD/MMC download to ROM is successful!
now both the radio and extended rom are upgraded!