From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Holler Date: Tue, 21 Dec 2010 14:38:17 +0100 Subject: [U-Boot] [RFC PATCH v2] ARM: Avoid compiler optimization for usages of readb, writeb and friends. In-Reply-To: References: <1292711230-3234-1-git-send-email-holler@ahsoftware.de> <4D0DB994.1020703@googlemail.com> <4D0DDCEF.2040806@ahsoftware.de> <4D0E643A.9040001@ahsoftware.de> <4D0EA9BB.4050002@ahsoftware.de> <4D0F8E75.2010107@ahsoftware.de> Message-ID: <4D10ADC9.1020404@ahsoftware.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello, Am 21.12.2010 01:25, schrieb John Rigby: > On Mon, Dec 20, 2010 at 10:12 AM, Alexander Holler wrote: > >> There must be more problems. Using gcc 4.5.1, the read*/write*-patch and ... > Yes, you are correct, I see the same here with 4.5.2. I noticed that > bd did not have correct values of machine type and boot params: > > bd address = 0x8FF24FE0 ... Great! Thanks a lot for searching and finding that. I've just tested an u-boot for the BeagleBoard with your "Move DECLARE..."-patch compiled with gcc 4.5.1 and it now boots. ;) I remember having seen those two DECLARE_GLOBAL_DATA_PTR in beagle.c too, but I was to lazy at that time to check if that has (bad) consequences. ;) Regards, Alexander