Re: [OpenWrt-Devel] replace /jffs with usb stick
On Mon, 17 Aug 2009 20:05:19 +0200 bud.d...@suisse.org wrote: Hi all, I am having a hard time to find the place where mounting root / really happens .. http://oldwiki.openwrt.org/OpenWrtDocs%282f%29OpenWrtDocs%282f%29lKamikazeBootHowTo.html is not helpful https://forum.openwrt.org/viewtopic.php?id=10816 seems to be out of date. I added comments to /sbin/mount_root (but it doesn't seem to be executed at all) e.g. 'echo comment /tmp/test' or echo comment or logger comment I only get feedback from /etc/init.d/boot .. but everything seems to be mounted there already. I want to replace the jffs partition with the ext3 on an usb stick during boot on brcm-2.4. Any help appreciated :) On first boot it is mounted in /bin/firstboot. On subsequent boots it is mounted in /sbin/mount_root -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org The C Shore (Daniel Dickinson's Website) http://www.bmts.com/~cshore signature.asc Description: PGP signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] sysupgrade info needed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I found out how to add /lib/upgrade/platform.sh to the build, and also that the image is written to just a single mtd block. But while testing (flashing went fine) I got a mount error, so what did I miss? r...@router:~# sysupgrade /tmp/openwrt-wrt350nv2-squashfs.all_ipv6.img Saving config files... Switching to ramdisk... mount: mounting mini_fo:/jffs on /mnt failed: Function not implemented Performing system upgrade... Unlocking org_mtd0 ... Writing from stdin to org_mtd0 ... Appending jffs2 data to from /tmp/sysupgrade.tgz to org_mtd0... Upgrade completed Rebooting system... Any hint greatly appreciated. Maddes On 16.08.2009 12:43, Matthias Buecher / Germany wrote: Is there a guideline how to add a machine (here WRT350Nv2) to sysupgrade? Does sysupgrade expect to have the complete flash in mtd0, or can it split between mtd0 kernel and mtd1 rootfs? Maddes -BEGIN PGP SIGNATURE- Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqJxZUACgkQUXXT+9wZdbVVAwCfUL186oKirsSq3X2QCINJW0Vf lqIAoO+vMRnd100rLYiXA4sRLbJT+t6n =O2LU -END PGP SIGNATURE- ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel