News:

I have updated the spam detection on registrations, and as such I am enabling new users.  If we have spam, I will change it back to by approval.

Main Menu

jammod

Started by sbingner, July 08, 2005, 01:10:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sbingner

In case you havent been on IRC, or read the IRC logs...

I have jammod almost working with the phatbox - see http://downloads.phathack.com/sbingner/jammod-1.0-arm.tar.bz2

The System.map I have so far is also at http://downloads.phathack.com/sbingner/System.map

It will alloc the mem and insert a module, but I'm not sure if it will properly init it, since my test module doesn't print out the notice it should...

If downloads.phathack.com is inaccessable it can be accessed over a slower link via http://www.phathack.com/downloads-direct

Sam

sbingner

Oh yea, I'm still working on a method to generate a full System.map -- I can get most things mapped out up to the last syscall function, after that it's going to be alot of trial and error....

judb

what does jammod do for us exactly?  what modules are we trying to make it load?

sbingner

#3
Quotewhat does jammod do for us exactly?  what modules are we trying to make it load?

something like monte to load say mtd support...  but I'm starting to think that may not work out

bushing

Quotewhat does jammod do for us exactly?  what modules are we trying to make it load?

I want to load MTD -- the linux "memory technology device" driver http://www.linux-mtd.infradead.org/-- this is the best, most tested way to write to flash chips in linux.  If my program to flash the bootloader doesn't work, that should.   (It's not present in the kernel tree they used for the PB, but you can download/compile it seperately -- the version from last March still works with 2.4 -- still working on it over here.)

If that doesn't work, another great solution is the Two Kernel Monte (http://sourceforge.net/projects/monte/) this is a kernel module that you can install that then boots up an entirely different kernel without actually rebooting.  We could use that to boot a more modern kernel, and then use mtd there.  

(eventually, if MTD can't reflash that chip, I don't know what could.)

-b

judb

That makes sense.  I just wondered what the plan was. :)