[U-Boot] Does anyone know how to use FIT uImage

Lv Terry-R65388 r65388 at freescale.com
Tue May 18 04:59:30 CEST 2010


Hi, experts,
 
    I've encountered an error in making FIT uImage.
 
    I created an fsl_kernel.its file and run "mkimage -f fsl_kernel.its
kernel.itb", the following error happened.
 
    r65388 at szx32-17:~/uboot-v2009.08/uboot-imx$ mkimage -f
fsl_kernel.its kernel.itb
FIT format handling
Trying to execute "dtc -I dts -O dtb -p 500 fsl_kernel.its >
kernel.itb.tmp"
DTC: dts->dtb  on file "fsl_kernel.its"
Error: fsl_kernel.its:4.1-2 syntax error
FATAL ERROR: Unable to parse input tree
mkimage: Can't read kernel.itb.tmp: Invalid argument
 
    The fsl_kernel.its file is:
 
r65388 at szx32-17:~/uboot-v2009.08/uboot-imx$ cat ./fsl_kernel.its
/*
 * Simple U-boot uImage source file containing a single kernel
 */
/ {
 description = "Simple image with single Linux kernel";
 #address-cells = <1>;
 
 images {
  kernel at 1 {
   description = "Freescale Linux kernel";
   data = /incbin/("./vmlinux");
   type = "kernel";
   arch = "arm";
   os = "linux";
   compression = "none";
   load = <70008000>;
   entry = <70008000>;
  };
 };
 
 configurations {
  default = "config at 1";
  config at 1 {
   description = "Boot Linux kernel";
   kernel = "kernel at 1";
  };
 };
};
 
    Does anyone know what the problem is?
 
    Thanks in advance.
 
Yours
Terry
 
 


More information about the U-Boot mailing list