* [U-Boot] SquashFS and FIT images
@ 2018-01-25 21:01 Bishop, Mark
2018-01-25 23:09 ` Mathew McBride
0 siblings, 1 reply; 3+ messages in thread
From: Bishop, Mark @ 2018-01-25 21:01 UTC (permalink / raw)
To: u-boot
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?
Mark Bishop
Sr. Firmware/Software Engineer - Microwave Subsystems
[cid:image001.png at 01D281ED.A45F0A90]
4726 Eisenhower Blvd.
Tampa, FL 33634
USA
T +1 813 901 7293
mbishop at smithsinterconnectinc.com<mailto:mbishop@smithsinterconnectinc.com>
smithsinterconnect.com<http://www.smithsinterconnect.com/>
TRAK MICROWAVE IS NOW SMITHS INTERCONNECT!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 15310 bytes
Desc: image001.png
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180125/d5eddf7b/attachment.png>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] SquashFS and FIT images
2018-01-25 21:01 [U-Boot] SquashFS and FIT images Bishop, Mark
@ 2018-01-25 23:09 ` Mathew McBride
[not found] ` <CAFOYHZDwV826hm+z_k5jaMyDph_LkAQYcd8YwYH3ZFBe+ChDmw@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Mathew McBride @ 2018-01-25 23:09 UTC (permalink / raw)
To: u-boot
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/;
/ {
description = "ARM64 OpenWrt FIT (Flattened Image Tree)";
#address-cells = <1>;
images {
kernel at 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 at 1 {
description = "ARM64 OpenWrt ramdisk";
data = /incbin/("root.squashfs");
type = "ramdisk";
arch = "arm64";
os = "linux";
compression = "gzip";
};
fdt at 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 at 1";
config at 1 {
description = "OpenWrt";
kernel = "kernel at 1";
fdt = "fdt at 1";
ramdisk = "ramdisk at 1";
};
};
};
Cheers,
Matt
> Mark Bishop
> Sr. Firmware/Software Engineer - Microwave Subsystems
>
> [cid:image001.png at 01D281ED.A45F0A90]
>
> 4726 Eisenhower Blvd.
> Tampa, FL 33634
> USA
>
>
> T +1 813 901 7293
>
> mbishop at smithsinterconnectinc.com<mailto:mbishop@smithsinterconnectinc.com>
>
> smithsinterconnect.com<http://www.smithsinterconnect.com/>
>
> TRAK MICROWAVE IS NOW SMITHS INTERCONNECT!
>
>
>
>
>
>
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] SquashFS and FIT images
[not found] ` <CAFOYHZDZ0GfoQbAcC8yfKyqm2d2Yj7=OYNL3Nv7NMPhKpQDaEQ@mail.gmail.com>
@ 2018-01-26 2:25 ` Chris Packham
0 siblings, 0 replies; 3+ messages in thread
From: Chris Packham @ 2018-01-26 2:25 UTC (permalink / raw)
To: u-boot
Hi Mark,
On 26/01/2018 10:12, "Mathew McBride" <matt@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 at 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 at 1 {
description = "ARM64 OpenWrt ramdisk";
data = /incbin/("root.squashfs");
type = "ramdisk";
arch = "arm64";
os = "linux";
compression = "gzip";
};
fdt at 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 at 1";
config at 1 {
description = "OpenWrt";
kernel = "kernel at 1";
fdt = "fdt at 1";
ramdisk = "ramdisk at 1";
};
};
};
Cheers,
Matt
Mark Bishop
> Sr. Firmware/Software Engineer - Microwave Subsystems
>
> [cid:image001.png at 01D281ED.A45F0A90]
>
> 4726 Eisenhower Blvd.
> Tampa, FL 33634
> USA
>
>
> T +1 813 901 7293
>
> mbishop at smithsinterconnectinc.com<mailto:mbishop@smithsinterconnectinc.com
> >
>
> smithsinterconnect.com<http://www.smithsinterconnect.com/>
>
> TRAK MICROWAVE IS NOW SMITHS INTERCONNECT!
>
>
>
>
>
>
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
>
>
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://lists.denx.de/listinfo/u-boot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-01-26 2:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-25 21:01 [U-Boot] SquashFS and FIT images Bishop, Mark
2018-01-25 23:09 ` Mathew McBride
[not found] ` <CAFOYHZDwV826hm+z_k5jaMyDph_LkAQYcd8YwYH3ZFBe+ChDmw@mail.gmail.com>
[not found] ` <CAFOYHZDZ0GfoQbAcC8yfKyqm2d2Yj7=OYNL3Nv7NMPhKpQDaEQ@mail.gmail.com>
2018-01-26 2:25 ` Chris Packham
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.