Login  Register

Re: [FIRMWARE] Itus Networks Shield Firmware Upgrade *WIP*

Posted by Grommish on Jun 20, 2019; 3:59am
URL: https://itus.accessinnov.com/FIRMWARE-Itus-Networks-Shield-Firmware-Upgrade-WIP-tp1726p1768.html

I was looking into OpenWrt's update system, and I don't think it's going to be able to be used for what we need to do.  Meh.

On the flip side, I might be able to create an update system, although it looks like it would have to be two parts.  One chain for the kernel, one chain for the filesystem.  The update .tar file that the system generates is broken into those two sections, kernel and root.

The kernel file is the standard ELF image, and I can't find where in the rootfs that would go.  I doubt it would go in the rootfs at all, but would need to be in the boot image.   The root file, however, is a squashfs file, so it can be unsquashfs'd and mounted.

Question for the crowd:  Does anyone have any scripting suggestions on how to compare two file-trees (I was thinking diff), figuring out which files are new or changed, but excluding things like .conf?

I am thinking diff might be able to handle it, but I'm not sure about excluding .conf files that aren't NEW.  Anyone with suggestions would be most appreciated.
Running Itus Shield v2 Firmware