U-Boot on nyan-big via legacy boot
A message that is not in the archive (sent off-list or not yet received): [email protected]
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
==============
Quoted 1 line
[707.396727 KB
disable_scanning_maskchanged: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]
[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.
Quoted 1 line
[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]
Hi Simon,
Quoted 72 lines · SimonH
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_LEGACYsection 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==============
Quoted 1 line
[707.396727 KB
disable_scanning_maskchanged:0x00000002][707.397096 clearing keyboard fifo]
[707.427496 power button pressed]
[707.427817 power state 0 = G3, in0x0002]
[707.428111 power state 4 =G3->S5, in0x0002]
[707.428420 power state 1 = S5, in0x0002]
[707.428744 power on 4]
[707.428940 power state 5 =S5->S3, in0x0002]
[707.429337 event set0x00000004]
[707.515505 KBdisable_scanning_maskchanged: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, in0x0001]
[707.579822 power state 6 =S3->S0, in0x0001]
[707.580237 power state 3 = S0, in0x0001]
[707.580546 power state 3 = S0, in0x0001]
[708.589262 HC0x17]
[708.701953 HC0x17]
[709.050726 HC0x87]
[709.306185 HC0x0b]
[709.307141 HC0x02]
[709.308568 HC0x8f]
[709.309410 HC0x17]
[709.310322 HC0x02]
[709.312095 HC0x2a]
[709.609599 HC0x60] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++[713.149534 KB poll]
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++[713.345748
SPI not ready]
[713.693436 KB wait]
[714.343943 HC0x60]
[714.831170 HC0x87]
[714.860518 HC0x17]
+[714.901832 HC0x87]
[714.903381 HC0x17]
[714.909516 HC0x87]
[714.952615 HC0x0b]
[714.953567 HC0x02]
[714.955056 HC0x8f]
[714.955900 HC0x17]
[714.956811 HC0x02]
[714.958647 HC0x2a]
[715.210692 HC0x17]
[715.268617 HC0x87]
[715.297954 HC0x17]
[715.410636 HC0x17]
+[715.453754 HC0x87]
[715.455265 HC0x17]
Quoted 8 lines
[715.705643 HC
0x87]
[715.973001 HC0x0b]
[715.973887 HC0x02]
[715.975297 HC0x8f]
[715.976137 HC0x17]
[715.977050 HC0x02]
[715.978520 HC0x17]
[715.979284 HC0xd2]
This is a reboot command - EC_CMD_REBOOT_EC. I wonder how/why your U-Boot might issue that command?
Quoted 67 lines
[715.992957 power state 3 = S0, in
0x0002] [715.993319 power lost input; wanted0x0001, got0x0000] [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 assertGPIO_PMIC_WARM_RESET_Lfor 4 ms] [0.057726auto_power_onset due toreset_flag0x802] [0.058023 Wait for battery stabilized during 2800000] [0.088383i2c_xferstart error; unwedging and resetting i2c 0] [0.114835 battery initialized]
[0.119583 hash start0x000100000x0000e26c]
[0.119939 Inits done]
[0.120116 KB init state: -- -- -- -- -- -- -- -- -- -- -- -- --] [0.120566 KB wait]
Console is enabled; type HELP for help.Quoted 1 line
[0.120987 event set
0x00002000][0.121209 hostcmd init
0x2000]
[0.121448 power state 0 = G3, in0x0002]
[0.121717 power state 4 =G3->S5, in0x0002]
[0.122002 power state 1 = S5, in0x0002]
[0.122268 power on 2]
[0.122439 power state 5 =S5->S3, in0x0002]
[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, in0x0001]
[0.335217 power state 6 =S3->S0, in0x0001]
[0.335608 power state 3 = S0, in0x0001]
[0.335893 power state 3 = S0, in0x0001]
[0.354646 HC0x87]
[0.383998 HC0x17]
[0.496911 HC0x17]
+[0.507842 hash doneb771979e3540b9424ecf2ba8290844b1d28bb689a79cac9d130351fe2c91dff1] [0.539961 HC0x87]
[0.541511 HC0x17]
[0.793568 HC0x87]
[1.061013 HC0x0b]
[1.061894 HC0x02]
[1.063306 HC0x8f]
[1.064183 HC0x17]
[1.065027 HC0x02]
[1.354932 HC0x60] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++[2.765351 KBdisable_scanning_maskchanged:0x00000002]
[2.765701 clearing keyboard fifo]
+[2.771068 HC0x17]
[2.785080 power state 3 = S0, in0x0002]
[2.785415 KBdisable_scanning_maskchanged:0x00000000]
[2.785734 KB poll]
[2.795679 SPI rx bad data]
[2.796536 KB wait]
[2.796775 power lost input; wanted0x0001, got0x0000]
[2.797083 power off 3]
[2.807244 power button pressed]
[2.807696 event set0x00000004]
[2.840193 power button released]
[2.898064 power shutdown complete]
Quoted 10 lines
[2.903336 power state 7 =
S0->S3, in0x0002]
[2.913146 power state 2 = S3, in0x0002]
[2.922148 power state 8 =S3->S5, in0x0002]
[2.931394 power button released]
[2.936197 power state 1 = S5, in0x0002]
[2.944998 power state 1 = S5, in0x0002]
[12.955528 power state 9 =S5->G3, in0x0002]
[12.966860 power state 0 = G3, in0x0002]
Regards,
Simon
Hi Simon,
Quoted 4 lines · Simon Glass
Quoted 1 line
[715.979284 HC
0xd2]This is a reboot command -
EC_CMD_REBOOT_EC. I wonder how/why your U-Boot might issue that command?
From my investigation, Coreboot is issuing this reboot command, because
the Coreboot payload (which in my case is U-Boot) for some reason isn't valid. With CONFIG_PANIC_HANG defined there is no UART output from the EC at all.
Is a prepended SPL needed before the U-Boot+DTB payload?
When flashing U-Boot from the Chromium OS branch it gives some UART output but freezes because SPI and MMC driver are not working properly ("emerge-nyan chromeos-u-boot").
Is this the best starting point to develop a working U-Boot?
Regards,
Simon
Hi,
Quoted 10 lines · SimonH
Hi Simon,
Quoted 4 lines · Simon Glass
Quoted 1 line
[715.979284 HC
0xd2]This is a reboot command -
EC_CMD_REBOOT_EC. I wonder how/why your U-Boot might issue that command?From my investigation, Coreboot is issuing this reboot command, because the Coreboot payload (which in my case is U-Boot) for some reason isn't valid.
Normally you would hope for lots of AP serial output in this case.
Quoted 2 lines
With
CONFIG_PANIC_HANGdefined there is no UART output from the EC at all. Is a prepended SPL needed before the U-Boot+DTB payload?
I don't think so, but I have not tried.
Quoted 5 lines
When flashing U-Boot from the Chromium OS branch it gives some UART output but freezes because SPI and MMC driver are not working properly ("emerge-nyan chromeos-u-boot").
Is this the best starting point to develop a working U-Boot?
Yes, and I'm not sure of the state in the branch. Which branch?
See u-boot-dm/nyan-working for an upstream version. It boots (at least from USB A-A) and the display comes up. To do: EC, keyboard, USB, maybe other things.
Regards,
Simon