On Mon, Aug 21, 2017 at 12:53:15AM +0300, Artturi Alm wrote:
> Hi,
> 
> this + sysutils/atf-allwinner produced binaries i successfully used to
> install arm64 for pine64-plus into mmc sd0 w/axen0 on usb, thanks :)
> the .dtb i used in miniroot was from current dtb-4.12 pkg.
> 
> -Artturi

u-boot.itb/u-boot-sunxi-with-spl.bin includes dtbs.

/dts-v1/;

/ {
        description = "Configuration to load ATF before U-Boot";
        #address-cells = <1>;

        images {
                uboot@1 {
                        description = "U-Boot (64-bit)";
                        data = /incbin/("u-boot-nodtb.bin");
                        type = "standalone";
                        arch = "arm64";
                        compression = "none";
                        load = <0x4a000000>;
                };
                atf@1 {
                        description = "ARM Trusted Firmware";
                        data = 
/incbin/("/usr/local/share/atf-allwinner/bl31.bin");
                        type = "firmware";
                        arch = "arm64";
                        compression = "none";
                        load = <0x44000>;
                        entry = <0x44000>;
                };
                fdt@1 {
                        description = "sun50i-a64-pine64";
                        data = /incbin/("arch/arm/dts/sun50i-a64-pine64.dtb");
                        type = "flat_dt";
                        compression = "none";
                };
                fdt@2 {
                        description = "sun50i-a64-pine64-plus";
                        data = 
/incbin/("arch/arm/dts/sun50i-a64-pine64-plus.dtb");
                        type = "flat_dt";
                        compression = "none";
                };
        };
        configurations {
                default = "config@1";

                config@1 {
                        description = "sun50i-a64-pine64";
                        firmware = "uboot@1";
                        loadables = "atf@1";
                        fdt = "fdt@1";
                };
                config@2 {
                        description = "sun50i-a64-pine64-plus";
                        firmware = "uboot@1";
                        loadables = "atf@1";
                        fdt = "fdt@2";
                };
        };
};

Reply via email to