You mean for HaRET booting?
kmeaw wrote:
> Hello, All!
> Is there a reliable way to detect a SDG bootloader in a way is it done
> for Windows Mobile?
>
> i = 0x000414dc / 4;
> if (bootldr[i] == 0xe59f1360 && /* ldr r1, [pc, #864] ; power base */
> bootldr[i+1] == 0xe5914008 && /* ldr r4, [r1, #8] ; PSPR */
> bootldr[i+2] == 0xe1320004) { /* teq r2, r4 */
>
> printk("Stock HTC WM2003 bootloader detected\n");
> htc_bootloader = 1;
> pxa_pm_set_ll_ops(&hx4700_ll_pm_ops);
> }
>
> Thanks in advance.
>
> --
> kmeaw
> _______________________________________________
> Hx4700-port mailing list
> Hx4700-port_at_handhelds.org
> https://www.handhelds.org/mailman/listinfo/hx4700-port
>
>
Received on Fri Sep 07 2007 - 13:50:27 EDT
This archive was generated by hypermail 2.2.0 : Fri Sep 07 2007 - 13:50:44 EDT