Differences between version 2 and previous revision of CyberLeo/Scraps/OpenPandora.
Other diffs: Previous Major Revision, Previous Author
Newer page: | version 2 | Last edited on Wednesday, 21 November 2012 3:00:56 | by CyberLeo | Revert |
Older page: | version 1 | Last edited on Wednesday, 21 November 2012 3:00:38 | by CyberLeo | Revert |
@@ -1,7 +1,7 @@
Details to access the root filesystem, for Great Justice&tm;
-Obtain the latest firmware from [OpenPandora Support|http://openpandora.org/index.php?option=com_content&view=article&id=199&Itemid=40&lang=en]
+Obtain the latest firmware from [OpenPandora Support|http://openpandora.org/index.php?option=com_content&view=article&id=199&Itemid=40&lang=en] and extract rootfs.img therefrom
Emerge sys-fs/mtd-utils
Compile modules:
version 2
Details to access the root filesystem, for Great Justice&tm;
Obtain the latest firmware from OpenPandora Support and extract rootfs.img therefrom
Emerge sys-fs/mtd-utils
Compile modules:
- mtdchar (drivers -> memory technology devices)
- nandsim (drivers -> memory technology devices)
- ubi (drivers -> memory technology devices)
- ubifs (filesystems -> miscellaneous filesystems)
Load modules
- modprobe mtdchar
- modprobe nandsim first_id_byte=0x20 second_id_byte=0xac third_id_byte=0x00 fourth_id_byte=0x15 cache_file=/nandsim.mtd
- modprobe ubi mtd=0
- modprobe ubifs
It'll probably be unformatted, so do this:
- ubidetach -p /dev/mtd0
- ubiformat /dev/mtd0
- ubiattach -p /dev/mtd0
- ubimkvol /dev/ubi0 -N rootfs -S 4052 # <- use number of available LEBs spit out by ubiattach
- ubiupdatevol /dev/ubi0_0 rootfs.img
- mount -t ubifs ubi0 /media/rootfs
See http://www.linux-mtd.infradead.org/faq/nand.html#L_nand_bootloader for some example ID bytes for nandsim