Page 1 of 2

Windows 10 IoT is being ported to Prime G2 by imbushuo

Unread postPosted: 06 Nov 2019, 22:15
by rrryougi
https://twitter.com/imbushuo/status/119 ... 38784?s=21

As we know, Prime G2 uses i.MX6 ULL which opens great opportunities for all kinds of hacking.
Zephray has reversed-engineered G2’s pinouts at https://zephray.me/post/hp_prime_g2_reverse_engineering
Now imbushuo is working on a Windows IoT (which supports ARM) port. UEFI is working now.

(Hey critor if you can still remember, I’m northern_snow.)

Re: Windows 10 IoT is being ported to Prime G2 by imbushuo

Unread postPosted: 06 Nov 2019, 22:20
by critor
Thanks, that's great.

Yes, I remember you. :)

Re: Windows 10 IoT is being ported to Prime G2 by imbushuo

Unread postPosted: 06 Nov 2019, 22:22
by Lionel Debroux
Thanks for the information :)
Technically, it's a good thing to see more development on the Prime G2. Windows 10 IoT and UEFI aren't the most efficient and portable things ever, but getting them to work is a clear testimonial to the raw power of the Prime G2. No other calculator comes close to its hardware characteristics, and the competition's certainly not going to be brought forward by TI (any time soon, or at all), since they've just decided not to make the Nspire CX II provide more RAM or Flash memory than the '2011 CX I...

Re: Windows 10 IoT is being ported to Prime G2 by imbushuo

Unread postPosted: 06 Nov 2019, 22:29
by rrryougi
BTW, Zephray has ported Linux to Prime G2. He is thinking about writing a suitable GUI but that will be a tedious project...

Re: Windows 10 IoT is being ported to Prime G2 by imbushuo

Unread postPosted: 06 Nov 2019, 22:36
by Lionel Debroux
A 320x240 screen (best in class, equal to a number of other models, but still) largely mandates the use of a specific UI, indeed.

The NumWorks UI could be made to run under Linux on the Prime G2.

I can't check right now, but did Zephray start the integration of his Linux port to mainline ? I successfully campaigned tangrs for doing so (and wrote the cover letter of the initial submission), because mainlining stuff is very important for the longer term, to reap the benefits of upstream maintenance and evolution.

Re: Windows 10 IoT is being ported to Prime G2 by imbushuo

Unread postPosted: 06 Nov 2019, 22:41
by rrryougi
I just asked Zephray. He said he patched some drivers which diverge from NXP’s original code, and that might be a problem to merge into mainline.

Re: Windows 10 IoT is being ported to Prime G2 by imbushuo

Unread postPosted: 06 Nov 2019, 22:48
by imbushuo
Registered an account :)

Porting Windows 10 IoT (or even Windows RT) is some sort of troll to me because there are people discussing about installing Windows on random devices in the past (I am the main contributor of Lumia950XLPkg too). Although the Windows part may not be practical for daily use (still fun anyway), the UEFI can be kept for some advanced capabilities.

UEFI work-in-progress here: https://github.com/imbushuo/PrimeG2Pkg, currently the UEFI needs to be paired with https://github.com/imbushuo/uboot.

Some thoughts for the future possibilities:
Booting Windows and Linux from USB (host mode is usable as of now, the posted tweet used that, still need to figure out 5V VBus assignment. Currently it is externally powered)

Booting the stock OS (maybe) from NAND

Utilities in UEFI (keypad and touch drivers are work-in-progress now)

Re: Windows 10 IoT is being ported to Prime G2 by imbushuo

Unread postPosted: 06 Nov 2019, 22:59
by Lionel Debroux
Welcome :)
Keep up the good work.

Re: Windows 10 IoT is being ported to Prime G2 by imbushuo

Unread postPosted: 06 Nov 2019, 23:00
by jean-baptiste boric
Oh boy, I was not ready for that X'D

About upstreaming stuff, we should start with U-Boot. Having a stable, standard and feature-complete bootloader for the HP Prime G2 would greatly help tinkering with alternative operating systems for the calculator.

Re: Windows 10 IoT is being ported to Prime G2 by imbushuo

Unread postPosted: 07 Nov 2019, 01:41
by rrryougi
Also here is a complete guide to install Linux on Prime G2 by Zephray:
https://github.com/zephray/prinux