Author Topic: Calling all Linux Kernel developers!  (Read 399924 times)

0 Members and 1 Guest are viewing this topic.

Offline Zeklandia

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 14
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #945 on: July 18, 2013, 11:25:45 am »
I still need to get one of the larger rootfs to work, and does anyone know how I can share internet to my nspire over USB? I have tried everything that normally works, but with the busybox rootfs, there is only one iface, lo.
Zeklandia
Linux, Android, Java, C/C++ Developer.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Re: Calling all Linux Kernel developers!
« Reply #946 on: July 18, 2013, 05:41:31 pm »
Question: If the HP Prime is eventually hackable ("HelPless" or "HPless" instead of "Ndless"?), do you have any plan to port this to that calc since it has a similar processor?

Offline Zeklandia

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 14
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #947 on: July 18, 2013, 08:28:33 pm »
Could somebody please help me figure out why I cannot use the larger rootfs files. I don't want to have to make an entire thread for it.
Zeklandia
Linux, Android, Java, C/C++ Developer.

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #948 on: July 18, 2013, 11:10:42 pm »
I don't know about the rootfs issue, but I use this usb hub along with this cable.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #949 on: July 19, 2013, 02:02:21 am »
Personnally I use my Dell screen's built-in hub and a cable I hacked together (female end of a USB prolongator + mini B cable with tihs mod). :P
Also lol Legimet that link you posted it's 1 cent + $4.99 shipping. XD

Also DJ I hope a HelPless won't be needed. D:
« Last Edit: July 19, 2013, 02:04:01 am by Streetwalker »

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Calling all Linux Kernel developers!
« Reply #950 on: July 19, 2013, 04:58:34 am »
Until proven otherwise (assuming it ever is), the HP Prime is a closed platform, like its closest ancestor the HP-39gII is. Arbitrary code execution exploits, and a framework for user native code programs, are necessary in that situation.

Once arbitrary code execution is achieved, if user interest is sufficient, an initial port of Linux is usually performed in several weeks. One of the clearest indications that the Nspire is not a cool platform to program on (no wonder, given the hardware limitations and the severe overpricing...) is the fact that it took more than two years from initial arbitrary code execution to an initial port of Linux, three years and a half between initial arbitrary code execution and initial mainline Linux integration.
With slightly less outdated hardware and a touch screen, the timeframe for Linux running on the HP Prime might be lower, we'll see.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #951 on: July 19, 2013, 05:15:28 am »
How much RAM does the Prime have already ?

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Calling all Linux Kernel developers!
« Reply #952 on: July 19, 2013, 05:31:28 am »
It's supposed to have 32 MB, i.e. the same as '2007 Nspires, and half of '2011 CX Nspires. But it's supposed to have a CPU 3x faster than the CX's CPU, and twice the amount of NAND Flash memory the CX has.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #953 on: July 20, 2013, 04:34:23 am »
Could somebody please help me figure out why I cannot use the larger rootfs files. I don't want to have to make an entire thread for it.

The larger rootfs is meant to be loaded onto a USB drive and booted from there. There's not enough RAM for it to work as an initrd.

Question: If the HP Prime is eventually hackable ("HelPless" or "HPless" instead of "Ndless"?), do you have any plan to port this to that calc since it has a similar processor?

I don't have plans to get a HP Prime but it does sound interesting. If there's documentation, I'm happy to give it a shot.
« Last Edit: July 20, 2013, 04:35:22 am by tangrs »

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Calling all Linux Kernel developers!
« Reply #954 on: July 20, 2013, 05:00:08 am »
The calculator isn't released yet :)
And before anybody can port Linux to it, we'll have to look for arbitrary code execution vulnerabilities...
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Re: Calling all Linux Kernel developers!
« Reply #955 on: July 20, 2013, 07:16:29 am »
I hope it doesn't take 3 years to hack the Prime like it did for the Nspire lol x.x (remember that 800+ posts United-TI topic?)

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #956 on: July 20, 2013, 08:31:42 am »
As long as HP is civil about programming support, hacking may not be required.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #957 on: July 20, 2013, 08:49:09 am »
Yeah, up until the 39gII all HP calcs officially supported native programming. Maybe it will be like the Casio PRIZM, who knows ? ;)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Re: Re: Calling all Linux Kernel developers!
« Reply #958 on: July 20, 2013, 12:27:06 pm »
As long as HP is civil about programming support, hacking may not be required.
Yeah I wouldn't be surprised if they let us hack their calcs if we play nice. As Streetwalker refers to, Casio didn't add native code support to the Prizm, but they didn't spend much effort locking it down yet, due to the lack of cheating tools. If HP added teacher modes to their calcs and hacking the calc compromised the restricted mode, then they'll most likely have a problem with it.

That said, unlike TI and Casio, it seems that the Prime has a very good BASIC language that can act as alternative to ASM for some games and softwares, much like the 39gII.

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #959 on: July 20, 2013, 10:42:52 pm »
Hi,

I'm adding hot swap support to the keypad driver. Could a couple of people test this with various keypads and report back whether it detected it correctly? If you could also include your keypad type/s and raw ADC value in your replies, it would be appreciated.

Cheers,