0 Members and 8 Guests are viewing this topic.
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
That time comparison seems a little off, depending on where nLaunch's exploit is. (I haven't used it since I currently don't have an nspire)If nlaunch starts loading before the RSA validation on the OS file would begin, then you should see a much faster boot time than the standard OS per MB.
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.
One easy way to reduce the x terminal screen size is to reduce its font size. It sets its dimensions to whatever is 80x24.
UpdateI'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
If you got this working would there be a way to get back to the normal OS?