Author Topic: jammod  (Read 9941 times)

0 Members and 2 Guests are viewing this topic.

Offline sbingner

  • Administrator
  • Veteran.
  • *****
  • Posts: 1301
jammod
« on: July 08, 2005, 12:10:46 am »
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

Offline sbingner

  • Administrator
  • Veteran.
  • *****
  • Posts: 1301
Re: jammod
« Reply #1 on: July 08, 2005, 12:15:56 am »
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....

Offline judb

  • Administrator
  • Veteran.
  • *****
  • Posts: 1329
  • ph4t l3wtz
Re: jammod
« Reply #2 on: July 08, 2005, 02:03:00 am »
what does jammod do for us exactly?  what modules are we trying to make it load?

Offline sbingner

  • Administrator
  • Veteran.
  • *****
  • Posts: 1301
Re: jammod
« Reply #3 on: July 08, 2005, 03:00:20 am »
Quote
what 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
« Last Edit: July 08, 2005, 07:11:20 am by sbingner »

Offline bushing

  • Senior Member
  • Needs to get outside.
  • *****
  • Posts: 119
  • props to my peeps
Re: jammod
« Reply #4 on: July 09, 2005, 02:33:01 pm »
Quote
what 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

Offline judb

  • Administrator
  • Veteran.
  • *****
  • Posts: 1329
  • ph4t l3wtz
Re: jammod
« Reply #5 on: July 09, 2005, 03:11:14 pm »
That makes sense.  I just wondered what the plan was. :)