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.


Topics - lolpro11

Pages: [1]
1
ASM / Creating Jazelle as an Extension on RISC-V
« on: November 28, 2023, 06:59:37 am »
Hello Everybody!
I was reading a thesis on Java execution on hardware and read this:  The hardware bytecode decoder logic is implemented in less than 12K gates.
Since that seems relatively easy, (compared to other CPU extensions), I would like to try to replicate it on RISC-V.
However, I don't know what the thesis' author was citing "ARM. Jazelle – ARM Architecture Extensions for Java Applications. whitepaper."
I can't find it anywhere on the internet. I think it's a private paper, but I think I can access it through my uni.
If anyone knows the DOI, please let me know.
Thanks!
https://hackspire.org/index.php/Jazelle

2
TI Calculators / Linux on TI-Nspire CX II !
« on: February 21, 2022, 03:19:36 am »
So I finally found a Linux setup that would work on a Linux CX II :D
https://github.com/lolpro11/linux/releases/tag/v1.0.0

This took about two years because there were no kernel configs that worked :(
Anyways, to install:

Partition a USB to ext4 (/dev/sdx1), with a MPR partition table(msdos in gparted) and optionally include some swap space (better than 64MB of RAM)
After partitioning, run `sudo mount /dev/sdx1 /mnt` (to mount) and `sudo bsdtar xzvf ArchLinuxARM-kirkwood-latest.tar.gz -C /mnt` (to extract the rootfs on the USB)
Boot Arch Linux on your calculator, which should pull an error [FAILED] Network Name Resolution :(
Restart the calculator and remount the USB that was used: `sudo mount /dev/sdx1`
Copy ARM emulator to USB: `sudo cp /usr/bin/qemu-arm-static /mnt/usr/bin`, and disable wifi on the rootfs: `sudo chroot /mnt; systemctl disable systemd-networkd.service; systemctl disable systemd-resolved.service`


Edit:
I realized you can just `sudo rm /mnt/usr/lib/systemd/system/systemd-resolved.service` to fix the error [FAILED] Network Name Resolution

Now you should be done! :D

Pages: [1]