Realtime kernel sources for LF2000 devices for use with retroleap
Enables realtime support which also has a small performance increase.
The realtime patch is an old one from kernel.org archives that happened to be compatible
This kernel also enables support for SD cards, Fat32, and swap
To use an SD card you'll need an SD card adapter cartridge, I've designed on that works but its not pre-assembled and can be pricy to put together, the most expensive part is the board shipping.
I don't see a single dime of the money, the board files are free, services like jlcpcb and pcbway are just expensive (especially if you go with full assembly)
Board files for my SD cart are here https://github.com/DCFUKSURMOM/LeapSD
If you are ballsy like me you can sacrifice the cartridge slot and hardwire an SD to Micro-SD adapter in like I did for the initial testing, however I plan on attempting to do a combo Wifi/SD cart in the future so I wouldnt recommend it
This kernel can be built with the RetroLeap buildroot (under the kernel menu point it to this repository)
If you want to use my custom buildroot rootfs (which adds stuff like nano, htop, mc, nefoetch, and util-linux) build the kernel first "make linux"
If you want a custom splash screen, do "make menuconfig" before you do "make linux" and in the menuconfig settings go to the kernel settings and point the custom splash screen option to your image, the image should not be over 320x240.
A pre-made splash image is here https://github.com/DCFUKSURMOM/retroleap-splash-screen/raw/main/splash.png (created by Th3KillinJok3)
After pointing to the custom image save the settings and do "make linux" as normal
Then download my buildroot config from here https://raw.githubusercontent.com/DCFUKSURMOM/retroleap-configs/main/lf2000-buildroot-config and save it to your buildroot folder. remove the .config file and rename lf2000-buildroot-config to .config and do "make rootfs-tar"
This will take a while to build as my config uses gcc12 (which is why you had to to the gcc4 only kernel first) and buildroot has to build a gcc12 cross compiler for arm. Its an extra step but allows much newer packages to be used than normal.
In the future I intend to find a prebuilt gcc12 arm cross compiler to get the build time back to a more normal level)
After you have both the kernel (will be named uImage) and rootfs.tar.gz, rename them to lf2000_uImage and lf2000_rootfs.tar.gz (or if you are using the latest sshflash comit, lf2000_rt_uImage and lf2000_rt_rootfs.tar.gz)