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

Pages: [1]
1
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: July 18, 2013, 08:28:33 pm »
Could somebody please help me figure out why I cannot use the larger rootfs files. I don't want to have to make an entire thread for it.

2
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: July 18, 2013, 11:25:45 am »
I still need to get one of the larger rootfs to work, and does anyone know how I can share internet to my nspire over USB? I have tried everything that normally works, but with the busybox rootfs, there is only one iface, lo.

3
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: July 17, 2013, 07:46:04 pm »
I finally got it to boot all the way to login, and then I decided to get a larger rootfs. I just tried the latest zImage and xconfig rootfs and it just displayed colored fuzz until I pressed the reset button to reboot. So I decided to switch to a defconfig kernel, and then it couldn't load the rootfs, so I hit reset again. Does it just sit on the fuzz for a long time (due to the 28mb rootfs?) or is the rootfs too big?

EDIT: I am currently testing all the different combinations of .tar.bz2 and .ext2.bz2 rootfs (I was using .ext2.bz2 before) and the last 2 days of rootfs and kernel builds.

EDIT 2: All of the kernels work, but only with the minimal (busybox only) rootfs. Otherwise it panics about mount_block_root and prepare_namespace and kernel_init_freeable.

Is it not going to be possible to use a larger rootfs due to RAM limitations? If so, since 16mb is too large, then what is the maximum size (using either the defconfig kernel or the expanded kernel)?

EDIT 3: Also, could someone direct me towards a compatible USB hub?

4
Wow, thanks for all of the help guys. I have been very busy for a while and was not able to keep track of this forum (Tapatalk support would be very useful). I am using nLaunch CX, so I shouldn't need to change that, should I? I will update ndless now.

Edit : Okay, is there a switching pack with r825 included, or do I just need to swap out the ndless_resources.tns to upgrade ndless?

Edit 2: Nevermind the last 2 posts, I swapped out the ndless_resources.tns and IT'S FIXED!!! Thank you all!

Merged the two other posts with this one as edits.
-Zeda

5
It must be caused by nLaunch. Here is the code I was using:

Code: [Select]
function on.paint(gc)
        gc:drawString((2+2),0,20)
end

Result:
Code: [Select]
5.0##########e-226
This only happened when using nLaunch to load ANY OS (not just CAS ones) on my CX non-CAS calculator.

6
News / Re: Turn your Nspire into a real clock!
« on: May 21, 2013, 06:23:23 pm »
I see that I am not alone. I wonder if he got it to work with nLaunch. Anyways, I am reinstalling nLaunch.

EDIT: Well I fucked up somewhere, now it does ABC12345F6U7 on boot...

EDIT: It's still fucked up, but I'm trying to save it. For a while I was using the non-CX switching pack. Now let's see if it works with the CX one.

EDIT: Fixed, Lua still doesn't work right, but nClock does so I'm done.

7
Apparently, when running the CAS OS on ANY NON-CAS CALCULATOR (regardless of CX) certain things do not work. For example, I made a simple Lua program to print 2+2. It prints 5.XXXXXXXXXXe-226 (or any other number similar to it) regardless of settings like Float number, angle unit (degree, radian), or auto vs. approximate answers. Which also explains why when I was playing CubeField, the highscore was also similar to 1.132458768087e+45 and Bloxorz was naming the levels in a similar manner (2.98721408137e-67 instead of 13). However, the Scratchpad and Math documents work fine. I do not know if the problem is caused by hardware differences between the CX and the CX CAS (I am using nLaunch to boot the CAS OS on my CX) or some ndless/Lua bug. This issue does not occur when using the CX OS 3.1 with ndless on the same calculator and seems to only effect Lua programs (and possibly nClock).

