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

0 Members and 1 Guest are viewing this topic.

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #645 on: January 26, 2013, 07:10:34 pm »
Quote
Edit: Heh
There were at least 3 discussions about linux before you began working on it :D

Quote
@Vogtinator, we could use this to write a read-only filesystem driver for FlashFX and Reliance? http://ourl.ca/99835
I already added this page to my favourites three days ago ;)
The part about reliance is useless, "INOD" is actually just a tiny part of the whole:
http://ftp.icpdas.com/pub/beta_version/WinPac-8000/flashfx/dcl/common/loader/reliance/dlrelcore.h
Sadly they use FlashFX Tera instead of FlashFX Pro 3.0, but vfbdump.c seems to support both.

Daniel, you forgot to add include/linux/mtd/nspire_cx_nand.h :(

Ooops, uploaded now.

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #646 on: January 26, 2013, 10:27:10 pm »
what is the command to exit linux?
This used to contain a signature.

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #647 on: January 26, 2013, 10:28:06 pm »
Reboot? :P

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #648 on: January 26, 2013, 10:29:10 pm »
reboot :P

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #649 on: January 26, 2013, 10:34:11 pm »
is this the only way?
This used to contain a signature.

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #650 on: January 26, 2013, 10:35:29 pm »
is this the only way?

Well, yeah. Once Linux is booted, the nspire OS doesn't exist in memory anymore so there's nowhere to exit to.

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #651 on: January 26, 2013, 10:36:30 pm »
If nspire os is gone, where does rebooting get it from?

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #652 on: January 26, 2013, 10:37:40 pm »
If nspire os is gone, where does rebooting get it from?

Basically, on reset, control is handed back to the bootloader which loads the nspire OS from flash again.

@Vogtinator, also, flash write support is tested to be broken - lots of 'I/O error' and my calculator didn't brick.
« Last Edit: January 26, 2013, 10:42:00 pm by tangrs »

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #653 on: January 27, 2013, 04:06:15 am »
Ok, I'll try to get an image of the "filesystem?".
« Last Edit: January 27, 2013, 04:06:39 am by Vogtinator »

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 #654 on: January 27, 2013, 08:37:48 am »
@epic if that's not clear enough, think of it like this:

When the calculator boots, it loads the OS from the NAND, and copies it into the RAM. For all intents and purposes, that NAND no longer needs to exists for running the OS.

When you launch linuxloader, you start a program that causes the RAM to drop the OS entirely, and replace it with linux. Note that the NAND is unaffected. There is no OS to resume, only the Linux setup you have. Since we don't even have a working NAND driver for linux yet, having it reload the OS is pretty much impossible (and unnecessary, as rebooting is the same process)

Offline Hooloovoo

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 225
  • Rating: +22/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #655 on: January 29, 2013, 08:32:23 am »
I haven't had very much time lately, but X still does not work for me. I am getting an error like fatal server error: no screens found. I probably just havent enabled the right setting in the kernel.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale." -tr1p1ea
Spoiler For some of the calcs I own:



(actually I have quite a few more than this, but I don't feel like making bars for them all.)

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #656 on: January 29, 2013, 09:14:57 am »
Quote
I haven't had very much time lately, but X still does not work for me. I am getting an error like fatal server error: no screens found. I probably just havent enabled the right setting in the kernel.
You don't need to change anything, if you can see the framebuffer-console everything is set up correctly.
Do you have the latest kernel and rootdisk? What calculator are you using?

Offline Hooloovoo

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 225
  • Rating: +22/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #657 on: January 29, 2013, 09:20:07 am »
The kernel on tiplanet does not work. It mounts the rootfs as read-only, so I compiled my own. I am using the xconfig rootfs on tiplanet and a clickpad.
« Last Edit: January 29, 2013, 09:27:54 am by fortytwo »
"My world is Black & White. But if I blink fast enough, I see it in Grayscale." -tr1p1ea
Spoiler For some of the calcs I own:



(actually I have quite a few more than this, but I don't feel like making bars for them all.)

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #658 on: January 29, 2013, 09:27:42 am »
Quote
The kernel on tiplanet does not work. It mounts the rootfs as read-only
Corrupted download I think. Which image do you use? X and booting from flashdrive?

Offline Hooloovoo

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 225
  • Rating: +22/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #659 on: January 29, 2013, 09:29:20 am »
xconfig_latest from a flash drive. And I don't think its corrupted. I downloaded it multiple times and got the same result.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale." -tr1p1ea
Spoiler For some of the calcs I own:



(actually I have quite a few more than this, but I don't feel like making bars for them all.)