grub2.02 can boot the linux kernel with 64-bit boot protocol

2019-07-26 Thread Sherry Zhang(BJ-RD)
Hi All, I use the grub2.02 to boot the 64-bit kernel of Kernel 3.16.0. The grub2.02 use the 32-bit boot protocol and the grub is also 32-bit. But I see that grub can use the 64-bit boot protocol in the Documents/x86/boot.txt. So I want to know how to realize it? ?

How I configure to get Unicode.pf2 and the command of grub-mkfont

2018-09-19 Thread Sherry Zhang(BJ-RD)
Hi all, When I compile grub2.02 source code, I can not find that the Unicode.pf2 and the command of grub-mkfont. How I configure to get Unicode.pf2 and the command of grub-mkfont? Build: ./configure make make install grub-install grub-install /dev/sda Best regards, Sherry Zhang ?

Question: grub2 grubx64.efi and load dynamic modules

2018-09-05 Thread Sherry Zhang(BJ-RD)
Hi all, Target=x86_64-efi Question1: I have read that grubx64.efi is made of PE header , kernel.img and modules. So are compressed the kernel.img and modules? Question2: How does the grub2 implement to load dynamic module ? Best regards, Sherry Zhang ?

Question about the boot protocol

2018-08-30 Thread Sherry Zhang(BJ-RD)
Hi all, Recently I have learned the grub2.02 source code. Legacy BIOS Target=I386-pc Linux kernel Documents/x86/boot.txt : (1) 16-bit boot protocol (2) 32-bit boot protocol: (3) 64-bit boot protocol: 64-bit cpu/kernel/bootloader Some questions about it. Question 1: How do I check that

How can I debug the grub2.02?

2018-08-22 Thread Sherry Zhang(BJ-RD)
Hi all, Platform : i386-pc Grub2.02 I run into a error while I am testing. I have found that it is normal berfore BIOS using the INT19 . But when the linux OS System is booting , I can see the error log. So I doubt the error happens when the grub is running. If I want to debug grub, how can I

the rootcause of the grub2 that can support USB keyboard

2018-08-21 Thread Sherry Zhang(BJ-RD)
Hi all, Rencently, I have learned the GRUB2. And I have a question about it. The first experiment: Platform: i386-pc Sata : MBR format I have read the grub-2.02 source code and I find the core.img including the modules : ext2 part_msdos biosdisk I delete the grub.cfg in the