View Single Post
Old 08-06-2010, 02:20 PM   #6
bran
Enthusiast
bran began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Aug 2010
Device: IREX DR800S
Thank you for making this available. The full screen option is very pleasent. The tabbed books is good, but the hack to get the uds from the dr1000 is really necessary as that gives the statusbar the close tab option. Rebooting to get rid of tabs is a no go, takes too long and uses alot of juice from the battery.

I ran into some problems with the mtdblock device. Many distributions limit the amount of memory allocatable to mtdram. That means out of the box your hack with the modprobe mtdram total_size=90000 erase_size=256 will simply not work.

I used the loopback mount method.

A short description follows:

# modprobe loop
# modprobe mtdblock
# modprobe block2mtd
# losetup /dev/loop0 /path/to/rootfs.bin
# echo "/dev/loop0,256KiB" > /sys/module/block2mtd/parameters/block2mtd
# modprobe jffs2
# mount -t jffs2 /dev/mtdblock0 /mnt

You have now mounted the rootfs.bin on /mnt via loopback. Obviously the mountpoint /mnt must exist and the /mtdblock device number can be found with:

# ls /dev/mtdblock*

If you are using udev. Most modern kernels do!

Hope this helps

Regards

Last edited by bran; 08-06-2010 at 02:27 PM. Reason: Typos and formatting
bran is offline   Reply With Quote