I'm curious, if UBoot does not support SD cards, how are you loading the code? If you're doing something like exploiting a buffer overflow to cause Linux to crash in a predictable way with the CPU in supervisor mode, won't a kernel fix break HH mode? (of course, once we have the Linux souce, you can just add a gp2x-specific system call that causes Linux to shut down and jump to a given address, making Linux into the world's biggest bootloader )It'll be released when it's finished (or more accurately, when it works )
HH just means progs that run without linux in the background. It was a temporary TLA, but it seems to have stuck
There is already a nice way to execute raw binaries from linux.. it does not use any particular exploit, just uses existing linux system calls to modify exception vector on fly, load the code and then cause a reset.. work very well.I'm curious, if UBoot does not support SD cards, how are you loading the code? If you're doing something like exploiting a buffer overflow to cause Linux to crash in a predictable way with the CPU in supervisor mode, won't a kernel fix break HH mode? (of course, once we have the Linux souce, you can just add a gp2x-specific system call that causes Linux to shut down and jump to a given address, making Linux into the world's biggest bootloader )It'll be released when it's finished (or more accurately, when it works )
HH just means progs that run without linux in the background. It was a temporary TLA, but it seems to have stuck
I reckon HH stands for Happy Hacker
What's the status of HH? (does it have any webpage?)
How long do you think we'll have to wait until we can see a first beta?
Interesting, I would have thought that the Linux security model wouldn't let usermode apps mess with system vectors (in the less-secure Windows model, you need to be a device driver to be able to do that). Or is this something that's allowed on embedded Linux because the environment is closed and you don't need to worry about anyone r00ting your box?dev boards allow developers to upload code directly to ram and run it before linux is loaded (thanks to uboot). Retail 2x's don't support this, so we have a trampoline, which basically loads code into ram, modifies the reset vector, and then resets the processor
I see, very niceLinux still has the standard security model, but considering the fact that the gp2x has no networking, and your not likely to be running any services anyway, all programs are run as root. Due to this, programs can mmap physical memory into a virtual memory space usable by the current program, then play as much as they like
Squidge, I disagree with you here. I think it is important to allow the 2X to boot normally to the main menu before running an HH game. It's important to give the user normal continuity of usage and appear to be just another game that you launch from the game menu. What they'll run is actually a launcher that does the reset vector trick to run the actual game. When they choose to quit, the game should do the soft-reboot that causes the kernel to be reloaded from flash and booted, thus getting the user back to the main menu.codesmith, we are already doing that, but not from early on in the linux init script, more like before the linux kernel is even loaded. After all, no point loading the kernel if your not going to use it
Hardcore Homebrew.
Can't have a TLA with only 2 letters