Hi Heinrich,
On Sun, Sep 10, 2017 at 12:36 PM, Heinrich Schuchardt
wrote:
> export BUILD_ROM=y
> make mrproper
> make qemu-x86_64_defconfig
> make
>
> results in a file u-boot-spl-nodtb.bin of 4,293,642,704 bytes
> for git HEAD.
>
> The problematic statement is
>
> objcopy -O binary -R .start16 -
This patchset fleshes out EFI_LOADER enough to support booting an
upstream \EFI\BOOT\bootaa64.efi (which then loads fallback.efi and
then eventually the per-distro shim.efi which loads the per-distro
grubaa64.efi) without resorting to hacks to hard-code u-boot to load
a particular distro's grub, or
Prep work for next patch.
Signed-off-by: Rob Clark
---
include/efi.h | 4
include/part.h | 3 ++-
include/part_efi.h | 4
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/include/efi.h b/include/efi.h
index 02b78b31b1..87b0b43f20 100644
--- a/include/efi.h
+++ b/
Untangle directory traversal into a simple iterator, to replace the
existing multi-purpose do_fat_read_at() + get_dentfromdir().
Signed-off-by: Rob Clark
Reviewed-by: Łukasz Majewski
---
fs/fat/fat.c | 356 +-
include/fat.h | 7 ++
2 fi
Want to re-use this in fat dirent iterator in next patch.
Signed-off-by: Rob Clark
Reviewed-by: Łukasz Majewski
Reviewed-by: Simon Glass
---
fs/fat/fat.c | 73 +++
include/fat.h | 1 +
2 files changed, 44 insertions(+), 30 deletions(-)
From: Peter Jones
EFI client programs need the signature information from the partition
table to determine the disk a partition is on, so we need to fill that
in here.
Signed-off-by: Peter Jones
[separated from efi_loader part, and fixed build-errors for non-
CONFIG_EFI_PARTITION case]
Signed-
And drop a whole lot of ugly code!
Signed-off-by: Rob Clark
Reviewed-by: Łukasz Majewski
---
fs/fat/fat.c | 722 +++---
include/fat.h | 6 -
2 files changed, 76 insertions(+), 652 deletions(-)
diff --git a/fs/fat/fat.c b/fs/fat/fat.c
index
Add a generic implementation of 'ls' using opendir/readdir/closedir, and
replace fat's custom implementation. Other filesystems should move to
the generic implementation after they add opendir/readdir/closedir
support.
Signed-off-by: Rob Clark
Reviewed-by: Łukasz Majewski
Reviewed-by: Simon Gla
Helpers to construct device-paths from devices, partitions, files, and
for parsing and manipulating device-paths.
For non-legacy devices, this will use u-boot's device-model to construct
device-paths which include bus hierarchy to construct device-paths. For
legacy devices we still fake it, but s
Spotted by chance, when trying to remove file_fat_ls(), I noticed there
were some dead users of the API.
Signed-off-by: Rob Clark
Acked-by: Stefan Brüns
Reviewed-by: Simon Glass
---
fs/fat/Makefile | 4 --
fs/fat/file.c | 183
includ
fallback.efi (and probably other things) use UEFI's simple-file-system
protocol and file support to search for OS's to boot.
Signed-off-by: Rob Clark
---
include/efi.h | 2 +
include/efi_api.h | 65 +
include/efi_loader.h | 13 +
lib/efi_l
All of the device-path related structures should be packed. UEFI
defines the device-path as a byte-aligned data structure.
Signed-off-by: Rob Clark
---
include/efi_api.h | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/efi_api.h b/include/efi_api.h
index ec1b3
From: Peter Jones
Signed-off-by: Peter Jones
Signed-off-by: Rob Clark
---
include/efi_api.h | 54 ++
1 file changed, 54 insertions(+)
diff --git a/include/efi_api.h b/include/efi_api.h
index 175341348e..b761cf4822 100644
--- a/include/efi_ap
Previously we only supported the case when the EFI application loaded
the image into memory for us. But fallback.efi does not do this.
Signed-off-by: Rob Clark
---
lib/efi_loader/efi_boottime.c | 85 +++
1 file changed, 70 insertions(+), 15 deletions(-)
Get rid of the hacky fake boot-device and duplicate device-path
constructing (which needs to match what efi_disk and efi_net do).
Instead convert over to use efi_device_path helpers to construct
device-paths, and use that to look up the actual boot device.
Also, extract out a helper to plug things
Needed to support efi file protocol. The fallback.efi loader wants
to be able to read the contents of the /EFI directory to find an OS
to boot.
Modelled after POSIX opendir()/readdir()/closedir(). Unlike the other
fs APIs, this is stateful (ie. state is held in the FS_DIR "directory
stream"), to
Similar to a "real" UEFI implementation, the bootmgr looks at the
BootOrder and Boot variables to try to find an EFI payload to load
and boot. This is added as a sub-command of bootefi.
The idea is that the distro bootcmd would first try loading a payload
via the bootmgr, and then if that fai
It needs to handle more device-path node types, and also multiple levels
of path hierarchy. To simplify this, initially construct utf8 string to
a temporary buffer, and then allocate the real utf16 buffer that is
returned. This should be mostly for debugging or at least not critical-
path so an e
Implement the readdir interface using the directory iterators.
Signed-off-by: Rob Clark
Reviewed-by: Łukasz Majewski
---
fs/fat/fat.c | 61
1 file changed, 61 insertions(+)
diff --git a/fs/fat/fat.c b/fs/fat/fat.c
index bbba7947ee..8
This is really the same thing as the efi_device_path struct.
Signed-off-by: Rob Clark
---
include/efi_api.h| 12 ++--
lib/efi_loader/efi_device_path_to_text.c | 13 -
2 files changed, 10 insertions(+), 15 deletions(-)
diff --git a/include/efi_api.h b/
These should be set according to the image type. Shell.efi and SCT.efi
use these fields to determine what sort of image they are loading.
Signed-off-by: Rob Clark
---
include/pe.h | 6 ++
lib/efi_loader/efi_image_loader.c | 22 ++
2 files changed, 2
Noticed when comparing our output to linux. There are some lcase bits
which control whether filename and/or extension should be downcase'd.
Signed-off-by: Rob Clark
Reviewed-by: Łukasz Majewski
---
fs/fat/fat.c | 16 ++--
fs/fat/fat_write.c | 4 ++--
include/fat.h | 6
Signed-off-by: Rob Clark
---
lib/efi_loader/efi_net.c | 19 ++-
1 file changed, 2 insertions(+), 17 deletions(-)
diff --git a/lib/efi_loader/efi_net.c b/lib/efi_loader/efi_net.c
index 0b949d86e8..aa0618fd3a 100644
--- a/lib/efi_loader/efi_net.c
+++ b/lib/efi_loader/efi_net.c
@@ -
Also, create disk objects for the disk itself, in addition to the
partitions. (UEFI terminology is a bit confusing, a "disk" object is
really a partition.) This helps grub properly identify the boot device
since it is trying to match up partition "disk" object with it's parent
device.
Now instea
After "efi_loader: refactor boot device and loaded_image handling" we
can drop this hack.
Signed-off-by: Rob Clark
---
include/efi_api.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/efi_api.h b/include/efi_api.h
index d0aefa8221..604c5b7ec4 100644
--- a/include/efi
Use the clust_to_sect() helper that was introduced earlier, and add an
inverse sect_to_clust(), plus update the various spots that open-coded
this conversion previously.
Signed-off-by: Rob Clark
---
fs/fat/fat.c | 8 +++-
fs/fat/fat_write.c | 8 +++-
include/fat.h | 6 +-
We need to do something different for vidconsole, since it cannot
respond to the query on stdin. Prep work for next patch.
Signed-off-by: Rob Clark
---
lib/efi_loader/efi_console.c | 53 +---
1 file changed, 30 insertions(+), 23 deletions(-)
diff --git a
If stdout is vidconsole, we cannot rely on ANSI escape sequences to
query the size, as vidconsole cannot reply on stdin. Instead special-
case this if stdout is vidconsole.
Signed-off-by: Rob Clark
---
lib/efi_loader/efi_console.c | 16 +++-
1 file changed, 15 insertions(+), 1 delet
This avoids printf() spam about file reads (such as loading an image)
into unaligned buffers (and the associated memcpy()). And generally
seems like a good idea.
Signed-off-by: Rob Clark
---
lib/efi_loader/efi_memory.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib
1) use fputs() to reduce cache flushes from once-per-char to
once-per-string
2) handle \r, \t, and \b in addition to just \n for tracking
cursor position
3) cursor row/col are zero based, not one based
Signed-off-by: Rob Clark
---
include/efi_api.h| 6 +++--
lib/efi_loader/efi
Utilize printf GUID support to print GUIDs.
Signed-off-by: Rob Clark
---
lib/efi_loader/efi_boottime.c | 22 +++---
lib/efi_loader/efi_variable.c | 6 +++---
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boott
Add EFI variable support, mapping to u-boot environment variables.
Variables are pretty important for setting up boot order, among other
things. If the board supports saveenv, then it will be called in
ExitBootServices() to persist variables set by the efi payload. (For
example, fallback.efi conf
Blerg.. pls ignore the resend of "readdir" patchset which hitched a
ride on the git-send-email train.. apparently I should not send
patches in the morning before coffee..
BR,
-R
On Sun, Sep 10, 2017 at 7:21 AM, Rob Clark wrote:
> This patchset fleshes out EFI_LOADER enough to support booting an
This converts the IDE driver to driver model so that block read and
write are fully functional.
Fixes: b7c6baef ("x86: Convert MMC to driver model")
Reported-by: Heinrich Schuchardt
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
Tested-by: Heinrich Schuchardt
---
Changes in v4:
- Ensure th
When there is no CDROM inserted, the block size is zero hence there
is no need to create a BLK device for it.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
drivers/block/ide.c | 7 +++
1 file changed, 7 insertions(+)
diff
So far these are using magic numbers. Replace them with macros.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
---
Changes in v4: None
Changes in v3:
- Change BLK_XXX_SIZE to not count the ending NULL
Changes in v2: None
include/blk.h | 10 +++---
1 file changed, 7 insertions(+), 3 de
At present the IDE device number is initialized to -1, which means
we cannot type "ide read" command before setting the device number
via "ide device #".
For convenience, let's set the first device as the default one.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
---
Changes in v4: None
Ch
Hi Tom,
On Sat, Sep 9, 2017 at 11:25 AM, Tom Rini wrote:
> On Sat, Sep 09, 2017 at 08:30:44AM +0800, Bin Meng wrote:
>> Hi Tom,
>>
>> On Wed, Sep 6, 2017 at 3:30 PM, Bin Meng wrote:
>> > This converts the IDE driver to driver model so that block read and
>> > write are fully functional.
>> >
>>
This patchset gets Shell.efi working to the point where we can start
running SCT.efi (the UEFI test suite). There is more fat/fs work needed
so that SCT can actually write results to a file so we can even see what
is passing and what is not.
This applies on top of the "efi_loader: enough UEFI for
From: Leif Lindholm
EfiHiiConfigRoutingProtocolGuid
EfiHiiDatabaseProtocol
EfiHiiStringProtocol
Signed-off-by: Leif Lindholm
---
include/efi_api.h | 204
include/efi_loader.h | 6 +
lib/efi_loader/Makefile | 2 +-
lib/efi_loader/efi_b
From: Leif Lindholm
Signed-off-by: Leif Lindholm
---
include/efi_api.h | 30 +++
include/efi_loader.h | 2 +
lib/efi_loader/Makefile| 1 +
lib/efi_loader/efi_boottime.c | 4 ++
lib/efi_loader/efi_device_p
Not complete, but enough for Shell.efi and SCT.efi.
Signed-off-by: Rob Clark
---
lib/efi_loader/efi_device_path_utilities.c | 28
1 file changed, 16 insertions(+), 12 deletions(-)
diff --git a/lib/efi_loader/efi_device_path_utilities.c
b/lib/efi_loader/efi_device_p
Not complete but enough for Shell.efi and SCT.efi.
Signed-off-by: Rob Clark
---
include/efi_api.h| 68 +++-
lib/efi_loader/efi_hii.c | 274 ---
2 files changed, 304 insertions(+), 38 deletions(-)
diff --git a/include/efi_api.h b/inclu
Not complete, but enough for Shell.efi and SCT.efi.
Signed-off-by: Rob Clark
---
include/efi_api.h | 9 +++
include/efi_loader.h | 1 +
lib/efi_loader/efi_boottime.c | 5 +-
lib/efi_loader/efi_unicode.c | 143 +++---
4 files changed
From: Leif Lindholm
Signed-off-by: Leif Lindholm
---
include/efi_api.h | 33 +++
include/efi_loader.h | 2 ++
lib/efi_loader/Makefile | 2 +-
lib/efi_loader/efi_boottime.c | 3 ++
lib/efi_loader/efi_unicode.c | 73 ++
Really just the subset that is needed by efi_console. Perhaps more will
be added later, for example color support would be useful to implement
efi_cout_set_attribute().
Signed-off-by: Rob Clark
---
drivers/video/vidconsole-uclass.c | 112 ++
drivers/video/vid
Content can come to screen via putc() and we cannot always rely on
updates ending with a puts(). This is the case with efi_console output
to vidconsole. Fixes corruption with Shell.efi.
Signed-off-by: Rob Clark
---
drivers/video/vidconsole-uclass.c | 3 +++
1 file changed, 3 insertions(+)
dif
Shell.efi uses this, and supporting color attributes makes things look
nicer. Map the EFI fg/bg color attributes to ANSI escape sequences.
Not all colors have a perfect match, but spec just says "Devices
supporting a different number of text colors are required to emulate the
above colors to the b
Not intended to be merged, just to show the remaning TODOs to get
SCT.efi working.
---
include/config_distro_bootcmd.h | 2 +-
lib/efi_loader/efi_boottime.c | 4 ++--
lib/efi_loader/efi_console.c| 3 ++-
lib/efi_loader/efi_file.c | 11 +--
4 files changed, 14 insertions(+),
Note that this doesn't differentiate (due to lack of information in
video_priv) between different possible component orders for 32bpp.
But the main user at this point is efi_loader, and GOP expects xBGR
so any video drivers that this is incorrect for already have problems.
(Also, conveniently, this
I think we need the _EX version for SCT.. and either way we need to wire
up the corresponding objects in the systab properly.
This fixes some issues with SCT.efi.
Signed-off-by: Rob Clark
---
include/efi_api.h | 60 +++-
include/efi_loader.h | 10 +---
lib
On 09/10/2017 06:36 AM, Heinrich Schuchardt wrote:
> export BUILD_ROM=y
> make mrproper
> make qemu-x86_64_defconfig
> make
>
> results in a file u-boot-spl-nodtb.bin of 4,293,642,704 bytes
> for git HEAD.
>
> The problematic statement is
>
> objcopy -O binary -R .start16 -R .resetvec \
> spl/
This patch gives an opportunity to override the defined CONFIG_BOOTCOMMAND
(at files) with set of commands defined in
board _defconfig file.
Rationale: This change allows having two different u-boot builds - one for
production and one (far more larger) for factory setup.
Signed-off-by: Lukasz Ma
On Sun, Sep 10, 2017 at 05:12:50AM -0700, Bin Meng wrote:
> So far these are using magic numbers. Replace them with macros.
>
> Signed-off-by: Bin Meng
> Reviewed-by: Simon Glass
>
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
__
On Sun, Sep 10, 2017 at 05:12:52AM -0700, Bin Meng wrote:
> When there is no CDROM inserted, the block size is zero hence there
> is no need to create a BLK device for it.
>
> Signed-off-by: Bin Meng
> Reviewed-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Descript
On Sun, Sep 10, 2017 at 05:12:53AM -0700, Bin Meng wrote:
> At present the IDE device number is initialized to -1, which means
> we cannot type "ide read" command before setting the device number
> via "ide device #".
>
> For convenience, let's set the first device as the default one.
>
> Signed
On Sun, Sep 10, 2017 at 05:12:51AM -0700, Bin Meng wrote:
> This converts the IDE driver to driver model so that block read and
> write are fully functional.
>
> Fixes: b7c6baef ("x86: Convert MMC to driver model")
> Reported-by: Heinrich Schuchardt
> Signed-off-by: Bin Meng
> Reviewed-by: Simo
Hi Heinrich,
On Sun, Sep 10, 2017 at 11:18 PM, Heinrich Schuchardt
wrote:
> On 09/10/2017 06:36 AM, Heinrich Schuchardt wrote:
>> export BUILD_ROM=y
>> make mrproper
>> make qemu-x86_64_defconfig
>> make
>>
>> results in a file u-boot-spl-nodtb.bin of 4,293,642,704 bytes
>> for git HEAD.
>>
>> Th
2017-09-09 19:47 GMT+09:00 Rob Clark :
> EFI_LOADER really wants UTF-16 strings (ie. %ls and L"string" are 16bit
> chars instead of 32bit chars). But rather than enabling -fshort-wchar
> conditionally if EFI_LOADER is enabled, it was deemed preferrable to
> globally switch.
>
> Signed-off-by: Rob
Philipp,
Sorry for it can not be applied directly, I believe that's because
the rockusb
patch still not applied.
Thanks,
- Kever
On 09/08/2017 05:25 PM, Dr. Philipp Tomsich wrote:
Kever,
Note that this patch applies neither to master nor to next cleanly.
Given that it’s a single line c
Dear Simon,
在 2017年09月09日 12:54, Simon Glass 写道:
Hi,
On 14 August 2017 at 04:05, wlf wrote:
Dear Simon,
在 2017年08月14日 05:35, Simon Glass 写道:
On 8 August 2017 at 21:36, William Wu wrote:
This patch implements board_usb_init() for dwc2 gadget, it
generally called from do_fastboot to do dwc
CCN-504 HPF registers were believed to be accessible only from EL3.
However, recent tests proved otherwise. Remove checking for exception
level to re-enable L3 cache flushing for all levels.
Signed-off-by: York Sun
---
arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 4
1 file changed, 4 del
On 09/11/2017 03:42 AM, Bin Meng wrote:
> Hi Heinrich,
>
> On Sun, Sep 10, 2017 at 11:18 PM, Heinrich Schuchardt
> wrote:
>> On 09/10/2017 06:36 AM, Heinrich Schuchardt wrote:
>>> export BUILD_ROM=y
>>> make mrproper
>>> make qemu-x86_64_defconfig
>>> make
>>>
>>> results in a file u-boot-spl-nod
Hi,
Removing mugunthan...@ti.com, who is no longer working for TI.
On Wednesday 06 September 2017 02:02 AM, Maxime Ripard wrote:
> Hi,
>
> I've been working with USB-Ethernet gadget for quite some time on the
> Allwinner SoCs, especially because most Allwinner boards lack an
> ethernet controlle
Hi Heinrich,
On Mon, Sep 11, 2017 at 1:07 PM, Heinrich Schuchardt wrote:
> On 09/11/2017 03:42 AM, Bin Meng wrote:
>> Hi Heinrich,
>>
>> On Sun, Sep 10, 2017 at 11:18 PM, Heinrich Schuchardt
>> wrote:
>>> On 09/10/2017 06:36 AM, Heinrich Schuchardt wrote:
export BUILD_ROM=y
make mrprop
On 5 September 2017 at 20:14, Kever Yang wrote:
> TPL may need use libfdt for dt decode, add option for it.
>
> Signed-off-by: Kever Yang
> ---
>
> lib/Kconfig | 10 ++
> 1 file changed, 10 insertions(+)
Reviewed-by: Simon Glass
___
U-Boot ma
On 5 September 2017 at 20:14, Kever Yang wrote:
> TPL stack may different from SPL and sys stack, add support for
> separate one when the board defines it.
>
> Signed-off-by: Kever Yang
> ---
>
> arch/arm/lib/crt0.S | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Reviewed-by: Simon G
Hi,
On 5 September 2017 at 20:14, Kever Yang wrote:
> OP-TEE is an open source trusted OS, in armv7, its loading and
> running are like this:
> loading:
> - SPL load both OP-TEE and U-Boot
> running:
> - SPL run into OP-TEE in secure mode;
> - OP-TEE run into U-Boot in non-secure mode;
>
> More d
On 5 September 2017 at 20:14, Kever Yang wrote:
> Some options like TPL_SYS_THUMB_BUILD, TPL_USE_ARCH_MEMCPY
> and TPL_USE_ARCH_MEMCPY are needed for TPL build in 32bit arm.
>
> Signed-off-by: Kever Yang
> ---
>
> arch/arm/Kconfig | 29 +
> 1 file changed, 29 insertio
On 5 September 2017 at 20:14, Kever Yang wrote:
> SPL/TPL also need use sysreset for some feature like panic callback.
>
> Signed-off-by: Kever Yang
> ---
>
> drivers/sysreset/Kconfig | 18 ++
> drivers/sysreset/Makefile | 2 +-
> 2 files changed, 19 insertions(+), 1 deletion(-
On 5 September 2017 at 20:14, Kever Yang wrote:
> We package U-Boot and OP-TEE into one itb file for SPL,
> so that we can support OP-TEE in SPL.
>
> Signed-off-by: Kever Yang
> ---
>
> board/rockchip/evb_rk3229/fit_spl_optee.its | 48
> +
> 1 file changed, 48 insert
On 7 September 2017 at 14:28, Rob Clark wrote:
> Really just the subset that is needed by efi_console. Perhaps more will
> be added later, for example color support would be useful to implement
> efi_cout_set_attribute().
>
> Signed-off-by: Rob Clark
> ---
> drivers/video/vidconsole-uclass.c |
Hi Kever,
On 5 September 2017 at 20:14, Kever Yang wrote:
> Detail of step by step to bring up the board with OP-TEE support.
>
> Signed-off-by: Kever Yang
> ---
>
> board/rockchip/evb_rk3229/README | 72
>
> 1 file changed, 72 insertions(+)
> create m
On 6 September 2017 at 10:59, Suneel Garapati wrote:
> If 64-bit capability is supported, commandlistbase and fis base
> should be split as lower32 and upper32. upper32 should be
> written to PORT_(LST/FIS)_ADDR_HI.
>
> Signed-off-by: Suneel Garapati
> ---
>
> Changes v1:
> - add macro definitio
On 5 September 2017 at 23:08, Wenyou Yang wrote:
> This option is an SPL-variant of the I2C_EEPROM option to enable
> the driver for generic I2C-attached EEPROMs for SPL.
>
> Signed-off-by: Wenyou Yang
> ---
>
> Changes in v2:
> - Rebase the uboot/master (84a4206).
>
> drivers/misc/Kconfig | 8
On 5 September 2017 at 20:14, Kever Yang wrote:
> Move original spl to tpl, and add spl to load next stage firmware,
> adapt all the address and option for them.
>
> Signed-off-by: Kever Yang
> ---
>
> arch/arm/mach-rockchip/Kconfig | 9
> arch/arm/mach-rockchip/Makefile
On 5 September 2017 at 20:14, Kever Yang wrote:
> Enable all the options for TPL/SPL and OPTEE.
>
> Signed-off-by: Kever Yang
> ---
>
> configs/evb-rk3229_defconfig | 28
> 1 file changed, 24 insertions(+), 4 deletions(-)
Reviewed-by: Simon Glass
__
On 5 September 2017 at 20:14, Kever Yang wrote:
> When we use DM_SERIAL for serial driver, we need enable the
> dts node for the debug console.
>
> Signed-off-by: Kever Yang
> ---
>
> arch/arm/dts/rk3229-evb.dts | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Simon Glass
_
On 6 September 2017 at 11:01, Suneel Garapati wrote:
> add blk child devices to ignore list while displaying
> usb tree graph, otherwise usb tree and info commands
> may cause crash treating blk as usb device.
>
> Signed-off-by: Suneel Garapati
> ---
>
> Changes v1:
> - add separate check on blk
Rockchip bootrom will enter download mode if it returns from
spl/tpl with a none-zero value and couldn't find a valid image
in the backup partition.
This patch provide a method to instruct the system to back to
bootrom download mode by checking the BROM_DOWNLOAD_FLAG register.
As the bootrom downlo
80 matches
Mail list logo