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

0 Members and 3 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 #1095 on: July 08, 2014, 08:09:43 am »
Try to boot an initrd and mount the usb manually, does it work?

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1096 on: July 08, 2014, 09:20:08 am »
It works when I use the initrd but not when I try to boot from USB  :(
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1097 on: July 08, 2014, 09:28:45 am »
Did you add the correct dev file as "root=/dev/sdX" in the loader script?

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1098 on: July 08, 2014, 10:51:44 am »
My boot script thing is:


kernel linux/zImage_usb.tns
cmdline "root=/dev/sda1 rootdelay=5"
boot
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1099 on: July 08, 2014, 10:53:15 am »
I'm not 100% sure but you should omit the '"'s.

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1100 on: July 08, 2014, 11:38:59 am »
I'll try as soon as I get home, thanks for helping me!  :)
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1101 on: July 08, 2014, 04:29:36 pm »
I tried it without the '"'s but it still isn't working. The panic screen is a bit different though, I also tried upping the rootdelay to 10, but it doesn't work. p.s. How should I put the rootfs on the flash drive, I tried 'tar -xvf ../xconfig_latest.tar.xz' but it gave a bunch of errors about not being able to make links.
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1102 on: July 08, 2014, 04:33:45 pm »
Howto: Extract tar files onto a ext4 partition:
Code: [Select]
sudo -i
mkfs.ext4 /dev/sdbX
mount /dev/sdbX /mnt
tar -xvf xconfig_latest.tar.xz -C /mnt
umount /mnt
exit

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1103 on: July 08, 2014, 08:50:47 pm »
I did all of that except for the mkfs.ext4 /dev/sdbX What does that line do?
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1104 on: July 08, 2014, 09:07:21 pm »
That creates an ext4 filesystem.

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1105 on: July 08, 2014, 09:20:19 pm »
My computer (Debian) doesn't have the mkfs.ext4 command, was the period supposed to be a space? It doesn't have mkfs either. Also, what is the difference between the dtb and non dtb kernel?


EDIT: never mind, forgot to run it as root
« Last Edit: July 08, 2014, 10:03:39 pm by Ivoah »
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1106 on: July 08, 2014, 10:07:18 pm »
Still giving me a kernel panic, but I can boot using the initrd and chroot into the flash drive, however when I try to startx, it complains about /dev/tty0 not existing
« Last Edit: July 10, 2014, 11:03:14 am by Ivoah »
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1107 on: July 10, 2014, 11:03:46 am »
I finally got it working :w00t: I had to add init=/sbin/init to the kernel cmdline.
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1108 on: July 10, 2014, 11:07:24 am »
Great to hear you got it to boot! But init=/sbin/init shouldn't be needed as that's the default, weird.

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1109 on: July 10, 2014, 11:19:19 am »
Is there any way to gcc/g++ onto the flash drive/calculator so I can write/compile programs on the calc?
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3