Skip to content

Instantly share code, notes, and snippets.

@uditkumarti
Last active September 26, 2023 11:05
Show Gist options
  • Save uditkumarti/7be37a662fabfcfefb74d1a67ccde2bd to your computer and use it in GitHub Desktop.
Save uditkumarti/7be37a662fabfcfefb74d1a67ccde2bd to your computer and use it in GitHub Desktop.
Host >> make sandbox64_defconfig
Host >> make
With patch
udit@udit-HP-Z2-Tower-G9-Workstation-Desktop-PC:~/workarea/u-boot$ ./u-boot
U-Boot 2023.10-rc4-00060-gff90ba5a76-dirty (Sep 26 2023 - 16:22:42 +0530)
DRAM: 256 MiB
Core: 27 devices, 13 uclasses, devicetree: board
MMC:
Loading Environment from nowhere... OK
Warning: device tree node '/config/environment' not found
In: serial
Out: serial,vidconsole
Err: serial,vidconsole
Net: No ethernet found.
No EFI system partition
No EFI system partition
Failed to persist EFI variables
Missing RNG device for EFI_RNG_PROTOCOL
EFI using ACPI tables at bd39000
Hit any key to stop autoboot: 0
=> ut dm lib_test_lmb_overlapping_reserve
Test: lib_test_lmb_overlapping_reserve: lmb.c
Test: lib_test_lmb_overlapping_reserve: lmb.c (flat tree)
Failures: 0
=>
Without patch
udit@udit-HP-Z2-Tower-G9-Workstation-Desktop-PC:~/workarea/u-boot$ ./u-boot
U-Boot 2023.10-rc4-00059-gaf138e1b7c-dirty (Sep 26 2023 - 16:17:15 +0530)
DRAM: 256 MiB
Core: 27 devices, 13 uclasses, devicetree: board
MMC:
Loading Environment from nowhere... OK
Warning: device tree node '/config/environment' not found
In: serial
Out: serial,vidconsole
Err: serial,vidconsole
Net: No ethernet found.
No EFI system partition
No EFI system partition
Failed to persist EFI variables
Missing RNG device for EFI_RNG_PROTOCOL
EFI using ACPI tables at bd39000
Hit any key to stop autoboot: 0
=> ut dm lib_test_lmb_overlapping_reserve
Test: lib_test_lmb_overlapping_reserve: lmb.c
test/lib/lmb.c:33, check_lmb(): lmb->reserved.cnt == num_reserved: Expected 0x2 (2), got 0x1 (1)
test/lib/lmb.c:469, lib_test_lmb_overlapping_reserve(): !check_lmb(uts, &lmb, ram, ram_size, 1, 0x40000000, 0x40000, 0, 0, 0, 0)
Test: lib_test_lmb_overlapping_reserve: lmb.c (flat tree)
test/lib/lmb.c:33, check_lmb(): lmb->reserved.cnt == num_reserved: Expected 0x2 (2), got 0x1 (1)
test/lib/lmb.c:469, lib_test_lmb_overlapping_reserve(): !check_lmb(uts, &lmb, ram, ram_size, 1, 0x40000000, 0x40000, 0, 0, 0, 0)
Test lib_test_lmb_overlapping_reserve failed 4 times
Failures: 4
udit@udit-HP-Z2-Tower-G9-Workstation-Desktop-PC:~/workarea/u-boot$ ./scripts/checkpatch.pl --strict v2-000*
--------------------------
v2-0000-cover-letter.patch
--------------------------
total: 0 errors, 0 warnings, 0 checks, 0 lines checked
v2-0000-cover-letter.patch has no obvious style problems and is ready for submission.
-----------------------------------------------------------
v2-0001-lmb-remove-overlapping-region-with-next-range.patch
-----------------------------------------------------------
total: 0 errors, 0 warnings, 0 checks, 69 lines checked
v2-0001-lmb-remove-overlapping-region-with-next-range.patch has no obvious style problems and is ready for submission.
---------------------------------------------------------------
v2-0002-test-lmb-Added-test-case-for-coaleacse-with-first.patch
---------------------------------------------------------------
total: 0 errors, 0 warnings, 0 checks, 24 lines checked
v2-0002-test-lmb-Added-test-case-for-coaleacse-with-first.patch has no obvious style problems and is ready for submission.
NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTRTO ENOSYS MINMAX MULTISTATEMENT_MACRO_USE_DO_WHILE NETWORKING_BLOCK_COMMENT_STYLE PREFER_ETHER_ADDR_COPY USLEEP_RANGE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment