grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] [ARM] Enable boot module for arm


From: Andrey Borzenkov
Subject: Re: [PATCH] [ARM] Enable boot module for arm
Date: Sun, 28 Jul 2013 22:18:41 +0400

В Sun, 28 Jul 2013 20:01:29 +0200
Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden> пишет:

> On 28.07.2013 18:51, Andrey Borzenkov wrote:
> >     Load Address: 08000000
> >     Entry Point:  08000000
> This obviously can't work if this address is unavailable. You need to 
> change linking address.
> 

If you know which value it needs to have, you could just tell ...

Anyway the problem was that GRUB uboot code depends on U-Boot providing
API, and as it turned out it is optional (and not default). After
rebuilding U-Boot with CONFIG_API I now get

VersatilePB # bootm 0x2F7CC
## Current stack ends at 0x07facae8 *  kernel: cmdline image address = 
0x0002f7cc
## Booting kernel from Legacy Image at 0002f7cc ...
   Image Name:   
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    94184 Bytes = 92 KiB
   Load Address: 08000000
   Entry Point:  08000000
   kernel data at 0x0002f80c, len = 0x00016fe8 (94184)
## No init Ramdisk
   ramdisk start = 0x00000000, ramdisk end = 0x00000000
   Loading Kernel Image ... OK
OK
   kernel loaded at 0x08000000, end = 0x08016fe8
using: ATAGS
## Transferring control to Linux (at address 08000000)...

Starting kernel ...

Welcome to GRUB!

error: variable `root' isn't set.
Entering rescue mode...
grub rescue> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]