Hi Grant,
I have traced down the location of the lockup finally, it's caused by a possibly malfunctioning 64bit divide which always returns a quotient when it should not. This locked up a function trying to work out how many digits in a number.
Thanks for taking a poke at this, the memblock=debug I did not know about gave me better confidence in my u-boot patch.
Graeme
On 23/06/13 18:19, Grant Likely wrote:
On Sun, Jun 23, 2013 at 5:16 PM, Graeme Gregory graeme.gregory@linaro.org wrote:
Hi Grant,
Sorry, that was the wrong kernel I booted, here is correct log.
Thanks
Graeme
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 3.10.0-rc6-00159-gd175e0e-dirty (graeme@xora-build) (gcc version 4.7.3 20130328 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.04-20130415 - Linaro GCC 2013.04) ) #136 SMP Sun Jun 23 17:10:48 BST 2013 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x BeagleBone [ 0.000000] acpi: start info is 0x000010AA000010AA, 3229199256 bytes [ 0.000000] acpi: sig is "ACPI" [ 0.000000] acpi: info is 00 00 10 a2 [ 0.000000] acpi: first table is "RSD " [ 0.000000] bootconsole [earlycon0] enabled [ 0.000000] memblock_reserve: [0x00000080008280-0x00000080dbb8e8] arm_memblock_init+0x48/0x170 [ 0.000000] memblock_reserve: [0x00000080004000-0x00000080008000] arm_memblock_init+0xf4/0x170 [ 0.000000] memblock_reserve: [0x0000008f230000-0x0000008f235146] arm_dt_memblock_reserve+0x24/0x90 [ 0.000000] memblock_reserve: [0x0000008f236000-0x0000008f2370aa] arm_dt_memblock_reserve+0x84/0x90
Okay, so it looks like the region is getting reserved correctly, assuming that the following log are the only places the ACPI code wants to look. Do you have a diff between a working and a non-working boot? Use loglevel=8 on the kernel command line to get as much output as possible, and turn off printk timings so the diff is easier.
[...]
[ 0.000000] ACPI: RSDP 8f236008 00024 (v02 LINARO) [ 0.000000] ACPI: XSDT 8f23602c 000C4 (v01 LINARO ARNDALE 00000014 INTL 20130517) [ 0.000000] ACPI: FACP 8f2360f0 0010C (v05 LINARO ARNDALE 00000000 INTL 20130517) [ 0.000000] ACPI: DSDT 8f2361fc 00228 (v01 LINARO ARNDALE 00000002 INTL 20130517) [ 0.000000] ACPI: MSCT 8f236464 00090 (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: MCHI 8f2364f4 00045 (v01 LINARO ARNDALE 02000715 INTL 20130517) [ 0.000000] ACPI: FPDT 8f236539 00064 (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: ERST 8f23659d 00230 (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: EINJ 8f2367cd 00130 (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: CPEP 8f2368fd 00034 (v01 LINARO ARNDALE 00000000 INTL 20130517) [ 0.000000] ACPI: UEFI 8f236931 00036 (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: SRAT 8f236967 00080 (v03 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: SPMI 8f2369e7 00041 (v04 LINARO ARNDALE 00000000 INTL 20130517) [ 0.000000] ACPI: SLIT 8f236a28 001BC (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: OEM0 8f236be4 00024 (v01 LINARO ARNDALE 0000000A INTL 20130517) [ 0.000000] ACPI: MPST 8f236c08 000B6 (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: MCFG 8f236cbe 0003C (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: APIC 8f236cfa 000F6 (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: HEST 8f236df0 001D4 (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: GTDT 8f236fc4 00050 (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: ECDT 8f237014 00042 (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: BERT 8f237056 00030 (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: SSDT 8f237086 00024 (v02 LINARO ARNDALE 00000001 INTL 20130517)