[U-Boot] Booting on seaboard (unaligned access)

Hi Tom,
I can't boot mainline on seaboard at present without reverting this commit:
c50afc1d Revert "arm: armv7: add compile option -mno-unaligned-access if available
Is there supposed to be another way of fixing this, or is my toolchain broken? I may have missed something.
Regards, Simon

I don't see that commit in u-boot-tegra. I assume it's in u-boot/master (TOT)? I'll try a Seaboard build from u-boot/master when I get a chance.
What about other (non-Tegra) ARM boards?
-----Original Message----- From: sjg@google.com [mailto:sjg@google.com] On Behalf Of Simon Glass Sent: Wednesday, February 06, 2013 2:06 PM To: U-Boot Mailing List Cc: Tom Warren; Albert ARIBAUD Subject: Booting on seaboard (unaligned access)
Hi Tom,
I can't boot mainline on seaboard at present without reverting this commit:
c50afc1d Revert "arm: armv7: add compile option -mno-unaligned-access if available
Is there supposed to be another way of fixing this, or is my toolchain broken? I may have missed something.
Regards, Simon
----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -----------------------------------------------------------------------------------

Sorry, I do see it - I was using a mangled grep string. I have no problem with it w/Sourcery G++ Lite 2009q3-67 4.4.1, which is what I've used forever.
-----Original Message----- From: Tom Warren Sent: Wednesday, February 06, 2013 3:08 PM To: 'Simon Glass'; U-Boot Mailing List Cc: Albert ARIBAUD Subject: RE: Booting on seaboard (unaligned access)
I don't see that commit in u-boot-tegra. I assume it's in u-boot/master (TOT)? I'll try a Seaboard build from u-boot/master when I get a chance.
What about other (non-Tegra) ARM boards?
-----Original Message----- From: sjg@google.com [mailto:sjg@google.com] On Behalf Of Simon Glass Sent: Wednesday, February 06, 2013 2:06 PM To: U-Boot Mailing List Cc: Tom Warren; Albert ARIBAUD Subject: Booting on seaboard (unaligned access)
Hi Tom,
I can't boot mainline on seaboard at present without reverting this commit:
c50afc1d Revert "arm: armv7: add compile option -mno-unaligned-access if available
Is there supposed to be another way of fixing this, or is my toolchain
broken?
I may have missed something.
Regards, Simon
----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -----------------------------------------------------------------------------------

Hi Simon,
On Wed, 6 Feb 2013 13:06:15 -0800, Simon Glass sjg@chromium.org wrote:
Hi Tom,
I can't boot mainline on seaboard at present without reverting this commit:
c50afc1d Revert "arm: armv7: add compile option -mno-unaligned-access if available
Is there supposed to be another way of fixing this, or is my toolchain broken? I may have missed something.
You mean you need to revert the revert to get U-Boot to run, correct?
As per our IRC discussion, I understand the board just hangs, so I suspect an exception in SPL, as all exceptions handlers there basically branch to themselves.
I'd like to know if the board did work between c50afc1d and now, for at least some commits, or if it never ever worked since c50afc1d.
Also, if running the board under JTAG debug is possible, I suggest doing so while making sure you'll get control if an exception occurs. This should tell us which exception occurred and hopefully where and why.
Regards, Simon
Amicalement,
participants (3)
-
Albert ARIBAUD
-
Simon Glass
-
Tom Warren