Author Topic: Calling all Linux Kernel developers!  (Read 350821 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 #705 on: February 15, 2013, 12:59:06 pm »
You can type
Quote
kernel linux/zImage.tns
cmdline root=/dev/sda rootdelay=10
in manually to test it, if it works, save it as bootscript.
If you don't have any partitions on you usb drive, it should work. If you're using the first partition, you have to use /dev/sda1.

Offline qubicprograms

  • LV3 Member (Next: 100)
  • ***
  • Posts: 61
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #706 on: February 15, 2013, 06:44:27 pm »
I have updated ndless and all the Linux files on my calculator and the file system on the flash drive, but when it boots it comes up with a lot of errors (see attachment below, the errors have always said the same thing). The USB files are at sda (not sda1) because the read light came on with the sda command and not the sda1 version. Don't know what to do now... :-\ Correction, now the light isn't coming on at all... Under what conditions does that bug occur with the OTG cable where it isn't recognised?

Do you plug in the USB after the 10 seconds text, or does it matter?
Really hope I can get this to work, because Linux on a calculator is just plain cool!
I support this kind of hacking: making things do things that those things weren't originally meant to do.

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #707 on: February 15, 2013, 06:47:13 pm »
How are you preparing the USB drive?

Offline qubicprograms

  • LV3 Member (Next: 100)
  • ***
  • Posts: 61
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #708 on: February 15, 2013, 07:16:25 pm »
Linux virtual machine:
Downloaded the largest filesystem image
Pluged in USB flash drive
Formatted to ext2 filesystem with the name nSpireDisk
Mounted to /media/nSpireDisk
In a terminal ran: tar -xvf [image filename] -C /media/nSpireDisk
« Last Edit: February 15, 2013, 07:16:54 pm by qubicprograms »
I support this kind of hacking: making things do things that those things weren't originally meant to do.

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #709 on: February 15, 2013, 07:32:08 pm »
What does fdisk -l show?

Offline qubicprograms

  • LV3 Member (Next: 100)
  • ***
  • Posts: 61
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #710 on: February 15, 2013, 07:56:03 pm »
On which device?

Oh, the read light is working again.
« Last Edit: February 15, 2013, 07:56:35 pm by qubicprograms »
I support this kind of hacking: making things do things that those things weren't originally meant to do.

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #711 on: February 15, 2013, 07:57:53 pm »
On which device?

On your virtual machine.

To make sure USB host always works, try reading up http://hackspire.unsads.com/wiki/index.php/Linux#USB

Offline Vsod99

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +1/-1
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #712 on: February 15, 2013, 08:01:32 pm »
 So I open my linux loader and run this.
kernel linux/zImage.tns
initrd linux/initrd.tns
cmdline root=/dev/ram
boot
it runs a bunch of code and freezes at r4:00000000 r3:00000000
what do I do? thx in advance to anyone that helps
Sorry... I'm totally a n00b at this...

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #713 on: February 15, 2013, 08:07:31 pm »
So I open my linux loader and run this.
kernel linux/zImage.tns
initrd linux/initrd.tns
cmdline root=/dev/ram
boot
it runs a bunch of code and freezes at r4:00000000 r3:00000000
what do I do? thx in advance to anyone that helps
Sorry... I'm totally a n00b at this...

What if you add a rdsize 0x4000 before the boot?

Offline Vsod99

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +1/-1
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #714 on: February 15, 2013, 08:10:15 pm »
So I open my linux loader and run this.
kernel linux/zImage.tns
initrd linux/initrd.tns
cmdline root=/dev/ram
boot
it runs a bunch of code and freezes at r4:00000000 r3:00000000
what do I do? thx in advance to anyone that helps
Sorry... I'm totally a n00b at this...

What if you add a rdsize 0x4000 before the boot?
let me try.... do I run them as 2 seperate commands or all in one? for example rdsize 0x4000 (enter) boot or rdsize 0x4000 boot (enter)?
« Last Edit: February 15, 2013, 08:11:44 pm by Vsod99 »

Offline Vsod99

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +1/-1
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #715 on: February 15, 2013, 08:15:28 pm »
never mind, now it says hi, wtf are you doing with me? nanocx login: what do i do lol
« Last Edit: February 15, 2013, 08:15:47 pm by Vsod99 »

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #716 on: February 15, 2013, 08:18:13 pm »
never mind, now it says hi, wtf are you doing with me? nanocx login: what do i do lol

Huh?

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: Calling all Linux Kernel developers!
« Reply #717 on: February 15, 2013, 08:21:26 pm »
never mind, now it says hi, wtf are you doing with me? nanocx login: what do i do lol
Login with "root" password.
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline Vsod99

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +1/-1
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #718 on: February 15, 2013, 08:22:07 pm »
never mind, now it says hi, wtf are you doing with me? nanocx login: what do i do lol

Huh?
umm lol thats what the calc says ill try to get a screen

Offline Vsod99

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +1/-1
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #719 on: February 15, 2013, 08:29:26 pm »
Here we go: sry bout quality bad webcam
Never mind, thanks Levak didnt see your post earlier
now I would like to know how to set up a USB host lol
« Last Edit: February 15, 2013, 08:31:57 pm by Vsod99 »