Hello Matwey, On Thu, Oct 29, 2015 at 11:28 PM, Matwey V. Kornilov <[email protected]> wrote: > 28.10.2015 19:11, Misha Komarovskiy пишет: >> Hello Matwey, >> >> On Wed, Oct 28, 2015 at 11:31 AM, Matwey V. Kornilov >> <[email protected]> wrote: >>> 27.10.2015 22:43, Misha Komarovskiy пишет: >>>> >>>> Hello Matwey, >>>> >>>> On Tue, Oct 27, 2015 at 9:52 PM, Matwey V. Kornilov >>>> <[email protected]> wrote: >>>>> >>>>> 27.10.2015 11:04, Guillaume Gardet пишет: >>>>>> >>>>>> Hi, >>>>>> >>>>>> Le 26/10/2015 19:52, Matwey V. Kornilov a écrit : >>>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> Why bootmenu command is not used atm? Are there any reasons? >>>>>>> >>>>>> >>>> >>>> You mean ansi bootmenu? If yes, ac100 community member tried to enable >>>> it for our board, >>>> but extlinux.conf was proposed as better solution, here is link >>>> http://patchwork.ozlabs.org/patch/450122/ >>>> >>>> I tried to use extlinux.conf with openSUSE on Chromebook Snow, >>>> because its support already enabled there, and it work flawlessly and >>>> very flexible, >>>> take a look at README.distro in u-boot repo, also as it is same as pxe >>>> config file kiwi probably already have >>>> support for it. >>>> >>>> Here is example of my test extlinux.conf: >>>> >>>> TIMEOUT 1000 >>>> ONTIMEOUT localboot >>>> DEFAULT default >>>> MENU TITLE Boot menu >>>> PROMPT 0 >>>> >>>> LABEL default >>>> MENU LABEL Default >>>> LINUX /boot/zImage >>>> FDT /boot/dtb/exynos5250-snow.dtb >>>> INITRD /boot/initrd >>>> APPEND root=/dev/disk/by-id/mmc-SL08G_0x01978580-part3 >>>> loader=uboot disk=/dev/disk/by-id/mmc-SL08G_0x01978580 >>>> resume=/dev/disk/by-id/mmc-SL08G_0x01978580-part4 plymouth.enable=0 >>>> console=ttySAC3,115200n8 console=tty >>>> >>>> LABEL failsafe >>>> MENU LABEL Failsafe >>>> LINUX /boot/zImage-4.1.5-exynos_defconfig >>>> FDT /boot/dtb/exynos5250-snow.dtb >>>> INITRD /boot/initrd-4.1.5-exynos_defconfig >>>> APPEND root=/dev/disk/by-id/mmc-SL08G_0x01978580-part3 >>>> loader=uboot disk=/dev/disk/by-id/mmc-SL08G_0x01978580 >>>> resume=/dev/disk/by-id/mmc-SL08G_0x01978580-part4 plymouth.enable=0 >>>> console=ttySAC3,115200n8 console=tty >>>> >>>> LABEL localboot >>>> MENU LABEL Local boot script (boot.scr) >>>> LOCALBOOT 1 >>>> >>> >>> Nice. I cannot understand is it uboot who runs extlinux or just support of >>> extlinux configuration file syntax inside uboot? >>> >>> >> >> It is pxe boot support inside u-boot, but this support can fallback to >> reading extlinux.conf from external media located in extlinux folder >> if no pxe network server was available on boot. >> And boards which have pxe/extlinux support available in their u-boot >> configs read extlinux.conf file prior to boot.scr file. >> > > In our am335x_evm config, bootloader selects dtb file name based on the > data read from EEPROM. How could this be implemented with extlinux? >
Then you probably need to export this data from eeprom to $board_name and $cpu u-boot variables (CONFIG_ENV_VARS_UBOOT_CONFIG content if i remember right), which exlinux use to load dtb file if only FDTDIR supplied. Probably some extra setting to your defconfig also required, check README.distro for full list of requirements: http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.distro;h=9e4722a86ee562fdc80b675f5be9d30e30e61597;hb=refs/heads/master > > -- > To unsubscribe, e-mail: [email protected] > To contact the owner, e-mail: [email protected] > -- Best Regards, Misha Komarovskiy zombahatgmaildotcom -- To unsubscribe, e-mail: [email protected] To contact the owner, e-mail: [email protected]
