From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1V3VYc-0003Go-Np for mharc-grub-devel@gnu.org; Sun, 28 Jul 2013 14:19:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3VYT-000349-H2 for grub-devel@gnu.org; Sun, 28 Jul 2013 14:19:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3VYK-0005Iq-HW for grub-devel@gnu.org; Sun, 28 Jul 2013 14:18:53 -0400 Received: from mail-lb0-x235.google.com ([2a00:1450:4010:c04::235]:63167) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3VYK-0005Ig-AD for grub-devel@gnu.org; Sun, 28 Jul 2013 14:18:44 -0400 Received: by mail-lb0-f181.google.com with SMTP id o10so2500895lbi.12 for ; Sun, 28 Jul 2013 11:18:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=sR9862kxEyuIpZCoLhwPsHs7fIxRVAXL+uoz3b1zcMg=; b=q6XPfcMPNn3R977CxeJIyYWYWwuV+2MmtDlM8lqF3wVldB1wr/+eOI33Dpf+w57vHy 357enRvfPLJMBCqTCoqqOo5kzOGGnVUQycdCHJc66bRC9yETLC29f76/K6u84DgLa9og KZE5mndwFVC+aXq88rU8LMGIq/T5Mry4dp+J6W3PeKWlBilyUmTnoZIEtRroOjBM+Zn5 E7es5Zwx/1ArKQWzm7C3XsPWFECbBCuJIlZ3Ns7DuACQZwmNP/UW+1BCmAKCVqip58JX 93tTt50qUbIzBFB7A0BCcOQ3fr/qj6s6fKnr+3idDO1ReXd+aA3ioMWggmVPwcEAvWAy 1S3A== X-Received: by 10.152.30.35 with SMTP id p3mr7888566lah.32.1375035523204; Sun, 28 Jul 2013 11:18:43 -0700 (PDT) Received: from opensuse.site (ppp79-139-160-84.pppoe.spdop.ru. [79.139.160.84]) by mx.google.com with ESMTPSA id js17sm4986530lab.5.2013.07.28.11.18.42 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sun, 28 Jul 2013 11:18:42 -0700 (PDT) Date: Sun, 28 Jul 2013 22:18:41 +0400 From: Andrey Borzenkov To: grub-devel@gnu.org Subject: Re: [PATCH] [ARM] Enable boot module for arm Message-ID: <20130728221841.49492e94@opensuse.site> In-Reply-To: <51F55C79.3080405@gmail.com> References: <51EBE025.6040302@gmail.com> <51F137FE.4030102@gmail.com> <51F139FF.2030402@gmail.com> <51F13E82.7040207@gmail.com> <20130727074625.64ad89d2@opensuse.site> <51F34AE4.1080709@gmail.com> <20130727091936.20e9a978@opensuse.site> <51F3DCD7.7090407@gmail.com> <20130728205141.0621c44c@opensuse.site> <51F55C79.3080405@gmail.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.18; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::235 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jul 2013 18:19:02 -0000 =D0=92 Sun, 28 Jul 2013 20:01:29 +0200 Vladimir '=CF=86-coder/phcoder' Serbinenko =D0=BF=D0=B8= =D1=88=D0=B5=D1=82: > 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=20 > change linking address. >=20 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 =3D 0x= 0002f7cc ## Booting kernel from Legacy Image at 0002f7cc ... Image Name: =20 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 94184 Bytes =3D 92 KiB Load Address: 08000000 Entry Point: 08000000 kernel data at 0x0002f80c, len =3D 0x00016fe8 (94184) ## No init Ramdisk ramdisk start =3D 0x00000000, ramdisk end =3D 0x00000000 Loading Kernel Image ... OK OK kernel loaded at 0x08000000, end =3D 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>=20