[U-Boot] U-Boot on nyan-big via legacy boot
Simon Glass
sjg at chromium.org
Thu Dec 4 16:53:41 CET 2014
Hi Simon,
On 4 December 2014 at 08:23, SimonH <simon.hoinkis at codethink.co.uk> wrote:
> Hi Simon,
>
> I'm trying to boot a Linux distribution of choice on the Acer CB5-311-T9XM
> (nyan-big). I applied your patches from last Wednesday (v4, without the
> display driver) and flashed the patched uboot to the RW_LEGACY section after
> running this script with some objcopies
> (https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/master/sys-boot/chromeos-bootimage/files/build_cb_legacy_uboot.sh).
> Afterwards I jumped into the legacy section with Ctrl+L. Unfortunately it
> just resets the board after some seconds. The reset cause is: "reset-pin"
> and "hard". Find the EC UART output at the bottom. Using the norrin.board
> pinmux instead of nyan-big.board didn't change the behaviour (GPIO PI5).
>
> Do you have an idea what I'm doing wrong?
>
> Regards,
> Simon Hoinkis
>
>
> ==============
>> [707.396727 KB disable_scanning_mask changed: 0x00000002]
> [707.397096 clearing keyboard fifo]
> [707.427496 power button pressed]
> [707.427817 power state 0 = G3, in 0x0002]
> [707.428111 power state 4 = G3->S5, in 0x0002]
> [707.428420 power state 1 = S5, in 0x0002]
> [707.428744 power on 4]
> [707.428940 power state 5 = S5->S3, in 0x0002]
> [707.429337 event set 0x00000004]
> [707.515505 KB disable_scanning_mask changed: 0x00000000]
> [707.515905 KB poll]
> [707.518237 KB wait]
> [707.518490 power button released]
> [707.578868 AP running ...]
> [707.579120 XPSHOLD seen]
> [707.579307 power button released]
> [707.579526 power state 2 = S3, in 0x0001]
> [707.579822 power state 6 = S3->S0, in 0x0001]
> [707.580237 power state 3 = S0, in 0x0001]
> [707.580546 power state 3 = S0, in 0x0001]
> [708.589262 HC 0x17]
> [708.701953 HC 0x17]
> [709.050726 HC 0x87]
> [709.306185 HC 0x0b]
> [709.307141 HC 0x02]
> [709.308568 HC 0x8f]
> [709.309410 HC 0x17]
> [709.310322 HC 0x02]
> [709.312095 HC 0x2a]
> [709.609599 HC 0x60]
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++[713.149534
> KB poll]
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++[713.345748
> SPI not ready]
> [713.693436 KB wait]
> [714.343943 HC 0x60]
> [714.831170 HC 0x87]
> [714.860518 HC 0x17]
> +[714.901832 HC 0x87]
> [714.903381 HC 0x17]
> [714.909516 HC 0x87]
> [714.952615 HC 0x0b]
> [714.953567 HC 0x02]
> [714.955056 HC 0x8f]
> [714.955900 HC 0x17]
> [714.956811 HC 0x02]
> [714.958647 HC 0x2a]
> [715.210692 HC 0x17]
> [715.268617 HC 0x87]
> [715.297954 HC 0x17]
> [715.410636 HC 0x17]
> +[715.453754 HC 0x87]
> [715.455265 HC 0x17]
> [715.705643 HC 0x87]
> [715.973001 HC 0x0b]
> [715.973887 HC 0x02]
> [715.975297 HC 0x8f]
> [715.976137 HC 0x17]
> [715.977050 HC 0x02]
> [715.978520 HC 0x17]
> [715.979284 HC 0xd2]
This is a reboot command - EC_CMD_REBOOT_EC. I wonder how/why your
U-Boot might issue that command?
> [715.992957 power state 3 = S0, in 0x0002]
> [715.993319 power lost input; wanted 0x0001, got 0x0000]
> [715.993645 power off 3]
> [716.003561 SPI rx bad data]
>
>
> --- UART initialized after reboot ---
> [Reset cause: reset-pin hard]
> [Image: RO, big_v1.1.1800-82f03de 2014-06-18 16:44:37 @build122-m2]
> [0.002773 KB boot key 0]
> [0.002972 not sysjump; forcing AP shutdown]
> [0.053212 EC triggered warm reboot]
> [0.053448 assert GPIO_PMIC_WARM_RESET_L for 4 ms]
> [0.057726 auto_power_on set due to reset_flag 0x802]
> [0.058023 Wait for battery stabilized during 2800000]
> [0.088383 i2c_xfer start error; unwedging and resetting i2c 0]
> [0.114835 battery initialized]
> [0.119583 hash start 0x00010000 0x0000e26c]
> [0.119939 Inits done]
> [0.120116 KB init state: -- -- -- -- -- -- -- -- -- -- -- -- --]
> [0.120566 KB wait]
> Console is enabled; type HELP for help.
>> [0.120987 event set 0x00002000]
> [0.121209 hostcmd init 0x2000]
> [0.121448 power state 0 = G3, in 0x0002]
> [0.121717 power state 4 = G3->S5, in 0x0002]
> [0.122002 power state 1 = S5, in 0x0002]
> [0.122268 power on 2]
> [0.122439 power state 5 = S5->S3, in 0x0002]
> [0.122738 wait for 102ms for PMIC RTC start-up]
> [0.128586 battery Manuf:LGC, Device=AC14B8K, design=15200]
> [0.143669 [0.334359 AP running ...]
> [0.334587 XPSHOLD seen]
> [0.334750 power button released]
> [0.334945 power state 2 = S3, in 0x0001]
> [0.335217 power state 6 = S3->S0, in 0x0001]
> [0.335608 power state 3 = S0, in 0x0001]
> [0.335893 power state 3 = S0, in 0x0001]
> [0.354646 HC 0x87]
> [0.383998 HC 0x17]
> [0.496911 HC 0x17]
> +[0.507842 hash done
> b771979e3540b9424ecf2ba8290844b1d28bb689a79cac9d130351fe2c91dff1]
> [0.539961 HC 0x87]
> [0.541511 HC 0x17]
> [0.793568 HC 0x87]
> [1.061013 HC 0x0b]
> [1.061894 HC 0x02]
> [1.063306 HC 0x8f]
> [1.064183 HC 0x17]
> [1.065027 HC 0x02]
> [1.354932 HC 0x60]
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++[2.765351
> KB disable_scanning_mask changed: 0x00000002]
> [2.765701 clearing keyboard fifo]
> +[2.771068 HC 0x17]
> [2.785080 power state 3 = S0, in 0x0002]
> [2.785415 KB disable_scanning_mask changed: 0x00000000]
> [2.785734 KB poll]
> [2.795679 SPI rx bad data]
> [2.796536 KB wait]
> [2.796775 power lost input; wanted 0x0001, got 0x0000]
> [2.797083 power off 3]
> [2.807244 power button pressed]
> [2.807696 event set 0x00000004]
> [2.840193 power button released]
> [2.898064 power shutdown complete]
> [2.903336 power state 7 = S0->S3, in 0x0002]
> [2.913146 power state 2 = S3, in 0x0002]
> [2.922148 power state 8 = S3->S5, in 0x0002]
> [2.931394 power button released]
> [2.936197 power state 1 = S5, in 0x0002]
> [2.944998 power state 1 = S5, in 0x0002]
> [12.955528 power state 9 = S5->G3, in 0x0002]
> [12.966860 power state 0 = G3, in 0x0002]
>
>
Regards,
Simon
More information about the U-Boot
mailing list