View Single Post
Posts: 204 | Thanked: 754 times | Joined on Jan 2012 @ Finland
#251
Ok, uboot-n900-tools in the repo. Changed behavior presented in here for the interested. For the uninterested:

Add to fstab, adjust if necessary:
Code:
ubi0:rootfs /mnt/maemo ubifs defaults,noatime,bulk_read,no_chk_data_crc 0 0
/dev/mmcblk1p2 /mnt/maemo/home ext3 defaults,noatime 0 0
/dev/mmcblk1p1 /mnt/maemo/home/user/MyDocs vfat defaults,noatime,uid=1000,gid=100,umask=022 0 0
As root, emmc and nand partitions unmounted:
Code:
echo "options ubi mtd=rootfs" > /etc/modprobe.d/ubi.conf
echo "softdep ubi pre: omap2" >> /etc/modprobe.d/ubi.conf
mkdir /mnt/maemo
mount -a
ln -s /mnt/maemo/etc/bootmenu.d /etc/bootmenu.d
ln -s /mnt/maemo/etc/default/bootmenu.item /etc/default/bootmenu.item
I tried to reproduce all the stupid user errors I've heard happening with u-boot, so far it's been working fine and safe, for me. I'm dead tired, so don't copypaste, I didn't :P

EDIT:
Oh well, setting up everything in fstab drops to emergency mode, module dependencies have to be defined manually, I'll get back to this asap.

EDIT2:
Corrected and updated, update your fstab and do trough the steps again. Let me know if some issues arise.

Last edited by Skry; 2013-03-23 at 17:47.
 

The Following 4 Users Say Thank You to Skry For This Useful Post: