<a id="kernel-image" class="download-link" href="#"><span></span>KERNEL</a>
<a id="rootfs-image" class="download-link" href="#"><span></span>ROOTFS</a>
<a id="tftp-image" class="download-link" href="#"><span></span>TFTP</a>
+ <a id="sdcard-image" class="download-link" href="#"><span></span>SDCARD</a>
</div>
<div>
<span id="kernel-help" class="tr-kernel-help">Linux kernel as a separate image.</span>
<span id="rootfs-help" class="tr-rootfs-help">Root file system as a separate image.</span>
<span id="tftp-help" class="tr-tftp-help">Image that can be applied using the tftp meachnism of the boot loader</span>
+ <span id="sdcard-help" class="tr-sdcard-help">Image that is meant to be flashed on an SD-Card.</span>
</div>
</div>
</div>
}
function extractImageType(name) {
- var m = /-(sysupgrade|factory|rootfs|kernel|tftp)[-.]/.exec(name);
+ var m = /-(sysupgrade|factory|rootfs|kernel|tftp|sdcard)[-.]/.exec(name);
return m ? m[1] : 'factory';
}
function updateImages(dllink, model, target, release, commit, images) {
- var types = ['sysupgrade', 'factory', 'rootfs', 'kernel', 'tftp'];
+ var types = ['sysupgrade', 'factory', 'rootfs', 'kernel', 'tftp', 'sdcard'];
function hideLinks() {
types.forEach(function(type) {