Page 5 sur 15

Re: Patching 4.4.0.532 CAS to run on Non-CAS

Message non luPosté: 04 Fév 2017, 00:23
de critor
Thank you very much for your reply. :)

Ok, so to sum up things if I understand well :
  • TI started to add some CAS/non-CAS checks in the OS with version 3.6
  • and made things much more complicated with hundreds of CAS/non-CAS checks with version 3.9

Re: Patching 4.4.0.532 CAS to run on Non-CAS

Message non luPosté: 04 Fév 2017, 00:28
de parrotgeek1
.

Re: Patching 4.4.0.532 CAS to run on Non-CAS

Message non luPosté: 04 Fév 2017, 00:42
de critor
I've tried to adapt your patch for Boot2 4.0.3, as we can find the same code inside it :
Code: Tout sélectionner
      PATCH_SETB(0x118B8915,0x54);
      PATCH_SETW(0x118B892C,0xE3A04341);
      PATCH_SETW(0x118B8930,NOP);
      PATCH_SETW(0x118B8DA0,0x00010105);


The first thing the patched Boot2 did was removing my non-CAS OS.

For some reason, I now can install neither non-CAS OSes, nor CAS OSes.

When sendind a non-CAS OS :
Code: Tout sélectionner
IMAGE: verifying file /tmp/TI-Nspire.tco
IMAGE: missing ASIC User Flags
TI_OS_INSTALL_VERIFYING_RESOURCE (95)
deleteTree(): path /tmp
Deleting file [/tmp/TI-Nspire.tco]
TI_OS_deleteTree: deleteAllFiles Done!
TI_OS_INSTALL_FAILED
  TI_OS_INSTALL_IMAGE_INVALID


When sending a CAS OS :
Code: Tout sélectionner
IMAGE: verifying file /tmp/TI-Nspire.tcc
IMAGE: missing Program ID
TI_OS_INSTALL_VERIFYING_RESOURCE (95)
deleteTree(): path /tmp
Deleting file [/tmp/TI-Nspire.tcc]
TI_OS_deleteTree: deleteAllFiles Done!
TI_OS_INSTALL_FAILED
  TI_OS_INSTALL_IMAGE_INVALID


Emulated calculator is a CX non-CAS.

If possible, it would be great for this main cas check to accept all OSes.
Not only CAS OSes, but both CAS and non-CAS OSes.

Because many things we develop need to be tested on non-CAS OSes too.
And also because, not being able to install a non-CAS OS on your TI-Nspire CX non-CAS is probably going to become problematic in some future situations (new TI updates, verifications for some exams...).

Re: Patching 4.4.0.532 CAS to run on Non-CAS

Message non luPosté: 04 Fév 2017, 00:44
de parrotgeek1
.

Re: Patching 4.4.0.532 CAS to run on Non-CAS

Message non luPosté: 04 Fév 2017, 00:57
de critor
So nothing can be installed, correct.

The Boot2 patch is incomplete, indeed.

Re: Patching 4.4.0.532 CAS to run on Non-CAS

Message non luPosté: 04 Fév 2017, 08:25
de parrotgeek1
.

Re: Patching 4.4.0.532 CAS to run on Non-CAS

Message non luPosté: 04 Fév 2017, 08:29
de Hayleia
Well even if it's "just" 3.6 and not the latest, that's still an OS with API 2.3+ and Ndless support so that's great news, no need for a dual boot anymore to get both CAS and Ndless :)

Re: Patching 4.4.0.532 CAS to run on Non-CAS

Message non luPosté: 04 Fév 2017, 08:35
de parrotgeek1
.

Re: Patching 4.4.0.532 CAS to run on Non-CAS

Message non luPosté: 04 Fév 2017, 09:10
de Lionel Debroux
note: it does not show "PP1234567" anymore. I deleted that because it looks bad.

I could easily live with "because it takes space I need to use for other purposes", but "because it looks bad" is much harder to agree with. The flip side of the coin is "depriving oneself and others from feedback valuable for debugging purposes", which is bad, because debuggability is important in the real world :)

Re: Patching 4.4.0.532 CAS to run on Non-CAS

Message non luPosté: 04 Fév 2017, 09:18
de parrotgeek1
.