Hi Mark, On 26/01/2018 10:12, "Mathew McBride" <m...@bionicmessage.net> wrote:
On 26/01/2018 8:01 AM, Bishop, Mark (STRT) wrote: > Is it possible to specify squashFS images in an .its file? If so, anyone > have an example or a pointer to the docs I've been searching for? > Hi Mark, > It is possible, here is an example I have used on an NXP LS1043 board: /dts-v1/; As Matthew's example shows it's totally doable. Furthermore it's not just squashfs it could be any valid initrd. As long as your kernel is configured to expect it u-boot will pass it along. On that note last time i looked most if the general kernel defconfigs didn't have squashfs enabled. / { description = "ARM64 OpenWrt FIT (Flattened Image Tree)"; #address-cells = <1>; images { kernel@1 { description = "ARM64 OpenWrt Linux-4.4"; data = /incbin/("arch/arm64/boot/Image.gz"); type = "kernel"; arch = "arm64"; os = "linux"; compression = "gzip"; load = <0x80080000>; entry = <0x80080000>; }; ramdisk@1 { description = "ARM64 OpenWrt ramdisk"; data = /incbin/("root.squashfs"); type = "ramdisk"; arch = "arm64"; os = "linux"; compression = "gzip"; }; fdt@1 { description = "ARM64 OpenWrt device tree blob"; data = /incbin/("arch/arm64/boot/dts/ freescale/fsl-ls1043a-rdb.dtb"); type = "flat_dt"; arch = "arm64"; compression = "none"; load = <0x90000000>; }; }; configurations { default = "config@1"; config@1 { description = "OpenWrt"; kernel = "kernel@1"; fdt = "fdt@1"; ramdisk = "ramdisk@1"; }; }; }; Cheers, Matt Mark Bishop > Sr. Firmware/Software Engineer - Microwave Subsystems > > [cid:image001.png@01D281ED.A45F0A90] > > 4726 Eisenhower Blvd. > Tampa, FL 33634 > USA > > > T +1 813 901 7293 > > mbis...@smithsinterconnectinc.com<mailto:mbis...@smithsinterconnectinc.com > > > > smithsinterconnect.com<http://www.smithsinterconnect.com/> > > TRAK MICROWAVE IS NOW SMITHS INTERCONNECT! > > > > > > > > > _______________________________________________ > U-Boot mailing list > U-Boot@lists.denx.de > https://lists.denx.de/listinfo/u-boot > > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot