Author Topic: Calling all Linux Kernel developers!  (Read 399605 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 #1110 on: July 10, 2014, 11:21:15 am »
You can build your own buildroot. But it will take some hours, depending on your machine.

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1111 on: July 10, 2014, 12:14:07 pm »
I have tried using buildroot, but I didn't see an option to compile gcc/g++. Also, whenever I try to make it, it fails with: "/bin/sed: no input files" I am building it on Debian in a virtualbox on Mac OS X Mavericks. I also tried it on an iMac G3 running Debian powerpc, but that failed too, with this error message: "*** glibc detected *** genext2fs: free(): invalid next size (fast): 0x105d4998 ***
======= Backtrace: =========
/lib/powerpc-linux-gnu/libc.so.6(+0x86ef4)[0xfec4ef4]
/lib/powerpc-linux-gnu/libc.so.6(cfree+0x8c)[0xfeca5ac]
genext2fs[0x10003c6c]
genext2fs[0x10007dc4]
genext2fs[0x1000d954]
genext2fs[0x1000dd74]
genext2fs[0x1000ec8c]
genext2fs[0x100011a8]
/lib/powerpc-linux-gnu/libc.so.6(+0x1fd4c)[0xfe5dd4c]
/lib/powerpc-linux-gnu/libc.so.6(+0x1ff10)[0xfe5df10]
======= Memory map: ========
00100000-00103000 r-xp 00000000 00:00 0          [vdso]
0fe1a000-0fe1d000 r-xp 00000000 08:03 129827     /lib/powerpc-linux-gnu/libdl-2.13.so
0fe1d000-0fe2c000 ---p 00003000 08:03 129827     /lib/powerpc-linux-gnu/libdl-2.13.so
0fe2c000-0fe2d000 r--p 00002000 08:03 129827     /lib/powerpc-linux-gnu/libdl-2.13.so
0fe2d000-0fe2e000 rw-p 00003000 08:03 129827     /lib/powerpc-linux-gnu/libdl-2.13.so
0fe3e000-0ffaf000 r-xp 00000000 08:03 129835     /lib/powerpc-linux-gnu/libc-2.13.so
0ffaf000-0ffbf000 ---p 00171000 08:03 129835     /lib/powerpc-linux-gnu/libc-2.13.so
0ffbf000-0ffc3000 r--p 00171000 08:03 129835     /lib/powerpc-linux-gnu/libc-2.13.so
0ffc3000-0ffc4000 rw-p 00175000 08:03 129835     /lib/powerpc-linux-gnu/libc-2.13.so
0ffc4000-0ffc7000 rw-p 00000000 00:00 0
0ffd7000-0ffdf000 r-xp 00000000 08:03 51766      /home/ivo/buildroot/output/host/usr/lib/libfakeroot-0.so
0ffdf000-0ffef000 ---p 00008000 08:03 51766      /home/ivo/buildroot/output/host/usr/lib/libfakeroot-0.so
0ffef000-0fff0000 rw-p 00008000 08:03 51766      /home/ivo/buildroot/output/host/usr/lib/libfakeroot-0.so
10000000-10012000 r-xp 00000000 08:03 371365     /home/ivo/buildroot/output/host/usr/bin/genext2fs
10021000-10022000 rw-p 00011000 08:03 371365     /home/ivo/buildroot/output/host/usr/bin/genext2fs
105bd000-105fc000 rwxp 00000000 00:00 0          [heap]
48000000-48020000 r-xp 00000000 08:03 129824     /lib/powerpc-linux-gnu/ld-2.13.so
48020000-48021000 rw-p 00000000 00:00 0
48021000-48022000 r--p 00021000 08:03 129824     /lib/powerpc-linux-gnu/ld-2.13.so
48022000-48023000 rw-p 00022000 08:03 129824     /lib/powerpc-linux-gnu/ld-2.13.so
48023000-48025000 rw-p 00000000 00:00 0
4802b000-4802d000 rw-p 00000000 00:00 0
48100000-48121000 rw-p 00000000 00:00 0
48121000-48200000 ---p 00000000 00:00 0
bfc22000-bfc43000 rw-p 00000000 00:00 0          [stack]
Aborted
make: *** [/home/ivo/buildroot/output/images/rootfs.ext2] Error 134
" It looks like it compiled the rootfs properly, but it couldn't make the image, it also fails if I tell it to make an ext4 image instead of ext2.

EDIT: I just tried rebuilding it without the ext2 filesystem, and it worked! but I still don't see gcc/g++ in the target packages... should I select binutils?
« Last Edit: July 10, 2014, 12:23:29 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 Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1112 on: July 11, 2014, 03:49:00 pm »
Quote
but I still don't see gcc/g++ in the target packages... should I select binutils?
I don't know how the option is called, but you can always show all options in the config tool if you press 'z' and then '?' on the appropriate item to find out why it is disabled.

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1113 on: July 12, 2014, 08:48:22 am »
gcc/g++ still aren't there after I press 'z'. Also, whenever I startx the calc freezes
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 #1114 on: July 12, 2014, 09:10:26 am »
Quote
Also, whenever I startx the calc freezes
You should still be able to switch to another vtty using Ctrl-Alt-F1 and read the error there.

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1115 on: July 12, 2014, 02:59:00 pm »
Quote
but I still don't see gcc/g++ in the target packages... should I select binutils?
I don't know how the option is called, but you can always show all options in the config tool if you press 'z' and then '?' on the appropriate item to find out why it is disabled.

You have to enable "deprecated packages" or something like that. Anyway, gcc/g++ are really slow on the nspire, so there's not much of a point in using them.

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1116 on: July 12, 2014, 03:54:30 pm »
When I startx and switch back to ctrl-alt-F1 it says "xterm: Failed to open input method"
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 #1117 on: July 12, 2014, 03:57:50 pm »
Either something is broken in your buildroot or with the kernel.. What does /var/log/Xorg.0.log say?

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1118 on: July 12, 2014, 04:02:01 pm »
There is none  :(
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 #1119 on: July 12, 2014, 04:11:59 pm »
Somewhere there is one - maybe stdout of the Xserver?

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1120 on: July 12, 2014, 04:16:12 pm »
When I startx it complains about some xauth file not existing. It also complains about font files missing.
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 #1121 on: July 12, 2014, 04:19:01 pm »
Which buildroot config do you use? This is the one use for the xconfig image.

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1122 on: July 12, 2014, 04:30:40 pm »
I downloaded the tar.xz file from the TI-planet Linux build system
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 #1123 on: July 12, 2014, 05:44:53 pm »
Weird, I know that the latest "extended" kernel works fine together with the latest xconfig.

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1124 on: July 12, 2014, 06:25:26 pm »
I used these files:
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