Hi !

On 23.05.2014 15:03, Daniel wrote:
I built a quite feature-complete and by now well-working sysupgrade for the 
oxnas fork
https://www.gitorious.org/openwrt-oxnas/openwrt-oxnas/source/8d0f5e4025d5d9d2c129914b59c03d7c2cde5d93:target/linux/oxnas/base-files/lib/upgrade/platform.sh

That looks good!

I re-based it to use your sysupgrade -s code instead of the SIGUSR2-hack I was
using before -- works great.

Nice to hear that you used it and that it works !

The script handles both, combined kernel+rootfs images as well as ubnized
images. Other targets where e.g. kernel needs to be started in bare NAND
rather than inside an ubi volume due to the lack of bootloader support, this
can easily be added by having do_upgrade_combined white the kernel via
nandwrite and initialize the filesystems in UBI.

Perfect.  That make life a lot easier for me. Did you already think about moving
the generic stuff to the some kind of ubi include for /lib/upgrade ? Would make
sense, specially for newer boards.

--

André
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to