Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
18 June, 2013, 09:04:38 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 [2] 3   Go Down
  Print  
Author Topic: Have a TI-Nspire CX loaded with the TI-Nspire CX CAS OS? - Question about whether or not if it is do-able as of now.  (Read 6687 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Lionel Debroux
LV10 31337 u53r (Next: 2000)
**********
Online Online

Gender: Male
Last Login: Today at 08:41:38
Date Registered: 17 December, 2009, 09:37:25
Location: France
Posts: 1915

Total Post Ratings: +215

View Profile WWW
« Reply #15 on: 29 December, 2011, 20:28:51 »
0

Well, OSLauncher was released, and it's a superset of what was indicated by the animated screenshot showcasing RunOS Smiley
But indeed, the important part of the source code (five C statements) is intentionally scarcely commented, and OSLauncher does not deal with hot-patching the OS before launching it (in a way similar to what tiosmod+amspatch does on the computer side).
« Last Edit: 29 December, 2011, 20:30:34 by Lionel Debroux » Logged

Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.
Illumio
LV1 Newcomer (Next: 20)
*
Offline Offline

Gender: Male
Last Login: 07 October, 2012, 21:17:58
Date Registered: 28 December, 2011, 06:09:59
Posts: 12

Topic starter
Total Post Ratings: 0

View Profile
« Reply #16 on: 31 December, 2011, 09:12:41 »
0

So we just need to keep the way of installing the CAS OS, when it's figured out, on the down low.  That shouldn't be too hard to do.  We just need it to be a select few who know (mainly people on this form and TICalc), right?
Logged

Spheres and Cubes.


NerdTests.com says I'm a High Nerd.  Click here to take the Nerd Test, get geeky images and jokes, and talk to others on the nerd forum!


For Science! And Math! And other things!
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Online Online

Gender: Male
Last Login: Today at 08:58:01
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50600


Total Post Ratings: +2634

View Profile WWW
« Reply #17 on: 31 December, 2011, 09:41:59 »
0

Basically direct instructions on how to run a CAS on a non-CAS just need to not be easy to figure out or find on public forums, otherwise the owners of that forum could get in legal troubles.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Lionel Debroux
LV10 31337 u53r (Next: 2000)
**********
Online Online

Gender: Male
Last Login: Today at 08:41:38
Date Registered: 17 December, 2009, 09:37:25
Location: France
Posts: 1915

Total Post Ratings: +215

View Profile WWW
« Reply #18 on: 31 December, 2011, 09:44:23 »
0

The "install the CAS OS" words usually refer to permanent install, as opposed to hot-launching ala RunOS/OSLauncher.
And if it were easy enough to do, it would probably have been done in the two past years ("plop from inside" was showcased on December 30th, 2009) Wink

The most obvious solution, for achieving permanent install, is factoring the public RSA signing keys used by TI (especially that of the boot2) to deduce the private key. But factoring the Nspire's RSA keys (1024-bit keys on the Clickpad & Touchpad, 2048-bit keys on the CX) is several million times harder than factoring the TI-68k & TI-Z80 512-bit RSA signing keys. This shifts the factorization problem from
something a single quad-core computer can do in less than a month (512-bit RSA key)
to
something which even the leading-edge researchers of the domain, equipped with academic resources amounting to hundreds of computers for years, haven't done yet and are unlikely to do before years (1024-bit RSA key)

This is assuming that
1) the only algorithm which is not hopeless for the task, named Number Field Sieve, is used for the factoring work;
2) the closed-source implementations made by these researchers are used; to date, two years after the factorization of RSA-768, the open-source implementations are not able to replicate it, because there have bottlenecks on basically all five steps of the factorization, which the leading-edge programs have eliminated by now.

IOW, the solution of factoring the RSA signing keys is completely ruled out - it would be like winning at multiple (or even many, in case the hopeless trial factoring is used) lotteries Smiley
Logged

Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Online Online

Gender: Male
Last Login: Today at 08:58:01
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50600


Total Post Ratings: +2634

View Profile WWW
« Reply #19 on: 31 December, 2011, 09:47:13 »
0

Also if we managed to factor 0.1% of the 2048 bit keys, TI would immediately switch to 4096 bit keys.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
willrandship
Omnimagus of the Multi-Base.
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: Yesterday at 05:14:49
Date Registered: 11 April, 2010, 03:08:32
Location: Between Venus and Mars
Posts: 2651


Total Post Ratings: +65

View Profile
« Reply #20 on: 01 January, 2012, 10:31:50 »
0

