logo       

Re: minicom returning invalid AT ... command - CLOSED: msg#00626

Subject: Re: minicom returning invalid AT ... command - CLOSED
(sorry pHilipp -- "reply to" in gmail does not reply to the list...)

great news!

Can't we use the script in the linuxtogo link to wrap a linux kernel+rootfs and then use the HTC bootloader to flash linux on our ipaqs? :D

2007/10/17, Brian Green <brian.green@xxxxxxxxxxxx>:
pHilipp Zabel wrote:
> On 10/17/07, Sébastien Lorquet <squalyl@xxxxxxxxx> wrote:
>> I think that d2s does not cares about SD card format. It just writes a
>> header and dump data from flash to SD card's sectors.
>> So you don't have to format anything, or create any partition on your card!
>> just dd the original saved data on the card, it does not follow any
>> partition/FS format. you have to dd it to /dev/sdb, not /dev/sdb1 we're ok?
>>
>> I found somewhere on hh.org hx-4700 wiki that a saved wince4.2 image was
>> around ~130 MB, so even if you transfer the first 256 MBs from your 1GB card
>> to a new 256MB card, it will work without problem.
>
> Exactly, the hx4700 flash is 128MB and d2s called without parameters
> copies everything except the first 256k (HTC bootloader) onto the SD
> (plus a small header of 412 bytes and 4 bytes footer IIRC). So 130MB
> is just an approximate value > 412+133955584+4 bytes.
>
> The header format can be seen in the script at
> http://www.linuxtogo.org/~ph5/hx4700/wince .
> It starts with:
> 16 bytes "ROADSTER        ", then
> 16 bytes "0000000000000000",
> 16 bytes "1.01            ",
> then 336 bytes with (to me) unknown purpose, mostly 0x00, except for
> two words in my d2s images, then
> 4 bytes "HTCS",
> 8 bytes "A0040000", <-- this is the start adress (256k bytes into
> flash memory, after the bootloader)
> 8 bytes "07FC0000", <-- this is the size of the data to be copied,
> 133955584 bytes)
> 8 bytes "4CF096E8", <-- this is most likely incorrect, should be the
> crc32 checksum of the following data.
> Then the actual image contents (133955584 bytes) follow, and then the footer,
> 4 bytes "HTCE".
>
> I'm not sure, but it might be that in the unknown data in the header
> the CID of the mmc/sd card is encoded, so maybe the image is only
> recognized if you use the same card for backup and restore. Did
> anybody successfully backup to one card and restore from another?
>
> cheers
> Philipp

Thanks everybody!

I managed to verify that at least the header of my img file and the ROM
update 1.10 (SP29841.exe) where essentially equivalent - and, this gave
me confidence to continue ...

dd'd (my, original) img file to my 1GB SD card ("/dev/sdb" - thanks,
Sébastien), and reset the hx4700.  A reboot and up pops Win Mobile.  It
takes a long time but a 1GB SD card is OK.

Similarly, upgrade to WM 5.0 went without hitch.

The http://www.linuxtogo.org link was crucial - why doesn't it Google?

Thanks again,

Brian




_______________________________________________
Hx4700-port mailing list
Hx4700-port@xxxxxxxxxxxxx
https://www.handhelds.org/mailman/listinfo/hx4700-port



--
Sébastien LORQUET - 이세영 (李世榮)
Ingénieur ENSPG 2006 / ENSIMAG-ASI 2007
_______________________________________________
Hx4700-port mailing list
Hx4700-port-CN5wO63fgwogsBAKwltoeQ@xxxxxxxxxxxxxxxx
https://www.handhelds.org/mailman/listinfo/hx4700-port
<Prev in Thread] Current Thread [Next in Thread>