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

0 Members and 5 Guests are viewing this topic.

Offline qubicprograms

  • LV3 Member (Next: 100)
  • ***
  • Posts: 61
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #750 on: February 20, 2013, 12:00:25 am »
Thanks for the fonts, but it appears the fonts are already there, so how would I use them (e.g. how do I type the fontname, is it just the filename minus the .pcf.gz extention?)
I also saw a folder called "directfb examples" with some images. Is there a way to use the examples and/or view the images?
I support this kind of hacking: making things do things that those things weren't originally meant to do.

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 #751 on: February 20, 2013, 12:03:07 am »
No. You're just installing fonts into your X. The images are unrelated to xterm.

To use the font you want, use xterm -fn name without .pcf.gz
« Last Edit: February 20, 2013, 12:03:44 am by willrandship »

Offline qubicprograms

  • LV3 Member (Next: 100)
  • ***
  • Posts: 61
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #752 on: February 20, 2013, 12:39:23 pm »
Sorry, by "use" I meant open with some other program.

Is there a way to set which folder to use for fonts, whenever I use -fn [font name] it says "xterm cannot load font '[name]'". I used several different font names including: "4x6" and "4x6-ISO8859-1". The only exception is "6x13", which for some reason loaded fine.

Found blackbox, so now with it running in the background, all the X programs can fit in the window. Still would be nice to be able to us the smaller font. Would you happen to know where to find a 5x7 font?
I support this kind of hacking: making things do things that those things weren't originally meant to do.

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 #753 on: February 20, 2013, 04:31:11 pm »
If you open up this RPM in an archive manager you'll find a selection including 5x7

Offline qubicprograms

  • LV3 Member (Next: 100)
  • ***
  • Posts: 61
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #754 on: February 20, 2013, 04:39:59 pm »
Where do I put the fonts and are there commands I need to run to set a font up, there is no mkfontdir and the fonts that exist (other that 6x13.pcf.gz) won't open.
I support this kind of hacking: making things do things that those things weren't originally meant to do.

Offline Naruto1310

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 10
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #755 on: February 20, 2013, 04:46:40 pm »
How do I use the recent builds? I manage to run the first one with USB host function. But when I replace the zImage with one of the recent ones (tried expanded and defconfig), it gets suck after the "boot" line in the linuxloader. So I don't even get to connecting the rootfs. Is the bootscript still
Code: [Select]
kernel linux/zImage.tns
cmdline root=/dev/sda earlyprintk debug console=tty0 console=ttyAMA0,115200n8 rootdelay=10
boot
?

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 #756 on: February 20, 2013, 04:48:31 pm »
If you don't have mkfontdir, then you don't have the binaries necessary to do the more automatic font configuration. You'll have to build the font-utils tools from Xorg source, which I'm not going to help you with. Other people should be able to help, though.

I'm surprised it's not already in there. It's a standard part of xorg.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Calling all Linux Kernel developers!
« Reply #757 on: February 20, 2013, 04:52:11 pm »
So have people managed to get a few Linux softwares to run and is there a compatibility list somewhere? For example, would TilEm, ZSnes and the like run (even if slower)?

« Last Edit: February 20, 2013, 04:53:11 pm by DJ_O »

Offline qubicprograms

  • LV3 Member (Next: 100)
  • ***
  • Posts: 61
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #758 on: February 20, 2013, 05:25:21 pm »
@Naruto: Try doing the following:

1. Rename your "linux" folder to "linux old"
2. Create a new "linux" folder
3. Download all the files needed to run Linux (Do not use any of the ones you already have)
4. Place them in the new "linux" folder and try booting linux (use a initrd first to make sure it works)

This worked in my case.
I support this kind of hacking: making things do things that those things weren't originally meant to do.

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 #759 on: February 20, 2013, 05:27:53 pm »
@DJ zsnes will never run. It's half x86 assembly, and takes heavy advantage of x86 features that ARM doesn't have. You'd have much better luck by porting an ARM snes emulator.

Offline Naruto1310

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 10
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #760 on: February 21, 2013, 06:06:23 am »
@Naruto: Try doing the following:

1. Rename your "linux" folder to "linux old"
2. Create a new "linux" folder
3. Download all the files needed to run Linux (Do not use any of the ones you already have)
4. Place them in the new "linux" folder and try booting linux (use a initrd first to make sure it works)

This worked in my case.
The initrd works.
As I tried lauchning it using it using the latest rootfs, it displayed a lot more stuff than before. At the end it just repeated the line "can't run '/sbin/getty' no such file or directory", so I pressed the reset button. When the calculator reboots now, it just shows the loading screen background and the clock icon in the middle. I already tried accessing the service menu and doing a complete format. But after installing a new OS it still won't boot. What to do now?

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #761 on: February 21, 2013, 06:08:28 am »
@Naruto: Try doing the following:

1. Rename your "linux" folder to "linux old"
2. Create a new "linux" folder
3. Download all the files needed to run Linux (Do not use any of the ones you already have)
4. Place them in the new "linux" folder and try booting linux (use a initrd first to make sure it works)

This worked in my case.
The initrd works.
As I tried lauchning it using it using the latest rootfs, it displayed a lot more stuff than before. At the end it just repeated the line "can't run '/sbin/getty' no such file or directory", so I pressed the reset button. When the calculator reboots now, it just shows the loading screen background and the clock icon in the middle. I already tried accessing the service menu and doing a complete format. But after installing a new OS it still won't boot. What to do now?

There's a maintenance menu and a diagnostics menu. Which one did you boot to? Booting into diags and running the NAND tests has always worked for me.

Offline qubicprograms

  • LV3 Member (Next: 100)
  • ***
  • Posts: 61
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #762 on: February 21, 2013, 09:20:51 am »
Take out the battery, I've had to do that many times.

By rootfs do you mean the USB drive?
You may want to use the initrd and try to mount the USB flash drive in there, then use the device that works to boot (sda, sda1, ...) in your boot script.
Make sure to connect the OTG cable to the calculator before starting the bootloader.
« Last Edit: February 21, 2013, 09:23:36 am by qubicprograms »
I support this kind of hacking: making things do things that those things weren't originally meant to do.

Offline Naruto1310

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 10
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #763 on: February 21, 2013, 11:26:55 am »
There's a maintenance menu and a diagnostics menu. Which one did you boot to? Booting into diags and running the NAND tests has always worked for me.
Thanks, the calculator is booting again.

By rootfs do you mean the USB drive?
You may want to use the initrd and try to mount the USB flash drive in there, then use the device that works to boot (sda, sda1, ...) in your boot script.
Make sure to connect the OTG cable to the calculator before starting the bootloader.
Yes, I mean the USB drive.
When booting the initrd, how do I mount the USB drive as rootfs? If I mount it normally, it doesn't work right.
I am using the same setup that I used for running the first version that supported USB host. That version still works. Only the new builds are causing problems.

Offline qubicprograms

  • LV3 Member (Next: 100)
  • ***
  • Posts: 61
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #764 on: February 21, 2013, 06:06:39 pm »
When you plug in the USB does it come up with several debug messages.
To mount the flash drive type "mount /dev/[either sda or sda1] /mnt".
You can replace "/mnt" with an existing folder as the destination.
You should then be able to cd to the directory and view files.
What method are you currently using?
« Last Edit: February 21, 2013, 07:40:26 pm by qubicprograms »
I support this kind of hacking: making things do things that those things weren't originally meant to do.