Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - qubicprograms

Pages: 1 2 [3] 4 5
31
TI-Nspire / Re: Calling all Linux Kernel developers!
« 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.

32
TI-Nspire / Re: Calling all Linux Kernel developers!
« 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?

33
TI-Nspire / Re: Calling all Linux Kernel developers!
« 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?

34
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 19, 2013, 07:43:17 pm »
Where would you get those fonts?
Are they just normal ones from a computer?

35
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 19, 2013, 10:17:40 am »
No, I mean could you switch back and forth between Linux and the TI OS

36
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 19, 2013, 09:33:32 am »
1. Yes. Recompile the kernel with no USB debugging messages.
2. Yes. You should be able to just mount the rootfs on your virtual machine and modify the welcome message from there.
3. Not as far as I know. X was probably designed for larger screen sizes so the default window size is probably a reflection of that.
4. The borders and being able to drag stuff around is controlled by a window manager (which runs on X). twm is the one that looks most X-y but you can use others right up to Gnome/KDE (though, it'd probably be pretty slow).
5. I believe the directfb library will let you do that.

I guessed the welcome message was in a file (I think I found it once in the initrd) but I couldn't remember which one. Do you know which file it is stored in?

One easy way to reduce the x terminal screen size is to reduce its font size. It sets its dimensions to whatever is 80x24.

How would you do that? I tried running "xterm -fs 5 [or 3]" but nothing changed.

Update

I've started working on nLaunch integration. Basically, I'm writing up some software that will package up the kernel into a format that boot2 likes and will be launchable with nLaunch directly.

Pretty much everything is done but unfortunately, boot2 doesn't like the file I built and won't boot just yet. Once I solve this, we'll be able to boot Linux directly from boot2 without the Nspire software even existing (i.e. a 'permanent' installation).

This can save some a lot of loading time since we don't have to wait for boot2 to load a ~9MB OS into memory then load the ~2MB kernel + initrd afterwards - we can simply have boot2 load our 2MB kernel directly! This will reduce the time from cold boot to a Linux shell down to about 12-15 seconds. For reference, it normally takes ~50 seconds to get to a Linux shell from a cold boot.

I hope that post made sense. The hours of coding has messed with my brain a little XD

If you got this working would there be a way to get back to the normal OS?

37
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 18, 2013, 07:47:22 pm »
I assume you would have to compile it from source code to ARM?
Or is it just complicated to set up?

38
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 18, 2013, 03:12:11 pm »
From what I've read, GCC is not a good compiler to use on the nspire.
What compiler would you use instead?

EDIT: Also, a couple other things:
        1. Is there a way to disable the USB debug messages
        2. Is there a way to change the welcome message right before the "linucx login:"
        3. Is there a way to make the X terminal not extend off the screen
        4. Are the X programs supposed to have windows borders (to move them around and close them)
        5. Is there a way to draw pixels in C or C++ code as of yet

39
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 18, 2013, 12:09:32 am »
Do the terminal sessions only operate in X?

40
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 17, 2013, 03:31:23 pm »
What does Ctrl+Alt+F1 do? I don't have a powered hub yet, but I can try using my dad's unpowered one for now

41
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 17, 2013, 11:31:25 am »
Quote
After typing "fsck /dev/sda" before mounting: "fsck: fsck.auto: No such file or directory"
What distro do you use? They f**ked it up.

Sorry about not being clear enough, on the VM fsck worked, but the drive when used as the boot device on the calc still doesn't work.
The fsck: fsck.auto error is from when I tried the same thing on the calc...  :-\

Quote
The drive is accessible from Linux when booted with an initrd, and a USB keyboard works.
Then you should be able to use it as root=<drive>. You have to substitue <drive> with exactly the name of your drive you were able to mount.

Hmm... I'll try to mount it again to make sure that I'm mounting it right.
Does it make any difference that I have to use "mkdir disk" in media before doing "mount /dev/sda /media/disk" or it gives an error?

EDIT: The device mounts with sda1! I must have had that OTG bug that one time I tried to mount with sda1! Will try to mount it again.

EDIT: IT'S WORKING!!! It's loading now!  :w00t: Thank you!

EDIT: Oops... Typed "X", now there's a blank screen, what do I do now... (other than reboot)

42
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 16, 2013, 09:36:40 pm »
[Did this last night, was gone all day]
The drive is accessible from Linux when booted with an initrd, and a USB keyboard works. Was able to navigate to the files on the disk and edit them with nano, but running X and xcalc gave an error (something like "file doesn't exist"). Tried a flash drive with a FAT system (inside Linux), that didn't work...

Will try using fsck (I assume you mean in the VM...)

EDIT: After using fsck on the VM the drive still doesn't work. After typing "fsck /dev/sda" before mounting: "fsck: fsck.auto: No such file or directory"

43
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 15, 2013, 08:56:58 pm »
Disk /dev/sdb1: 1047 MB, 1047511040 bytes
33 heads, 61 sectors/track, 1016 cylinders, total 2045920 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdb1 doesn't contain a valid partition table

(This was manually typed)

44
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 15, 2013, 08:39:23 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

fdisk -l shows nothing, is that normal?  :-\
EDIT: Can't get it to work setting the disk value as /dev/sdb (or sdb1)

I read that article, that is actually why the read light is working again.

45
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 15, 2013, 07:56:03 pm »
On which device?

Oh, the read light is working again.

Pages: 1 2 [3] 4 5