But they can't change the hardware ones. ie boot 1, which means the boot 2 will always be constant. We'll just see another calc model.
Logged

Illumio
LV1 Newcomer (Next: 20)
*
Offline Offline

Gender: Male
Last Login: 07 October, 2012, 21:17:58
Date Registered: 28 December, 2011, 06:09:59
Posts: 12

Topic starter
Total Post Ratings: 0

View Profile
« Reply #21 on: 22 January, 2012, 18:45:15 »
0

Woop!  Ndless 3.1 Beta is released!  So what to do now with this topic?
Logged

Spheres and Cubes.


NerdTests.com says I'm a High Nerd.  Click here to take the Nerd Test, get geeky images and jokes, and talk to others on the nerd forum!


For Science! And Math! And other things!
Lionel Debroux
LV10 31337 u53r (Next: 2000)
**********
Online Online

Gender: Male
Last Login: Today at 08:41:38
Date Registered: 17 December, 2009, 09:37:25
Location: France
Posts: 1915

Total Post Ratings: +215

View Profile WWW
« Reply #22 on: 22 January, 2012, 18:59:20 »
0

There's nothing new Smiley
OSLauncher has not been demonstrated on the CX (CAS), AFAWCT. It may be more, or less, reliable than on Clickpad / Touchpad Nspires... we don't know Smiley

For updated versions, the structure of the core of OSLauncher (few C statements, posted below) shouldn't change. But the code needs work in at least two directions:
* porting from the Ndless 1.7/2.0 API to the Ndless 3.1 API: replacing show_dialog_box2 with the appropriate equivalent. That should be trivial;
* adapting to the CX hardware. For one thing, one of the C statements I posted below will have to change; maybe it's enough. The thing is, I'd rather someone else - specifically, someone with more than one CX calculator - do the testing Wink

[EDIT: add note about CX porting work, make a bullet list.]
« Last Edit: 22 January, 2012, 21:18:05 by Lionel Debroux » Logged

Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.
compu
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
Last Login: Yesterday at 20:15:14
Date Registered: 09 January, 2011, 22:45:52
Location: Germany
Posts: 229

Total Post Ratings: +53

View Profile
« Reply #23 on: 22 January, 2012, 19:51:50 »
0

OSLauncher does not permanently install the CAS OS, it merely hot-launches it (and often fails to, for some reason nobody has bothered to investigate). The Press To Test (PTT) mode triggers a reboot and therefore undoes the effect of OSLauncher anyway, so you wouldn't have to do anything yourself, for your calculator to be usable in standardized tests Smiley

I have done some tests with OSLauncher and I found out that it freezes when you touch the touchpad while launching or start OSLauncher with the touchpad-click instead of enter.
When an OS is launched with the enter-key, I have never experienced any problems. Maybe this helps you to find the bug Huh?
« Last Edit: 22 January, 2012, 19:53:28 by compu » Logged

Nspire I/O Discussion|Website - cross-compatible with Prizm!
TI-Nspire Programming Statistics
Lionel Debroux
LV10 31337 u53r (Next: 2000)
**********
Online Online

Gender: Male
Last Login: Today at 08:41:38
Date Registered: 17 December, 2009, 09:37:25
Location: France
Posts: 1915

Total Post Ratings: +215

View Profile WWW
« Reply #24 on: 22 January, 2012, 21:10:36 »
0

It may indeed mean something... but actions on the touchpad (or anywhere else) shouldn't matter, because the core of OSLauncher runs with interrupts disabled (it's the first of the few C statements I mentioned above), so I'm confused as well...


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
    // Killing all interrupts is necessary (exercise for the reader: why ?)
    *((uint32_t *)0xDC00000C) = 0xFFFFFFFF;

    __builtin_memset((void *)0x10000000, 0, 0x02000000);
    // Useful ?
    __builtin_memcpy((void *)0x10000000, dest, ziphdr.usize);
    // Useful ?
    __builtin_memcpy((void *)0x00000000, (void *)0x10000000, 0x40);

    // This is also necessary (exercise for the reader: why ?)
    *((uint32_t *)0xC000001C) &= ~((1 << 0) | (1 << 11));

    // Launch the OS.
    asm volatile(
    ".arm \n"
    "mov lr, pc\n"
    "ldr pc, =0x10000000\n"
    );
Logged

Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.
Illumio
LV1 Newcomer (Next: 20)
*
Offline Offline

Gender: Male
Last Login: 07 October, 2012, 21:17:58
Date Registered: 28 December, 2011, 06:09:59
Posts: 12

Topic starter
Total Post Ratings: 0

View Profile
« Reply #25 on: 22 January, 2012, 21:25:06 »
0

