- Dec 13, 2023
-
-
old_dtb can only be assumed initialized in the finally block if it is assigned a value before the try statement. Avoid a pylint error reported by current pylint. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
old_dtb can only be assumed initialized in the finally block if it is assigned a value before the try statement. Avoid a pylint error reported by current pylint. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
old_val can only be assumed initialized in the finally block if it is assigned a value before the try statement. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
'acpi dump' without parameter results in a NULL dereference. Check the number of arguments. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
efi_get_var() allocates memory which has to be freed after the value of the variable is consumed. Free the memory properly Fixes: f2bfa0cb ("bootstd: Make efi_mgr bootmeth work for non-sandbox setups") Signed-off-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Mark Kettenis <kettenis@openbsd.org>
-
Mention TI_DM argument can be used to fetch a custom DM binary in the A72 build instructions for K3 devices. Signed-off-by:
Neha Malcom Francis <n-francis@ti.com> Reviewed-by:
Andrew Davis <afd@ti.com> Reviewed-by:
Manorit Chawdhry <m-chawdhry@ti.com>
-
Move the DM entry in tispl.bin FIT image from default fetching an external blob entry to fetching using ti-dm entry type. This way, the DM entry will be populated by the TI_DM pathname if provided. Else it will resort to the ti-dm.bin file. Signed-off-by:
Neha Malcom Francis <n-francis@ti.com> Reviewed-by:
Andrew Davis <afd@ti.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
K3 devices introduces the concept of centralized power, resource and security management to System Firmware. This is to overcome challenges by the traditional approach that implements system control functions on each of the processing units. The software interface for System Firmware is split into TIFS and DM. DM (Device Manager) is responsible for resource and power management from secure and non-secure hosts. This additional binary is necessary for specific platforms' ROM boot images and is to be packaged into tispl.bin Add an entry for DM. The entry can be used for the packaging of tispl.bin by binman along with ATF and TEE. Signed-off-by:
Neha Malcom Francis <n-francis@ti.com> Reviewed-by:
Andrew Davis <afd@ti.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
s/use set/set/ Signed-off-by:
Dario Binacchi <dario.binacchi@amarulasolutions.com> Reviewed-By:
Michael Trimarchi <michael@amarulasolutions.com>
-
ACPI tables may comprise either RSDT, XSDT, or both. The current code fails to check the presence of the RSDT table before accessing it. This leads to an exception if the RSDT table is not provided. The XSDT table takes precedence over the RSDT table. The return values of list_rsdt() and list_rsdp() are always zero and not checked. Remove the return values. Addresses in the XSDT table are 64-bit. Adjust the output accordingly. As the RSDT table has to be ignored if the XSDT command is present there is no need to compare the tables in a display command. Anyway the specification does not require that the sequence of addresses in the RSDT and XSDT table are the same. The FACS table header does not provide revision information. Correct the description of dump_hdr(). Adjust the ACPI test to match the changed output format of the 'acpi list' command. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
The size of the ACPI table header is not a multiple of 8. We have to mark struct acpi_xsdt as packed to correctly access field Entry. Add a unit test for the offsets of field Entry in the RSDT and XSDT tables. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
A new release has been done with this version, so update it. Use the version numbers in dependencies also. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Patman now has its main program in a function, so update the toml file to match. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This is not a tool but it is handled by the script, so update the help to include it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The files list is incorrect and dates from a time when the script was run from a different directory. Update it to match all the other tools. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The test_util module is actually imported by some tools, e.g. binman so include it in the pip release. The patman tool uses its test code when starting up, so keep that too. Show a list of deleted files so it is clear what is happening. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Correct a heading which is too short in the readme. Fixes: 75554dfa ("patman: Add support for building a u_boot_tools...") Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update to use the new docs.u-boot.org URL for documentation. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Provide a unit test for acpi_find_table() Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
The RSDT table is deprecated and does not exist on all systems. By preference scan XSDT for the table to find. If no XSDT table exists, try to use the RSDT table. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
* Converting to void * is superfluous when calling memset(). * acpi_fill_header() already fills oem_table_id. Fixes: d9531375 ("x86: Move SSDT table to a writer function") Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
The field RsdtAddress has only 32 bit. The RSDT table cannot be located beyond 4 GiB. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Move this check before the FDT fixups so that we can use a livetree after this point. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Just use map_to_sysmem() instead of all the casting. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This may as well happen before the general event is emitted, so move it. This will allow us to use the livetree for the event part, but the flattree for the earlier part. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This code dates from around 2008: 56844a22 powerpc: Fix bootm to boot up again with a Ramdisk Since then we have added FDT relocation which provides enough space for expansion. We have also added all sorts of fixups earlier in image_setup_libfdt() which require more space, with ramdisk being the least of them. Therefore this extra hack for ramdisk seems unnecessary. Drop it. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
Add a bit more detail about what this function does. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Check the header before starting to use it, since this could provide very confusing later, when ofnode calls start to fail. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The of_size parameter is not used, so remove it. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Function acpi_get_rsdp_addr() is needed on all architectures which write ACPI tables. Move the definition from the x86 include to an architecture independent one. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Allow showing a menu and automatically booting, with 'bootflow scan'. This is more convenient than using a script. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add basic sandbox support for 'booti' so we can start to boot the test ARMbian image. This is helpful in checking that it is parsed correctly. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Move the code from the 'cls' command into the console file, so it can be called from elsewhere. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
These tests cannot work on x86 machines as memory at address zero is not writable. Add a condition to skip these. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
These tests are marked as driver model tests, but have nothing to do with driver model. As a result, they are run as part of 'ut dm' which only exists for sandbox. Move them to the 'lib' suite and drop the requirement for initing devices, since they don't use devices. Also put the lib_test_lmb_max_regions() macro inside the same #ifdef as its function, to avoid a build error if the condition is false. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This needs test devices which are only present on sandbox. Add a check for this and skip just this test if running on a real board. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The font test needs two fonts. If one is not available, skip out early, to avoid an error. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The error that this test checks for is only shown on sandbox. For real boards, there is normally no error. Add a special case to handle this. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Calling into sub-test functions should be done using ut_assertok() so that the test exits immediately on failure. Add those which are missing. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This test assumes that the stack pointer is the same across two calls to lmb_init_and_reserve() but this is not the case on x86, for example. Add a special case to handle this, along with a detailed comment. Signed-off-by:
Simon Glass <sjg@chromium.org>
-