[LEDE-DEV] mkimage producing FIT images without data files

J Mo jmomo at jmomo.net
Sat Aug 6 15:59:10 PDT 2016


Hello

I am trying to get LEDE to build for a new device, and my device needs a 
FIT image.

However, mkimage appears to be putting out a FIT file without the actual 
data files being included. All the rest of the FIT file formatting looks 
right on cursory inspection, but the data files which were to be 
included are missing.

Any ideas?

My .its looks like this:


/dts-v1/;
/ {
   description = "LEDE FIT image for TEW827DRU";
   #address-cells = <1>;
     images {
       script at 0 {
         data = 
"/home/user/proj/lede/newrouter-ledeproj-try6/target/linux/ipq806x/image/flash-tew827dru.scr";
         description = "u-boot-HTTP firmware update script";
         type = "script";
         compression = "none";
         arch = "arm";
         hash at 0 {
           algo = "crc32";
         };
       };
       ubi-image at 1 {
         data = 
"/home/user/proj/lede/newrouter-ledeproj-try6/build_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.15_eabi/linux-ipq806x/tmp/lede-ipq806x-TEW827DRU-squashfs-factory.bin";
         description = "UBI rootfs image";
         type = "firmware";
         compression = "none";
         arch = "arm";
         hash at 0 {
           algo = "crc32";
         };
       };
     };
   };





More information about the Lede-dev mailing list