So I guess the only answer for now is that only time will tell.
Logged

Spheres and Cubes.


NerdTests.com says I'm a High Nerd.  Click here to take the Nerd Test, get geeky images and jokes, and talk to others on the nerd forum!


For Science! And Math! And other things!
Jim Bauwens
Lua! Nspire! Linux!
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 00:06:13
Date Registered: 28 February, 2011, 22:32:12
Location: Belgium
Posts: 1736


Total Post Ratings: +180

View Profile WWW
« Reply #26 on: 22 January, 2012, 21:26:18 »
0

Even though I don't know that much, I'll try do your exercises Cheesy
 

1
2
3
4
   
// Killing all interrupts is necessary (exercise for the reader: why ?)
*((uint32_t *)0xDC00000C) = 0xFFFFFFFF;
To make that the new OS doesn't receive signals it doesn't need, and don't its the only thing that runs?


1
2
3
// This is also necessary (exercise for the reader: why ?)
*((uint32_t *)0xC000001C) &= ~((1 << 0) | (1 << 11));
I think you reset the LCD to some initial parameters (LCD controller enable and LCD power enable?), so that the new OS can initialize everything how it wants?


I think I should learn some ARM asm and everything that goes with it Cheesy
Logged

Lionel Debroux
LV10 31337 u53r (Next: 2000)
**********
Online Online

Gender: Male
Last Login: Today at 08:41:38
Date Registered: 17 December, 2009, 09:37:25
Location: France
Posts: 1915

Total Post Ratings: +215

View Profile WWW
« Reply #27 on: 23 January, 2012, 22:21:41 »
0

Jim: 1/2 mark, as mentioned on IRC Wink

For OSLauncher updates, see also http://www.omnimaga.org/index.php?topic=7787.msg226486#msg226486 and below Smiley
Logged

Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.
olivermadsen
LV1 Newcomer (Next: 20)
*
Offline Offline

Last Login: Today at 05:48:56
Date Registered: 12 January, 2012, 03:39:55
Posts: 19


Total Post Ratings: 0

View Profile
« Reply #28 on: 08 February, 2012, 19:03:10 »
0

The message i get from trying to use a regular touchpad nSpire with CAS commands is a message bow that tells me to buy a CAS. The CAS for regular nspire might not actually be good and my lead to the downfall of the nspire for things like the ACT because CAS calculators are not allowed to be used on it and if an OS included CAS functions, they might disallow all nSpires for the test. Take one for high school TI-nspire users out there and buy a CAS if you want it's features.
Logged
Lionel Debroux
LV10 31337 u53r (Next: 2000)
**********
Online Online

Gender: Male
Last Login: Today at 08:41:38
Date Registered: 17 December, 2009, 09:37:25
Location: France
Posts: 1915

Total Post Ratings: +215

View Profile WWW
« Reply #29 on: 08 February, 2012, 19:26:06 »
+1

Quote
The message i get from trying to use a regular touchpad nSpire with CAS commands is a message bow that tells me to buy a CAS
Which is natural if the Nspire is running the non-CAS OS Smiley

Quote
The CAS for regular nspire might not actually be good and my lead to the downfall of the nspire for things like the ACT because CAS calculators are not allowed to be used on it and if an OS included CAS functions, they might disallow all nSpires for the test.
Simply put, this is a completely irrational fear Wink
Not least because the Nspire has a PTT mode much more efficient than of the 84+(SE).


People who live in the many countries possessing restrictions such as "CAS forbidden" in standardized tests - no matter how utterly disconnected from real-world usage, and therefore stupid, they are - may want to campaign against that kind of brain-damage, and the incompetents supposed to regulate standardized tests.
In France, where I live, CAS functionality is allowed, and the non-CAS Nspire, whose math functionality is roughly equivalent to that of the cheaper, more programmable and highly popular 83+(SE)/84+(SE), is hard to find in stores. People stick to the programmable and once popular TI-68k series... or buy the overpriced CAS Nspires and help the profit margin of TI and distributors.
Indeed, CAS Nspires are sold at higher price tags than the non-CAS Nspires, though the CAS models cost less to manufacture (no interchangeable keyboards), and their OS had lower development costs (they had to do the CAS version anyway; the non-CAS OS required extra development effort for replacing functions with stubs which tell people to buy a CAS, and also for building the slow, incomplete and buggy 84+ emulator. On the CX series, the keyboard is not interchangeable, but the unjustified extra price tag of the CAS OS remains.
Logged

Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.
Pages: 1 [2] 3   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.395 seconds with 29 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.