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 - tangrs

Pages: 1 ... 3 4 [5] 6 7 ... 16
61
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 12, 2013, 12:45:20 am »
Can you post your bootscript and make sure you have the latest kernel?

62
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 07, 2013, 01:07:00 am »
So, after all of this hard work, what can you do on Linux? 

Pretty much anything you can do normally on a desktop Linux distro.

Quote
You use 80% of the available RAM so you can do what with it? 

You'd be surprised to know that Linux only uses about 8MB of RAM on my development build (potentially much lower without a ramdisk) which works out to be about 13% of the total available RAM on CX models (about 25% on the classic models). Nothing close to your estimate of 80%.

Of course, by today's desktop/laptop/mobile/tablet standards, the remaining 56MB wouldn't be enough to run anything. But in this case, we're talking about an embedded device running low overhead applications. In the embedded world of computing, 56MB is actually a huge amount of free memory with lots of potential. For example, I have in the past, ran a X server with Xterm, Xclock, Xeyes, Mathomatic open and plot a graph with GNUplot all at the same time with still plenty of RAM to spare.

Quote
Run small programs on it?

Sure, if that's what you want :)

Don't forget that we're aren't a corporation or business trying to 'sell' Nspire Linux. I ported Linux to the Nspire simply because I could and it's something I can enjoy working on. I didn't and still don't think about how this could be useful at all when I develop for it. Plus, I learned a ton about kernel development on the way.

And come on, when was there ever a time when Linux being ported to a new platform wasn't cool? :P

oh OK, still not very appealing to me until you make a video showing all of the cool stuff you can do on it. 

It's totally cool if you don't find it appealing. I understand that not everyone sees things that same way as some of us do.

As developers, we generally engage more with the people who are more interested in our work but, for the heck of it, here's a few videos from the past that shows some interesting things with Linux
















63
TI-Nspire / Re: Breakout board for the TI nSpire
« on: February 02, 2013, 04:44:24 am »
Ooh, count me interested! My home made ones are getting more annoying to fit on snugly every time. Looking forward to seeing the final product.

64
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: January 30, 2013, 05:46:31 am »
CONFIG_LOCALVETSION, too?

Oh, almost forgot that one. Yep, committed!

65
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: January 29, 2013, 07:33:27 pm »
I've just enabled CONFIG_LBDAF in the defconfig.

66
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: January 26, 2013, 10:37:40 pm »
If nspire os is gone, where does rebooting get it from?

Basically, on reset, control is handed back to the bootloader which loads the nspire OS from flash again.

@Vogtinator, also, flash write support is tested to be broken - lots of 'I/O error' and my calculator didn't brick.

67
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: January 26, 2013, 10:35:29 pm »
is this the only way?

Well, yeah. Once Linux is booted, the nspire OS doesn't exist in memory anymore so there's nowhere to exit to.

68
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: January 26, 2013, 10:29:10 pm »
reboot :P

69
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: January 26, 2013, 07:10:34 pm »
Quote
Edit: Heh
There were at least 3 discussions about linux before you began working on it :D

Quote
@Vogtinator, we could use this to write a read-only filesystem driver for FlashFX and Reliance? http://ourl.ca/99835
I already added this page to my favourites three days ago ;)
The part about reliance is useless, "INOD" is actually just a tiny part of the whole:
http://ftp.icpdas.com/pub/beta_version/WinPac-8000/flashfx/dcl/common/loader/reliance/dlrelcore.h
Sadly they use FlashFX Tera instead of FlashFX Pro 3.0, but vfbdump.c seems to support both.

Daniel, you forgot to add include/linux/mtd/nspire_cx_nand.h :(

Ooops, uploaded now.

70
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: January 26, 2013, 07:46:35 am »
Quote
Just emailed you something that may be of interest. Linux doesn't run on nspire_emu right now though
I read it, but seems to be not very useful :-(

Quote
I also added MTD partitions into the mix so you can dump your boot2 and diags via Linux if you really wanted to
Could you implement one for the filesystem, too?
I'd experiment a bit with flashfx support. (Which seems to be harder than reliance)

Quote
The worst that can happen is that I have to reinstall the OS
Actually (but not very likely) you could damage boot2 if you write to the wrong bytes.

You'll find that the filesystem partition already exists. I assumed the filesystem comes after diags (hence the question mark in the mtd partition list).

As to writing to boot2 accidentally, that should be mitigated because of partitioning. Linux won't let you write to something outside it's partition range.

Edit: Heh :P

@Vogtinator, we could use this to write a read-only filesystem driver for FlashFX and Reliance? http://ourl.ca/99835

71
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: January 26, 2013, 07:23:58 am »
Quote
Now, how should I test write support without killing it?
Use nspire_emu, even I wasn't able to brick it ;-)
If it works, test it on real hardware (Please do it, I don't want to brick mine :-) )
We really need to get linux running with nspire_emu, that would make thing
a lot easier

Just emailed you something that may be of interest. Linux doesn't run on nspire_emu right now though :(

I also added MTD partitions into the mix so you can dump your boot2 and diags via Linux if you really wanted to (USB Mass Storage eh?). The partitions are all marked read-only so it *shouldn't* be possible to brick your device. Also, beware, you might get some non-errorcorrected data since ECC isn't available right now.

As to testing write support, maybe I'll mark the filesystem partition writable, read a few bytes and save them, then write some garbage and call sync. If I read the bytes and they are the same garbage values as I wrote, then it works (then restoring the bytes). The worst that can happen is that I have to reinstall the OS :P

72
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: January 26, 2013, 06:13:01 am »
I don't want to lose my loved boot2 ;)
Does is work in nspire emu?
You could easily compare the image with your bytes read.

Weird. It's the same but the bytes are reversed. :S

Never mind. Wrong parameters to hexdump.

Now, how should I test write support without killing it?

73
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: January 26, 2013, 05:32:51 am »
Woo!



NAND driver can be found in a separate tree on Github.

It detects the same two bad blocks on my NAND that diags detects but other than that, I haven't tested the driver at all. Anyone up to be a guinea pig and potentially screw up their NAND? :P

Also, no ECC support. Does anyone know the ECC settings?

74
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: January 26, 2013, 01:54:55 am »
NAND driver is coming along slowly. I got it to detect the chip properly at the very least. :D


75
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: January 25, 2013, 04:59:08 am »
Finding anything, even in a 2MB file, isn't even that easy. I have been searching through a 2 MB SNES rom and didn't find the SNES mouse BIOS for over a week. Wasn't what I was looking for. I still haven't found all of that.

There's a few tricks I use to narrow the search down. First is to do a string search and sniff around places that look right. Second is to hack nspire_emu to break into the debugger when certain IO ports are written to.

I'm pretty sure there're better ways but it works :P

Edit: Managed to get a manufacturer ID from the NAND without crashing but it doesn't work if I peek and poke manually :S

Pages: 1 ... 3 4 [5] 6 7 ... 16