On Tue, May 9, 2017, 09:29 Paul Menzel <paulepan...@users.sourceforge.net> wrote:
> Dear GRUB folks, > > > After the GRUB 2.02 release, φ-coder’s work to get GRUB working on ARM > is now in the master branch. > > I like to try GRUB with the coreboot “board” *emulation/qemu-armv7 > (QEMU ARMv7)*, and did the following under Debian Sid/unstable > > ``` > $ git log --oneline -1 > d11ced1e1 arm_coreboot: Support EHCI. > $ ./autogen.sh > […] > $ ./configure --target=arm --with-platform=coreboot > TARGET_CC=arm-linux-gnueabi-gcc-6 > TARGET_OBJCOPY="arm-linux-gnueabi-objcopy" > TARGET_STRIP="arm-linux-gnueabi-strip" TARGET_NM="arm-linux-gnueabi-nm" > TARGET_RANLIB="arm-linux-gnueabi-ranlib" > […] > $ make -j > […] > if /usr/bin/makeinfo -I . \ > -o grub.info grub.texi; \ > then \ > rc=0; \ > CDPATH="${ZSH_VERSION+.}:" && cd .; \ > else \ > rc=$?; \ > CDPATH="${ZSH_VERSION+.}:" && cd . && \ > $restore $backupdir/* `echo "./grub.info" | sed 's|[^/]*$||'`; \ > fi; \ > rm -rf $backupdir; exit $rc > make[2]: Verzeichnis „/dev/shm/grub/docs“ wird verlassen > Making all in util/bash-completion.d > make[2]: Verzeichnis „/dev/shm/grub/util/bash-completion.d“ wird betreten > ../../config.status --file=grub:grub-completion.bash.in > config.status: creating grub > make[2]: Verzeichnis „/dev/shm/grub/util/bash-completion.d“ wird verlassen > make[1]: Verzeichnis „/dev/shm/grub“ wird verlassen > $ LANG=C make default_payload.elf > make: *** No rule to make target 'default_payload.elf'. Stop. > ``` > > I failed to adapt the command in the Makefile for arm_coreboot. > > ``` > default_payload.elf: grub-mkstandalone grub-mkimage FORCE > test -f $@ && rm $@ || true > pkgdatadir=. ./grub-mkstandalone --grub-mkimage=./grub-mkimage -O > i386-coreboot -o $@ --modules='ahci pata ehci uhci ohci usb_keyboard usbms > part_msdos ext2 fat at_keyboard part_gpt usbserial_usbdebug cbfs' > --install-modules='ls linux search configfile normal cbtime cbls memrw iorw > minicmd lsmmap lspci halt reboot hexdump pcidump regexp setpci lsacpi chain > test serial multiboot cbmemc linux16 gzio echo help syslinuxcfg xnu > all_video $(shell cat grub-core/fs.lst) password_pbkdf2 > $(EXTRA_PAYLOAD_MODULES)' --fonts= --themes= --locales= -d grub-core/ > /boot/grub/grub.cfg=$(srcdir)/coreboot.cfg > ``` > > Passing `arm-coreboot` and `arm_coreboot` to the switch `-O` gives back > an error, for example: > > ``` > unknown target format arm_coreboot > arm-coreboot-vexpress You will also need to supply a dtb with --dtb=DTB > ``` > > Could you please tell me how to create the payload file? > > > Thanks, > > Paul_______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel