Convert the device package to use U-Boot. The U-Boot binary is gzipped and put into a U-Boot legacy uImage to match what the factory bootloader's demands. The postmarketOS kernel, initramfs and device tree are packed into a FIT and passed to U-Boot as an initramfs.
47 lines
825 B
Plaintext
47 lines
825 B
Plaintext
/dts-v1/;
|
|
|
|
/ {
|
|
description = "Samsung Galaxy Core Prime VE LTE FIT";
|
|
#address-cells = <1>;
|
|
|
|
images {
|
|
kernel {
|
|
description = "Kernel image";
|
|
data = /incbin/("vmlinuz");
|
|
type = "kernel";
|
|
arch = "arm64";
|
|
os = "linux";
|
|
compression = "gzip";
|
|
load = <0x1000000>;
|
|
entry = <0x1000000>;
|
|
};
|
|
|
|
fdt {
|
|
description = "Device tree";
|
|
data = /incbin/("/usr/share/dtb/marvell/pxa1908-samsung-coreprimevelte.dtb");
|
|
type = "flat_dt";
|
|
compression = "none";
|
|
};
|
|
|
|
initramfs {
|
|
description = "Initramfs image";
|
|
data = /incbin/("initramfs");
|
|
type = "ramdisk";
|
|
arch = "arm64";
|
|
os = "linux";
|
|
compression = "none";
|
|
};
|
|
};
|
|
|
|
configurations {
|
|
default = "standard";
|
|
|
|
standard {
|
|
description = "Normal boot";
|
|
kernel = "kernel";
|
|
fdt = "fdt";
|
|
ramdisk = "initramfs";
|
|
};
|
|
};
|
|
};
|