Where can I find GRUB source for hikey960?


#1

Hi,

I am getting a grub menu while booting my Hikey960.
My hikey960 is having grub as bootloader for loading linux kernel.

I want make some modification to grub source and compile it.

I could not find a grub source code repository for hikey960 here.
https://github.com/96boards-hikey/

Is it available as a separate source code like it is for x86?
Or is it mixed with UEFI source?

Can anyone give me a link to grub source code?
Also I would like to know, what is EDK2 ?

Regards,
Sreenad.


#2

Hi,

I am getting a grub menu while booting my Hikey960.
I want make some modification to it and compile it from source.

To the menu or to grub itself? You don’t need the source code to update
the menu contents.

I could not find a grub source code repository for hikey960 here.
https://github.com/96boards-hikey/

Is it available as a separate source code like it is for x86?
Or is it mixed with UEFI source?

Grub is customized for hikey960 so we don’t put the sources in the hikey
github. You can just use the normal grub sources (I’m not 100% sure but I
suspect we are just using the grub binaries direct from
Debian
).

Can anyone give me a link to grub source code?
Also I would like to know, what is EDK2 ?

EDK2 is a UEFI implementation (somewhat like the “BIOS” on a PC… ). It
is one of the bits that must be specially customized for the board.
Effectively EDK2 provides all the tools to talk to the hardware and that
is why we can use grub unmodified.

Daniel.


#3

Hi daniel,

I got it. Thanks.

So I can get source from https://www.gnu.org/software/grub/grub-download.html

Regards,
Sreenad.