8
Apparently, when running the CAS OS on ANY NON-CAS CALCULATOR (regardless of CX) certain things do not work. For example, I made a simple Lua program to print 2+2. It prints 5.XXXXXXXXXXe-226 (or any other number similar to it) regardless of settings like Float number, angle unit (degree, radian), or auto vs. approximate answers. Which also explains why when I was playing CubeField, the highscore was also similar to 1.132458768087e+45 and Bloxorz was naming the levels in a similar manner (2.98721408137e-67 instead of 13). However, the Scratchpad and Math documents work fine. I do not know if the problem is caused by hardware differences between the CX and the CX CAS (I am using nLaunch to boot the CAS OS on my CX) or some ndless/Lua bug. This issue does not occur when using the CX OS 3.1 with ndless on the same calculator.

9
News / Re: Turn your Nspire into a real clock!
« on: May 21, 2013, 04:42:02 pm »
I found out what might be causing all of these:

Apparently, when running the CAS OS on ANY NON-CAS CALCULATOR (regardless of CX) certain things do not work. For example, I made a simple Lua program to print 2+2. It prints 5.XXXXXXXXXXe-226 (or any other number similar to it) regardless of settings like Float number, angle unit (degree, radian), or auto vs. approximate answers. Which also explains why when I was playing CubeField, the highscore was also similar to 1.132458768087e+45 and Bloxorz was naming the levels in a similar manner (2.98721408137e-67 instead of 13). However, the Scratchpad and Math documents work fine. I do not know if the problem is caused by hardware differences between the CX and the CX CAS (I am using nLaunch to boot the CAS OS on my CX) or some ndless/Lua bug. This issue does not occur when using the CX OS 3.1 with ndless on the same calculator.

10
News / Re: Turn your Nspire into a real clock!
« on: May 21, 2013, 07:10:46 am »
Yep, you fixed it. Now the issue is that it says that today (21 May 2013) is a Monday (It's Tuesday).

Could this have anything to do with the CAS OS? When I was using the CX OS it worked fine.

I'm gonna take a guess and say that the issue is here (line 509):

Code: [Select]
static short year_codes[] = {5, 4, 2, 0};
static short month_codes[] = {0, 3, 3, 6, 1, 4, 6, 2, 5, 0, 3, 5};
static char months[][4] = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"};
static char weekdays[][4] = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};

char * getWeekDay(int year, int month, int day) {
    int d = (year>>2)/25;
    int r = year - (d<<2)*25;
    return weekdays[(year_codes[d&3] + r + (r>>2) + ((r&3)==0) + month_codes[month-1] + day) % 7];
}

11
News / Re: Turn your Nspire into a real clock!
« on: May 20, 2013, 10:56:30 pm »
I cant edit the time, when i try to edit it the calculator crashes.

Hi,

Did you update your Ndless to a revision greater than the one indicated in the README ?

BTW, here is a message for everybody : nClock has some problems with daytime conversions, I'm aware of it but sadly have no time to solve it.
Basically there are three conversions, one is accurate (timestamp to day) but the two others are not (guessing weekday and day to timestamp) due to a float approximation : this is why you may enter two more days when configuring the time and may have a wrong weekday. Sorry about that..

I have that same issue. It only happened when I used nLaunch to load 3.2 and then switched back. Now it subtracts 2 from the Day upon entry (I put in 20, then select change date again and it says 18) and has the weekday wrong by one (adds one). What could be causing this? I rebooted several times after uninstalling nClock and then reinstalled it. The time had been reset, but loading nClock asked, "Is Tues -1, Jan 1970 correct?" (Whereas the actual time was set to 1 Jan, 1970).

12
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: May 17, 2013, 07:50:33 am »
I have both the large and small kernels, large and small initrd's, and 2 separate .ll2's for launching them, but both kernels give me the same rootfs error you got in the screenshot in the OP.

13
General Calculator Help / [ndless] OS 3.2 Text Formatting Backports
« on: May 17, 2013, 07:44:15 am »
The one thing that I miss about OS 3.2 is the text formatting functions, and now I get a message whenever I open the documents I made with it that says it was made with a newer version. Is there any chance that this could be backported to ndless on OS 3.1?

14
General Calculator Help / Re: Nspire CX CAS got sick after Ndless 3
« on: May 15, 2013, 09:14:28 pm »
Yes, that worked for me! Thanks for sharing that non-battery-pull solution! My fingernails thank you!

Pages: [1]