From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1V3WF6-0002R7-85 for mharc-grub-devel@gnu.org; Sun, 28 Jul 2013 15:02:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3WEv-0002GY-Cq for grub-devel@gnu.org; Sun, 28 Jul 2013 15:02:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3WEg-0000yw-HD for grub-devel@gnu.org; Sun, 28 Jul 2013 15:02:45 -0400 Received: from mail-la0-x232.google.com ([2a00:1450:4010:c03::232]:48384) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3WEg-0000yb-Ad for grub-devel@gnu.org; Sun, 28 Jul 2013 15:02:30 -0400 Received: by mail-la0-f50.google.com with SMTP id ep20so3494208lab.9 for ; Sun, 28 Jul 2013 12:02:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding:resent-date :resent-from:subject:resent-message-id:resent-to; bh=PY9LnZBHlATPPv4xi5aWFjU5zk4FLTnZqUBY0cfUCTo=; b=gPNXJ37LAncosKRNkb9YNDxXeZxBTzrllPrzYxECsYxg2v1kYN1i37YzJO5v+jbe4b LniMIkAc5qHY8JhydX0l0C+QhsfCv5Q+oesyIyTjQ80cd3xQYpTBF9OGU+MqnZVL/fn+ sp974zcIjY3PWjZLl5SNK+JuxSOzMg510FqPy88yCvXTCXmVOyP5rWOy7veYU5EI5jf6 c+HIlruNCH28VbizbpLsRh3+nu37TLU3flJGXK2HoPu+LeZHpQaOJdNaLOQNSQpXb1wf cIrBWxtXs2oXwcaIdVat53SA3hT3O1iUa5br8M7il1ctOp+zjd1CShQOMquMi5Ga8QK9 oIuQ== X-Received: by 10.112.143.162 with SMTP id sf2mr23602697lbb.1.1375038149346; Sun, 28 Jul 2013 12:02:29 -0700 (PDT) Received: from opensuse.site (ppp79-139-160-84.pppoe.spdop.ru. [79.139.160.84]) by mx.google.com with ESMTPSA id p17sm4784189lbv.11.2013.07.28.12.02.28 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sun, 28 Jul 2013 12:02:29 -0700 (PDT) Date: Sun, 28 Jul 2013 23:01:08 +0400 From: Andrey Borzenkov (by way of Andrey Borzenkov ) To: Andrey Borzenkov Message-ID: <20130728230108.04a7faeb@opensuse.site> In-Reply-To: <20130728221841.49492e94@opensuse.site> 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> <20130728221841.49492e94@opensuse.site> 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 Resent-Date: Sun, 28 Jul 2013 23:02:28 +0400 Resent-From: Andrey Borzenkov Subject: Re: [PATCH] [ARM] Enable boot module for arm Resent-Message-ID: <20130728230228.7f770eea@opensuse.site> Resent-To: grub-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::232 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 19:02:54 -0000 =D0=92 Sun, 28 Jul 2013 22:18:41 +0400 Andrey Borzenkov =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > =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: >=20 > > 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 >=20 > If you know which value it needs to have, you could just tell ... >=20 > 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 >=20 > VersatilePB # bootm 0x2F7CC > ## Current stack ends at 0x07facae8 * kernel: cmdline image address =3D = 0x0002f7cc > ## 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)... >=20 > Starting kernel ... >=20 > Welcome to GRUB! >=20 > error: variable `root' isn't set. > Entering rescue mode... > grub rescue>=20 Unfortunately attempt to do anything more useful ended up in Starting kernel ... Welcome to GRUB! Unsupported ARM ID 0x41069265 Aborted. Press any key to exit.resetting ... Which makes sense as we do not have any cache implementation for ARMv5 ... sigh, all other platforms listed by QEMU I tried would not even run U-Boot (at least, would not produce any output on serial console).