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

0 Members and 2 Guests are viewing this topic.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #510 on: December 17, 2012, 01:22:42 am »
It's not needed anymore, so I deleted the patch.

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 #511 on: December 17, 2012, 01:23:54 am »
I think this patch (or something close to it) was integrated to the nspire-linux tree.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline InspiredByCas

  • LV3 Member (Next: 100)
  • ***
  • Posts: 44
  • Rating: +4/-1
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #512 on: December 17, 2012, 05:07:40 am »
And I thought, the patch would be in the new linuxloader...

Offline Alex

  • LV2 Member (Next: 40)
  • **
  • Posts: 32
  • Rating: +3/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #513 on: December 17, 2012, 01:51:03 pm »
When would be released an official version with Tutorial?

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #514 on: December 17, 2012, 02:16:24 pm »
Every version you can find here is official ;-)
Here should be everything you need, only for an initrd and/or rootfs you have to look around these 35 pages :-P

Offline iPwn36

  • LV0 Newcomer (Next: 5)
  • Posts: 2
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #515 on: December 17, 2012, 05:08:43 pm »
Thanks vogt, now to figure out how to use wpa_supplicant...

Offline Alex

  • LV2 Member (Next: 40)
  • **
  • Posts: 32
  • Rating: +3/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #516 on: December 18, 2012, 02:42:32 pm »
Every version you can find here is official ;-)
Here should be everything you need, only for an initrd and/or rootfs you have to look around these 35 pages :-P
Ok but i'm lost in all these versions :$ . I read a little bit english so I find it's to hard to read all the 35 pages :/ . What I must to do to have grafics gui? or usb and keyboard?

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #517 on: December 18, 2012, 03:09:08 pm »
For graphics you don't need anything special besides the usual usb setup.
You only need an USB hub which you can connect to the nspire and to external power.
Any USB stick, keyboard and mouse should work out of the box, to use X you have to find the right rootfs image.
I think it's this one, but I'm not sure.

Offline Alex

  • LV2 Member (Next: 40)
  • **
  • Posts: 32
  • Rating: +3/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #518 on: December 19, 2012, 11:03:38 am »
Ok thanks.

Offline floris497

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 210
  • Rating: +8/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #519 on: December 19, 2012, 01:09:38 pm »
Is there a special extension you need for the usb drive? like ext*, MS-DOS or something else?

Offline InspiredByCas

  • LV3 Member (Next: 100)
  • ***
  • Posts: 44
  • Rating: +4/-1
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #520 on: December 20, 2012, 01:18:48 pm »
Is there a special extension you need for the usb drive? like ext*, MS-DOS or something else?

with a unix system, just copy it with dd on the drive, tripple-check your spelling, otherwise all your data will get destroyed.
the dd command formats it in the right format, I think ext2 in this case.

edit: sorry, this is just possible if the file has a .ext2 ending. othwerwise just format your stick with ext4 (or any other ext*) and copy all the data in the folder . in ther archive on the stick.

What must I write to tell linux to use a partition of my stick as swap? (it is formatted as swap)

ps: my usb power supply is finished (the circuit part). It works quite good, I just have to buy more powerful batteries (~500mAh). I can even connect my little USB HDD, one without external power supply, all power is given by the USB, in my case my circuit. I will publish pictures soon. The HDD eats up to 0.6A.


OMG: If I get a kernel panic beacuse it can't find my root fs on my stick, after a couple of minutes some text output about EHCI controllers is running over the screen until i hard reset my calc... I thought, a kernel panic would total crash the kernel and nothing will happen anymore?

Just tried my first attempts with USB booting, fails with kernel paic about no root fs... Any ideas?
-Stick properly formatted and data on it
-right files used (vogtinator's)
-Stick is recognized (as sda)
« Last Edit: December 20, 2012, 04:54:12 pm by InspiredByCas »

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #521 on: December 21, 2012, 04:14:59 am »
Is there a special extension you need for the usb drive? like ext*, MS-DOS or something else?

with a unix system, just copy it with dd on the drive, tripple-check your spelling, otherwise all your data will get destroyed.
the dd command formats it in the right format, I think ext2 in this case.

edit: sorry, this is just possible if the file has a .ext2 ending. othwerwise just format your stick with ext4 (or any other ext*) and copy all the data in the folder . in ther archive on the stick.

What must I write to tell linux to use a partition of my stick as swap? (it is formatted as swap)

ps: my usb power supply is finished (the circuit part). It works quite good, I just have to buy more powerful batteries (~500mAh). I can even connect my little USB HDD, one without external power supply, all power is given by the USB, in my case my circuit. I will publish pictures soon. The HDD eats up to 0.6A.


OMG: If I get a kernel panic beacuse it can't find my root fs on my stick, after a couple of minutes some text output about EHCI controllers is running over the screen until i hard reset my calc... I thought, a kernel panic would total crash the kernel and nothing will happen anymore?

Just tried my first attempts with USB booting, fails with kernel paic about no root fs... Any ideas?
-Stick properly formatted and data on it
-right files used (vogtinator's)
-Stick is recognized (as sda)

You probably need to add a rootdelay=5 to your kernel command line since you need to give the USB device time to initialize.

Remember to read the Wiki section on USB host (http://hackspire.unsads.com/wiki/index.php/Linux#USB_Host)

Offline InspiredByCas

  • LV3 Member (Next: 100)
  • ***
  • Posts: 44
  • Rating: +4/-1
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #522 on: December 21, 2012, 06:53:49 am »
I did all this already...

Cable is plugged in while still in OS mode, then booting the kernel via ll2 script (the rootdelay is set to 10). I plug my stick in when message appears and then it recognizes my hub and the stick as sda.
After serveral seconds I get the kernel panic.

I can't even mount the stick when I boot the kernel with an initrd and then plug my stick in and type 'mount /dev/sda' or something like this.
« Last Edit: December 21, 2012, 06:56:14 am by InspiredByCas »

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #523 on: December 21, 2012, 09:22:23 am »
I did all this already...

Cable is plugged in while still in OS mode, then booting the kernel via ll2 script (the rootdelay is set to 10). I plug my stick in when message appears and then it recognizes my hub and the stick as sda.
After serveral seconds I get the kernel panic.

I can't even mount the stick when I boot the kernel with an initrd and then plug my stick in and type 'mount /dev/sda' or something like this.


What are the specific error messages are you getting? I suspect a badly setup rootfs or root= kernel command line option.

Offline InspiredByCas

  • LV3 Member (Next: 100)
  • ***
  • Posts: 44
  • Rating: +4/-1
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #524 on: December 21, 2012, 09:58:46 am »
Ok, now it works... Just tried copying it with dd from an older root fs which had a .ext2 ending.

What was wrong withe way I created my oler root fs before?
-Ereased everything
-Created none/a GUID/a MBR partition table
-Created a ext4 partition
-Copied the data from Vogtinators archive on this partition


Edit: everything is fine. I tried it without partition table, now running.
I think I was too tired yesterday...
« Last Edit: December 21, 2012, 10:11:44 am by InspiredByCas »