-
guineapig
- ROCKPro64, 4GB "old" model, V2.1 2018-07-02 (got it maybe on 2019)
- FORESEE 64 GB emmc (boot & root)
- ethernet connected
- serial console (FTDI FT232RL)
- 5.10.76 kernel
- pics:
-
crashtestdummy
- ROCKPro64, 4GB "new" model, V2.1 2018-07-02 (got it Dec 2020)
- FORESEE 16 GB emmc (boot & root)
- ethernet connected
- serial console (Prolific PL2303GC)
- 5.10.76 kernel
- pics:
-
two Logitech unifying receivers
- one being older model, another is newer
- (note to self to remember which is which: older is the one used on sbcs, newer is used on work laptop)
-
logitech k360 keyboard paired with older receiver
-
logitech craft keyboard paired with newer receiver
-
more pics:
- difference highlight pics from back:
- all pics: https://drive.google.com/drive/folders/1Y7KdtV8mKXt7TaN2LPWDZtIq8x3osqru?usp=sharing
-
guineapig
had trouble booting with "rescue sd" having uboot 2020.01-ayufan-2013-gdb96b24f never got to login with that. Getting a lot of this:Starting kernel ... "Synchronous Abort" handler, esr 0x02000000 elr: ffffffff0f6eb000 lr : 0000000000202354 (reloc) elr: 0000000003410000 lr : 00000000f3f27354 x0 : 00000000f09e4000 x1 : 0000000000000000 x2 : 0000000000000000 x3 : 0000000000000000 x4 : 0000000002080000 x5 : 0000000000000001 x6 : 0000000000000008 x7 : 0000000000000000 x8 : 00000000f1f49f60 x9 : 0000000000000002 x10: 000000000a200023 x11: 0000000000000002 x12: 0000000000000002 x13: 00000000f1f1cdde x14: 000000000000c768 x15: 00000000f3f26a68 x16: 0000000000000000 x17: 0000000000000080 x18: 00000000f1f1cdc8 x19: 00000000f3fe4f20 x20: 0000000000000000 x21: 0000000000000000 x22: 0000000000000003 x23: 00000000f1f08cc8 x24: 0000000000000003 x25: 00000000f1f08cc8 x26: 00000000f3fcf190 x27: 00000000f3fc6ef6 x28: 00000000f3fbd341 x29: 00000000f1f08a80 Code: 00000000 00000000 00000000 00000000 (cccccccc) Resetting CPU ... resetting ...
- it did start kernel few times but didn't get to login
- it booted just fine with "retrogator sd" though (uboot 2021.01, not sure how patched, buildroot thingy)
In addition to differences in components (see picture links above) boards have
different RAM chips and sdram_print_ddr_info()
in uboot's drivers/ram/rockchip/sdram_common.c
shows a little bit different info for them:
-
guineapig
/ "old" model:U-Boot TPL 2021.10-3 (Nov 27 2021 - 06:29:26) Channel 0: LPDDR4, 50MHz BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB Channel 1: LPDDR4, 50MHz BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB 256B stride
-
crashtestdummy
/ "new" model:U-Boot TPL 2021.10-3 (Nov 27 2021 - 06:29:26) Channel 0: LPDDR4, 50MHz BW=32 Col=10 Bk=8 CS0 Row=16/15 CS=1 Die BW=16 Size=2048MB Channel 1: LPDDR4, 50MHz BW=32 Col=10 Bk=8 CS0 Row=16/15 CS=1 Die BW=16 Size=2048MB 256B stride
-
diff:
--- guineapig-tpl-ram.txt 2021-12-04 15:45:27.249412185 +0200 +++ crashtestdummy-tpl-ram.txt 2021-12-04 15:45:28.156086960 +0200 @@ -1,6 +1,6 @@ U-Boot TPL 2021.10-3 (Nov 27 2021 - 06:29:26) Channel 0: LPDDR4, 50MHz -BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB +BW=32 Col=10 Bk=8 CS0 Row=16/15 CS=1 Die BW=16 Size=2048MB Channel 1: LPDDR4, 50MHz -BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB +BW=32 Col=10 Bk=8 CS0 Row=16/15 CS=1 Die BW=16 Size=2048MB 256B stride
# HUT is guineapig or crashtestdummy
# Just keep rebooting HUT until stopped
HUT=host_under_test; \
RB=1; \
while true; do \
echo "Reboot $RB"; \
let RB=RB+1; \
ssh ${HUT} "date; cat /sys/class/thermal/thermal_zone?/temp; sudo reboot" 2>&1 | sed 's/^/ /'; \
echo " Wait ${HUT} down..."; \
while timeout 0.5 ping -c1 -n ${HUT} &> /dev/null; do \
sleep 0.5; \
done; \
echo " Wait ${HUT} up...";
while ! timeout 0.5 ping -c1 -n ${HUT} &> /dev/null; do \
sleep 0.5; \
done; \
sleep 5; \
done
Manual reset is done on HUT if it's found getting stuck on boot.
- getting results from serial console logs:
-
(using strings in case grep thinks it's binary)
-
number of all boots (rp64-uboot-tests-202111-xxx is added to CONFIG_IDENT_STRING):
$ strings uart.log | grep rp64-uboot-tests-202111 | wc -l
-
ok boots (it hangs before
Starting kernel
in case of failure)$ strings uart.log | grep "Starting kernel" | wc -l
-
Format changes in test notes:
- 2021-12-04: Tests for each patch as 2nd level heading instead of list. As the doc is getting longer this makes it easier to use results in chat / forums / issue trackers because headings can be added to href.
All builds are based on Manjaro uboot-rockpro64 2021.10-1 unless otherwise noted.
- test notes:
- reproducing https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-rockpro64/-/issues/4
guineapig
should have failures in reboot andcrashtestdummy
should work w/o problems on uboot 2020.10-1.- build manjaro uboots 2020.10-1 and 2020.10-2 from using:
- upstream repo: https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-rockpro64
- commits:
- test-001: ca32edf78e221c830c4d851668bea4cd5f4a00de (2020.10-1, should fail on
guineapig
)- checked out new branch rp64-uboot-tests-202111-001
- added "rp64-uboot-tests-202111-001" to CONFIG_IDENT_STRING
- build
- link: https://gitlab.com/nuumio-manjaro/uboot-rockpro64/-/tags/rp64-uboot-tests-202111-001
- test-002: e88353a772ea38baeb50adb32911746af312d0a5 (2020.10-2, should work on
guineapig
)- checked out new branch rp64-uboot-tests-202111-002
- added "rp64-uboot-tests-202111-002" to CONFIG_IDENT_STRING
- build
- link: https://gitlab.com/nuumio-manjaro/uboot-rockpro64/-/tags/rp64-uboot-tests-202111-002
- test-001: ca32edf78e221c830c4d851668bea4cd5f4a00de (2020.10-1, should fail on
- tested above builds (just unpacked packages and dd'ed uboot files), results:
-
2020.10-1 / rp64-uboot-tests-202111-001
-
guineapig
: 10 OK, 5 FAIL -
crashtestdummy
: 27 OK, 0 FAIL -
guineapig
got stuck here on failed boots (just beforeStarting kernel ...
):75433 bytes read in 36 ms (2 MiB/s) Moving Image from 0x2080000 to 0x2200000, end=3be0000 ## Flattened Device Tree blob at 01f00000 Booting using the fdt blob at 0x1f00000
-
-
2020.10-2 / rp64-uboot-tests-202111-002
guineapig
: 50 OK, 0 FAILcrashtestdummy
: 50 OK, 0 FAIL
-
- Following issue has now been reproduced: https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-rockpro64/-/issues/4
- test notes:
- building:
- upstream repo: https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-rockpro64
- process:
- checked out commit 31850597156e1f6a73abb576593743e40c6029fe
- PKGBUILD changes:
- set pkgrel=2
- added "rp64-uboot-tests-202111-003" to CONFIG_IDENT_STRING
- build
- link: https://gitlab.com/nuumio-manjaro/uboot-rockpro64/-/tags/rp64-uboot-tests-202111-003
- test results (just unpacked packages and dd'ed uboot files):
-
guineapig
: 0 OK, 23 FAIL -
crashtestdummy
: 0 OK, 23 FAIL -
both failed with this:
U-Boot SPL 2021.10-2 (Nov 27 2021 - 05:14:20 +0000) Trying to boot from SPI Trying to boot from MMC2 Card did not respond to voltage select! : -110 spl: mmc init failed with error: -95 SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ###
-
- building:
- test notes:
- downloaded https://src.fedoraproject.org/rpms/uboot-tools/raw/9eb973e7d2ab74341c0eb7312576b6f016ec03d4/f/dts-rockchip-rk3399-enable-emmc-phy-for-spl.patch
as
0003-dts-rockchip-rk3399-enable-emmc-phy-for-spl.patch
(sha256:330637eefa65aff9766154515a9926b3625f624df6cfe37567264dfcd0e38072
) - building:
- upstream repo: https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-rockpro64
- process:
- checked out
rp64-uboot-tests-202111-003
/38b4cdc134
(continued on top of previous test build) - PKGBUILD changes:
- set pkgrel=3
- added "rp64-uboot-tests-202111-004" to CONFIG_IDENT_STRING
- included uboot patch
0003-dts-rockchip-rk3399-enable-emmc-phy-for-spl.patch
- build
- link: https://gitlab.com/nuumio-manjaro/uboot-rockpro64/-/tags/rp64-uboot-tests-202111-004
- checked out
- test results (just unpacked packages and dd'ed uboot files):
guineapig
: 50 OK, 0 FAILcrashtestdummy
: 50 OK, 0 FAIL
- downloaded https://src.fedoraproject.org/rpms/uboot-tools/raw/9eb973e7d2ab74341c0eb7312576b6f016ec03d4/f/dts-rockchip-rk3399-enable-emmc-phy-for-spl.patch
as
- test notes:
- building:
- upstream repo: https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-rockpro64
- process:
- checked out
rp64-uboot-tests-202111-004
/e0fd7496b5
(continued on top of previous test build) - PKGBUILD changes:
- set pkgrel=4
- removed line setting
CONFIG_USE_PREBOOT=n
, makingPREBOOT
enabled again - added "rp64-uboot-tests-202111-005" to CONFIG_IDENT_STRING
- build
- link: https://gitlab.com/nuumio-manjaro/uboot-rockpro64/-/tags/rp64-uboot-tests-202111-005
- checked out
- test results (just unpacked packages and dd'ed uboot files):
-
guineapig
: 3 OK, 35 FAIL -
crashtestdummy
: 50 OK, 0 FAIL -
guineapig
failed like with the first test package except it happened more frequently, got stuck at:75433 bytes read in 37 ms (1.9 MiB/s) Moving Image from 0x2080000 to 0x2200000, end=3be0000 ## Flattened Device Tree blob at 01f00000 Booting using the fdt blob at 0x1f00000
-
- building:
- test notes:
- like test-005 above, but with "PBP USB configs" added
- building:
- upstream repo: https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-rockpro64
- process:
- checked out
rp64-uboot-tests-202111-005
/503856ab74
(continued on top of previous test build) - PKGBUILD changes:
- set pkgrel=5
- (
PREBOOT
still enabled from previous build) - added "rp64-uboot-tests-202111-006" to CONFIG_IDENT_STRING
- add "PBP USB configs":
CONFIG_USB_EHCI_HCD=n
CONFIG_USB_EHCI_GENERIC=n
CONFIG_USB_XHCI_HCD=n
CONFIG_USB_XHCI_DWC3=n
CONFIG_USB_DWC3=n
CONFIG_USB_DWC3_GENERIC=n
- link to PBP PKGBUILD for reference: https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-pinebookpro/-/blob/bf087cc6949d02acf47bc7aac0c042fc4d992474/PKGBUILD
- build
- link: https://gitlab.com/nuumio-manjaro/uboot-rockpro64/-/tags/rp64-uboot-tests-202111-006
- checked out
- test results (just unpacked packages and dd'ed uboot files):
guineapig
: 150 OK, 0 FAILcrashtestdummy
: 150 OK, 0 FAIL
- test notes:
- NOTE: this run is bad, forgot to apply the patch in PKGBUILD. But forgotten USB device in
crashtestdummy
created interesting results.Testing Icenowy's patch suggested by sigmaris on #pine64 / #rock64 chat: that'll be Manjaro uboot-rockpro64 2021.10 with dts-rockchip-rk3399-enable-emmc-phy-for-spl.patch andIcenowy's patch, preboot enabled (will be build on top of test-005). - downloaded: https://github.com/sigmaris/u-boot/commit/a311daabe9983aa55322341fb3cf6a8851f73163.patch as 0004-phy-rockchip-inno-usb2-fix-hang-when-multiple-controllers-exit.patch (sha256: 0ddee85c2a26c9650a2177465db1e53d0b536cf76e29096bc9849505137471f5)
- building:
- upstream repo: https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-rockpro64
- process:
- checked out
rp64-uboot-tests-202111-005
/503856ab74
(continued on top of test-005) - PKGBUILD changes:
- set pkgrel=6
- (
PREBOOT
still enabled from previous build) - added "rp64-uboot-tests-202111-007" to CONFIG_IDENT_STRING
included uboot patch0004-phy-rockchip-inno-usb2-fix-hang-when-multiple-controllers-exit.patch
- build
- link: https://gitlab.com/nuumio-manjaro/uboot-rockpro64/-/tags/rp64-uboot-tests-202111-007
- checked out
- test results (just unpacked packages and dd'ed uboot files):
-
guineapig
: 2 OK, 22 FAIL -
crashtestdummy
: 33 OK, 19 FAIL -
NOTE: I forgot to remove a Logitech unifying receiver from
crashtestdummy
's upper USB-2 port before testing. While it the receiver was connectedcrashtestdummy
suffered from the same "getting stuck" problem asguineapig
. After removing the receivercrashtestdummy
started booting just fine. All 19 failed cases were before that. -
This is the where they both got stuck (before the receiver was removed from
crashtestdummy
):75433 bytes read in 36 ms (2 MiB/s) Moving Image from 0x2080000 to 0x2200000, end=3be0000 ## Flattened Device Tree blob at 01f00000 Booting using the fdt blob at 0x1f00000
-
NOTE: this run (test-007) is bad, forgot to apply the patch in PKGBUILD. But forgotten USB device in
crashtestdummy
created interesting results.
-
- NOTE: this run is bad, forgot to apply the patch in PKGBUILD. But forgotten USB device in
- test notes:
- Testing Icenowy's patch suggested by sigmaris on #pine64 / #rock64 chat: that'll be Manjaro uboot-rockpro64 2021.10 with dts-rockchip-rk3399-enable-emmc-phy-for-spl.patch and Icenowy's patch, preboot enabled (will be build on top of test-007).
- Icenowy's patch already downloaded on test-007
- building:
- upstream repo: https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-rockpro64
- process:
- checked out
rp64-uboot-tests-202111-007
/221e2be9e7
(continued on top of test-007) - PKGBUILD changes:
- set pkgrel=7
- (
PREBOOT
still enabled from previous build) - added "rp64-uboot-tests-202111-008" to CONFIG_IDENT_STRING
- patch file
0004-phy-rockchip-inno-usb2-fix-hang-when-multiple-controllers-exit.patch
is already included in test-007- applied the patch too this time :)
- build
- link: https://gitlab.com/nuumio-manjaro/uboot-rockpro64/-/tags/rp64-uboot-tests-202111-008
- checked out
- test results (just unpacked packages and dd'ed uboot files):
- test set 001: no usb gadgets
guineapig
: 100 OK, 0 FAILcrashtestdummy
: 100 OK, 0 FAIL
- test set 002: Logitech unifying receiver on upper USB 2 port, new receiver on
guineapig
, old oncrashtestdummy
, keyboard was not connected to receiver until the final round (one kb attached to another receiver, another powered off)guineapig
: 51 OK, 0 FAILcrashtestdummy
: 51 OK, 0 FAIL- Keyboard via the receiver works on uboot on both hosts. Tried only once on each host:
- Stopped uboot's autoboot using keyboard
- Booted with command:
boot
- test set 003: Logitech unifying receiver on USB 3 port, new receiver on
guineapig
, old oncrashtestdummy
-
guineapig
: 51 OK, 0 FAIL -
crashtestdummy
: 51 OK, 0 FAIL -
Keyboard via the receiver works on uboot only on
guineapig
(older board). Tried only once on each host:- Stopped uboot's autoboot using keyboard
- Booted with command:
boot
-
crashtestdummy
(newer board, older receiver) fails to get device descriptor for USB device in uboot. -
uboot USB output for
guineapig
, works ok:starting USB... Bus usb@fe380000: USB EHCI 1.00 Bus usb@fe3a0000: USB OHCI 1.0 Bus usb@fe3c0000: USB EHCI 1.00 Bus usb@fe3e0000: USB OHCI 1.0 Bus usb@fe800000: usb maximum-speed not found Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 Bus usb@fe900000: usb maximum-speed not found Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 scanning bus usb@fe380000 for devices... 1 USB Device(s) found scanning bus usb@fe3a0000 for devices... 1 USB Device(s) found scanning bus usb@fe3c0000 for devices... 1 USB Device(s) found scanning bus usb@fe3e0000 for devices... 1 USB Device(s) found scanning bus usb@fe800000 for devices... 1 USB Device(s) found scanning bus usb@fe900000 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot: 2
-
uboot USB output for
crashtestdummy
, fails:starting USB... Bus usb@fe380000: USB EHCI 1.00 Bus usb@fe3a0000: USB OHCI 1.0 Bus usb@fe3c0000: USB EHCI 1.00 Bus usb@fe3e0000: USB OHCI 1.0 Bus usb@fe800000: usb maximum-speed not found Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 Bus usb@fe900000: usb maximum-speed not found Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 scanning bus usb@fe380000 for devices... 1 USB Device(s) found scanning bus usb@fe3a0000 for devices... 1 USB Device(s) found scanning bus usb@fe3c0000 for devices... 1 USB Device(s) found scanning bus usb@fe3e0000 for devices... 1 USB Device(s) found scanning bus usb@fe800000 for devices... 1 USB Device(s) found scanning bus usb@fe900000 for devices... unable to get device descriptor (error=-1) 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot: 2
-
after a bit more testing it seems that old receiver doesn't work on USB3 port on either host in uboot, works ok in linux. New receiver works in all situations.
-
- test set 001: no usb gadgets
- test notes:
- Testing dsimic's 1st patch which replaces Icenowy's patch
- download https://termbin.com/s4nd as 0005-dsimic-0001.patch (sha256: 00994f5b43b486452cf25e9e6f9b0d8788f694f0a413d6432e351b2d57a6015b)
- building:
- upstream repo: https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-rockpro64
- process:
- checked out
rp64-uboot-tests-202111-008
/6b131abe0b
(continued on top of test-008) - PKGBUILD changes:
- set pkgrel=8
- (
PREBOOT
still enabled from previous build) - added "rp64-uboot-tests-202111-009" to CONFIG_IDENT_STRING
- comment out the line applying Icenowy's patch
0004-phy-rockchip-inno-usb2-fix-hang-when-multiple-controllers-exit.patch
- add and apply dsimic's 1st patch, 0005-dsimic-0001.patch
- build
- link: https://gitlab.com/nuumio-manjaro/uboot-rockpro64/-/tags/rp64-uboot-tests-202111-009
- checked out
- test results (just unpacked packages and dd'ed uboot files):
- test set 001: no usb gadgets
guineapig
: 3 OK, 7 FAILcrashtestdummy
: 10 OK, 0 FAIL
- test set 001: no usb gadgets
- test notes:
- Testing dsimic's 2nd patch which replaces Icenowy's patch
- download https://termbin.com/frnh as 0005-dsimic-0002.patch (sha256: 5fab15500d7234450d2062e9e87fb708e2599e602998ea7aa9c3ab0141b1927b)
- building:
- upstream repo: https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-rockpro64
- process:
- checked out
rp64-uboot-tests-202111-009
/41acc7e41c
(continued on top of test-009) - PKGBUILD changes:
- set pkgrel=9
- (
PREBOOT
still enabled from previous build) - added "rp64-uboot-tests-202111-010" to CONFIG_IDENT_STRING
- comment out the line applying
0005-dsimic-0001.patch
- add and apply dsimic's 2nd patch, 0005-dsimic-0002.patch
- build
- link: https://gitlab.com/nuumio-manjaro/uboot-rockpro64/-/tags/rp64-uboot-tests-202111-010
- checked out
- test results (just unpacked packages and dd'ed uboot files):
-
test set 001: no usb gadgets
guineapig
boot to linux: 150 OK, 0 FAILcrashtestdummy
boot to linux: 150 OK, 0 FAIL
-
test set 002: older model logitech unifying receiver on upper USB2 port + logitech k360 keyboard
guineapig
boot to linux: 5 OK, 0 FAIL- keyboard in uboot: 5 OK, 0 FAIL (manually tested, can stop autoboot)
crashtestdummy
boot to linux: 5 OK, 0 FAIL- keyboard in uboot: 5 OK, 0 FAIL (manually tested, can stop autoboot)
-
test set 003: older model logitech unifying receiver on USB3 port + logitech k360 keyboard
-
guineapig
boot to linux: 5 OK, 0 FAIL- keyboard in uboot: 0 OK, 5 FAIL (manually tested, can NOT stop autoboot)
-
crashtestdummy
boot to linux: 5 OK, 0 FAIL- keyboard in uboot: 0 OK, 5 FAIL (manually tested, can NOT stop autoboot)
-
on both boards usb port scan failed like with Icenowy's patch (this was expected):
USB XHCI 1.10 scanning bus usb@fe380000 for devices... 1 USB Device(s) found scanning bus usb@fe3a0000 for devices... 1 USB Device(s) found scanning bus usb@fe3c0000 for devices... 1 USB Device(s) found scanning bus usb@fe3e0000 for devices... 1 USB Device(s) found scanning bus usb@fe800000 for devices... 1 USB Device(s) found scanning bus usb@fe900000 for devices... unable to get device descriptor (error=-1)
-
-
test set 004: newer model logitech unifying receiver on upper USB2 port + logitech craft keyboard
guineapig
boot to linux: 5 OK, 0 FAIL- keyboard in uboot: 5 OK, 0 FAIL (manually tested, can stop autoboot)
crashtestdummy
boot to linux: 5 OK, 0 FAIL- keyboard in uboot: 5 OK, 0 FAIL (manually tested, can stop autoboot)
-
test set 005: newer model logitech unifying receiver on USB3 port + logitech craft keyboard
guineapig
boot to linux: 5 OK, 0 FAIL- keyboard in uboot: 5 OK, 0 FAIL (manually tested, can stop autoboot)
crashtestdummy
boot to linux: 5 OK, 0 FAIL- keyboard in uboot: 5 OK, 0 FAIL (manually tested, can stop autoboot)
-
these test verify that behavior on RockPRO64 with dsimic's 2nd patch is equal to Icenowy's patch.
- newer model logitech unifying receiver works fine on both USB2 and USB3 ports
- older model fails in USB3 port
-
- Doesn't work at all without patches (test round 003)
- Newer boards (
crashtestdummy
) work withenable-emmc-phy-for-spl.patch
(test round 005) - Older boards (
guineapig
) need USB hacks in addition toenable-emmc-phy-for-spl.patch
- Previously
CONFIG_USE_PREBOOT=n
was used (test rounds 002 and 004) - Now Manjaro's "PBP config" was tested and it works,
PREBOOT
can stay enabled (test round 006):CONFIG_USB_EHCI_HCD=n
CONFIG_USB_EHCI_GENERIC=n
CONFIG_USB_XHCI_HCD=n
CONFIG_USB_XHCI_DWC3=n
CONFIG_USB_DWC3=n
CONFIG_USB_DWC3_GENERIC=n
- link to PBP PKGBUILD for reference: https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-pinebookpro/-/blob/bf087cc6949d02acf47bc7aac0c042fc4d992474/PKGBUILD
- link to RockPRO64 PKGBUILD including "PBP config" that worked on both boards: https://gitlab.com/nuumio-manjaro/uboot-rockpro64/-/blob/ff26b9b779161140bed28a28d391d15e121edee0/PKGBUILD
- Previously
- The root cause of these boot problems is currently unknown but USB is at least somehow related.
- Boot problems started with 2020.10 (2020.07 was ok, iirc) and it feels like the problem is even worse on 2021.10 (only few succesful boots on old board).
- I probably have third variant of ROCKPro64 boards too because the "rescue sd" didn't work
on the old board /
guineapig
, but I'm quite confident that it works on two boards which are even older (from 2018). - Icenowy's patch fixes USB related boot issues
- Keyboard via old logitech unifying receiver in USB 3 port doesn't work in uboot, new receiver works. Both work fine in linux in all ports.
- dsimic's 2nd patch fixes USB related boot issues. Details in test-010: dsimic's 2nd patch
- tests in test-010: dsimic's 2nd patch verify that behavior on RockPRO64 with dsimic's 2nd patch is equal to Icenowy's patch.