chld


ndless

is a exploit for the nspire series of ti calculators.

uxn39, a port of uxn38 to ndless

Ndless is a exploit for the ti nspire, which uses vulnerabilities in things like lua scripts or documents in the nspire OS to enable execution of arbitrary code. such code can be C, C++, and arm assembly. to create ndless programs for the ti nspire, you would need to build the ndless sdk.

linuxloader2

linuxloader2, or ll2 is a Ndless program that acts like a linux bootloader, allowing users to boot the linux kernel, with a rootfs (could be initramfs or from a usb drive) too.
you can try ll2 by grabbing the files from the nspire linux builds... but those are pretty old files. i reccomend compiling your own kernel for full hardware support, and getting a otg cable to use with a usb drive holding a rootfs for a good distro.

a basic guidefor vv

you will need want an otg cable, an usb flash drive 4gb at least, and ndless.

  1. download linuxloader2 onto your calculator
  2. grab a kernel and DTB from nspire linux builds
  3. transfer the files to your calculator. to organize, we'll put them in a folder - linux/
  4. get the usb flash drive and make one MBR ext4 partition, e.g.
    mkfs.ext4 -O ^64bit,^metadata_csum,^metadata_csum_seed,^encrypt,^project,^verity /dev/sda1  
  5. mount the ext4 partition, and extract xconfig or an arm rootfs of your choice to the usb drive
  6. unmount and eject the usb drive
  7. make a cfg.ll2.tns on your calculator:
    
          kernel linux/zImage.tns
          dtb linux/dtb.tns
          cmdline root=/dev/sda1 rootdelay=20 debug
          boot
      
    ensure linuxloader2 is associated with ext.ll2 in ndless.cfg.dns
  8. profit

if you are broke and dont have a otg cable, use the initrd and change your cfg.ll2.tns:

  
    initrd linux/initrd.tns
    cmdline root=/dev/ram
  

tilp

tilp is a linking program for all ti calculators. i use it for my ti nspire on debian linux, works fine, mostly

quirks

tilp will fail to Dirlist if a folder - any folder on your calculator starts with a period. the reason for this i really dont know.

uxn39

uxn39 is a port of uxn38 to ndless. its based on uxn38 because it uses sdl1, which is the version of sdl ndless-sdk ships, making the port really easy to make. it was previously made by ai to test a concept, sorry! but it has now been rewritten by me and the source code is availible for everyone to see on srcdump - see uxn39 here

chld / blog / ndless