Skip to contentSkip to conversation

ARM how-to?

DISCUSSION Andrey Borzenkov 3 participants 4 messages Jul 18, 2013 – Jul 21, 2013

lore
Share & tools
lore
#0 lore raw

Could someone provide simple steps how to actually use ARM port? As I understand core.img need to be installed as payload for native bootloader, right? Is it supported by grub-install or needs manual intervention?

#1 lore raw
Quoted 4 lines · Andrey Borzenkov

Could someone provide simple steps how to actually use ARM port? As I understand core.img need to be installed as payload for native bootloader, right? Is it supported by grub-install or needs manual intervention?

If you are using the u-boot port, you need to manually tell u-boot where to find and load the image.

There is a little bit of documentation on the Linaro wiki:
https://wiki.linaro.org/LEG/Engineering/Kernel/GRUB
https://wiki.linaro.org/LEG/Engineering/Kernel/GRUBonUBOOT

For UEFI, there is:
https://wiki.linaro.org/LEG/Engineering/Kernel/GRUBonUEFI

/
Leif

#2 lore raw

В Thu, 18 Jul 2013 18:47:11 +0100
Leif Lindholm <[email protected]> пишет:

Quoted 6 lines · Andrey Borzenkov
Quoted 4 lines

Could someone provide simple steps how to actually use ARM port? As I understand core.img need to be installed as payload for native bootloader, right? Is it supported by grub-install or needs manual intervention?

Quoted 7 lines

If you are using the u-boot port, you need to manually tell u-boot where to find and load the image.

There is a little bit of documentation on the Linaro wiki:
https://wiki.linaro.org/LEG/Engineering/Kernel/GRUB
https://wiki.linaro.org/LEG/Engineering/Kernel/GRUBonUBOOT

Does restriction about non-relocatable core.img still apply?

Quoted 10 lines

For UEFI, there is:
https://wiki.linaro.org/LEG/Engineering/Kernel/GRUBonUEFI

/
Leif

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

#3 lore raw
Quoted 12 lines · Andrey Borzenkov

В Thu, 18 Jul 2013 18:47:11 +0100
Leif Lindholm <[email protected]> пишет:

Quoted 9 lines · Andrey Borzenkov
Quoted 4 lines

Could someone provide simple steps how to actually use ARM port? As I understand core.img need to be installed as payload for native bootloader, right? Is it supported by grub-install or needs manual intervention?

If you are using the u-boot port, you need to manually tell u-boot where to find and load the image.

Quoted 6 lines
Quoted 4 lines

There is a little bit of documentation on the Linaro wiki:
https://wiki.linaro.org/LEG/Engineering/Kernel/GRUB
https://wiki.linaro.org/LEG/Engineering/Kernel/GRUBonUBOOT

Does restriction about non-relocatable core.img still apply?

Yes.

Please note that to have support for device tree working correctly you may need to replace the file grub-core/lib/fdt.c in the ARM branch with the file I sent to the list on April 7th (see
http://lists.gnu.org/archive/html/grub-devel/2013-04/msg00086.html).
The patch I posted earlier today is needed too.

Regards,
Francesco