> You can try looking at OpenWrt - http://www.openwrt.org - they ship a
> squashfs image that can be updated to a small jffs2 partition.
>
> I'm not really sure how that's done. squashfs is read-only by
> definition; to change it you have to rebuild a new image and reflash
> the board. OpenWrt uses some sort of symlink magic to allow
> 'updates'.
>
> I'm not sure if that's what you're looking for, though. Do you need
> to update any arbitrary file on the system? Or just a few?
>
Hi Yan,
Thanks for the idea. What I am concerned about is if we move to add
features that require a lot more floating point math then we'll have
to move to get the cruch core going - currently I use a soft-float
kernel and libraries. In that case, we'd need to update all the
libraries and busybox etc.
With a ramdisk system, one just updates the image file and reboots.
Simple! But with a typical system one must create a new FS, pivot to
that, then update the original one. I am thinking that given the
difficulties in getting the system to run from a ramdisk, I will just
end up doing what you and Bas recommend and run from an expanded FS
with tmpfs for /var and /tmp. I can then make a ramdisk from the
running system, install a basic OS, switch to that then update the FS
on the SD card and reboot...
Many thanks for your help.
/hamish
------------------------ Yahoo! Groups Sponsor --------------------~-->
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/0It09A/bOaOAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups - Join or create groups, clubs, forums & communities. Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups - Join or create groups, clubs, forums &
communities. is subject to:
http://docs.yahoo.com/info/terms/
|