On 10:47 Fri 14 Oct     , Ilias Biris wrote:
> Hi folks
> 
> https://wiki.linaro.org/OfficeofCTO/BootArchitecture/2011-10-13 has the
> meeting minutes from yesterday's discussion. I have summarised below the
> highlights and Actions recorded in the etherpad.
> 
> -----
> = Highlights =
> We discussed the short term pain points, which should be possible to
> address via some engineering work - priorities were discussed here is
> where the discussion was left at the end of the meeting
> 
> RANKING
>  - Rob's top two: 1) zImage support in u-boot. 2) How does the OS change
> which kernel gets booted.
I would like t prpose to use a DTB for this

I implement a RFC on Barebox that can be tested on PC

This is not a replacement of the uImage FIT but a way to provide multiple
kernel with different config

http://git.jcrosoft.org/git?p=barebox.git;a=shortlog;h=refs/heads/boot_menu

I attached an example fo dts

Best Regards,
J.
/dts-v1/;

/ {
        data {
                kernel@1 {
                        format = "uimage";
                        dev = "sda1";
                        fs = "ext3";
                        path = "/boot/uImage-2.6.36";
                };
                initrd@1 {
                        dev = "sda1";
                        fs = "ext3";
                        path = "/boot/initrd-2.6.36";
                };

                kernel@2 {
                        format = "zimage";
                        dev = "sda1";
                        fs = "ext3";
                        path = "/boot/zImage-2.6.39";
                };
                initrd@2 {
                        dev = "sda1";
                        fs = "ext3";
                        path = "/boot/initrd-2.6.39";
                };

                kernel@3 {
                        format = "uimage";
                        dev = "sda1";
                        fs = "ext3";
                        path = "/boot/uImage-3.0.0";
                };
                initrd@3 {
                        dev = "sda1";
                        fs = "ext3";
                        path = "/boot/inird-3.0.0";
                };
                fdt@3 {
                        dev = "sda1";
                        fs = "ext3";
                        path = "boot/usb_a9g20.dtb";
                };

                kernel@4 {
                        format = "uimage";
                        dev = "sda3";
                        fs = "squashfs";
                        path = "/boot/uImage-installer-3.0.0";
                };
                initrd@4 {
                        dev = "sda3";
                        fs = "squashfs";
                        path = "/boot/initrd-installer-3.0.0";
                };
        };

        configuration {
                description = "Welcome on Barebox Boot Sequence";
                default = "linux_3_0_0";
                altboot = "installer";
                bootdelay = <5>;
                splash = /incbin/("splash_menu.bmp");

                linux_2_6_36 {
                        description = "Linux 2.6.36";
                        cmdline = "mem=64M console=ttyS0,115200 root=/dev/sda2 
rw rootfstype=ext3";
                        kernel = "kernel@1";
                        initrd = "initrd@1";
                };

                linux_2_6_39 {
                        description = "Linux 2.6.39";
                        cmdline = "mem=64M console=ttyS0,115200 root=/dev/sda2 
rw rootfstype=ext3";
                        kernel = "kernel@2";
                        initrd = "initrd@2";
                };

                linux_3_0_0 {
                        description = "Linux 3.0.0";
                        cmdline = "mem=64M console=ttyS0,115200 root=/dev/sda2 
rw rootfstype=ext3";
                        kernel = "kernel@3";
                        initrd = "initrd@3";
                        fdt = "fdt@4";
                };

                installer {
                        description = "Installer Linux 3.0.0";
                        cmdline = "mem=64M console=ttyS0,115200 root=/dev/sda4 
ro rootfstype=squashfs";
                        splash = /incbin/("splash_installer.bmp");
                        kernel = "kernel@4";
                        initrd = "initrd@4";
                };
        };
};
_______________________________________________
boot-architecture mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/boot-architecture

Reply via email to