Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HP Prime port #534

Closed
wants to merge 15 commits into from

Conversation

@boricj
Copy link
Contributor

commented Jun 3, 2018

... but I did it anyway.

@boricj boricj referenced this pull request Jun 3, 2018
10 of 17 tasks complete
@boricj

This comment has been minimized.

Copy link
Contributor Author

commented Jun 3, 2018

Note: the PRIME_OS.ROM file generated doesn't seem to work on real hardware. I can successfully sideload and run the ELF program with my GDB stub on the real hardware as well as running it inside @Gigi1237's emulator using a really old NAND image as a source. Will need to investigate this later.

Silly me, I forgot to clear the caches and lit the backlight.

@Ecco

This comment has been minimized.

Copy link
Contributor

commented Jun 4, 2018

😀 Next up, porting to Epsilon to your toaster?

@boricj boricj force-pushed the boricj:hp_prime branch 2 times, most recently from e729bcf to e11ac88 Jun 4, 2018

@boricj

This comment has been minimized.

Copy link
Contributor Author

commented Jun 4, 2018

😀 Next up, porting to Epsilon to your toaster?

Come on, that's way too obvious. Come to think of it, there's a couple of entry-level calculators from a couple of companies that have seen no software updates for a couple of years that could use an epsilon port and a couple of very, very snarky tweets...

A very tempting idea indeed, but I don't have that kind of free time to spend on overly elaborate practical jokes. Besides, I prefer my graphing calculators with color screens ^_^

@debrouxl

This comment has been minimized.

Copy link
Contributor

commented Jun 5, 2018

Entry-level calculators from two different companies which received no updates in the past few years... the HP 39gII and the Nspire CM (CAS), both of which use ARM processors ?

@adriweb

This comment has been minimized.

Copy link
Contributor

commented Jun 5, 2018

The HP 39gII doesn't have a color screen, though :P
And on the Nspire, an Nspire CX port would be more useful than a CM one, at least in terms of theamount of users... that said the port would likely be the same (except the LCD differences for W+ HW CX revisions)

@boricj

This comment has been minimized.

Copy link
Contributor Author

commented Jun 5, 2018

@debrouxl @adriweb You're way overthinking this. When I say I prefer my graphing calculators with color screens, that means I'm making fun of monochrome calculators, specifically the Casio Graph 25+E and TI-82 Advanced, both of which according to the latest TI-Planet's QCC haven't seen software updates since 2010 and 2015 respectively.

@boricj boricj force-pushed the boricj:hp_prime branch from d973cf8 to d0e1e0e Jun 13, 2018

@includereserved

This comment has been minimized.

Copy link

commented Jul 19, 2018

Thanks a lot for doing this. Does it support the touchscreen?

@boricj

This comment has been minimized.

Copy link
Contributor Author

commented Jul 20, 2018

It does not. We don't know how to use the touchscreen on bare-metal yet and escher has no concept/support for mouse/touch events anyways.

I intend to work again on this whenever I get a bit of free time and fix/clean stuff. Obviously we can't expect the NumWorks team to merge this and then support/maintain code to run on a competitor's calculator, but I'd like to merge at least the platform-specific scaffolding (~first two commits) which are not HP Prime-specific.

I could unearth my RTC pull request and add a clock to this port too, but I don't want to go down the road of maintaining a full-blown fork either...

@justgerd

This comment has been minimized.

Copy link

commented Oct 20, 2018

Can we get a screenshot?

well, more like photo 😂

@boricj

This comment has been minimized.

Copy link
Contributor Author

commented Oct 20, 2018

There should be a couple of those on TI-Planet. I do intend to work again on this on the HP Prime G2 hardware someday as it'll hopefully be much less of a pain to work with for homebrews, but I need to get my hands on one first (and HP doesn't seem to be in a hurry to make those available in France).

@debrouxl

This comment has been minimized.

Copy link
Contributor

commented Oct 21, 2018

The Prime G2 can be bought from abroad, but yeah, (most ?) French resellers seem to be trailing behind. This model is more locked down than the older Primes, but for now, it supposedly remains open to third-party development... it's just that AFAIK, nobody has reverse-engineered the boot code enough so as to understand how to produce compatible firmware upgrades (if that's even possible) or worked on lower-level approaches, such as the ones you wanted to pursue.

@boricj

This comment has been minimized.

Copy link
Contributor Author

commented Oct 21, 2018

Given the few clues we have so far, I would assume that while HP's firmware does enforce a chain of trust, the i.MX 6ULL itself is not locked down and entering the SoC's recovery mode will yield unsigned code execution (i.e. there's no root of trust actually enforced). That's only speculation though, but it does imply we can't modify the original firmware without patching out the chain of trust first. Completely custom firmware from the ground up should not have this issue.

@LeaNumworks LeaNumworks force-pushed the numworks:master branch from 2f31f04 to f30df04 Nov 23, 2018

@boricj

This comment has been minimized.

Copy link
Contributor Author

commented Mar 19, 2019

It's been fun and all, but I don't think I'll work on this specific port anytime soon.

@boricj boricj closed this Mar 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants
You can’t perform that action at this time.