Revision tags: v00.04.15, v00.04.14, v00.04.13, v00.04.12, v00.04.11, v00.04.10, v00.04.09, v00.04.08, v00.04.07, v00.04.06, v00.04.05, v00.04.04, v00.04.03, v00.04.02, v00.04.01, v00.04.00, v2021.04, v00.03.03, v2021.01, v2020.10, v2020.07, v00.02.13, v2020.04, v2020.01, v2019.10, v00.02.05, v00.02.04, v00.02.03, v00.02.02, v00.02.01, v2019.07, v00.02.00, v2019.04 |
|
#
2a055ea5 |
| 05-Dec-2018 |
Tom Rini <trini@konsulko.com> |
Merge tag 'dm-pull-5dec18' of git://git.denx.de/u-boot-dm
Minor sandbox enhancements / fixes tpm improvements to clear up v1/v2 support buildman toolchain fixes New serial options to set/get config
|
#
6b5e4201 |
| 23-Nov-2018 |
Simon Glass <sjg@chromium.org> |
sandbox: Fix up the debug message for the image filename
This currently prints out the wrong filename. Fix it.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
172e3c11 |
| 30-Nov-2018 |
Tom Rini <trini@konsulko.com> |
Merge tag 'pull-30nov18' of git://git.denx.de/u-boot-dm
Fix sound on sandbox Convert TPM fully to DM Tidy up sandbox I2C emulation Add a 'make qcheck' target for faster testing A few other misc thin
Merge tag 'pull-30nov18' of git://git.denx.de/u-boot-dm
Fix sound on sandbox Convert TPM fully to DM Tidy up sandbox I2C emulation Add a 'make qcheck' target for faster testing A few other misc things (dropped the final patch which breaks clang for some reason)
show more ...
|
#
b847c142 |
| 13-Nov-2018 |
Simon Glass <sjg@chromium.org> |
sandbox: Use memmove() to move overlapping regions
The use of strcpy() to remove characters at the start of a string is safe in U-Boot, since we know the implementation. But in os.c we are using the
sandbox: Use memmove() to move overlapping regions
The use of strcpy() to remove characters at the start of a string is safe in U-Boot, since we know the implementation. But in os.c we are using the C library's strcpy() function, where this behaviour is not permitted.
Update the code to use memmove() instead.
Reported-by: Coverity (CID: 173279) Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Alexander Graf <agraf@suse.de>
show more ...
|
#
6b215022 |
| 26-Nov-2018 |
Tom Rini <trini@konsulko.com> |
Merge branch '2018-11-25-master-imports'
- Bring in the series from Simon for SPL logging support and bloblist
|
#
27028f18 |
| 15-Nov-2018 |
Simon Glass <sjg@chromium.org> |
sandbox: Boot in U-Boot through the standard call
Most architectures use jump_to_image_no_args() to jump from SPL to U-Boot. At present sandbox is special in that it jumps in its spl_board_load_imag
sandbox: Boot in U-Boot through the standard call
Most architectures use jump_to_image_no_args() to jump from SPL to U-Boot. At present sandbox is special in that it jumps in its spl_board_load_image() call. This is not strictly correct, and means that sandbox misses out some parts of board_init_r(), just as calling bloblist_finish(), for example.
Change spl_board_load_image() to just identify the filename to boot, and implement jump_to_image_no_args() to actually jump to it.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
65f3b1f9 |
| 15-Nov-2018 |
Simon Glass <sjg@chromium.org> |
sandbox: Filter arguments when starting U-Boot
The current method of starting U-Boot from U-Boot adds arguments to pass the memory file through, so that memory is preserved. This is fine for a singl
sandbox: Filter arguments when starting U-Boot
The current method of starting U-Boot from U-Boot adds arguments to pass the memory file through, so that memory is preserved. This is fine for a single call, but if we call from TPL -> SPL -> U-Boot the arguments build up and we have several memory files in the argument list.
Adjust the implementation to filter out arguments that we want to replace with new ones. Also print a useful error if the exec() call fails.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
fc1f58a4 |
| 15-Nov-2018 |
Simon Glass <sjg@chromium.org> |
sandbox: Use malloc() and free() from os layer
At present sandbox calls malloc() from various places in the OS layer and this results in calls to U-Boot's malloc() implementation. It is better to us
sandbox: Use malloc() and free() from os layer
At present sandbox calls malloc() from various places in the OS layer and this results in calls to U-Boot's malloc() implementation. It is better to use the on in the OS layer, since it does not mix allocations with the main U-Boot code.
Fix this by replacing calls with malloc() to os_malloc(), etc.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
#
7b5ea145 |
| 15-Nov-2018 |
Simon Glass <sjg@chromium.org> |
sandbox: Refactor code to create os_jump_to_file()
At present os_jump_to_image() jumps to a given image, and this is written to a file. But it is useful to be able to jump to a file also.
To avoid
sandbox: Refactor code to create os_jump_to_file()
At present os_jump_to_image() jumps to a given image, and this is written to a file. But it is useful to be able to jump to a file also.
To avoid duplicating code, split out the implementation of os_jump_to_image() into a new function that jumps to a file.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
5830791d |
| 23-Nov-2018 |
Tom Rini <trini@konsulko.com> |
Merge tag 'pull-tg18' of git://git.denx.de/u-boot-dm
Various minor sandbox improvements Better buildman warning handling Misc other things
|
#
566bf3a8 |
| 06-Nov-2018 |
Simon Glass <sjg@chromium.org> |
sandbox: Add a function to read a host file
Add a way to read a file from the host filesystem. This can be useful for reading test data, for example. Also fix up the writing function which was not t
sandbox: Add a function to read a host file
Add a way to read a file from the host filesystem. This can be useful for reading test data, for example. Also fix up the writing function which was not the right version, and drop the debugging lines.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
1d6edcbf |
| 16-Nov-2018 |
Tom Rini <trini@konsulko.com> |
Merge tag 'pull-14nov18' of git://git.denx.de/u-boot-dm
- virtio implementation and supporting patches - DM_FLAG_PRE_RELOC fixes - regmap improvements - minor buildman and sandbox things
|
Revision tags: v2018.07 |
|
#
bd8b7455 |
| 17-Jun-2018 |
Simon Glass <sjg@chromium.org> |
sandbox: Try to start the RAM buffer at a particular address
Use a starting address of 256MB which should be available. This helps to make sandbox RAM buffers pointers more recognisable.
Signed-off
sandbox: Try to start the RAM buffer at a particular address
Use a starting address of 256MB which should be available. This helps to make sandbox RAM buffers pointers more recognisable.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
3d5ced9e |
| 10-Oct-2018 |
Tom Rini <trini@konsulko.com> |
Merge tag 'dm-9oct18' of git://git.denx.de/u-boot-dm
Test improvements to tidy up output and drop duplicate tests Sandbox SPL/TPL support Various dm-related improvements
|
#
4af3e9ad |
| 01-Oct-2018 |
Simon Glass <sjg@chromium.org> |
sandbox: Restore blocking I/O on exit
At present sandbox sets non-blocking I/O as soon as any input is read from the terminal. However it does not restore the previous state on exit. Fix this and dr
sandbox: Restore blocking I/O on exit
At present sandbox sets non-blocking I/O as soon as any input is read from the terminal. However it does not restore the previous state on exit. Fix this and drop the old os_read_no_block() function.
This means that we always enable blocking I/O in sandbox (if input is a terminal) whereas previously it would only happen on the first call to tstc() or getc(). However, the difference is likely not important.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
69bc15d5 |
| 01-Oct-2018 |
Simon Glass <sjg@chromium.org> |
sandbox: Support booting from TPL to SPL
At present we support booting from SPL to U-Boot proper. Add support for the previous stage too, so sandbox can be started with TPL.
Signed-off-by: Simon Gl
sandbox: Support booting from TPL to SPL
At present we support booting from SPL to U-Boot proper. Add support for the previous stage too, so sandbox can be started with TPL.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
056a5cea |
| 01-Oct-2018 |
Simon Glass <sjg@chromium.org> |
sandbox: Add a way to write data to the host filesystem
For debugging it is sometimes useful to write out data for inspection using an external tool. Add a function which can write this data to a gi
sandbox: Add a way to write data to the host filesystem
For debugging it is sometimes useful to write out data for inspection using an external tool. Add a function which can write this data to a given file.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
50b288ac |
| 01-Oct-2018 |
Simon Glass <sjg@chromium.org> |
sandbox: Support file truncation with os_open()
At present files are not truncated on writing. This is a useful feature. Add support for this.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9f8037ea |
| 01-Oct-2018 |
Simon Glass <sjg@chromium.org> |
sandbox: Unprotect DATA regions in bus tests
On my Ubuntu 18.04.1 machine two driver-model bus tests have started failing recently. The problem appears to be that the DATA region of the executable i
sandbox: Unprotect DATA regions in bus tests
On my Ubuntu 18.04.1 machine two driver-model bus tests have started failing recently. The problem appears to be that the DATA region of the executable is protected. This does not seem correct, but perhaps there is a reason.
To work around it, unprotect the regions in these tests before accessing them.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
0ae8dcfe |
| 26-Sep-2018 |
Tom Rini <trini@konsulko.com> |
Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot
Patch queue for efi - 2018-09-26
A lot of goodness in this release. We're *very* close to running the UEFI Shell and SCT natively. The o
Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot
Patch queue for efi - 2018-09-26
A lot of goodness in this release. We're *very* close to running the UEFI Shell and SCT natively. The only missing piece are HII protocols.
- FAT write support (needed for SCT) - improved FAT directory support (needed for SCT) - RTC support with QEMU -M virt - Sandbox support (run UEFI binaries in Linux - yay) - Proper UTF-16 support - EFI_UNICODE_COLLATION_PROTOCOL support (for UEFI Shell) - EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL support (for UEFI Shell) - Fix window size determination - Fix Tegra by explicitly unmapping RAM - Clean up handle entanglement - Lots of generic code cleanup
[trini: Fixup merge conflict in include/configs/qemu-arm.h] Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
#
6e6e4b2f |
| 22-Jun-2018 |
Alexander Graf <agraf@suse.de> |
sandbox: Allow to execute from RAM
With efi_loader, we may want to execute payloads from RAM. By default, permissions on the RAM region don't allow us to execute from there though.
So let's change
sandbox: Allow to execute from RAM
With efi_loader, we may want to execute payloads from RAM. By default, permissions on the RAM region don't allow us to execute from there though.
So let's change the default allocation scheme for RAM to also allow execution from it. That way payloads that live in U-Boot RAM can be directly executed.
Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
#
3fcb7147 |
| 22-Jun-2018 |
Alexander Graf <agraf@suse.de> |
sandbox: Fix setjmp/longjmp
In sandbox, longjmp returns to itself in an endless loop because os_longjmp() calls into longjmp() which is provided by U-Boot which again calls os_longjmp().
Setjmp on
sandbox: Fix setjmp/longjmp
In sandbox, longjmp returns to itself in an endless loop because os_longjmp() calls into longjmp() which is provided by U-Boot which again calls os_longjmp().
Setjmp on the other hand must not return because otherwise the return freees up stack elements that we need during longjmp().
The only straight forward fix that doesn't involve nasty hacks I could find is to directly link against the system setjmp/longjmp implementations. That means we just provide the compiler with hints that the symbol will be available and actually fill them out with versions from libc.
This approach should be reasonably platform agnostic
Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
#
fe938fb0 |
| 15-Sep-2018 |
Simon Glass <sjg@chromium.org> |
sandbox: Add support for calling abort()
This function is useful to signal that the application needs to exit immediate. It can be caught with a debugger (e.g. gdb). Add a stub for it so that it can
sandbox: Add support for calling abort()
This function is useful to signal that the application needs to exit immediate. It can be caught with a debugger (e.g. gdb). Add a stub for it so that it can be called from within sandbox when an internal error occurs.
Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
#
61318502 |
| 15-Sep-2018 |
Simon Glass <sjg@chromium.org> |
sandbox: Align RAM buffer to the machine page size
At present the sandbox RAM buffer is not aligned to any particular address boundary. This makes the internal pointers somewhat random with respect
sandbox: Align RAM buffer to the machine page size
At present the sandbox RAM buffer is not aligned to any particular address boundary. This makes the internal pointers somewhat random with respect to the associated RAM buffer addresses.
Align the buffer to the page size of the machine to help with this. Note that there is a header at the start of the allocated pointer. To avoid returning a pointer which is not aligned to a page boundary, we waste almost an entire page of memory for each allocation.
Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
#
a0115ceb |
| 03-Jun-2018 |
Tom Rini <trini@konsulko.com> |
Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot
Patch queue for efi - 2018-06-03
A number of fixes and feature completeness work this time around:
- Fix sunxi GOP reservation - Fi
Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot
Patch queue for efi - 2018-06-03
A number of fixes and feature completeness work this time around:
- Fix sunxi GOP reservation - Fix cursor position - Fix efi_get_variable - Allow more selftest parts to build on x86_64 - Allow unaligned memory access on armv7 - Implement ReinstallProtocolInterface - More sandbox preparation
show more ...
|