Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Select language:
English
French
German
Hungarian
Italian
Norwegian
News:
Home
Help
Search
Calendar
Members
View the memberlist
Search For Members
Login
Register
OESF Portables Forum
»
Everything Else
»
Archived Forums
»
Distros, Development, and Model Specific Forums
»
Zaurus Distro Support and Discussion
»
Angstrom & OpenZaurus
»
Mounting OZ initrd.bin
← previous
next →
Print
Pages: [
1
]
Author
Topic: Mounting OZ initrd.bin (Read 3050 times)
Joshp
Sr. Member
Posts: 265
Mounting OZ initrd.bin
«
on:
March 13, 2004, 03:27:12 pm »
How do you mount a JFFS2 filesystem on a linux box. I relleay want to be able to mount the OZ
initrd.bin file and change some things around. But so fair I havent been able to.
JP
Logged
Pyrates
Full Member
Posts: 198
Mounting OZ initrd.bin
«
Reply #1 on:
March 13, 2004, 05:18:08 pm »
I don\'t know (I know I saw a thread about that somewhere, but I really can\'t remember where...), but if you find out how to make changes to a such an initrd, please tell me how you do it, i\'d really like to do that as well...
Cheers
Philipp
Logged
\" ... and the Vogon will do things to you that you wish you\'d never been born, or, if you\'re a clearer minded thinker, that the Vogon had never been born.\"
Mickeyl
Hero Member
Posts: 1495
Mounting OZ initrd.bin
«
Reply #2 on:
March 13, 2004, 05:42:03 pm »
Google for \'mtdblock mtdram jffs2\'
Logged
Cheers,
Michael 'Mickey' Lauer | Embedded Linux Freelancer |
www.Vanille-Media.de
Consider donating
, if you like the
software I contribute to
.
Joshp
Sr. Member
Posts: 265
Mounting OZ initrd.bin
«
Reply #3 on:
March 13, 2004, 06:12:25 pm »
Ok I am running Slackware 9.1 with kernel 2.4.22
cd /usr/src/linux (or where ever you kernel src is)
make menuconfig
Under:
Memory Technology Devices (MTD) mark as a module:
Memory Technology Device Support
MTD partitioning support
MTD concatenating support
Direct char devive acess to MTD devices
Caching block device access to Mtd devices
Now under self-contained MTD device drivers mark as a module:
Test drivers using RAM
MTD emulation using block device.
Now go under file system on the main menu and make sure that JFFS2 support is marked as a module.
Now exit menuconfig and run:
make dep && make modules && make modules_install
You will need to up date your modules by ether running the module rc script are rebooting.
Now to mount the image:
modprobe mtdcore
modprobe mtdram total_size=32768 erase_size=256
modprobe mtdblock
modprobe jffs2
mkdir /dev/mtdblock
cd /dev/mtdblock
mknod 0 b 31 0
mknod 1 b 31 1
mknod 2 b 31 2
dd if=initrd.bin of=/dev/mtdblock/0
mount -t jffs2 /dev/mtdblock/0 /mnt/ozimage/
Ok ozimage is now mounted.
JP
Logged
Print
Pages: [
1
]
← previous
next →
OESF Portables Forum
»
Everything Else
»
Archived Forums
»
Distros, Development, and Model Specific Forums
»
Zaurus Distro Support and Discussion
»
Angstrom & OpenZaurus
»
Mounting OZ initrd.bin